|
|
@ -2251,6 +2251,10 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin |
|
|
|
vPos.reserve(block.vtx.size()); |
|
|
|
blockundo.vtxundo.reserve(block.vtx.size() - 1); |
|
|
|
|
|
|
|
std::vector<std::pair<CAddressIndexKey, CAmount> > addressIndex; |
|
|
|
std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> > addressUnspentIndex; |
|
|
|
std::vector<std::pair<CSpentIndexKey, CSpentIndexValue> > spentIndex; |
|
|
|
|
|
|
|
// Construct the incremental merkle tree at the current
|
|
|
|
// block position,
|
|
|
|
auto old_tree_root = view.GetBestAnchor(); |
|
|
|