Skip to content

Commit

Permalink
Merge 92c7c35 into 66d9e3c
Browse files Browse the repository at this point in the history
  • Loading branch information
nodech committed Mar 23, 2023
2 parents 66d9e3c + 92c7c35 commit 5eb0b3c
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 4 deletions.
6 changes: 6 additions & 0 deletions docs/release-notes/release-notes-5.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ v5.x Release notes
+ [Node changes](#node-changes)
+ [Wallet changes](#wallet-changes)
* [Changelog](#changelog)
- [v5.1](#v51)
* [Changelog](#changelog-1)

<!-- tocstop -->

Expand Down Expand Up @@ -70,3 +72,7 @@ v5.x Release notes
- \[[`9cf8cb83`](https://github.com/handshake-org/hsd/commit/9cf8cb83)] - [#776](https://github.com/handshake-org/hsd/pull/776) - **docker/docs**: Fix npm warning (@NetOpWibby)
- \[[`395878a0`](https://github.com/handshake-org/hsd/commit/395878a0)] - [#775](https://github.com/handshake-org/hsd/pull/775) - **docs**: fix doc (@Falci - Fernando Falci)
- \[[`fb5501c5`](https://github.com/handshake-org/hsd/commit/fb5501c5)] - [#765](https://github.com/handshake-org/hsd/pull/765) - **chore(BIP39)**: added Portuguese wordlist (@Falci - Fernando Falci)

# v5.1
## Changelog
- \[[`6b47c3a0`](https://github.com/handshake-org/hsd/commit/6b47c3a0)] - [#805](https://github.com/handshake-org/hsd/pull/805) - **SEMVER-MINOR network**: update last checkpoint (@nodech - Nodari Chkuaselidze)
2 changes: 1 addition & 1 deletion lib/protocol/networks.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ main.checkpointMap = {
* @default
*/

main.lastCheckpoint = 100000;
main.lastCheckpoint = 130000;

/**
* Reward halving interval.
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": "5.0.1",
"version": "5.1.0",
"description": "Cryptocurrency bike-shed",
"license": "MIT",
"repository": "git://github.com/handshake-org/hsd.git",
Expand Down
2 changes: 2 additions & 0 deletions test/auction-reorg-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,8 @@ describe('Auction Reorg', function() {
});

describe('Claim Reorg', function() {
this.timeout(10000);

const node = createNode();
const {chain, miner, cpu, blocks} = node;

Expand Down
2 changes: 2 additions & 0 deletions test/auction-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,8 @@ describe('Auction', function() {
});

describe('Claim', function() {
this.timeout(10000);

const node = createNode();
const {chain, miner, cpu, blocks} = node;

Expand Down
2 changes: 2 additions & 0 deletions test/chain-checkpoints-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ describe('Checkpoints', function() {
});

it('should CLAIM and REGISTER a reserved name', async () => {
this.timeout(10000);

const claim = await wallet.fakeClaim('cloudflare');

await mineBlock(null, [claim], null, 'claim');
Expand Down
1 change: 1 addition & 0 deletions test/claim-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ async function mineBlocks(n, addr) {

describe('Reserved Name Claims', function() {
this.timeout(10000);

before(async () => {
await node.open();

Expand Down
4 changes: 4 additions & 0 deletions test/mempool-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1119,6 +1119,8 @@ describe('Mempool', function() {
});

it('should handle reorg: name claim - DNSSEC timestamp', async () => {
this.timeout(10000);

// Mempool is empty
await mempool.reset();
assert.strictEqual(mempool.map.size, 0);
Expand Down Expand Up @@ -1205,6 +1207,8 @@ describe('Mempool', function() {
});

it('should handle reorg: name claim - block commitment', async () => {
this.timeout(10000);

// Mempool is empty
await mempool.reset();
assert.strictEqual(mempool.map.size, 0);
Expand Down
4 changes: 4 additions & 0 deletions test/txstart-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ describe('Disable TXs', function() {
});

it('should reject claim from mempool before txStart', async () => {
this.timeout(10000);

const claim = await wallet.fakeClaim('cloudflare');

try {
Expand Down Expand Up @@ -184,6 +186,8 @@ describe('Disable TXs', function() {
});

it('should allow claim in mempool one block before txStart', async () => {
this.timeout(10000);

const claim = await wallet.fakeClaim('cloudflare');

try {
Expand Down
2 changes: 2 additions & 0 deletions test/wallet-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2790,6 +2790,8 @@ describe('Wallet', function() {
});

it('should confirm cloudflare CLAIM', async () => {
this.timeout(10000);

// Use a fresh wallet.
const pre = await wallet.getBalance();
assert.equal(pre.tx, 0);
Expand Down

0 comments on commit 5eb0b3c

Please sign in to comment.