Stephen Shelton
ea97a8f2ac
Make format
2020-02-21 10:16:45 -07:00
Stephen Shelton
16be86a5c3
Merge pull request #1116 from tewinget/short-path-names
...
path builder prints hops, rest print short name
2020-02-21 08:58:05 -08:00
Thomas Winget
fae86281e9
make path short name look nicer
2020-02-20 17:20:17 -05:00
Thomas Winget
145efaf0bb
should probably build before committing...
2020-02-20 17:04:08 -05:00
Thomas Winget
74d421ac2d
PathBuildNumber -> NextPathBuildNumber because increment side-effect
2020-02-20 16:57:48 -05:00
Thomas Winget
ad3465ee66
std move better
2020-02-20 16:55:45 -05:00
Thomas Winget
893ef2b874
const-y-ness and move-y-ness
2020-02-20 16:46:07 -05:00
Thomas Winget
fc56a018e5
path builder prints hops, rest print short name
2020-02-20 16:37:39 -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
Jeff
6ac5f19b3a
Merge pull request #1110 from jagerman/no-abseil-optional
...
De-abseil, part 1: remove absl::optional
2020-02-20 12:38:16 -05:00
Stephen Shelton
45a36fcfee
Rework FindIntro logic per redundant strategy
2020-02-20 09:23:41 -07:00
Jason Rhinelander
05a2e961e6
Add missing header
2020-02-20 11:49:18 -04:00
Stephen Shelton
4c499fb076
Make format
2020-02-20 08:36:29 -07:00
Stephen Shelton
6966168f5a
Minor improvements to DHT inroset propagation
2020-02-19 17:30:58 -07:00
Stephen Shelton
dff9aeb250
Propagate Introset publishing redundantly
2020-02-19 17:07:46 -07:00
Jeff Becker
dc7828941f
add log statement
2020-02-19 17:06:13 -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
9a6148c4c3
require router version in public routers
2020-02-19 15:25:02 -05:00
Jeff
20bc168d1c
Merge pull request #1093 from majestrate/toggle-publishing-introsets-2020-02-11
...
make publishing introsets optional
2020-02-19 11:50:41 -05:00
Jeff Becker
1874f439b7
add comment
2020-02-18 13:30:24 -05:00
Jeff Becker
e907d2ae19
handover fixes
2020-02-18 12:15:14 -05:00
Jeff Becker
f7f5d893a5
use endpoint path for lookup because outboundcontext does not implement pathset::HandleGotIntroMessage
2020-02-18 12:15:13 -05:00
Jeff Becker
c9866b6a0b
simplify
2020-02-17 15:47:57 -05:00
Jeff Becker
9aeee37347
short circuit
2020-02-17 15:44:23 -05:00
Jeff Becker
6a495dd090
ammend outbound context logic
2020-02-17 15:40:10 -05:00
Jeff Becker
02228ded08
spread out path builds
2020-02-17 15:24:18 -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
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 Becker
2b6f27d60d
remove connect back logic for dead inbound sessions
2020-02-14 13:12:45 -05:00