Versions in this module Expand all Collapse all v0 v0.7.11 Dec 24, 2014 Changes in this version + type Backend interface + Get func([]byte) ([]byte, error) + Put func([]byte, []byte) + type Cache struct + func NewCache(backend Backend) *Cache + func (self *Cache) Flush() + func (self *Cache) Get(key []byte) []byte + func (self *Cache) Put(key []byte, data []byte) + func (self *Cache) Reset() + type FullNode struct + func NewFullNode(t *Trie) *FullNode + func (self *FullNode) Branches() []Node + func (self *FullNode) Copy() Node + func (self *FullNode) Dirty() bool + func (self *FullNode) Hash() interface{} + func (self *FullNode) Len() (amount int) + func (self *FullNode) RlpData() interface{} + func (self *FullNode) String() string + func (self *FullNode) Value() Node + type HashNode struct + func NewHash(key []byte) *HashNode + func (self *HashNode) Copy() Node + func (self *HashNode) Dirty() bool + func (self *HashNode) Hash() interface{} + func (self *HashNode) RlpData() interface{} + func (self *HashNode) Value() Node + type Iterator struct + Key []byte + Value []byte + func NewIterator(trie *Trie) *Iterator + func (self *Iterator) Next() bool + type Node interface + Copy func() Node + Dirty func() bool + Hash func() interface{} + RlpData func() interface{} + Value func() Node + type ShortNode struct + func NewShortNode(t *Trie, key []byte, value Node) *ShortNode + func (self *ShortNode) Copy() Node + func (self *ShortNode) Dirty() bool + func (self *ShortNode) Hash() interface{} + func (self *ShortNode) Key() []byte + func (self *ShortNode) RlpData() interface{} + func (self *ShortNode) String() string + func (self *ShortNode) Value() Node + type Trie struct + func New(root []byte, backend Backend) *Trie + func ParanoiaCheck(t1 *Trie, backend Backend) (bool, *Trie) + func (self *Trie) Commit() + func (self *Trie) Delete(key []byte) Node + func (self *Trie) DeleteString(key string) Node + func (self *Trie) Get(key []byte) []byte + func (self *Trie) GetString(key string) []byte + func (self *Trie) Hash() []byte + func (self *Trie) Iterator() *Iterator + func (self *Trie) Reset() + func (self *Trie) Root() []byte + func (self *Trie) Update(key, value []byte) Node + func (self *Trie) UpdateString(key, value string) Node + type ValueNode struct + func (self *ValueNode) Copy() Node + func (self *ValueNode) Dirty() bool + func (self *ValueNode) Hash() interface{} + func (self *ValueNode) RlpData() interface{} + func (self *ValueNode) String() string + func (self *ValueNode) Val() []byte + func (self *ValueNode) Value() Node v0.7.10-broken Dec 20, 2014