Guest User

Untitled

a guest
Feb 14th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. const Client = require('bitcoin-core');
  2.  
  3. const client = new Client(
  4. {
  5. host: 'my node ip',
  6. username: 'my rpcusername',
  7. password: 'my rpcpassword',
  8. port: '8332'
  9. }
  10. );
  11.  
  12. client.getInfo().then((help) => console.log(help));
  13.  
  14. prune=600
  15. maxconnections=12
  16. maxuploadtarget=20
  17. rpcuser=rpcusername
  18. rpcpassword=rpcpassword
  19. rpcallowip=my.ip.address
  20. rpcallowip=*
  21. daemon=1
  22. keypool=10000
  23. server=1
Add Comment
Please, Sign In to add comment