mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Added IsSynced field to JSON output of mnsync status RPC command
- This is needed to allow fixing RPC tests so that they wait until the nodes are fully synced before performing tests
This commit is contained in:
parent
427086e136
commit
794b90d9ce
@ -153,6 +153,7 @@ UniValue mnsync(const UniValue& params, bool fHelp)
|
|||||||
UniValue obj(UniValue::VOBJ);
|
UniValue obj(UniValue::VOBJ);
|
||||||
|
|
||||||
obj.push_back(Pair("IsBlockchainSynced", masternodeSync.IsBlockchainSynced()));
|
obj.push_back(Pair("IsBlockchainSynced", masternodeSync.IsBlockchainSynced()));
|
||||||
|
obj.push_back(Pair("IsSynced", masternodeSync.IsSynced()));
|
||||||
obj.push_back(Pair("CurrentSyncingAssetName", masternodeSync.GetAssetName()));
|
obj.push_back(Pair("CurrentSyncingAssetName", masternodeSync.GetAssetName()));
|
||||||
obj.push_back(Pair("lastMasternodeList", masternodeSync.lastMasternodeList));
|
obj.push_back(Pair("lastMasternodeList", masternodeSync.lastMasternodeList));
|
||||||
obj.push_back(Pair("lastMasternodeWinner", masternodeSync.lastMasternodeWinner));
|
obj.push_back(Pair("lastMasternodeWinner", masternodeSync.lastMasternodeWinner));
|
||||||
|
Loading…
Reference in New Issue
Block a user