431 Commits (44f6b8a74652882961ab8256593321a5fab9e8a1)

Author SHA1 Message Date
Rusty Russell a8177e9013 Makefile: make check-includes check all the non-generated files. 4 years ago
niftynei 26bc4f5239 tx,bugfix: correct signature length estimate 4 years ago
niftynei 8317957db2 feerate: remove duplicate method 4 years ago
niftynei 4034d0c306 psbt: have the unknown map 'add' be a 'set' instead 4 years ago
niftynei 93045945be psbt: add helper to set the non-witness utxo for an input 4 years ago
niftynei 82c0b48215 wires: towire/fromwire for wally_tx 4 years ago
Dr. Maxim Orlovsky 0b01a5d7c4 Updating signet chainparams for the latest PoW fix 4 years ago
Rusty Russell 1356700e2b bitcoin/chainparams: signet uses the same P2PKH and P2SH version bytes as testnet. 4 years ago
Rusty Russell d5cb0d85b5 utils: use a cleaner pattern to capture wally allocations. 4 years ago
Rusty Russell 66ffd7a73f bitcoin/: neaten use of libwally base58 and bas64 routines. 4 years ago
niftynei 1f165c00ae psbt_txid: it's possible a psbt may already have the finalized scriptsig 4 years ago
Rusty Russell c23001d508 bitcoin: use tal_gather_wally() so we don't leave unattached allocations. 4 years ago
Rusty Russell 3c8049f32c bitcoin/psbt: psbt_input_add_unknown/psbt_output_add_unknown needs a tal ctx. 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 480f671e91 bitcoin/psbt: psbt_txid needs a tal ctx. 4 years ago
Rusty Russell 67fbb349b6 bitcoin/tx: trivial cleanups. 4 years ago
Rusty Russell 11ebb84e7d bitcoin/psbt: attach destructors to wally allocations to avoid leaks. 4 years ago
Rusty Russell 80c705d528 bitcoin/psbt: more const pointers. 4 years ago
niftynei 165d039f6c elements: consolidate fee outputs into a single fee output 4 years ago
niftynei 4c28e7b362 txprepare: elements requires inclusion of an accurate fee output 4 years ago
niftynei 65f01d8180 bitcoin: pull up elements_fee calc to allow wtx passed in 4 years ago
niftynei 24578c7fea elementsd: use the elements version of a 'witness utxo' 4 years ago
ZmnSCPxj jxPCSnmZ 5d7178d488 bitcoin/psbt.c: Add psbt_insert_output function. 4 years ago
niftynei 303263d381 psbt: clean up interface for setting metadata on PSBT inputs 4 years ago
niftynei b2170cf3f4 feerate: add a 'common_weight' calculation for a tx 4 years ago
ZmnSCPxj jxPCSnmZ 0d3a3b6d48 plugins/multifundchannel.c: Implementation of `multifundchannel`. 4 years ago
ZmnSCPxj jxPCSnmZ 6c13e9b300 bitcoin/script.c: Add scriptpubkey_opreturn_padded, which creates an OP_RETURN with a pointless random 20-byte padding. 4 years ago
ZmnSCPxj jxPCSnmZ 12c9b27838 bitcoin/tx.c: `bitcoin_tx_output_get_amount_sat` now accepts `const` transactions. 4 years ago
Christian Decker f2797f303a block: Compute the txids only once 4 years ago
Rusty Russell 1746406e41 Makefile: normalize all the Makefiles 4 years ago
niftynei 0305c0a57e psbt: if psbt is null, return null for get_bytes 4 years ago
niftynei 10237ccb8e psbt: handle 'NULL' or empty byte PSBTs 4 years ago
Rusty Russell 6e4e267f2c doc: update BOLT now option_anchor_outputs is merged. 4 years ago
Rusty Russell 85a90b9e32 bitcoin: bitcoin_tx_add_input use psbt_append_input. 4 years ago
Rusty Russell a0ede40743 bitcoin: make psbt_append_input more powerful. 4 years ago
Rusty Russell 172b9d7ae3 bitcoin: add nlocktime arg to create_psbt. 4 years ago
niftynei d1d96a9952 tx: use elements_input_init_alloc 4 years ago
niftynei c6656dcbe8 psbt: use elements input init alloc 4 years ago
niftynei 2f9a37de4a psbt: rename append_out -> append_output 4 years ago
niftynei eef762cc09 psbt: re-use init function for create_psbt 4 years ago
niftynei 0651b0ed8a pubkey: update comment to reflect location 4 years ago
niftynei 3923e0f0fd psbt: utilities for adding unknown info / proprietary c-lightning keydata 4 years ago
niftynei 251cde3514 psbt: add helpers for creating + adding input/outputs 4 years ago
Rusty Russell 591e8f9663 psbt: finalize to-remote with option_anchor_outputs. 4 years ago
Rusty Russell 3ff8311b40 channeld: change to_remote for option_anchor_outputs. 4 years ago
Rusty Russell e7423888ba initial_commit_tx, commit_tx: add anchor outputs if needed. 4 years ago
Rusty Russell 05c3a9bf12 script: change htlc output scripts if option_anchor_outputs. 4 years ago
Rusty Russell a6a8a40594 psbt: implement psbt_txid. 4 years ago
Rusty Russell 09f065fc45 script: expose script_push_bytes(). 4 years ago