git ssb

0+

wanderer🌟 / js-dfinity-radix-tree



Tree: 14c36bd0ffc47a00a609b87f36632b67e3711fe7

Files: 14c36bd0ffc47a00a609b87f36632b67e3711fe7 / docs / index.md

3572 bytesRaw

<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

Table of Contents

constructor

index.js:18-25

Parameters

get

index.js:114-122

gets a value given a key. The promise resolves with an object containing node the node in the merkle tree and value the value of the that the node contains

Parameters

Returns Promise

set

index.js:129-167

stores a value at a given key

Parameters

Returns Promise

delete

index.js:174-226

deletes a value at a given key

Parameters

Returns Promise

flush

index.js:232-234

creates a merkle root for the current tree and stores the data perstantly

Returns Promise

emptyTreeState

index.js:30-32

returns the state of an empty tree

ArrayConstructor

index.js:38-40

returns an Uint1Array constructir which is used to repersent keys

Returns object

index.js:47-49

returns a merkle link for some given data

Parameters

Returns Buffer

Built with git-ssb-web