Class UpdateFulfillHtlcMessage
- Namespace
- NLightning.Bolts.BOLT2.Messages
- Assembly
- NLightning.Bolts.dll
Represents a update_fulfill_htlc message.
public sealed class UpdateFulfillHtlcMessage : BaseMessage, IMessage
- Inheritance
-
UpdateFulfillHtlcMessage
- Implements
- Inherited Members
Remarks
The update_fulfill_htlc message is sent to let the peer know that the htlc was fulfiled The message type is 130.
Constructors
UpdateFulfillHtlcMessage(UpdateFulfillHtlcPayload)
Represents a update_fulfill_htlc message.
public UpdateFulfillHtlcMessage(UpdateFulfillHtlcPayload payload)
Parameters
payload
UpdateFulfillHtlcPayload
Remarks
The update_fulfill_htlc message is sent to let the peer know that the htlc was fulfiled The message type is 130.
Properties
Payload
The payload of the message.
public UpdateFulfillHtlcPayload Payload { get; }
Property Value
Methods
DeserializeAsync(Stream)
Deserialize a UpdateFulfillHtlcMessage from a stream.
public static Task<UpdateFulfillHtlcMessage> DeserializeAsync(Stream stream)
Parameters
stream
StreamThe stream to deserialize from.
Returns
- Task<UpdateFulfillHtlcMessage>
The deserialized UpdateFulfillHtlcMessage.
Exceptions
- MessageSerializationException
Error deserializing UpdateFulfillHtlcMessage