modify doc

This commit is contained in:
zelig 2015-01-14 15:49:56 +00:00
parent 55ca0d1445
commit 5425224f59
2 changed files with 1 additions and 6 deletions

View file

@ -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. 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 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 { type DHTStore struct {
// note that it should be initialised with the same Cademlia instance that runs under the base protocol
// cad: *p2p.Cademlia
} }

View file

@ -282,8 +282,6 @@ func (s *dpaMemStorage) Put(req *Chunk) error {
return nil return nil
} }
// process retrieve channel requests
func (s *dpaMemStorage) Get(req *Chunk) { func (s *dpaMemStorage) Get(req *Chunk) {
entry := s.find(req.Key) entry := s.find(req.Key)