Module cfxcore::block_data_manager::db_gc_manager
source · Structs§
- Each time we make a new checkpoint, we will mark more data as garbage depending on the parameters. To avoid the GC process affecting normal transaction execution or RPC-handling, we GC data gradually, and expect to finish removing the data in a previous era with less time than the period that the consensus graph makes a new era (the default configuration is to finish GC with half an era).