CheckDeferredPaymentStatusCommand class
Ask the network about a deferred payment now instead of waiting for the periodic ARC scan. Answered with DeferredPaymentStatusEvent.
The wallet is updated as for a scan result: SEEN_ON_NETWORK or MINED
spends the inputs; a MINED merkle proof is checked against the local
headers and confirms the transaction only when it matches (never on a
status string alone, whichever source reported it); REJECTED fails the
payment and releases its inputs; DOUBLE_SPEND_ATTEMPTED is recorded and
keeps them held (ARC may still mine the payment). The
status is journaled. via: ARC, the configured BlockchainDataSource
(does it know the transaction; its merkle proof), or ARC then the data
source when ARC fails or does not know it.
- Inheritance
-
- Object
- CoordinatorRequest<
DeferredPaymentStatusEvent> - CheckDeferredPaymentStatusCommand
Constructors
- CheckDeferredPaymentStatusCommand({required String walletId, required String txid, DeferredPaymentNetworkSource via = DeferredPaymentNetworkSource.arc, String? requestId})
Properties
- 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
- txid → String
-
final
- via → DeferredPaymentNetworkSource
-
final
- walletId → String
-
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