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
TxAckRbfPayloadfundingOutputContributionTlv
FundingOutputContributionTlvrequireConfirmedInputsTlv
RequireConfirmedInputsTlv
Properties
FundingOutputContributionTlv
public FundingOutputContributionTlv? FundingOutputContributionTlv { get; }
Property Value
Payload
The payload of the message.
public TxAckRbfPayload Payload { get; }
Property Value
RequireConfirmedInputsTlv
public RequireConfirmedInputsTlv? RequireConfirmedInputsTlv { get; }
Property Value
Methods
DeserializeAsync(Stream)
Deserialize a TxAckRbfMessage from a stream.
public static Task<TxAckRbfMessage> DeserializeAsync(Stream stream)
Parameters
stream
StreamThe stream to deserialize from.
Returns
- Task<TxAckRbfMessage>
The deserialized TxAckRbfMessage.
Exceptions
- MessageSerializationException
Error deserializing TxAckRbfMessage