124 Commits (b14cc0c9f78c17158e57fca6629dfb21c53cad6d)

Author SHA1 Message Date
Rusty Russell fed5a117e7 Update ccan/structeq. 6 years ago
Rusty Russell e549bc6ecf lightningd: fix up BOLT references. 6 years ago
Mark Beckwith 7f437715d5 Added error code parameter to command_fail 7 years ago
ZmnSCPxj 097a8e72d1 channel_control: Forget if unconfirmed for a long time and we are fundee. 7 years ago
Rusty Russell edf1b3cec9 More option cleanups. 7 years ago
ZmnSCPxj f83c4ff903 wallet: Add msatoshi_to_us_min and msatoshi_to_us_max statistics for channels. 7 years ago
Rusty Russell 5f1c77d249 test_lightning.py: add test for onchain with different feerates. 7 years ago
Rusty Russell 6bb47276ce lightningd: put min/max feerates into db, struct channel. 7 years ago
ZmnSCPxj 0bb9bcc0f1 wallet: Track some channel usage statistics. 7 years ago
Rusty Russell 76e8a11380 wallet: use json_escaped for invoice label. 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
ZmnSCPxj 61882ed9df pay: Add hook for triggering storage of payments. 7 years ago
Corné Plooy b857b2e843 Add assertions in various places to ensure tal_fmt doesn't receive NULL as argument for strings. 7 years ago
ZmnSCPxj 978e5c67d8 invoices: Remove persistent in-memory invoice structures. 7 years ago
ZmnSCPxj 9b4c6699f9 invoices: Semantically separate invoice details from invoice. 7 years ago
practicalswift 74841ef567 Remove unused parameter payment_hash in forward_htlc(..., const struct sha256 *payment_hash, ...) 7 years ago
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago
Rusty Russell 1192f16733 lightningd: fix crash when htlc failed and source is onchain. 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell 36652a3df3 lightningd/peer_control: reorder, move more functions out. 7 years ago
Rusty Russell e0603d7221 channel: now we're always complete, fields don't have to be optional. 7 years ago
Rusty Russell 8db8c51201 lightningd: struct uncommitted_channel for opening channels. 7 years ago
Rusty Russell 8f7a19d1a3 onchain: handle case where multiple HTLCs exist for same payment_hash. 7 years ago
Rusty Russell 55d962046b Rename (almost) all destructors to destroy_<type>. 7 years ago
Rusty Russell 329e31bbe7 lightningd/peer_htlcs: remove remaining peer_ shims. 7 years ago
Rusty Russell cf7c399cc5 htlc: keep channel pointer, not peer pointer. 7 years ago
Rusty Russell 409fef582d subd: keep pointer to channel, not peer. 7 years ago
Rusty Russell b7680412e3 lightningd: rename peer_fail functions to channel_fail. 7 years ago
Rusty Russell 32411de90e lightningd: split struct peer into struct peer and struct channel. 7 years ago
Christian Decker 9f8f0ccec9 peer: Store htlc_sigs when they are updated 7 years ago
Rusty Russell 674a2c7554 tools/generate_wire.py: make bitcoin_tx a varlen structs 7 years ago
Rusty Russell 526d3a232e tools/generate_wire.py: generate varlen arrays properly. 7 years ago
Christian Decker 3fdb055606 wallet: Make first_blocknum a field of wallet_channel 7 years ago
Rusty Russell 9b8fe618f6 pay: remove cmd pointer from htlc_out. 7 years ago
ZmnSCPxj c46727604e peer_htlcs: Prevent htlc_out from being handled multiple times in case of immediate channeld error. 7 years ago
ZmnSCPxj bd5dd46c4f peer_htlcs: Add missing assignment to hout->failcode. 7 years ago
Rusty Russell 3ccf88d6c4 lightningd: check channeld isn't trying to add 0-satoshi incoming HTLCs. 7 years ago
Rusty Russell 38e8601cf6 wallet: abstract away delayed entry of wallet_payment. 7 years ago
Rusty Russell 02e05ba6ff pay: remove struct pay_command. 7 years ago
Rusty Russell 0f8f273410 lightningd: move cmd pointer from struct pay_command directly into htlc_out. 7 years ago
ZmnSCPxj 93dc90990f invoices: Extensive reorganization of invoice system. 7 years ago
Rusty Russell 79dc44713b channeld: --ignore-fee-limits as a hack for fee disparities. 7 years ago
Christian Decker dd599706cd peer: Save whenever we change last_was_revoke as well 7 years ago
Rusty Russell 2f2fb0c2a1 invoice: add msatoshi_received field. 7 years ago
ZmnSCPxj 50471bf4fe invoice: Make msatoshi field nullable. 7 years ago
Rusty Russell 9a8eca4fee Remove obsolete FIXME messages. 7 years ago
Rusty Russell 55909a7a39 lightningd: call peer_last_tx() to update peer->last_tx before saving to db. 7 years ago
Rusty Russell 93c589efe8 wallet: save block height when we first create channel. 7 years ago
Rusty Russell ba22484901 lightningd: simplify permanent failure. 7 years ago