Author

Topic: How to extract a specific "getmininginfo" value to use in a function ? (Read 776 times)

sr. member
Activity: 504
Merit: 254
thanks for the quick reply, I'll look it up Smiley
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
The output is "encoded"(more like formatted) with JSON, look it up. PHP has JSON support via json_encode/json_decode.
sr. member
Activity: 504
Merit: 254
Hi,

I am trying to figure out a way to extract the values in the output of getmininginfo in a shell script.

let's say I want to get block and difficulty values.  If it were in PHP I would use something like array[key].  But I am not sure how to do this with the output of getmininginfo.  Any one has a clue or could point me in the right direction?

Thanks in advance!
Jump to: