mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-15 23:16:46 +00:00
remove motherlode
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user