ChannelOpenResentEvent class

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

success means channel_open was handed to the app's transport again, with the same payload as the first one (toPeerId names the peer it was addressed to). Nothing was journaled and nothing about the channel changed.

A failure — the channel is not open here, this node is not its client, no counterparty peer is known — is reported here only. No channel_error is sent: a re-send that cannot happen is not a channel that has been abandoned.

Inheritance

Constructors

ChannelOpenResentEvent({String? walletId, required String channelId, String? toPeerId, String? fundingTxId, required bool success, String? error})

Properties

channelId → String
final
error → String?
final
eventTimestamp → DateTime
Timestamp of the event
no setteroverride
fundingTxId → String?
The funding transaction the re-sent message names; null on failure.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success → bool
final
toPeerId → String?
The peer channel_open was re-sent to; null when it was not sent.
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