Skip to content

Publish epoch interval #97

@rillian

Description

@rillian

Currently the /info endpoint reports the current epoch and the timestamp of the next rotation along with the ZK public keys. It would also be nice to report the epoch rotation interval directly, instead of clients having to estimate from multiple samples. Or make assumptions.

I originally suggested we unpack the public key blob and annotate each epoch with timestamps, since that gives the server maximum flexibility. But that's an API revision, so maybe just adding an epochDuration key is good enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions