Skip to content

TP: Send all intermediate hashes #28

@ccdle12

Description

@ccdle12

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions