Commit 9a533aac authored by Daniel Edgecumbe's avatar Daniel Edgecumbe

Reduce polling interval for wallet functions

parent a01db1d4
Pipeline #313 passed with stages
in 28 seconds
......@@ -317,9 +317,6 @@ onload = function() {
asyncRequest(`rest/chaininfo.json`, processAsyncResponse);
asyncRequest(`peerinfo`, processAsyncResponse);
asyncRequest("getmininginfo", dealWithMininginfo);
asyncRequest("getwalletinfo", dealWithWalletinfo);
asyncRequest("listreceivedbyaddress/0/true", dealWithRBA);
asyncRequest("listtransactions/*/100", dealWithTransactions);
}, 5000);
setInterval(function() {
......@@ -327,6 +324,9 @@ onload = function() {
return;
}
asyncRequest("getwalletinfo", dealWithWalletinfo);
asyncRequest("listreceivedbyaddress/0/true", dealWithRBA);
asyncRequest("listtransactions/*/100", dealWithTransactions);
asyncRequest(`blocktemplate`, processAsyncResponse);
}, 15000);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment