Commit Graph

6277 Commits (36193564065f0a6c199e79438b8783de7bfd9f96)
 

Author SHA1 Message Date
Stephen Shelton 83d337ddfd
Send response on error conditions in API request 4 years ago
Stephen Shelton b037cf0ae4
Handle get_peer_stats request's list of router ids 4 years ago
Stephen Shelton 4699280d97
Crude attempt at retrying lokid connection 4 years ago
Stephen Shelton 1d9c337021
Grab lokimq::ConnectionID on connection attempt 4 years ago
Stephen Shelton 607d04a314
Use str instead of lokimq::ConnectionID in pybind 4 years ago
Stephen Shelton eedf7ca599
Add implementation of get_peer_stats API 4 years ago
Stephen Shelton bbc1cd5a31
Stub out get_peer_stats LMQ API request 4 years ago
Stephen Shelton c07dcaa2ef
Handle service node privkeys response correctly 4 years ago
Stephen Shelton acb0248f94
Use LMQ request instead of command for lokid ping 4 years ago
Stephen Shelton 9deee9e542
Add bencoding serialization to PeerStats 4 years ago
Stephen Shelton baac6bf3bd
Update python test code to reflect HiveRouter API 4 years ago
Stephen Shelton 159447b984
Don't "safely" visit relays in RouterHive 4 years ago
Stephen Shelton 56e2bc2c47
Acquire python's Global Interpreter Lock in callbacks 4 years ago
Stephen Shelton a88dc9f026
Prevent pybind from deleting HiveRouter pointers 4 years ago
Stephen Shelton 305795315b
Specify disabling RC gossiping (testing only) properly 4 years ago
Stephen Shelton 0e99f5bc86
Configure HiveContext it pybind correctly 4 years ago
Stephen Shelton 90ec789fe9
Avoid lokid in router hive 4 years ago
Stephen Shelton 0f074cff8c
Remove ambguity WRT loading and passing of Config 4 years ago
Stephen Shelton f607b99dbe
Fixes to Context::Configure with default config 4 years ago
Stephen Shelton ced2ac64fb
Remove last remnants of 'worker' 4 years ago
Stephen Shelton fb75329b88
Update SessionEstablished function sig in test_iwp_session.cpp 4 years ago
Stephen Shelton 97c14d81fd
Refactor test_llarp_exit_context.cpp to remove C API usage 4 years ago
Stephen Shelton cdaa28bfd3
Use QueueDiskIO instead of diskworker for db flushing 4 years ago
Stephen Shelton 88c3e9ce00
Remove worker thread parameter from Router constructors 4 years ago
Stephen Shelton ec20d94c6b
Fix Context::Configure() 4 years ago
Stephen Shelton 343252c48d
Use HiveContext and HiveRouter properly 4 years ago
Stephen Shelton ed47ba998f
Minor fixes around Context 4 years ago
Stephen Shelton 552dcce5fd
Use inheritance to handle Hive injection 4 years ago
Stephen Shelton b0d8568452
Remove llarp C API usage from RouterHive 4 years ago
Stephen Shelton 84c83a2400
Add specialized subclass of Router for Hive 4 years ago
Jason Rhinelander 2b2c41fdf6
Fix sqlite3 external target name 4 years ago
Stephen Shelton e38a507551
<3 Windows (prefer fs::path::string() over native()) 4 years ago
Stephen Shelton 1e95625f27
<3 apple -- avoid std::optional::value() 4 years ago
Stephen Shelton 93bafcf142
Set up sqlite3 deps 'if NOT TAGRET sqlite3' 4 years ago
Stephen Shelton eb9a862f51
Sqlite3 deps for Windows / static targets 4 years ago
Stephen Shelton 186a35c0e2
Appease clang (fixes for minor compilation errors) 4 years ago
Stephen Shelton fd230dd93b
<3 apple 4 years ago
Stephen Shelton 6e1a23cdc7
Use pkg_check_modules instead of find_package for sqlite3 4 years ago
Stephen Shelton 0ecdda7a89
make format 4 years ago
Stephen Shelton 8628212269
<3 jsonnet 4 years ago
Stephen Shelton 4aa6f8e2df
Use find_package() for sqlite3 4 years ago
Stephen Shelton aeb0c2be3a
Remove ability to stop routers from gossiping for now 4 years ago
Stephen Shelton bdac43e19f
Peer stats test which artificially stops a router from gossiping its RC 4 years ago
Stephen Shelton 63f41d6a98
Introduce mutex for hive's routers 4 years ago
Stephen Shelton 3b6f84c68c
Peek at peer stats db in test_peer_stats 4 years ago
Stephen Shelton c4cbbd6731
RouterHive: store router contexts by routerId instead of index 4 years ago
Stephen Shelton d1b629f494
RouterHive ConnectionAttemptEvent 4 years ago
Stephen Shelton d69d538f1a
Add missing files 4 years ago
Stephen Shelton b2a72dd46a
Initial test_peer_stats hive test 4 years ago
Stephen Shelton 2453fff10b
Piggyback on link callbacks to add peer stats 4 years ago