RetryChannelFundingCommand class
Broadcast the funding transaction of a channel whose funding broadcast failed, so the open can finish (bead libspiffy-1n3).
For the client side of a channel still in refundSigned: its refund is
countersigned and journaled, its funding transaction is built and signed,
and the broadcast that should have put it on the network did not (ARC was
unreachable, or the process died before the answer arrived). Restart
recovery reacts to inbound messages; this is how a host asks for the
retry itself.
The funding transaction is not supplied by the caller: it is read from the channel's own journaled state, which is the only place it can honestly come from. The aggregate refuses a start naming a different transaction, so a retry can only ever re-broadcast the one the refund spends.
Safe to issue more than once. The inputs of a failed funding broadcast stay reserved, never spent — they are marked spent only after ARC accepts — so a retry cannot double-spend them; there is no replace-by-fee on BSV and no fee is changed. The funding is recorded in the wallet once, guarded by the journal and the wallet read model alike.
Answered with ChannelFundingRetriedEvent, on success and failure.
- Inheritance
-
- Object
- CoordinatorRequest<
ChannelFundingRetriedEvent> - RetryChannelFundingCommand
Constructors
- RetryChannelFundingCommand({required String channelId, String? requestId})
Properties
- channelId → String
-
final
- correlationId → String
-
The correlation ID of the message.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Map<
String, dynamic> -
The metadata of the message.
no setter
- replyTimeout → Duration
-
How long
WalletCoordinator.askwaits for the reply when the caller gives no timeout. A request that is still running then is not cancelled: its reply arrives on the event stream later.no setteroverride - replyTo → ActorRef?
-
The actor to reply to.
no setterinherited
- requestId → String
-
Identifies this request; its reply carries it back.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
The timestamp of the message.
finalinherited
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