aere-research/parallel-executor/src/lib.rs
Aere Network 6cb0140fae Republished from a clean root: the compiled artifact is gone from history, and the local line of work joins the sanitized public line
The public history carried kat/__pycache__/mlkem768_reference.cpython-314.pyc,
a compiled Python artifact embedding the operator's absolute local path. Text
secret scanners do not read compiled binaries, which is exactly how it slipped
through, and removing it from the tip would have left it reachable through the
old root commits. So this repository is republished from a single clean root.

This root also carries, from the previously unpublished line of work:
- corrected LICENSE year, LICENSING.md, VERIFY-POLICY.md, and
  CITATIONS-UNRESOLVED.md remeasured 2026-08-11 (101 paths, README aligned)
- O-018: run_consensus_verification.py ran 19 of 29 models and reported PASS;
  it now runs all 29, and computemarket_smt.py gains resolveByTimeout /
  reclaimUnsettled cases plus a negative control
- O-006: the word 'audited' removed from next to Bouncy Castle, twice, after a
  concurrent edit resurrected it
- O-014: prior art named and dated - Algorand's native falcon_verify shipped
  about ten months before AERE's precompiles; the primacy claim is withdrawn
  where it was implied
- bench/ scripts parametrized so they actually run for an outsider (the
  earlier textual sanitization left $STAGING unexpanded inside Python strings)
- AIP-2/AIP-3 errata with measured figures, spec remeasurements at 2026-08-01,
  and the spec-zk-stack retractions (owner is an operational key, not the
  Foundation; 'maximally sound' withdrawn; aggregator V1 deprecated)
The redacted bench-host environment files from the sanitized line are kept
exactly as published; the unredacted local variants are not carried.
2026-08-15 13:52:14 +03:00

41 lines
1.5 KiB
Rust

//! aere-block-stm: a real Block-STM optimistic-concurrency parallel executor for
//! AERE rollup batches.
//!
//! HONEST SCOPE
//! ------------
//! This does NOT make AERE's Layer-1 base execution parallel. AERE's L1 is
//! Hyperledger Besu, which executes transactions sequentially; parallelizing
//! Besu itself is a Java execution-client fork and is out of scope here.
//!
//! What this IS: a standalone, correct, benchmarked parallel EVM-style
//! transaction executor that AERE's ROLLUP layer (AereRaaSFactory /
//! AereRollupSettlement / the rollup sequencer) can call to execute a batch of
//! rollup transactions across many CPU cores and commit a single state root.
//! The committed result is provably identical to sequential execution
//! (serializability), which is exactly what makes the resulting state root a
//! valid rollup commitment.
//!
//! Public API
//! ----------
//! - [`sequential::execute_block_sequential`] -- the reference/oracle.
//! - [`parallel::execute_block_parallel`] -- the Block-STM executor.
//! - [`keccak::state_root`] -- keccak256 commitment over a final state.
pub mod keccak;
pub mod mvmemory;
pub mod parallel;
pub mod predict;
pub mod scheduler;
pub mod sequential;
pub mod types;
pub mod vm;
pub mod workload;
pub use parallel::{
execute_block_parallel, execute_block_parallel_predicted, execute_block_parallel_split,
ExecStats,
};
pub use predict::compute_predicted_preds;
pub use sequential::execute_block_sequential;
pub use types::{Key, StateMap, TxKind, Txn, Value};