Jeff Becker
8d11519eb2
unit tests for logging levels
2020-01-21 13:21:11 -05:00
Jeff
974aafec60
Merge pull request #1064 from majestrate/fix-deadlock-outbound-message-handler-2020-01-21
...
don't deadlock on path queue removal if full
2020-01-21 12:52:08 -05:00
Jeff Becker
1165466d56
don't deadlock when we want to remove lots of paths, flush queue instead when full
2020-01-21 12:28:23 -05:00
Jeff Becker
2f02073cac
unsigned char
2020-01-20 16:16:00 -05:00
Jeff
dd2e5cd38c
Merge pull request #1062 from jagerman/lokid-rpc-optimization
...
Add support for lokid's "unchanged" response
2020-01-20 16:15:18 -05:00
Jeff Becker
c69eb2c970
off -> none
2020-01-20 16:12:19 -05:00
Jeff Becker
ef0595602b
reduce number of values for LogLevelFromString
2020-01-20 16:11:34 -05:00
Jeff Becker
40876a6e3f
configurable log level
2020-01-20 16:00:08 -05:00
Jason Rhinelander
95b0eeda29
Add support for lokid's "unchanged" response
...
If we pass the last block hash to lokid it can give us an "unchanged"
response instead of the service node states to tell us that there is no
updated needed.
2020-01-20 16:47:08 -04:00
Jason Rhinelander
1ba1e04390
Separate json SN parsing definition/declaration
...
No changes to code here (committing this separately to make the changes
in the following commit easier to follow).
2020-01-20 16:43:27 -04:00
Jeff
5be1865318
Merge pull request #1059 from majestrate/bump-version-0.6.4-2020-01-19
...
bump version for 0.6.4
2020-01-19 12:55:25 -05:00
Jeff Becker
c86fb19187
bump version for 0.6.4
2020-01-19 07:18:58 -05:00
Jeff
53adfe0e71
Merge pull request #1053 from majestrate/link-layer-priority-2020-01-17
...
link layer message priority
2020-01-18 17:05:49 -05:00
Jeff Becker
12899701c5
inform congestion on tail drop
2020-01-18 17:03:24 -05:00
Jeff Becker
860891b6a6
tail drop
2020-01-18 16:59:50 -05:00
Jeff Becker
4185d47d4b
link layer message priority
2020-01-18 16:55:45 -05:00
Jeff
a681c28e5f
Merge pull request #1050 from majestrate/tweak-limits-2020-01-16
...
Tweak limits
2020-01-18 16:55:11 -05:00
Jeff Becker
c3f99e1b5c
make format
2020-01-18 16:53:42 -05:00
Jeff
ca2adb7df7
Merge pull request #1058 from notlesh/bump-rc-expiration-2020-01-18
...
Bump RC expiration constants significantly
2020-01-18 16:44:55 -05:00
Stephen Shelton
f01392cc49
Start stale router lookup 5 minutes before its expiration
2020-01-18 14:37:42 -07:00
Stephen Shelton
9b00e6fa8d
Bump RC expiration constants significantly
2020-01-18 14:07:21 -07: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
Jeff
493213717f
Merge pull request #1054 from notlesh/message-queue-stats-2020-01-17
...
Include outbound message queue stats in dumpState API response
2020-01-17 19:06:53 -05:00
Jeff
56c0c6f019
Merge pull request #1056 from notlesh/lookup-routers-less-frequently-2020-01-17
...
Lookup routers at maximum frequency of 10 minutes
2020-01-17 18:58:53 -05:00
Stephen Shelton
3cf4bd8f97
Lookup routers at maximum frequency of 10 minutes
2020-01-17 14:54:34 -07:00
Stephen Shelton
698dddc151
Use std::max() and make format
2020-01-17 11:19:53 -07:00
Stephen Shelton
5c518d6586
Include outbound message queue stats in dumpState API response
2020-01-17 10:14:24 -07:00
Jeff
23be938ee4
Merge pull request #1048 from notlesh/fix-mindless-typo-whitelist-2020-01-16
...
Fix HaveReceivedWhitelist() typo
2020-01-17 07:19:34 -05:00
Stephen Shelton
169ece08e8
Fix HaveReceivedWhitelist() typo
2020-01-16 14:32:52 -07:00
Jason Rhinelander
a1333c901c
Merge pull request #1044 from notlesh/bump-version-0.6.3-2019-01-15
...
Bump version (0.6.3)
2020-01-16 01:08:30 -04:00
Jason Rhinelander
acd53f08b1
Merge pull request #1042 from jagerman/fix-jsonapi-bind-ip
...
Fix json api bind IP
2020-01-16 01:06:53 -04: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
3949082f46
Merge pull request #1043 from notlesh/remove-dead-nodedb-code-2019-01-15
...
Remove dead code in llarp_nodedb::Insert()
2020-01-16 00:56:50 -04:00
Stephen Shelton
2607bdbee6
Bump version (0.6.3)
2020-01-15 21:55:34 -07:00
Stephen Shelton
702c130020
Remove dead code in llarp_nodedb::Insert()
2020-01-15 21:44:25 -07: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
Jason Rhinelander
991c9e1cfd
Merge pull request #1036 from majestrate/reduce-disk-io-2020-01-12
...
reduce disk io
2020-01-16 00:19:44 -04:00
Jason Rhinelander
416c71e554
Fix json api bind IP
...
Only the port was being used, the IP was being ignored and it was always
binding to localhost.
2020-01-16 00:16:56 -04:00
Stephen Shelton
fbb274a724
Make format (mutter mutter)
2020-01-15 21:15:37 -07:00
Stephen Shelton
8206557ac7
Don't respect whitelist when we haven't received it yet
2020-01-15 21:12:38 -07:00
Stephen Shelton
c92e7ae5c7
Add warning when we found a null RC for a DHT lookup
2020-01-15 19:37:12 -07:00
Stephen Shelton
08149112b2
Randomize routers to explore in ExploreNetwork()
2020-01-15 19:16:18 -07:00
Jeff Becker
a17b5f25b5
check for zero'd rc
2020-01-15 10:43:21 -05:00
Jeff Becker
d9297a4907
log invalid signatures
2020-01-15 10:42:28 -05:00
Jeff Becker
4cb6301e28
use copy not move
2020-01-15 10:41:43 -05:00
Jeff Becker
c5feb07fb9
address feedback from tom
2020-01-14 15:48:39 -05: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
9322df013b
check with rc handler before insert
2020-01-14 13:39:08 -05:00