ChannelFundingRetriedEvent class

The outcome of a RetryChannelFundingCommand (bead libspiffy-1n3).

success means the funding transaction reached the network on this attempt and the channel is open on this side; the ordinary ChannelOpenedEvent follows, and channel_open goes to the server as it does on a first open.

A failure is reported here and nowhere else: the counterparty is told nothing, so a retry that fails again leaves the channel exactly as it was, its inputs still reserved for the same transaction, ready for another retry.

Inheritance

Constructors

ChannelFundingRetriedEvent({String? walletId, required String channelId, String? fundingTxId, required bool success, String? error, String? requestId})

Properties

channelId → String
final
error → String?
final
eventTimestamp → DateTime
When the event was made.
finalinherited
failure → String?
Why the request failed, or null when it succeeded. WalletCoordinator.ask throws a CoordinatorFailure carrying this reply when it is not null.
no setteroverride
fundingTxId → String?
The funding transaction that was re-broadcast; null when the retry was refused before one was read from the channel's state.
final
hashCode → int
The hash code for this object.
no setterinherited
requestId → String?
The CoordinatorRequest.requestId of the request this answers; null when no request caused it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success → bool
final
walletId → String?
Optional wallet ID for filtering events by wallet
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited