git ssb

0+

wanderer🌟 / js-dfinity-radix-tree



Tree: 4fe6af79637c7ada713ce5ddce656ae7a400a7d9

Files: 4fe6af79637c7ada713ce5ddce656ae7a400a7d9 / 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