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

requestBlockBodies

abstract fun requestBlockBodies(blockHashes: List<Hash>, connection: WireConnection = connectionSelectionStrategy().selectConnection()): AsyncResult<List<BlockBody>> (source)

Requests block bodies from block hashes

Parameters

blockHashes - the hashes of the blocks

connection - the connection to use

Return
a handle to the completion of the operation