tree checksum vpatch file split hunks
all signers: mircea_popescu ben_vulpes trinque asciilifeform mod6
antecedents: programmable-versionstring asciilifeform_ver_now_5_4_and_irc_is_gone_and_now_must_give_ip makefiles
press order:
patch:
(1725 . 13)(1725 . 9)
5 }
6 }
7
8 // Ask the first connected node for block updates
9 static int nAskedForBlocks;
10 if (!pfrom->fClient &&
11 (pfrom->nVersion < 32000 || pfrom->nVersion >= 32400) &&
12 (nAskedForBlocks < 1 || vNodes.size() <= 1))
13 // Ask EVERY connected node (other than self) for block updates
14 if (!pfrom->fClient)
15 {
16 nAskedForBlocks++;
17 pfrom->PushGetBlocks(pindexBest, uint256(0));
18 }
19
- 31EB2CBDF4F83F10AE8A7CDD3A69312BA6EAFBECFAFBEDDF7546CE99847BD4F2A674037E2B89A0A7B91C37127D9770501C265A7977EDB0AE0B3A5964272692F9(59 . 12)(59 . 6)
24
25 void CNode::PushGetBlocks(CBlockIndex* pindexBegin, uint256 hashEnd)
26 {
27 // Filter out duplicate requests
28 if (pindexBegin == pindexLastGetBlocksBegin && hashEnd == hashLastGetBlocksEnd)
29 return;
30 pindexLastGetBlocksBegin = pindexBegin;
31 hashLastGetBlocksEnd = hashEnd;
32
33 PushMessage("getblocks", CBlockLocator(pindexBegin), hashEnd);
34 }
35
- BB842420BCC67752EDF8E658524B135F499C5F8676557A6C12F47F204303E34BD73BEABDF6E9146BA452947C4E5CD298529969FAB90F16942F6BF0C1229F7043(130 . 8)(130 . 6)
40 std::map<uint256, CRequestTracker> mapRequests;
41 CCriticalSection cs_mapRequests;
42 uint256 hashContinue;
43 CBlockIndex* pindexLastGetBlocksBegin;
44 uint256 hashLastGetBlocksEnd;
45 int nStartingHeight;
46
47 // flood relay
(180 . 8)(178 . 6)
49 nRefCount = 0;
50 nReleaseTime = 0;
51 hashContinue = 0;
52 pindexLastGetBlocksBegin = 0;
53 hashLastGetBlocksEnd = 0;
54 nStartingHeight = -1;
55 fGetAddr = false;
56 vfSubscribe.assign(256, false);