Table of Contents

Class StfuMessage

Namespace
NLightning.Bolts.BOLT2.Messages
Assembly
NLightning.Bolts.dll

Represents an stfu message.

public sealed class StfuMessage : BaseMessage, IMessage
Inheritance
StfuMessage
Implements
Inherited Members

Remarks

The stfu message means SomeThing Fundamental is Underway, so we kindly ask the other node to STFU because we have something important to say The message type is 2.

Constructors

StfuMessage(StfuPayload)

Represents an stfu message.

public StfuMessage(StfuPayload payload)

Parameters

payload StfuPayload

Remarks

The stfu message means SomeThing Fundamental is Underway, so we kindly ask the other node to STFU because we have something important to say The message type is 2.

Properties

Payload

The payload of the message.

public StfuPayload Payload { get; }

Property Value

StfuPayload

Methods

DeserializeAsync(Stream)

Deserialize a StfuMessage from a stream.

public static Task<StfuMessage> DeserializeAsync(Stream stream)

Parameters

stream Stream

The stream to deserialize from.

Returns

Task<StfuMessage>

The deserialized StfuMessage.

Exceptions

MessageSerializationException

Error deserializing StfuMessage