Skip to content

Return unspent txs in a reorg to the pool #526

@Boog900

Description

@Boog900

What

During a reorg for any txs that are in blocks that got reorged, return the txs to the pool.

Why

So we don't lose txs on a reorg.

Where

Database, cuprated binary.

How

When a reorg is called on the database the database should check all tx key images to see if any are not spent and return them if the reorg is successful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-binariesArea: Related to binaries.A-storageArea: Related to storage.C-proposalCategory: A proposal of some kind, and a request for comments.E-mediumExperience: Medium difficulty. Experience needed to fix: Intermediate.P-mediumPriority: Medium.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions