| 14 | } |
| 15 | |
| 16 | void CChain::SetTip(CBlockIndex& block) |
| 17 | { |
| 18 | CBlockIndex* pindex = █ |
| 19 | vChain.resize(pindex->nHeight + 1); |
| 20 | while (pindex && vChain[pindex->nHeight] != pindex) { |
| 21 | vChain[pindex->nHeight] = pindex; |
| 22 | pindex = pindex->pprev; |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | std::vector<uint256> LocatorEntries(const CBlockIndex* index) |
| 27 | { |