Browse Source

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

林敬 5 years ago
parent
commit
7318f53cc2
2 changed files with 7 additions and 0 deletions
  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