2015-06-25 06:19:17 +02:00
|
|
|
# Sourced by other scripts
|
2015-06-30 05:18:06 +02:00
|
|
|
|
2015-09-24 07:11:55 +02:00
|
|
|
if grep -q ^FEATURES.*ALPHA ../Makefile; then
|
2015-08-08 07:32:19 +02:00
|
|
|
STYLE=alpha
|
|
|
|
DATADIR=$HOME/.alpha
|
|
|
|
REGTESTDIR=alpharegtest
|
|
|
|
CLI="alpha-cli -datadir=$DATADIR -regtest -testnet=0"
|
2016-01-21 21:08:08 +01:00
|
|
|
DAEMON="alphad -datadir=$DATADIR -regtest -testnet=0 -walletbroadcast=1"
|
2015-09-30 03:24:11 +02:00
|
|
|
SEQ_ENFORCEMENT=true
|
2015-08-08 07:32:19 +02:00
|
|
|
else
|
|
|
|
STYLE=bitcoin
|
2016-01-21 21:08:08 +01:00
|
|
|
CLI="bitcoin-cli -regtest -testnet=0"
|
2015-08-08 07:32:19 +02:00
|
|
|
DATADIR=$HOME/.bitcoin
|
|
|
|
REGTESTDIR=regtest
|
2016-01-21 21:08:08 +01:00
|
|
|
DAEMON="bitcoind -regtest -testnet=0 -walletbroadcast=1"
|
2015-09-30 03:24:11 +02:00
|
|
|
if grep ^FEATURES ../Makefile | cut -d'#' -f1 | grep -q BIP68; then
|
|
|
|
SEQ_ENFORCEMENT=true
|
|
|
|
else
|
|
|
|
SEQ_ENFORCEMENT=false
|
|
|
|
fi
|
2015-08-08 07:32:19 +02:00
|
|
|
fi
|
2015-06-25 06:19:17 +02:00
|
|
|
|
|
|
|
#PREFIX="valgrind --vgdb-error=1"
|