Skip to content

Refactor: use std::chrono types for intervals #1039

Description

@jagerman

Currently lokinet uses llarp_time_t (which is milliseconds) everywhere for times. Part of the justification was that it makes serialization easier, but conversely it makes other parts of the code a bit more complicated.

It would be nice to refactor so that std::chrono duration types get used instead (for compiler-defined duration cast math), being mindful of the existing serialization requirements.

(This is low priority)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions