Mining
Eligibility
CoreTex mining eligibility is keyed exclusively by rigId. The deployed rig
contracts determine:
- whether the rig is active and permitted to mine;
- its tier and epoch credit allowance;
- whether the submitting operator owns, leases, or is delegated the rig;
- its current solve index and previous receipt hash; and
- whether credits or reward segments remain available.
One operator may control several rigs. A rig ID is a uint256 and should be
represented as a decimal string in JSON to avoid numeric rounding.
Candidate construction
Begin with the live API as the current protocol source:
- Read
/coretex/v5/statusand/coretex/v5/coretex/frontier. - Fetch
/coretex/v5/schemaand/coretex/v5/kit/manifest. - Download every required file by its content hash.
- Reproduce the current parent locally with the miner kit.
- Implement one or more M1-M6 hooks using the advertised ABI and capabilities.
- Run the local deterministic preflight and benchmark.
- Call
/coretex/v5/dryrunagainst the confirmed parent. - Submit the content-addressed candidate to
/coretex/v5/candidates. - Poll the returned attempt URL.
- If admitted, inspect and broadcast the returned receipt from the authorized rig operator address.
Candidates should express general mechanisms. Memorized answers and corpus-specific lookup tables fail the evaluator's generalization controls. The evaluator may use hidden cases, fresh instances, canaries, held-out generations, size limits, and resource bounds to distinguish reusable improvements from benchmark leakage.
Evaluation
The active evaluation law is part of coreVersionHash and is published through
the miner kit. It compares the candidate with the current state under identical
inputs. Depending on the active law, it may measure retrieval quality, temporal
and conflict validity, disclosure safety, rendered context cost, deterministic
work, storage, and generalization.
Acceptance is fail-closed. Structural preflight confirms candidate shape and compatibility. The coordinator evaluation establishes improvement, and its issued receipt authorizes submission to the mining contract.
The queue is FIFO and durable. Submission returns after enqueue, and evaluation continues in the worker. Infrastructure failures may be retried; a deterministic candidate rejection is terminal.