Crates.io | jd_client |
lib.rs | jd_client |
version | 0.1.1 |
source | src |
created_at | 2024-03-29 15:40:05.288366 |
updated_at | 2024-05-07 14:39:48.874561 |
description | TODO |
homepage | |
repository | https://github.com/stratum-mining/stratum |
max_upload_size | |
id | 1190307 |
size | 185,995 |
OpenExtendedChannel
to upstreamThe configuration file contains the following information:
downstream_address
) and port (downstream_port
).max_supported_version
and min_supported_version
) with size as (min_extranonce2_size
)authority_public_key
, authority_secret_key
)retry
parameter which tells JDC the number of times to reinitialize itself after a failure.tp_address
).tp_authority_public_key
from the logs of your TP, for example:Run the Job Declarator Client (JDC): There are two files when you cd into roles/jd-client/config-examples/
jdc-config-hosted-example.toml
connects to the community-hosted roles.jdc-config-local-example.toml
connects to self-hosted Job Declarator Client (JDC) and Translator Proxycd roles/jd-client/config-examples/
cargo run -- -c jdc-config-hosted-example.toml