摘要:
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 阅读全文
摘要:
./cryptogen generate --output="a" --config=crypto-config.yaml 阅读全文
摘要:
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 阅读全文
摘要:
https://github.com/hyperledger/fabric.githttps://github.com/hyperledger/blockchain-explorer.githttps://github.com/hyperledger/fabric-sdk-java.githttps 阅读全文
摘要:
: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 阅读全文
摘要:
LAST BLOCK5050578 (14.2s)TRANSACTIONS157.43 M (8.8 TPS)Hash Rate Network Difficulty234,495.00 GH/s 2,835.34 TH 70G的数据,同步了2天 阅读全文
摘要:
{ admin: { datadir: "/home/.ethereum/.ethereum", nodeInfo: { enode: "enode://a974839acc148a0a6383606578af12ce0b1f50cadb741047ab88f02f9fcdc2e752070c48557e941251b6ab1f4ff76ae53fa9ad5b10... 阅读全文
摘要:
安装 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 阅读全文
摘要:
@EnableAutoConfiguration 启动自动装载:使用了这个注解之后,所有引入的jar的starters都会被自动注入。这个类的设计就是为starter工作的。 @RestController 这个注解专门用于写RESTful的接口的,里面集成了@Controller和@Respons 阅读全文
摘要:
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... 阅读全文
摘要:
for i in `seq 1 $(cat /proc/cpuinfo |grep "physical id" |wc -l)`; do dd if=/dev/zero of=/dev/null & done killall dd 阅读全文
摘要:
@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:~ 阅读全文
摘要:
pragma solidity ^0.4.18; contract test { function mul(uint a) public pure returns (uint) { uint c = a * 7; return c; } } 阅读全文
摘要:
流程: 拍卖猫 10以太币 A 创建拍卖智能合约(cat ,10) B竞价20(B转账到合约20) C竞价40(C转账到合约40,并且返还B 20) A结束拍卖 (合约转账40到A) 阅读全文
摘要:
用到的端口 TCP 30303 8545 sudo apt-get updatesudo apt-get installsoftware-properties-commonsudo add-apt-repository -y ppa:ethereum/ethereumsudo add-apt-rep 阅读全文