-
Notifications
You must be signed in to change notification settings - Fork 58
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
RPC broken on Windows #202
Comments
util.h defines the formats:
So that's where the problem should be fixed? |
Your suggestion on the form of changing bitcoin/src/rpcprotocol.cpp to:
was what I ended on as well. I think thats the way to go. |
The Blackcoin commit for reference: |
The blackcoin commit replaces PRIszu with u throughout? Wouldn't it be better to fix just the #define line if it's wrong? I tried getting set up with gitian but am getting errors all over the place so I've so far been unable to experiment with the Windows compiler. |
I encountered this in another altcoin (can't recall which, wasn't CLAMS tho'). Was under Linux (ubuntu 14.04) and bracketing the PRIszu with whitespace worked for me, as per the SO question on using symbols in a string referenced by dooglus in the bct thread. See if this works:
Cheers Graham |
Fixed by #206 in release v1.4.15. |
@gjhiggins We tried adding spaces as you suggested, but it had no effect. It turned out the problem was that we were using gitian to cross-compile for Windows, which uses MinGW, which is a GNU c++ compiler and so doesn't know the non-ANSI Microsoft format codes. See #205 for details of my testing and #206 for the resolution. |
Cheers Guys! |
See https://bitcointalk.org/index.php?topic=623147.msg11897391#msg11897391
Apparently the content-type header is having a 'u' appended.
The text was updated successfully, but these errors were encountered: