rgb-cln/lightningd
Rusty Russell 2be1f3fe1b lightningd: extract routehint selection code.
We're going to want this for bolt13 formation as well.

As a result of reworking the logic into "candidate selection" then
"route hint selection", we need to change the way round-robin works.
We use a simple incrementing index now.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-09-08 19:47:11 +09:30
..
test lightningd: extract routehint selection code. 2020-09-08 19:47:11 +09:30
.gitignore handshaked: remove. 2017-10-20 18:31:32 +02:00
Makefile lightningd: extract routehint selection code. 2020-09-08 19:47:11 +09:30
bitcoind.c lightningd: fix race where we do rescan before all plugins finish init. 2020-05-05 13:45:17 +09:30
bitcoind.h lightning/bitcoind: adapt and batch fees estimations 2020-03-30 20:17:18 +10:30
chaintopology.c block: Compute the txids only once 2020-09-02 13:21:32 +02:00
chaintopology.h block: Compute the txids only once 2020-09-02 13:21:32 +02:00
channel.c lightningd: extract routehint selection code. 2020-09-08 19:47:11 +09:30
channel.h lightningd: extract routehint selection code. 2020-09-08 19:47:11 +09:30
channel_control.c wallet: switch over to withdraw in module, remove lots of unused code. 2020-09-08 10:14:42 +09:30
channel_control.h wallet: switch over to withdraw in module, remove lots of unused code. 2020-09-08 10:14:42 +09:30
channel_state.h wallet: Add a final `CLOSED` state to channels 2019-06-30 16:41:30 +09:30
closing_control.c closingd: convert to new wire generation style. 2020-08-25 12:53:13 +09:30
closing_control.h common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
coin_mvts.c coins: use the chain's BIP173 name instead of a 'unit of account' 2020-05-12 15:46:58 +09:30
coin_mvts.h coins: re-write API interface for htlc notices 2020-05-12 15:46:58 +09:30
connect_control.c Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
connect_control.h lightningd: return `features` in connect response. 2020-04-03 13:13:21 +10:30
gossip_control.c Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
gossip_control.h gossipd: get fed the blockheight from lightningd when we know it. 2019-09-25 04:01:56 +00:00
gossip_msg.c wire: make fromwire_fail return non-const, use it more 2020-05-20 11:36:13 +02:00
gossip_msg.h gossipd: return channel_announcement features for listchannels. 2020-05-07 08:44:58 +09:30
hsm_control.c hsmd: convert to new wire generation style. 2020-08-25 12:53:13 +09:30
hsm_control.h hsm: decouple hsm from wallet; init before wallet 2020-06-11 13:13:13 +02:00
htlc_end.c coins: have `we_fulfilled` be fully 'ternary' 2020-05-12 15:46:58 +09:30
htlc_end.h Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
htlc_set.c mpp: Add the presplit-modifier that splits a root payment first 2020-07-15 11:32:58 +02:00
htlc_set.h Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
invoice.c lightningd: extract routehint selection code. 2020-09-08 19:47:11 +09:30
invoice.h Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
io_loop_with_timers.c plugins: don't crash if getmanifest times out. 2019-07-24 16:16:53 +02:00
io_loop_with_timers.h lightningd/io_loop_with_timers.c: Move mainloop to its own source file, have chaintopology use it. 2019-05-31 17:57:10 +02:00
json.c json_command: command_fail_badparam helper. 2020-09-02 09:46:37 +09:30
json.h common: hoist param_bitcoin_address where plugins can use it. 2020-08-11 08:39:24 +09:30
jsonrpc.c lightningd: always do incremental parsing of JSON inputs. 2020-08-21 09:52:33 +09:30
jsonrpc.h common: move json_stream from lightningd/ to common/ 2020-02-04 13:24:32 +10:30
lightningd.c lightningd: extract routehint selection code. 2020-09-08 19:47:11 +09:30
lightningd.h lightningd: extract routehint selection code. 2020-09-08 19:47:11 +09:30
log.c log: align level tags IO DEBUG INFO and UNUSUAL 2020-09-08 13:17:35 +09:30
log.h lightningd: use a simple array for less memory usage. 2019-11-18 04:50:22 +00:00
log_status.c common: convert to new wire generation style. 2020-08-25 12:53:13 +09:30
log_status.h lightningd: have logging include an optional node_id for each entry. 2019-11-18 04:50:22 +00:00
memdump.c connectd: convert to new wire generation style. 2020-08-25 12:53:13 +09:30
memdump.h lightningd: add code to search strmaps for memleak detection. 2019-02-07 20:33:50 +00:00
notification.c Makefile: use generic rules to make spec-derived sources. 2020-08-31 21:33:26 -05:00
notification.h Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
onchain_control.c closingd: convert to new wire generation style. 2020-08-25 12:53:13 +09:30
onchain_control.h closingd: convert to new wire generation style. 2020-08-25 12:53:13 +09:30
onion_message.c json_command: command_fail_badparam helper. 2020-09-02 09:46:37 +09:30
onion_message.h lightningd: forward onion messages. 2020-04-02 14:32:38 +10:30
opening_control.c common: remove funding_tx. 2020-09-08 10:14:42 +09:30
opening_control.h subd: Add a helper to get the current owning subd for a given peer 2020-01-28 23:50:52 +01:00
options.c dev: option to set what features we offer. 2020-09-02 10:52:49 +09:30
options.h common: parse --allow-deprecated-apis extremely early. 2019-11-23 22:42:34 +00:00
pay.c json_command: command_fail_badparam helper. 2020-09-02 09:46:37 +09:30
pay.h lightningd: don't report spurious temporary_node_failure on local failures. 2020-05-04 18:56:33 +09:30
peer_control.c lightningd: factor out spendable/receivable calcs, expose receivable. 2020-09-08 19:47:11 +09:30
peer_control.h lightningd: factor out spendable/receivable calcs, expose receivable. 2020-09-08 19:47:11 +09:30
peer_htlcs.c Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
peer_htlcs.h test_penalty_htlc_tx_timeout: debugging 2020-07-23 10:14:21 +09:30
ping.c gossipd: convert wire to new scheme. 2020-08-25 12:53:13 +09:30
ping.h ping: complete JSON RPC ping commands even if one ping gets no response. 2018-09-14 22:11:23 +02:00
plugin.c Added proxy information to config information for plugins 2020-09-08 11:47:48 +09:30
plugin.h lightningd: always do incremental parsing of JSON inputs. 2020-08-21 09:52:33 +09:30
plugin_control.c lightningd/plugin.c: Add important plugins, which if they terminate, lightningd also terminates. 2020-08-04 13:27:51 -05:00
plugin_control.h lightningd: attach plugins natively to the command which started it. 2020-05-05 13:45:17 +09:30
plugin_hook.c plugin_hook_call: return indication whether we called the callback or not. 2020-05-05 13:45:17 +09:30
plugin_hook.h plugin_hook_call: return indication whether we called the callback or not. 2020-05-05 13:45:17 +09:30
routehint.c lightningd: extract routehint selection code. 2020-09-08 19:47:11 +09:30
routehint.h lightningd: extract routehint selection code. 2020-09-08 19:47:11 +09:30
signmessage.c gossipd: convert wire to new scheme. 2020-08-25 12:53:13 +09:30
subd.c Makefile: use generic rules to make spec-derived sources. 2020-08-31 21:33:26 -05:00
subd.h lightningd: have optional node_id associated with subdaemons. 2019-11-18 04:50:22 +00:00
watch.c wallet: remove edgecase around transaction checks 2020-01-02 16:56:42 +01:00
watch.h lightningd: fix occasional missing txid detection. 2019-06-28 03:31:43 +00:00