ImportTransactionCommand class

Import a transaction the wallet already knows to be mined: recovering a wallet, or bringing in its own history.

The BEEF must carry the merkle proof of the transaction it imports (its last transaction), so the wallet holds the proof its outputs are spent with and nothing needs tracking on the network (bead libspiffy-ckr4). One without is refused with a TransactionImportedEvent saying so: a counterparty's payment is received with ValidateBEEFCommand, which submits it and follows it to its block. The txid is the BEEF's; it is not the caller's to name.

Constructors

ImportTransactionCommand({required String walletId, required List<int> beef, String? fromCounterparty})

Properties

beef → List<int>
final
correlationId → String
The correlation ID of the message.
no setter
fromCounterparty → String?
final
hashCode → int
The hash code for this object.
no setterinherited
metadata → Map<String, dynamic>
The metadata of the message.
no setter
replyTo → ActorRef?
The actor to reply to.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → DateTime
The timestamp of the message.
no setter
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