swarm/storage/feed: remove unused code (#18324)

This commit is contained in:
Anton Evangelatov
2018-12-17 11:32:55 +01:00
committed by GitHub
parent 3ad73443c7
commit d322c9d550
3 changed files with 4 additions and 30 deletions

View File

@ -23,7 +23,6 @@ import (
"context"
"fmt"
"sync"
"time"
"github.com/ethereum/go-ethereum/swarm/storage/feed/lookup"
@ -32,12 +31,10 @@ import (
)
type Handler struct {
chunkStore *storage.NetStore
HashSize int
cache map[uint64]*cacheEntry
cacheLock sync.RWMutex
storeTimeout time.Duration
queryMaxPeriods uint32
chunkStore *storage.NetStore
HashSize int
cache map[uint64]*cacheEntry
cacheLock sync.RWMutex
}
// HandlerParams pass parameters to the Handler constructor NewHandler