795 Commits (95d3d65c62f926761663a25d013a2912b1ae4bf6)

Author SHA1 Message Date
Rusty Russell fa829f23db amount: add amount_msat_scale, amount_msat_ratio, amount_{msat,sat}_div 4 years ago
Rusty Russell ffbb409b47 amount: use initializers everywhere. 4 years ago
Rusty Russell 36d43b871f amount: add amount_msat and amount_sat initializers. 4 years ago
niftynei 28b839f306 amount: add helper to convert u64 sats to amount_sat type 4 years ago
ZmnSCPxj jxPCSnmZ e7d89cd7de lightningd/invoice.c: Improve programmatic error reporting for `delinvoice`. 5 years ago
niftynei d87f31f9a8 utxo: clean up NULL handling of scriptpubkey 4 years ago
Rusty Russell bd19ec2292 fundpsbt: new JSON API to gather UTXOs. 5 years ago
niftynei 7ebdc14397 utxos: add a 'reserved_til' marker for utxos 5 years ago
niftynei bc5a817100 elements: convenience methods for dealing with assets 5 years ago
niftynei 14de198bd1 wally-tx: add type-to-string for a wally-tx 5 years ago
Rusty Russell 869fa082d4 common/json_tok: expose param_txid. 5 years ago
Rusty Russell 731e037b36 change_amount: routine to determine if change output is worthwhile. 5 years ago
Rusty Russell 31b2865791 common/json_tok: expose routines to parse addresses. 5 years ago
Rusty Russell 972432d285 param_feerate: parse numbers correctly. 5 years ago
Rusty Russell a9427f1a8d bitcoin/feerate: new exposure for feerate parsing outside lightningd. 5 years ago
Rusty Russell 7aa8ffa2a0 bitcoin: add weight calculation helpers. 5 years ago
Christian Decker 957a3a01b9 json: Add helper to decode sha256 hashes 5 years ago
Christian Decker c2538392e9 json: Add helper to serialize short_channel_id_dir 5 years ago
ZmnSCPxj jxPCSnmZ deabab8934 lightningd/opening_control.c: `fundchannel_cancel` no longer requires a `channel_id` argument. 5 years ago
niftynei 77946bd9fe fromwire: return NULL if array empty 5 years ago
niftynei 2e9c387f45 coin_moves: update withdrawal logic to account for 'variable owner' txs 5 years ago
Rusty Russell 93d04d08d0 wire: update to latest version of the spec. 5 years ago
niftynei 0a7550473b psbt: add redeemscript info to psbt for utxos that have it 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 5ecacf3dd0 psbt: add type-to-string that prints b64 string 5 years ago
ZmnSCPxj jxPCSnmZ c100de6d93 common/utils.c: Correctly handle NULL `take`n pointer in `tal_dup_talarr`. 5 years ago
ZmnSCPxj jxPCSnmZ e8936f9d23 common/json.c: Check that JSMN result is well-formed. 5 years ago
niftynei 891f61ad48 channel_tx: add the commitment sig and pubkey data to the commit tx 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 85f395f7d4 utxo: fill in scriptPubkey to NULL 5 years ago
Rusty Russell ce9e559aed features: do not set option_support_large_channel in channel_announcement. 5 years ago
lisa neigut 1fb9a078b6 txprepare: return psbt serialized version of tx as well 5 years ago
niftynei 559f88faa1 psbt: add serialize to/from wire for psbts 5 years ago
niftynei cf9de86dba psbt: add transaction inputs to the psbt struct 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 b920d4d21b wire: make fromwire_fail return non-const, use it more 5 years ago
niftynei fbe50e087a setup: create a common setup which will handle the wally-context 5 years ago
niftynei c5a0d8cfbf wally: override wally to use tal-context 5 years ago
Rusty Russell cfb320c972 wire: move remaining bitcoin functions out to bitcoin/ files. 5 years ago
Rusty Russell 197d1bcef2 wire: move towire/fromwire_short_channel_id out to bitcoin/short_channel_id.c 5 years ago
Rusty Russell 13356b75bf wire: move towire/fromwire_amount from wire/ into common/amount.c 5 years ago
Rusty Russell 4dbfce6057 wire: move towire/fromwire_preimage out to bitcoin/preimage.c. 5 years ago
Rusty Russell 27220646c3 common/wire: move bitcoin-specific marshalling functions into bitcoin files. 5 years ago
Rusty Russell f77d70d546 common/json: move rest of bitcoin/lightning-specific json functions to json_helpers. 5 years ago
Rusty Russell fda5f0b427 common/channel_id: move channel_id into its own file. 5 years ago
Rusty Russell 6635fe12e4 common/test/run-features.c: fix cppcheck 1.90 false positive. 5 years ago