Home Reference Source
public class | source

InterfaceRadixMerkleTree

Extends:

common/trees/Interface-Tree~InterfaceTreeInterfaceRadixTree → InterfaceRadixMerkleTree

Member Summary

Public Members
public

root: *

Method Summary

Public Methods
public
public

matches(tree: *): *

Private Methods
private

_deserializeTree(buffer: *, offset: *, includeHashes: *): *

Inherited Summary

From class InterfaceRadixTree
public

root: *

public

add(element: *): *

Adding an input to the Radix Tree

public
public

delete(input: *): boolean

Delete Node from the Radix Tree

public

search(input: *): {"result": *, "node": *, "value": *}

Searching an input in the Radix Tree

public

update(input: *, value: *): boolean

update a node in the radix tree

Public Members

public root: * source

Override:

InterfaceRadixTree#root

Public Methods

public createRoot() source

Override:

InterfaceRadixTree#createRoot

public matches(tree: *): * source

Params:

NameTypeAttributeDescription
tree *

Return:

*

Private Methods

private _deserializeTree(buffer: *, offset: *, includeHashes: *): * source

Params:

NameTypeAttributeDescription
buffer *
offset *
includeHashes *

Return:

*