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 parse *verbose* parameter: "JSON value is not an integer as expected" #11

Open
runeksvendsen opened this issue Aug 12, 2016 · 1 comment

Comments

@runeksvendsen
Copy link

I'm running addrindex-0.12, and I can't use the skip or count parameter with searchrawtransactions because it fails to parse the verbose parameter (and this comes before the others):

rune@nuc:~$ bitcoin-cli searchrawtransactions 1Hp7AM3VAAj9XKkMhV7S3idTefxXnnWFYS 1
error code: -1
error message:
JSON value is not an integer as expected
    # testnet
rune@nuc:~$ bitcoin-cli --rpcport=8334 searchrawtransactions 2MwBaWuQkfVF2xArSeTca56JWyy956bFowA 0
error code: -1
error message:
JSON value is not an integer as expected
@johnjacksonbtc
Copy link

Can reproduce v0.12.1-addrindex on windows 64 bit gui console. There are workarounds: use curl curl --user rpcuser:rpcpassword --data-binary "@in.txt" -H "content-type: text/plain;" http://127.0.0.1:8332/ where in.txt is a file that contains {"jsonrpc": "1.0", "method": "searchrawtransactions", "params": ["1Hp7AM3VAAj9XKkMhV7S3idTefxXnnWFYS", 1, 0, 100]} or equivalent tool that does the same. Or you may try to place quotes around address (it allowed only verbose param to be recognized properly for me).

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

2 participants