Makefile: remove all the old Elements Alpha support.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-11-10 23:30:35 +10:30
parent bff81c0ecf
commit 700c536a27
7 changed files with 3 additions and 69 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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