()
| 148 | } |
| 149 | |
| 150 | fn empty_slot() -> ExportSlot { |
| 151 | ExportSlot { |
| 152 | target: None, |
| 153 | timestamp: TimeStamp { counter: 5, peer: crate::PeerId(1) }, |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | /// A `SetExport(None)` truncation leaves a trailing empty slot. Such a network is value-equal to |
| 158 | /// the same network without that slot, so the soak oracle doesn't false-report drift. |