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
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
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
Jeff Becker
2af64671bf
make it compile
2020-01-14 13:10:10 -05:00
Jeff Becker
0526fef37b
store RCs if valid
2020-01-14 13:08:27 -05:00
Jeff Becker
b56a3528db
periodic nodedb flush
2020-01-14 12:01:41 -05:00
Jeff Becker
495ad6d566
testnet patch
2020-01-14 07:07:29 -05:00
Jeff Becker
09f5f6dfa7
disable iterative lookup
2020-01-14 07:07:10 -05:00
Jeff Becker
c7b94f32be
reduce disk io
2020-01-12 07:30:03 -05:00
Jeff
0e2c5736a8
Merge pull request #1034 from majestrate/dht-timeout-fixes-2020-01-10
...
dht timeout tweak
2020-01-10 17:35:56 -05:00
Jeff
0ad2809ac7
Merge pull request #1033 from majestrate/prevent-segfault-2020-01-10
...
prevent segfault
2020-01-10 17:35:49 -05:00
Jeff Becker
78cdf8f96b
variable lookup timeout on participants
2020-01-10 11:23:30 -05:00
Jeff Becker
8bb492da6e
dht timeout tweak
2020-01-10 10:45:25 -05:00
Jeff Becker
77f0944d6d
use shared_from_this
2020-01-10 07:35:00 -05:00
Jeff Becker
78e325c4c5
always lookup introset from nearest router
2020-01-09 07:21:38 -05:00
Jeff Becker
2d82e931da
try doing lookup from close router, randomize when above lookup threshold
2020-01-09 06:26:41 -05:00
Jeff Becker
b2784dd5ec
explore faster
2020-01-09 06:14:04 -05:00
Jeff
ac46d99107
Merge pull request #1029 from majestrate/expire-snode-sessions-based-off-activity-2020-01-08
...
Expire snode sessions based off activity
2020-01-08 16:37:17 -05:00
Jeff Becker
eb174923ad
m_LastUse shouldn't be 0 ever now
2020-01-08 11:05:29 -05:00
Jeff Becker
1a80153352
mark used on costructed so it doesn't go away
2020-01-08 11:05:04 -05:00
Jeff Becker
9e50920dad
dont update timestamp of last use using when we get exit only when we use it
2020-01-08 11:03:52 -05:00
Jeff Becker
a96fd645c5
remove side effect from address detection assert
2020-01-08 09:57:23 -05:00
Jeff Becker
fde0ca374f
i hate curl
2020-01-07 18:14:25 -05:00
Jeff Becker
336a748695
make it build in normal mode too
2020-01-07 18:14:25 -05:00
Jeff Becker
80cbddde7b
fixups for review
2020-01-07 18:14:25 -05:00
Jeff Becker
2ce592e4af
static link with docs
2020-01-07 18:14:25 -05:00
Jeff
cceb531e58
version bump
2020-01-07 14:41:41 -05:00
Jeff
a5f8568c9c
Merge pull request #1020 from majestrate/dev
...
recent fixes
2020-01-07 14:36:40 -05:00
Jeff Becker
37b11614d0
if select_random_hop_excluding returns false we should probably break anyways so do that
2020-01-07 14:31:35 -05:00
Jeff Becker
c6d77e72f2
fix up tcp connection logic
2020-01-07 13:04:12 -05:00
Jeff Becker
989146f63a
handle write failure
2020-01-07 13:03:58 -05:00
Jeff Becker
c38c055488
return result
2020-01-07 13:03:53 -05:00
Jeff Becker
42f721d691
don't queue on full write queue
2020-01-07 13:03:47 -05:00
Jeff Becker
6d42b5f997
reduce logic calls
2020-01-07 13:03:41 -05:00
Jeff Becker
8a5365d9a6
diversify endpoints
2020-01-07 13:00:15 -05:00
Jeff Becker
9f153f12e0
actually connect to random routers
2020-01-07 13:00:09 -05:00