Home Reference Source
public class | source

InterfaceMerkleTree

Extends:

common/trees/Interface-Tree~InterfaceTree → InterfaceMerkleTree

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

root: *

Method Summary

Public Methods
public
public

matches(tree: *): *

Verify two trees and its hashes

Private Methods
private

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

Public Constructors

public constructor() source

Public Members

public root: * source

Public Methods

public createRoot() source

public matches(tree: *): * source

Verify two trees and its hashes

Params:

NameTypeAttributeDescription
tree *

Return:

*

boolean

Private Methods

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

Params:

NameTypeAttributeDescription
buffer *
offset *
includeHashes *

Return:

*