Hierarchy

  • MerkleTree

Constructors

  • Parameters

    • leafs: Buffer[]

    Returns MerkleTree

Properties

layers: Buffer[][]
leafs: Buffer[]

Methods

  • Parameters

    • idx: number

    Returns string[]

  • Returns string

  • Parameters

    • index: number

    Returns Buffer

  • Parameters

    • index: number

    Returns number[]

  • Parameters

    • idx: number

    Returns Buffer[]

  • Parameters

    • index: number

    Returns any[]

  • Returns Buffer

  • Returns number[]

  • Parameters

    • idx: number
    • proof: Buffer[]
    • root: Buffer

    Returns boolean

  • Parameters

    • first: Buffer
    • second: undefined | Buffer

    Returns Buffer

  • Parameters

    • data: Buffer

    Returns Buffer

  • Parameters

    • leaf: Buffer
    • proof: Buffer[]
    • root: Buffer

    Returns boolean

Generated using TypeDoc