aboutsummaryrefslogtreecommitdiff
path: root/gnunet-dht-block-types/registry.rec
diff options
context:
space:
mode:
Diffstat (limited to 'gnunet-dht-block-types/registry.rec')
-rw-r--r--gnunet-dht-block-types/registry.rec102
1 files changed, 102 insertions, 0 deletions
diff --git a/gnunet-dht-block-types/registry.rec b/gnunet-dht-block-types/registry.rec
new file mode 100644
index 0000000..e73dea4
--- /dev/null
+++ b/gnunet-dht-block-types/registry.rec
@@ -0,0 +1,102 @@
1# -*- mode: rec -*-
2#
3# Registry for GNU Name System record types
4#
5
6%rec: BlockType
7%key: Number
8%type: Number int
9%mandatory: Number
10%typedef: Name_t regexp /^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-]*$/
11%type: Name Name_t
12%unique: Name
13%mandatory: Name
14%mandatory: Comment
15%allowed: Contact
16%allowed: References
17%sort: Number Name Contact References
18
19Number: 0
20Name: ANY
21Comment: Identifier for any block.
22References: None
23
24Number: 1
25Name: FS_DBLOCK
26Comment: Data block (leaf) in the CHK tree.
27References: None
28
29Number: 2
30Name: FS_IBLOCK
31Comment: Inner block in the CHK tree.
32References: None
33
34Number: 6
35Name: FS_ONDEMAND
36Comment: Type of a block representing a block to be encoded on demand from disk. Should never appear on the network directly.
37References: None
38
39Number: 7
40Name: LEGACY_HELLO
41Comment: Legacy type of a block that contains a HELLO for a peer.
42References: None
43
44Number: 8
45Name: TEST
46Comment: Block for testing.
47References: None
48
49Number: 9
50Name: FS_UBLOCK
51Comment: Type of a block representing any type of search result (universal).
52References: None
53
54Number: 10
55Name: DNS
56Comment: Block for storing DNS exit service advertisements.
57References: None
58
59Number: 11
60Name: GNS_NAMERECORD
61Comment: Block for storing GNS record data.
62References: None
63
64Number: 12
65Name: REVOCATION
66Comment: Block type for a revocation message by which a key is revoked.
67References: None
68
69Number: 13
70Name: DHT_HELLO
71Comment: Type of a block that contains a DHT-NG HELLO for a peer.
72References: LSD-0004
73
74Number: 22
75Name: REGEX
76Comment: Block to store a cadet regex state
77References: None
78
79Number: 23
80Name: REGEX_ACCEPT
81Comment: Block to store a cadet regex accepting state
82References: None
83
84Number: 24
85Name: SET_TEST
86Comment: Block for testing set/consensus. If first byte of the block is non-zero, the block is considered invalid.
87References: None
88
89Number: 25
90Name: CONSENSUS_ELEMENT
91Comment: Block type for consensus elements. Contains either special marker elements or a nested block.
92References: None
93
94Number: 26
95Name: SETI_TEST
96Comment: Block for testing set intersection. If first byte of the block is non-zero, the block is considered invalid.
97References: None
98
99Number: 27
100Name: SETU_TEST
101Comment: Block for testing set union. If first byte of the block is non-zero, the block is considered invalid.
102References: None