428 Commits (master)

Author SHA1 Message Date
Christian Decker 87d3818c63 wallet: Fix a potential memory leak when loading state changes 4 years ago
niftynei 8591f11188 wallet nit: consolidate stmt free into one line 4 years ago
niftynei 6778ea5d05 wallet: cleanup fee_states alloc on error 4 years ago
niftynei fd2e16f8bc db: add flag to database for recving remote's sigs 4 years ago
Christian Decker 8e908ff652 Revert "wallet: Remove in-memory utxoset filter" 4 years ago
Rusty Russell 723c16072a cleanups: feedback from Christian Decker review. 4 years ago
Rusty Russell a33e39b7e8 pay, wallet: rename internal `bolt11` vars to `invstring`. 4 years ago
Rusty Russell 3f4683e3f8 sendpay: optional argument to link local offer. 4 years ago
Rusty Russell 963f6b5d67 invoice: add an optional local_offer_id. 4 years ago
Rusty Russell 381b0f456c db: offer table. 4 years ago
Rusty Russell 1a3c0a0c0d invoice: fix potential race where invoice is paid/expired while we're calling hook. 4 years ago
Michael Schmoock 6cc96c07dc feat: adds state_changes to listpeers output 4 years ago
Michael Schmoock 88c1dc56e8 db: adds a state_change history to database 4 years ago
Michael Schmoock 083a856c31 db: persist channel closer and state change cause 4 years ago
niftynei 818f152618 channel: save funding_psbt to database 4 years ago
Christian Decker 77ca07e91d db: Fix statement expansion bugs found through dblog mode 4 years ago
Michael Schmoock 011590b20e fix: broken SQL statement in wallet db_set_utxo 4 years ago
Rusty Russell 58f6e316cc lightningd: separate fee_states out of struct channel_info. 4 years ago
Vincenzo Palazzo f62d7bbe45 Added additional fix to code formatting and English spelling. 4 years ago
Vincenzo Palazzo 9fbeb9bcdc delpay: code style changes and fixed docs 4 years ago
niftynei 864f2f3e21 channel_id: save to database, dont derive from funding_txid 4 years ago
Christian Decker c239a7161b wallet: Remove in-memory utxoset filter 4 years ago
Christian Decker cab52f1197 topology: Notify gossipd about spends after processing the block 4 years ago
Christian Decker eeb6e8091b wallet: Add function to retrieve spent UTXOs for a given height 4 years ago
Rusty Russell e3219d3aa0 utxo: expose is_reserved, make enum constants upper case. 4 years ago
Rusty Russell 438953b8f0 utxo: make reserved_til a u32 not a ptr, now it's compsulory. 4 years ago
Rusty Russell 83298c030a wallet: switch over to withdraw in module, remove lots of unused code. 4 years ago
Rusty Russell 3b8c0a7397 sendpsbt: just reserve (maybe bump) inputs on send, don't mark spent. 4 years ago
Rusty Russell 3a2191fcfe wallet: db_bind_talarr and db_column_talarr helpers. 4 years ago
Rusty Russell 8150d28575 Makefile: use generic rules to make spec-derived sources. 4 years ago
Rusty Russell fe8564555f closingd: convert to new wire generation style. 4 years ago
Rusty Russell 754765c139 utxo: keep flag to recognize to-remote option_anchor_outputs closes. 4 years ago
Rusty Russell d8d1014ca4 channeld: implement htlc sig checking changes for option_anchor_outputs. 4 years ago
Rusty Russell edf60b4f9e openingd: remember if we negotiated option_anchor_outputs, to put in the db. 4 years ago
Rusty Russell b093856d0c db: add option_anchor_outputs entry to channel table. 4 years ago
Rusty Russell cf25ca11b8 sendpsbt: annotate transactions in wallet. 4 years ago
Rusty Russell c1df8d586d utxo: remove unused scriptSig field. 4 years ago
niftynei d87f31f9a8 utxo: clean up NULL handling of scriptpubkey 4 years ago
niftynei 65c2bac2f3 hsmd/wallet: pass the bip32_key down into migrations 4 years ago
Christian Decker 1da977a04c db: Guard against accessing NULL partid and total_msat 4 years ago
Rusty Russell 27b48959d7 wallet: add wallet_find_utxo(). 4 years ago
Rusty Russell 50ff0b26fd wallet: explicit routines to reserve/unreserve a UTXO. 4 years ago
niftynei 7ebdc14397 utxos: add a 'reserved_til' marker for utxos 4 years ago
Rusty Russell e12defa7fb wallet: no longer expose wallet_add_utxo function. 4 years ago
Rusty Russell 4271fc8652 wallet: add explicit API for onchaind to register UTXOs. 4 years ago
Rusty Russell 7aa8ffa2a0 bitcoin: add weight calculation helpers. 4 years ago
Christian Decker 7b899da801 db: Retrieve peer ID if it exists or create the peer if not 4 years ago
Rusty Russell ae0cccb293 wallet: fix memleak if we get shut down before finishing utxo cleanup. 4 years ago
niftynei fd8a716695 wallet: have wallet_extract_outputs take wally_tx, not bitcoin_tx 4 years ago
niftynei 103dce63ef reserve/unreserve input: new RPC commands for reserving inputs/outputs 4 years ago