Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. # I start bitcoind on the server
  2. server: src $ ./bitcoind -testnet -rpcuser='testuser' -rpcpassword='testpass' -rpcport=1234 -rpcallowip=<client_ip> -rpcallowip=127.0.0.1
  3.  
  4.  
  5. # I connect to it
  6. client: $ bitcoind -rpcconnect='192.168.1.35' -rpcport='1234' -rpcuser='testuser' -rpcpassword='testpass' getbalance
  7. 0.00000000
  8. client: $ bitcoind -rpcconnect='192.168.1.35' -rpcport='1234' -rpcuser='testuser' -rpcpassword='testpass' getaccountaddress anything_here
  9. ^C
  10. # the client gives no response even after significant time
  11. # no further requests are responded to, and server has to be killed with -9
  12. client: $ bitcoind -rpcconnect='192.168.1.35' -rpcport='1234' -rpcuser='testuser' -rpcpassword='testpass' getbalance
  13. ^C
  14.  
  15.  
  16. server: $ pkill -9 bitcoind
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement