Skip to main content

Crate jd_server_sv2

Crate jd_server_sv2 

Source
Expand description

Job Declaration Server (JDS) for the Stratum V2 protocol.

This crate implements a server that validates custom mining jobs declared by downstream clients via the Job Declaration Protocol (JDP). It manages token allocation, coinbase and merkle path validation, and delegates block-level validation to a modular Job Validation Engine.

The primary entry point is job_declarator::JobDeclarator, which provides:

When used as a library (embedded in Pool), the caller is responsible for owning the CancellationToken and TaskManager.

Modules§

config
Configuration Module
error
Error types and recovery actions for the Job Declaration Server.
io_task
Low-level Noise I/O tasks.
job_declarator
Core Job Declaration engine.