Commit graph

74 commits

Author SHA1 Message Date
Jason Rhinelander 507a9d22ea
Better version tag generation (from oxenss/lokinet) 2022-05-30 15:16:50 -03:00
Sean Darcy 432dc319a9 executable names changed 2021-01-04 14:19:42 +11:00
Jason Rhinelander a56284e311 Switch version strings to string_view's 2020-11-30 00:47:12 -04:00
Jason Rhinelander c50d2e93dc Add a LOKI_RELEASE_SUFFIX for adding "-dev" to dev branch builds
This will require a one-time change when we merge to master (to delete
the `-dev`) but after that it should just sit there without needing any
modifications on `master` or `dev`.  (And letting it be specified via
cmake arguments will let me slightly simplify the debs which currently
have to add a vaguely similar patch to get the debian version into the
version string).
2020-05-03 22:20:49 -03:00
Jason Rhinelander db5c053057 Move version into top-level CMakeLists.txt
CMake already provides variables to handle the version major/minor/patch
if we give it the dotted version in the `project()` command.  Using it
significantly reduces the amount of macro stuff we have to do in
version.cpp.in, and it seems a little nicer to have it defined in the
project top level rather than buried in a needs-to-beprocessed .cpp
file.

This moves the release codename there, too, so that it stays being
defined in essentially the same place as the version.

This change here requires some minor tweaking of the version generation
code to do it in two steps (when we have git): the first
(`src/version.cpp.in` -> `build/version.cpp.in`) replaces all the main
version variables during cmake configuration, the second
(`build/version.cpp.in` -> `build/version.cpp`) then replaces the
VERSIONTAG at build time.  (Before this commit, there was only version
tag replacement that only happened at build time).

Also bumps up the version here (since I'm moving it anyway) to match
master's 7.1.8.
2020-05-03 22:19:51 -03:00
Doyle fe4b992f5a
Bump version 7.1 patch to 5 (#1130) 2020-04-20 11:57:13 +10:00
Doyle f33e426b6b
Update version 7.1 patch to 4 (#1125) 2020-04-16 11:20:28 +10:00
Doyle bfd3b2195a Valiant Vidar increment patch to 3 2020-03-27 17:31:17 +11:00
Doyle 379df9aff6 Update patch to v7.1.2 and enforce prev_txid in signature hashes 2020-03-18 16:55:21 +11:00
Doyle 4e1ff86f17 Daemon: Update patch to 7.1.1 2020-03-18 13:32:05 +11:00
Jason Rhinelander 9e3328877d
Bump version to 7.1.0 for final release (#1082)
Also bumps up the required lokinet version to 0.7.0.
2020-03-17 13:01:03 +11:00
Doyle d2c250dc6c Update version name and value to 7.0.0 2020-03-12 09:47:04 +11:00
Doyle de3eef1619
Update v6 patch to 4 (#1023) 2020-01-20 12:38:54 +11:00
Doyle 467b704120 Update v6 patch to 3 2020-01-10 13:07:37 +11:00
Doyle b7dc6b5f77 Update v6 patch to 2 2020-01-08 13:19:15 +11:00
Doyle 03930a8cab
Update v6 patch to 1 (#1000) 2020-01-07 17:14:52 +11:00
Doyle abe085942d Update minor versrion to 1, set release name 2019-12-19 10:41:41 +11:00
Jason Rhinelander 322b3c752c Bump version to 6.0.0 2019-12-01 15:29:44 -04:00
Jason Rhinelander 8a276b362f Store loki version as std::array<u16,3> everywhere
Currently we store it as various different things: 3 separate ints, 2
u16s, 3 separate u16s, and a vector of u16s.  This unifies all version
values to a `std::array<uint16_t,3>`.

- LOKI_VERSION_{MAJOR,MINOR,PATCH} are now just LOKI_VERSION
- The previous LOKI_VERSION (C-string of the version) is now renamed
  LOKI_VERSION_STR

A related change included here is that the restricted RPC now returns
the major version in the get_info rpc call instead of an empty string
(e.g. "5" instead of "").  There is almost certainly enough difference
in the RPC results to distinguish major versions already so this doesn't
seem like it actually leaks anything significant.
2019-11-27 14:07:52 -04:00
Doyle 4c8d9e8193 Bump v5 patch to 3 2019-10-28 14:45:02 +11:00
Doyle 90705c44a3 Bump V5 patch to 2 2019-10-15 17:45:54 +11:00
Doyle 6b88e2fefd Bump v5 patch to 1 2019-10-10 15:08:50 +11:00
Doyle fbd5c5eb60
Bump minor patch to 1 and enforce uptime proof minor version (#881)
* Bump minor patch to 1 in preparation for release

* Hardfork 13 date for mainnet
2019-10-09 12:54:16 +11:00
Doyle cbd22735d7
Add hard fork date for testnet to v13 (#833) 2019-09-13 16:31:58 +10:00
Doyle 88b914fe97
Bump Hefty Heimdall patch to 5 (#804) 2019-08-17 15:12:28 +10:00
Doyle 7610678fc9 Bump Hefty Heimdall patch to 4 2019-08-08 19:02:52 +10:00
Doyle e08fab518f Bump Hefty Heimdall patch to 3 2019-07-12 12:13:18 +10:00
Doyle 1f7efbe6cc Bump Hefty Heimdall to patch 2 2019-07-11 17:05:32 +10:00
Doyle 115d9a11ea
Bump Hefty Heimdall beta patch to 1 (#704)
* Bump patch to 1 for including vital p2p fixes

* Add beta tag to the release name for clarity
2019-07-02 14:30:54 +10:00
Doyle d6c5b5d783
Hefty Heimdall, version tag, add checkpoints, add dates (#668)
* Hefty Heimdall v4.0.0, add checkpoint and hardfork dates

* Add 1 day to testnet, stagenet fork days
2019-06-27 17:00:44 +10:00
Doyle 580f259e17
Bump patch version to 6 (#600) 2019-05-12 10:06:07 +10:00
Doyle ef01f7d499
Increment patch version to 5 (#581) 2019-05-01 12:33:51 +10:00
Doyle 80f092e3c0
Bump version 3 patch to 4 (#549) 2019-04-03 12:14:55 +11:00
Doyle 4693c03739
Bump version 3 patch to 3 (#528) 2019-03-28 18:19:40 +11:00
Doyle d51358a519
Bump patch (#514) 2019-03-21 13:52:47 +11:00
Doyle 5a8680f2af Update patch to 1 2019-03-21 11:55:16 +11:00
Doyle 10f7bbd7c6
Remove beta tag from v3 (#497) 2019-03-18 10:25:09 +10:00
Doyle 5dff5a0c4e Bump patch number to 3 2019-03-13 19:14:41 +11:00
Doyle ef120f76bd
Bump version to 3.0.0-beta.2 (#483) 2019-03-13 05:35:36 +00:00
Doyle 398b346786
Increment beta sub-version (#464) 2019-03-06 00:17:11 +00:00
Doyle b3b1869c64
Increment version to Summer Sigyn v3, beta (#446) 2019-02-27 11:14:50 +11:00
Doyle 129dabf93c
Bump patch number to 3 (#391) 2019-01-14 16:24:41 +11:00
doy-lee 8e5fdcb1e9 Bump patch for Borromean TX fix 2018-12-17 10:50:38 +11:00
Doyle 1a6bb7de74
Bump version patch to 1 (#362) 2018-12-04 18:55:56 +11:00
Maxim Shishmarev ac7b568305 remove rc tag from version 2018-11-30 11:40:17 +11:00
Doyle ba2ae5747e
Festive Freya, Hardfork 10 Date and Version Tags (#318)
* Add hardfork dates for v10

* Update version tag

* Add rc tag to version

* Add checkpoint for height 144650

* Update testnet hardfork block
2018-11-20 13:34:06 +11:00
doy-lee 9abf99a819 Add versioning to uptime proofs to enforce behaviour 2018-11-05 15:52:44 +11:00
doy-lee 8cc26eb948 Update to version 1.0.4 w/ warnings in prep for service node renewal 2018-10-08 18:31:02 +11:00
Doyle 0c3bd6531d
Update version to 1.0.3 which includes staking patches (#275) 2018-09-29 19:40:21 +10:00
Doyle e12ce07da2
Bump version number to 1.0.2 (#269) 2018-09-27 18:34:03 +10:00