git ssb

0+

wanderer🌟 / js-dfinity-radix-tree



Tree: 207329f92a735f4a1b82e9f1a2be7e11934e6257

Files: 207329f92a735f4a1b82e9f1a2be7e11934e6257 / docs / index.md

3572 bytesRaw

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

Table of Contents

constructor

index.js:18-26

Parameters

get

index.js:133-142

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:149-151

stores a value at a given key

Parameters

Returns Promise

delete

index.js:198-200

deletes a value at a given key

Parameters

Returns Promise

flush

index.js:260-263

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

Returns Promise

emptyTreeState

index.js:49-51

returns the state of an empty tree

ArrayConstructor

index.js:57-59

returns an Uint1Array constructir which is used to repersent keys

Returns object

index.js:66-68

returns a merkle link for some given data

Parameters

Returns Buffer

Built with git-ssb-web