cliri icon indicating copy to clipboard operation
cliri copied to clipboard

Bug: new node running get entry point for the first time gets the genesis

Open alongalky opened this issue 6 years ago • 2 comments

The issue is with the tipsViewModel.getRandomSolidTipHash() call, which returns 999...9 if there are no fresh tips

alongalky avatar Dec 09 '18 14:12 alongalky

We could have the entry point thingy throw an exception if the tips list is empty.

Mind this will make bootstrape a network more complicated.

alon-e avatar Dec 09 '18 21:12 alon-e

Suggestion: if tip list is empty, run DFS and fill it up.

alongalky avatar Jan 15 '19 15:01 alongalky