{"push_id":1324434139,"size":1,"distinct_size":1,"ref":"refs/heads/2016_09_getinfo_clientside","head":"0255012bbae9e95a4d5ad4c6932bdbc8d9a38c01","before":"e07032264882b20eaba6c95061e70dfdbbdf09dc","commits":[{"sha":"0255012bbae9e95a4d5ad4c6932bdbc8d9a38c01","author":{"name":"Wladimir J. van der Laan","email":"c34e7a7f54ce6bae7e557bf240ec1aad7766c5ce@gmail.com"},"message":"rpc: Handle `getinfo` locally in bitcoin-cli w/ `-getinfo`\n\nThis adds the infrastructure `BaseRequestHandler` class that takes care\nof converting bitcoin-cli arguments into a JSON-RPC request object, and\nconverting the reply into a JSON object that can be shown as result.\n\nThis is subsequently used to handle the `-getinfo` option, which sends\na JSON-RPC batch request to the RPC server with\n`[\"getnetworkinfo\", \"getblockchaininfo\", \"getwalletinfo\"]`,\nand after reply combines the result into what looks like a `getinfo`\nresult.\n\nThere have been some requests for a client-side `getinfo` and this\nis my PoC of how to do it. If this is considered a good idea\nsome of the logic could be moved up to rpcclient.cpp and\nused in the GUI console as well.","distinct":true,"url":"https://api.github.com/repos/laanwj/bitcoin/commits/0255012bbae9e95a4d5ad4c6932bdbc8d9a38c01"}]}
{"actor":{"display_login":"laanwj"}}