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.rec87
1 files changed, 87 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..793cf1e
--- /dev/null
+++ b/gnunet-dht-block-types/registry.rec
@@ -0,0 +1,87 @@
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: 1
20Name: FS_DBLOCK
21Comment: Data block (leaf) in the CHK tree.
22References: None
23
24Number: 2
25Name: FS_IBLOCK
26Comment: Inner block in the CHK tree.
27References: None
28
29Number: 6
30Name: FS_ONDEMAND
31Comment: Type of a block representing a block to be encoded on demand from disk. Should never appear on the network directly.
32References: None
33
34Number: 7
35Name: DHT_HELLO
36Comment: Type of a block that contains a HELLO for a peer.
37References: None
38
39Number: 8
40Name: TEST
41Comment: Block for testing.
42References: None
43
44Number: 9
45Name: FS_UBLOCK
46Comment: Type of a block representing any type of search result (universal).
47References: None
48
49Number: 10
50Name: DNS
51Comment: Block for storing DNS exit service advertisements.
52References: None
53
54Number: 11
55Name: GNS_NAMERECORD
56Comment: Block for storing GNS record data.
57References: None
58
59Number: 12
60Name: REVOCATION
61Comment: Block type for a revocation message by which a key is revoked.
62References: None
63
64Number: 13
65Name: DHT_URL_HELLO
66Comment: Type of a block that contains a DHT-NG HELLO for a peer.
67References: None
68
69Number: 22
70Name: REGEX
71Comment: Block to store a cadet regex state
72References: None
73
74Number: 23
75Name: REGEX_ACCEPT
76Comment: Block to store a cadet regex accepting state
77References: None
78
79Number: 24
80Name: SET_TEST
81Comment: Block for testing set/consensus. If first byte of the block is non-zero, the block is considered invalid.
82References: None
83
84Number: 25
85Name: CONSENSUS_ELEMENT
86Comment: Block type for consensus elements. Contains either special marker elements or a nested block.
87References: None