Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Client = require('bitcoin-core');
- const client = new Client(
- {
- host: 'my node ip',
- username: 'my rpcusername',
- password: 'my rpcpassword',
- port: '8332'
- }
- );
- client.getInfo().then((help) => console.log(help));
- prune=600
- maxconnections=12
- maxuploadtarget=20
- rpcuser=rpcusername
- rpcpassword=rpcpassword
- rpcallowip=my.ip.address
- rpcallowip=*
- daemon=1
- keypool=10000
- server=1
Add Comment
Please, Sign In to add comment