Commit Graph

4840 Commits

Author SHA1 Message Date
Jason Rhinelander
6b950e9662 deb: add separate mainnet/testnet systemd services 2019-12-15 23:20:08 -04:00
Jason Rhinelander
4947bc4c24 Merge remote-tracking branch 'origin/dev' into debian/sid 2019-12-15 22:47:43 -04:00
Jeff
0ad86d0697
Merge pull request #973 from jagerman/bootstrap-changes
Bootstrap changes
2019-12-15 16:32:35 -05:00
Jason Rhinelander
80fee00b5a curl: less verbose and fail on HTTP error response
-s - don't show download progress meter
-S - *do* show error messages (otherwise hidden by -s)
-f - exit with non-zero status on HTTP 400 or above responses
2019-12-15 16:05:27 -04:00
Jason Rhinelander
c69237358f Add default mainnet/testnet URLs
Sets new default URLs, one for mainnet and one for testnet, and allows
you to specify "lokinet" (alias "lokinet") or "testnet" for the URL to
use the defaults.
2019-12-15 16:03:38 -04:00
Jason Rhinelander
1c470b35e2 import rpc read fix 2019-12-15 13:25:06 -04:00
Jason Rhinelander
e8f4c90e80 cherry-picked libabyss read fix 2019-12-15 13:21:02 -04:00
Jeff
2714800358
Merge pull request #972 from majestrate/dev
make compile work and unit tests pass
2019-12-15 07:10:16 -05:00
Jeff Becker
8817e7fe21
fix include 2019-12-15 07:09:19 -05:00
Jeff Becker
9fa2b5c92a
remove undeeded test case 2019-12-15 07:05:17 -05:00
Jeff
b5686dab93
Merge pull request #971 from majestrate/remove-limit-libabyss-2019-12-15
remove response limit in lib abyss
2019-12-15 07:04:33 -05:00
Jeff
5305c48dff
Merge pull request #969 from majestrate/increase-ack-window-iwp
increase ack window
2019-12-15 07:04:21 -05:00
Jeff Becker
fcf0ae2b9e
prune unused files. 2019-12-15 07:02:17 -05:00
Jeff Becker
9d494abbaf
remove internal limit on response size 2019-12-15 06:28:58 -05:00
Jeff Becker
fc55469cfe
change interval such that FEC is less often done 2019-12-14 15:55:36 -05:00
Jeff Becker
7f6d1ebb92
fix slow start bug 2019-12-14 13:50:52 -05:00
Jeff Becker
a93e0a735b
fix typo, reduce delivery timeout 2019-12-14 13:50:36 -05:00
Jeff
77e85ec444
Merge pull request #970 from jagerman/xenial-build-hack
Don't include net/if.h to help xenial
2019-12-14 13:01:25 -05:00
Jason Rhinelander
2e17542028 Don't include net/if.h to help xenial
Loading both net/if.h and linux/if.h on xenial breaks compilation
because xenial's kernel/glibc headers are broken AF.

We don't actually need anything from net/if.h here, so don't include it.
2019-12-14 11:58:10 -04:00
Jeff Becker
fcd3750a8b
increase ack window 2019-12-14 06:55:38 -05:00
Jason Rhinelander
ca1fc986cf lokinet-rcutil renamed to lokinetctl 2019-12-14 00:11:34 -04:00
Jason Rhinelander
1ce6fa9e67 Disable 1024 aligned buffer test 2019-12-14 00:03:13 -04:00
Jason Rhinelander
b974929b5d Pass debian version as GIT_VERSION 2019-12-13 17:24:28 -04:00
Jason Rhinelander
ed6c031195 added libsodium dep 2019-12-13 17:11:40 -04:00
Jason Rhinelander
75e2178faa Add required libcurl dep 2019-12-13 17:05:53 -04:00
Jason Rhinelander
c22cf498e0 Refreshed patches 2019-12-13 16:49:04 -04:00
Jason Rhinelander
4513231669 0.6.0-rc2 release 2019-12-13 16:07:43 -04:00
Jason Rhinelander
e3d9801d1b Merge branch 'dev' into debian/sid 2019-12-13 16:06:32 -04:00
Jeff
093880696d
Merge pull request #967 from jagerman/clang-format-20191212
Offer ritual sacrifice to clang-format
2019-12-12 20:33:30 -05:00
Jeff
0a2ebf5281
Merge pull request #961 from notlesh/more-travis-hacks
Fix for travis-ci xenial build
2019-12-12 20:33:15 -05:00
Jason Rhinelander
68d8adcd8b Offer ritual sacrifice to clang-format 2019-12-12 21:32:00 -04:00
Stephen Shelton
332f33b049 Remove FS_LIB conditionals 2019-12-12 12:58:46 -07:00
Stephen Shelton
5ce260fce1 Use vendored fs::filesystem on all platforms 2019-12-12 12:29:03 -07:00
Stephen Shelton
8f6dd132ff Make format (on recent version-related code) 2019-12-12 10:10:27 -07:00
Stephen Shelton
5d3cb8f405 Include error code in log output in Identity::EnsureKeys() 2019-12-12 10:09:57 -07:00
Stephen Shelton
a4aef312ae make format (or format-verify, at least) 2019-12-12 10:09:57 -07:00
Stephen Shelton
616ce88cc3 Comment-out ios build for now 2019-12-12 10:09:57 -07:00
Stephen Shelton
e3c752f4ab Another attempt to make travis-ci's xenial happy 2019-12-12 10:09:57 -07:00
Stephen Shelton
0dbbf30de5 Fix for travis-ci xenial build 2019-12-12 10:09:57 -07:00
Jeff
54111ed2a7
Merge pull request #966 from jagerman/aligned-buffer-simplify
Aligned buffer simplify
2019-12-12 11:21:48 -05:00
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.
2019-12-12 12:15:13 -04:00
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.
2019-12-12 12:12:45 -04:00
Jeff
97e854e4ed
Merge pull request #965 from jagerman/version-generation
Put version info into a compiled file
2019-12-12 07:00:17 -05:00
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).
2019-12-11 22:40:07 -04:00
Jason Rhinelander
99d27a4886 Add missing ev_libuv (now needed everywhere) 2019-12-11 19:19:28 -04:00
Jason Rhinelander
da6486a946
Merge pull request #964 from notlesh/fix_version_typo
Remove typo in version changes
2019-12-11 19:19:10 -04:00
Stephen Shelton
211a5f7a03 Remove typo in version changes 2019-12-11 16:17:34 -07:00
Jeff
27a5904d68
Merge pull request #963 from majestrate/consolidate-versions-2019-12-11
consolidate versions
2019-12-11 17:30:19 -05:00
Jeff Becker
4fdff7f233
consolidate versions 2019-12-11 17:06:44 -05:00
Jeff
a573ff5256
Merge pull request #962 from majestrate/win32-tun-libu-2019-12-11
win32 tun and libuv for win32
2019-12-11 16:57:01 -05:00