HomePhabricator

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

Authored by deadalnix on Feb 15 2020, 16:37.

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

Committed
deadalnixFeb 15 2020, 18:00
Pushed
deadalnixFeb 15 2020, 18:00
Reviewer
Restricted Project
Differential Revision
D5299: [ConnectBlock] Use an index to refers into blockundo.vtxundo rather than pusing as we go
Parents
rABC623761da2174: [LINTER] Fix the doxygen linter when inline comments are multilined
Branches
Unknown
Tags
Unknown