tx.open_table(OUTPOINT_TO_VALUE)?; tx.open_table(RUNE_ID_TO_RUNE_ENTRY)?; tx.open_table(RUNE_TO_RUNE_ID)?; tx.open_table(SAT_TO_SATPOINT)?; tx.open_table(SEQUENCE_NUMBER_TO_INSCRIPTION_ENTRY)?; tx.open_table(SEQUENCE_NUMBER_TO_RUNE)?; tx.open_table(SEQUENCE_NUMBER_TO_SATPOINT)?; tx.open_table(TRANSACTION_ID_TO_RUNE)?; tx.open_table(WRITE_TRANSACTION_STARTING_BLOCK_COUNT_TO_TIMESTAMP)?; { let mut outpoint_to_sat_ranges = tx.open_table(OUTPOINT_TO_SAT_RANGES)?; let mut statistics = tx.open_table(STATISTIC_TO_COUNT)?; if options.index_sats { outpoint_to_sat_ranges.insert(&OutPoint::null().store(), [].as_slice())?; } index_runes = options.index_runes(); index_sats = options.index_sats; statistics.insert( &Statistic::IndexRunes.key(), &u64::from(options.index_runes()), )?; statistics.insert(&Statistic::IndexSats.key(), &u64::from(options.index_sats))?;