init commit of 24.0.1 custom signet image

This commit is contained in:
Richard Safier
2023-03-24 14:18:35 -04:00
parent 533595d645
commit f2b9f08fdc
37 changed files with 9789 additions and 2 deletions

14
run.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
# run bitcoind
bitcoind --daemonwait
sleep 5
echo "get magic"
magic=$(cat /root/.bitcoin/signet/debug.log | grep -m1 magic)
magic=${magic:(-8)}
echo $magic > /root/.bitcoin/MAGIC.txt
# if in mining mode
if [[ "$MINERENABLED" == "1" ]]; then
mine.sh
fi