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
Jeff Becker
01b24c7090
limit connections
2019-12-03 12:49:29 -05:00
Jeff Becker
0f4c531d06
fix path resource leak
2019-12-03 12:49:15 -05:00
Jeff Becker
0828307906
fix address mapping bug
2019-11-29 19:11:14 -04:00
Jeff Becker
5188873288
batch and flush
2019-11-29 19:11:14 -04:00
Jeff Becker
2852601a28
flush in logic
2019-11-29 19:11:14 -04:00
Jeff Becker
d823d6fa70
only flush when no other jobs are executing
2019-11-29 19:11:14 -04:00
Jeff Becker
9e305c5b30
use lockless queues to gather results of transit traffic work
2019-11-29 19:11:14 -04:00
Jeff Becker
d591394ad2
dont process empty queues
2019-11-29 19:11:14 -04:00
Jeff Becker
e2472d985d
process transit hops on flush
2019-11-29 19:11:14 -04:00
Jeff Becker
c3858a56df
make it compile
2019-11-22 16:23:21 -05:00
Jeff Becker
34bc3da069
flush quues of other paths
2019-11-22 16:23:20 -05:00
Jeff Becker
56dce90de9
add trace log level for tracking logic thread jobs
2019-11-22 16:23:19 -05:00
Jeff Becker
1a864832c8
make format
2019-11-14 10:07:40 -05:00
Thomas Winget
23a9773e1e
remove our paths from outbound queues
2019-11-07 13:23:14 -05:00
Thomas Winget
ef1a5652ef
remove our paths from outbound queues
2019-11-07 13:23:06 -05:00
Thomas Winget
17de3f2478
do...while; make format; remove erroneous GUARDED_BY
2019-11-06 10:26:51 -05:00
Thomas Winget
75512b1b58
ban zero id for pathid; clarity and cleanup
2019-11-06 10:26:51 -05:00
Thomas Winget
9d3e7d349c
Add per-path queues, prioritize control messages over traffic
2019-11-06 10:26:51 -05:00
Jeff Becker
7ee026fa50
make path builds work again
2019-11-05 11:58:53 -05:00
Jeff Becker
7c35b00f98
Revert "move calling of path build sccess hook to correct place"
...
This reverts commit 902cd86a3b
.
2019-11-04 08:39:29 -05:00
Jeff Becker
902cd86a3b
move calling of path build sccess hook to correct place
2019-11-03 16:07:39 -05:00
Jeff Becker
9d266dbec7
meh
2019-11-03 15:52:00 -05:00
jeff
32ed821763
Merge remote-tracking branch 'upstream/dev' into multithreaded-cryptography
2019-10-01 10:51:28 -04:00
jeff
f9fb40f590
final touches
2019-09-20 12:56:19 -04:00
jeff
6c2ebbb925
try fixing handover and add snapp traffic to multithreaded crypto workers
2019-09-19 10:41:31 -04:00
Jeff Becker
5863e33825
move it arround
2019-09-16 12:21:21 -04:00
Jeff Becker
327c545530
finish multithread cryptography first pass
2019-09-16 12:12:05 -04:00
jeff
14c9ef15ed
try calling stuff in logic thread from event loop
2019-09-16 06:21:12 -04:00
Jeff Becker
bcf9135da6
testnet
2019-09-05 16:20:55 -04:00
Jeff Becker
3c0245f8b3
Merge remote-tracking branch 'github/master' into iwp-multi-ack
2019-09-05 13:40:04 -04:00
Jeff Becker
4bf6882c8a
more async cryptography
2019-09-05 13:39:09 -04:00
Jeff Becker
12314e8d00
ensure no crash on quit
2019-09-04 08:41:07 -04:00
Jeff Becker
5cdd92e2a3
remove more locking and make it safe
2019-09-04 08:24:17 -04:00
Jeff Becker
1adae338ce
Merge remote-tracking branch 'origin/master'
2019-09-04 07:58:02 -04:00
Michael
edd0ec398f
Move thread stuff to subdirectory
2019-09-03 20:52:28 +01:00
Michael
4d8fe2a8a8
Move meta programming to subdirectory
2019-09-03 20:52:28 +01:00
Jeff Becker
c01112e4b7
tracy lock contention testing and other fun things
2019-09-03 11:56:56 -04:00
Michael
094b697b01
Replace StatusObject with underlying JSON type
2019-08-19 10:33:26 +01:00
Michael
40aabd6d92
Use the right version of clang-tidy
2019-08-13 22:38:00 +01:00
Michael
0a1620aff2
make format
2019-08-12 22:10:07 +00:00
Michael
16cdfbd5f0
clang-tidy modernize pass
2019-08-12 16:52:58 +01:00
Michael
84601fa474
Make format
2019-08-08 00:26:40 +01:00
Michael
d1990b5e93
Fix suspicious thread-unsafety
2019-08-08 00:18:56 +01:00
Jeff
10d7e7cb77
Merge branch 'master' into master
2019-08-05 07:59:30 -04:00
Michael
c429f0cec9
Jeff's fixes
2019-08-04 22:30:47 +01:00
Michael
a270fe5f33
fixup! Fix gcc trunk warnings
2019-08-02 10:34:56 +01:00
Michael
f9e9227e19
Fix gcc trunk warnings
2019-08-02 10:29:08 +01:00
Michael
4763888d2c
Add fail-able docker build for gcc trunk
2019-08-02 10:28:09 +01:00
Rick V
f6c97091fd
clang-format
2019-08-01 22:25:48 -05:00