@ -218,6 +218,28 @@ function onRpcConnectionVerified(getnetworkinfo, getblockchaininfo) {
}
}
functionrefreshUtxoSetSummary(){
if(config.slowDeviceMode){
global.utxoSetSummary=null;
global.utxoSetSummaryPending=false;
debugLog("Skipping performance-intensive task: fetch UTXO set summary. This is skipped due to the flag 'slowDeviceMode' which defaults to 'true' to protect slow nodes. Set this flag to 'false' to enjoy UTXO set summary details.");
return;
}
// flag that we're working on calculating UTXO details (to differentiate cases where we don't have the details and we're not going to try computing them)