mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-09 17:14:28 +01:00
We need the total output_value, and we can figure this out if we look at the remote amount also. We also need to account for the pushed/leased amount, as for leased channels this really messes with onchain fee calculations. We copy basically the events that lightningd emits for leased channels: an open event with the 'lease fee' (pushed?) amount credited to the side that made the lease/push; then an in-channel event to effectively push the pushed/leased amount over to the peer it was paid to. We run the journal entry info after this, so the journal snapshot will take the pushed amount into account when figuring out what the further missed in-channel payments were (if any)
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).