tuweni / org.apache.tuweni.devp2p.eth / EthClient66 / requestBlock

requestBlock

fun requestBlock(blockHash: Hash, connection: WireConnection): AsyncResult<Block> (source)

Requests a block from block hash

Parameters

blockHash - the hash of the block

connection - the connection to use

Return
a handle to the completion of the operation