Parcourir la source

add unlock wallet script to start mine function when chain33 crash,

林敬 il y a 5 ans
Parent
commit
7318f53cc2
2 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. 4 0
      chain33.sh
  2. 3 0
      unlock-wallet-later.sh

+ 4 - 0
chain33.sh

@@ -0,0 +1,4 @@
+#!/bin/bash
+
+bash /root/chain33/unlock-wallet-later.sh &
+/root/chain33/chain33 

+ 3 - 0
unlock-wallet-later.sh

@@ -0,0 +1,3 @@
+#!/bin/bash
+sleep 15
+/root/chain33/chain33-cli wallet unlock -p 123456 -s ticket -t 0