mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-10 15:45:09 +01:00
6410b0ac9c
I changed mine off regtest, and "make check" broke. Fix that. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
24 lines
584 B
Bash
24 lines
584 B
Bash
# Sourced by other scripts
|
|
|
|
if grep -q ^FEATURES.*ALPHA ../Makefile; then
|
|
STYLE=alpha
|
|
DATADIR=/tmp/alpha-lightning
|
|
REGTESTDIR=alpharegtest
|
|
CLI="alpha-cli -datadir=$DATADIR"
|
|
DAEMON="alphad -datadir=$DATADIR"
|
|
SEQ_ENFORCEMENT=true
|
|
else
|
|
STYLE=bitcoin
|
|
DATADIR=/tmp/bitcoin-lightning
|
|
CLI="bitcoin-cli -datadir=$DATADIR"
|
|
REGTESTDIR=regtest
|
|
DAEMON="bitcoind -datadir=$DATADIR"
|
|
if grep ^FEATURES ../Makefile | cut -d'#' -f1 | grep -q BIP68; then
|
|
SEQ_ENFORCEMENT=true
|
|
else
|
|
SEQ_ENFORCEMENT=false
|
|
fi
|
|
fi
|
|
|
|
#PREFIX="valgrind --vgdb-error=1"
|