computer: stateful: maybe got rollback to work, tbd

This commit is contained in:
nym21
2025-08-19 23:34:05 +02:00
parent 05036c682f
commit da1ff2cacc
20 changed files with 267 additions and 139 deletions

View File

@@ -26,6 +26,7 @@ mod utils;
use indexes::Indexes;
pub use states::PriceToAmount;
use states::*;
#[derive(Clone)]
@@ -79,7 +80,6 @@ impl Computer {
Format::Compressed,
&indexes,
price.as_ref(),
&computed_path.join("states"),
)?,
transactions: transactions::Vecs::forced_import(
&computed_path,