scripts: move to scripts/ subdir, prepare for alpha.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2015-06-25 13:49:17 +09:30
parent 61737a79d2
commit 8f4426e09b
7 changed files with 212 additions and 171 deletions

View File

@@ -0,0 +1,16 @@
#! /bin/sh
# Query bitcoind to get (first) unspent output to spend.
set -e
. `dirname $0`/vars.sh
case $STYLE in
alpha)
# This is a one-shot in alpha, it seems.
$CLI setgenerate true
;;
bitcoin)
$CLI generate 1
;;
esac