tuweni / org.apache.tuweni.eth.repository / BlockchainRepository / retrieveBlockHeaderBytes

retrieveBlockHeaderBytes

suspend fun retrieveBlockHeaderBytes(blockHash: Bytes): Bytes? (source)

Retrieves a block header into the repository as its serialized RLP bytes representation.

Parameters

blockHash - the hash of the block stored

Return
a future with the block header bytes if found