Versions in this module Expand all Collapse all v0 v0.1.0 Feb 15, 2016 Changes in this version + func CreateDB() error + type OpenchainDB struct + BlockchainCF *gorocksdb.ColumnFamilyHandle + DB *gorocksdb.DB + IndexesCF *gorocksdb.ColumnFamilyHandle + StateCF *gorocksdb.ColumnFamilyHandle + StateDeltaCF *gorocksdb.ColumnFamilyHandle + func GetDBHandle() *OpenchainDB + func (openchainDB *OpenchainDB) CloseDB() + func (openchainDB *OpenchainDB) DeleteState() error + func (openchainDB *OpenchainDB) GetBlockchainCFIterator() *gorocksdb.Iterator + func (openchainDB *OpenchainDB) GetFromBlockchainCF(key []byte) ([]byte, error) + func (openchainDB *OpenchainDB) GetFromBlockchainCFSnapshot(snapshot *gorocksdb.Snapshot, key []byte) ([]byte, error) + func (openchainDB *OpenchainDB) GetFromIndexesCF(key []byte) ([]byte, error) + func (openchainDB *OpenchainDB) GetFromStateCF(key []byte) ([]byte, error) + func (openchainDB *OpenchainDB) GetFromStateDeltaCF(key []byte) ([]byte, error) + func (openchainDB *OpenchainDB) GetSnapshot() *gorocksdb.Snapshot + func (openchainDB *OpenchainDB) GetStateCFIterator() *gorocksdb.Iterator + func (openchainDB *OpenchainDB) GetStateCFSnapshotIterator(snapshot *gorocksdb.Snapshot) *gorocksdb.Iterator + func (openchainDB *OpenchainDB) GetStateDeltaCFIterator() *gorocksdb.Iterator + type TestDBWrapper struct + func NewTestDBWrapper() *TestDBWrapper + func (testDB *TestDBWrapper) CreateFreshDB(t *testing.T) + func (testDB *TestDBWrapper) GetFromStateCF(t *testing.T, key []byte) []byte + func (testDB *TestDBWrapper) GetFromStateDeltaCF(t *testing.T, key []byte) []byte + func (testDB *TestDBWrapper) WriteToDB(t *testing.T, writeBatch *gorocksdb.WriteBatch)