157 Commits (1393e187f924c525e0129b3ef7917d8a7e8a0aa2)

Author SHA1 Message Date
Rusty Russell e9e6f72d7c bitcoin_tx_check: don't rely on tmpctx. 4 years ago
niftynei b4aebc17a1 bitcoin: break out method to calculate input weight 4 years ago
Jon Griffiths 5c2fc4c1cb wally: remove wally casts that are no longer needed 4 years ago
Jon Griffiths 5bdad04976 tx: Remove wally workaround that is no longer needed 4 years ago
niftynei 26bc4f5239 tx,bugfix: correct signature length estimate 4 years ago
niftynei 82c0b48215 wires: towire/fromwire for wally_tx 4 years ago
Rusty Russell d5cb0d85b5 utils: use a cleaner pattern to capture wally allocations. 4 years ago
Rusty Russell c23001d508 bitcoin: use tal_gather_wally() so we don't leave unattached allocations. 4 years ago
Rusty Russell 77b62d9e42 bitcoin/psbt: psbt_finalize needs a tal ctx. 4 years ago
Rusty Russell 607075a3d4 bitcoin/psbt: wallt_tx_output needs a tal ctx. 4 years ago
Rusty Russell 67fbb349b6 bitcoin/tx: trivial cleanups. 4 years ago
niftynei 65f01d8180 bitcoin: pull up elements_fee calc to allow wtx passed in 4 years ago
niftynei 303263d381 psbt: clean up interface for setting metadata on PSBT inputs 4 years ago
ZmnSCPxj jxPCSnmZ 12c9b27838 bitcoin/tx.c: `bitcoin_tx_output_get_amount_sat` now accepts `const` transactions. 4 years ago
Rusty Russell 85a90b9e32 bitcoin: bitcoin_tx_add_input use psbt_append_input. 4 years ago
niftynei d1d96a9952 tx: use elements_input_init_alloc 4 years ago
Rusty Russell 6966cf99e1 bitcoin: add wally_tx_output helper to create standalone output. 4 years ago
Jon Griffiths 21ee2c3a9c psbt: Remove workaround for now-fixed wally tx flag behaviour 5 years ago
Jon Griffiths 95d3d65c62 wally: update to the latest wally version 5 years ago
niftynei f5f85b389d elements,pset: populate elements specific data for PSBTs 5 years ago
niftynei 14de198bd1 wally-tx: add type-to-string for a wally-tx 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 2ab41af8e2 rm pullpush: cleans up unused methods for push/pull 5 years ago
niftynei ee549a2af9 tx: fix case where input amounts are less than total outputs 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
niftynei 175fcf381a psbt: have wally_tx serialization methods be legible for gen'd code 5 years ago
niftynei b63abef542 psbt: add method to finalize + extract a psbt 5 years ago
lisa neigut 16656a85cf withdraw: refactor change output handling 5 years ago
niftynei 09815c7e7f psbt: return NULL instead of aborting on wally-lib problems 5 years ago
niftynei 5ecacf3dd0 psbt: add type-to-string that prints b64 string 5 years ago
niftynei 9e0ef45048 psbt: handle 'unsetting' final witness stack 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 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
niftynei 6197bd2b82 psbt: check return value on init for wally input 5 years ago
Rusty Russell 0b3040b9a6 bitcoin/tx: insist input amounts all be populated across the wire. 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 559f88faa1 psbt: add serialize to/from wire for psbts 5 years ago
niftynei 5d0fc176e8 psbt: create new_psbt method 5 years ago
niftynei a848df67f1 psbt: populate scriptsigs + witnesses 5 years ago
niftynei 2055b53425 psbt: update global tx output amount also 5 years ago
niftynei cf9de86dba psbt: add transaction inputs to the psbt struct 5 years ago
niftynei a1e1073752 tx: move to tal_dup_arr 5 years ago
niftynei b076f40cf3 psbt: move witness script storage into the psbt 5 years ago