Class TxCompleteMessage
- Namespace
- NLightning.Bolts.BOLT2.Messages
- Assembly
- NLightning.Bolts.dll
Represents a tx_complete message.
public sealed class TxCompleteMessage : BaseMessage, IMessage
- Inheritance
-
TxCompleteMessage
- Implements
- Inherited Members
Remarks
The tx_complete message signals the conclusion of a peer's transaction contributions. The message type is 70.
Constructors
TxCompleteMessage(TxCompletePayload)
Represents a tx_complete message.
public TxCompleteMessage(TxCompletePayload payload)
Parameters
payload
TxCompletePayloadThe tx_complete payload.
Remarks
The tx_complete message signals the conclusion of a peer's transaction contributions. The message type is 70.
Properties
Payload
The payload of the message.
public TxCompletePayload Payload { get; }
Property Value
Methods
DeserializeAsync(Stream)
Deserialize a TxCompleteMessage from a stream.
public static Task<TxCompleteMessage> DeserializeAsync(Stream stream)
Parameters
stream
StreamThe stream to deserialize from.
Returns
- Task<TxCompleteMessage>
The deserialized TxCompleteMessage.
Exceptions
- MessageSerializationException
Error deserializing TxCompleteMessage