diff options
Diffstat (limited to 'draft-schanzen-r5n.xml')
-rw-r--r-- | draft-schanzen-r5n.xml | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/draft-schanzen-r5n.xml b/draft-schanzen-r5n.xml index 8cf874c..9ed5000 100644 --- a/draft-schanzen-r5n.xml +++ b/draft-schanzen-r5n.xml | |||
@@ -2490,20 +2490,25 @@ BEGIN | |||
2490 | also be impossible due to lack of storage capacity. | 2490 | also be impossible due to lack of storage capacity. |
2491 | </t> | 2491 | </t> |
2492 | <t> | 2492 | <t> |
2493 | Applications can and should define their own block types. | ||
2494 | The block type determines the format and handling of the block | 2493 | The block type determines the format and handling of the block |
2495 | payload by peers in <tt>PutMessages</tt> and <tt>ResultMessages</tt>. | 2494 | payload by peers in <tt>PutMessages</tt> and |
2496 | Block types <bcp14>MUST</bcp14> be registered with GANA | 2495 | <tt>ResultMessages</tt>. Applications can and should define |
2497 | (see <xref target="gana_block_type"/>). | 2496 | their own block types. Block types <bcp14>MUST</bcp14> be |
2497 | registered with GANA (see <xref target="gana_block_type"/>). | ||
2498 | Especially when new block types are introduced, some peers | ||
2499 | <bcp14>MAY</bcp14> lack support for the respective block | ||
2500 | operations. | ||
2498 | </t> | 2501 | </t> |
2499 | <t> | 2502 | <t> |
2500 | </t> | 2503 | </t> |
2501 | <section anchor="block_functions"> | 2504 | <section anchor="block_functions"> |
2502 | <name>Block Operations</name> | 2505 | <name>Block Operations</name> |
2503 | <t> | 2506 | <t> |
2504 | Block validation may be necessary for all types of DHT | 2507 | Block validation operations are used as part of message |
2505 | messages. To enable these validations, any block type | 2508 | processing (see <xref target="p2p_messages"/>) for all |
2506 | specification <bcp14>MUST</bcp14> define the following functions: | 2509 | types of DHT messages. To enable these validation |
2510 | operations, any block type specification | ||
2511 | <bcp14>MUST</bcp14> define the following functions: | ||
2507 | </t> | 2512 | </t> |
2508 | <dl> | 2513 | <dl> |
2509 | <dt>ValidateBlockQuery(Key, XQuery) | 2514 | <dt>ValidateBlockQuery(Key, XQuery) |