Subnet 110: how miners are paid, and how to check it
Green Compute is Bittensor subnet 110. This page says how the owner validator decides miners' weights, what it publishes, and what you can check yourself. The code is public:
- greencompute-node: the miner's node agent and
tools/gc_commit.py, which writes a miner's GPUs on chain. - greencompute-api: the validator. The rules on this page are in
services/validator/src/greencompute_validator/domain/capacity.py. - greencompute: the protocol package, with the list prices.
- greencompute-audit: the independent auditor. It recomputes the reports and the weights.
Miners state their GPUs on chain
Each miner hotkey writes one line in the chain's Commitments pallet (Commitments.CommitmentOf, netuid 110): one Raw field, ASCII, at most 128 bytes.
gc1;od=<model>:<n>[,<model>:<n>...];ct=<model>:<n>[,...]
od: GPUs on demand, on machines connected to the network.ct: GPUs under private contract.- A model is lowercase letters and digits (
RTX 4090isrtx4090). A count is 1 to 99999.
A line that starts with gc1; but breaks the format states no capacity. A new commitment replaces the old one. To see the line before signing it, and to read what a hotkey has on chain:
python tools/gc_commit.py build --on-demand rtx4090:8
python tools/gc_commit.py show --netuid 110 --hotkey-address <ss58>
The audit
Every epoch the owner validator reads every commitment at one block and checks it against its own records:
- On demand: the GPU model and count each machine connected for that miner reports to the network, as signed miner requests.
- Under contract: the miner's active contracts on file. Staff enter them from the signed contract. Nothing measures them, and the contracts are not published.
Per kind and model, verified is the smaller of what was committed and what the records show. Each miner gets a verdict:
| Verdict | Meaning |
|---|---|
ok | Everything committed is verified. |
over | More was committed than the records show. |
no_commitment | The miner wrote no commitment, or a broken one. |
unlinked | The hotkey has no provider on file. |
The validator holds records only for providers on file (providers apply to join) and the hotkeys their machines report under. A hotkey it has no record of verifies to 0 GPUs, so its weight is 0.
Probes
On-demand miners are sent inference canaries: a prompt with a fresh nonce that the answer must echo, so a passing answer was produced for that prompt. A canary goes through the validator's gateway by model name, and the gateway picks the replica that answers, so it does not show which miner, model or GPU produced the answer. A probe the validator could not put to the miner (no key, its gateway unreachable, the model still loading) is void and counts for nobody. Probes only take weight away: a miner nobody probed in an epoch loses nothing. Every probe is in the report, with the SHA256 of its prompt and response.
Weights
value = list price x GPUs counted
on demand: GPUs counted = verified GPUs on machines that reported recently
x the share of the epoch's probes the miner passed
x on_demand_factor
under contract: GPUs counted = verified GPUs
weight = value / everybody's value
- "Reported recently" is within
incentive.rules.online_within_seconds(900 by default).on_demand_factoris 1 by default. Both are published in every report underincentive.rules. - Only miners that are registered (have a uid) and have a value above 0 get weight. Weights are plain divisions, not rounded.
- List prices are
GPU_RATE_CENTS_PER_HOURin the protocol package, the same list as /platform/pricing. The report lists the prices it used inprices_cents_per_gpu_hour; a model with no list price uses its contracts' rate. capacity_audit.incentive.in_usesays whether that epoch's weights were set fromincentive.weights. When it is false, the weights are the validator's scorecards, which are in the same report.
What is published
GET https://validator.green-compute.com/validator/v1/capacity-audit: the latest capacity audit. Each miner's commitment, records, verified GPUs, verdict, and the incentive weights.GET https://validator.green-compute.com/validator/v1/audit/reports: the list of epochs./validator/v1/audit/reports/{epoch_id}is the full signed report.GET https://validator.green-compute.com/validator/v1/audit/hotkey.pub: the key that signs the reports.- On chain, the validator hotkey
5CCf21ieTFDMkVMs9BHe2Tb6ysVDGVHqbgKjU21CURLPq32dkeeps the report's SHA256 in field 1 of its ownCommitmentOffor netuid 110, plus a summary field:gca1;e=<epoch>;b=<block>;<uid>=<ok|ov|nc>:<verified GPUs>[;...]. When it is long it continues in a third field, or uses the short formgca1;e=…;b=…;n=…;ok=…;ov=…;nc=…. Unlinked miners are in the report only. Each epoch overwrites these fields, so reading an older one needs an archive node. - The GPU report shows the latest audit in its On chain card.
Check it yourself
git clone https://github.com/greencompute110/greencompute-audit
cd greencompute-audit
pip install -e .
python -m audit --once # every epoch not yet checked
python -m audit --epoch <epoch_id> # one epoch
The auditor fetches each report, checks its SHA256 against the validator's commitment on chain and its signature against the published key, and recomputes the capacity audit and the weights from the report's own figures. python -m audit.watch shows each validator's top weight targets on chain.
What cannot be checked from outside
- The records themselves. GPUs on demand are the GPU model and count the machines' node agents report, which each machine's operator configures (
GREENCOMPUTE_GPU_MODEL,GREENCOMPUTE_GPU_COUNT); the agent usesnvidia-smionly to leave out cards that are busy. GPUs under contract are what staff enter from the signed contract. - Probe outcomes are the validator's own observations. Their prompt and response hashes are published.
What can be checked: every gc1 commitment on chain, the report's hash on chain, its signature, and all the arithmetic from commitments and records to weights.
Green Compute