mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 11:59:16 +01:00
startup-regtest: flag every use as developer
Now that 'developer' isn't a compile time flag, let's always use it when using the startup regtest nodes. Should always make gossip + polling bitcoind fast
This commit is contained in:
parent
8476a15a44
commit
a1cecf044c
1 changed files with 14 additions and 20 deletions
|
@ -147,28 +147,22 @@ start_nodes() {
|
|||
log-file=$LIGHTNING_DIR/l$i/log
|
||||
addr=localhost:$socket
|
||||
allow-deprecated-apis=false
|
||||
developer
|
||||
dev-fast-gossip
|
||||
dev-bitcoind-poll=5
|
||||
experimental-dual-fund
|
||||
experimental-splicing
|
||||
experimental-offers
|
||||
funder-policy=match
|
||||
funder-policy-mod=100
|
||||
funder-min-their-funding=10000
|
||||
funder-per-channel-max=100000
|
||||
funder-fuzz-percent=0
|
||||
lease-fee-base-sat=2sat
|
||||
lease-fee-basis=50
|
||||
invoices-onchain-fallback
|
||||
EOF
|
||||
|
||||
# If we've configured to use developer, add dev options
|
||||
if "$LIGHTNINGD" --help | grep -q dev-fast-gossip; then
|
||||
cat <<- EOF >> "$LIGHTNING_DIR/l$i/config"
|
||||
developer
|
||||
dev-fast-gossip
|
||||
dev-bitcoind-poll=5
|
||||
experimental-dual-fund
|
||||
experimental-splicing
|
||||
experimental-offers
|
||||
funder-policy=match
|
||||
funder-policy-mod=100
|
||||
funder-min-their-funding=10000
|
||||
funder-per-channel-max=100000
|
||||
funder-fuzz-percent=0
|
||||
lease-fee-base-sat=2sat
|
||||
lease-fee-basis=50
|
||||
invoices-onchain-fallback
|
||||
EOF
|
||||
fi
|
||||
|
||||
|
||||
# Start the lightning nodes
|
||||
test -f "$LIGHTNING_DIR/l$i/lightningd-$network.pid" || \
|
||||
|
|
Loading…
Add table
Reference in a new issue