Re: CLI bitcoin generation

Figures: lachesis
Quote from: molybdenum on May 22, 2010, 6:44:20 PM UTC

For a headless coin generation box, being able to see my status right away would be nice, or at least, being able to know if I have 30 blocks awaiting confirmation, or am still trying to get the first… if it’s purely automated and just checking-and-forwarding the balance, that’s not a problem though.

+1 Is there any way to access this information? EDIT (June 4th, 2010): First of all, I am not a C programmer. That said, I wrote my own extremely janky, hackish JSON-RPC method “listgenerated”. I basically took the code from ui.cpp that builds the transactions list and copied it to an RPC method. Then I removed parts until it would compile. I’m SURE it doesn’t work right, but it shows me when I have generated a block, which is all I need. If anyone would like the patch, send me a PM. That said, you probably want to wait for a real implementation from the devs.