Diff: [root] @ 3d03cc5e098 | faq | css

Fixed link n stuff

File: hellnet/protocols/queries [Diff]

diff --git a/hellnet/protocols/queries b/hellnet/protocols/queries
index 59335f3..8be0c24 100644
-- a/hellnet/protocols/queries
++ b/hellnet/protocols/queries
@@ -5,7 +5,7 @@ Warning: This document is WIP(Work In Progress) and incomplete. No implementatio
h2. Basics

Query is valid Hellnet [[transfer|transfer module]] that has three mandatory fields:
* 'hops' —- -- number of peers that this query has gone through.
Should start with random value from 0 to 5 (or more) for anonimity purposes and every peer must add 1 to its value. After certain amount of hops chances of dropping query should increase with every peer.
* 'type' -- query type.
The one currently defined type is 'hash', which queries for data with hash specified in 'args'.
@@ -13,6 +13,6 @@ Query is valid Hellnet [[transfer|transfer module]] that has three mandatory fie
A string that contains query arguments (such as data digest for 'hash').
* 'id' -- unique ID of query, is [[/hellnet/crypto/hashing|digest]] of string 'type:args:origin'.
* 'origin' -- key ID of query origin.
* 'signature' -- cryptographic (GnuPG?) [[/hellnet/crypto/hash/asymmetric|signature]] [[/hellnet/crypto/asymmetric|signature]] of 'id', made with secret key from 'origin'.

Queries are created by node 1, being passed over to other nodes. One node should [[responses|respond]] to query if it has needed information and not overloaded, thus stopping passing the query, or pass query along otherwise.
\ No newline at end of file

By Voker57 on 2009-03-01 22:19:06 +0300 Powered by bitcheese wiki engine