Jeff Becker
28561cd654
use Time_t
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 Becker
9efd796145
initial wack at 0.7.0 dht fixes
2020-01-27 11:54:51 -05:00
jeff
816070be62
dont inherit std::array
2020-01-25 12:21:28 -05:00
jeff
f728e6016b
router version
2020-01-25 11:28:07 -05:00
jeff
79fd08e559
fix typo
2020-01-18 15:56:29 -05:00
jeff
4a761be52d
use std::chrono
2020-01-18 15:56:29 -05:00
Jeff Becker
fe148f7823
merge conflict fix
2020-01-18 15:55:50 -05:00
Stephen Shelton
5c518d6586
Include outbound message queue stats in dumpState API response
2020-01-17 10:14:24 -07:00
Jason Rhinelander
ba89df40c8
Merge pull request #1041 from notlesh/dht-fixes-cleanup
...
Dht fixes cleanup
2020-01-16 01:04:51 -04:00
Jason Rhinelander
eadfeefafc
Merge pull request #1038 from majestrate/dht-disable-iterative-lookup-2020-01-14
...
disable iterative behavior in DHT
2020-01-16 00:22:12 -04:00
Stephen Shelton
8206557ac7
Don't respect whitelist when we haven't received it yet
2020-01-15 21:12:38 -07:00
Jeff Becker
6fd714d193
contrib/testnet: fix up testnet config generator to make super centralized topology
...
llarp/context.cpp, llarp/nodedb.{h,c}pp: load netdb AFTER whitelist
llarp/router/router.cpp: explore always
llarp/router/{i,}rc_lookup_handler.{h,c}pp explore with whitelist, update routers with lookup before stale
2020-01-14 15:12:47 -05:00
Jeff Becker
b56a3528db
periodic nodedb flush
2020-01-14 12:01:41 -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
52b13b9f1e
typo fix
2020-01-03 07:08:38 -05:00
Jeff Becker
55e27d36e5
* only profile as client
...
* only explore churn as relay
2020-01-03 07:04:56 -05:00
Jeff Becker
79badd6714
* clients expore dht faster
...
* use random path when doing dht lookups for .loki
2020-01-02 16:37:17 -05:00
Jeff Becker
a8e6069a93
enable profiling by default
2020-01-02 16:14:15 -05:00
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.
2019-12-18 13:11:13 -05:00
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).
2019-12-11 22:40:07 -04:00
Jeff
22e9223e74
Merge pull request #955 from jagerman/remove-unused-arg
...
Remove unused argument
2019-12-10 07:51:48 -05:00
Jason Rhinelander
6f92ac9c2b
Remove unused argument
...
Fixed a compiler warning about an unused argument, plus the argument
legitimately appears unused/obsolete now.
2019-12-09 11:17:02 -04:00
Jeff Becker
950006c036
reduce log levels at runtime
2019-12-09 08:08:30 -05:00
Jeff Becker
f56e543d75
add deadlock checker and revert bencode change from long ago
2019-12-07 14:58:19 -05:00
Jeff Becker
2eabe98d9b
add systemd watchdog if enabled on compile time
2019-12-07 14:21:26 -05:00
Jeff Becker
eb87189514
try fixing router lockup
2019-12-07 07:08:00 -05:00
Jeff
1396b7b857
Merge branch 'dev' into bootstrap-list-2019-12-06
2019-12-06 15:34:38 -05:00
Jeff Becker
0afb3b320b
add bootstrap list functionality and utility
2019-12-06 12:32:46 -05:00
Stephen Shelton
11410a2748
Avoid trivial getters/setters in KeyManager
2019-12-06 10:31:19 -07:00
Stephen Shelton
66a058a2af
Make format
2019-12-06 10:13:09 -07:00
Stephen Shelton
23fc2ad042
Init key manager before InitOutboundLinks are configured
2019-12-03 16:55:16 -07:00
Jeff
27b1e36039
Merge pull request #936 from majestrate/dev
...
last changes before 0.6.0 version bump
2019-12-03 15:58:22 -05:00
Stephen Shelton
af2259db5f
Move lokid key API request to KeyManager
2019-12-03 12:32:19 -07:00
Stephen Shelton
49e248bfc1
Fix bad merge
2019-12-03 12:24:57 -07:00
Stephen Shelton
93b8832026
Merge branch 'dev' into private-keys-backup-support
2019-12-03 11:20:45 -07:00
Stephen Shelton
521ef9b5bb
Handle link transport key in KeyManager
2019-12-03 10:58:53 -07:00
Jeff Becker
01b24c7090
limit connections
2019-12-03 12:49:29 -05:00
Jeff
b08897a214
Merge pull request #935 from jagerman/logic-thread-fixes
...
Logic thread fixes
2019-12-03 12:47:42 -05:00
Jeff Becker
3c85691f81
limit calls to pumpll such that it gets called fast enough but not too much under load
2019-11-29 19:11:14 -04:00
Stephen Shelton
a0699ad229
Undo adding of crypto version to RouterContact, other fixes
2019-11-27 11:30:19 -07:00
Jeff Becker
098915bb8e
add check for identity key validity
2019-11-26 20:40:55 -05:00
Jeff Becker
5868a25fcc
clear response between tries
2019-11-26 17:13:41 -05:00
Jeff Becker
d685057754
update readme and disable curl on windows
2019-11-26 17:11:13 -05:00
Jeff Becker
d12c75ce1e
move sleep
2019-11-26 17:04:52 -05:00
Jeff Becker
61b75828f0
sleep
2019-11-26 17:03:45 -05:00
Jeff Becker
3878ebd534
use curl to fetch from lokid rpc the identity key
2019-11-26 16:58:20 -05:00