neofs-node
neofs-node copied to clipboard
SN bootstrap retries
Is your feature request related to a problem? Please describe.
I'm always frustrated when I am thinking about SN's bootstrap process. If something goes wrong and the Alphabet has not approved SN's netmap entrance, SN waits for the next epoch to try its luck one more time.
Describe the solution you'd like
A node knows NR's VUB and is able to check its candidate status via netmap contract call. If nothing pleasant has happened for the VUB blocks, it the time to try one more time OR at least to log some panic messages that it not gonna take part in the game.
Describe alternatives you've considered
Do nothing. Epoch sleep time is not that critical for now.
Additional context
https://github.com/nspcc-dev/neofs-node/issues/830.