Skip to main content

Module server

Module server 

Source
Expand description

Server communication for Webcash operations

This module handles HTTP communication with the Webcash server for operations like health checks, replacements, target queries, and mining report submissions.

Modules§

endpoints
Webcash server API endpoints

Structs§

HealthResponse
Health check response
HealthResult
Individual health check result
Legalese
Terms acceptance
MiningReportRequest
Mining report request
MiningReportResponse
Mining report response
ReplaceRequest
Replacement request
ReplaceResponse
Replacement response
ServerClient
Webcash server client (Clone shares connection pool)
ServerConfig
Server configuration
TargetResponse
Target information response

Enums§

NetworkMode
Network mode selection — the single source of truth for which server the wallet communicates with. Each Wallet instance owns its network mode.

Traits§

ServerClientTrait
Cross-platform server client trait