Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrStoreEmpty = errors.New("Transient store is empty")
ErrStoreEmpty is used to indicate that there are no entries in transient store
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { }
Provider represents a trasientstore provider
func NewStoreProvider ¶
func NewStoreProvider() *Provider
NewStoreProvider instantiates a transient data storage provider backed by Memory
func (*Provider) OpenStore ¶
func (p *Provider) OpenStore(ledgerid string) (storageapi.TransientStore, error)
OpenStore creates a handle to the transient data store for the given ledger ID
type RwsetScanner ¶
type RwsetScanner struct {
// contains filtered or unexported fields
}
RwsetScanner provides an iterator for EndorserPvtSimulationResults from transientstore
func (*RwsetScanner) Close ¶
func (scanner *RwsetScanner) Close()
Close releases resource held by the iterator
func (*RwsetScanner) Next ¶
func (scanner *RwsetScanner) Next() (*transientstore.EndorserPvtSimulationResults, error)
Next moves the iterator to the next key/value pair with configs. It returns whether the iterator is exhausted.
Click to show internal directories.
Click to hide internal directories.