Skip to content

Transaction is duplicated on the wire to signer #6594

Open
@devrandom

Description

@devrandom

Issue

Several hsmd protocol messages use bitcoin_tx which includes a wally_tx and a wally_psbt. However, wally_psbt already includes a wally_tx, resulting in duplication of the transaction on the wire.

We (VLS project) tried ignoring the top level wally_tx, but discovered that the two transactions differ in the amounts - possibly a different feerate is sometimes used.

In addition to not being DRY, the dupilcation results in additional memory usage in low-resource environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions