mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 06:43:28 +01:00
blockchain: some debug info when adding txes-from-block fails
This commit is contained in:
parent
4308a2e173
commit
631ef00e76
@ -3688,6 +3688,8 @@ leave:
|
|||||||
//TODO: why is this done? make sure that keeping invalid blocks makes sense.
|
//TODO: why is this done? make sure that keeping invalid blocks makes sense.
|
||||||
add_block_as_invalid(bl, id);
|
add_block_as_invalid(bl, id);
|
||||||
MERROR_VER("Block with id " << id << " added as invalid because of wrong inputs in transactions");
|
MERROR_VER("Block with id " << id << " added as invalid because of wrong inputs in transactions");
|
||||||
|
MERROR_VER("tx_index " << tx_index << ", m_blocks_txs_check " << m_blocks_txs_check.size() << ":");
|
||||||
|
for (const auto &h: m_blocks_txs_check) MERROR_VER(" " << h);
|
||||||
bvc.m_verifivation_failed = true;
|
bvc.m_verifivation_failed = true;
|
||||||
return_tx_to_pool(txs);
|
return_tx_to_pool(txs);
|
||||||
goto leave;
|
goto leave;
|
||||||
|
Loading…
Reference in New Issue
Block a user