![]() |
Bitcoin ABC 0.32.4
P2P Digital Currency
|
#include <policy/block/stakingrewards.h>#include <avalanche/avalanche.h>#include <avalanche/processor.h>#include <blockindex.h>#include <common/args.h>#include <consensus/activation.h>#include <consensus/amount.h>#include <logging.h>#include <primitives/block.h>#include <vector>Go to the source code of this file.
Functions | |
| Amount | GetStakingRewardsAmount (const Amount &coinbaseValue) |
| bool | IsStakingRewardsActivated (const Consensus::Params ¶ms, const CBlockIndex *pprev) |
Variables | |
| static constexpr int | STAKING_REWARD_RATIO = 10 |
| Percentage of the block reward to be sent to staking rewards. More... | |
| bool IsStakingRewardsActivated | ( | const Consensus::Params & | params, |
| const CBlockIndex * | pprev | ||
| ) |
Definition at line 77 of file stakingrewards.cpp.
|
staticconstexpr |
Percentage of the block reward to be sent to staking rewards.
Definition at line 21 of file stakingrewards.cpp.