Jeff Becker
a3e7324e9a
make it compile
5 years ago
Jeff Becker
c3b14b32b4
relays do profiling and not hand out "shit" routers in explore
5 years ago
Jeff Becker
c1ad5f955a
remove mutex
5 years ago
Jeff Becker
64b5537fe0
rpc clean up logic, dont fetch list as client AND dont ping lokid as client
5 years ago
Jeff Becker
e5f92eaa79
only ping lokid if a service node
5 years ago
Jeff
da8ec60922
Merge pull request #1023 from notlesh/iwp-bw-stats-2019-12-17
...
add bw stats to iwp sessions
5 years ago
Jeff Becker
9214ecbc48
rename bloomfilter to replayfilter
5 years ago
Rick V
636957f3f9
happy new year
5 years ago
Jeff Becker
3147e2d357
shuffle intros when more than 1 exists
5 years ago
Jeff Becker
a7a101e33c
more intellegent path failure profiling using LRSM
5 years ago
Jeff Becker
52b13b9f1e
typo fix
5 years ago
Jeff Becker
1244ad83ad
fix include file use
5 years ago
Jeff Becker
55e27d36e5
* only profile as client
...
* only explore churn as relay
5 years ago
Jeff Becker
d391f70417
reduce cpu use
5 years ago
Jeff Becker
73e07ef2d0
client side replay filter
5 years ago
Jeff Becker
b3ad65f470
randomize intro order on shift
5 years ago
Jeff Becker
79badd6714
* clients expore dht faster
...
* use random path when doing dht lookups for .loki
5 years ago
Jeff Becker
a8e6069a93
enable profiling by default
5 years ago
Jeff
f5338512b3
Merge pull request #1014 from majestrate/limit-client-path-builds-at-edges-2019-12-30
...
Limit client path builds at edges
5 years ago
Jeff Becker
472cee2594
make static constant for decay interval
5 years ago
Jeff Becker
7c92805bb4
fix typo
5 years ago
Jeff Becker
ecf2685aa3
use optional
5 years ago
Jeff Becker
da5af879e9
typofix
5 years ago
Jeff Becker
d7c78b0c71
comments
5 years ago
Jeff Becker
f3e96e06b2
propagate error to client
5 years ago
Jeff Becker
562f3f07ab
add unit test for decaying hash set
5 years ago
Jeff Becker
a9c9fe9c24
limit client side path builds per ip
5 years ago
Jeff Becker
5ae428a114
Revert "remove call to link manager"
...
This reverts commit 3dd36fa11a
.
5 years ago
Jeff Becker
a5121c346c
remove call to link manager
5 years ago
Jeff Becker
d1a29884df
client side perf improvement
5 years ago
Jeff Becker
79c3c748e4
limit number of snode sessions client side
5 years ago
Jeff Becker
4126d307b3
dont close timers on closeall
5 years ago
Jeff Becker
59257815d5
version bump with intentional grammar troll motto for science related ventures.
5 years ago
Jeff Becker
8b8d636ded
make format
5 years ago
Rick V
b9c02d999f
why was this there
...
we do not support MSVC
5 years ago
Stephen Shelton
1300de2387
Enable the JSON RPC API by default
5 years ago
Jason Rhinelander
1b710455a7
Disallow AlignedBuffer < 8 bytes; add oddball buffer sizes
5 years ago
Jason Rhinelander
d57d6bfc6d
Use memcpy to extract hash value
...
Using the straight reinterpret_cast runs into type aliasing issues,
which manifest on armhf. C++20 adds `std::bit_cast` to deal with
exactly this, but memcpy is the pre-C++20 way to do it properly.
5 years ago
Jeff
3c9df38b88
Merge pull request #990 from tewinget/libuv-timers
...
Libuv-based timers
5 years ago
Jeff Becker
16c7e7dd33
fix unit tests
5 years ago
Thomas Winget
f4c9e09d44
remove obsolete timer-related code
5 years ago
Thomas Winget
e53e3db171
make dht context use new libuv timers
5 years ago
Thomas Winget
55b44cfc13
fix derp nested function call and derp merge error
5 years ago
Thomas Winget
50118c3127
Change ILinkLayer::ScheduleTick to use new timer
5 years ago
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.
5 years ago
Jeff Becker
0f6c5958ba
add bw stats to iwp sessions
5 years ago
Jeff Becker
0eb4efdce9
netid update
5 years ago
Rick V
ccd936feb1
the internal windows toolchain _already_ provides a default manifest
5 years ago
Rick V
a08d2ff64e
microsoft libc a shit
5 years ago
Rick V
caa6549cbb
clang-format everything
5 years ago
Rick V
64710ca4d4
Explicitly align to 16 bytes on Win32 targets
5 years ago
Rick V
9fa9209114
don't be aggressive
...
remove libcurl packaging rules. We still build it, but ship only the curl.exe
5 years ago
Rick V
d1b9b89812
add note
...
add libuv build
add its dependent libraries to the final link line
5 years ago
Rick V
6d49ffd60b
include all platform dependencies transitively
5 years ago
Rick V
e15c57c114
get ready for v0.6
...
bump version
don't ship the shared object
5 years ago
Jeff Becker
896dd85a2b
allow multiple calls to FeedData
5 years ago
Jeff Becker
53b159e361
dont fail on 0 sized data fed to json parser
5 years ago
Jeff Becker
04faee565c
Revert "stricter timeouts"
...
This reverts commit aa9de42d4e
.
5 years ago
Jeff Becker
aa9de42d4e
stricter timeouts
5 years ago
Jeff Becker
8817e7fe21
fix include
5 years ago
Jeff Becker
fcf0ae2b9e
prune unused files.
5 years ago
Jeff Becker
fc55469cfe
change interval such that FEC is less often done
5 years ago
Jeff Becker
7f6d1ebb92
fix slow start bug
5 years ago
Jeff Becker
a93e0a735b
fix typo, reduce delivery timeout
5 years ago
Jeff Becker
fcd3750a8b
increase ack window
5 years ago
Stephen Shelton
332f33b049
Remove FS_LIB conditionals
5 years ago
Stephen Shelton
8f6dd132ff
Make format (on recent version-related code)
5 years ago
Stephen Shelton
5d3cb8f405
Include error code in log output in Identity::EnsureKeys()
5 years ago
Stephen Shelton
a4aef312ae
make format (or format-verify, at least)
5 years ago
Jason Rhinelander
d4a5dc66ac
Change alignment to std::max_align_t
...
This will typically be stricter alignment (16 byte on amd64) which seems
useful for the intended use case here.
5 years ago
Jason Rhinelander
460d64fc0f
Simplify AlignedBuffer alignment implementation
...
This simplifies the use of std::aligned_storage with just using an
`alignas` on AlignedBuffer itself so that the (only) data member gets
the proper alignment and saves a bunch of reinterpret_casts in favour of
just having the std::array as an ordinary member.
5 years ago
Jason Rhinelander
638fb25b47
Put version info into a compiled file
...
This rewrites the version info using lokid's approach of compiling it
into a .cpp file that gets generated as part of the build (*not* during
the configure stage).
Among other things, this means that changing the version no longer
invalidates ccache or cmake dependencies, and because it depends on
`.git/index` git commits will cause the version to be regenerated,
making the commit tag more reliable (currently if you rebuild without
running cmake your git commit tag doesn't update).
5 years ago
Jason Rhinelander
99d27a4886
Add missing ev_libuv (now needed everywhere)
5 years ago
Stephen Shelton
211a5f7a03
Remove typo in version changes
5 years ago
Jeff
27a5904d68
Merge pull request #963 from majestrate/consolidate-versions-2019-12-11
...
consolidate versions
5 years ago
Jeff Becker
4fdff7f233
consolidate versions
5 years ago
Jeff Becker
f259cca0ba
remove mutexes
5 years ago
Jeff Becker
85e911fed0
fug
5 years ago
Jeff Becker
7a78160bf0
final change
5 years ago
Jeff Becker
5729d0bff5
more
5 years ago
Jeff Becker
c4f08e5145
finish remaining changes
5 years ago
Jeff Becker
abf9544ddc
make libuv on win32 work
5 years ago
Stephen Shelton
e2e9e63467
Optimize AlignedBuffer:::IsZero()
5 years ago
Jeff Becker
95eee4081a
trypushback
5 years ago
Jeff Becker
cdfdfa1068
use thread queue
5 years ago
Jeff Becker
8455d5d1cf
more cleanup
5 years ago
Jeff Becker
b286230d40
limit timer calls
5 years ago
Jeff Becker
35672e6d8c
call timers with queuer if set
5 years ago
Jeff Becker
cec36b62b5
make logic and net thread one in the same
5 years ago
Jeff Becker
581306e35f
prevent crash on exit
5 years ago
Jeff Becker
c9d38d421b
clang fixes
5 years ago
Jeff Becker
1ddc2b40aa
another attempt at travis fix
5 years ago
Jeff Becker
f29083f765
more travis fixes
5 years ago
Jeff Becker
4f87a95f66
fixes for travis
5 years ago
Jeff
22e9223e74
Merge pull request #955 from jagerman/remove-unused-arg
...
Remove unused argument
5 years ago
Jeff
fa75d7c96f
Merge pull request #957 from majestrate/reduce-cpu-use-in-tun-handler-2019-12-09
...
reduce cpu use in logic thread
5 years ago
Jeff Becker
a7884a82e2
use faster hashing
5 years ago
Jeff Becker
92bbda600b
remove callsto Router::PumpLL and stuff gets faster (or stuff)
5 years ago
Jason Rhinelander
6f92ac9c2b
Remove unused argument
...
Fixed a compiler warning about an unused argument, plus the argument
legitimately appears unused/obsolete now.
5 years ago
Jeff Becker
e90cb2929e
disable metrics by default
5 years ago