diff options
| author | tv <tv@krebsco.de> | 2026-11-16 17:13:11 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 18:28:45 +0100 |
| commit | fa054999e84746d41561da4217ba84cd4d062d1a (patch) | |
| tree | dfae75ba8b1e953bc4162e36ce1e13d24315ea52 /docs/federation.md | |
| parent | 6ae894885cb97e1d64e8236a2ca1d877001263bd (diff) | |
federation: how deep an event may nest
256 KiB hold arrays some hundred thousand deep. A JSON reader stops at a depth of its
own, or none, or falls over: two builders' nodes parted on such an event. An event
nests objects and arrays up to 32 deep, its own object the first.
Diffstat (limited to 'docs/federation.md')
| -rw-r--r-- | docs/federation.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/federation.md b/docs/federation.md index ac81c4d..750e0b0 100644 --- a/docs/federation.md +++ b/docs/federation.md @@ -139,6 +139,7 @@ above, or if it is larger than the federation allows. So nobody but its signer m another event of what a party signed. Of an event, federation 1 allows: * up to 256 KiB, with up to 64 dependencies; +* objects and arrays nested up to 32 deep, the event's own object the first; * a key set of up to 16 keys, and a node list of up to 64 nodes; * in a write, a path of up to 32 segments, each of up to 255 bytes; * anywhere in it, numbers that are integers from −2⁵³ to 2⁵³, and strings of whole |
