HomePhabricator

[ConnectBlock] Use an index to refers into blockundo.vtxundo rather than pusing…

Description

[ConnectBlock] Use an index to refers into blockundo.vtxundo rather than pusing as we go

Summary: This makes the code more solid as there is no risk of reallocation mid way.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D5299

Details

Provenance
deadalnixAuthored on Feb 15 2020, 16:37
deadalnixPushed on Feb 16 2020, 02:38
Reviewer
Restricted Project
Differential Revision
D5299: [ConnectBlock] Use an index to refers into blockundo.vtxundo rather than pusing as we go
Parents
rSTAGING623761da2174: [LINTER] Fix the doxygen linter when inline comments are multilined
Branches
Unknown
Tags
Unknown