jl777
8 years ago
3 changed files with 14 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_balance\",\"coin\":\"KMD\",\"height\":$ht,\"addresses\":[\"RSAzPFzgTZHNcxLNLdGyVPbjbMA8PRY7Ss\", \"RBgD5eMGwZppid4x7PTEC2Wg1AzvxbsQqB\"]}" |
||||
|
ht=$(( $ht + 100 )) |
||||
|
echo next hight $ht |
||||
|
sleep 6000 |
||||
|
done |
||||
|
|
Loading…
Reference in new issue