application-research / autoretrieve

A server to make GraphSync data accessible on IPFS
22 stars 7 forks source link

Pruning is not working correctly #94

Closed elijaharita closed 2 years ago

elijaharita commented 2 years ago

On line 167 in randompruner.go, we try to prune pruner.threshold*pruner.pruneBytes which I think is a mistake, it should just be pruner.pruneBytes.

Also, prune operations have been removing 0 blocks on the Estuary deployment. Still need to figure out the cause of this. Not sure if the same's happening for Bedrock. @kylehuntsman any info?

elijaharita commented 2 years ago

fixed