Skip to content

Latest commit

 

History

History
169 lines (137 loc) · 6.61 KB

release-note-1.5.0.md

File metadata and controls

169 lines (137 loc) · 6.61 KB

dcrstakepool v1.5.0

dcrstakepool release 1.5.0 contains all development work completed since v1.2.0 (September 2019). Since then, 7 contributors have produced and merged 37 pull requests. Changes include minor GUI enhancements, improved HTTP request logging, some streamlining of existing code, and various bug-fixes.

dcrstakepool 1.5.0 requires dcrd/dcrwallet 1.5.0 or later.

Config Changes

Removed

All of the following config items were removed by #546 as they were deprecated in the previous dcrstakepool release. These config items must be removed from dcrstakepool.conf. dcrstakepool will not start if these config items are set.

Config Reason
wallethosts, walletusers, walletpasswords and walletcerts dcrstakepool no longer contacts dcrwallet directly. All comms are now routed through stakepoold.
enablestakepoold stakepoold is always required. dcrstakepool cannot function without it.
maxvotedage The last N voted tickets are now displayed rather than tickets which voted in the last N days.
minservers This value is now hard-coded. Mainnet requires at least two back-end servers, testnet and simnet only need one.
datadir This value was unused. dcrstakepool does not write any data to disk.

Deprecated

It is recommended to remove these config items from dcrstakepool.conf and stakepoold.conf. dcrstakepool and stakepoold will ignore these config items and log a warning if they are set. They will be removed completely in the next release.

Config PR Reason
Profile, CPUProfile and memprofile #545 These config items were not used at all by dcrstakepool

Added

No new config items have been added in 1.5.0.

Recommended Upgrade Path

  1. Build dcrstakepool and stakepoold v1.5.0
  2. Build dcrwallet and dcrd v1.5.0
  3. Announce maintenance and shut down dcrstakepool
  4. Perform an upgrade of each back-end server, one at a time
    1. Stop stakepoold
    2. Stop dcrwallet
    3. Stop dcrd
    4. Install latest dcrd binary and start
    5. Install latest dcrwallet binary and start
    6. Make required changes to stakepoold.conf (detailed above)
    7. Ensure both dcrd and dcrwallet are synced with the network
    8. Install latest stakepoold binary and start
    9. Check log files for warnings or errors
  5. Make required changes to dcrstakepool.conf (detailed above)
  6. Install latest dcrstakepool and start
  7. Announce maintenance complete after verifying functionality

Changelog

README

  • readme: Simplify and update information (#575)

Test Harness

  • harness: add stakepoolcoldextkey to dcrwallet.conf (#536)

GUI

  • input new styling (#491)
  • Update to d3.js version 5.12.0 (#540)
  • Always show vote options on /voting (#583)
  • Update Profit => Reward (#584)

Config

  • Compare ColdWalletExtPub config value across dcrstakepool and all stakepoold configs (#526)
  • Deprecate unused Profile configs. (#545)
  • Remove config items deprecated in 1.2 (#546)

nginx config

  • Add zipassets.sh to facilitate gzip_static use (#537)
  • update sample-nginx.conf (#538)
  • Note version requirement for limit_req delay param (#580)

Bugfixes & Minor Improvements

  • Define and use a custom HTTP request logger (#535)
  • Prevent header links from moving (#559)

Tech Debt & Refactoring

  • multi: Update maxuser TODOs (#466)
  • stakepoold: Add shutdown context (#528)
  • stakepoold: context -> stakepool (#529)
  • clean up LoadTemplates and link to explorer on stats page (#534)
  • dcrstakepool: Add shutdown context (#539)
  • Simplify construction of dcrdata urls (#544)
  • stakepoold: Move rpc/rpcserver to rpc/server (#550)
  • params: Remove unused WalletRPCServerPort (#553)
  • Remove all in-line JavaScript (#560)
  • Move page specific code out of global.js (#561)
  • Report card (#566)

Developer-related changes (eg. versioning, travis, dependencies)

  • travis: test go1.13 (#531)
  • build: replace travis-ci with ci via github actions (#541)
  • ci: only run on pull requests (#543)
  • build: re-add push action (#547)
  • Remove gorilla/context and update deps. (#549)
  • multi: Update modules (#554)
  • bump version to 1.5.0-pre. (#558)
  • modules: sync to latest (#565)
  • multi: drop udb usage (#567)
  • build: upgrade golangci-lint (#570)
  • build: upgrade deps (#576)
  • Prepare v1.5.0 (#578)

Code Contributors

In alphabetical order: @amassarwi @chappjc @dajohi @isuldor @itswisdomagain @jholdstock @JoeGruffins