Jeff
a8a6c175fc
Merge pull request #1128 from majestrate/use-std-chrono-2020-02-24
...
make llarp_time_t use std::chrono::milliseconds
4 years ago
Jeff Becker
bf0416cab8
remove Time_t, add operator overload for printing llarp_time_t and add to_json function for serializing llarp_time_t to json
4 years ago
Jason Rhinelander
3bd400f6fe
Fix string_view C++17 compatibility
...
string_view was implicitly convertible to std::string, but
std::string_view is only explicitly convertible. This makes the
`operator std::string` explicit to be more compatible, and re-adds a
bunch of explicit string casts to the code where needed.
(This also fixes the build if changing the standard to c++17)
4 years ago
Jeff Becker
d2d109e92c
llarp_time_t is now using std::chrono
4 years ago
Jason Rhinelander
46242ba69b
TrimWhiteSpace -> TrimWhitespace
...
Fix my dumb initial capitalization choice.
4 years ago
Jason Rhinelander
54186c4a89
Replace absl string_view with string_view from lokimq
...
When we add loki-mq has a dependency we can just alias it, but for now
it's easier to copy the header than add the whole submodule library.
4 years ago
Jason Rhinelander
98c34d995b
De-abseil: Add our own llarp::TrimWhiteSpace
...
Adds a TrimWhiteSpace instead of using abseil's.
Adds Catch2 tests for it, and also converts the existing str tests to
catch (which look much, much nicer than the gtest ones).
4 years ago
Jeff Becker
6c67cc1f01
make default endpoint non reachable by default
4 years ago
Jeff Becker
70eb353c42
make publishing introsets optional using reachable=false to disable
4 years ago
Jeff Becker
ee752c00e6
make format
4 years ago
Jeff Becker
c014d21f84
use std::shared_ptr not a bare pointer to prevent memleak
4 years ago
Jeff Becker
79c3c748e4
limit number of snode sessions client side
4 years ago
Jeff Becker
92bbda600b
remove callsto Router::PumpLL and stuff gets faster (or stuff)
5 years ago
Jeff Becker
0c5c1aab1b
remove unneeded log statement
5 years ago
Jeff Becker
a2fc35a7aa
lower limit to 25ms
5 years ago
Jeff Becker
5924a2cec0
limit calls
5 years ago
Jeff Becker
0828307906
fix address mapping bug
5 years ago
Jeff Becker
5188873288
batch and flush
5 years ago
Jason Rhinelander
d13a3d2b62
Don't flush here; we already have a tick flushing
5 years ago
Jeff Becker
ba0fd223d9
reduce number of jobs we put onto the logic thread
5 years ago
Jeff Becker
6f95fbfece
work in progress
5 years ago
Jeff Becker
56dce90de9
add trace log level for tracking logic thread jobs
5 years ago
jeff
52757fef0e
Merge remote-tracking branch 'micheal/background_mode' into vpn-api-2019-10-03
5 years ago
Jeff Becker
327c545530
finish multithread cryptography first pass
5 years ago
jeff
14c9ef15ed
try calling stuff in logic thread from event loop
5 years ago
Jeff Becker
61ade40a51
reduce logging and make format
5 years ago
Jeff Becker
e3bb59707e
more
5 years ago
Jeff Becker
1adae338ce
Merge remote-tracking branch 'origin/master'
5 years ago
Michael
edd0ec398f
Move thread stuff to subdirectory
5 years ago
Michael
4d8fe2a8a8
Move meta programming to subdirectory
5 years ago
Jeff Becker
c01112e4b7
tracy lock contention testing and other fun things
5 years ago
Michael
094b697b01
Replace StatusObject with underlying JSON type
5 years ago
Michael
16cdfbd5f0
clang-tidy modernize pass
5 years ago
Michael
f9e9227e19
Fix gcc trunk warnings
5 years ago
Jeff Becker
8329aa0ee6
always rewrite address
5 years ago
Jeff Becker
2261885206
mark addresses as active when we use them
5 years ago
Jeff Becker
f48754c45d
make hop count and length configurable
5 years ago
Michael
e52492911d
Refactor endpoint state management to a new class
5 years ago
Jeff Becker
6882e627ba
make format
5 years ago
Jeff Becker
3ed8dec78b
use const reference and don't log invalid packets
5 years ago
Jeff Becker
0eb6431eb1
initialize tun with 0 and set defaults in correct places
5 years ago
Jeff Becker
a781589b52
try fix for localhost.loki
5 years ago
Jeff Becker
d6ec528a72
start work on seperating ips out of endpoint
5 years ago
Jeff Becker
64e9622270
start seperating tun and endpoint
5 years ago
Jeff Becker
c60099002b
reverse dns for ipv6
5 years ago
Jeff Becker
ec3ddfa425
typofixes
5 years ago
Jeff
8407c20b91
Merge branch 'ipv6-tun' into ipv6-tun
5 years ago
cathugger
72b1ea613c
make format
5 years ago
cathugger
a9dac85c28
fix stuff
5 years ago
Jeff Becker
a780789b2c
handle ipv6 exit traffic
5 years ago