Packages

object MerkleBlock extends Factory[MerkleBlock]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MerkleBlock
  2. Factory
  3. AnyRef
  4. 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(blockHeader: BlockHeader, txCount: UInt32, hashes: Vector[DoubleSha256Digest], bits: BitVector): MerkleBlock
  5. def apply(blockHeader: BlockHeader, txCount: UInt32, partialMerkleTree: PartialMerkleTree): MerkleBlock
  6. def apply(block: Block, txIds: Seq[DoubleSha256Digest]): MerkleBlock

    Creates a merkle block that matches the given txids if they appear inside the given block

  7. def apply(block: Block, filter: BloomFilter): (MerkleBlock, BloomFilter)

    Creates a MerkleBlock from the given Block and BloomFilter This function iterates through each transaction inside our block checking if it is relevant to the given bloom filter If it is relevant, it will set a flag to indicate we should include it inside of our PartialMerkleTree.

    Creates a MerkleBlock from the given Block and BloomFilter This function iterates through each transaction inside our block checking if it is relevant to the given bloom filter If it is relevant, it will set a flag to indicate we should include it inside of our PartialMerkleTree.

    block

    the block that we searching for transactions that match the bloom filter

    filter

    the filter we are comparing transactions in the block against

    returns

    the merkle block and the bloom filter loaded with information from the relevant txs in the block

  8. def apply(hex: String): MerkleBlock

    Creates a T from a hex string.

    Creates a T from a hex string.

    Definition Classes
    Factory
  9. def apply(bytes: ByteVector): MerkleBlock

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    Factory
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. def fromBytes(bytes: ByteVector): MerkleBlock

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    MerkleBlockFactory
  16. def fromBytesLE(bytes: ByteVector): MerkleBlock

    Creates a T out of a sequence of bytes in little endian.

    Creates a T out of a sequence of bytes in little endian.

    Definition Classes
    Factory
  17. def fromBytesOpt(bytes: ByteVector): Option[MerkleBlock]

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Definition Classes
    Factory
  18. def fromBytesT(bytes: ByteVector): Try[MerkleBlock]

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Definition Classes
    Factory
  19. def fromHex(hex: String): MerkleBlock

    Creates a T out of a hex string.

    Creates a T out of a hex string.

    Definition Classes
    Factory
  20. def fromHexLE(hex: String): MerkleBlock

    Creates a T out of a hex string in little endian.

    Creates a T out of a hex string in little endian.

    Definition Classes
    Factory
  21. def fromHexOpt(hex: String): Option[MerkleBlock]

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Definition Classes
    Factory
  22. def fromHexT(hex: String): Try[MerkleBlock]

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Definition Classes
    Factory
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. implicit def self: Factory[MerkleBlock]

    Allows a def foo[C: Factory]() construction.

    Allows a def foo[C: Factory]() construction.

    Definition Classes
    Factory
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Factory[MerkleBlock]

Inherited from AnyRef

Inherited from Any

Ungrouped