Skip to content

transactions: Check if they are sendable. #31

@JoeGruffins

Description

@JoeGruffins

Testing with ledger on mainnet, it's easy to make transactions that will not be relayed by the network because they are dust. Unsure if there are other reasons a tx may be rejected.

-1: rejected transaction c5cde823c5e55e5efd6de744e89991eacb6d293751a9c4487c7e0f489287acdb: transaction c5cde823c5e55e5efd6de744e89991eacb6d293751a9c4487c7e0f489287acdb is not standard: transaction output 0: payment of 5000 is dust

We should probably check when sending before sending. We also have no way currently to abandon transactions on cake so the unsendable tx will just be there forever atm. Maybe consider adding an abandon tx function as well.

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