Table of Contents

Class TxInitRbfMessage

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

Represents a tx_init_rbf message.

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

Remarks

The tx_init_rbf message initiates a replacement of the transaction after it's been completed. The message type is 72.

Constructors

TxInitRbfMessage(TxInitRbfPayload, FundingOutputContributionTlv?, RequireConfirmedInputsTlv?)

public TxInitRbfMessage(TxInitRbfPayload payload, FundingOutputContributionTlv? fundingOutputContributionTlv = null, RequireConfirmedInputsTlv? requireConfirmedInputsTlv = null)

Parameters

payload TxInitRbfPayload
fundingOutputContributionTlv FundingOutputContributionTlv
requireConfirmedInputsTlv RequireConfirmedInputsTlv

Properties

FundingOutputContributionTlv

public FundingOutputContributionTlv? FundingOutputContributionTlv { get; }

Property Value

FundingOutputContributionTlv

Payload

The payload of the message.

public TxInitRbfPayload Payload { get; }

Property Value

TxInitRbfPayload

RequireConfirmedInputsTlv

public RequireConfirmedInputsTlv? RequireConfirmedInputsTlv { get; }

Property Value

RequireConfirmedInputsTlv

Methods

DeserializeAsync(Stream)

Deserialize a TxInitRbfMessage from a stream.

public static Task<TxInitRbfMessage> DeserializeAsync(Stream stream)

Parameters

stream Stream

The stream to deserialize from.

Returns

Task<TxInitRbfMessage>

The deserialized TxInitRbfMessage.

Exceptions

MessageSerializationException

Error deserializing TxInitRbfMessage