Jason Rhinelander
181953b4a6
Replace ::Hash nested structs with std::hash specializations
2021-03-10 11:19:52 -04:00
Thomas Winget
7caa87862e
standardize include format and pragma once
...
All #ifndef guards on headers have been removed, I think,
in favor of #pragma once
Headers are now included as `#include "filename"` if the included file
resides in the same directory as the file including it, or any
subdirectory therein. Otherwise they are included as
`#include <project/top/dir/relative/path/filename>`
The above does not include system/os headers.
2021-03-09 19:01:41 -05:00
Stephen Shelton
b037cf0ae4
Handle get_peer_stats request's list of router ids
2020-07-24 11:49:14 -06:00
Stephen Shelton
eedf7ca599
Add implementation of get_peer_stats API
2020-07-20 13:48:57 -06:00
Stephen Shelton
c9faddc8e4
Use fs::path since mac doesn't support std::filesystem
2020-07-02 10:13:25 -06:00
Stephen Shelton
5a8f390b3b
Make mutex mutable, fix typo
2020-07-02 10:13:25 -06:00
Stephen Shelton
5e05defc76
Add API query for peer stats, other related fixes
2020-07-02 10:13:22 -06:00
Stephen Shelton
595288e046
Add PeerDb::handleGossipedRC
2020-07-02 10:13:22 -06:00
Stephen Shelton
7109ddc951
Add PeerDb::modifyPeerStats()
2020-07-02 10:13:21 -06:00
Stephen Shelton
4f4192e272
constexpr
2020-07-02 10:13:21 -06:00
Stephen Shelton
2a30e7dac2
Add PeerDb to Router
2020-07-02 10:13:21 -06:00
Stephen Shelton
8adb6295fc
Initialize sqlite_orm and start interacting with it
2020-07-02 10:12:13 -06:00
Stephen Shelton
73c9ddff52
Begin peer stats infrastructure
2020-07-02 10:12:11 -06:00