Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #40 from chungy/config_cleanup
Config cleanup
  • Loading branch information
freewil committed Jan 9, 2019
2 parents 02a1903 + e1f58da commit d9c4c3f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 14 deletions.
4 changes: 4 additions & 0 deletions .gitignore
@@ -1,2 +1,6 @@
.project

?/blocks
?/regtest/*
!?/regtest/server.pem
!?/regtest/server.cert
18 changes: 11 additions & 7 deletions 1/bitcoin.conf
Expand Up @@ -3,17 +3,21 @@ regtest=1
dnsseed=0
upnp=0

# listen on different ports than default testnet
port=19000
regtest.rpcport=19001

# always run a server, even with bitcoin-qt
server=1

[regtest]
# listen on different ports than default testnet
port=19000
rpcport=19001

# enable SSL for RPC server
#rpcssl=1

regtest.rpcallowip=0.0.0.0/0
# enable to allow non-localhost RPC connections
# recommended to change to a subnet, such as your LAN
#rpcallowip=0.0.0.0/0
#rpcallowip=::/0

regtest.rpcuser=admin1
regtest.rpcpassword=123
rpcuser=admin1
rpcpassword=123
18 changes: 11 additions & 7 deletions 2/bitcoin.conf
Expand Up @@ -3,21 +3,25 @@ regtest=1
dnsseed=0
upnp=0

# always run a server, even with bitcoin-qt
server=1

[regtest]
# don't listen on a port, just connect to node 1
listen=0
connect=127.0.0.1:19000

# listen on different ports than default testnet
port=19010
regtest.rpcport=19011

# always run a server, even with bitcoin-qt
server=1
rpcport=19011

# enable SSL for RPC server
#rpcssl=1

regtest.rpcallowip=0.0.0.0/0
# enable to allow non-localhost RPC connections
# recommended to change to a subnet, such as your LAN
#rpcallowip=0.0.0.0/0
#rpcallowip=::/0

regtest.rpcuser=admin2
regtest.rpcpassword=123
rpcuser=admin2
rpcpassword=123

0 comments on commit d9c4c3f

Please sign in to comment.