aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-03-15 18:23:51 +0100
committerRiccardo Spagni <ric@spagni.net>2017-03-15 18:23:51 +0100
commitc642d3224c65c993ded9423358c818b83b7d74b9 (patch)
tree40a527285dc456c4dfe1b793fe939b723f60ea14 /src/cryptonote_core/blockchain.h
parentMerge pull request #1868 (diff)
parentAdd intervening v5 fork for increased min block size (diff)
downloadmonero-c642d3224c65c993ded9423358c818b83b7d74b9.tar.xz
Merge pull request #1869
3396a9f2 Add intervening v5 fork for increased min block size (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core/blockchain.h')
-rw-r--r--src/cryptonote_core/blockchain.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h
index 2c7420e18..7dac608c1 100644
--- a/src/cryptonote_core/blockchain.h
+++ b/src/cryptonote_core/blockchain.h
@@ -520,10 +520,11 @@ namespace cryptonote
*
* @param block_reward the current block reward
* @param median_block_size the median blob's size in the past window
+ * @param version hard fork version for rules and constants to use
*
* @return the per kB fee
*/
- static uint64_t get_dynamic_per_kb_fee(uint64_t block_reward, size_t median_block_size);
+ static uint64_t get_dynamic_per_kb_fee(uint64_t block_reward, size_t median_block_size, uint8_t version);
/**
* @brief get dynamic per kB fee estimate for the next few blocks