Jeff
3a631aa39c
Merge pull request #1104 from jagerman/reduce-introset-publishes
...
Reduce introset publishing interal to 2.5min instead of 1.25min
2020-02-17 11:33:27 -05:00
Jason Rhinelander
9e096d1996
Reduce introset publishing interal to 2.5min instead of 1.25min
...
We want to have some redundancy, but having 8 active at once seems
extreme; reduce to 4.
2020-02-17 12:28:34 -04:00
Jeff
f8c2ef340f
Merge pull request #1103 from majestrate/catch2-submodule-2020-02-17
...
make catch2 a submodule
2020-02-17 10:57:38 -05:00
Jeff Becker
827ca0bda7
make catch2 a submodule
2020-02-17 08:26:20 -05:00
Jeff
e098c9628f
Merge pull request #1102 from jagerman/update-ghc-fs
...
Update ghc-filesystem to include rick's upstreamed patches
2020-02-15 17:32:58 -05:00
Jason Rhinelander
186e4245bd
Update ghc-filesystem to include rick's upstreamed patches
2020-02-15 17:07:21 -04:00
Jason Rhinelander
2bd783f743
Merge pull request #1091 from majestrate/redundant-dht-lookups-2020-02-10
...
Redundant dht lookups
2020-02-14 19:16:12 -04:00
Stephen Shelton
7842889fef
Add NodeDB tests around FindClosestTo()
2020-02-14 17:45:22 -04:00
Jason Rhinelander
ce90b9dc7b
clang format
2020-02-14 17:45:22 -04:00
Jason Rhinelander
c3637c81fd
Remove another unused randomize parameter
2020-02-14 17:45:22 -04:00
Jason Rhinelander
25a796d940
Rework partial sorting code: use pointers, add lock
...
Changes to code to sorts a set of pointers instead of full records, then
copy those out into the final results that we return.
2020-02-14 17:45:22 -04:00
Jason Rhinelander
24469daefb
Remove unused parameter
...
We always randomize now.
2020-02-14 17:45:18 -04:00
Jeff Becker
83ee508fe1
comparison fix
2020-02-14 17:43:13 -04:00
Jeff Becker
763f61e454
dont collide variable names
2020-02-14 17:43:13 -04:00
Stephen Shelton
9dfcfbc3ac
Bencode/decode relayOrder in lexigraphical order, make it uint64_t
2020-02-14 17:43:13 -04:00
Stephen Shelton
127e7ef31b
Make format
2020-02-14 17:43:13 -04:00
Stephen Shelton
adf8772f3c
Remove relayOrder from MessageDecoder
2020-02-14 17:43:13 -04:00
Stephen Shelton
6ca2c11e59
Serialize / deserialize relayOrder @ FindIntroMessage
2020-02-14 17:43:13 -04:00
Stephen Shelton
906803e387
Refactor DHT introset lookups to use redundant lookup strategy
2020-02-14 17:43:13 -04:00
Stephen Shelton
fa1df8db63
Big R, little r, what begins with R?
2020-02-14 17:43:13 -04:00
Jeff Becker
4d4b33607f
dont use optional
2020-02-14 17:43:13 -04:00
Jeff Becker
23bcfa4abb
revert change
2020-02-14 17:43:13 -04:00
Jeff Becker
df8c56343d
refactor GetManyPathsWithUniqueEndpoints to go into service/endpoint_util.hpp
2020-02-14 17:43:13 -04:00
Jeff Becker
fc5e6b4d77
log location
2020-02-14 17:43:13 -04:00
Jeff Becker
3cc2adae31
paralell publish and lookups
2020-02-14 17:43:13 -04:00
Jeff Becker
e30c720446
redundant publish for service endpoint
2020-02-14 17:43:11 -04:00
Jeff Becker
e35d17764a
* add path::Path::UniqueEndpointSet_t
...
* start using check2 for new unit tests
* unit test for path::Path::UniqueEndpointSet_t
2020-02-14 17:41:31 -04:00
Jeff
ffa1012049
Merge pull request #1099 from majestrate/remove-connect-back-logic-2020-02-14
...
remove connect back logic for dead inbound converstations
2020-02-14 13:39:27 -05:00
Jeff Becker
2b6f27d60d
remove connect back logic for dead inbound sessions
2020-02-14 13:12:45 -05:00
Jeff
e5c5e6f6ff
Merge pull request #1097 from jagerman/submodules
...
Submodules
2020-02-13 15:28:03 -05:00
Jason Rhinelander
c522bc0537
ghc::filesystem devendor to submodule
...
Also removed some unused/old options for conditionally not using
ghc::filesystem and a sodium option that wasn't used anywhere.
2020-02-13 15:47:11 -04:00
Jason Rhinelander
3df4eaef2d
Devendor cxxopts to submodule
2020-02-13 15:18:17 -04:00
Jason Rhinelander
8aacc2d317
Update deprecated gtest macros
...
gtest ~renamed INSTANTIATE_TEST_CASE_P to INSTANTIATE_TEST_SUITE_P and
added a "backwards compatibility" shim, but the shim fails at compile
time if you pass in an empty fourth argument.
2020-02-13 15:15:36 -04:00
Jason Rhinelander
edbe0c7bf4
Devendor gtest to a submodule
2020-02-13 15:15:34 -04:00
Jason Rhinelander
5a787de73b
Switch abseil & nlohmann to submodules and update to latest stable
...
Our current abseil won't build with gcc 10 (its `optional`
implementation appears broken), and spews warnings under slightly older
compilers; updating to the latest stable 2019 branch fixes both issues.
2020-02-13 15:14:17 -04:00
Jeff
186dba45cb
Merge pull request #956 from notlesh/km-testing
...
Implement KeyManager tests
2020-02-13 14:04:42 -05:00
Jeff
34cd64369b
Merge pull request #1095 from jagerman/warning-fix
...
Fix signed/unsigned comparison warning and make more std::chrono-y
2020-02-13 11:34:23 -05:00
Jeff
681e193d47
Merge pull request #1096 from notlesh/print-error-on-bdecode-fail-2020-02-13
...
Print an error when BDecodeReadFromFile() fails before calling DumpBuffer()
2020-02-13 10:30:03 -05:00
Stephen Shelton
68d0cabcc5
Print an error when BDecodeReadFromFile() fails before calling DumpBuffer()
2020-02-13 08:19:10 -07:00
Jason Rhinelander
6a8d4aca38
Fix signed/unsigned comparison warning and make more std::chrono-y
2020-02-13 10:55:14 -04:00
Jeff
e07f978bb4
Merge pull request #1073 from majestrate/gossip-router-contacts-2020-01-30
...
rc gossiping
2020-02-13 09:41:56 -05:00
Jeff Becker
837998eb88
rename variable
2020-02-12 12:53:53 -05:00
Jeff Becker
f6c4181e14
remove include
2020-02-12 12:43:10 -05:00
Jeff Becker
28561cd654
use Time_t
2020-02-12 12:10:48 -05:00
Jeff Becker
96c5553e34
rename variables
2020-02-12 12:10:48 -05:00
Jeff Becker
434ce56553
* get rid of dht explore for service nodes
...
* add Time_t using std::chrono for future uses
* make decaying hashset constructor with llarp_time_t explicit
* add decaying hashset implicit constructor using Time_t
* add timeouts for gossiper replay
* allow regossip of our RC
2020-02-12 12:10:48 -05:00
Jeff Becker
154be464ea
rc gossiping
2020-02-12 12:10:48 -05:00
Jeff Becker
7ad47f2dba
* get rid of dht explore for service nodes
...
* add Time_t using std::chrono for future uses
* make decaying hashset constructor with llarp_time_t explicit
* add decaying hashset implicit constructor using Time_t
* add timeouts for gossiper replay
* allow regossip of our RC
2020-02-12 12:10:48 -05:00
Jeff Becker
ea3851d15f
rc gossiping
2020-02-12 12:10:48 -05:00
Jeff
1403cff805
Merge pull request #1079 from majestrate/remove-dht-message-limit-2020-02-03
...
make message queue unbound for direct dht messages
2020-02-12 12:10:11 -05:00