自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

万里长城永不倒的博客

一个新的开始

  • 博客(57)
  • 收藏
  • 关注

原创 Google Apps Script

https://excel-ubara.com/apps_script1/

2019-08-20 14:53:59 1440

原创 Gio

gioui.orghttps://about.sourcegraph.com/go/gophercon-2019-simple-portable-efficient-graphical-interfaces-in-go

2019-08-09 18:22:25 1248

原创 WebAssembly

https://www.oschina.net/translate/webassemblys-post-mvp-future?lang=chs&

2019-08-09 10:37:20 946

原创 启动多个协程

利用channel达到开关的效果,启动多个协程begin := make(chan interface{}) var group sync.WaitGroup for i := 0; i < 5; i++ { group.Add(1) go func(x int) { defer group.Done() <-begin fmt.Println("sta...

2019-07-24 10:10:29 637

转载 golang cond

https://blog.csdn.net/jinglexy/article/details/80516788Signal 发现等待最长时间的 goroutine 并通知它,而 Broadcast 向所有等待 的 goroutine 发送信号。package mainimport ( "fmt" "sync" "time")var locker = new(sync.Mutex...

2019-07-23 18:08:39 483

原创 iroha非常像fabric....

一个朋友介绍的项目,要用iroha开发,简单了解了iroha后发现,和fabric这么相似,而且刚刚1.0,fabric都要2.0了,而且有很大的改变,这iroha有点太落后了吧,会不会走fabric的那些老路。。https://github.com/guanchunsheng/hyperledger_introduction_edx/blob/master/chapter5_hyperle...

2019-07-22 10:09:34 440 1

原创 go-gorilla的ping pong

业务需求,ping每隔60秒执行一次,ping两次后,没有得到pong的消息,自动切断client。pongTime=180 * time.SecondpingTime=60 * time.SecondreadPump()c.conn.SetReadDeadline(time.Now().Add(pongTime)) c.conn.SetPongHandler(func(string)...

2019-06-17 14:19:14 5750

转载 go iot!!!

go可以做硬件!!!https://gobot.io/

2019-05-23 17:13:54 1093

转载 hyperledger fabric chaincode 开发模式

go 智能合约开发https://zhuanlan.zhihu.com/p/33704154https://esumit.blog/2018/05/21/hyperledger-fabric-error-starting-simple-chaincode-error-sending-chaincode-register/克隆项目git clone https://github.com/h...

2019-03-05 14:45:07 454 1

翻译 关于idemixgen的使用

参照https://hyperledger-fabric-cn.readthedocs.io/zh/1.3.0_zh-cn/idemixgen.html前面文章已经介绍了,使用fabric的零知识身份证明有两种方法,一个是通过CA,另一个是通过idemixgen。本文将描述idemixgen的使用方法。Identity Mixer MSP配置生成器(idemixgen)本文将描述idemi...

2018-11-29 10:36:14 1158

翻译 Fabric的零知识身份证明

参照https://hyperledger-fabric-cn.readthedocs.io/zh/1.3.0_zh-cn/idemix.html什么是IdemixIdemix是一个加密协议套件,它提供强大的身份验证以及隐私保护功能,如匿名,无需披露交易者身份即可进行交易,以及不可关联性,即单个身份发送多个交易的能力,而不会泄露交易是通过相同的身份发送的。下面有三个角色:用户,身份发行者,...

2018-11-28 16:41:09 5427 1

原创 定义策略

参照https://hyperledger-fabric-cn.readthedocs.io/zh/1.3.0_zh-cn/access_control.htmlhttps://hyperledger-fabric-cn.readthedocs.io/zh/1.3.0_zh-cn/policies.html?highlight=ImplicitMeta1.定义策有两种方法Signatur...

2018-11-27 14:08:37 322

原创 fabric-私有数据

https://hyperledger-fabric-cn.readthedocs.io/zh/1.2.0_zh-cn/private_data_tutorial.htmlhttps://hyperledger-fabric.readthedocs.io/en/release-1.3/private-data-arch.html#using-indexes-with-collections定...

2018-11-19 20:29:38 1242

转载 超级账本性能1.1以后的进步

原文 https://arxiv.org/abs/1801.10228We show that Fabric achieves end-to-end throughput of more than 3500 transactions per second in certain popular deployment configurations, with sub-second latency,...

2018-11-15 10:49:45 741

转载 关于RTMP和HLS的比较

参照https://blog.csdn.net/Real_Myth/article/details/52512828https://blog.csdn.net/caoshangpa/article/details/79543916

2018-11-02 16:20:40 1154

原创 Fabric版本更新内容1.1-1.3

Fabric个版本更新内容V1.1・Node.js链代码支持 - 开发人员现在可以使用世界上最流行的编程语言最流行的框架编写链代码・基于通道的事件服务 - 使客户端能够在每个通道的基础上订阅阻止和阻止事务事件。・能够使用链代码打包CouchDB索引,以提高性能・能够生成证书吊销列表(CRL)・能够动态更新客户端身份和从属关系・Node.js SDK连接配置文件,用于简化与Fabric...

2018-10-19 16:33:54 1504

转载 使用Parity建立Proof-of-Authority (PoA) Ethereum Chain5分钟快速从无到有建立Ethereum联盟链

使用Parity建立Proof-of-Authority (PoA) Ethereum Chain5分钟快速从无到有建立Ethereum联盟链

2018-03-07 14:45:35 507

转载 超级账本1.1变更注意事项

https://jira.hyperledger.org/browse/FAB-37 https://jira.hyperledger.org/secure/attachment/12139/Roadmap_Sep2017.pptxhttps://github.com/hyperledger/fabric/blob/v1.1.0-preview/CHANGELOG.mdhttps://github...

2018-02-16 09:37:29 604

转载 关于以太坊时间戳

http://blog.csdn.net/wo541075754/article/details/78220937

2018-02-10 21:07:47 4726

原创 物理文件在如何在区块链上应用

物理文件直接上链是一个恐怖的事件,那该怎么办呢,以下两个可以参考IPFS https://segmentfault.com/a/1190000012138804Ethereum Swarm http://www.wanbizu.com/blockchain/201702209167.html https://github.com/ethersphere/swarm/wiki/swar...

2018-02-08 10:18:38 1039

原创 EOS资料

http://www.eos.top/?/explore/category-5https://steemit.com/cn/@peterchen145/52zpud-eoshttp://oraclechain.io/files/eos-1.pdfhttp://www.eoschannel.com/2018/01/04/%E6%9C%AC%E5%9C%B0%E7%8E%AF%E5

2018-02-05 17:37:47 213

原创 truffle笔记

#truffle webpack下localhost能够访问,而IP地址无法访问的解决方法http://blog.csdn.net/yooliee/article/details/76283872#truffle的案例https://truffle-box.github.io/#启动下面的模式,才能打开9545端口truffle develop#交易签名https://www.jianshu.co...

2018-01-26 14:20:36 392

原创 docker 部署 ethereum

#用docker部署ethereum,参考下面的网址https://github.com/vertigobr/ethereum/tree/master#使用说明参考下面的网址https://medium.com/@andrenit/buildind-an-ethereum-playground-with-docker-part-2-docker-image-928f8ceaac50如果window...

2018-01-18 20:37:07 1018

原创 关于跨链

跨链的应用

2017-12-18 17:08:19 1094

原创 关于fabric-ca的使用

 root caca一般按照组织来划分,即org1,org2,org3分别拥有自己的ca。ca启动的时候,会设定两个环境变量,FABRIC_CA_SERVER_CA_CERTFILE 和 FABRIC_CA_SERVER_CA_KEYFILE。如果不设定这两个的时候会怎么样呢?其实,如果不设定的话,CA服务器会根据默认的ca config来自己生成这两个文件。这个时候的CA就是所谓的r...

2017-11-08 17:05:44 7328 3

原创 openssl-2

参考http://blog.csdn.net/as3luyuan123/article/details/14138983http://blog.csdn.net/as3luyuan123/article/details/16873093openssl ec -text -noout -in 5ae8c8c28c32b7b6c3daa7924d7a794bd6fd3ea0f4a3792bed3aa7

2017-11-01 17:29:59 366

原创 关于channel里面的策略

关于channel里面的策略channel里面的配置主要在data.data[0].pyload.data.config里面。config是由groups递归形成的。groups的结构如下・groups   下一层・mod_policy 当前层发生改变时,需要执行的策略名称・policies    当前层策略内容的定义・value       当前层相关的内容・

2017-10-27 14:22:35 383

原创 关于容器时间同步

关于容器间时间同步问题普通的节点容器:docker run 的时候加上 -e TZ="Asia/Shanghai"ca容器:UTC以外的zoneinfo没有加入进来,需要从容器所在的host复制到容器里。http://www.jb51.net/article/99954.htmhttp://quenlang.blog.51cto.com/4813803/1731022如果有

2017-10-27 13:31:20 336

转载 fabric v1.0 block数据结构

转http://www.blockchainbrother.com/question/20fabric v1.0 block数据结构

2017-09-19 15:54:26 2921

转载 BCCSP

转https://github.com/flyinox/hyperledgerDocs/blob/bccsp-dev/docs/blockchain-crypto-service-provider_zh.md

2017-09-07 15:52:29 826

原创 haproxy

http://qiita.com/takech9203/items/5206f8e2572e95209bbchttp://qiita.com/toshihirock/items/51bed34f2ab56f49b2b0http://d.hatena.ne.jp/rx7/20131202/p1运用haproxy时,有下面3种方式,当ca服务器端设定tls为true的时候,应该

2017-08-30 17:10:01 337

转载 Openssl-1

Openssl

2017-08-30 16:58:07 245

原创 browser-solidity

Transact(Payable)Payable代表可以传入货币,但是一般智能合约是不传入货币的。function g() Payable {}Call只读内存内容

2017-08-24 22:51:46 455

转载 ETH-转载

http://www.ethchinese.com/?p=1827

2017-08-22 21:06:29 250

原创 chain code 编程

在 golang 结构与 JSON 字符串之间编组和解组数据#将一种结构编组为 JSON 字符串字节数组的代码var personalInfo PersonalInfo personalInfo = PersonalInfo{"Varun", "Ojha", "dob", "[email protected]", "9999999999"} bytes, err ;= json

2017-08-09 21:43:33 675

原创 postgresql

fabric postgresql

2017-08-08 16:15:58 743

原创 性能

fabric 性能

2017-08-07 10:44:07 645

转载 关于msp

msp

2017-08-04 15:57:16 4498

原创 fabric 参照网址

fabric 参照网址

2017-07-22 15:04:08 670

转载 Hyperledger fabric 工程结构

Hyperledger fabric 工程结构

2017-07-22 14:39:12 1073

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除