Skip to content

Orphan blocks and stale blocks #2

@tejush1998

Description

@tejush1998

Hi,
I subscribed through your course. I was wondering what happens when a transaction is stored in a stale block. Your code is assuming if once blockchain is broadcasted, it will automatically be part of the longest blockchain. What happens when that blockchain is not accepted and the block becomes a stale block ? The transactions will be lost
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions