object PartialMerkleTree
- Alphabetic
- By Inheritance
- PartialMerkleTree
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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 thetree
by handThis constructor creates a partial from this given BinaryTree You probably don't want to use this constructor, unless you manually constructed
bits
and thetree
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
- 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
- def apply(txMatches: Vector[(Boolean, DoubleSha256Digest)]): PartialMerkleTree
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def calcMaxHeight(numTransactions: Int): Int
Calculates the maximum height for a binary tree with the number of transactions specified
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()