HomePhabricator

p2p: Serialize cmpctblock at most once in NewPoWValidBlock

Description

p2p: Serialize cmpctblock at most once in NewPoWValidBlock

Summary:
Instead of serializing for each peer, serialize at most once and copy the raw data for each peer.

This is a backport of core#23880

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Jan 26 2022, 08:41
PiRKCommitted on Nov 13 2023, 16:08
PiRKPushed on Nov 13 2023, 16:08
Reviewer
Restricted Project
Differential Revision
D14774: p2p: Serialize cmpctblock at most once in NewPoWValidBlock
Parents
rABC78023bcd5436: [electrum] update notification for 5.2.9
Branches
Unknown
Tags
Unknown