Packages

object BlockHeaderHelper extends BlockHeaderHelper

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BlockHeaderHelper
  2. BlockHeaderHelper
  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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. lazy val badNBits: BlockHeader
    Definition Classes
    BlockHeaderHelper
  6. lazy val badNonce: BlockHeader
    Definition Classes
    BlockHeaderHelper
  7. lazy val badPrevHash: BlockHeader

    Gives us a block header that has a bad prev hash (can't connect to anything

    Gives us a block header that has a bad prev hash (can't connect to anything

    Definition Classes
    BlockHeaderHelper
  8. final def buildNextHeader(prevHeader: BlockHeaderDb): BlockHeaderDb

    Builds a block header on top the given prev header The only consensus requirement that this method adheres to with the returned org.bitcoins.chain.models.BlockHeaderDb is that

    Builds a block header on top the given prev header The only consensus requirement that this method adheres to with the returned org.bitcoins.chain.models.BlockHeaderDb is that

    1. We reference the org.bitcoins.chain.models.BlockHeaderDb.blockHeader.hash correct 2. We increment the height of prevHeader by one
    Definition Classes
    BlockHeaderHelper
    Annotations
    @tailrec()
  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. val header1: BlockHeader

    The previous block to this was header2

    The previous block to this was header2

    Definition Classes
    BlockHeaderHelper
    See also

    height #566,093

  16. val header1Db: BlockHeaderDb
    Definition Classes
    BlockHeaderHelper
  17. val header2: BlockHeader

    The next block is header1 after this block 000000000000000000250c4b6909c0befc321610d4cd0229ad08ad45a3335eb4

    The next block is header1 after this block 000000000000000000250c4b6909c0befc321610d4cd0229ad08ad45a3335eb4

    Definition Classes
    BlockHeaderHelper
    See also

    #566,092

  18. val header2Db: BlockHeaderDb
    Definition Classes
    BlockHeaderHelper
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. lazy val twoValidHeaders: Vector[BlockHeader]
    Definition Classes
    BlockHeaderHelper
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. def withNBits(bh: BlockHeader, newNBits: UInt32): BlockHeader

    Modifies the given block header with the new nBits

    Modifies the given block header with the new nBits

    Definition Classes
    BlockHeaderHelper
  30. def withNonce(bh: BlockHeader, newNonce: UInt32): BlockHeader

    Modifies the given block header with the new nonce

    Modifies the given block header with the new nonce

    Definition Classes
    BlockHeaderHelper
  31. def withPrevhash(bh: BlockHeader, newPrevHash: DoubleSha256DigestBE): BlockHeader

    Modifies the given block header with the newPrevHash

    Modifies the given block header with the newPrevHash

    Definition Classes
    BlockHeaderHelper

Inherited from BlockHeaderHelper

Inherited from AnyRef

Inherited from Any

Ungrouped