185 Commits (277ff0f44cc6a142adee07171396795bdf0cd393)

Author SHA1 Message Date
Rusty Russell 2be1f3fe1b lightningd: extract routehint selection code. 4 years ago
Rusty Russell ca4730b5ff lightningd: use proper receivable calc for routehint selection. 4 years ago
Rusty Russell 39e4796ae3 json_command: command_fail_badparam helper. 4 years ago
Rusty Russell 496c0dd1e6 common/random_select: central place for reservoir sampling. 4 years ago
ZmnSCPxj jxPCSnmZ ba3f38077e lightningd/invoice.c: Use round-robin channel selection. 4 years ago
Rusty Russell dffbf8de85 gossipd: convert wire to new scheme. 4 years ago
Rusty Russell 1702c7a69a hsmd: convert to new wire generation style. 4 years ago
Rusty Russell ef3fbab551 invoice: don't allow zero-value invoices. 4 years ago
Rusty Russell fa829f23db amount: add amount_msat_scale, amount_msat_ratio, amount_{msat,sat}_div 4 years ago
ZmnSCPxj jxPCSnmZ e7d89cd7de lightningd/invoice.c: Improve programmatic error reporting for `delinvoice`. 4 years ago
Rusty Russell 47002af369 test_penalty_htlc_tx_timeout: debugging 4 years ago
rbndg 241fa00e97 plugin:added invoice creation event 5 years ago
Rusty Russell 63441075b5 lightningd: allow htlc_accepted hook to replace onion payload. 5 years ago
Rusty Russell deac09950a plugins: make chained hooks have two different callbacks. 5 years ago
Rusty Russell 9aedb0c61f plugin: simplify hooks calling methods, and make lifetime requirements explicit. 5 years ago
Rusty Russell 2c3543e42d lightningd: fix crash when failing htlc once channeld dies. 5 years ago
Rusty Russell df31af5221 invoice: ignore dead-end heuristic on explicitly specified channels. 5 years ago
Rusty Russell 2f1502abf4 cleanup: make 'u8 *features' and 'struct feature_set *fset' more explicit. 5 years ago
Rusty Russell cf43e44378 common/features: don't use internal global. 5 years ago
Rusty Russell b7db588a8a plugin: remove boutique features. 5 years ago
Rusty Russell faac4b28ad plugins: support failure_message in invoice and htlc_accepted hooks. 5 years ago
Rusty Russell 590b2db88e lightningd: make local htlc failures pass a wiremsg for errors, not a failcode. 5 years ago
Christian Decker 9a2a09efd6 plugin: Introduce plugin type to allow singleton and chaining 5 years ago
Rusty Russell 30580731a6 Minor fixups on PR #3477 5 years ago
Christian Decker 58c9a6a004 plugin: Include featurebits registered by plugins in invoices 5 years ago
ZmnSCPxj jxPCSnmZ 6e34aa233a lightningd/: Hooks now support a consistent interface for 'no operation'. 5 years ago
Rusty Russell 3cf8443285 Makefile: update bolt markers which have been since merged. 5 years ago
Vasil Dimov 55173a56b7 Use dedicated type for error codes 5 years ago
ZmnSCPxj jxPCSnmZ 67590fc6be lightningd/invoice.c: Add `timeout` parameter to `waitanyinvoice`. 5 years ago
Rusty Russell c74fceb4c9 JSON RPC: invoice exposeprivatechannels can specify exact channels. 5 years ago
Rusty Russell 11dc1b341c gossipd: hand all candidates up to lightningd to select routeboost. 5 years ago
Rusty Russell 8e3234e67a lightningd: sew in htlc set. 5 years ago
Rusty Russell 7f629e545e lightningd: split invoice check into separate function. 5 years ago
Rusty Russell 0e4a30c635 doc: update experimental bolt version quotes. 5 years ago
fiatjaf c0368a717a also return preimage on listinvoices. 5 years ago
fiatjaf 770789684c jsonrpc: Add json_add_preimage helper 5 years ago
Rusty Russell 8393d21503 common/features: add `payment_secret` feature if EXPERIMENTAL. 5 years ago
Rusty Russell e5247a68b6 lightningd: check payment secret on htlc receipt. 5 years ago
Rusty Russell c2e8531e8e lightningd: add secrets (and associated feature) to invoices. 5 years ago
Rusty Russell 854c64ffee common/bolt11: add secret support. 5 years ago
Rusty Russell 81c89aaef8 wallet: add invoice features into db. 5 years ago
darosior f075b87137 bitcoind: remove the chainparams member 5 years ago
trueptolemy 7db3f1b8a6 json: Rename `json_tok_address_scriptpubkey` to `json_to_address_scriptpubkey` 5 years ago
Rusty Russell acf3952acc JSON: remove handling of pre-Adelaide (B:T:N) short_channel_ids. 5 years ago
Rusty Russell a134062f98 bolt11: handle `9` fields for new features. 5 years ago
trueptolemy 4929034a40 json: Make payment_hash use `json_add_sha256` 5 years ago
trueptolemy 31e2e70f17 invoice: a cleanup for the json of struct sha256 5 years ago
Simon Vrouwe 1ae8b73f0e doc: invoice manpage: add some details about route hint selection 5 years ago
Rusty Russell 875854f71c invoice: fix up internal help msg to match updated expiry default. 5 years ago
Rusty Russell dd79813a75 common: add peer_error flag to treat this error as "soft". 5 years ago