@@ -1205,18 +1205,18 @@ RPCHelpMan getblockchaininfo()
1205
1205
CHECK_NONFATAL (tip);
1206
1206
const int height = tip->nHeight ;
1207
1207
UniValue obj (UniValue::VOBJ);
1208
- obj.pushKV (" chain" , Params ().NetworkIDString ());
1209
- obj.pushKV (" blocks" , height);
1208
+ obj.pushKV (" chain" , Params ().NetworkIDString ());
1209
+ obj.pushKV (" blocks" , height);
1210
1210
obj.pushKV (" headers" , chainman.pindexBestHeader ? chainman.pindexBestHeader ->nHeight : -1 );
1211
- obj.pushKV (" bestblockhash" , tip->GetBlockHash ().GetHex ());
1212
- obj.pushKV (" difficulty" , (double )GetDifficulty (tip));
1213
- obj.pushKV (" time" , (int64_t )tip->nTime );
1214
- obj.pushKV (" mediantime" , (int64_t )tip->GetMedianTimePast ());
1215
- obj.pushKV (" verificationprogress" , GuessVerificationProgress (Params ().TxData (), tip));
1216
- obj.pushKV (" initialblockdownload" , active_chainstate.IsInitialBlockDownload ());
1217
- obj.pushKV (" chainwork" , tip->nChainWork .GetHex ());
1211
+ obj.pushKV (" bestblockhash" , tip->GetBlockHash ().GetHex ());
1212
+ obj.pushKV (" difficulty" , (double )GetDifficulty (tip));
1213
+ obj.pushKV (" time" , (int64_t )tip->nTime );
1214
+ obj.pushKV (" mediantime" , (int64_t )tip->GetMedianTimePast ());
1215
+ obj.pushKV (" verificationprogress" , GuessVerificationProgress (Params ().TxData (), tip));
1216
+ obj.pushKV (" initialblockdownload" , active_chainstate.IsInitialBlockDownload ());
1217
+ obj.pushKV (" chainwork" , tip->nChainWork .GetHex ());
1218
1218
obj.pushKV (" size_on_disk" , chainman.m_blockman .CalculateCurrentUsage ());
1219
- obj.pushKV (" pruned" , node::fPruneMode );
1219
+ obj.pushKV (" pruned" , node::fPruneMode );
1220
1220
if (node::fPruneMode ) {
1221
1221
const CBlockIndex* block = tip;
1222
1222
CHECK_NONFATAL (block);
0 commit comments