Documentation
¶
Overview ¶
Package arbotree provides the functions for creating and managing an arbo merkletree adapted to the CensusTree interface
Index ¶
- type Tree
- func (t *Tree) Add(index, value []byte) error
- func (t *Tree) AddBatch(indexes, values [][]byte) ([]int, error)
- func (t *Tree) CheckProof(index, value, root, mproof []byte) (bool, error)
- func (t *Tree) Dump(root []byte) ([]byte, error)
- func (t *Tree) DumpPlain(root []byte) ([][]byte, [][]byte, error)
- func (t *Tree) GenProof(index, value []byte) ([]byte, error)
- func (t *Tree) HashExists(hash []byte) (bool, error)
- func (t *Tree) ImportDump(data []byte) error
- func (t *Tree) Init(name, storageDir string) error
- func (t *Tree) IsPublic() bool
- func (t *Tree) LastAccess() int64
- func (t *Tree) MaxKeySize() int
- func (t *Tree) Publish()
- func (t *Tree) Root() []byte
- func (t *Tree) Size(root []byte) (int64, error)
- func (t *Tree) Snapshot(root []byte) (censustree.Tree, error)
- func (t *Tree) UnPublish()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tree ¶
func (*Tree) CheckProof ¶
func (*Tree) ImportDump ¶
func (*Tree) LastAccess ¶
func (*Tree) MaxKeySize ¶
Click to show internal directories.
Click to hide internal directories.