mirror of
https://github.com/monero-project/monero.git
synced 2025-05-10 20:05:06 -04:00
functional_tests: add more blockchain related tests
Related to emission, reorgs, getting tx data back, output distribution and histogram
This commit is contained in:
parent
21b1ac1dd2
commit
064ab12340
11 changed files with 399 additions and 77 deletions
|
@ -576,7 +576,8 @@ namespace cryptonote
|
|||
//we lucky!
|
||||
++m_config.current_extra_message_index;
|
||||
MGINFO_GREEN("Found block " << get_block_hash(b) << " at height " << height << " for difficulty: " << local_diff);
|
||||
if(!m_phandler->handle_block_found(b))
|
||||
cryptonote::block_verification_context bvc;
|
||||
if(!m_phandler->handle_block_found(b, bvc) || !bvc.m_added_to_main_chain)
|
||||
{
|
||||
--m_config.current_extra_message_index;
|
||||
}else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue