class LESSubprotocol : SubProtocol
(source)
The LES subprotocol entry point class, to be used in conjunction with RLPxService
This subprotocol is implemented after the specification presented on the * Ethereum wiki.
See Also
org.apache.tuweni.rlpx.RLPxService
<init> |
The LES subprotocol entry point class, to be used in conjunction with RLPxService LESSubprotocol(networkId: Int, serveHeaders: Boolean, serveChainSince: UInt256, serveStateSince: UInt256, flowControlBufferLimit: UInt256, flowControlMaximumRequestCostTable: UInt256, flowControlMinimumRateOfRecharge: UInt256, repo: BlockchainRepository) |
createClient |
fun createClient(service: RLPxService): SubProtocolClient |
createHandler |
fun createHandler(service: RLPxService): SubProtocolHandler |
getCapabilities |
fun getCapabilities(): MutableList<SubProtocolIdentifier> |
id |
fun id(): SubProtocolIdentifier |
supports |
fun supports(subProtocolIdentifier: SubProtocolIdentifier): Boolean |
versionRange |
fun versionRange(version: Int): Int |