In which file is Monero getting this "last_reward" and "last_timestamp" and how it is calculating that?

Get stats

1 Answer 1


They don't need to "calculate" it, or obtain from a "file". There are a few ways to obtain but they probably use get_last_block_header from the daemon RPC interface.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.