Stephen Shelton
273270916e
The Great Wall of Blame
...
This commit reflects changes to clang-format rules. Unfortunately,
these rule changes create a massive change to the codebase, which
causes an apparent rewrite of git history.
Git blame's --ignore-rev flag can be used to ignore this commit when
attempting to `git blame` some code.
2020-04-07 12:38:56 -06:00
Jason Rhinelander
806d43c34e
Merge pull request #1147 from notlesh/diagnose-pubintro-round2-2020-02-28
...
Diagnose pubintro round2
2020-03-01 20:26:41 -04:00
Jeff Becker
e3b5fb4dd9
add local publish intro message to send reply down path
2020-03-01 12:30:05 -05:00
Jeff Becker
5b075259e6
revert
2020-03-01 11:21:48 -05:00
Jeff Becker
dd21cba1fe
dedup via txid not keyspace location
2020-03-01 11:17:39 -05:00
jeff
f76b9f3042
make format
2020-02-29 17:43:51 -05:00
jeff
49e69d7087
remove uneeded code
2020-02-29 15:48:51 -05:00
Stephen Shelton
638ea2e0fd
Make format
2020-02-28 17:07:35 -07:00
Stephen Shelton
37ca564005
Log when DHTSendTo fails @ Router::SendToOrQueue
2020-02-28 16:56:35 -07:00
Stephen Shelton
f61cd1a7da
Add some notes/comments about DHT message handling
2020-02-28 16:26:52 -07:00
Jeff Becker
dea78d2326
change function signature for dht context to exclude time parameter
2020-02-27 11:37:23 -05:00
Jeff Becker
7a84bbe459
remove dht explore timer
2020-02-27 11:28:01 -05:00
Jeff Becker
d2d109e92c
llarp_time_t is now using std::chrono
2020-02-24 15:25:03 -05:00
Jeff Becker
f4520ac920
make decaying hashset use llarp::Time_t and move unit tests to use catch2
2020-02-24 15:22:49 -05:00
Jeff
7c5a721457
Merge pull request #1114 from notlesh/redundant-introset-lookup-improvements-2020-02-20
...
Redundant introset lookup improvements
2020-02-20 15:25:09 -05:00
Stephen Shelton
63c3106db2
Make format
2020-02-20 13:14:20 -07:00
Stephen Shelton
0429bafbb3
Merge pull request #1111 from notlesh/redundant-introset-propagation-2020-02-19
...
Redundant introset propagation
2020-02-20 10:50:06 -08:00
Stephen Shelton
66cb30fa58
Refactor: remove recursionDepth from DHT lookups
2020-02-20 11:18:05 -07:00
Stephen Shelton
4c499fb076
Make format
2020-02-20 08:36:29 -07:00
Stephen Shelton
dff9aeb250
Propagate Introset publishing redundantly
2020-02-19 17:07:46 -07:00
Jason Rhinelander
ac1486d0be
Replace absl::optional with optional-lite
...
Step 1 of removing abseil from lokinet.
For the most part this is a drop-in replacement, but there are also a
few changes here to the JSONRPC layer that were needed to work around
current gcc 10 dev snapshot:
- JSONRPC returns a json now instead of an optional<json>. It doesn't
make any sense to have a json rpc call that just closes the connection
with returning anything. Invoked functions can return a null (default
constructed) result now if they don't have anything to return (such a
null value won't be added as "result").
2020-02-19 18:21:25 -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
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
99eb7726ff
initial dht key blinding
2020-01-27 16:30:41 -05:00
Jeff Becker
9efd796145
initial wack at 0.7.0 dht fixes
2020-01-27 11:54:51 -05:00
Jeff Becker
2c0dc12f39
refactor single char variables in DHT (mostly)
2020-01-23 12:10:58 -05:00
Jeff Becker
ae8bb3751b
connect to closest for RC lookups too
2020-01-23 12:10:58 -05:00
Jeff Becker
3b66cf6e75
dht fixes, disable iterative lookups on clients, revert "fixes" from 0.6.3, pass in recursion depth from introset lookup
2020-01-22 17:08:05 -05:00
Jeff Becker
9322df013b
check with rc handler before insert
2020-01-14 13:39:08 -05:00
Jeff Becker
78cdf8f96b
variable lookup timeout on participants
2020-01-10 11:23:30 -05:00
Jeff Becker
a3e7324e9a
make it compile
2020-01-07 13:00:03 -05:00
Jeff Becker
c3b14b32b4
relays do profiling and not hand out "shit" routers in explore
2020-01-07 12:59:53 -05:00
Jeff Becker
8b8d636ded
make format
2019-12-22 09:16:28 -05:00
Thomas Winget
e53e3db171
make dht context use new libuv timers
2019-12-18 13:35:18 -05:00
Jeff Becker
56dce90de9
add trace log level for tracking logic thread jobs
2019-11-22 16:23:19 -05:00
Michael
edd0ec398f
Move thread stuff to subdirectory
2019-09-03 20:52:28 +01:00
Michael
16cdfbd5f0
clang-tidy modernize pass
2019-08-12 16:52:58 +01:00
Jeff Becker
7e9ef19f69
use std::min
2019-07-30 13:57:23 -04:00
Jeff Becker
f4ac918b7e
remove -1
2019-07-30 13:56:24 -04:00
Jeff Becker
d595b51b0b
fix dht exploration ;~;
2019-07-30 11:59:12 -04:00
Jeff Becker
9a8470bcc1
* const correctness
...
* use std::map's upper_bound to find many closer entries
* randomize key for exploration to allow many explore jobs in paralell
2019-07-29 09:08:40 -04:00
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.
2019-07-25 14:11:02 -04:00
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
2019-07-19 13:21:20 -04:00
Jeff Becker
a0f32fde13
reduce logging
2019-07-17 08:25:51 -04:00
Jeff Becker
12d4bfc379
always ask peers for next closest
2019-07-15 14:15:53 -04:00
Jeff Becker
16e20a9e79
try fixing bootstrap
2019-07-15 12:56:09 -04:00
Michael
d6751e3eeb
Move subset of messages to right directory
2019-06-19 21:35:26 +01:00
Michael
b89689fec3
Refactor path build code
2019-06-18 22:51:41 +01:00