Skip to content

Enhance fee transaction sanity checks #508

@jholdstock

Description

@jholdstock

Fee transactions received from clients are stored in the DB and broadcast after the ticket purchase is confirmed. The transactions are sanity checked upon receipt - e.g. is the transaction structure valid, and does it pay to the correct fee address?

The current checks are somewhat limited because they are context free; they do not consider the current state of the blockchain and the UTXO set. Adding some contextual checks can reduce the chance of vspd accepting a tx which will fail to broadcast - e.g. have any of the inputs to the transaction already been spent?

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