Skip to content

Store total uptime and total hashes #1551

@mutatrum

Description

@mutatrum

Updating a counter every second will wear the NVS out. However, assuming a 24kb NVS partition:

Image

once a minute should be doable actually.

As for the total work, we could use log2_work:

It is the 2-logarithm of the expected number of block header hash attempts were necessary the build the chain up to that point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions