mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-16 15:10:20 +00:00
block reward
This commit is contained in:
@@ -61,5 +61,8 @@ pub const SLOT_WINDOW: u64 = 4;
|
||||
/// Amount of hash tokens to mint to market.
|
||||
pub const HASH_TOKEN_SUPPLY: u64 = 10_000_000;
|
||||
|
||||
/// The block reward.
|
||||
pub const BLOCK_REWARD: u64 = ONE_ORE * 10;
|
||||
|
||||
/// The virtual ORE liquidity.
|
||||
pub const VIRTUAL_ORE_LIQUIDITY: u64 = ONE_ORE * 5;
|
||||
pub const VIRTUAL_ORE_LIQUIDITY: u64 = BLOCK_REWARD / 2;
|
||||
|
||||
@@ -55,7 +55,7 @@ pub fn process_open(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResult
|
||||
block.best_hash = [0; 32];
|
||||
block.best_miner = Pubkey::default();
|
||||
block.id = id;
|
||||
block.reward = ONE_ORE * 10;
|
||||
block.reward = BLOCK_REWARD;
|
||||
block.slot_hash = [0; 32];
|
||||
block.start_slot = start_slot;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user