abstract class MerkleGenerator extends AnyRef
Created by chris on 8/12/16.
- Alphabetic
- By Inheritance
- MerkleGenerator
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MerkleGenerator()
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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 merkleBlockCreatedWithBloomFilter: Gen[(MerkleBlock, Block, Seq[DoubleSha256Digest], BloomFilter)]
Returns a MerkleBlock created with a BloomFilter, with the block it was created from and the transactions that were matched inside of that block NOTE: Since bloom filters can produce false positives, it is possible that there will be matches in the parital merkle tree that SHOULD NOT be matched.
Returns a MerkleBlock created with a BloomFilter, with the block it was created from and the transactions that were matched inside of that block NOTE: Since bloom filters can produce false positives, it is possible that there will be matches in the parital merkle tree that SHOULD NOT be matched. Bloom filters do not guaratnee no false negatives.
- def merkleBlockWithInsertedTxIds: Gen[(MerkleBlock, Block, Seq[DoubleSha256Digest])]
Returns a MerkleBlock including the sequence of hashes inserted in to the bloom filter
- def merkleBlockWithInsertedTxIds(txs: Seq[Transaction]): Gen[(MerkleBlock, Block, Seq[DoubleSha256Digest])]
Generates a merkle block with the given txs matched inside the PartialMerkleTree
- 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()
- def partialMerkleTree: Gen[(PartialMerkleTree, Vector[(Boolean, DoubleSha256Digest)])]
Generates a partial merkle tree with a sequence of txids and a flag indicating if the txid was matched
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def txIdsWithMatchIndication(num: Int): Gen[Vector[(Boolean, DoubleSha256Digest)]]
Generates a list of txids with a boolean indicator signifying if it matched the bloom filter or not
- 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()