145 Commits (250af67908c13849dd54204ac85e0e67daaf1430)

Author SHA1 Message Date
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 4 years ago
Jon Griffiths 95d3d65c62 wally: update to the latest wally version 4 years ago
niftynei f5f85b389d elements,pset: populate elements specific data for PSBTs 4 years ago
niftynei 14de198bd1 wally-tx: add type-to-string for a wally-tx 4 years ago
Rusty Russell 731e037b36 change_amount: routine to determine if change output is worthwhile. 4 years ago
Rusty Russell 7aa8ffa2a0 bitcoin: add weight calculation helpers. 4 years ago
niftynei 2ab41af8e2 rm pullpush: cleans up unused methods for push/pull 4 years ago
niftynei ee549a2af9 tx: fix case where input amounts are less than total outputs 4 years ago
niftynei 0388fe6db4 tx: add helper for extracting script from a wally_tx 4 years ago
niftynei 85dca84327 psbt-json: remove reliance on bitcoin_tx, use straight wally_psbt struct 4 years ago
niftynei 175fcf381a psbt: have wally_tx serialization methods be legible for gen'd code 4 years ago
niftynei b63abef542 psbt: add method to finalize + extract a psbt 4 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 4 years ago
niftynei 5ecacf3dd0 psbt: add type-to-string that prints b64 string 4 years ago
niftynei 9e0ef45048 psbt: handle 'unsetting' final witness stack 4 years ago
niftynei 8fa04a710a psbt: move `channels.last_tx` field to be a psbt 4 years ago
Rusty Russell d737b54625 bitcoin/tx: implement wally_tx_clone (badly) for now. 4 years ago
niftynei f9300e8480 tx: add setter for tx locktime 4 years ago
niftynei dc868630a8 tx-psbt: pass in the witness script (if known) when adding an input 4 years ago
niftynei a04f0fe250 psbt: remove input_amounts from bitcoin tx 4 years ago
niftynei 6197bd2b82 psbt: check return value on init for wally input 4 years ago
Rusty Russell 0b3040b9a6 bitcoin/tx: insist input amounts all be populated across the wire. 4 years ago
Rusty Russell 7e48f77d43 bitcoin/tx: expose functions for raw wally_txs. 4 years ago
lisa neigut 1fb9a078b6 txprepare: return psbt serialized version of tx as well 4 years ago
niftynei bf4cac7fb8 tx: strip out witscript 4 years ago
niftynei 559f88faa1 psbt: add serialize to/from wire for psbts 4 years ago
niftynei 5d0fc176e8 psbt: create new_psbt method 4 years ago
niftynei a848df67f1 psbt: populate scriptsigs + witnesses 4 years ago
niftynei 2055b53425 psbt: update global tx output amount also 4 years ago
niftynei cf9de86dba psbt: add transaction inputs to the psbt struct 4 years ago
niftynei a1e1073752 tx: move to tal_dup_arr 4 years ago
niftynei b076f40cf3 psbt: move witness script storage into the psbt 4 years ago
niftynei 7a0624797e psbt: add psbt to bitcoin tx struct 4 years ago
Rusty Russell f1426bad8e bitcoin/tx: fix bug in fromwire_bitcoin_tx. 4 years ago
Rusty Russell cfb320c972 wire: move remaining bitcoin functions out to bitcoin/ files. 4 years ago
Rusty Russell 27220646c3 common/wire: move bitcoin-specific marshalling functions into bitcoin files. 4 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
Christian Decker 9521549c49 elements: Fix missing witness script entry for fee outputs 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