Diff: [root] @ 208b21b5fc1 | faq | css

Hellnet: meta

File: hellnet/status [Diff]

diff --git a/hellnet/status b/hellnet/status
index e64e9da..c05b60b 100644
-- a/hellnet/status
++ b/hellnet/status
@@ -4,4 +4,4 @@ h2. Server implementations

*Hellspawn* -- Hellnet daemon in Qt/C++. Supports data inserting, retrieving, [[protocols/transfer|message]] parsing and even some network connectivity. Doesn't work out of localhost, development is stopped in favour of hspawn.

*[[hspawn|Hspawn]]* -- Hellnet daemon in Haskell. Currently supports data inserting and retrieval (optionally [[crypto/symmetric|encrypted]]), [[tech/metatrees]] with [[tech/metatrees]], manual bootstrapping and semi-automatic server discovery discovery.

File: hellnet/tech/URIs/meta [Diff]

diff --git a/hellnet/tech/URIs/meta b/hellnet/tech/URIs/meta
index 93be4b4..e22a9b3 100644
-- a/hellnet/tech/URIs/meta
++ b/hellnet/tech/URIs/meta
@@ -2,16 +2,21 @@ h1. Meta hell:// URIs

h2. Regex

@^hell://meta/([0-9a-f]{64})/([^/]+)/(.*)$@

@^hell://meta/([0-9a-f]{64})/([^/]+)/(.*)(/.*)$@

$1: public key hash
$2: meta name
$3: JPath to meta content

h2. Optional parameters

name: Any string, contents' filename
key: hex number, symmetric encryption key

h2. Returned data

JSON structure (meta content with possibly applied JPath).

h2. How it works

When updating, client should first check the date; if it's bigger than his current metatree, checks if signature is valid. If it's ok, then it replaces its own metatree with one available under given link.

By Voker57 on 2010-02-20 00:41:16 +0300 Powered by bitcheese wiki engine