bisq/apitest/docs/regtest-port-conflicts.md

13 lines
668 B
Markdown
Raw Normal View History

2020-08-15 17:46:38 +02:00
# Avoiding bitcoin-core regtest port conflicts
Some developers may already be running a `bitcoind` or `bitcoin-qt` instance in regtest mode when they try to run API
2020-08-15 18:22:32 +02:00
test cases. If a `bitcoin-qt` instance is bound to the default regtest port 18444, `apitest` will not be able to start
2020-08-15 17:46:38 +02:00
its own bitcoind instances.
Though it would be preferable for `apitest` to change the bind port for Bisq's `bitcoinj` module at runtime, this is
not currently possible because `bitcoinj` hardcodes the default regtest mode bind port in `RegTestParams`.
To avoid the bind address:port conflict, pass a port option to your bitcoin-core instance:
bitcoin-qt -regtest -port=20444