Documentation ¶
Index ¶
Constants ¶
View Source
const (
ConfigUseKeccak256 = false
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Immutable ¶
type Immutable interface { Empty() bool // Get returns the value stored under the specified key, or nil if the key doesn't exist. Get(k []byte) ([]byte, error) Hash() []byte // return nil if this Tree is empty GetProof(k []byte) [][]byte // return nill of this Tree is empty Iterator() Iterator Filter(prefix []byte) Iterator Equal(immutable Immutable, exact bool) bool Prove(k []byte, p [][]byte) ([]byte, error) Resolve(builder merkle.Builder) ClearCache() Database() db.Database }
type ImmutableForObject ¶
type ImmutableForObject interface { Empty() bool Get(k []byte) (Object, error) Hash() []byte GetProof(k []byte) [][]byte // return nill of this Tree is empty Iterator() IteratorForObject Filter(prefix []byte) IteratorForObject Equal(object ImmutableForObject, exact bool) bool Prove(k []byte, p [][]byte) (Object, error) Resolve(builder merkle.Builder) ClearCache() Database() db.Database }
type IteratorForObject ¶
type MutableForObject ¶
type SnapshotForObject ¶
type SnapshotForObject interface { ImmutableForObject Flush() error }
Click to show internal directories.
Click to hide internal directories.