The overrides table in the burnchain DB (stackslib/src/burnchains/db.rs:285) looks like a band-aid from the past. Its schema comment describes an mechanism to override a reward cycle's affirmation map (e.g. to avoid a deep reorg from a hidden anchor block), but it appears to be dead:
- There is no reader outside tests.
- Only writer is test-only - #[cfg(test)] BurnchainDB::test_insert_override_row (db.rs:1043).
This came out in #7317 (comment), where rather than copy its always-empty rows we reclassified it as a schema-only table in the snapshot copy. If the table is deprecated, we should drop it instead (and also remove it from the snapshot)
The overrides table in the burnchain DB (stackslib/src/burnchains/db.rs:285) looks like a band-aid from the past. Its schema comment describes an mechanism to override a reward cycle's affirmation map (e.g. to avoid a deep reorg from a hidden anchor block), but it appears to be dead:
This came out in #7317 (comment), where rather than copy its always-empty rows we reclassified it as a schema-only table in the snapshot copy. If the table is deprecated, we should drop it instead (and also remove it from the snapshot)