Created
November 22, 2017 03:54
-
-
Save wshino/13eb3701bd56b3052cafc2bca64ce468 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
btcd を動かす | |
https://github.com/btcsuite/btcd | |
一回動かしたらディレクトリはできるから一度動かす | |
止める | |
sampleを拾ってきて所定の場所に置く | |
https://github.com/btcsuite/btcd/blob/master/sample-btcd.conf | |
/Users/shinohara-wataru/Library/Application Support/Btcd/btcd.conf | |
testnetを有効にする | |
; testnet=1 | |
↓ | |
testnet=1 | |
rpcuserを有効にする | |
; rpcuser=whatever_admin_username_you_want | |
; rpcpass= | |
↓ | |
rpcuser=myuser | |
rpcpass=SomeDecentp4ssw0rd | |
動かす。testnetの同期を待つ | |
btcctlコマンドを使う | |
btcctl -u myuser -P SomeDecentp4ssw0rd --testnet getbestblock | |
btcctl -u myuser -P SomeDecentp4ssw0rd --testnet getdifficulty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment