wownero/src
warptangent 909ea81067
Remove a have_block() check so alternate block can be processed
Remove have_block() check from Blockchain::handle_block_to_main_chain().
Add logging to have_block().

This allows blockchain reorganization to proceed further.

have_block() check here causes an error after a blockchain reorganize
begins with error: "Attempting to add block to main chain, but it's
already either there or in an alternate chain."

While reorganizing to become the main chain, a block in the
alternative chain would be refused due to have_block() rightfully
finding it in the alternative chain. The reorganization would end in
rollback, restoring to previous blockchain.

Original implementation didn't call it here, and it doesn't appear
necessary to be called from here in this implementation either. When
needed, it appears it's called prior to handle_block_to_main_chain().
2015-01-11 21:23:02 -08:00
..
blockchain_converter blockchain_converter: add --testnet for converting testnet blockchain 2015-01-04 19:39:43 -08:00
common year updated in license 2015-01-02 18:52:46 +02:00
connectivity_tool year updated in license 2015-01-02 18:52:46 +02:00
crypto year updated in license 2015-01-02 18:52:46 +02:00
cryptonote_core Remove a have_block() check so alternate block can be processed 2015-01-11 21:23:02 -08:00
cryptonote_protocol year updated in license 2015-01-02 18:52:46 +02:00
daemon year updated in license 2015-01-02 18:52:46 +02:00
miner year updated in license 2015-01-02 18:52:46 +02:00
mnemonics year updated in license 2015-01-02 18:52:46 +02:00
p2p year updated in license 2015-01-02 18:52:46 +02:00
platform year updated in license 2015-01-02 18:52:46 +02:00
rpc year updated in license 2015-01-02 18:52:46 +02:00
serialization year updated in license 2015-01-02 18:52:46 +02:00
simplewallet year updated in license 2015-01-02 18:52:46 +02:00
wallet year updated in license 2015-01-02 18:52:46 +02:00
CMakeLists.txt very, VERY primitive blockchain converter 2015-01-04 19:38:56 -08:00
cryptonote_config.h year updated in license 2015-01-02 18:52:46 +02:00
version.cmake year updated in license 2015-01-02 18:52:46 +02:00
version.h.in onwards to 0.8.8.7 2014-12-13 13:45:57 +02:00