class StratumServer
(source)
Server capable of handling connections from Stratum clients, authenticate and serve content for them.
<init> |
Server capable of handling connections from Stratum clients, authenticate and serve content for them. StratumServer(vertx: Vertx, port: Int, networkInterface: String, sslOptions: KeyCertOptions?, extranonce: String = "", submitCallback: (PoWSolution) -> Boolean, seedSupplier: () -> Bytes32, hashrateCallback: (Bytes, Long) -> Boolean) |
networkInterface |
val networkInterface: String |
vertx |
val vertx: Vertx |
port |
fun port(): Int |
start |
suspend fun start(): Unit |
stop |
suspend fun stop(): Unit |
logger |
val logger: Logger! |