Package

scorex.crypto.authds.merkle

sparse

Permalink

package sparse

Visibility
  1. Public
  2. All

Type Members

  1. case class InternalNode[D <: Digest](left: Option[Node[D]], right: Option[Node[D]])(implicit hf: CryptographicHash[D]) extends Node[D] with Product with Serializable

    Permalink
  2. case class Leaf[D <: Digest](idx: ID, data: LeafData)(implicit hf: CryptographicHash[D]) extends Node[D] with Product with Serializable

    Permalink
  3. case class LeafHash[D <: Digest](hash: D) extends Node[D] with Product with Serializable

    Permalink
  4. trait Node[D <: Digest] extends AnyRef

    Permalink
  5. case class SparseMerkleProof[D <: Digest](idx: ID, leafDataOpt: Option[LeafData], levels: Vector[Option[D]]) extends Product with Serializable

    Permalink

    Sparse Merkle tree proof for leaf

    Sparse Merkle tree proof for leaf

    idx

    - index of a leaf

    leafDataOpt

    - leaf bytes, or null

    levels

    - bottom-up levels

  6. class SparseMerkleTree[D <: Digest] extends AnyRef

    Permalink

    An implementation of sparse Merkle tree of predefined height.

    An implementation of sparse Merkle tree of predefined height. Supported operations are append new leaf and update previously appended leaf.

Value Members

  1. object BlockchainSimulator extends App

    Permalink
  2. object Node

    Permalink
  3. object OpsBenchmark extends App

    Permalink
  4. object SparseMerkleTree

    Permalink

Ungrouped