diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-14 06:18:38 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-14 06:20:29 +0800 |
commit | 333d4e0f278166455f9261f795aa0a8c5ce5d534 (patch) | |
tree | 5a2bee1fbc1fa19f31714e8dc0fcc0eea7cd54cd /blockpool/blockpool.go | |
parent | 4f3c169b4ece4935209ffd060ceaebe1702bc2f0 (diff) | |
download | go-tangerine-333d4e0f278166455f9261f795aa0a8c5ce5d534.tar go-tangerine-333d4e0f278166455f9261f795aa0a8c5ce5d534.tar.gz go-tangerine-333d4e0f278166455f9261f795aa0a8c5ce5d534.tar.bz2 go-tangerine-333d4e0f278166455f9261f795aa0a8c5ce5d534.tar.lz go-tangerine-333d4e0f278166455f9261f795aa0a8c5ce5d534.tar.xz go-tangerine-333d4e0f278166455f9261f795aa0a8c5ce5d534.tar.zst go-tangerine-333d4e0f278166455f9261f795aa0a8c5ce5d534.zip |
core: during split properly insert parent blocks
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.
Diffstat (limited to 'blockpool/blockpool.go')
0 files changed, 0 insertions, 0 deletions