File: hellnet/protocols/queries [Diff]
-- a/hellnet/protocols/queries++ b/hellnet/protocols/queries
@@ -1,13 +1,12 @@
h1. Hellnet queries
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'.
* 'args' -- query arguments.
A string that contains query arguments (such as data digest for 'hash')