iotaledger / cliri

Coo Less IRI
Other
24 stars 8 forks source link

Bootstrapping: recently synced node getting "subtangle too big" errors #115

Open alongalky opened 5 years ago

alongalky commented 5 years ago

If the network has very low TPS, a recently synced node will see old transactions with recent as having the most recent arrivalTimestamps, since syncing is done from present to past. It will therefore select an old "connected component" to backtrack from when selecting an entry point, and fail due to subtangle size.

alongalky commented 5 years ago

Note that using solidification time in ConnectedComponentsStartingTipSelector::findNMostRecentTransactions is not enough, we also need to deal with TipsViewModel::getLatestSolidTips returning tips ordered by arrival time.