//! Known tree/table names for the database.
//! Used by RocksDB for open_cf_descriptors and for backend parity validation.

/// All known tree names.
pub const KNOWN_TREE_NAMES: &[&str] = &[
    "blocks",
    "headers",
    "height_index",
    "hash_to_height",
    "witnesses",
    "recent_headers",
    "utxos",
    "ibd_utxos",
    "ibd_utxos_ckpt_a",
    "ibd_utxos_ckpt_b",
    "spent_outputs",
    "chain_info",
    "work_cache",
    "chainwork_cache",
    "utxo_stats_cache",
    "network_hashrate_cache",
    "invalid_blocks",
    "chain_tips",
    "block_metadata",
    "tx_by_hash",
    "tx_by_block",
    "tx_metadata",
    "address_tx_index",
    "address_output_index",
    "address_input_index",
    "value_index",
    "utxo_commitments",
    "commitment_height_index",
    "vaults",
    "pools",
    "batches",
    // Test-only tree names used by storage_tests
    "test_abc123_state",
    "test_xyz789_state",
    "test123_cache",
    "test456_data",
    "test_mod123_state",
    "test_mod123_cache",
    "test_state_a",
    "test_state_b",
    // rocksdb_tests (tests/rocksdb_tests.rs) — CFs must exist at DB open
    "test_tree",
    "tree1",
    "tree2",
    "dynamic_tree_0",
    "dynamic_tree_1",
    "dynamic_tree_2",
    "dynamic_tree_3",
    "dynamic_tree_4",
    "dynamic_tree_5",
    "dynamic_tree_6",
    "dynamic_tree_7",
    "dynamic_tree_8",
    "dynamic_tree_9",
];
