forked from Fi3/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Update the TP to send all intermediate merkle hashes: https://github.com/ccdle12/bitcoin/blob/2023.10.29-sv2/src/node/sv2_messages.cpp#L33
This is the area of code where merkle roots are calculated: https://github.com/ccdle12/bitcoin/blob/2023.10.29-sv2/src/consensus/merkle.cpp
In the merkle tests, there is an old function which returned all the calculated intermediate merkle hashes: https://github.com/ccdle12/bitcoin/blob/2023.10.29-sv2/src/test/merkle_tests.cpp#L131
Maybe we need to reuse that function to be able to get and send all intermediate merkle hashes in a block.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels