mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2025-03-31 17:11:22 -06:00
Merge pull request #3787
ce63ab09 blockchain: invalidate misc caches when popping blocks (moneromooo-monero)
This commit is contained in:
commit
f794d3b3df
@ -631,6 +631,12 @@ block Blockchain::pop_block_from_blockchain()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_blocks_longhash_table.clear();
|
||||||
|
m_scan_table.clear();
|
||||||
|
m_blocks_txs_check.clear();
|
||||||
|
m_check_txin_table.clear();
|
||||||
|
|
||||||
update_next_cumulative_size_limit();
|
update_next_cumulative_size_limit();
|
||||||
m_tx_pool.on_blockchain_dec(m_db->height()-1, get_tail_id());
|
m_tx_pool.on_blockchain_dec(m_db->height()-1, get_tail_id());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user