mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-29 18:05:58 +02:00
Merge #9375: Relay compact block messages prior to full block connection
02ee4ebMake most_recent_compact_block a pointer to a const (Matt Corallo)73666adAdd comment to describe callers to ActivateBestChain (Matt Corallo)962f7f0Call ActivateBestChain without cs_main/with most_recent_block (Matt Corallo)0df777dUse a temp pindex to avoid a const_cast in ProcessNewBlockHeaders (Matt Corallo)c1ae4fcAvoid holding cs_most_recent_block while calling ReadBlockFromDisk (Matt Corallo)9eb67f5Ensure we meet the BIP 152 old-relay-types response requirements (Matt Corallo)5749a85Cache most-recently-connected compact block (Matt Corallo)9eaec08Cache most-recently-announced block's shared_ptr (Matt Corallo)c802092Relay compact block messages prior to full block connection (Matt Corallo)6987219Add a CValidationInterface::NewPoWValidBlock callback (Matt Corallo)180586fCall AcceptBlock with the block's shared_ptr instead of CBlock& (Matt Corallo)8baaba6[qa] Avoid race in preciousblock test. (Matt Corallo)9a0b2f4[qa] Make compact blocks test construction using fetch methods (Matt Corallo)8017547Make CBlockIndex*es in net_processing const (Matt Corallo)
This commit is contained in:
@@ -24,6 +24,7 @@ public:
|
||||
virtual void SyncTransaction(const CTransaction& tx, const CBlockIndex* pindex, int nPosInBlock);
|
||||
virtual void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload);
|
||||
virtual void BlockChecked(const CBlock& block, const CValidationState& state);
|
||||
virtual void NewPoWValidBlock(const CBlockIndex *pindex, const std::shared_ptr<const CBlock>& pblock);
|
||||
};
|
||||
|
||||
struct CNodeStateStats {
|
||||
|
||||
Reference in New Issue
Block a user