Commit Graph

16 Commits

Author SHA1 Message Date
Jason Rhinelander f9371233ee
hive fmt/spdlog updates 2022-07-19 15:27:31 -03: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 343252c48d
Use HiveContext and HiveRouter properly 2020-07-02 10:26:53 -06:00
Stephen Shelton 3b6f84c68c
Peek at peer stats db in test_peer_stats 2020-07-02 10:22:02 -06:00
Jeff Becker 6984cda3a6
add pybind and router hive to ci 2020-06-08 15:50:12 -04:00
Thomas Winget 84a1d7dbcc clang format....... 2020-03-06 20:20:11 -05:00
Thomas Winget 695784b2b6 more hive things
DHT PubIntroSentEvent
some helper functions added to RouterHive (C++ class) as well as RouterHive(Python class)
hive.py main() continues to be a testbed for new event types
some more internal classes in pybind
2020-03-04 00:57:26 -05:00
Thomas Winget 771d0b4489 hive pytest framework in place (and path build test works)! 2020-03-03 19:57:09 -05:00
Thomas Winget c9a278c0de some more changes to pybind/hive code, read below
hive.py is currently largely for testing the pybind stuff, so changes to it will likely
be frequent and arbitrary for now.

Added pybind for llarp::path::PathHopConfig, but not every member -- just rc and upstream routerID

Hive now uses std::queue with mutex instead of our lockless queue.

Removed some functions from Hive that will not be necessary as things are being handled from python.
2020-03-03 19:57:09 -05:00
Jeff Becker 32dbe6b1ad more shiz 2020-03-03 19:57:09 -05:00
Jeff Becker 877443d95c more introspection code 2020-03-03 19:57:09 -05:00
Thomas Winget 5e498e962f working on more pybinds 2020-03-03 19:57:09 -05:00
Jeff Becker a5dc41b049 OMG IT DOES STUFF :DDDDDD 2020-03-03 19:57:09 -05:00
Jeff Becker 831e80f498 more pybind bindings 2020-03-03 19:57:09 -05:00
Jeff Becker 78454f1cb4 more introspection 2020-03-03 19:57:09 -05:00
Jeff Becker 1fdb8b4c94 initial pybind11 introspection code 2020-03-03 19:57:09 -05:00