obscuren 4e07967711 core: fixed chain reorg during splits
Chain reorgs weren't properly handled when a chain was further ahead.
Previously we'd end up with mixed chains in our canonical numbering
sequence. Added test for this type of forking.

```
     /-o-o-o   A
o-C-+
     \-o-o-o-o B
```

Ends up with with C A1, A2, A3, B4
2015-04-29 12:51:05 +02:00
..
2015-04-08 17:15:45 +02:00
2014-12-04 10:28:02 +01:00
2015-03-23 16:59:09 +01:00
2015-04-07 13:10:12 +02:00
2015-04-04 20:34:10 +02:00
2015-03-23 16:59:09 +01:00
2015-04-10 19:59:01 +02:00
2014-12-04 10:28:02 +01:00
2014-12-18 13:12:54 +01:00
2015-03-16 11:27:38 +01:00
2015-03-16 11:27:38 +01:00
2015-04-08 20:47:32 +02:00
2015-04-08 17:15:45 +02:00