上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 76 下一页
摘要: fabric-ca-client enroll -u http://admin:adminpw@localhost:7054 /root/.fabric-ca-client:总用量 12-rwxr-xr-x 1 root root 6504 5月 7 10:43 fabric-ca-client-c 阅读全文
posted @ 2018-05-04 17:30 ahuo 阅读(618) 评论(2) 推荐(0) 编辑
摘要: ./cryptogen generate --output="a" --config=crypto-config.yaml 阅读全文
posted @ 2018-05-02 15:59 ahuo 阅读(227) 评论(0) 推荐(0) 编辑
摘要: npm install -g cnpm --registry=https://registry.npm.taobao.orgsudo ln -s /home/ubuntu/node-v4.5.0-linux-x86/bin/cnpm /usr/local/bin/ npm install -g np 阅读全文
posted @ 2018-05-02 15:07 ahuo 阅读(134) 评论(0) 推荐(0) 编辑
摘要: https://github.com/hyperledger/fabric.githttps://github.com/hyperledger/blockchain-explorer.githttps://github.com/hyperledger/fabric-sdk-java.githttps 阅读全文
posted @ 2018-05-02 14:14 ahuo 阅读(230) 评论(0) 推荐(0) 编辑
摘要: :gotar -C /usr/local -xzf go1.9.2.linux-amd64.tar.gz vi ~/.profile export PATH=$PATH:/usr/local/go/bin export GOROOT=/usr/local/go export GOPATH=$HOME 阅读全文
posted @ 2018-04-27 10:01 ahuo 阅读(974) 评论(8) 推荐(0) 编辑
摘要: LAST BLOCK5050578 (14.2s)TRANSACTIONS157.43 M (8.8 TPS)Hash Rate Network Difficulty234,495.00 GH/s 2,835.34 TH 70G的数据,同步了2天 阅读全文
posted @ 2018-02-08 11:06 ahuo 阅读(677) 评论(0) 推荐(0) 编辑
摘要: { admin: { datadir: "/home/.ethereum/.ethereum", nodeInfo: { enode: "enode://a974839acc148a0a6383606578af12ce0b1f50cadb741047ab88f02f9fcdc2e752070c48557e941251b6ab1f4ff76ae53fa9ad5b10... 阅读全文
posted @ 2018-02-08 10:27 ahuo 阅读(812) 评论(0) 推荐(0) 编辑
摘要: 安装 sudo add-apt-repository ppa:ethereum/ethereum sudo apt-get update sudo apt-get install solc 编译 solc --bin --abi Org.sol -o /root solc --bin --abi O 阅读全文
posted @ 2018-01-28 16:57 ahuo 阅读(553) 评论(0) 推荐(0) 编辑
摘要: @EnableAutoConfiguration 启动自动装载:使用了这个注解之后,所有引入的jar的starters都会被自动注入。这个类的设计就是为starter工作的。 @RestController 这个注解专门用于写RESTful的接口的,里面集成了@Controller和@Respons 阅读全文
posted @ 2018-01-24 21:33 ahuo 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Date now = new Date(); Calendar cal1 = Calendar.getInstance(); cal1.setTime(now); // 将时分秒,毫秒域清零 cal1.set(Calendar.HOUR_OF_DAY, 0); cal1.set(Calendar.MINUTE, 0); cal1.set(Calendar.SECOND, 0); cal1.set... 阅读全文
posted @ 2018-01-11 09:51 ahuo 阅读(13777) 评论(0) 推荐(0) 编辑
摘要: for i in `seq 1 $(cat /proc/cpuinfo |grep "physical id" |wc -l)`; do dd if=/dev/zero of=/dev/null & done killall dd 阅读全文
posted @ 2018-01-10 16:53 ahuo 阅读(228) 评论(0) 推荐(0) 编辑
摘要: @echo offcurl.exe http://10.6.41.192:8888/images/ver.txt > v.txtset /P cv=<cv.txtset /P vv=<v.txtset filename=%date:~0,4%%date:~5,2%%date:~8,2%%time:~ 阅读全文
posted @ 2018-01-10 13:43 ahuo 阅读(278) 评论(0) 推荐(0) 编辑
摘要: pragma solidity ^0.4.18; contract test { function mul(uint a) public pure returns (uint) { uint c = a * 7; return c; } } 阅读全文
posted @ 2018-01-03 11:24 ahuo 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 流程: 拍卖猫 10以太币 A 创建拍卖智能合约(cat ,10) B竞价20(B转账到合约20) C竞价40(C转账到合约40,并且返还B 20) A结束拍卖 (合约转账40到A) 阅读全文
posted @ 2018-01-02 15:31 ahuo 阅读(545) 评论(0) 推荐(0) 编辑
摘要: 用到的端口 TCP 30303 8545 sudo apt-get updatesudo apt-get installsoftware-properties-commonsudo add-apt-repository -y ppa:ethereum/ethereumsudo add-apt-rep 阅读全文
posted @ 2017-12-28 21:44 ahuo 阅读(909) 评论(3) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 76 下一页