Commit Graph

26 Commits (98284ad6e66c992991473771b307c1e2f8583447)

Author SHA1 Message Date
Michael f9e9227e19
Fix gcc trunk warnings 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
Jeff Becker 1ee90f8852
do lookup for RC to neighboor even if we have them in our DHT buckets so we get an updated RC in reply 5 years ago
Michael a62655d501
Move tests to use top-level LlarpTest 5 years ago
Michael 491fee206b
Port code to use CryptoManager over passing Crypto pointers 5 years ago
Michael 9ee525a006
Fix shadowing warnings 5 years ago
Michael 3a8715d8e4
Fix introset tests 5 years ago
Michael 98e691f315
Tidy up more parts of the service/ directory 5 years ago
Michael e33a33635c
Remove usage of raw new from service classes 5 years ago
Jeff Becker c26145f70e
* fix up integration tests
* make recursive router lookup backtrack
5 years ago
Jeff Becker e08986e457
fix previous commit 5 years ago
Jeff Becker 3a4d8f16a7
more 5 years ago
Michael 13a9f65520
Fully define interface for dht::Context 5 years ago
Michael 656843e9a3
Fix issues on debian 5 years ago
Jeff Becker 46222df421
refactor 5 years ago
Michael 729cd045f1
Convert llarp::Router into an abstract base class 5 years ago
Michael 40e85f0f69
Tests for dht::RCNode and dht::ISNode 5 years ago
Michael 1ba6507a2f
Tests for dht::ServiceAddressLookup 5 years ago
Michael b1213c7a7c
Tests for dht::TagLookup 5 years ago
Michael 1f95f1e78f
More unit tests of dht internals 5 years ago
Ryan Tharp 31f196a6eb
Merge pull request #236 from michael-loki/dht_tests
Add test suites for dht bucket, kademlia and key
6 years ago
Michael ccb5f6b696
Add tests for dht::TXOwnere 6 years ago
Michael 03d56c1591
Add test suites for dht bucket, kademlia and key 6 years ago
Ryan Tharp be24a2c235 clang-format and make xcode happy 6 years ago
Michael a3463120cc
Move net components into a distinct folder 6 years ago
Michael fa2b466ffe
Reorganise tests to mirror source layout 6 years ago