Diff: [root] @ aead32646e6 | faq | css

Added queries

File created: hellnet/protocols/queries [Diff]

-- /dev/null++ b/hellnet/protocols/queries
@@ -1 +1,13 @@
h1. Hellnet queries

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'.

* 'args' -- query arguments.
A string that contains query arguments (such as data digest for 'hash')

By Voker57 on 2009-03-01 15:40:05 +0000