Documentation
¶
Index ¶
- Constants
- type Config
- type Database
- func (d *Database) Close() error
- func (d *Database) Journal(root *felt.Felt) error
- func (d *Database) NewIterator(id trieutils.TrieID) (db.Iterator, error)
- func (d *Database) NodeReader(id trieutils.TrieID) (database.NodeReader, error)
- func (d *Database) Scheme() string
- func (d *Database) Update(root, parent *felt.Felt, blockNum uint64, ...) error
- type EmptyNodeDatabase
- type EmptyNodeReader
Constants ¶
View Source
const ( PathScheme string = "path" HashScheme string = "hash" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func (*Database) NewIterator ¶
func (*Database) NodeReader ¶
type EmptyNodeDatabase ¶
type EmptyNodeDatabase struct{}
func NewEmptyNodeDatabase ¶
func NewEmptyNodeDatabase() *EmptyNodeDatabase
func (EmptyNodeDatabase) NodeReader ¶
func (EmptyNodeDatabase) NodeReader(id trieutils.TrieID) (database.NodeReader, error)
Click to show internal directories.
Click to hide internal directories.