442 Commits (5b3af00e28b8164e5e4803bf0f5301ea59a5249d)

Author SHA1 Message Date
Rusty Russell f06ad0471c common/bolt12_merkle.h: experimental bolt 12 implementation. 4 years ago
Rusty Russell 9d656464f5 bitcoin/pubkey: add pubkey32 primitive for xonly pubkey types. 4 years ago
Rusty Russell 6f205896aa bitcoin/tx: fix type of outpoint (n is a u32), simplify json_to_outpoint 4 years ago
Christian Decker 32000b6660 json: Add two param functions to parse string arrs and outpoint arrs 4 years ago
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
Rusty Russell ca2bd98082 unittest: use common_setup / common_shutdown almost everywhere. 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
Rusty Russell cce3e717d9 bitcoin/signature: wrap libwally call. 4 years ago
niftynei 0ca6c3cc84 script: break out redeemscript->scriptsig function 4 years ago
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