mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 23:54:22 +01:00
wally: Remove tx->input and tx->output, wally all the way!
This is what all of this has been working towards: ripping out the handwoven transaction handling. By removing the custom parsing we can finally switch over to using `wally_tx` as sole representation of transactions in memory. The commit is a bit larger but it's mostly removing setters and old references to the input and output fields. Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
cf9f484168
commit
509bb2c7ae
@@ -22,8 +22,6 @@ struct bitcoin_tx {
|
||||
/* Keep track of input amounts, this is needed for signatures (NULL if
|
||||
* unknown) */
|
||||
struct amount_sat **input_amounts;
|
||||
struct bitcoin_tx_input *input;
|
||||
struct bitcoin_tx_output *output;
|
||||
struct wally_tx *wtx;
|
||||
|
||||
/* Keep track of how many inputs and outputs were filled so far. This
|
||||
|
||||
Reference in New Issue
Block a user