remove motherlode

This commit is contained in:
Hardhat Chad
2025-06-24 14:42:14 -05:00
parent fdeb2cf82a
commit e7874a6322
9 changed files with 21 additions and 82 deletions

View File

@@ -65,7 +65,7 @@ pub const DENOMINATOR_BPS: u64 = 10_000;
pub const SLOT_WINDOW: u64 = 4;
/// Amount of hash tokens to mint to market.
pub const HASH_TOKEN_SUPPLY: u64 = 10_000_000;
pub const HASH_TOKEN_SUPPLY: u64 = 2_000_000;
/// The virtual liquidity to seed the markets with (in ORE).
pub const VIRTUAL_LIQUIDITY: u64 = ONE_ORE * 5;
@@ -73,11 +73,11 @@ pub const VIRTUAL_LIQUIDITY: u64 = ONE_ORE * 5;
/// The minimum difficulty required for payout.
pub const NUGGET_DIFFICULTY: u64 = 10;
/// The difficulty threshold for the motherlode payout.
pub const MOTHERLOAD_DIFFICULTY: u64 = 35;
// The difficulty threshold for the motherlode payout.
// pub const MOTHERLOAD_DIFFICULTY: u64 = 35;
/// The fee to open a block.
pub const OPEN_FEE: u64 = ONE_ORE / 100;
// The fee to open a block.
// pub const OPEN_FEE: u64 = ONE_ORE / 100;
// The reward rate per satisfying hash (0.002048 ORE).
// pub const REWARD_RATE: u64 = 204_800_000;

View File

@@ -150,8 +150,11 @@ pub struct CommitEvent {
/// The amount of hashpower committed.
pub amount: u64,
/// The total amount of hashpower this user has committed.
pub commitment: u64,
/// The total amount of hashpower committed to the block.
pub block_commitment: u64,
/// The total amount of hashpower this miner has committed to the block.
pub permit_commitment: u64,
/// The timestamp of the event.
pub ts: i64,
@@ -172,8 +175,11 @@ pub struct UncommitEvent {
/// The amount of hashpower committed.
pub amount: u64,
/// The total amount of hashpower this user has committed.
pub commitment: u64,
/// The total amount of hashpower committed to the block.
pub block_commitment: u64,
/// The total amount of hashpower this miner has committed to the block.
pub permit_commitment: u64,
/// The timestamp of the event.
pub ts: i64,

View File

@@ -48,9 +48,6 @@ pub struct RewardConfig {
/// The best hash.
pub lode_hash: [u8; 32],
/// The threshold difficulty for the motherlode payout.
pub motherlode_threshold: u64,
/// The reward rate paid to hashes satisfying the difficulty threshold.
pub nugget_reward: u64,