mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 09:34:24 +01:00
test: use eatmydata for bitcoind and lightningd if available.
Before: real 17m56.862s After: real 13m42.868s Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
# Sourced by other scripts
|
||||
|
||||
# Suppress sync if we can, for speedup.
|
||||
if which eatmydata >/dev/null; then EATMYDATA=eatmydata; fi
|
||||
|
||||
STYLE=bitcoin
|
||||
DATADIR=/tmp/bitcoin-lightning
|
||||
CLI="bitcoin-cli -datadir=$DATADIR"
|
||||
REGTESTDIR=regtest
|
||||
DAEMON="bitcoind -datadir=$DATADIR"
|
||||
DAEMON="$EATMYDATA bitcoind -datadir=$DATADIR"
|
||||
|
||||
findport()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user