solana-with-rpc-optimizations/ledger
steviez 7a144e2b9f
Make ReplayStage own the threadpool for tx replay (#190)
The threadpool used to replay multiple transactions in parallel is
currently global state via a lazy_static definition. Making this pool
owned by ReplayStage will enable subsequent work to make the pool
size configurable on the CLI.

This makes `ReplayStage` create and hold the threadpool which is passed
down to blockstore_processor::confirm_slot().

blockstore_processor::process_blockstore_from_root() now creates its'
own threadpool as well; however, this pool is only alive while for
the scope of that function and does not persist the lifetime of the
process.
2024-03-12 13:21:11 -05:00
..
benches Add benchmark for execute_batch (#34717) 2024-01-13 09:09:04 -08:00
src Make ReplayStage own the threadpool for tx replay (#190) 2024-03-12 13:21:11 -05:00
tests adds chained_merkle_root to shredder arguments (#34952) 2024-01-27 15:04:31 +00:00
.gitignore
Cargo.toml SVM: Move SVM code to its own crate folder (#35119) 2024-02-06 16:06:32 -08:00
build.rs Crates have identical build.rs to frozen-abi can just be symlink (#33787) 2023-10-21 13:33:10 -05:00