HomePhabricator

[ecash-lib] Add a fromTx method to the TxBuilder

Description

[ecash-lib] Add a fromTx method to the TxBuilder

Summary:
In order for postage to work, we need a way of sending a serialized partially-signed tx to a server. The server then must recreate a TxBuilder from this partially signed tx in order to add fuel inputs.

Add and test a method to support this.

Ref D18837 to see where this is going

Test Plan: npm test

Reviewers: #bitcoin_abc, tobias_ruck

Reviewed By: #bitcoin_abc, tobias_ruck

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

Details

Provenance
bytesofmanAuthored on Mon, Oct 27, 13:26
bytesofmanPushed on Mon, Oct 27, 16:17
Reviewer
Restricted Project
Differential Revision
D18838: [ecash-lib] Add a fromTx method to the TxBuilder
Parents
rABC3b82401e6dd4: test: Fix Wambiguous-reversed-operator compiler warnings
Branches
Unknown
Tags
Unknown