swarm/network: fix chunk integrity checks (#3665)
* swarm/network: integrity on incoming known chunks * swarm/network: fix integrity check for incoming chunks * swarm/storage: imrpoved integrity checking on chunks * dbstore panics on corrupt chunk entry an prompts user to run cleandb * memstore adds logging for garbage collection * dbstore refactor item delete. correct partial deletes in Get * cmd/swarm: added cleandb subcommand
Showing
- cmd/swarm/cleandb.go 39 additions, 0 deletionscmd/swarm/cleandb.go
- cmd/swarm/main.go 9 additions, 0 deletionscmd/swarm/main.go
- swarm/network/depo.go 15 additions, 9 deletionsswarm/network/depo.go
- swarm/network/syncer.go 3 additions, 3 deletionsswarm/network/syncer.go
- swarm/storage/dbstore.go 52 additions, 9 deletionsswarm/storage/dbstore.go
- swarm/storage/memstore.go 7 additions, 0 deletionsswarm/storage/memstore.go
Loading
Please register or sign in to comment