Open DavidVorick opened 7 years ago
Entirely greying out plugins before the node is synced seems a little drastic to me. I think it makes more sense to provide warnings or preemptively disable functionality where appropriate when unsynced, like with the recent PR that added a warning icon next to the balances when the wallet is not synced.
yeah you are right, greying whole plugins is a bad idea.
But I do think we need more visibility about "you should not do that" when not synced. Especially forming contracts.
We have a bunch of users who complain about problems that basically amount to the fact that they aren't synced yet. This can be fixed by greying the UI out and providing a little message while IBD is happening.
That may be too intrusive though, because sometimes (due to low peer count) the UI will think that it is still syncing even though it has caught up all the way. This can really be fixed by improving the gateway to get peers faster, but the UI should probably not depend on the gateway to be working entirely correctly.
I'm not sure what the final solution is, but the user should definitely have some active warning or notice or interaction informing them that they aren't sync'd if they try to do something before they have the most recent block.