Browse Source
A bit hacky, but saves editing two places. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>ppa-0.6.1
1 changed files with 13 additions and 10 deletions
@ -1,14 +1,17 @@ |
|||||
# Sourced by other scripts |
# Sourced by other scripts |
||||
#STYLE=bitcoin |
|
||||
#CLI="bitcoin-cli -regtest" |
|
||||
#DATADIR=$HOME/.bitcoin |
|
||||
#REGTESTDIR=regtest |
|
||||
#DAEMON=bitcoind |
|
||||
|
|
||||
|
if grep ^FEATURES.*ALPHA ../Makefile; then |
||||
STYLE=alpha |
STYLE=alpha |
||||
DATADIR=$HOME/.alpha |
DATADIR=$HOME/.alpha |
||||
REGTESTDIR=alpharegtest |
REGTESTDIR=alpharegtest |
||||
CLI="alpha-cli -datadir=$DATADIR -regtest -testnet=0" |
CLI="alpha-cli -datadir=$DATADIR -regtest -testnet=0" |
||||
DAEMON="alphad -datadir=$DATADIR" |
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" |
#PREFIX="valgrind --vgdb-error=1" |
||||
|
Loading…
Reference in new issue