Commit graph

7 commits

Author SHA1 Message Date
Matt Corallo
959d0de673 Add CHANGELOG entries for 0.0.102 2021-10-18 18:32:36 +00:00
Matt Corallo
5a74723428 Update CHANGELOG for 0.0.101 2021-09-23 17:03:59 +00:00
Matt Corallo
547dfb5f5c Update CHANGELOG for 0.0.100 2021-08-17 18:55:07 +00:00
Matt Corallo
2024c5e104 Generate a PaymentForwarded event when a forwarded HTLC is claimed
It is useful for accounting and informational reasons for users to
be informed when a payment has been successfully forwarded. Thus,
when an HTLC which represents a forwarded leg is claimed, we
generate a new `PaymentForwarded` event.

This requires some additional plumbing to return HTLC values from
`OnchainEvent`s. Further, when we have to go on-chain to claim the
inbound side of the payment, we do not inform the user of the fee
reward, as we cannot calculate it until we see what is confirmed
on-chain.

Substantial code structure rewrites by:
Valentine Wallace <vwallace@protonmail.com>
2021-08-04 21:48:21 +00:00
Matt Corallo
230c72bd4c Add documentation for all PRs slated to land for 0.0.99 2021-07-09 16:34:46 +00:00
Matt Corallo
dec7ec191e Fix bogus Event::PaymentSent serialization
`Event::PaymentSent` serialization has a bug where we
double-serialize the payment_preimage field but do not attempt to
read it twice. This results in a failure to read `ChannelManager`s
from disk if we have a pending `Event::PaymentSent` pending
awaiting handling when we serialize.

Instead of attempting to read both versions, we opt to simply fix
the serialization, assuming it is exceedingly rare for such a
scenario to appear (and if it does, we can assist in manual
recovery).

The release notes have been updated to note this inconsistency.

Found by the chanmon_consistency fuzz target.
2021-06-28 23:38:09 +00:00
Matt Corallo
66726fb508 Add a dummy first CHANGELOG entry for future tracking 2021-06-23 16:43:18 +00:00