Skip to content

Bug: BlockPool Transaction Missing #833

@andy-shi88

Description

@andy-shi88

Description

On broadcasting block, we remove the transaction so that we only broadcast the block with transaction ids.

There is a bug here, since we use block's pointer, when we remove the transactions on block before broadcasted, the one in the mempool actually got removed too.

This can cause the block.PayloadHash to differ when it's time to move the block from BlockPool to persistance storage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BACKWARD_COMPATIBLErequire changes that are backward compatible, no reset requiredBUGSomething isn't workingCOREcore functionalitiesHIGH_PRIORITYneeded ASAP for current sprint

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions