core-lightning/plugins
Rusty Russell 6273adbe47 askrene: calculate prob_cost_factor using ratio of typical mainnet channel.
During "test_real_data", then only successes with reduced fees were 92 on "mu=10", and only
1 on "mu=30": the rest went to mu=100 and failed.

I tried numerous approaches, and in the end, opted for the simplest:

The typical range of probability costs looks likes:
	min = 0, max = 924196240, mean = 10509.4, stddev = 1.9e+06

The typical range of linear fee costs looks like:
	min = 0, max = 101000000, mean = 81894.6, stddev = 2.6e+06

This implies a k factor of 8 makes the two comparable.

This makes the two numbers comparable, and thus makes "mu" much more
effective.  Here are the number of different mu values we succeeded at:

     87  mu=0
     90  mu=10
     42  mu=20
     24  mu=30
     17  mu=40
     19  mu=50
     19  mu=60
     11  mu=70
     95  mu=80
     19  mu=90

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-10-15 09:58:04 +10:30
..
askrene askrene: calculate prob_cost_factor using ratio of typical mainnet channel. 2024-10-15 09:58:04 +10:30
bkpr common/bolt12: do more required checks in invoice_decode. 2024-09-19 12:16:53 +09:30
clnrest Update pyln-client for clnrest 2024-10-03 11:20:52 -07:00
examples cln-plugin: add multi options for String and i64 2024-08-13 12:24:45 +09:30
grpc-plugin rust-libs: Bump versions 2024-09-22 00:12:39 -07:00
renepay gossmap: keep capacity for locally-generated channels as well. 2024-10-04 11:27:53 +09:30
spender common/amount: rename amount_sat_zero/amount_msat_zerp -> amount_sat_is_zero/amount_msat_is_zero. 2024-09-19 12:16:53 +09:30
src cln-plugin: Change default log level filter back to INFO 2024-09-17 12:00:27 +09:30
test gossmap: include cltv_expiry_delta in gossmap_chan_get_update_details for completeness. 2024-10-15 09:58:04 +10:30
wss-proxy meta: Update changelog for 24.08rc3 2024-08-26 11:53:42 -07:00
.gitignore gitignore: Add missing gitignore plugins an devtools 2024-08-13 08:32:23 -07:00
autoclean.c libplugin: add data pointer for plugin convenience. 2024-08-07 20:35:30 +09:30
bcli.c libplugin: add data pointer for plugin convenience. 2024-08-07 20:35:30 +09:30
Cargo.toml rust-libs: Bump versions 2024-09-22 00:12:39 -07:00
chanbackup.c plugins/chanbackup: Add RPC to fetch data from emergency.recover file. 2024-10-03 18:59:10 -07:00
channel_hint.c libplugin-pay: use map for channel hints 2024-10-07 15:16:46 +02:00
channel_hint.h libplugin-pay: use map for channel hints 2024-10-07 15:16:46 +02:00
commando.c libplugin: add data pointer for plugin convenience. 2024-08-07 20:35:30 +09:30
establish_onion_path.c gossmap: keep capacity for locally-generated channels as well. 2024-10-04 11:27:53 +09:30
establish_onion_path.h fetchinvoice: use common/onion_message routines. 2024-07-17 10:57:11 +02:00
fetchinvoice.c offers: fix crash when receiving response to offer without offer_issuer_id 2024-08-06 19:09:27 -07:00
fetchinvoice.h plugins/offers: neaten fetchinvoice integration. 2024-07-17 10:57:11 +02:00
funder.c common/amount: rename amount_sat_zero/amount_msat_zerp -> amount_sat_is_zero/amount_msat_is_zero. 2024-09-19 12:16:53 +09:30
funder_policy.c common/amount: rename amount_sat_zero/amount_msat_zerp -> amount_sat_is_zero/amount_msat_is_zero. 2024-09-19 12:16:53 +09:30
funder_policy.h libplugin: allow display of default values. 2024-05-15 15:50:54 -05:00
keysend.c keysend: Add maxfee to keysend for consistency with pay. ([#7227]) 2024-10-14 11:58:00 +02:00
libplugin-pay.c pay-plugin: set gossmods directly 2024-10-08 19:26:14 +02:00
libplugin-pay.h pay: Use the global channel_hint_set and remember across payments 2024-10-07 14:05:47 +02:00
libplugin.c patch libplugin-batch.patch 2024-09-19 12:16:53 +09:30
libplugin.h patch libplugin-batch.patch 2024-09-19 12:16:53 +09:30
Makefile plugin: Split out the struct channel_hint handling 2024-10-07 14:05:47 +02:00
offers.c libplugin: add data pointer for plugin convenience. 2024-08-07 20:35:30 +09:30
offers.h lightningd: make plugins set metadata for invoice requests. 2024-08-01 12:31:48 +09:30
offers_inv_hook.c global: update BOLT12 quotes. 2024-08-01 12:31:48 +09:30
offers_inv_hook.h offers: check they use the blinded path if one is specified. 2024-07-17 10:57:11 +02:00
offers_invreq_hook.c global: update BOLT12 quotes. 2024-08-01 12:31:48 +09:30
offers_invreq_hook.h offers: check they use the blinded path if one is specified. 2024-07-17 10:57:11 +02:00
offers_offer.c common: Add some more JSON primitives 2024-08-09 13:59:07 +09:30
offers_offer.h plugins: move fetchinvoice functionality into offers plugin. 2024-07-17 10:57:11 +02:00
pay.c pay: Switch to msat for total_capacity 2024-10-07 14:05:47 +02:00
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00
recklessrpc.c reckless-rpc: catch failed reckless subprocess 2024-08-12 18:10:45 -07:00
recover.c libplugin: add data pointer for plugin convenience. 2024-08-07 20:35:30 +09:30
sql.c doc: properly document sub-subobject fields. 2024-08-16 07:19:52 +09:30
topology.c gossmap: include cltv_expiry_delta in gossmap_chan_get_update_details for completeness. 2024-10-15 09:58:04 +10:30
txprepare.c libplugin: add data pointer for plugin convenience. 2024-08-07 20:35:30 +09:30

Plugin Directory

Any file in this directory which is executable and whose name only consists of alphanumeric characters, space, '.', '-' or '_' will be automatically loaded when lightningd starts (unless suppressed with commandline options).