diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-24 22:41:39 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-08-19 16:43:52 +0000 |
commit | 26072f1393f869b08ba279a3fb5b5e319d90b2ca (patch) | |
tree | 04d8f7af271039bee7741d66dde0d303fda3e448 /src/cryptonote_core/blockchain.h | |
parent | Merge pull request #5685 (diff) | |
download | monero-26072f1393f869b08ba279a3fb5b5e319d90b2ca.tar.xz |
blockchain: forbid v1 coinbase from v12
Diffstat (limited to 'src/cryptonote_core/blockchain.h')
-rw-r--r-- | src/cryptonote_core/blockchain.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h index d95f2dceb..7c2c07ede 100644 --- a/src/cryptonote_core/blockchain.h +++ b/src/cryptonote_core/blockchain.h @@ -1246,10 +1246,11 @@ namespace cryptonote * * @param b the block containing the miner transaction * @param height the height at which the block will be added + * @param hf_version the consensus rules to apply * * @return false if anything is found wrong with the miner transaction, otherwise true */ - bool prevalidate_miner_transaction(const block& b, uint64_t height); + bool prevalidate_miner_transaction(const block& b, uint64_t height, uint8_t hf_version); /** * @brief validates a miner (coinbase) transaction |