tuweni / org.apache.tuweni.devp2p.eth / EthRequestsManager / requestBlockHeader

requestBlockHeader

abstract fun requestBlockHeader(blockHash: Hash, connection: WireConnection = connectionSelectionStrategy().selectConnection()): AsyncResult<BlockHeader> (source)

Requests a block header

Parameters

blockHash - the block hash

connection - the connection to use

Return
a handle to the completion of the operation