mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge f6013265b7 into merged_master (Bitcoin PR bitcoin/bitcoin#20295)
This commit is contained in:
commit
b0b2f3deff
18 changed files with 296 additions and 93 deletions
|
|
@ -3840,6 +3840,7 @@ bool CChainState::AcceptBlock(const std::shared_ptr<const CBlock>& pblock, Block
|
|||
// This requires some new chain data structure to efficiently look up if a
|
||||
// block is in a chain leading to a candidate for best tip, despite not
|
||||
// being such a candidate itself.
|
||||
// Note that this would break the getblockfrompeer RPC
|
||||
|
||||
// TODO: deal better with return value and error conditions for duplicate
|
||||
// and unrequested blocks.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue