Home Reference Source
public class | source

InterfaceMerkleRadixTreeNode

Extends:

common/trees/radix-tree/Interface-Radix-Tree-Node~InterfaceRadixTreeNode → InterfaceMerkleRadixTreeNode

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

hash: *

Method Summary

Public Methods
public

deserializeNodeData(buffer: *, offset: *, includeEdges: *, includeHashes: *): *

public

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

public

serializeNodeData(includeEdges: *, includeHashes: *): *

public

serializeNodeDataHash(includeHashes: *): *

public
Private Methods
private
private
private
private
private

_refreshHash(forced: *): *

private

Public Constructors

public constructor() source

Public Members

public hash: * source

Public Methods

public deserializeNodeData(buffer: *, offset: *, includeEdges: *, includeHashes: *): * source

Params:

NameTypeAttributeDescription
buffer *
offset *
includeEdges *
includeHashes *

Return:

*

public deserializeNodeDataHash(buffer: *, offset: *, includeHashes: *): * source

Params:

NameTypeAttributeDescription
buffer *
offset *
includeHashes *

Return:

*

public serializeNodeData(includeEdges: *, includeHashes: *): * source

Params:

NameTypeAttributeDescription
includeEdges *
includeHashes *

Return:

*

public serializeNodeDataHash(includeHashes: *): * source

Params:

NameTypeAttributeDescription
includeHashes *

Return:

*

public validateTreeNode(): boolean source

Return:

boolean

Private Methods

private _calculateHashTree() source

private _changedNode(): boolean source

Return:

boolean

private _computeHash(): * source

Return:

*

private _getValueToHash(): * source

Return:

*

private _refreshHash(forced: *): * source

Params:

NameTypeAttributeDescription
forced *

Return:

*

private _validateHash(): * source

Return:

*