org.cairnsproto.draft.policy
The rules that turn evidence into confidence and credit. A policy that extends another overrides only the fields it sets.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | draft.cairnsproto.org |
| Indexed |
Showing version bafyreih5phgm7g6vrdpsxew54x65n7cs2g7nx3f7n2xoqck3hriodypwxe. Show the latest
Record
record · key tidProperties
activationDelay
integerEpochs after a timekeeper first sees a version before additions to its executable surface take effect.
minimum: 0default: 24
blind
booleanPayloads are timelock-encrypted to the round that closes the epoch.
default: false
canonicalizers
arraymaxLength: 256
confidence
refCheck that maps tallies to [low, high] per candidate. Absent means the built-in Beta-share interval.
deny
arrayWeight 0 in this reading, including agents through sponsor links.
maxLength: 10000
escalation
arraymaxLength: 64
extends
reflabelers
arrayLabelers the policy trusts, and which of each one's labels it honors with their standard effects.
maxLength: 64
nullSampling
refpriorities
arraymaxLength: 1024
requiredChecks
arrayA candidate that fails a required check has a low bound of 0.
maxLength: 64
retraceBudget
integerAutomatic retraces per site. A new distinct value schedules more.
minimum: 0default: 3
thresholds
reftimekeepers
arraymaxLength: 16
#builtinCanonicalizer
objectBuilt-in steps applied in order to every string value in the payload. Object keys, $type, $link and $bytes are never changed.
Properties
minLength: 1maxLength: 8
maxLength: 64knownValues: identity | text | integerStrings | lowercase
#canonicalizer
objectHow payloads of one schema become candidate values. Stones whose canonical values are equal are the same candidate. Schemas without an entry use identity.
Properties
#checkCanonicalizer
objectA WASM check that maps a payload to its canonical value.
Properties
#courseSelector
objectProperties
A course id from the project.
maxLength: 128
#credit
objectProperties
attemptWeightPpm
integerminimum: 0maximum: 1000000default: 50000
dedup
booleanOpen-scope dedup: a new site earns placement credit only if no earlier site matches it.
default: false
pebbleWeightPpm
integerminimum: 0maximum: 1000000default: 500000
volunteeredWeightPpm
integerminimum: 0maximum: 1000000default: 500000
#draw
objectProperties
drawnToRaise
integerAgreeing drawn retraces needed before the low bound can rise without an anchor.
minimum: 1default: 1
epochRounds
integerdrand quicknet rounds per epoch. 1200 rounds of 3 seconds is one hour.
minimum: 1default: 1200
startThresholdPpm
integerStarting draw threshold T; doubles each epoch without a drawn retrace.
minimum: 0maximum: 1000000default: 31250
volunteeredWeightPpm
integerminimum: 0maximum: 1000000default: 500000
windowEpochs
integerHow long a drawn sponsor has to deliver.
minimum: 1default: 24
#flowBack
objectProperties
capMultiple
integerFlow-back is capped at this multiple of a stone's own credit.
minimum: 0default: 5
#judge
objectProperties
#labeler
object#modelWeight
object#models
objectProperties
accept
arraymaxLength: 256
defaultWeightPpm
integerWeight for stones from unlisted models.
minimum: 0maximum: 1000000default: 0
sameSetupWeightPpm
integerExtra weight on each agreeing read beyond the first from one setup (model, modelVersion and config hash) at a site.
minimum: 0maximum: 1000000default: 1000000
#nullSampling
objectSampling for nulls without segments: initialPpm at first, then sampleNumerator/n after n passes, never below floorPpm.
Properties
floorPpm
integerminimum: 0maximum: 1000000default: 100000
initialPpm
integerminimum: 0maximum: 1000000default: 1000000
poolClearSamples
integerPassing samples that clear a pool for final credit.
minimum: 1default: 60
sampleNumerator
integerminimum: 1default: 3
#priority
objectProperties
Relative need. Weights routing and placement credit.
minimum: 0
#siteSelector
objectProperties
Site key.
#thresholds
objectBars on the low bound of the leading candidate's interval.
Properties
exportPpm
integerminimum: 0maximum: 1000000default: 950000
finalizeCreditPpm
integerminimum: 0maximum: 1000000default: 900000
minFamilies
integerModel families a candidate's agreeing reads must come from before it clears the open-children or export bar. A read that declares no model is a family of its own sponsor.
minimum: 1default: 1
openChildrenPpm
integerminimum: 0maximum: 1000000default: 800000
stopRoutingPpm
integerminimum: 0maximum: 1000000default: 990000