![]() |
Bitcoin ABC
0.26.3
P2P Digital Currency
|
#include <policy/block/stakingrewards.h>
#include <avalanche/avalanche.h>
#include <avalanche/processor.h>
#include <blockindex.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) |
Variables | |
static constexpr int | STAKING_REWARD_RATIO = 25 |
Percentage of the block reward to be sent to staking rewards. More... | |
|
staticconstexpr |
Percentage of the block reward to be sent to staking rewards.
FIXME This is a placeholder for now and the current ratio is for testing purpose only.
Definition at line 21 of file stakingrewards.cpp.