MCPcopy Create free account

hub / github.com/deroproject/graviton / types & classes

Types & classes13 in github.com/deroproject/graviton

↓ 3 callersInterfacenode
TODO simplify node
node.go:24
StructCursor
Cursor represents an iterator that can traverse over all key/value pairs in a tree in hash sorted order. Cursors can be obtained from a tree and are v
cursor.go:9
FuncTypeDiffHandler
All changes are reported of this type, deleted, modified, inserted
diff_tree.go:24
StructProof
This structure is used to prove existence/non-existence of a key
proof.go:20
StructSnapshot
Snapshot are used to access any arbitrary snapshot of entire database at any point in time snapshot refers to collective state of all trees + data
snapshot.go:11
StructStore
Store is the backend which is used to store the data in serialized form to disk. The data is stored in files in split format and total number of files
store.go:33
StructTree
Tree structure which is the end result, TODO: tree does not cache anything currently, just caching the top level tree entries, will increase the speed
tree.go:17
StructdiffTree
import "sync" import "encoding/binary" import "golang.org/x/xerrors" Cursor represents an iterator that can traverse over all key/value pairs in a tre
diff_tree.go:19
Structdummynode
used to test certain code paths, which though can be avoid now but may arise when code is maintained, developed, rewritten over a period of time
node_test.go:9
Structfile
all file operations will go through this If this is implemented through an interface, it will trigger memory allocations on heap this crude implementa
store.go:16
Structinner
TODO optimize these structures for less RAM/DISK
node_inner.go:11
Structleaf
all gets go through value checks
node_leaf.go:11
TypeAliasstorage_layer_type
store.go:22