Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # JSON-RPC options (for controlling a running DigiByte/digibyted process)
- #
- # server=1 tells DigiByte-Qt and digibyted to accept JSON-RPC commands
- server=1
- # Bind to given address to listen for JSON-RPC connections. Use [host]:port notation for IPv6.
- # This option can be specified multiple times (default: bind to all interfaces)
- #rpcbind=<addr>
- # If no rpcpassword is set, rpc cookie auth is sought. The default `-rpccookiefile` name
- # is .cookie and found in the `-datadir` being used for digibyted. This option is typically used
- # when the server and client are run as the same user.
- #
- # If not, you must set rpcuser and rpcpassword to secure the JSON-RPC api. The first
- # method(DEPRECATED) is to set this pair for the server and client:
- rpcuser=user
- rpcpassword=pass
- #
- # The second method `rpcauth` can be added to server startup argument. It is set at initialization time
- # using the output from the script in share/rpcauth/rpcauth.py after providing a username:
- #
- # ./share/rpcauth/rpcauth.py alice
- # String to be appended to digibyte.conf:
- # rpcauth=alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae
- # Your password:
- # DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E=
- #
- # On client-side, you add the normal user/password pair to send commands:
- #rpcuser=alice
- #rpcpassword=DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E=
- #
- # You can even add multiple entries of these to the server conf file, and client can use any of them:
- # rpcauth=bob:b2dd077cb54591a2f3139e69a897ac$4e71f08d48b4347cf8eff3815c0e25ae2e9a4340474079f55705f40574f4ec99
- # How many seconds digibyte will wait for a complete RPC HTTP request.
- # after the HTTP connection is established.
- #rpcclienttimeout=30
- # By default, only RPC connections from localhost are allowed.
- # Specify as many rpcallowip= settings as you like to allow connections from other hosts,
- # either as a single IPv4/IPv6 or with a subnet specification.
- # NOTE: opening up the RPC port to hosts outside your local trusted network is NOT RECOMMENDED,
- # because the rpcpassword is transmitted over the network unencrypted.
- # server=1 tells DigiByte-Qt to accept JSON-RPC commands.
- # it is also read by digibyted to determine if RPC should be enabled
- #rpcallowip=10.1.1.34/255.255.255.0
- #rpcallowip=1.2.3.4/24
- #rpcallowip=2001:db8:85a3:0:0:8a2e:370:7334/96
- # Listen for RPC connections on this TCP port:
- rpcport=8332
- # You can use DigiByte or digibyted to send commands to DigiByte/digibyted
- # running on another host using this option:
- #rpcconnect=127.0.0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement