add MiningPools, fund validator MiningPools from inflation (#4676)
* add MiningPool fund validator MinigPools from inflation * fixup * finish rename of MINIMUM_SLOT_LENGTH to MINIMUM_SLOTS_PER_EPOCH * deterministic miningpool location * point_value, not credit_value... use f64
This commit is contained in:
@ -670,8 +670,10 @@ fn process_show_stake_account(
|
||||
println!("activated stake: {}", stake);
|
||||
Ok("".to_string())
|
||||
}
|
||||
Ok(StakeState::MiningPool) => {
|
||||
Ok(StakeState::MiningPool { epoch, point_value }) => {
|
||||
println!("account lamports: {}", stake_account.lamports);
|
||||
println!("epoch: {}", epoch);
|
||||
println!("point_value: {}", point_value);
|
||||
Ok("".to_string())
|
||||
}
|
||||
_ => Err(WalletError::RpcRequestError(
|
||||
|
Reference in New Issue
Block a user