-
Notifications
You must be signed in to change notification settings - Fork 177
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
Port over async RPC calls from Huntercoin, implement "waitforblock" RPC call. #60
Commits on Mar 22, 2014
-
Encapsulate rpc server's client stream.
Add a dummy 'game_waitforblock' method that only sleeps for now, and encapsulate the RPC server's client streams into a new class that can be used in the future to persist the streams in new threads for asynchronous RPC calls. Conflicts: src/bitcoinrpc.h src/namecoin.cpp
Configuration menu - View commit details
-
Copy full SHA for d692e51 - Browse repository at this point
Copy the full SHA d692e51View commit details -
Implement async RPC method calls that spawn a new thread waiting to finish them. Conflicts: src/namecoin.cpp
Configuration menu - View commit details
-
Copy full SHA for 490b4c1 - Browse repository at this point
Copy the full SHA 490b4c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59c7c94 - Browse repository at this point
Copy the full SHA 59c7c94View commit details -
Move check for RPC server shutdown.
Move the check for RPC server shutdown above accept call, so that it does execute when stop() was called.
Configuration menu - View commit details
-
Copy full SHA for e9bc874 - Browse repository at this point
Copy the full SHA e9bc874View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1869ac1 - Browse repository at this point
Copy the full SHA 1869ac1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52e66ea - Browse repository at this point
Copy the full SHA 52e66eaView commit details -
Add stub for waitforblock async call.
Add a new "waitforblock" async RPC call, that currently just sleeps for some time instead of doing actual things.
Configuration menu - View commit details
-
Copy full SHA for 78853c9 - Browse repository at this point
Copy the full SHA 78853c9View commit details -
Implement waitforblock RPC call.
Implement the body of the waitforblock RPC call, but the condition variable introduced is not yet notified when new blocks actually arrive.
Configuration menu - View commit details
-
Copy full SHA for 9c8b949 - Browse repository at this point
Copy the full SHA 9c8b949View commit details -
Actually notify threads waiting on new blocks.
When a new block has finished processing, notify all threads waiting on the condition variable about it so that waitforblock now fully works.
Configuration menu - View commit details
-
Copy full SHA for 90f4466 - Browse repository at this point
Copy the full SHA 90f4466View commit details
Commits on Mar 25, 2014
-
Configuration menu - View commit details
-
Copy full SHA for dd99d66 - Browse repository at this point
Copy the full SHA dd99d66View commit details
Commits on Apr 5, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 70160aa - Browse repository at this point
Copy the full SHA 70160aaView commit details