VoidUnsettledTransactionCommand class
Records that txid, a transaction handed to this wallet that the network has not settled, can never be mined: an input of it is already spent by spentBy, a transaction a merkle proof confirms (checked against the local header chain by the caller).
The transaction's row becomes failed and its pending outputs become UTXOStatus.voided: they stop counting as funds on the way. Nothing is deleted. A later proof of txid itself still confirms it, which makes its voided outputs available, as for any voided output.
For a transaction this wallet built, the aggregate refuses: a deferred
payment fails through RecordTransactionNetworkStatusCommand with
INPUT_SPENT, and an ordinary payment of ours is settled by ARC.
No event when the wallet has nothing to change (already voided).
- Inheritance
-
- Object
- WalletCommand
- VoidUnsettledTransactionCommand
Constructors
Properties
- commandId → String
-
Unique identifier for this command
Used for deduplication and tracing
no setterinherited
- commandType → String
-
Command type identifier for logging and debugging
no setteroverride
- correlationId → String
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Map<
String, dynamic> -
finalinherited
- payload → dynamic
-
Override payload to return the command itself for LocalMessage compatibility
no setterinherited
-
persistableMetadata
→ Map<
String, dynamic> -
metadataas it is persisted: transientActorRefentries removed.no setterinherited - replyTo → ActorRef?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sender → ActorRef?
-
finalinherited
- spentBy → String
-
The confirmed transaction that spent spentInput.
final
- spentInput → String
-
The input of txid that is spent elsewhere (
txid:voutit spends).final - timestamp → DateTime
-
finalinherited
- txid → String
-
final
- typeName → String
-
Stable identity of this command type in storage.
no setterinherited
- walletId → String
-
finalinherited
Methods
-
getValidationErrors(
) → List< String> -
Get validation errors
Override in subclasses to provide specific error messages
inherited
-
isValid(
) → bool -
Validate the command
Override in subclasses for custom validation
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCbor(
) → List< int> -
Serialize command to CBOR bytes
inherited
-
toMap(
) → Map< String, dynamic> -
Convert command to a map for serialization.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited