mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-10 15:45:09 +01:00
35b2ee9c42
We've assumed this for ages anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 lines
314 B
Bash
16 lines
314 B
Bash
# Sourced by other scripts
|
|
|
|
STYLE=bitcoin
|
|
DATADIR=/tmp/bitcoin-lightning
|
|
CLI="bitcoin-cli -datadir=$DATADIR"
|
|
REGTESTDIR=regtest
|
|
DAEMON="bitcoind -datadir=$DATADIR"
|
|
|
|
findport()
|
|
{
|
|
PORT=$1
|
|
while netstat -ntl | grep -q ":$PORT "; do PORT=$(($PORT + 1)); done
|
|
echo $PORT
|
|
}
|
|
#PREFIX="valgrind --vgdb-error=1"
|