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

Fixed link n stuff

File: hellnet/protocols/queries [Diff]

-- a/hellnet/protocols/queries++ b/hellnet/protocols/queries
@@ -5,7 +5,7 @@
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,7 +13,7 @@
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.

By Voker57 on 2009-03-01 19:19:06 +0000