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