git ssb

0+

wanderer🌟 / js-dfinity-radix-tree



Tree: dc4dcb9b9fa76eee440632309af8c4a27fd14f84

Files: dc4dcb9b9fa76eee440632309af8c4a27fd14f84 / docs / index.md

3844 bytesRaw

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

Table of Contents

constructor

index.js:17-25

Parameters

get

index.js:32-36

gets a value given a key

Parameters

Returns Promise

set

index.js:87-90

stores a value at a given key returning the tree node that the value was saved in

Parameters

Returns Promise

delete

index.js:139-142

smContainer.js deletes a value at a given key

Parameters

Returns Promise

done

index.js:201-207

returns a promise that resolve when the tree is done with all of its writes

Returns Promise

flush

index.js:223-226

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

Returns Promise

emptyTreeState

index.js:252-254

returns the state of an empty tree

ArrayConstructor

index.js:260-262

returns an Uint1Array constructor which is used to represent keys

Returns object

index.js:269-271

returns a merkle link for some given data

Parameters

Returns Buffer

Built with git-ssb-web