2

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

Get stats

dEBRUYNE
  • 15,417
  • 18
  • 60
  • 114
Asif MD
  • 21
  • 1

1 Answers1

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.

jtgrassie
  • 19,601
  • 4
  • 17
  • 54