Table of Contents

Class TxAckRbfMessage

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

Represents a tx_ack_rbf message.

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

Remarks

The tx_ack_rbf message acknowledges the replacement of the transaction. The message type is 73.

Constructors

TxAckRbfMessage(TxAckRbfPayload, FundingOutputContributionTlv?, RequireConfirmedInputsTlv?)

public TxAckRbfMessage(TxAckRbfPayload payload, FundingOutputContributionTlv? fundingOutputContributionTlv = null, RequireConfirmedInputsTlv? requireConfirmedInputsTlv = null)

Parameters

payload TxAckRbfPayload
fundingOutputContributionTlv FundingOutputContributionTlv
requireConfirmedInputsTlv RequireConfirmedInputsTlv

Properties

FundingOutputContributionTlv

public FundingOutputContributionTlv? FundingOutputContributionTlv { get; }

Property Value

FundingOutputContributionTlv

Payload

The payload of the message.

public TxAckRbfPayload Payload { get; }

Property Value

TxAckRbfPayload

RequireConfirmedInputsTlv

public RequireConfirmedInputsTlv? RequireConfirmedInputsTlv { get; }

Property Value

RequireConfirmedInputsTlv

Methods

DeserializeAsync(Stream)

Deserialize a TxAckRbfMessage from a stream.

public static Task<TxAckRbfMessage> DeserializeAsync(Stream stream)

Parameters

stream Stream

The stream to deserialize from.

Returns

Task<TxAckRbfMessage>

The deserialized TxAckRbfMessage.

Exceptions

MessageSerializationException

Error deserializing TxAckRbfMessage