From b15f5013903cd2689549bbefc42fa62e578e0757 Mon Sep 17 00:00:00 2001 From: jholdstock Date: Mon, 5 Aug 2024 14:08:10 +0100 Subject: [PATCH 1/2] docs: Add 2.0.0 release note. --- docs/release-notes/release-notes-2.0.0.md | 66 +++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 docs/release-notes/release-notes-2.0.0.md diff --git a/docs/release-notes/release-notes-2.0.0.md b/docs/release-notes/release-notes-2.0.0.md new file mode 100644 index 00000000..7f711d69 --- /dev/null +++ b/docs/release-notes/release-notes-2.0.0.md @@ -0,0 +1,66 @@ +# dcrpool v2.0.0 + +This is a new major version of dcrpool which has been updated to use the new BLAKE3 mining algorithm and removes support for ASIC miners. + +*Note:* This version of dcrpool is not compatible with databases created by older versions of dcrpool. + +## Breaking Changes + +1. `--service` config flag has been removed. ([#342](https://github.com/decred/dcrpool/pull/342)) + +1. Database version reset to 1 for dcrpool 2.0.0. ([#391](https://github.com/decred/dcrpool/pull/391)) + +1. Deprecated `--minpayment` and `--maxtxfeereserve` config flags have been removed. ([#393](https://github.com/decred/dcrpool/pull/393)) + +1. Support for ASIC miners removed (Whatsminer D1, Antminer DR5, Antminer DR3 Innosilicon D9, Obelisk DCR1). ([#400](https://github.com/decred/dcrpool/pull/400)) + +1. BLAKE256 support removed in favour of BLAKE3. ([#412](https://github.com/decred/dcrpool/pull/412)) + +## Improvements + +1. CPU miner updated to support BLAKE3 mining. ([#341](https://github.com/decred/dcrpool/pull/341)) + +1. Git hash is now included in application version where possible. ([#355](https://github.com/decred/dcrpool/pull/355)) + +1. Minimum TLS version for dcrwallet connection is now 1.2. ([#369](https://github.com/decred/dcrpool/pull/369)) + +1. Improved shutdown signal handling for Windows and Unix platforms. ([#381](https://github.com/decred/dcrpool/pull/381)) + +1. Postgres 14.9, 15.4, and 16.0 tested and confirmed to be compatible. ([#384](https://github.com/decred/dcrpool/pull/384)) + +1. Payment IDs are now generated with some randomness to prevent collisions. ([#392](https://github.com/decred/dcrpool/pull/392)) + +1. Client versions are now only validated by major and minor version numbers, not patch number. ([#406](https://github.com/decred/dcrpool/pull/406)) + +1. gominer 2.0.x added as a supported client. ([#413](https://github.com/decred/dcrpool/pull/413)) + +1. Client IP and port are now displayed in the account page. ([#428](https://github.com/decred/dcrpool/pull/428)) + +## Bug Fixes + +1. Work performed on blocks which were reorged out of the best chain is now properly pruned. ([#336](https://github.com/decred/dcrpool/pull/336)) + +1. Tasks deferred until shutdown are now always executed if an error is encountered during startup. ([#351](https://github.com/decred/dcrpool/pull/351)) + +1. Database is properly closed when dcrpool shuts down due to an error. ([#353](https://github.com/decred/dcrpool/pull/353)) + +1. Subscribe requests which fail to fetch miner difficulty will now receive a proper error response instead of nothing. ([#372](https://github.com/decred/dcrpool/pull/372)) + +1. Attempting to message a client on a closed connection will no longer cause the process to hang. ([#375](https://github.com/decred/dcrpool/pull/375)) + +1. Fixed a race in payment manager logic. ([#396](https://github.com/decred/dcrpool/pull/396)) + +1. Prevent a possible panic during shutdown. ([#397](https://github.com/decred/dcrpool/pull/397)) + +1. Fixed a race in client connection handler. ([#402](https://github.com/decred/dcrpool/pull/402)) + +1. Reward payments are no longer paying excessively large fees. ([#427](https://github.com/decred/dcrpool/pull/427)) + +1. Fix incorrect handling when dcrd is not able to find a transaction. ([#431](https://github.com/decred/dcrpool/pull/431)) + +## Code Contributors (alphabetical order) + +- Dave Collins +- David Hill +- Donald Adu-Poku +- Jamie Holdstock From 0da675bc66cb066cd2a713e8bf7110126b62270f Mon Sep 17 00:00:00 2001 From: jholdstock Date: Wed, 7 Aug 2024 10:16:30 +0100 Subject: [PATCH 2/2] Bump version to 2.0.0-pre. The earlier commit to change the version to 1.3.0 was a mistake. The major version needs to be bumped due to changes to the database code which are not backwards compatible. --- README.md | 2 +- version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7fe33da8..ec112358 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ mining, a certificate from an authority (`CA`) like command without cloning this repository: ```sh - $ go install github.com/decred/dcrpool@v1.3.0 + $ go install github.com/decred/dcrpool@release-v2.0.0 ``` Using `@master` instead will perform a build using the latest code from the diff --git a/version.go b/version.go index 41eff734..70dad11c 100644 --- a/version.go +++ b/version.go @@ -40,7 +40,7 @@ var ( // the app will panic at runtime. Of particular note is the pre-release // and build metadata portions MUST only contain characters from // semanticAlphabet. - version = "1.3.0-pre" + version = "2.0.0-pre" // NOTE: The following values are set via init by parsing the above version // string.