GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs: never set introduced_epoch in the future; third challenge needs… · CortexLM/cortex@f03b843

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • config
    • challenges.toml
  • deploy
    • README.md
  • docs
    • THREAT_MODEL.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎config/challenges.toml‎

Copy file name to clipboardExpand all lines: config/challenges.toml
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Development challenge profile (emission shares). The master reads
22
# this unsigned file; the gateway serves it at GET /v1/trust and validators build their
3-
# view from that. To change shares: edit, bump `version`, restart the master.
3+
# view from that. To change shares: edit, bump `version`, restart the master between two
4+
# epochs. Never set `introduced_epoch` above the current epoch (sealing and decoding stop
5+
# for older epochs). A third challenge or free shares need `challenges_version >= 3`.
46
#
57
# Two live challenges. Emission: bounty = 2000, proof = 8000 bps (sum 10000).
68
# Readiness is independent of these shares: a missing feed, topic, baseline,
Collapse file

‎deploy/README.md‎

Copy file name to clipboardExpand all lines: deploy/README.md
+10-3Lines changed: 10 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,16 @@ The challenge profile is the unsigned `config/challenges.toml` (plus
208208
of truth and serves it at `GET /v1/trust`.
209209

210210
1. Edit the `[[challenges]]` shares (basis points, sum 10000) in `config/challenges.toml`.
211-
2. Bump `version` (and set `introduced_epoch` to a future epoch if the change must
212-
not apply to the current one). The gateway store refuses a version rollback.
213-
3. Run `python scripts/check_repo.py`, then restart the master.
211+
2. Bump `version`. Adding a third challenge or arbitrary shares needs
212+
`challenges_version >= 3` (1..64 unique ids summing to 10000); versions 1-2 only
213+
accept the 2000/8000 and 3000/7000 splits. Do NOT set `introduced_epoch` in the
214+
future: the profile is global, so the master then cannot seal epochs before it
215+
and the gateway cannot decode stored seals older than it (`/v1/weights/latest`
216+
answers "unsealed" and the emission burns). Keep the existing value, or the epoch
217+
of the first bundle the new profile must govern, never above the current epoch.
218+
The gateway store refuses a version rollback.
219+
3. Run `python scripts/check_repo.py`, then restart the master between two epochs
220+
(just after a seal), because the new shares apply to the next bundle it builds.
214221
4. Validators pick up the new profile from `/v1/trust` at the next epoch; no
215222
validator restart or file copy is needed. Check `GET /v1/trust` shows the new
216223
`challenges_version`.
Collapse file

‎docs/THREAT_MODEL.md‎

Copy file name to clipboardExpand all lines: docs/THREAT_MODEL.md
+4-3Lines changed: 4 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ signed dissent can be retained as local evidence.
1414

1515
The Merkle root is not part of the Bittensor weight extrinsic. Peer consensus is
1616
therefore not a public chain transparency log. A colluding validator set can
17-
agree on one bad root, and an operator can delete local evidence. The owner signs
18-
the roots and runs the master, so a malicious owner can authorize dishonest
19-
challenge shares or generated topic rules that validators will faithfully accept.
17+
agree on one bad root, and an operator can delete local evidence. The operator
18+
runs the master and the gateway, and the challenge profile is unsigned, so a malicious
19+
operator can authorize dishonest challenge shares or generated topic rules that validators
20+
will faithfully accept.
2021

2122
## Trust boundaries
2223

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.