Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrKeyNotFound = errors.New("key not found")
)
Functions ¶
func RegisterAmino ¶
func RegisterAmino(cdc *amino.Codec)
Types ¶
type RWSetMap ¶
type RWSetMap struct {
// contains filtered or unexported fields
}
func NewRWSetMap ¶
func NewRWSetMap() *RWSetMap
type ValueObject ¶
func BytesToValueObject ¶
func BytesToValueObject(b []byte) (*ValueObject, error)
func (*ValueObject) Marshal ¶
func (vo *ValueObject) Marshal() []byte
func (*ValueObject) Unmarshal ¶
func (vo *ValueObject) Unmarshal(b []byte) error
type VersionedDB ¶
type VersionedDB struct {
// contains filtered or unexported fields
}
func NewVersionedDB ¶
func NewVersionedDB(store types.KVStore, version Version) *VersionedDB
func (*VersionedDB) Commit ¶
func (db *VersionedDB) Commit() (*RWSet, error)
func (*VersionedDB) Set ¶
func (db *VersionedDB) Set(k, v []byte) error
Click to show internal directories.
Click to hide internal directories.