Commit Graph

45 Commits

Author SHA1 Message Date
Michael
30e9dca2e5
Convert llarp_logic to be a C++ class 2018-12-10 14:15:11 +00:00
Jeff Becker
f03603a0da
always remove dht nodes, lock sometimes, don't make router destructor virtual 2018-11-05 08:19:08 -05:00
Ryan Tharp
3138610253 clang format 2018-09-21 07:36:06 -07:00
Ryan Tharp
9f33edeed0 Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-19 12:22:34 +00:00
Jeff Becker
5228a81bae
more refactor
get rid of C api
2018-08-30 14:48:43 -04:00
Jeff Becker
b122fc59f8
refactor (not done) 2018-08-29 16:40:26 -04:00
Jeff Becker
199dad09dd
* kill dht feedback loop
* add dht exploration for discovering new routers

* tweak loopback testnet paramters to not be initially fully connected
2018-08-27 09:44:16 -04:00
Jeff Becker
1a1f93c171
* more tun stuff
* use std::unique_ptr where bare pointers aren't absolutely required
2018-08-17 15:49:58 -04:00
Jeff Becker
0242e293c9 more 2018-07-16 13:32:13 +10:00
Ryan Tharp
9073a5a9f3 actually resolve conflict 2018-07-13 09:27:13 +00:00
Ryan Tharp
cfb69224b5 Merge branch 'master' of https://github.com/neuroscr/loki-network 2018-07-13 07:54:27 +00:00
Jeff Becker
5bbaae4e2e
more 2018-07-12 14:21:44 -04:00
Jeff Becker
980db97145
remove unneeded headers 2018-07-11 09:21:44 -04:00
Jeff Becker
39e100d0b2
refactor dht code to be split up a bit more 2018-07-11 09:20:14 -04:00
Jeff Becker
6ad79b97dc
broken 2018-07-09 13:32:11 -04:00
Jeff Becker
dfa567e816
Merge remote-tracking branch 'sachaaaa/refactor' into hidden-service-dht 2018-07-09 10:24:44 -04:00
Jeff Becker
30c14dfda5
make format 2018-07-09 08:30:01 -04:00
sachaaaaa
c7940076bf Remove most of the extern "C"
remove extern "C"
2018-07-09 14:34:09 +10:00
Ryan Tharp
016da4b7aa remove unneeded debug 2018-07-08 06:24:53 -07:00
Ryan Tharp
425a486d84 irelay the pending->job as the current job when checking the next node, add iterate flag to job, potential fix for possible problem, debug 2018-07-08 06:22:02 -07:00
Jeff Becker
6cb31ecb1a
base32 encoding and unit tests 2018-07-06 12:08:30 -04:00
Jeff Becker
21a2ffdeaf
* refactor log functions
* add more stuff for hidden service dht
2018-07-05 11:44:06 -04:00
Jeff Becker
d2a4f0b103
start on hidden service dht 2018-07-05 10:23:45 -04:00
Jeff Becker
711cc509a9
make format 2018-06-29 10:26:27 -04:00
Jeff Becker
18b50f4a74
* implement path transfer message
* update dht docs
* update other docs
* start working on dht for hidden services
* fix up unit tests for dht
* update makefile and other build files
2018-06-29 10:25:09 -04:00
Jeff Becker
da22f306e0
* add path building management
* fix bug in iwp that caused crash
2018-06-25 11:12:08 -04:00
Jeff Becker
ce643cc8e0
don't have FindClosest return true if we have no active dht nodes 2018-06-23 10:25:19 -04:00
Ryan Tharp
9dff277a7e Merge branch 'master' of https://github.com/majestrate/llarp
(upstream repo was broken)
2018-06-22 05:42:50 +00:00
Jeff Becker
50402820e1
more 2018-06-21 11:46:35 -04:00
Jeff Becker
9b73be11cc
fix up dht a bit 2018-06-21 10:20:14 -04:00
Ryan Tharp
5bb70c6ddb llvm 3.8 compile fixes 2018-06-21 02:31:53 -07:00
Jeff Becker
11f9c3532b
default lookup job to not found 2018-06-14 11:46:45 -04:00
Jeff Becker
3dc5f3ddf6
be concise 2018-06-14 11:44:55 -04:00
Jeff Becker
1395cb8518
iterative search as well as recursive 2018-06-14 11:42:21 -04:00
Jeff Becker
d645c07290
fix up dht 2018-06-14 11:39:54 -04:00
Jeff Becker
6e5ebd62bf
do dht lookup for unknown routers 2018-06-14 11:10:31 -04:00
Jeff Becker
ccf8574c03
make unit tests work 2018-06-14 10:04:42 -04:00
Jeff Becker
d5fe7623fc
more dht stuff 2018-06-13 12:32:34 -04:00
Ryan Tharp
7b8ef635e4 Merge branch 'master' of https://github.com/majestrate/llarp 2018-06-07 06:49:57 +00:00
Jeff Becker
0278ba559c
add single threaded mode for shadow 2018-06-06 08:46:26 -04:00
Ryan Tharp
a7abaa7f02 llvm 3.8 fixes 2018-06-04 06:10:19 -07:00
Jeff Becker
fe7388bd69
make it work 2018-06-01 17:47:38 -04:00
Jeff Becker
620b9616a6
initial dht implementation 2018-06-01 17:35:17 -04:00
Jeff Becker
9816fd65e9
* logging refactor to be concise
* don't inline bencode

* refactor initial start of dht code a bit
2018-06-01 13:47:37 -04:00
Jeff Becker
5649d261ae
start fleshing out dht subsystem a bit 2018-06-01 10:08:54 -04:00