mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
dc113d0a3f
clightning doesn't give us any info about onchain fees (how could it? it only knows about utxo object levels, and doesn't keep track of how/when those are all related) Instead, we keep running totals of the onchain fees for utxos. This implements the master method for accounting for them, plus includes tests to account for channel opens (across two accounts) as well as a htlc-tx channel close. Missing: we don't currently emit an event from cln for `withdraw` initiated removal of funds, so the accounting for wallet -> external funds is a bit janky. We don't account for the fees on these transactions since we don't have the resulting 'external' event to register them against! |
||
---|---|---|
.. | ||
bkpr | ||
examples | ||
grpc-plugin | ||
spender | ||
src | ||
test | ||
.gitignore | ||
autoclean.c | ||
bcli.c | ||
Cargo.toml | ||
chanbackup.c | ||
commando.c | ||
fetchinvoice.c | ||
funder_policy.c | ||
funder_policy.h | ||
funder.c | ||
keysend.c | ||
libplugin-pay.c | ||
libplugin-pay.h | ||
libplugin.c | ||
libplugin.h | ||
Makefile | ||
offers_inv_hook.c | ||
offers_inv_hook.h | ||
offers_invreq_hook.c | ||
offers_invreq_hook.h | ||
offers_offer.c | ||
offers_offer.h | ||
offers.c | ||
offers.h | ||
pay.c | ||
README.md | ||
topology.c | ||
txprepare.c |
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).