mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-15 15:10:19 +00:00
remove crown instruction
This commit is contained in:
@@ -19,6 +19,9 @@ pub struct Bus {
|
||||
/// The rewards this bus would have paid out in the current epoch if there no limit.
|
||||
/// Used to calculate the updated reward rate.
|
||||
pub theoretical_rewards: u64,
|
||||
|
||||
/// The largest known stake balance seen by the bus this epoch.
|
||||
pub top_balance: u64,
|
||||
}
|
||||
|
||||
impl Discriminator for Bus {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
use bytemuck::{Pod, Zeroable};
|
||||
use shank::ShankAccount;
|
||||
use solana_program::pubkey::Pubkey;
|
||||
|
||||
use crate::utils::{impl_account_from_bytes, impl_to_bytes, Discriminator};
|
||||
|
||||
@@ -19,11 +18,8 @@ pub struct Config {
|
||||
/// The minimum accepted difficulty.
|
||||
pub min_difficulty: u64,
|
||||
|
||||
/// The address of the proof account with the highest stake balance.
|
||||
pub top_staker: Pubkey,
|
||||
|
||||
/// The largest known stake balance on the network.
|
||||
pub top_staker_balance: u64,
|
||||
/// The largest known stake balance on the network from the last epoch.
|
||||
pub top_balance: u64,
|
||||
}
|
||||
|
||||
impl Discriminator for Config {
|
||||
|
||||
Reference in New Issue
Block a user