Skip to content

Commit

Permalink
Release v6.1.0 (#843)
Browse files Browse the repository at this point in the history
  • Loading branch information
nodech committed Aug 26, 2023
2 parents b0a0fed + b539dea commit 59d84bf
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 7 deletions.
14 changes: 12 additions & 2 deletions docs/release-notes/release-notes-6.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ v6.x Release notes

<!-- toc -->

- [v6.0](#v60)
- [v6.0.0](#v600)
* [How to Upgrade](#how-to-upgrade)
* [Notable Changes](#notable-changes)
+ [Network](#network)
Expand All @@ -13,10 +13,12 @@ v6.x Release notes
- [Configuration](#configuration)
- [Wallet API](#wallet-api)
* [Changelog](#changelog)
- [v6.1.0](#v610)
* [Changelog](#changelog-1)

<!-- tocstop -->

# v6.0
# v6.0.0
## How to Upgrade
This version does not have any migrations, so upgrade does not need an action.

Expand Down Expand Up @@ -79,3 +81,11 @@ a plugin. Configurations with `wallet-` prefix will be passed to the wallet.
- \[[`500d638d`](https://github.com/handshake-org/hsd/commit/500d638d)] - [#838](https://github.com/handshake-org/hsd/pull/838) - **scripts**: Update hs-client generator. (@nodech - Nodari Chkuaselidze)

[hs-client]: https://github.com/handshake-org/hs-client

# v6.1.0
Re-enable bip9 signalling that was disabled in v2. See [#842](https://github.com/handshake-org/hsd/pull/842)
- `getblocktemplate` can now start signalling soft-forks again using `rules` parameter. (e.g. `getblocktemplate '{ "rules": [ "icannlockup" ] }'`)
- `getwork` will now signal **ALL** soft-forks again.

## Changelog
- \[[`6dc5249d`](https://github.com/handshake-org/hsd/commit/6dc5249d)] - [#842](https://github.com/handshake-org/hsd/pull/842) - **SEMVER-MINOR miner**: Fix bip9 signalling. (@rithvikvibhu - Rithvik Vibhu)
2 changes: 1 addition & 1 deletion lib/blockchain/chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -3582,7 +3582,7 @@ class Chain extends AsyncEmitter {
const state = await this.getState(prev, deployment);

if (state === thresholdStates.LOCKED_IN
|| (state === thresholdStates.STARTED && deployment.force)) {
|| state === thresholdStates.STARTED) {
version |= 1 << deployment.bit;
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/mining/miner.js
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ class MinerOptions {
this.chain = null;
this.mempool = null;

this.version = 0;
this.version = -1;
this.addresses = [];
this.coinbaseFlags = Buffer.from(`mined by ${pkg.name}`, 'ascii');
this.preverify = false;
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hsd",
"version": "6.0.0",
"version": "6.1.0",
"description": "Cryptocurrency bike-shed",
"license": "MIT",
"repository": "git://github.com/handshake-org/hsd.git",
Expand Down
4 changes: 4 additions & 0 deletions test/chain-icann-lockup-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1062,6 +1062,10 @@ async function mineBlock(node, opts = {}) {

const job = await miner.cpu.createJob(chain.tip);

// opt out of all (esp. `hardening`) as
// some domains in this test still use RSA-1024
job.attempt.version = 0;

if (setICANNLockup)
job.attempt.version |= (1 << deployments[SOFT_FORK_NAME].bit);

Expand Down

0 comments on commit 59d84bf

Please sign in to comment.