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

nodes. sequenceId would require 33bits to be stored #24

Open
TorstenRobitzki opened this issue Aug 16, 2021 · 0 comments
Open

nodes. sequenceId would require 33bits to be stored #24

TorstenRobitzki opened this issue Aug 16, 2021 · 0 comments

Comments

@TorstenRobitzki
Copy link

in order.schema on branch 5.0.0:

As the maximum value for sequenceId is exactly 2^32 (4294967296). A storage type that could store all value from 0 to 4294967296 (inclusive) would require 33 bit. I would suggest to reduce the maximum to 2^32-1 (4294967295), then receiver could use an unsigned 32 bit integer type to store the sequence id.

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

No branches or pull requests

1 participant