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
LESSubprotocol(networkId: Int, serveHeaders: Boolean, serveChainSince: UInt256, serveStateSince: UInt256, flowControlBufferLimit: UInt256, flowControlMaximumRequestCostTable: UInt256, flowControlMinimumRateOfRecharge: UInt256, repo: BlockchainRepository)
The LES subprotocol entry point class, to be used in conjunction with RLPxService |
fun createHandler(service: RLPxService): SubProtocolHandler |
|
fun id(): SubProtocolIdentifier |
|
fun supports(subProtocolIdentifier: SubProtocolIdentifier): Boolean |
|
fun versionRange(version: Int): Int |