Advertisement
Guest User

Untitled

a guest
Dec 1st, 2018
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. #
  2. # JSON-RPC options (for controlling a running DigiByte/digibyted process)
  3. #
  4.  
  5. # server=1 tells DigiByte-Qt and digibyted to accept JSON-RPC commands
  6. server=1
  7.  
  8. # Bind to given address to listen for JSON-RPC connections. Use [host]:port notation for IPv6.
  9. # This option can be specified multiple times (default: bind to all interfaces)
  10. #rpcbind=<addr>
  11.  
  12. # If no rpcpassword is set, rpc cookie auth is sought. The default `-rpccookiefile` name
  13. # is .cookie and found in the `-datadir` being used for digibyted. This option is typically used
  14. # when the server and client are run as the same user.
  15. #
  16. # If not, you must set rpcuser and rpcpassword to secure the JSON-RPC api. The first
  17. # method(DEPRECATED) is to set this pair for the server and client:
  18. rpcuser=user
  19. rpcpassword=pass
  20. #
  21. # The second method `rpcauth` can be added to server startup argument. It is set at initialization time
  22. # using the output from the script in share/rpcauth/rpcauth.py after providing a username:
  23. #
  24. # ./share/rpcauth/rpcauth.py alice
  25. # String to be appended to digibyte.conf:
  26. # rpcauth=alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae
  27. # Your password:
  28. # DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E=
  29. #
  30. # On client-side, you add the normal user/password pair to send commands:
  31. #rpcuser=alice
  32. #rpcpassword=DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E=
  33. #
  34. # You can even add multiple entries of these to the server conf file, and client can use any of them:
  35. # rpcauth=bob:b2dd077cb54591a2f3139e69a897ac$4e71f08d48b4347cf8eff3815c0e25ae2e9a4340474079f55705f40574f4ec99
  36.  
  37. # How many seconds digibyte will wait for a complete RPC HTTP request.
  38. # after the HTTP connection is established.
  39. #rpcclienttimeout=30
  40.  
  41. # By default, only RPC connections from localhost are allowed.
  42. # Specify as many rpcallowip= settings as you like to allow connections from other hosts,
  43. # either as a single IPv4/IPv6 or with a subnet specification.
  44.  
  45. # NOTE: opening up the RPC port to hosts outside your local trusted network is NOT RECOMMENDED,
  46. # because the rpcpassword is transmitted over the network unencrypted.
  47.  
  48. # server=1 tells DigiByte-Qt to accept JSON-RPC commands.
  49. # it is also read by digibyted to determine if RPC should be enabled
  50. #rpcallowip=10.1.1.34/255.255.255.0
  51. #rpcallowip=1.2.3.4/24
  52. #rpcallowip=2001:db8:85a3:0:0:8a2e:370:7334/96
  53.  
  54. # Listen for RPC connections on this TCP port:
  55. rpcport=8332
  56.  
  57. # You can use DigiByte or digibyted to send commands to DigiByte/digibyted
  58. # running on another host using this option:
  59. #rpcconnect=127.0.0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement