| 80 | /// record the snapshot its candidates cite. Its index in `block_snapshots` is its |
| 81 | /// identity, which is what the audit's `snapshot_id` is built from. |
| 82 | /// |
| 83 | /// Every snapshot is retained rather than one per block: a block emitted twice |
| 84 | /// would otherwise overwrite the state a recorded candidate was read from, and |
| 85 | /// the audit would cite a snapshot whose contents no longer exist. |
| 86 | #[derive(Debug, Clone)] |
| 87 | struct BlockSnapshot { |
| 88 | block: usize, |
| 89 | reg_values: HashMap<String, String>, |
| 90 | } |
| 91 |
nothing calls this directly
no outgoing calls
no test coverage detected