diff options
author | Zahoor Mohamed <zahoor@zahoor.in> | 2017-09-22 04:22:51 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-09-22 04:22:51 +0800 |
commit | d558a595adf4e89bab5b28ffde1448dc1e5768b0 (patch) | |
tree | 1316cca927bfd4dfc4a8673ae0b9c2f75724f07e /swarm/storage/dbstore.go | |
parent | 3c8656347f67dbc8e57c663ec5c26d24c4151678 (diff) | |
download | dexon-d558a595adf4e89bab5b28ffde1448dc1e5768b0.tar dexon-d558a595adf4e89bab5b28ffde1448dc1e5768b0.tar.gz dexon-d558a595adf4e89bab5b28ffde1448dc1e5768b0.tar.bz2 dexon-d558a595adf4e89bab5b28ffde1448dc1e5768b0.tar.lz dexon-d558a595adf4e89bab5b28ffde1448dc1e5768b0.tar.xz dexon-d558a595adf4e89bab5b28ffde1448dc1e5768b0.tar.zst dexon-d558a595adf4e89bab5b28ffde1448dc1e5768b0.zip |
swarm/storage: pyramid chunker re-write (#14382)
Diffstat (limited to 'swarm/storage/dbstore.go')
-rw-r--r-- | swarm/storage/dbstore.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/storage/dbstore.go b/swarm/storage/dbstore.go index cbeddb8cb..46a5c16cc 100644 --- a/swarm/storage/dbstore.go +++ b/swarm/storage/dbstore.go @@ -72,12 +72,12 @@ type DbStore struct { gcPos, gcStartPos []byte gcArray []*gcItem - hashfunc Hasher + hashfunc SwarmHasher lock sync.Mutex } -func NewDbStore(path string, hash Hasher, capacity uint64, radius int) (s *DbStore, err error) { +func NewDbStore(path string, hash SwarmHasher, capacity uint64, radius int) (s *DbStore, err error) { s = new(DbStore) s.hashfunc = hash |