[][src]Struct solana_runtime::bank::LegacyBank0223

pub struct LegacyBank0223 {
    pub rc: BankRc,
    pub src: StatusCacheRc,
    pub blockhash_queue: RwLock<BlockhashQueue>,
    pub ancestors: HashMap<Slot, usize>,
    pub hash: RwLock<Hash>,
    pub parent_hash: Hash,
    pub parent_slot: Slot,
    pub transaction_count: AtomicU64,
    pub tick_height: AtomicU64,
    pub signature_count: AtomicU64,
    pub capitalization: AtomicU64,
    pub max_tick_height: u64,
    pub hashes_per_tick: Option<u64>,
    pub ticks_per_slot: u64,
    pub ns_per_slot: u128,
    pub genesis_creation_time: UnixTimestamp,
    pub slots_per_year: f64,
    pub slots_per_segment: u64,
    pub slot: Slot,
    pub epoch: Epoch,
    pub block_height: u64,
    pub collector_id: Pubkey,
    pub collector_fees: AtomicU64,
    pub fee_calculator: FeeCalculator,
    pub collected_rent: AtomicU64,
    pub rent_collector: RentCollector,
    pub epoch_schedule: EpochSchedule,
    pub inflation: Arc<RwLock<Inflation>>,
    pub stakes: RwLock<Stakes>,
    pub storage_accounts: RwLock<StorageAccounts>,
    pub epoch_stakes: HashMap<Epoch, Stakes>,
    pub is_delta: AtomicBool,
    pub message_processor: MessageProcessor,
    pub entered_epoch_callback: Arc<RwLock<Option<EnteredEpochCallback>>>,
    pub last_vote_sync: AtomicU64,
}

Fields

rc: BankRcsrc: StatusCacheRcblockhash_queue: RwLock<BlockhashQueue>ancestors: HashMap<Slot, usize>hash: RwLock<Hash>parent_hash: Hashparent_slot: Slottransaction_count: AtomicU64tick_height: AtomicU64signature_count: AtomicU64capitalization: AtomicU64max_tick_height: u64hashes_per_tick: Option<u64>ticks_per_slot: u64ns_per_slot: u128genesis_creation_time: UnixTimestampslots_per_year: f64slots_per_segment: u64slot: Slotepoch: Epochblock_height: u64collector_id: Pubkeycollector_fees: AtomicU64fee_calculator: FeeCalculatorcollected_rent: AtomicU64rent_collector: RentCollectorepoch_schedule: EpochScheduleinflation: Arc<RwLock<Inflation>>stakes: RwLock<Stakes>storage_accounts: RwLock<StorageAccounts>epoch_stakes: HashMap<Epoch, Stakes>is_delta: AtomicBoolmessage_processor: MessageProcessorentered_epoch_callback: Arc<RwLock<Option<EnteredEpochCallback>>>last_vote_sync: AtomicU64

Trait Implementations

impl Default for LegacyBank0223[src]

impl<'de> Deserialize<'de> for LegacyBank0223[src]

impl From<LegacyBank0223> for Bank[src]

impl Serialize for LegacyBank0223[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> InitializableFromZeroed for T where
    T: Default

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,