solana/local-cluster/src
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
..
cluster.rs
cluster_tests.rs
integration_tests.rs Use is_trusted bool in insert_shreds() instead manually adjusting root (#34010) 2023-11-09 22:56:48 -06:00
lib.rs
local_cluster.rs
local_cluster_snapshot_utils.rs
validator_configs.rs Adds `--no-skip-initial-accounts-db-clean` *hidden* CLI flag (#33664) 2023-10-12 13:32:40 -04:00