Skip to content

Commit 59d84bf

Browse files
committed
Release v6.1.0 (#843)
2 parents b0a0fed + b539dea commit 59d84bf

File tree

6 files changed

+21
-7
lines changed

6 files changed

+21
-7
lines changed

docs/release-notes/release-notes-6.x.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ v6.x Release notes
33

44
<!-- toc -->
55

6-
- [v6.0](#v60)
6+
- [v6.0.0](#v600)
77
* [How to Upgrade](#how-to-upgrade)
88
* [Notable Changes](#notable-changes)
99
+ [Network](#network)
@@ -13,10 +13,12 @@ v6.x Release notes
1313
- [Configuration](#configuration)
1414
- [Wallet API](#wallet-api)
1515
* [Changelog](#changelog)
16+
- [v6.1.0](#v610)
17+
* [Changelog](#changelog-1)
1618

1719
<!-- tocstop -->
1820

19-
# v6.0
21+
# v6.0.0
2022
## How to Upgrade
2123
This version does not have any migrations, so upgrade does not need an action.
2224

@@ -79,3 +81,11 @@ a plugin. Configurations with `wallet-` prefix will be passed to the wallet.
7981
- \[[`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)
8082

8183
[hs-client]: https://github.com/handshake-org/hs-client
84+
85+
# v6.1.0
86+
Re-enable bip9 signalling that was disabled in v2. See [#842](https://github.com/handshake-org/hsd/pull/842)
87+
- `getblocktemplate` can now start signalling soft-forks again using `rules` parameter. (e.g. `getblocktemplate '{ "rules": [ "icannlockup" ] }'`)
88+
- `getwork` will now signal **ALL** soft-forks again.
89+
90+
## Changelog
91+
- \[[`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)

lib/blockchain/chain.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3582,7 +3582,7 @@ class Chain extends AsyncEmitter {
35823582
const state = await this.getState(prev, deployment);
35833583

35843584
if (state === thresholdStates.LOCKED_IN
3585-
|| (state === thresholdStates.STARTED && deployment.force)) {
3585+
|| state === thresholdStates.STARTED) {
35863586
version |= 1 << deployment.bit;
35873587
}
35883588
}

lib/mining/miner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ class MinerOptions {
469469
this.chain = null;
470470
this.mempool = null;
471471

472-
this.version = 0;
472+
this.version = -1;
473473
this.addresses = [];
474474
this.coinbaseFlags = Buffer.from(`mined by ${pkg.name}`, 'ascii');
475475
this.preverify = false;

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hsd",
3-
"version": "6.0.0",
3+
"version": "6.1.0",
44
"description": "Cryptocurrency bike-shed",
55
"license": "MIT",
66
"repository": "git://github.com/handshake-org/hsd.git",

test/chain-icann-lockup-test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,6 +1062,10 @@ async function mineBlock(node, opts = {}) {
10621062

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

1065+
// opt out of all (esp. `hardening`) as
1066+
// some domains in this test still use RSA-1024
1067+
job.attempt.version = 0;
1068+
10651069
if (setICANNLockup)
10661070
job.attempt.version |= (1 << deployments[SOFT_FORK_NAME].bit);
10671071

0 commit comments

Comments
 (0)