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

64 bit unsigned_int #133

Open
abitmore opened this issue Aug 22, 2018 · 3 comments
Open

64 bit unsigned_int #133

abitmore opened this issue Aug 22, 2018 · 3 comments
Assignees
Labels

Comments

@abitmore
Copy link
Member

We're upgrading unsigned_int type in bitshares-core to 64 bit.

The Python library may need to adapt.

@xeroc
Copy link
Member

xeroc commented Sep 27, 2018

Good move. Thanks for keeping me posted.

I believe that this would only affect serialization in pybitshares, but there, unsigned_int is not used anywhere but explicit types are used (like UInt32).

closing ...

@xeroc xeroc closed this as completed Sep 27, 2018
@abitmore
Copy link
Member Author

abitmore commented Sep 27, 2018

The point is we need to use 64 bit data types rather than 32 bit data types. At least, unsigned_int is used in core to serialize object IDs, for example, order_id. I know in bitsharesjs varint32 type was used for this, which should be replaced with varuint64, but I don't know what's used in pybitshares, maybe UInt32? Then some of them need to be replaced with a 64 bit data type (I'm not sure whether all of them need to be replaced though).

Related issue in bitsharesjs is bitshares/bitsharesjs#29.

@abitmore abitmore reopened this Sep 27, 2018
@xeroc
Copy link
Member

xeroc commented Sep 28, 2018

Oh! I see. Then pybitshares is indeed affected. Shouldn't be a big deal once I know what parts will change ..

@xeroc xeroc added the priority label Sep 28, 2018
@xeroc xeroc self-assigned this Sep 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants