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 Local Cluster Duplicate Switch Test (#32614) 2023-08-08 19:29:39 -04:00
cluster_tests.rs Split vote related code from runtime to its own crate (#32882) 2023-09-19 10:46:37 -07:00
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 Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
local_cluster.rs Move accounts-db code to its own crate (#32766) 2023-08-09 13:03:36 -07:00
local_cluster_snapshot_utils.rs embeds the new gossip ContactInfo in ClusterInfo (#30022) 2023-02-10 20:07:45 +00:00
validator_configs.rs Adds `--no-skip-initial-accounts-db-clean` *hidden* CLI flag (#33664) 2023-10-12 13:32:40 -04:00