aboutsummaryrefslogtreecommitdiffstats
path: root/docs/guides/federation/designing-rules.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/guides/federation/designing-rules.md')
-rw-r--r--docs/guides/federation/designing-rules.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/guides/federation/designing-rules.md b/docs/guides/federation/designing-rules.md
index bd577cd..d8654f9 100644
--- a/docs/guides/federation/designing-rules.md
+++ b/docs/guides/federation/designing-rules.md
@@ -62,6 +62,10 @@ Keep party names apart from the shared spellings: a party named `wiki` takes `wi
where a `{party}` rule comes before the rule giving it to lass. Put the rules naming
shared places first, and let no party be named like one of them.
+Rules match spellings: an address written `ip4/10/243/7/3` and one written
+`ip4/10/243/07/3` are two places, which two rules may give to two parties. Take one
+spelling of each (no zeros in front, lower case), as no rule can tell them apart.
+
## What rules cost
A version holds all its rules, and every change of one is a version, which takes the
@@ -69,6 +73,9 @@ parties' votes. A rule per shared name is a vote per name, and makes every versi
much larger: give zones and blocks by rules where the spelling allows, and leave literal
rules to what is shared.
+A version is one event, all its rules with it, of at most 256 KiB: a rule per name holds
+a few thousand names.
+
Nor does a rule bound how many places below it a party writes, or how large a value is
but by an event's size (256 KiB): every node holds what counts, and every checkpoint
names it, 32 bytes an event. A party writing more than the others will hold is taken out