mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 08:04:26 +01:00
contrib: add txindex to bitcoind for regtest
This commit is contained in:
committed by
Rusty Russell
parent
0acdeeec06
commit
0bd95fc068
@@ -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 || \
|
||||||
|
|||||||
Reference in New Issue
Block a user