Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can a node synchronize state root signatures over P2P? #536

Closed
roman-khimov opened this issue Mar 4, 2021 · 1 comment
Closed

How can a node synchronize state root signatures over P2P? #536

roman-khimov opened this issue Mar 4, 2021 · 1 comment
Labels
question Further information is requested

Comments

@roman-khimov
Copy link
Contributor

I don't see how a node can synchronize state root signatures over P2P in the current state validation implementation. Node can calculate local state root, node can catch broadcasted stateroot messages and add signatures this way, but if it misses them (or it's synchronizing from the genesis) there is nothing like getroots/roots pair of Neo 2 protocol to get validated state roots. So node can't ensure that its state is correct and can't provide state root signatures for its RPC clients, signatures are kinda "locked" into nodes that received them during initial stateroot broadcast. Is this intentional? How can we synchronize state roots?

@roman-khimov roman-khimov added the question Further information is requested label Mar 4, 2021
@roman-khimov
Copy link
Contributor Author

Judging from neo-project/neo#2374 this use case is just not supported intentionally. Nodes shouldn't care about state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant