Table of Contents

Class UpdateFeeMessage

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

Represents a update_fee message.

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

Remarks

The update_fee message is sent by the node which is paying the Bitcoin fee. The message type is 134.

Constructors

UpdateFeeMessage(UpdateFeePayload)

Represents a update_fee message.

public UpdateFeeMessage(UpdateFeePayload payload)

Parameters

payload UpdateFeePayload

Remarks

The update_fee message is sent by the node which is paying the Bitcoin fee. The message type is 134.

Properties

Payload

The payload of the message.

public UpdateFeePayload Payload { get; }

Property Value

UpdateFeePayload

Methods

DeserializeAsync(Stream)

Deserialize a UpdateFeeMessage from a stream.

public static Task<UpdateFeeMessage> DeserializeAsync(Stream stream)

Parameters

stream Stream

The stream to deserialize from.

Returns

Task<UpdateFeeMessage>

The deserialized UpdateFeeMessage.

Exceptions

MessageSerializationException

Error deserializing UpdateFeeMessage