# Functions
NewPendingStorage creates *PendingStorage.
NewPendingStorageMock returns a mock for github.com/insolar/insolar/ledger/recentstorage.PendingStorage.
NewProviderMock returns a mock for github.com/insolar/insolar/ledger/recentstorage.Provider.
NewRecentIndexStorage creates new *RecentIndexStorage.
NewRecentIndexStorageMock returns a mock for github.com/insolar/insolar/ledger/recentstorage.RecentIndexStorage.
NewRecentStorageProvider creates new provider.
# Structs
PendingObjectContext contains a list of requests for an object Also it contains a boolean-flag for determination object's status If It's false, current LME, when it gets a hot-data, needs to send notifications about forgotten requests.
PendingStorageConcrete contains indexes of unclosed requests (pendings) for a specific object id.
PendingStorageMock implements github.com/insolar/insolar/ledger/recentstorage.PendingStorage.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProviderMock implements github.com/insolar/insolar/ledger/recentstorage.Provider.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RecentIndexStorageConcrete is an implementation of RecentIndexStorage interface This is a in-memory cache for indexes` ids.
RecentIndexStorageMock implements github.com/insolar/insolar/ledger/recentstorage.RecentIndexStorage.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RecentStorageProvider provides a recent storage for jet.
# Interfaces
go:generate minimock -i github.com/insolar/insolar/ledger/recentstorage.PendingStorage -o ./ -s _mock.go.
Provider provides different types of storages for a specific jetgo:generate minimock -i github.com/insolar/insolar/ledger/recentstorage.Provider -o ./ -s _mock.go.
RecentIndexStorage is a struct which contains `recent indexes` for a specific jet `recent index` is a index which was called between TTL-border If index is put to a recent storage, it'll be there for TTL-pulses at leastgo:generate minimock -i github.com/insolar/insolar/ledger/recentstorage.RecentIndexStorage -o ./ -s _mock.go.