ChannelRefundClaimedEvent class
The outcome of a ClaimChannelRefundCommand (bead libspiffy-cqc, the V-99 follow-up).
The claim broadcasts the refund, journals it and records the money back
in the wallet. None of that reaches the host on its own: unlike a close,
which surfaces through the channel's own ChannelClosedEvent, a claim
has no event the adapter forwards. Without this the host could not tell
a refund that landed from one the network refused as a double spend.
- Inheritance
-
- Object
- CoordinatorEvent
- CoordinatorReply
- ChannelRefundClaimedEvent
Constructors
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.askthrows a CoordinatorFailure carrying this reply when it is not null.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- refundTxId → String?
-
The refund that was broadcast and journaled; null when the claim
failed before one was read from the channel's state.
final
- 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