Class RevokeAndAckMessage
- Namespace
- NLightning.Bolts.BOLT2.Messages
- Assembly
- NLightning.Bolts.dll
Represents a revoke_and_ack message.
public sealed class RevokeAndAckMessage : BaseMessage, IMessage
- Inheritance
-
RevokeAndAckMessage
- Implements
- Inherited Members
Remarks
The revoke_and_ack message is used as a reply to the commitment_signed message. The message type is 133.
Constructors
RevokeAndAckMessage(RevokeAndAckPayload)
Represents a revoke_and_ack message.
public RevokeAndAckMessage(RevokeAndAckPayload payload)
Parameters
payload
RevokeAndAckPayload
Remarks
The revoke_and_ack message is used as a reply to the commitment_signed message. The message type is 133.
Properties
Payload
The payload of the message.
public RevokeAndAckPayload Payload { get; }
Property Value
Methods
DeserializeAsync(Stream)
Deserialize a RevokeAndAckMessage from a stream.
public static Task<RevokeAndAckMessage> DeserializeAsync(Stream stream)
Parameters
stream
StreamThe stream to deserialize from.
Returns
- Task<RevokeAndAckMessage>
The deserialized RevokeAndAckMessage.
Exceptions
- MessageSerializationException
Error deserializing RevokeAndAckMessage