lsd0004

LSD0004: R5N Distributed Hash Table
Log | Files | Refs

commit e53fb37978755338e2a79ca7dd69d1cd215481aa
parent 62fbd832bbe95989d64fd118acd6a79ec36d9ead
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date:   Wed, 29 Dec 2021 12:04:34 +0100

results

Diffstat:
Mdraft-schanzen-r5n.xml | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/draft-schanzen-r5n.xml b/draft-schanzen-r5n.xml @@ -1007,25 +1007,25 @@ END Any block type implementation MUST implement the following functions. </t> <dl> - <dt>ValidateBlockQuery(Key, XQuery) -> QueryEvaluationResult</dt> + <dt>ValidateBlockQuery(Key, XQuery) -> RequestEvaluationResult</dt> <dd> is used to evaluate the request for a block. It is used as part of <tt>GetMessage</tt> processing, where the block payload is still unkown, but the block <tt>XQuery</tt> (FIXME: Undefined here) and <tt>Key</tt> can and MUST be verified, if possible. </dd> - <dt>ValidateBlockStoreRequest(PutMessage, Key) -> StoreRequestEvaluationResult</dt> + <dt>ValidateBlockStoreRequest(Block, Key) -> RequestEvaluationResult</dt> <dd> is used to evaluate a block including its key and payload. It is used as part of <tt>PutMessage</tt> processing. The validation MUST include a check of the block payload against the <tt>Key</tt> under which it is requested to be stored. </dd> - <dt>ValidateBlockReply(ResultMessage, XQuery, Key) -> ReplyEvaluationResult</dt> + <dt>ValidateBlockReply(Block, XQuery, Key) -> ReplyEvaluationResult</dt> <dd> is used to evaluate a block including its <tt>Key</tt> and payload. It is used as part <tt>ResultMessage</tt> processing. - The validation of a <tt>ResultMessage</tt> requires a pending local query + The validation of the respective <tt>Block</tt> requires a pending local query or a previously routed request of another peer and its associated XQuery data and Key. The validation MUST include a check of the block payload against the