Skip to content

Commit

Permalink
exclude sat range end from calculating block based rarities (#13)
Browse files Browse the repository at this point in the history
* exclude sat range end from calculating block based rarities

* fix cargo ci

* change rpc to return block rarity chunks instead of total count

* improve block rarity response format to support new rarities in the future
  • Loading branch information
haozhiliu authored and nothing0012 committed Sep 26, 2023
1 parent fa23d9c commit 3c59253
Show file tree
Hide file tree
Showing 3 changed files with 153 additions and 177 deletions.
2 changes: 1 addition & 1 deletion src/block_rarity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use super::*;
use lazy_static::lazy_static;
use std::collections::HashMap;

#[derive(Debug, PartialEq, PartialOrd)]
#[derive(Debug, PartialEq, PartialOrd, Clone)]
pub enum BlockRarity {
Vintage,
Nakamoto,
Expand Down
1 change: 0 additions & 1 deletion src/index/updater/inscription_updater/stream.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

use crate::inscription::TransactionInscription;
use crate::subcommand::traits::Output;
use base64::{engine::general_purpose, Engine as _};
Expand Down
Loading

0 comments on commit 3c59253

Please sign in to comment.