Skip to content

Commit

Permalink
2 bytes per UTXO probably isn't enough. There are thousands which sha…
Browse files Browse the repository at this point in the history
…re the same first 2 bytes
  • Loading branch information
gmart7t2 committed Aug 7, 2023
1 parent d96d8fa commit 455be21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl Entry for InscriptionId {
}
}

pub const PREFIX_BYTES: usize = 2;
pub const PREFIX_BYTES: usize = 3;
pub const OUTPOINT_BYTES: usize = 32 + 4;
pub type OutPointPrefix = [u8; OUTPOINT_BYTES];
pub(super) type OutPointPrefixValue = [u8; PREFIX_BYTES];
Expand Down

0 comments on commit 455be21

Please sign in to comment.