You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# 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="$EATMYDATA bitcoind -datadir=$DATADIR"
|
|
|
|
|
|
|
|
findport()
|
|
|
|
{
|
|
|
|
PORT=$1
|
|
|
|
while netstat -ntl | grep -q ":$PORT "; do PORT=$(($PORT + 1)); done
|
|
|
|
echo $PORT
|
|
|
|
}
|
|
|
|
#PREFIX="valgrind --vgdb-error=1"
|