status-go/cmd/statusd-prune
Andrea Franz 4317b8f687
add cmd/statusd-prune (#957)
add mailserver cleaner

use memstorage for leveldb in tests

avoid write if batch size is 0

add comments

add cmd/statusd-prune

rmeove batch size var in prune method

validate range values

pass only flag name to missingFlag

refactor Cleaner.prune method

update batch not to be a pointer

removed extra batch counter increment

don't increment counter if batch returns errors

add README
2018-05-17 19:24:00 +02:00
..
README.md add cmd/statusd-prune (#957) 2018-05-17 19:24:00 +02:00
main.go add cmd/statusd-prune (#957) 2018-05-17 19:24:00 +02:00

README.md

#statusd-prune

##Usage

cd $STATUS_GO_HOME/cmd/statusd-prune && \
  go build && \
  ./statusd-prune -db WNODE_DB_PATH -upper TIMESTAMP