You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lokinet/llarp/messages
Jason Rhinelander b6924f3ef1
Replace duration/timestamp formats with functions
We're defining formats for std::chrono types, which feels wrong (because
fmt itself also has these), so just replace them with functions:

short_time_from_now(...) gives a short "in 14m12s" or "5.123s ago" time
span relative to now, given a time point.  Precision gets reduced for
larger deviations from now (e.g. "4h12m ago").

ToString(Duration_t) gives a string such as "-3h22m02.123s" for a
duration.
2 years ago
..
dht_immediate.cpp llarp_buffer_t: rename badly named operator== 2 years ago
dht_immediate.hpp standardize include format and pragma once 3 years ago
discard.hpp llarp_buffer_t: rename badly named operator== 2 years ago
link_intro.cpp llarp_buffer_t: rename badly named operator== 2 years ago
link_intro.hpp standardize include format and pragma once 3 years ago
link_message.hpp replace LLARP_PROTO_VERSION macro 2 years ago
link_message_parser.cpp llarp_buffer_t: rename badly named operator== 2 years ago
link_message_parser.hpp standardize include format and pragma once 3 years ago
relay.cpp replace LLARP_PROTO_VERSION macro 2 years ago
relay.hpp standardize include format and pragma once 3 years ago
relay_commit.cpp Replace duration/timestamp formats with functions 2 years ago
relay_commit.hpp standardize include format and pragma once 3 years ago
relay_status.cpp llarp_buffer_t: rename badly named operator== 2 years ago
relay_status.hpp idempotent flush queues on path builds 2 years ago