From 5425224f59f568b1e4454c1bd8df810e4f175383 Mon Sep 17 00:00:00 2001 From: zelig Date: Wed, 14 Jan 2015 15:49:56 +0000 Subject: [PATCH] modify doc --- bzz/dhtstore.go | 5 +---- bzz/memstore.go | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/bzz/dhtstore.go b/bzz/dhtstore.go index cde621a392..f9132e0cd4 100644 --- a/bzz/dhtstore.go +++ b/bzz/dhtstore.go @@ -3,11 +3,8 @@ package bzz /* DHT implements the chunk store that directly communicates with the bzz protocol on the one hand and the kademlia node table on the other. It accumulates requests from peers, keeping a request pool and does forwarding for incoming requests and handles expiry/timeout. - */ -// it implements the ChunkStore interface as well as the PeerPool interface for bzz +// it implements the ChunkStore interface type DHTStore struct { - // note that it should be initialised with the same Cademlia instance that runs under the base protocol - // cad: *p2p.Cademlia } diff --git a/bzz/memstore.go b/bzz/memstore.go index b327f059a9..c95c82c94d 100644 --- a/bzz/memstore.go +++ b/bzz/memstore.go @@ -282,8 +282,6 @@ func (s *dpaMemStorage) Put(req *Chunk) error { return nil } -// process retrieve channel requests - func (s *dpaMemStorage) Get(req *Chunk) { entry := s.find(req.Key)