Jeff Becker
37b11614d0
if select_random_hop_excluding returns false we should probably break anyways so do that
5 years ago
Jeff Becker
9f153f12e0
actually connect to random routers
5 years ago
Jeff Becker
a3e7324e9a
make it compile
5 years ago
Jeff Becker
c3b14b32b4
relays do profiling and not hand out "shit" routers in explore
5 years ago
Jeff Becker
e5f92eaa79
only ping lokid if a service node
5 years ago
Jeff Becker
52b13b9f1e
typo fix
5 years ago
Jeff Becker
55e27d36e5
* only profile as client
...
* only explore churn as relay
5 years ago
Jeff Becker
79badd6714
* clients expore dht faster
...
* use random path when doing dht lookups for .loki
5 years ago
Jeff Becker
a8e6069a93
enable profiling by default
5 years ago
Thomas Winget
71bb0dd520
implement timers using libuv
...
So far only a bit of the code using timers has been modified to use
the new libuv-based timers. Also only the non-Windows case has been
implemented. Seems to be working though, so it's a good time to commit.
5 years ago
Jason Rhinelander
638fb25b47
Put version info into a compiled file
...
This rewrites the version info using lokid's approach of compiling it
into a .cpp file that gets generated as part of the build (*not* during
the configure stage).
Among other things, this means that changing the version no longer
invalidates ccache or cmake dependencies, and because it depends on
`.git/index` git commits will cause the version to be regenerated,
making the commit tag more reliable (currently if you rebuild without
running cmake your git commit tag doesn't update).
5 years ago
Jeff Becker
c9d38d421b
clang fixes
5 years ago
Jeff
22e9223e74
Merge pull request #955 from jagerman/remove-unused-arg
...
Remove unused argument
5 years ago
Jason Rhinelander
6f92ac9c2b
Remove unused argument
...
Fixed a compiler warning about an unused argument, plus the argument
legitimately appears unused/obsolete now.
5 years ago
Jeff Becker
950006c036
reduce log levels at runtime
5 years ago
Jeff Becker
f56e543d75
add deadlock checker and revert bencode change from long ago
5 years ago
Jeff Becker
2eabe98d9b
add systemd watchdog if enabled on compile time
5 years ago
Jeff Becker
eb87189514
try fixing router lockup
5 years ago
Jeff
1396b7b857
Merge branch 'dev' into bootstrap-list-2019-12-06
5 years ago
Stephen Shelton
2c6226f54a
Backup SNApp keys when migrating to new ed25519 crypto
5 years ago
Jeff Becker
0afb3b320b
add bootstrap list functionality and utility
5 years ago
Stephen Shelton
11410a2748
Avoid trivial getters/setters in KeyManager
5 years ago
Stephen Shelton
66a058a2af
Make format
5 years ago
Stephen Shelton
23fc2ad042
Init key manager before InitOutboundLinks are configured
5 years ago
Jeff
27b1e36039
Merge pull request #936 from majestrate/dev
...
last changes before 0.6.0 version bump
5 years ago
Stephen Shelton
af2259db5f
Move lokid key API request to KeyManager
5 years ago
Stephen Shelton
49e248bfc1
Fix bad merge
5 years ago
Stephen Shelton
93b8832026
Merge branch 'dev' into private-keys-backup-support
5 years ago
Stephen Shelton
521ef9b5bb
Handle link transport key in KeyManager
5 years ago
Jeff Becker
01b24c7090
limit connections
5 years ago
Jeff
b08897a214
Merge pull request #935 from jagerman/logic-thread-fixes
...
Logic thread fixes
5 years ago
Jeff Becker
3c85691f81
limit calls to pumpll such that it gets called fast enough but not too much under load
5 years ago
Stephen Shelton
a0699ad229
Undo adding of crypto version to RouterContact, other fixes
5 years ago
Jeff Becker
098915bb8e
add check for identity key validity
5 years ago
Jeff Becker
5868a25fcc
clear response between tries
5 years ago
Jeff Becker
d685057754
update readme and disable curl on windows
5 years ago
Jeff Becker
d12c75ce1e
move sleep
5 years ago
Jeff Becker
61b75828f0
sleep
5 years ago
Jeff Becker
3878ebd534
use curl to fetch from lokid rpc the identity key
5 years ago
Stephen Shelton
e8e2e21fa2
Reorganize priv key file loading a bit and hook KeyManager into Router
5 years ago
Jeff Becker
cbb7196b30
fix "zero hop" bug
5 years ago
Jeff Becker
56dce90de9
add trace log level for tracking logic thread jobs
5 years ago
Jeff Becker
eb6d042e73
make sure all calls of logic thread jobs are not having contention
5 years ago
Jeff Becker
d7f09a365d
contention killer
5 years ago
Stephen Shelton
fd02e3e149
Stub out KeyManager class
5 years ago
Thomas Winget
5ce6ed5134
fixes some logical errors in per-path queues
5 years ago
Thomas Winget
17de3f2478
do...while; make format; remove erroneous GUARDED_BY
5 years ago
Thomas Winget
12adff570d
fix seg fault, fix uninitialized static member
5 years ago
Thomas Winget
75512b1b58
ban zero id for pathid; clarity and cleanup
5 years ago
Thomas Winget
9d3e7d349c
Add per-path queues, prioritize control messages over traffic
5 years ago