Gives us a block header that has a bad prev hash (can't connect to anything
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.
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
The previous block to this was header2
The previous block to this was header2
The next block is header1 after this block 000000000000000000250c4b6909c0befc321610d4cd0229ad08ad45a3335eb4
Modifies the given block header with the new nBits
Modifies the given block header with the new nonce
Modifies the given block header with the newPrevHash
Useful helper methods for getting block header related data for unit tests.