Closed moreal closed 4 years ago
This is reproduced when two nodes mine blocks and one trusts other one's precalculated states during preloading phase:
The error happens at the last moment, because Node B sends GetRecentStates
from YB (which is unknown for Node A) to YA, so that Node A responds with RecentStates
from the genesis block to YA.
We should fix this to find the common ancestor (i.e., branchpoint) between YA and YB.
LiteException: Cannot insert duplicate key in unique index '_id'.
made infinity loop.