会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
程序之家
os .net vc++ asm driver wireless
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
16
17
18
19
20
21
22
23
24
···
77
下一页
2018年5月5日
bash 设置
摘要: export COLUMNS=500
阅读全文
posted @ 2018-05-05 23:20 ahuo
阅读(188)
评论(0)
推荐(0)
2018年5月4日
fabric-ca-client
摘要: 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
阅读(635)
评论(2)
推荐(0)
2018年5月2日
fabric工具
摘要: ./cryptogen generate --output="a" --config=crypto-config.yaml
阅读全文
posted @ 2018-05-02 15:59 ahuo
阅读(238)
评论(0)
推荐(0)
nodejs
摘要: 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
阅读(146)
评论(0)
推荐(0)
Hyperledger 项目
摘要: 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
阅读(239)
评论(0)
推荐(0)
2018年4月27日
超级账本环境搭建fabric
摘要: :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
阅读(981)
评论(8)
推荐(0)
2018年2月8日
以太坊主链同步
摘要: 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
阅读(703)
评论(0)
推荐(0)
geth 命令
摘要: { admin: { datadir: "/home/.ethereum/.ethereum", nodeInfo: { enode: "enode://a974839acc148a0a6383606578af12ce0b1f50cadb741047ab88f02f9fcdc2e752070c48557e941251b6ab1f4ff76ae53fa9ad5b10...
阅读全文
posted @ 2018-02-08 10:27 ahuo
阅读(823)
评论(0)
推荐(0)
2018年1月28日
solc 编译Solidity
摘要: 安装 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
阅读(556)
评论(0)
推荐(0)
2018年1月24日
spring boot常用注解
摘要: @EnableAutoConfiguration 启动自动装载:使用了这个注解之后,所有引入的jar的starters都会被自动注入。这个类的设计就是为starter工作的。 @RestController 这个注解专门用于写RESTful的接口的,里面集成了@Controller和@Respons
阅读全文
posted @ 2018-01-24 21:33 ahuo
阅读(221)
评论(0)
推荐(0)
2018年1月11日
Java Date 时分秒置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
阅读(13902)
评论(0)
推荐(0)
2018年1月10日
linux cpu 100% 脚本
摘要: 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
阅读(241)
评论(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
阅读(289)
评论(0)
推荐(0)
2018年1月3日
智能合约 运算
摘要: 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
阅读(310)
评论(0)
推荐(0)
2018年1月2日
智能合约 拍卖
摘要: 流程: 拍卖猫 10以太币 A 创建拍卖智能合约(cat ,10) B竞价20(B转账到合约20) C竞价40(C转账到合约40,并且返还B 20) A结束拍卖 (合约转账40到A)
阅读全文
posted @ 2018-01-02 15:31 ahuo
阅读(564)
评论(0)
推荐(0)
上一页
1
···
16
17
18
19
20
21
22
23
24
···
77
下一页
公告