• obscuren's avatar
    core: during split properly insert parent blocks · 333d4e0f
    obscuren authored
    During a split parent and grand parent were included in the database but
    not in the canonical chain (numbered chain). Added a `merge` function
    which finds the common ancestor of the chains and reinserts the missing
    blocks.
    333d4e0f
chain_manager.go 16 KB