6 Has(key []byte) (has bool)
7 Proof(key []byte) (value []byte, proof []byte, exists bool) // TODO make it return an index
8 Get(key []byte) (index int, value []byte, exists bool)
9 GetByIndex(index int) (key []byte, value []byte)
10 Set(key []byte, value []byte) (updated bool)
11 Remove(key []byte) (value []byte, removed bool)
12 HashWithCount() (hash []byte, count int)
17 Iterate(func(key []byte, value []byte) (stop bool)) (stopped bool)
18 IterateRange(start []byte, end []byte, ascending bool, fx func(key []byte, value []byte) (stop bool)) (stopped bool)
21 type Hashable interface {