solana-with-rpc-optimizations/ledger
Wen 312f725f1e
wen_restart: Find the bank hash of the heaviest fork, replay if necessary. (#420)
* Find the bank hash of the heaviest fork, replay if necessary.

* Make it more explicit how heaviest fork slot is selected.

* Use process_single_slot instead of process_blockstore_from_root, the latter
may re-insert banks already frozen.

* Put BlockstoreProcessError into the error message.

* Check that all existing blocks link to correct parent before replay.

* Use the default number of threads instead.

* Check whether block is full and other small fixes.

* Fix root_bank and move comments to function level.

* Remove the extra parent link check.
2024-04-07 16:17:52 -07:00
..
benches Add benchmark for execute_batch (#34717) 2024-01-13 09:09:04 -08:00
src wen_restart: Find the bank hash of the heaviest fork, replay if necessary. (#420) 2024-04-07 16:17:52 -07: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