solana-with-rpc-optimizations/ledger
steviez 1057ba8406
Use is_trusted bool in insert_shreds() instead manually adjusting root (#34010)
The test_duplicate_with_pruned_ancestor test needs to get around a
limitation where the shreds with a parent older than the latest root are
discarded. The previous approach manually adjusted the root value in the
blockstore; this is not ideal in that it is fiddling with the inner
working of Blockstore.

So, use the is_trusted argument in Blockstore::insert_shreds(); setting
is_trusted=true bypasses the sanity checks (including the parent >=
latest root check).
2023-11-09 22:56:48 -06:00
..
benches Replace get_tmp_ledger_path!() with self cleaning version (#33702) 2023-10-21 11:38:31 +02:00
src Use is_trusted bool in insert_shreds() instead manually adjusting root (#34010) 2023-11-09 22:56:48 -06:00
tests Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
.gitignore
Cargo.toml Define InstalledScheduler::wait_for_termination() (#33922) 2023-10-31 14:33:36 +09:00
build.rs Crates have identical build.rs to frozen-abi can just be symlink (#33787) 2023-10-21 13:33:10 -05:00