graviton

package
v0.0.0-...-c7a1919 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GravitonMemoryStore

type GravitonMemoryStore struct {
	Database *graviton.Store
}

func (*GravitonMemoryStore) BuildDagFromStore

func (store *GravitonMemoryStore) BuildDagFromStore(root string) (*merkle_dag.Dag, error)

func (*GravitonMemoryStore) InitStore

func (store *GravitonMemoryStore) InitStore(args ...interface{}) error

func (*GravitonMemoryStore) RetrieveLeaf

func (store *GravitonMemoryStore) RetrieveLeaf(root string, hash string) (*merkle_dag.DagLeaf, error)

func (*GravitonMemoryStore) StoreDag

func (store *GravitonMemoryStore) StoreDag(dag *merkle_dag.Dag) error

func (*GravitonMemoryStore) StoreLeaf

func (store *GravitonMemoryStore) StoreLeaf(root string, leaf *merkle_dag.DagLeaf) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL