You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#1643 aimed to fix an issue where a mining node adds a block while syncing. This results in resetting the header head which then confuses sync (and possibly other parts of the system).
However, as mentioned by @antiochp this opens up a possible attack:
Miner is fully sync'd
Miner happily mining on latest block
peer advertises new fork with greater cumulative difficulty
Miner kicks into sync mode and stops mining
turns out peer was lying about the fork
Miner now furious
There ought to be away we can prevent the attack without causing the previous issue (i.e. some "syncing but not trusting the total work yet"). This likely ties into #1139 as well.
The text was updated successfully, but these errors were encountered:
Would fit quite nicely with fast-fast-sync (flyclient, not yet downloaded all the headers) and other "async" things we can do with sync (verifying huge number of rangeproofs in the background etc.)
#1643 aimed to fix an issue where a mining node adds a block while syncing. This results in resetting the header head which then confuses sync (and possibly other parts of the system).
However, as mentioned by @antiochp this opens up a possible attack:
There ought to be away we can prevent the attack without causing the previous issue (i.e. some "syncing but not trusting the total work yet"). This likely ties into #1139 as well.
The text was updated successfully, but these errors were encountered: