• Jeffrey Wilcke's avatar
    core: added future proc mutex lock · 558d18d2
    Jeffrey Wilcke authored
    Added a future lock which prevents the anything being added or removed
    from or to the set when looping over the set of blocks. This fixes a nil
    pointer in the range loop when trying to retrieve a block from the set
    which was previously available but removed due to regular chain
    processing.
    
    Fixes #2305
    558d18d2
blockchain.go 40 KB