tree checksum vpatch file split hunks
all signers: 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
- 712C2726313EE78027C22B67DB8F148572C19003463D8438F47D64DC4F354376A7B492D5A7BFBE324FE8B8E6023E4836473B2B76099B72F58262D616665D0F41(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
- 4A3E4156023B21F80DE1C46C1466CCBC28008D83F204D9EEA1E7AC7CD9A2356A1DF5EB1D064A4BFEDE9D661921DED7AFAD5BEF2E2A3ECED51BDFF0EF875ABF29(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);