aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/verification_context.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-25 22:07:58 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-25 22:07:58 +0000
commit81cb0fcdccf08afd6f37d21ccfefb31131fd3950 (patch)
tree8e706285c9ab229c428a1ef231898026aab23743 /src/cryptonote_core/verification_context.h
parentblockchain: add missing m_tx_pool.on_blockchain_dec (diff)
downloadmonero-81cb0fcdccf08afd6f37d21ccfefb31131fd3950.tar.xz
blockchain: fix bitflipping test with quantized block rewards
Block reward may now be less than the full amount allowed. This was breaking the bitflipping test. We now keep track of whether a block which was accepted by the core has a lower than allowed block reward, and allow this in the test.
Diffstat (limited to 'src/cryptonote_core/verification_context.h')
-rw-r--r--src/cryptonote_core/verification_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_core/verification_context.h b/src/cryptonote_core/verification_context.h
index c467d35f3..9766b217e 100644
--- a/src/cryptonote_core/verification_context.h
+++ b/src/cryptonote_core/verification_context.h
@@ -48,5 +48,6 @@ namespace cryptonote
bool m_verifivation_failed; //bad block, should drop connection
bool m_marked_as_orphaned;
bool m_already_exists;
+ bool m_partial_block_reward;
};
}