Commit Graph

59 Commits

Author SHA1 Message Date
Jeff Becker
382e4215a8
path testing interval increase to reduce bandwidth use 2020-05-23 16:07:20 -04:00
Jason Rhinelander
ab4ee954b9 Remove DEBIAN option
This hasn't been used in a long time; the debian packaging lives in
separate branches instead.
2020-05-17 21:29:05 -03:00
Jeff
54a7843bc5
Merge pull request #1186 from notlesh/config-cleanup-2020-03-13
Config cleanup
2020-04-24 12:49:08 -04:00
Jason Rhinelander
3dd3d48fbb Consolidate cmake vars & definitions
CMake will set version variables itself if you give the version in the
project(), which is cleaner.  Also removes some (nearly) duplicate
definitions and settings added in basic_definitions.cmake for unknown
reasons.

Removes some redundant settings (name, description, version) from the
cpack settings which already default to the values from the project()
call.
2020-04-19 23:16:23 -03:00
Stephen Shelton
de8e44ba21
Re-apply clang-format rules after rebasing 2020-04-07 14:41:11 -06:00
Stephen Shelton
a66f502ed6
Remove [netdb] conf and place it under data-dir
This does three things:

1) Remove the [netdb] conf section,
2) Rename the subdir 'netdb' -> 'nodedb'
3) Place 'nodedb' under 'data-dir'
2020-04-07 14:28:23 -06:00
Stephen Shelton
d3bcc05aa6
Organize some constants and default values 2020-04-07 14:26:32 -06:00
Stephen Shelton
5b520a4dff
Simplify connection limit constants 2020-04-07 14:13:27 -06:00
Stephen Shelton
273270916e
The Great Wall of Blame
This commit reflects changes to clang-format rules. Unfortunately,
these rule changes create a massive change to the codebase, which
causes an apparent rewrite of git history.

Git blame's --ignore-rev flag can be used to ignore this commit when
attempting to `git blame` some code.
2020-04-07 12:38:56 -06:00
Jeff Becker
c36b6a409c
move version to cmake so docs can access it 2020-04-07 13:16:22 -04:00
Jeff Becker
2190da8c81
cpack win32 2020-04-02 11:08:07 -04:00
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