Add warning to config files

This commit is contained in:
Patrick O'Grady 2020-09-18 08:01:47 -07:00
parent d1153307ac
commit 999edefb63
No known key found for this signature in database
GPG key ID: 8DE11C985C0C8D85
2 changed files with 14 additions and 1 deletions

View file

@ -2,6 +2,12 @@
## bitcoin.conf configuration file. Lines beginning with # are comments. ## bitcoin.conf configuration file. Lines beginning with # are comments.
## ##
# DO NOT USE THIS CONFIGURATION FILE IF YOU PLAN TO EXPOSE
# BITCOIND'S RPC PORT PUBLICALLY (THESE INSECURE CREDENTIALS
# COULD LEAD TO AN ATTACK). ROSETTA-BITCOIN USES THE RPC PORT
# FOR INDEXING AND TRANSACTION BROADCAST BUT NEVER PROVIDES THE
# CALLER ACCESS TO BITCOIND'S RPC PORT.
datadir=/data/bitcoind datadir=/data/bitcoind
bind=0.0.0.0 bind=0.0.0.0
rpcbind=0.0.0.0 rpcbind=0.0.0.0

View file

@ -1,6 +1,13 @@
## ##
## bitcoin.conf configuration file. Lines beginning with # are comments. ## bitcoin.conf configuration file. Lines beginning with # are comments.
## ##
# DO NOT USE THIS CONFIGURATION FILE IF YOU PLAN TO EXPOSE
# BITCOIND'S RPC PORT PUBLICALLY (THESE INSECURE CREDENTIALS
# COULD LEAD TO AN ATTACK). ROSETTA-BITCOIN USES THE RPC PORT
# FOR INDEXING AND TRANSACTION BROADCAST BUT NEVER PROVIDES THE
# CALLER ACCESS TO BITCOIND'S RPC PORT.
datadir=/data/bitcoind datadir=/data/bitcoind
bantime=15 bantime=15
rpcallowip=0.0.0.0/0 rpcallowip=0.0.0.0/0
@ -10,9 +17,9 @@ disablewallet=1
txindex=0 txindex=0
rpcuser=rosetta rpcuser=rosetta
rpcpassword=rosetta rpcpassword=rosetta
# allow manual pruning # allow manual pruning
prune=1 prune=1
testnet=1 testnet=1
[test] [test]