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

Fails to process integers above maximum of signed 32 bit integer "JSON integer out of range" #13

Open
johnjacksonbtc opened this issue Aug 24, 2016 · 0 comments

Comments

@johnjacksonbtc
Copy link

"JSON integer out of range" error even appears on 64 bit binaries if integer parameter is expected and it is equal or above 2147483648.
An example json command that triggers above error: {"jsonrpc": "1.0", "method": "searchrawtransactions", "params": ["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", 1, 0, 2147483648]}. This should trigger same error on mainstream binaries {"jsonrpc": "1.0", "method": "getrawtransaction", "params": ["4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b", 2147483648]}.
Tested on bitcoin-0.12.1-addrindex-win64

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