mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
Remove Alpha support.
I had already disabled it, and this clears the decks for Segregated Witness which gives us everything we want. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -6,21 +6,9 @@ set -e
|
||||
. `dirname $0`/vars.sh
|
||||
INIT=$1
|
||||
|
||||
case $STYLE in
|
||||
alpha)
|
||||
# This is a one-shot in alpha, it seems.
|
||||
$CLI setgenerate true
|
||||
# Avoid median time bug by generating 11 blocks
|
||||
if [ -n "$INIT" ]; then
|
||||
for i in `seq 11`; do $CLI setgenerate true; done
|
||||
fi
|
||||
;;
|
||||
bitcoin)
|
||||
# Initially we need 100 blocks so coinbase matures, giving us funds.
|
||||
if [ -n "$INIT" ]; then
|
||||
$CLI generate 101
|
||||
else
|
||||
$CLI generate 1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
# Initially we need 100 blocks so coinbase matures, giving us funds.
|
||||
if [ -n "$INIT" ]; then
|
||||
$CLI generate 101
|
||||
else
|
||||
$CLI generate 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user