Versions in this module Expand all Collapse all v0 v0.1.0 Feb 15, 2016 Changes in this version + type CompositeRangeScanIterator struct + func (itr *CompositeRangeScanIterator) Close() + func (itr *CompositeRangeScanIterator) GetKeyValue() (string, []byte) + func (itr *CompositeRangeScanIterator) Next() bool + type State struct + func NewState() *State + func (state *State) AddChangesForPersistence(blockNumber uint64, writeBatch *gorocksdb.WriteBatch) + func (state *State) ApplyStateDelta(delta *statemgmt.StateDelta) + func (state *State) ClearInMemoryChanges(changesPersisted bool) + func (state *State) CommitStateDelta() error + func (state *State) Delete(chaincodeID string, key string) error + func (state *State) DeleteState() error + func (state *State) FetchStateDeltaFromDB(blockNumber uint64) (*statemgmt.StateDelta, error) + func (state *State) Get(chaincodeID string, key string, committed bool) ([]byte, error) + func (state *State) GetHash() ([]byte, error) + func (state *State) GetRangeScanIterator(chaincodeID string, startKey string, endKey string, committed bool) (statemgmt.RangeScanIterator, error) + func (state *State) GetSnapshot(blockNumber uint64, dbSnapshot *gorocksdb.Snapshot) (*StateSnapshot, error) + func (state *State) GetTxStateDeltaHash() map[string][]byte + func (state *State) Set(chaincodeID string, key string, value []byte) error + func (state *State) TxBegin(txUUID string) + func (state *State) TxFinish(txUUID string, txSuccessful bool) + type StateSnapshot struct + func (ss *StateSnapshot) GetBlockNumber() uint64 + func (ss *StateSnapshot) GetRawKeyValue() ([]byte, []byte) + func (ss *StateSnapshot) Next() bool + func (ss *StateSnapshot) Release()