diff options
author | fanquake <fanquake@gmail.com> | 2023-04-11 11:27:48 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-04-11 11:43:21 +0100 |
commit | 53eb4b7a212db7563291509ff4e53327440a9df2 (patch) | |
tree | b4d9777d2d9df43b2083d9e44d2f6ac812c1f5df /src/test/fuzz | |
parent | b24553c04cc4f6da5491f4648b67ae5a1b2769f9 (diff) | |
parent | 55c4795c5794c5c2f8a69b394b847413c9cfbe36 (diff) |
Merge bitcoin/bitcoin#27270: refactor, net processing: Avoid CNode::m_relays_txs usage
55c4795c5794c5c2f8a69b394b847413c9cfbe36 [net processing] Use TxRelay::m_relay_txs over CNode::m_relays_txs (dergoegge)
Pull request description:
`CNode::m_relays_txs` is meant to only be used for the eviction logic in `net`. `TxRelay::m_relay_txs` will hold the same value and is meant to be used on the application layer to determine if we will/should relay transactions to a peer.
(Shameless plug: we should really better specify the interface for updating eviction data to avoid refactors like this in the future -> #25572)
ACKs for top commit:
MarcoFalke:
lgtm ACK 55c4795c5794c5c2f8a69b394b847413c9cfbe36
Tree-SHA512: 59cfd23e32568fd96cda5570790e518242a6c76d4edf5b7d1a2a7f9724d590d2a38395504e05be0af4e98dd5c0056fc0be6568eab2818934692483a186e5181d
Diffstat (limited to 'src/test/fuzz')
0 files changed, 0 insertions, 0 deletions