@@ -388,10 +388,6 @@ func InspectDatabase(db ethdb.Database, keyPrefix, keyStart []byte) error {
388388 verkleTries stat
389389 verkleStateLookups stat
390390
391- // Les statistic
392- chtTrieNodes stat
393- bloomTrieNodes stat
394-
395391 // Meta- and unaccounted data
396392 metadata stat
397393 unaccounted stat
@@ -465,16 +461,6 @@ func InspectDatabase(db ethdb.Database, keyPrefix, keyStart []byte) error {
465461 case bytes .HasPrefix (key , bloomBitsMetaPrefix ) && len (key ) < len (bloomBitsMetaPrefix )+ 8 :
466462 bloomBits .Add (size )
467463
468- // LES indexes (deprecated)
469- case bytes .HasPrefix (key , chtTablePrefix ) ||
470- bytes .HasPrefix (key , chtIndexTablePrefix ) ||
471- bytes .HasPrefix (key , chtPrefix ): // Canonical hash trie
472- chtTrieNodes .Add (size )
473- case bytes .HasPrefix (key , bloomTrieTablePrefix ) ||
474- bytes .HasPrefix (key , bloomTrieIndexPrefix ) ||
475- bytes .HasPrefix (key , bloomTriePrefix ): // Bloomtrie sub
476- bloomTrieNodes .Add (size )
477-
478464 // Verkle trie data is detected, determine the sub-category
479465 case bytes .HasPrefix (key , VerklePrefix ):
480466 remain := key [len (VerklePrefix ):]
@@ -538,8 +524,6 @@ func InspectDatabase(db ethdb.Database, keyPrefix, keyStart []byte) error {
538524 {"Key-Value store" , "Beacon sync headers" , beaconHeaders .Size (), beaconHeaders .Count ()},
539525 {"Key-Value store" , "Clique snapshots" , cliqueSnaps .Size (), cliqueSnaps .Count ()},
540526 {"Key-Value store" , "Singleton metadata" , metadata .Size (), metadata .Count ()},
541- {"Light client" , "CHT trie nodes" , chtTrieNodes .Size (), chtTrieNodes .Count ()},
542- {"Light client" , "Bloom trie nodes" , bloomTrieNodes .Size (), bloomTrieNodes .Count ()},
543527 }
544528 // Inspect all registered append-only file store then.
545529 ancients , err := inspectFreezers (db )
0 commit comments