mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-14 15:10:13 +00:00
Delete deprecated interfaces (#119)
* delete deprecated interfaces * bump version
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user