Guest User

Untitled

a guest
Feb 15th, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. bitcoin.getDifficulty().then ((n) =>{
  2. res.send(201, n);
  3.  
  4. });
  5.  
  6. var bitcoin = new Bitcoin({
  7. host: 'bitcoin',
  8. port: 18332,
  9. username: 'user',
  10. password: 'password'
  11.  
  12. rpcuser=user
  13. rpcpassword=password
  14. txindex=1
  15. server=1
  16. rpcallowip=0.0.0.0/0
  17. rpcallowip=::/0
Add Comment
Please, Sign In to add comment