add bank hash to votes (#4381)
This commit is contained in:
@ -1,2 +1,5 @@
|
||||
/// Maximum over-the-wire size of a Transaction
|
||||
pub const PACKET_DATA_SIZE: usize = 512;
|
||||
/// 1280 is IPv6 minimum MTU
|
||||
/// 40 bytes is the size of the IPv6 header
|
||||
/// 8 bytes is the size of the fragment header
|
||||
pub const PACKET_DATA_SIZE: usize = 1280 - 40 - 8;
|
||||
|
@ -2,7 +2,7 @@
|
||||
//!
|
||||
use crate::pubkey::Pubkey;
|
||||
|
||||
pub mod slothashes;
|
||||
pub mod slot_hashes;
|
||||
|
||||
/// "Sysca11111111111111111111111111111111111111"
|
||||
/// owner pubkey for syscall accounts
|
||||
|
@ -17,6 +17,10 @@ pub fn id() -> Pubkey {
|
||||
Pubkey::new(&SYSCALL_SLOT_HASHES_ID)
|
||||
}
|
||||
|
||||
pub fn check_id(pubkey: &Pubkey) -> bool {
|
||||
pubkey.as_ref() == SYSCALL_SLOT_HASHES_ID
|
||||
}
|
||||
|
||||
use crate::account_utils::State;
|
||||
use std::ops::{Deref, DerefMut};
|
||||
#[derive(Serialize, Deserialize)]
|
Reference in New Issue
Block a user