]> git.mxchange.org Git - quix0rs-apt-p2p.git/commit
Break up the find_value into 2 parts (with get_value).
authorCameron Dale <camrdale@gmail.com>
Sat, 23 Feb 2008 02:44:13 +0000 (18:44 -0800)
committerCameron Dale <camrdale@gmail.com>
Sat, 23 Feb 2008 02:44:13 +0000 (18:44 -0800)
commit92bb708a6485b52682fafc1aedc302e9a48cdaec
tree8261041aab425bd13db7ffb5f96c2fd2200d6b55
parentc2be1eee6c0157ddcb1dc188c96711eaa21c7897
Break up the find_value into 2 parts (with get_value).

To better support multiple values per key, the old find_value request is
broken up into find_value, which doesn't stop when it finds a node with
values but just records the number of values the node has, and
get_value, which queries the found nodes that have values to retrieve
them.
TODO
apt_dht_Khashmir/actions.py
apt_dht_Khashmir/db.py
apt_dht_Khashmir/khashmir.py
apt_dht_Khashmir/knode.py
apt_dht_Khashmir/node.py