85 Commits (0f2b3c9179720a55554dda154b9acb49fbbb9c73)

Author SHA1 Message Date
niftynei 82c0b48215 wires: towire/fromwire for wally_tx 4 years ago
Rusty Russell 607075a3d4 bitcoin/psbt: wallt_tx_output needs a tal ctx. 4 years ago
niftynei 65f01d8180 bitcoin: pull up elements_fee calc to allow wtx passed in 4 years ago
ZmnSCPxj jxPCSnmZ 12c9b27838 bitcoin/tx.c: `bitcoin_tx_output_get_amount_sat` now accepts `const` transactions. 4 years ago
Rusty Russell 6966cf99e1 bitcoin: add wally_tx_output helper to create standalone output. 4 years ago
Jon Griffiths 95d3d65c62 wally: update to the latest wally version 5 years ago
Rusty Russell bd19ec2292 fundpsbt: new JSON API to gather UTXOs. 5 years ago
Rusty Russell 731e037b36 change_amount: routine to determine if change output is worthwhile. 5 years ago
Rusty Russell 7aa8ffa2a0 bitcoin: add weight calculation helpers. 5 years ago
niftynei 0388fe6db4 tx: add helper for extracting script from a wally_tx 5 years ago
niftynei 85dca84327 psbt-json: remove reliance on bitcoin_tx, use straight wally_psbt struct 5 years ago
lisa neigut 16656a85cf withdraw: refactor change output handling 5 years ago
niftynei 8fa04a710a psbt: move `channels.last_tx` field to be a psbt 5 years ago
Rusty Russell d737b54625 bitcoin/tx: implement wally_tx_clone (badly) for now. 5 years ago
niftynei f9300e8480 tx: add setter for tx locktime 5 years ago
niftynei 7969f61ab3 tx: update comment 5 years ago
niftynei dc868630a8 tx-psbt: pass in the witness script (if known) when adding an input 5 years ago
niftynei a04f0fe250 psbt: remove input_amounts from bitcoin tx 5 years ago
Rusty Russell 7e48f77d43 bitcoin/tx: expose functions for raw wally_txs. 5 years ago
lisa neigut 1fb9a078b6 txprepare: return psbt serialized version of tx as well 5 years ago
niftynei bf4cac7fb8 tx: strip out witscript 5 years ago
niftynei b076f40cf3 psbt: move witness script storage into the psbt 5 years ago
niftynei 7a0624797e psbt: add psbt to bitcoin tx struct 5 years ago
Rusty Russell 27220646c3 common/wire: move bitcoin-specific marshalling functions into bitcoin files. 5 years ago
Rusty Russell 4bcac3032c bitcoin: remove unused struct bitcoin_tx_input. 5 years ago
lisa neigut 824e8fa72b tx: split 'compute fee' into two, with one that takes an input value 5 years ago
lisa neigut 3d241bc261 tx: expose elements 'is fee' calculation 5 years ago
lisa neigut c110f3662c bitcoin_tx: add helper for extracting output amount 5 years ago
Christian Decker c236bf0fbd tx: Make elements_add_fee_output private 5 years ago
Christian Decker 42a63e4416 tx: Strengthen transaction construction checks 5 years ago
Ken Sedgwick 5c8f881a75
hsmd: Added fields to hsm_sign_remote_commitment_tx to allow complete validation. 5 years ago
darosior 273029f244 wallet: set nLockTime to the tip for withdrawal transactions 5 years ago
Christian Decker 7283efa5b5 elements: Add amount_asset to support more than just plain satoshis 5 years ago
Christian Decker 378745391d elements: Change function prefix to elements_ for some functions 5 years ago
Christian Decker 557f6063a7 elements: Consolidate weight computation to be handled by wally 6 years ago
Christian Decker 99988cb0e1 elements: Fix up existing fee output instead of adding a new one 6 years ago
Christian Decker 92b8758753 elements: Add helpers to compute and add fee outputs. 6 years ago
trueptolemy 6570c743c4 bitcoin: Add the interface to add multiple outputs to bitcoin transaction 5 years ago
Rusty Russell c9817b225b bitcoin/tx: pass struct amount_sat by copy. 5 years ago
Rusty Russell 39b34a35c8 bitcoin/tx.c: don't free witness implicitly. 5 years ago
Christian Decker 9288a7906b tx: Add chainparams to struct bitcoin_tx as context 5 years ago
Rusty Russell 09d9abf12e bitcoin/tx: script arg should be const. 6 years ago
Christian Decker 21a0dad016 wally: Post-migration cleanups 6 years ago
Christian Decker 509bb2c7ae wally: Remove tx->input and tx->output, wally all the way! 6 years ago
Christian Decker 8d0500228e wally: Add accessor methods for script and amount 6 years ago
Christian Decker 30ed2e1a8f wally: Remove unused sha256_tx_for_sig function 6 years ago
Christian Decker 9fe481b967 wally: Move input amounts into a separate array 6 years ago
Christian Decker 03329a61da wally: Add setters for output amounts, input witnesses and scripts 6 years ago
Christian Decker 3937b17e2b wally: Add a consistency check for old and new style txs 6 years ago
Christian Decker 60fbf1f7d0 wally: Add shims to generate both transaction versions in parallel 6 years ago