global: snapshot

This commit is contained in:
nym21
2025-03-02 12:45:33 +01:00
parent 0453b6903a
commit ceefc8ffc6
14 changed files with 113 additions and 94 deletions

View File

@@ -72,10 +72,17 @@ impl Computer {
// exit,
// )?;
self.vecs.height_to_height.compute_transform(
starting_indexes.height,
&mut indexer.vecs.height_to_timestamp,
|_, height| height,
exit,
)?;
self.vecs.height_to_date.compute_transform(
starting_indexes.height,
&mut indexer.vecs.height_to_timestamp,
|timestamp| Date::from(*timestamp),
|timestamp, _| Date::from(*timestamp),
exit,
)?;