mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-10 01:24:30 +01:00
Makefile: remove all the old Elements Alpha support.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
#! /bin/sh
|
||||
|
||||
# Alpha defaults to confidential addresses. We don't handle those (yet?)
|
||||
# so extract the unconfidential address.
|
||||
set -e
|
||||
|
||||
. `dirname $0`/vars.sh
|
||||
|
||||
case $STYLE in
|
||||
alpha)
|
||||
A=`$CLI getnewaddress`
|
||||
$CLI validateaddress $A | sed -n 's/.*"unconfidential" : "\([A-Za-z0-9]*\)".*/\1/p'
|
||||
;;
|
||||
bitcoin)
|
||||
$CLI getnewaddress
|
||||
;;
|
||||
esac
|
||||
@@ -47,6 +47,6 @@ fi
|
||||
|
||||
`dirname $0`/generate-block.sh init
|
||||
|
||||
A1=$(`dirname $0`/get-new-address.sh)
|
||||
A1=$($CLI getnewaddress)
|
||||
TX=`$CLI sendmany "" "{ \"$A1\":0.01 }"`
|
||||
`dirname $0`/generate-block.sh
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
# Suppress sync if we can, for speedup.
|
||||
if which eatmydata >/dev/null; then EATMYDATA=eatmydata; fi
|
||||
|
||||
STYLE=bitcoin
|
||||
DATADIR=/tmp/bitcoin-lightning$VARIANT
|
||||
CLI="bitcoin-cli -datadir=$DATADIR"
|
||||
REGTESTDIR=regtest
|
||||
|
||||
Reference in New Issue
Block a user