UnfinishedChannelsFoundEvent class

Channels of walletId that started opening and never reached open, reported once at startup (bead libspiffy-29jd).

Restart recovery is otherwise reactive: the channel adapter rebuilds a record when an inbound stimulus names a channel. A channel whose funding broadcast failed, or whose channel_open the peer never received, is exactly the case where the counterparty has gone silent — so nothing ever arrives to trigger it, and an app that does not poll its own channel list never learns the channel is stuck.

This event only reports. Nothing is retried and nothing is journaled by the sweep: a funding broadcast whose outcome was lost may already be in a mempool, and BSV is first-seen-wins, so re-driving channels on startup would be the library deciding policy. The levers are the app's: RetryChannelFundingCommand and ResendChannelOpenCommand to carry on, or CancelDeferredPaymentCommand to take the funding inputs back.

Not emitted when there is nothing to report, so no event means no channel of that wallet is stuck.

Inheritance

Constructors

UnfinishedChannelsFoundEvent({required String? walletId, required List<UnfinishedChannel> channels})

Properties

channels → List<UnfinishedChannel>
Never empty.
final
eventTimestamp → DateTime
When the event was made.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
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