mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-23 23:16:47 +00:00
begin testing new staking mechanism
This commit is contained in:
@@ -8,7 +8,6 @@ use crate::{
|
||||
|
||||
/// Bus accounts are responsible for distributing mining rewards.
|
||||
/// There are 8 busses total to minimize write-lock contention and allow for parallel mine operations.
|
||||
/// Every epoch, the bus account rewards counters are topped up to 0.25 ORE each (2 ORE split amongst 8 busses).
|
||||
#[repr(C)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Pod, ShankAccount, Zeroable)]
|
||||
pub struct Bus {
|
||||
|
||||
@@ -17,8 +17,11 @@ pub struct Config {
|
||||
/// The base reward rate paid out for a hash of minimum difficulty.
|
||||
pub base_reward_rate: u64,
|
||||
|
||||
/// The timestamp of the last reset
|
||||
/// The timestamp of the last reset.
|
||||
pub last_reset_at: i64,
|
||||
|
||||
/// The largest stake account on the network.
|
||||
pub max_stake: u64,
|
||||
}
|
||||
|
||||
impl Discriminator for Config {
|
||||
|
||||
Reference in New Issue
Block a user