contrib: add txindex to bitcoind for regtest

This commit is contained in:
lisa neigut
2019-08-08 22:36:31 -05:00
committed by Rusty Russell
parent 0acdeeec06
commit 0bd95fc068

View File

@@ -69,7 +69,7 @@ alias bt-cli='bitcoin-cli -regtest'
start_ln() { start_ln() {
# Start bitcoind in the background # Start bitcoind in the background
test -f "$PATH_TO_BITCOIN/regtest/bitcoind.pid" || \ test -f "$PATH_TO_BITCOIN/regtest/bitcoind.pid" || \
bitcoind -daemon -regtest bitcoind -daemon -regtest -txindex
# Start the lightning nodes # Start the lightning nodes
test -f /tmp/l1-regtest/lightningd-regtest.pid || \ test -f /tmp/l1-regtest/lightningd-regtest.pid || \