core-lightning/test-cli/scripts/vars.sh

18 lines
412 B
Bash
Raw Normal View History

# Sourced by other scripts
if grep -q ^FEATURES.*ALPHA ../Makefile; then
STYLE=alpha
DATADIR=$HOME/.alpha
REGTESTDIR=alpharegtest
CLI="alpha-cli -datadir=$DATADIR -regtest -testnet=0"
DAEMON="alphad -datadir=$DATADIR"
else
STYLE=bitcoin
CLI="bitcoin-cli -regtest"
DATADIR=$HOME/.bitcoin
REGTESTDIR=regtest
DAEMON="bitcoind -regtest"
fi
#PREFIX="valgrind --vgdb-error=1"