jl777
8 years ago
1 changed files with 10 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||||
|
source userpass |
||||
|
ht=$1 |
||||
|
while true |
||||
|
do |
||||
|
curl --url "http://127.0.0.1:7779" --data "{\"userpass\":\"$userpass\",\"method\":\"snapshot\",\"coin\":\"KMD\",\"height\":$ht}" |
||||
|
ht=$(( $ht + 100 )) |
||||
|
echo next hight $ht |
||||
|
sleep 6000 |
||||
|
done |
||||
|
|
Loading…
Reference in new issue