# Functions
NewProvider instantiates a StoreProvider.
NewTestStoreEnv construct a StoreEnv for testing.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
ErrIllegalArgs is to be thrown by a store impl if the args passed are not allowed.
ErrIllegalCall is to be thrown by a store impl if the store does not expect a call to Prepare/Commit/Rollback/InitLastCommittedBlock.
ErrOutOfRange is to be thrown for the request for the data that is not yet committed.
No description provided by the author
StoreEnv provides the store env for testing.
No description provided by the author
# Interfaces
Provider provides handle to specific 'Store' that in turn manages private write sets for a ledger.
Store manages the permanent storage of private write sets for a ledger Beacsue the pvt data is supposed to be in sync with the blocks in the ledger, both should logically happen in an atomic operation.