diff --git a/src/index.rs b/src/index.rs
index 5f920eb085..91fb5e6cb8 100644
--- a/src/index.rs
+++ b/src/index.rs
@@ -11,7 +11,7 @@ use {
super::*,
crate::{
subcommand::{find::FindRangeOutput, server::InscriptionQuery},
- templates::{RuneHtml, StatusHtml},
+ templates::StatusHtml,
},
bitcoin::block::Header,
bitcoincore_rpc::{json::GetBlockHeaderResult, Client},
@@ -30,7 +30,7 @@ use {
},
};
-pub(crate) use self::entry::RuneEntry;
+pub use self::entry::RuneEntry;
pub(crate) mod entry;
mod fetcher;
@@ -87,18 +87,18 @@ pub enum List {
#[derive(Copy, Clone)]
pub(crate) enum Statistic {
Schema = 0,
- BlessedInscriptions,
- Commits,
- CursedInscriptions,
- IndexRunes,
- IndexSats,
- LostSats,
- OutputsTraversed,
- ReservedRunes,
- Runes,
- SatRanges,
- UnboundInscriptions,
- IndexTransactions,
+ BlessedInscriptions = 1,
+ Commits = 2,
+ CursedInscriptions = 3,
+ IndexRunes = 4,
+ IndexSats = 5,
+ LostSats = 6,
+ OutputsTraversed = 7,
+ ReservedRunes = 8,
+ Runes = 9,
+ SatRanges = 10,
+ UnboundInscriptions = 11,
+ IndexTransactions = 12,
}
impl Statistic {
@@ -855,29 +855,10 @@ impl Index {
)
}
- pub(crate) fn rune(&self, rune: Rune) -> Result