You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace PaymentSecret with RecipientOnionFields in the pub API
This moves the public payment sending API from passing an explicit
`PaymentSecret` to a new `RecipientOnionFields` struct (which
currently only contains the `PaymentSecret`). This gives us
substantial additional flexibility as we look at add both
`PaymentMetadata`, a new (well, year-or-two-old) BOLT11 invoice
extension to provide additional data sent to the recipient.
In the future, we should also add the ability to add custom TLV
entries in the `RecipientOnionFields` struct.
Copy file name to clipboardExpand all lines: fuzz/src/chanmon_consistency.rs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ use lightning::chain::keysinterface::{KeyMaterial, InMemorySigner, Recipient, En
41
41
use lightning::events;
42
42
use lightning::events::MessageSendEventsProvider;
43
43
use lightning::ln::{PaymentHash,PaymentPreimage,PaymentSecret};
44
-
use lightning::ln::channelmanager::{ChainParameters,ChannelDetails,ChannelManager,PaymentSendFailure,ChannelManagerReadArgs,PaymentId};
44
+
use lightning::ln::channelmanager::{ChainParameters,ChannelDetails,ChannelManager,PaymentSendFailure,ChannelManagerReadArgs,PaymentId,RecipientOnionFields};
45
45
use lightning::ln::channel::FEE_SPIKE_BUFFER_FEE_INCREASE_MULTIPLE;
46
46
use lightning::ln::msgs::{self,CommitmentUpdate,ChannelMessageHandler,DecodeError,UpdateAddHTLC,Init};
0 commit comments