Discover Packages
storj.io/storjscan
blockchain
cleanup
package
Version:
v1.0.9
Opens a new window with list of versions in this module.
Published: Aug 2, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Chore to remove old block headers.
architecture: Chore
NewChore creates new chore for removing old block headers.
RunOnce removes old block headers.
type Config struct {
Interval time .Duration `help:"how often to remove old block headers" default:"336h" testDefault:"$TESTINTERVAL"`
RetainDays int `help:"number of days of block headers to retain" default:"30"`
}
Config is a configuration struct for the Chore.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.