Commit Graph

48 Commits

Author SHA1 Message Date
Jason Rhinelander
58fe7ac801 De-static constants
We don't need separate copies of these per compilation unit.
2020-03-01 12:40:15 -04:00
Jason Rhinelander
823c17206f Add min intro set paths, slightly increase spread speed
This should ensure that we have enough shortly after startup for initial
path builds.

The spread speed here gets slightly increased to lifetime/5 (=4min)
instead of lifetime/4 (=5min) so that our "normal" number of paths is 5
with occassional momentary drops to 4, but should always keep us >= the
new minimum of 4.

Because the path spread happens over time, this shouldn't result in a
rebuild of several paths: we'll build 4 quickly, then another at +4m,
another at +8m, etc.  When the initial 4 expire, we'll be dropping from
9 to 5 established but that's still above the minimum (4) so we won't
need to reconnect to several at once, and the spread builds should keep
us at 5 all the time.
2020-03-01 12:37:43 -04:00
Stephen Shelton
abe4015986
Use constants for path build timing 2020-02-25 13:52:59 -07:00
Stephen Shelton
230037b9f3
Increase default path timeout from 10min to 20min 2020-02-25 13:42:14 -07:00
Jeff Becker
d2d109e92c
llarp_time_t is now using std::chrono 2020-02-24 15:25:03 -05:00
Jason Rhinelander
f84ce61d66 Removed empty cpp files
These aren't needed: CMake already knows how to follow #includes and
rebuild when headers change as long as the headers are included
*somewhere*.  The extra .cpp files here just require building a bunch of
.cpp files with just header content that we just end up throw away
during linking (since the same things will also be compiled in whatever
other compilation units include the same headers).
2020-02-21 23:39:11 -04:00
Jeff Becker
9efd796145
initial wack at 0.7.0 dht fixes 2020-01-27 11:54:51 -05:00
jeff
816070be62 dont inherit std::array 2020-01-25 12:21:28 -05:00
jeff
f728e6016b router version 2020-01-25 11:28:07 -05:00
Jeff Becker
c86fb19187
bump version for 0.6.4 2020-01-19 07:18:58 -05:00
Stephen Shelton
2607bdbee6
Bump version (0.6.3) 2020-01-15 21:55:34 -07:00
Jeff
cceb531e58
version bump 2020-01-07 14:41:41 -05:00
Jeff Becker
59257815d5
version bump with intentional grammar troll motto for science related ventures. 2019-12-25 19:59:47 -05:00
Jeff Becker
0eb4efdce9
netid update 2019-12-16 18:31:26 -05:00
Stephen Shelton
8f6dd132ff Make format (on recent version-related code) 2019-12-12 10:10:27 -07: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
Jeff Becker
4fdff7f233
consolidate versions 2019-12-11 17:06:44 -05:00
Jason Rhinelander
fd02662d9f
Bump default netid to gamma for 0.6 2019-12-03 16:24:13 -05:00
Jeff
3f19b14c4f
Merge pull request #938 from majestrate/version-motto-bump-for-0.6.0-2019-12-03
bump version and motto
2019-12-03 16:00:22 -05:00
Jeff Becker
91627931ad
bump version and motto 2019-12-03 13:33:43 -05:00
Stephen Shelton
0c02ea8d2e Add "keyfile version" to RouterContact 2019-11-22 14:06:15 -07:00
jeff
32ed821763 Merge remote-tracking branch 'upstream/dev' into multithreaded-cryptography 2019-10-01 10:51:28 -04:00
jeff
cd9c4d9f1a bump version and motto 2019-09-20 15:21:04 -04:00
Jeff Becker
da6a3bf9bb
Merge remote-tracking branch 'origin/master' into iwp-multi-ack 2019-09-11 09:56:51 -04:00
Jason Rhinelander
77c467a7e4 Bump version to 0.5.1 for minor fixes for 0.5.0 2019-09-10 19:29:12 -03:00
Jeff Becker
3b1a0b2835
add multi-ack and change protocol handshake to pin identity key 2019-09-05 09:21:35 -04:00
Jeff Becker
4c77bf208f
update default netid 2019-09-04 09:48:56 -04:00
Rick V
294b98527d
clang-format remaining code, use __asm__ for avx2 port since we
insist on straight C99 without extensions (asm isn't special in
C99, __asm__ is)
2019-09-03 08:02:35 -05:00
Rick V
6205e96c36
move non-string version info to common header 2019-09-03 08:02:34 -05:00
Jeff
d2824c6b13
Merge pull request #792 from majestrate/master
bump versions and call timeout hook
2019-08-29 07:47:53 -04:00
Jeff Becker
78d191bd75
prepare for 0.5.0 2019-08-29 07:45:58 -04:00
Jeff
ecf3c37d2e
Merge pull request #768 from majestrate/sane-limits
Sane limits
2019-08-14 06:28:28 -04:00
Jeff Becker
28de66e964
correct header? 2019-08-13 11:29:44 -04:00
Michael
16cdfbd5f0
clang-tidy modernize pass 2019-08-12 16:52:58 +01:00
Jeff Becker
e8573b6254
add limits files 2019-08-12 07:21:17 -04:00
Jeff Becker
835b334a59
* increase utp buffers
* disallow inbound traffic on outbound utp link
* const correctness
2019-07-28 11:26:38 -04:00
Michael
b89689fec3
Refactor path build code 2019-06-18 22:51:41 +01:00
Rick V
6caed8d8a5
jeff forgot to bump
(cherry picked from commit 05c96c6ed2550a81a252a26ad57654da8e14b122)
2019-05-22 05:14:16 -05:00
Jeff Becker
78816b2315
bump version 2019-05-11 10:44:14 -04:00
Jeff Becker
d05471c989
bump version to 0.4.1 2019-05-04 08:39:02 -04:00
Jeff Becker
df0120f161
fix limit 2019-03-04 11:05:27 -05:00
Rick V
3931b7d9d7
implement missing libabyss functionality
remove some finished TODOs
2019-02-06 19:53:11 -06:00
Rick V
ce9f455bf3
be more descriptive in version-info
(cherry picked from commit 427a6668ffbc1ed46042727b2ee9420cdc88aad8, it almost slipped out)
2019-01-22 18:17:04 -06:00
Rick V
3b62fdb73d
added warning to resource script 2019-01-22 18:17:02 -06:00
Rick V
bcca2532f6
update version resrc v0.4 'subscribe to pewdiepie` 2019-01-22 18:17:00 -06:00
Jeff Becker
41e8691702
make format 2019-01-17 09:02:50 -05:00
Michael
6e38e85a79
Produce hierarchy of 'libraries' inside libllarp 2019-01-15 23:15:43 +00:00
Michael
e5eda0fb8f
Move lokinet unspecific components to a util/ library 2019-01-10 20:07:24 +00:00