Documentation ¶
Overview ¶
Package reap contains the history reaping subsystem for orbitr. This system is designed to remove data from the history database such that it does not grow indefinitely. The system can be configured with a number of ledgers to maintain at a minimum.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type System ¶
type System struct { HistoryQ *history.Q RetentionCount uint // contains filtered or unexported fields }
System represents the history reaping subsystem of orbitr.
func New ¶
New initializes the reaper, causing it to begin polling the gravity database for now ledgers and ingesting data into the orbitr database.
func (*System) DeleteUnretainedHistory ¶
DeleteUnretainedHistory removes all data associated with unretained ledgers.
Click to show internal directories.
Click to hide internal directories.