Delete deprecated interfaces (#119)

* delete deprecated interfaces

* bump version
This commit is contained in:
Hardhat Chad
2025-03-23 11:41:01 -05:00
committed by GitHub
parent 34b7de191c
commit 52b5dfd17e
12 changed files with 13 additions and 147 deletions

View File

@@ -15,9 +15,8 @@ pub struct Config {
/// The minimum accepted difficulty.
pub min_difficulty: u64,
/// The largest known stake balance on the network from the last epoch.
#[deprecated(since = "2.4.0", note = "Please stake with the boost program")]
pub top_balance: u64,
/// Buffer for possible future use.
pub _buffer: [u8; 8],
}
account!(OreAccount, Config);

View File

@@ -22,9 +22,8 @@ pub struct Proof {
/// The last time this account provided a hash.
pub last_hash_at: i64,
/// The last time stake was deposited into this account.
#[deprecated(since = "2.4.0", note = "Please stake with the boost program")]
pub last_stake_at: i64,
/// Buffer for possible future use.
pub _buffer: [u8; 8],
/// The keypair which has permission to submit hashes for mining.
pub miner: Pubkey,