• Jeffrey Wilcke's avatar
    core: announce ChainSideEvent during reorg · ba3fb9e6
    Jeffrey Wilcke authored
    Previously all blocks that were already in our chain were never re
    announced as potential uncle block (e.g. ChainSideEvent). This is
    problematic during mining where you want to gather as much possible
    uncles as possible increasing the profit. This is now addressed in this
    PR where during reorganisations of chains the old chain is regarded as
    uncles.
    
    Fixed #2298
    ba3fb9e6
blockchain_test.go 37.9 KB