LedgerStore class abstract
Where a node keeps what it has applied.
An interface rather than a file path so the service stays testable without a disk, and so a node with no writable data directory can hold one in memory and still work for the length of a session.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
String blueprint) → Future< void> -
Forgets
blueprintentirely. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String blueprint) → Future< Ledger?> -
The ledger for
blueprint, ornullif it has never been applied here. -
toString(
) → String -
A string representation of this object.
inherited
-
write(
Ledger ledger) → Future< void> -
Records
ledger.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited