tuweni / org.apache.tuweni.stratum.server

Package org.apache.tuweni.stratum.server

Types

JsonRpcRequest

data class JsonRpcRequest

JsonRpcSuccessResponse

data class JsonRpcSuccessResponse

PoWInput

data class PoWInput

PoWSolution

data class PoWSolution

Stratum1EthProxyProtocol

Implementation of the stratum1+tcp protocol.

class Stratum1EthProxyProtocol : StratumProtocol

Stratum1Protocol

Implementation of the stratum+tcp protocol.

class Stratum1Protocol : StratumProtocol

StratumConnection

Persistent TCP connection using a variant of the Stratum protocol, connecting the client to miners.

class StratumConnection

StratumProtocol

Handler capable of taking care of a connection to a Stratum server according to a specific flavor of the Stratum protocol.

interface StratumProtocol

StratumServer

Server capable of handling connections from Stratum clients, authenticate and serve content for them.

class StratumServer

Functions

main

Simple main function to run the server with a self-signed certificate.

fun main(): Unit