Email:[email protected](Win 10 可直接安装 Docker 请参考附录2 )
export DOCKER_TLS_VERIFY=”1”
export DOCKER_HOST=”tcp://192.168.99.100:2376”
export DOCKER_CERT_PATH=”C:\Users\slim1.docker\machine\machines\default”
export DOCKER_MACHINE_NAME=”default”
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
default * virtualbox Running tcp://192.168.99.100:2376 v1.10.3
--
name=alice --
hostname=alice -i gak/bitcoin-regtest bash (启动 container alice并进入 shell)--
name=bob --
hostname=bob gak/bitcoin-regtest bash (启动 container alice并进入 shell)0.00000000
0.0000000
2016-09-05 07:27:41 keypool added key 102, size=101
2016-09-05 07:27:41 keypool reserve 2
2016-09-05 07:27:41 keypool return 2
{
“version”: 120100,
“protocolversion”: 70012,
“walletversion”: 60000,
“balance”: 0.00000000,
“blocks”: 0,
“timeoffset”: 0,
“connections”: 0,
“proxy”: “”,
“difficulty”: 4.656542373906925e-10,
“testnet”: false,
“keypoololdest”: 1473032836,
“keypoolsize”: 101,
“paytxfee”: 0.00000000,
“relayfee”: 0.00001000,
“errors”: “”
}
[
]
0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206
inet 172.17.0.2/16 scope global eth0
inet 172.17.0.3/16 scope global eth0
2016-09-05 00:12:32 receive version message: /Satoshi:0.12.1/: version 70012, blocks=0, us=0.0.0.0:0, peer=1
[
{
“id”: 3,
“addr”: “172.17.0.3:38466”,
“services”: “0000000000000005”,
“relaytxes”: true,
“lastsend”: 1473034352,
“lastrecv”: 1473034352,
“bytessent”: 331,
“bytesrecv”: 355,
“conntime”: 1473034352,
“timeoffset”: 0,
“pingtime”: 0.054053,
“minping”: 0.054053,
“version”: 70012,
“subver”: “/Satoshi:0.12.1/”,
“inbound”: true,
“startingheight”: 0,
“banscore”: 0,
“synced_headers”: -1,
“synced_blocks”: -1,
“inflight”: [
],
“whitelisted”: false
}
]
50.00000000
2016-09-05 00:31:28 keypool added key 102, size=101
2016-09-05 00:31:28 keypool reserve 2
2016-09-05 00:31:28 keypool keep 2
n1XoQ2CWjmNrTJjQE2LyniB6SSsys63bvq (新产生的地址,模拟公钥)
7.99996160
0.00000000
42.00000000
https://github.com/hyperledger/fabric/blob/master/docs/Setup/Network-setup.md
1.Win7 安装Docker Toolbox:
https://www.docker.com/products/docker-toolbox
http://knight-.iteye.com/blog/2254627
http://rominirani.com/2015/08/15/docker-toolbox-setup-windows/
https://getcarina.com/docs/troubleshooting/troubleshooting-windows-docker-vm-startup/
http://dockone.io/article/594
2.Win 10 安装Docker
http://blog.miniasp.com/post/2016/08/01/Docker-for-Windows-1-12-Released.aspx
3.putty安装及使用:
http://www.ascc.sinica.edu.tw/putty
1.https://geraldkaszuba.com/creating-your-own-experimental-bitcoin-network/
2.https://bitcoin.org/en/how-it-works
3.https://bitcoin.org/zh_TW/how-it-works
4.https://kknews.cc/finance/28v96r.html
5.https://bitcoin.org/zh_TW/resources
6.https://bitcoin.org/en/developer-examples#regtest-mode
7.http://pansci.asia/archives/53571
8.http://scimonth.blogspot.tw/2014/01/blog-post_803.html
9.http://8btc.com/article-1785-1.html
10.http://zl.yibite.com/course/2014/1013/23993.shtml
11.https://bitcoin.org/zh_TW/faq#what-is-bitcoin
12.https://github.com/hyperledger/fabric/blob/master/docs/Setup/Network-setup.md
13.http://www.techbang.com/posts/16426-dig-rob-super-ramming-bitcoin-first-pot-of-gold-dictionary-of-secretly-reported-71-cheat-cheat-in-january
14.https://1drv.ms/f/s!AkBmzWP0h-Vxbr7h1uTNsTMcPWI
15.https://1drv.ms/b/s!AkBmzWP0h-VxazOBOsVz8nGMLpM
16.https://1drv.ms/b/s!AkBmzWP0h-VxbLK7FOjH9IL5HHc
17.https://www.youtube.com/watch?v=24JAF9Eu1mk&list=UUOTZe-b_jE_Ovy9K9UhZ4BA&index=74
18.https://www.youtube.com/watch?v=wSmJ-rwUo8I&list=UUOTZe-b_jE_Ovy9K9UhZ4BA&index=73
19.https://www.youtube.com/watch?v=SOsn6MvGH60&list=UUOTZe-b_jE_Ovy9K9UhZ4BA&index=72