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:
niftynei 2023-11-25 16:48:00 -06:00 committed by neil saitug
parent 8476a15a44
commit a1cecf044c

View file

@ -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" || \