[][src]Module cn_stratum::client

Pool client implementation. Client API is synchronous because users will not normally want to multiplex lots of upstreams.

Structs

ErrorReply
Job

Description of what hash to try to find.

JobAssignment

Initial job assignment and reply to subsequent job requests

PoolClient

A synchronous stratum pool client, customized with a MessageHandler.

PoolClientWriter

Write-end of a logged-in connection to a pool.

RequestId

Id for matching our requests with server replies.

Traits

MessageHandler

Trait for objects that can handle messages received from the pool.

Type Definitions

Result

Result of client operation.