From 985a5d979e1804082b34a1f9bca3f1c9a5520e04 Mon Sep 17 00:00:00 2001 From: Nodari Chkuaselidze Date: Tue, 24 Jun 2025 15:25:36 +0400 Subject: [PATCH 1/4] net: update seeds. --- lib/net/seeds/main.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/net/seeds/main.js b/lib/net/seeds/main.js index 57e2b467..1b5728dd 100644 --- a/lib/net/seeds/main.js +++ b/lib/net/seeds/main.js @@ -38,11 +38,8 @@ module.exports = [ // seed.easyhandshake.com // htools-org/hnsnodes // hsdnethealth.nodech.dev - '139.177.198.45', '139.59.211.187', - '152.53.18.243', - '44.229.138.206', '5.161.64.49', - '74.91.115.209', - '85.214.33.200' + '85.214.33.200', + '202.61.250.91' ]; From d42170b682f636c0869a0794d517c7f076491ccb Mon Sep 17 00:00:00 2001 From: Nodari Chkuaselidze Date: Tue, 24 Jun 2025 15:34:52 +0400 Subject: [PATCH 2/4] net: update checkpoints to block 258026. --- lib/protocol/networks.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/protocol/networks.js b/lib/protocol/networks.js index 6f376545..2ad759b4 100644 --- a/lib/protocol/networks.js +++ b/lib/protocol/networks.js @@ -115,7 +115,9 @@ main.checkpointMap = { 200000: Buffer.from( '000000000000000181ebc18d6c34442ffef3eedca90c57ca8ecc29016a1cfe16', 'hex'), 225000: Buffer.from( - '00000000000000021f0be013ebad018a9ef97c8501766632f017a778781320d5', 'hex') + '00000000000000021f0be013ebad018a9ef97c8501766632f017a778781320d5', 'hex'), + 258026: Buffer.from( + '0000000000000004963d20732c58e5a91cb7e1b61ec6709d031f1a5ca8c55b95', 'hex') }; /** @@ -124,7 +126,7 @@ main.checkpointMap = { * @default */ -main.lastCheckpoint = 225000; +main.lastCheckpoint = 258026; /** * Reward halving interval. From a4e9ec6c32bf972029dcc95ddf1b0752dd35ce36 Mon Sep 17 00:00:00 2001 From: Nodari Chkuaselidze Date: Tue, 24 Jun 2025 15:41:55 +0400 Subject: [PATCH 3/4] pkg: update deps. --- package-lock.json | 12 +++++++----- package.json | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 29346550..3d20ff0b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "blgr": "~0.2.1", "blru": "~0.1.8", "blst": "~0.1.6", - "bmutex": "~0.1.7", + "bmutex": "~0.1.8", "bns": "~0.15.0", "bsert": "~0.0.13", "bsock": "~0.1.11", @@ -85,6 +85,7 @@ "resolved": "https://registry.npmjs.org/bcrypto/-/bcrypto-5.4.0.tgz", "integrity": "sha512-KDX2CR29o6ZoqpQndcCxFZAtYA1jDMnXU3jmCfzP44g++Cu7AHHtZN/JbrN/MXAg9SLvtQ8XISG+eVD9zH1+Jg==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "bufio": "~1.0.7", "loady": "~0.0.5" @@ -230,11 +231,12 @@ } }, "node_modules/bmutex": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/bmutex/-/bmutex-0.1.7.tgz", - "integrity": "sha512-czuDM58Y1LCT7V0t9NHd0j4l7A3IBovXNvWrmmCcdKsulEgGcahTGqrWNidvWFv2dhiuvQmUzaLf6AT00+FLFw==", + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/bmutex/-/bmutex-0.1.8.tgz", + "integrity": "sha512-NEI6oawCTA9hobAIubvpooRkq7hp+dBg0hf1KUJ3uV77PrXlUgLXr6D/mr6+sfJ0hx523lDaz/vEcJIbK9S1uw==", + "license": "MIT", "dependencies": { - "bsert": "~0.0.12" + "bsert": "~0.0.13" }, "engines": { "node": ">=8.0.0" diff --git a/package.json b/package.json index 5d8e4de1..085b08d4 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "blgr": "~0.2.1", "blru": "~0.1.8", "blst": "~0.1.6", - "bmutex": "~0.1.7", + "bmutex": "~0.1.8", "bns": "~0.15.0", "bsert": "~0.0.13", "bsock": "~0.1.11", From 785fc787ebd5795749e6cbfa63ef6119d30ea88a Mon Sep 17 00:00:00 2001 From: Nodari Chkuaselidze Date: Wed, 25 Jun 2025 13:57:58 +0400 Subject: [PATCH 4/4] net: replace easyhandhake.com with seed.htools.work. --- lib/net/seeds/main.js | 3 ++- lib/protocol/networks.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/net/seeds/main.js b/lib/net/seeds/main.js index 1b5728dd..30a2e9cb 100644 --- a/lib/net/seeds/main.js +++ b/lib/net/seeds/main.js @@ -35,7 +35,8 @@ module.exports = [ '194.50.5.28', // Other nodes discovered by - // seed.easyhandshake.com + // hs-mainnet.bcoin.ninja + // seed.htools.work // htools-org/hnsnodes // hsdnethealth.nodech.dev '139.59.211.187', diff --git a/lib/protocol/networks.js b/lib/protocol/networks.js index 2ad759b4..2c7785a1 100644 --- a/lib/protocol/networks.js +++ b/lib/protocol/networks.js @@ -53,7 +53,7 @@ main.type = 'main'; main.seeds = [ 'hs-mainnet.bcoin.ninja', // Christopher Jeffrey - 'seed.easyhandshake.com' // Matthew Zipkin + 'seed.htools.work' // Rithvik Vibhu ]; /**