Advertisement
Guest User

Untitled

a guest
Mar 4th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. bitcoind -daemon # mainnet, -daemon will cause it to fork into the background
  2. bitcoind -daemon -testnet # testnet
  3.  
  4. bitcoin-cli getinfo # mainnet, uses port 8332 for RPC-JSON
  5. bitcoin-cli -testnet getinfo # testnet, uses port 18332 for RPC-JSON
  6.  
  7. bitcoin-cli -testnet getinfo ## sends command to port 18332
  8. bitcoin-cli -regtest getinfo ## also sends command to port 18332
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement