object BlockHeaderHelper extends BlockHeaderHelper
- Alphabetic
- By Inheritance
- BlockHeaderHelper
- BlockHeaderHelper
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val badNBits: BlockHeader
- Definition Classes
- BlockHeaderHelper
- lazy val badNonce: BlockHeader
- Definition Classes
- BlockHeaderHelper
- 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
- 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
- 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()
- 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()
- val header1: BlockHeader
The previous block to this was header2
The previous block to this was header2
- Definition Classes
- BlockHeaderHelper
- See also
- val header1Db: BlockHeaderDb
- Definition Classes
- BlockHeaderHelper
- 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
- val header2Db: BlockHeaderDb
- Definition Classes
- BlockHeaderHelper
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- lazy val twoValidHeaders: Vector[BlockHeader]
- Definition Classes
- BlockHeaderHelper
- 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()
- 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
- 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
- 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