Packages

object PartialMerkleTree

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartialMerkleTree
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(tree: BinaryTreeDoubleSha256Digest, transactionCount: UInt32, bits: BitVector, hashes: Vector[DoubleSha256Digest]): PartialMerkleTree

    This constructor creates a partial from this given BinaryTree You probably don't want to use this constructor, unless you manually constructed bits and the tree by hand

    This constructor creates a partial from this given BinaryTree You probably don't want to use this constructor, unless you manually constructed bits and the tree by hand

    tree

    the partial merkle tree -- note this is NOT the full merkle tree

    transactionCount

    the number of transactions there initially was in the full merkle tree

    bits

    the path to the matches in the partial merkle tree

    hashes

    the hashes used to reconstruct the binary tree according to bits

  5. def apply(transactionCount: UInt32, hashes: Vector[DoubleSha256Digest], bits: BitVector): PartialMerkleTree

    Function to reconstruct a partial merkle tree

    Function to reconstruct a partial merkle tree

    transactionCount

    the number of transactions inside of the partial merkle tree

    hashes

    the hashes used to reconstruct the partial merkle tree

    bits

    the bits used indicate the structure of the partial merkle tree

  6. def apply(txMatches: Vector[(Boolean, DoubleSha256Digest)]): PartialMerkleTree
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def calcMaxHeight(numTransactions: Int): Int

    Calculates the maximum height for a binary tree with the number of transactions specified

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def matchesTx(maxHeight: Int, height: Int, pos: Int, matchedTx: Seq[(Boolean, DoubleSha256Digest)]): Boolean

    Checks if a node at given the given height and position matches a transaction in the sequence

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped