leaf_pages: stats.leaf_pages(), branch_pages: stats.branch_pages(), stored_bytes: stats.stored_bytes(), metadata_bytes: stats.metadata_bytes(), fragmented_bytes: stats.fragmented_bytes(), }, ); } let wtx = self.begin_write()?; let stats = wtx.stats()?; let mut tables: BTreeMap = BTreeMap::new(); insert_multimap_table_info(&mut tables, &wtx, SATPOINT_TO_SEQUENCE_NUMBER); insert_multimap_table_info(&mut tables, &wtx, SAT_TO_SEQUENCE_NUMBER); insert_multimap_table_info(&mut tables, &wtx, SEQUENCE_NUMBER_TO_CHILDREN); insert_table_info(&mut tables, &wtx, HEIGHT_TO_BLOCK_HASH); insert_table_info(&mut tables, &wtx, HEIGHT_TO_BLOCK_HASH); insert_table_info(&mut tables, &wtx, HEIGHT_TO_LAST_SEQUENCE_NUMBER); insert_table_info(&mut tables, &wtx, HOME_INSCRIPTIONS); insert_table_info(&mut tables, &wtx, INSCRIPTION_ID_TO_SEQUENCE_NUMBER); insert_table_info(&mut tables, &wtx, INSCRIPTION_NUMBER_TO_SEQUENCE_NUMBER);