HomePhabricator

p2p: make gtxid(.hash) and fAlreadyHave localvars const

Description

p2p: make gtxid(.hash) and fAlreadyHave localvars const

Summary:
Partial backport of core#19610:
https://github.com/bitcoin/bitcoin/pull/19610/commits/24ee4f01eadb870435712950a1364cf0def06e9f

There is very few remaining when removed the segwit content.

Depends on D9506.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Jon Atack <jon@atack.com>Authored on Aug 8 2020, 12:36
FabienCommitted on May 12 2021, 19:11
FabienPushed on May 12 2021, 19:11
Reviewer
Restricted Project
Differential Revision
D9507: p2p: make gtxid(.hash) and fAlreadyHave localvars const
Parents
rABC0f5b42a26d3e: p2p: use CInv block message helpers in net_processing.cpp
Branches
Unknown
Tags
Unknown