aboutsummaryrefslogtreecommitdiff
path: root/.fuzzbuzz.yml
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-06-08 10:36:49 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-06-08 10:36:57 -0400
commita79bca2f1fb25f433d6e100a31a3acfde2656ce1 (patch)
tree9e3e7f25a04b342004089f4e719fe370ae11bba6 /.fuzzbuzz.yml
parent297466b49ff3aa568c78920d1d0f33646dbd3e21 (diff)
parentb00266fe0cf05fe6044f471105ce2bfed4349626 (diff)
Merge #19069: refactor: replace pointers by references within tx_verify.{h,cpp}
b00266fe0cf05fe6044f471105ce2bfed4349626 refactor: replace pointers by references within tx_verify.{h,cpp} (Sebastian Falbesoner) Pull request description: This PR gets rid of another unnecessary use of raw pointers, similar to PR #19053 (see also issue #19062 where useful commands for finding potential candidates are listed) but in the tx verification module. For the functions `CalculateSequenceLocks()` and `SequenceLocks()`, the `prevHeights` vector parameter type is changed to be passed as a reference. Note that there were no checks for null pointers -- if one would pass `nullptr` to one of the functions, the following line would immediately lead to a crash: https://github.com/bitcoin/bitcoin/blob/dcacea096e029a02a937bf96d002ca7e94c48c15/src/consensus/tx_verify.cpp#L32 ACKs for top commit: Empact: Code Review ACK https://github.com/bitcoin/bitcoin/pull/19069/commits/b00266fe0cf05fe6044f471105ce2bfed4349626 Tree-SHA512: 0eb71591467905434082029128bdca4df94988c372af40dca325654f6c002c72a00c73776cb5e72d6de2b2f218649211a5dbf19300a2e01f1841d6034e0f01e0
Diffstat (limited to '.fuzzbuzz.yml')
0 files changed, 0 insertions, 0 deletions