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