Skip to main content
added 741 characters in body
Source Link
iyrin
  • 526
  • 2
  • 11

Is there a tool or a source that tells how many total days are currently on the ledger? I know that monerod tells how many days behind you are on the ledger, but is there an easy way to look up the total number of days without syncing up with the blockchain for the first time?

Edit: This may just need to be a feature request, but I am running a windows machine in this case and seeking a cross platform solution. I was hoping there is a built in argument to do something like the [following code][1] in monerod:

<< " [Your node is " << std::abs(diff) << " blocks (" << ((abs(diff) - diff_v2) / (24 * 60 * 60 / DIFFICULTY_TARGET_V1)) + (diff_v2 / (24 * 60 * 60 / DIFFICULTY_TARGET_V2)) << " days) "```

Part of the output then is something like `Your node is 73520 blocks (102 days) behind`

[1]: https://github.com/monero-project/monero/blob/c2a9229310672c38e44e46ad5b120fe2209a739c/src/cryptonote_protocol/cryptonote_protocol_handler.inl#L281

Is there a tool or a source that tells how many total days are currently on the ledger? I know that monerod tells how many days behind you are on the ledger, but is there an easy way to look up the total number of days without syncing up with the blockchain for the first time?

Is there a tool or a source that tells how many total days are currently on the ledger? I know that monerod tells how many days behind you are on the ledger, but is there an easy way to look up the total number of days without syncing up with the blockchain for the first time?

Edit: This may just need to be a feature request, but I am running a windows machine in this case and seeking a cross platform solution. I was hoping there is a built in argument to do something like the [following code][1] in monerod:

<< " [Your node is " << std::abs(diff) << " blocks (" << ((abs(diff) - diff_v2) / (24 * 60 * 60 / DIFFICULTY_TARGET_V1)) + (diff_v2 / (24 * 60 * 60 / DIFFICULTY_TARGET_V2)) << " days) "```

Part of the output then is something like `Your node is 73520 blocks (102 days) behind`

[1]: https://github.com/monero-project/monero/blob/c2a9229310672c38e44e46ad5b120fe2209a739c/src/cryptonote_protocol/cryptonote_protocol_handler.inl#L281
replaced "ledger" tag with blockchain since "ledger" tag already refers to a hardware wallet
Link
seek adventure
  • 2.2k
  • 14
  • 51
Source Link
iyrin
  • 526
  • 2
  • 11

How many total days are on the ledger?

Is there a tool or a source that tells how many total days are currently on the ledger? I know that monerod tells how many days behind you are on the ledger, but is there an easy way to look up the total number of days without syncing up with the blockchain for the first time?