Browse Source

Add Config file to regtest docker

migrate-pregen
nicolas.dorier 7 years ago
parent
commit
143637eaaf
  1. 11
      Regtest/README.md
  2. 4
      Regtest/bitcoin.conf

11
Regtest/README.md

@ -6,6 +6,15 @@ It exposes BTCPay on the host address http://localhost:8080/.
It also exposes Bitcoin Core RPC which you can access through port 8081:
To access it, you can use:
On Powershell:
```
bitcoin-cli -conf="$pwd/bitcoin.conf" getblockcount
```
On Linux:
```
bitcoin-cli -regtest -rpcport=8081 -rpcpassword=DwubwWsoo3 -rpcuser=ceiwHEbqWI83 getblockcount
bitcoin-cli -conf="$pwd/bitcoin.conf" getblockcount
```

4
Regtest/bitcoin.conf

@ -0,0 +1,4 @@
regtest=1
rpcport=8081
rpcpassword=DwubwWsoo3
rpcuser=ceiwHEbqWI83
Loading…
Cancel
Save