Skip to content

Commit 73eedaa

Browse files
committed
style-only: Miscellaneous whitespace changes
...of touched lines and surrounding
1 parent 0d567da commit 73eedaa

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

src/net_processing.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2175,10 +2175,10 @@ void PeerManagerImpl::ProcessHeadersMessage(CNode& pfrom, const Peer& peer,
21752175
nodestate->nUnconnectingHeaders++;
21762176
m_connman.PushMessage(&pfrom, msgMaker.Make(NetMsgType::GETHEADERS, m_chainman.ActiveChain().GetLocator(m_chainman.pindexBestHeader), uint256()));
21772177
LogPrint(BCLog::NET, "received header %s: missing prev block %s, sending getheaders (%d) to end (peer=%d, nUnconnectingHeaders=%d)\n",
2178-
headers[0].GetHash().ToString(),
2179-
headers[0].hashPrevBlock.ToString(),
2180-
m_chainman.pindexBestHeader->nHeight,
2181-
pfrom.GetId(), nodestate->nUnconnectingHeaders);
2178+
headers[0].GetHash().ToString(),
2179+
headers[0].hashPrevBlock.ToString(),
2180+
m_chainman.pindexBestHeader->nHeight,
2181+
pfrom.GetId(), nodestate->nUnconnectingHeaders);
21822182
// Set hashLastUnknownBlock for this peer, so that if we
21832183
// eventually get the headers - even from a different peer -
21842184
// we can use this peer to download.

src/rpc/blockchain.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,18 +1205,18 @@ RPCHelpMan getblockchaininfo()
12051205
CHECK_NONFATAL(tip);
12061206
const int height = tip->nHeight;
12071207
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);
12101210
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());
12181218
obj.pushKV("size_on_disk", chainman.m_blockman.CalculateCurrentUsage());
1219-
obj.pushKV("pruned", node::fPruneMode);
1219+
obj.pushKV("pruned", node::fPruneMode);
12201220
if (node::fPruneMode) {
12211221
const CBlockIndex* block = tip;
12221222
CHECK_NONFATAL(block);

0 commit comments

Comments
 (0)