move towards accounts index being dynamic (#19032)

This commit is contained in:
Jeff Washington (jwash)
2021-08-04 09:18:05 -05:00
committed by GitHub
parent 06e08c4840
commit 31a620c42b
3 changed files with 69 additions and 59 deletions

View File

@@ -1,6 +1,7 @@
use solana_sdk::pubkey::Pubkey;
pub(crate) struct PubkeyBinCalculator16 {
#[derive(Debug)]
pub struct PubkeyBinCalculator16 {
// how many bits from the first 2 bytes to shift away to ignore when calculating bin
shift_bits: u32,
}