Commit Graph

9 Commits (f6c4181e14c53fa5009c838a8b3fa1cc8de6a711)

Author SHA1 Message Date
Stephen Shelton 3cf4bd8f97
Lookup routers at maximum frequency of 10 minutes 5 years ago
Stephen Shelton 8206557ac7
Don't respect whitelist when we haven't received it yet 5 years ago
Jeff Becker 6fd714d193
contrib/testnet: fix up testnet config generator to make super centralized topology
llarp/context.cpp, llarp/nodedb.{h,c}pp: load netdb AFTER whitelist
llarp/router/router.cpp: explore always
llarp/router/{i,}rc_lookup_handler.{h,c}pp explore with whitelist, update routers with lookup before stale
5 years ago
Jeff Becker 1adae338ce
Merge remote-tracking branch 'origin/master' 5 years ago
Michael edd0ec398f
Move thread stuff to subdirectory 5 years ago
Jeff Becker c01112e4b7
tracy lock contention testing and other fun things 5 years ago
Michael 16cdfbd5f0
clang-tidy modernize pass 5 years ago
Michael d1990b5e93
Fix suspicious thread-unsafety 5 years ago
Thomas Winget baf8019fe5 Refactor Router code into more classes
This commit refactors functionality from the Router class into separate,
dedicated classes.
There are a few behavior changes that came as a result of discussion on
what the correct behavior should be.
In addition, many things Router was previously doing can now be provided
callback functions to alert the calling point when the asynchronous
action completes, successfully or otherwise.
5 years ago