You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update translations, see [translation_process.md](https://github.com/dashpay/dash/blob/master/doc/translation_process.md#synchronising-translations).
5
-
6
-
* Update manpages, see [gen-manpages.sh](https://github.com/dashpay/dash/blob/master/contrib/devtools/README.md#gen-manpagessh).
7
-
8
4
Before every minor and major release:
9
5
6
+
* Update translations, see [translation_process.md](https://github.com/Krekeler/documentchain/blob/master/doc/translation_process.md#synchronising-translations)
10
7
* Update [bips.md](bips.md) to account for changes since the last release.
11
-
* Update version in `configure.ac` (don't forget to set `CLIENT_VERSION_IS_RELEASE` to `true`)
8
+
* Update version in sources (see below)
12
9
* Write release notes (see below)
13
10
* Update `src/chainparams.cpp` nMinimumChainWork with information from the getblockchaininfo rpc.
11
+
* Update `src/chainparams.cpp` chainTxData with statistics about the transaction count and rate. Use the output of the RPC `getchaintxstats`, see
12
+
[this pull request](https://github.com/bitcoin/bitcoin/pull/12270) for an example. Reviewers can verify the results by running `getchaintxstats <window_block_count> <window_last_block_hash>` with the `window_block_count` and `window_last_block_hash` from your output.
14
13
* Update `src/chainparams.cpp` defaultAssumeValid with information from the getblockhash rpc.
15
14
- The selected value must not be orphaned so it may be useful to set the value two blocks back from the tip.
16
15
- Testnet should be set some tens of thousands back from the tip due to reorgs there.
17
16
- This update should be reviewed with a reindex-chainstate with assumevalid=0 to catch any defect
18
17
that causes rejection of blocks in the past history.
* Update `src/qt/&intro.cpp` BLOCK_CHAIN_SIZE to the current size plus some overhead.
19
20
20
-
Before every major release:
21
21
22
-
* Update hardcoded [seeds](/contrib/seeds/README.md). TODO: Give example PR for Dash
23
-
* Update [`BLOCK_CHAIN_SIZE`](/src/qt/intro.cpp) to the current size plus some overhead.
24
-
* Update `src/chainparams.cpp` chainTxData with statistics about the transaction count and rate. Use the output of the RPC `getchaintxstats`, see
25
-
[this pull request](https://github.com/bitcoin/bitcoin/pull/12270) for an example. Reviewers can verify the results by running `getchaintxstats <window_block_count> <window_last_block_hash>` with the `window_block_count` and `window_last_block_hash` from your output.
26
-
* Update version of `contrib/gitian-descriptors/*.yml`: usually one'd want to do this on master after branching off the release - but be sure to at least do it before a new major release
22
+
### Update version in sources
23
+
24
+
Client version
25
+
26
+
-`configure.ac`:
27
+
-`_CLIENT_VERSION_MAJOR`
28
+
-`_CLIENT_VERSION_MINOR`
29
+
-`_CLIENT_VERSION_REVISION`
30
+
-`_CLIENT_VERSION_BUILD`
31
+
- Set `_CLIENT_VERSION_IS_RELEASE` to `true`
32
+
-`_COPYRIGHT_YEAR`
33
+
-`src/clientversion.h: RELEASE_CODE_NAME`**A**lice, **B**ob, **C**arol etc.
### Dash Core maintainers/release engineers, suggestion for writing release notes
49
+
### DMS Core maintainers/release engineers, suggestion for writing release notes
41
50
42
51
Write release notes. git shortlog helps a lot, for example:
43
52
44
-
git shortlog --no-merges v(current version, e.g. 0.12.2)..v(new version, e.g. 0.12.3)
53
+
git shortlog --no-merges v(current version, e.g. 0.13.3)..v(new version, e.g. 0.13.4)
45
54
46
55
Generate list of authors:
47
56
48
-
git log --format='- %aN' v(current version, e.g. 0.16.0)..v(new version, e.g. 0.16.1) | sort -fiu
57
+
git log --format='- %aN' v(current version, e.g. 0.13.3)..v(new version, e.g. 0.13.4) | sort -fiu
49
58
50
59
Tag version (or release candidate) in git
51
60
52
-
git tag -s v(new version, e.g. 0.12.3)
61
+
git tag -s v(new version, e.g. 0.13.4)
53
62
54
63
### Setup and perform Gitian builds
55
64
56
65
If you're using the automated script (found in [contrib/gitian-build.py](/contrib/gitian-build.py)), then at this point you should run it with the "--build" command. Otherwise ignore this.
Create the OS X SDK tarball, see the [OS X readme](README_osx.md) for details, and copy it into the inputs directory.
97
+
Create the macOS SDK tarball, see the [OS X readme](README_osx.md) for details, and copy it into the inputs directory.
89
98
90
99
### Optional: Seed the Gitian sources cache and offline git repositories
91
100
92
101
NOTE: Gitian is sometimes unable to download files. If you have errors, try the step below.
93
102
94
-
By default, Gitian will fetch source files as needed. To cache them ahead of time, make sure you have checked out the tag you want to build in dash, then:
103
+
By default, Gitian will fetch source files as needed. To cache them ahead of time, make sure you have checked out the tag you want to build in documentchain, then:
95
104
96
105
pushd ./gitian-builder
97
-
make -C ../dash/depends download SOURCES_PATH=`pwd`/cache/common
106
+
make -C ../documentchain/depends download SOURCES_PATH=`pwd`/cache/common
98
107
popd
99
108
100
109
Only missing files will be fetched, so this is safe to re-run for each build.
101
110
102
111
NOTE: Offline builds must use the --url flag to ensure Gitian fetches only from local URLs. For example:
103
112
104
113
pushd ./gitian-builder
105
-
./bin/gbuild --url dash=/path/to/dash,signature=/path/to/sigs {rest of arguments}
114
+
./bin/gbuild --url documentchain=/path/to/documentchain,signature=/path/to/sigs {rest of arguments}
106
115
popd
107
116
108
117
The gbuild invocations below <b>DO NOT DO THIS</b> by default.
109
118
110
-
### Build and sign Dash Core for Linux, Windows, and OS X:
119
+
### Build and sign DMS Core for Linux, Windows, and macOS:
Non-codesigners: wait for Windows/OS X detached signatures:
203
+
Non-codesigners: wait for Windows/macOS detached signatures:
195
204
196
-
- Once the Windows/OS X builds each have 3 matching signatures, they will be signed with their respective release keys.
197
-
- Detached signatures will then be committed to the [dash-detached-sigs](https://github.com/dashpay/dash-detached-sigs) repository, which can be combined with the unsigned apps to create signed binaries.
205
+
- Once the Windows/macOS builds each have 3 matching signatures, they will be signed with their respective release keys.
206
+
- Detached signatures will then be committed to the [documentchain-detached-sigs](https://github.com/Krekeler/documentchain-detached-sigs) repository, which can be combined with the unsigned apps to create signed binaries.
198
207
199
-
Create (and optionally verify) the signed OS X binary:
208
+
Create (and optionally verify) the signed macOS binary:
0 commit comments