HomePhabricator

[ecash-wallet] Remove consumed postage utxos in addFuelAndSign

Description

[ecash-wallet] Remove consumed postage utxos in addFuelAndSign

Summary:
Match the same API from build()

Note buildPostage does not update the utxo set, because it is not necessarily possible to know the txid and the change utxos that go back to the postage wallet.

However, we should do this for the fuel wallet in addFuelAndSign, because in this case we know that there are only consumed utxos and no change utxos. There are significant server speed and resource improvements available for postage payment servers with this update.

Test Plan: npm test

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D18924

Details

Provenance
bytesofmanAuthored on Wed, Nov 12, 17:10
teamcityPushed on Wed, Nov 12, 22:01
Parents
rSTAGING60c7df36b9ba: [Cashtab] Do not allow users to list Firma below the bid price
Branches
Unknown
Tags
Unknown
References
HEAD -> master, tag: phabricator/base/56579

Event Timeline