Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 22 additions & 12 deletions .pnp.cjs

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

Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/bench-suite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@dashevo/dapi-client": "workspace:*",
"@dashevo/dashcore-lib": "~0.22.0",
"@dashevo/dashcore-lib": "~0.26.1",
"@dashevo/dpns-contract": "workspace:*",
"@dashevo/evo-sdk": "workspace:*",
"@dashevo/wallet-lib": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/dapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dependencies": {
"@dashevo/bls": "~1.2.9",
"@dashevo/dapi-grpc": "workspace:*",
"@dashevo/dashcore-lib": "~0.22.0",
"@dashevo/dashcore-lib": "~0.26.1",
"@dashevo/dashd-rpc": "^19.1.0",
"@dashevo/grpc-common": "workspace:*",
"@dashevo/wasm-dpp": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/dash-spv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@dashevo/dark-gravity-wave": "^1.1.1",
"@dashevo/dash-util": "^2.0.3",
"@dashevo/dashcore-lib": "~0.22.0",
"@dashevo/dashcore-lib": "~0.26.1",
"levelup": "^4.4.0",
"memdown": "^5.1.0",
"wasm-x11-hash": "~0.0.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/dashmate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"dependencies": {
"@dashevo/bls": "~1.2.9",
"@dashevo/dapi-client": "workspace:*",
"@dashevo/dashcore-lib": "~0.22.0",
"@dashevo/dashcore-lib": "~0.26.1",
"@dashevo/dashd-rpc": "^19.1.0",
"@dashevo/docker-compose": "^0.24.4",
"@dashevo/wallet-lib": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@ function createDAPIAddressProviderFromOptions(options) {
if (options.seeds) {
let dapiAddressesWhiteList = options.dapiAddressesWhiteList || [];

// Since we don't have PoSe atm, 3rd party masternodes sometimes provide wrong data
// that breaks test suite and application logic. Temporary solution is to hardcode
// reliable DCG testnet masternodes to connect. Should be removed when PoSe is introduced.
// On testnet, connect only to the evonodes in networkConfigs.testnet.dapiAddressesWhiteList
// unless a whitelist is passed.
const network = networks.get(options.network);
let isRegtest = false;
if (network) {
Expand Down
69 changes: 44 additions & 25 deletions packages/js-dapi-client/lib/networkConfigs.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,53 @@ module.exports = {
'seed-1.pshenmic.dev:1443',
],
network: 'testnet',
// Since we don't have PoSe atm, 3rd party masternodes sometimes provide wrong data
// that breaks test suite and application logic. Temporary solution is to hardcode
// reliable DCG testnet masternodes to connect. Should be removed when PoSe is introduced.
// Snapshot of testnet evonodes that were enabled and passed the version check.
// Regenerate it when it goes stale: if none of these is in the masternode list,
// default discovery fails with NoAvailableAddressesError.
// Generate list with:
// curl https://quorums.testnet.networks.dash.org/masternodes | jq 'select(.success) | .data | map(select(.status=="ENABLED" and .versionCheck=="success") | .address | sub(":[0-9]+$"; ":1443")) | sort_by( split(":")[0] | split(".") | map(tonumber) )' // eslint-disable-line max-len
Comment thread
PastaPastaPasta marked this conversation as resolved.
Resolved
dapiAddressesWhiteList: [
'34.214.48.68:1443',
'35.82.197.197:1443',
'35.85.21.179:1443',
'35.163.144.230:1443',
'35.164.23.245:1443',
'35.167.145.149:1443',
'44.227.137.77:1443',
'44.228.242.181:1443',
'44.239.39.153:1443',
'44.240.98.102:1443',
'52.10.229.11:1443',
'52.12.176.90:1443',
'52.13.132.146:1443',
'52.24.124.162:1443',
'52.33.28.47:1443',
'52.34.144.50:1443',
'52.43.13.92:1443',
'52.43.86.231:1443',
'54.68.235.201:1443',
'54.149.33.167:1443',
'54.187.14.232:1443',
'54.201.32.131:1443',
'68.67.122.1:1443',
Comment thread
PastaPastaPasta marked this conversation as resolved.
Resolved
'68.67.122.2:1443',
'68.67.122.3:1443',
'68.67.122.4:1443',
'68.67.122.5:1443',
'68.67.122.6:1443',
'68.67.122.7:1443',
'68.67.122.8:1443',
'68.67.122.9:1443',
'68.67.122.10:1443',
'68.67.122.11:1443',
'68.67.122.12:1443',
'68.67.122.13:1443',
'68.67.122.14:1443',
'68.67.122.15:1443',
'68.67.122.16:1443',
'68.67.122.17:1443',
'68.67.122.18:1443',
'68.67.122.19:1443',
'68.67.122.20:1443',
'68.67.122.21:1443',
'68.67.122.22:1443',
'68.67.122.23:1443',
'68.67.122.24:1443',
'68.67.122.25:1443',
'68.67.122.26:1443',
'68.67.122.27:1443',
'68.67.122.28:1443',
'68.67.122.29:1443',
'85.209.243.1:1443',
'85.209.243.2:1443',
'85.209.243.3:1443',
'85.209.243.4:1443',
'85.209.243.5:1443',
'85.209.243.6:1443',
'85.209.243.7:1443',
'85.209.243.8:1443',
'85.209.243.9:1443',
'85.209.243.10:1443',
'87.229.22.126:1443',
'206.245.167.63:1443',
],
},
local: {
Expand Down
2 changes: 1 addition & 1 deletion packages/js-dapi-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"@dashevo/dapi-grpc": "workspace:*",
"@dashevo/dash-spv": "workspace:*",
"@dashevo/dashcore-lib": "~0.22.0",
"@dashevo/dashcore-lib": "~0.26.1",
"@dashevo/grpc-common": "workspace:*",
"@dashevo/wasm-dpp": "workspace:*",
"cbor": "^8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/js-dash-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@dashevo/bls": "~1.2.9",
"@dashevo/dapi-client": "workspace:*",
"@dashevo/dapi-grpc": "workspace:*",
"@dashevo/dashcore-lib": "~0.22.0",
"@dashevo/dashcore-lib": "~0.26.1",
"@dashevo/dashpay-contract": "workspace:*",
"@dashevo/dpns-contract": "workspace:*",
"@dashevo/grpc-common": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-test-suite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"homepage": "https://github.com/dashevo/platform-test-suite#readme",
"dependencies": {
"@dashevo/dapi-client": "workspace:*",
"@dashevo/dashcore-lib": "~0.22.0",
"@dashevo/dashcore-lib": "~0.26.1",
"@dashevo/dpns-contract": "workspace:*",
"@dashevo/evo-sdk": "workspace:*",
"@dashevo/grpc-common": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"homepage": "https://github.com/dashevo/wallet-lib#readme",
"dependencies": {
"@dashevo/dapi-client": "workspace:*",
"@dashevo/dashcore-lib": "~0.22.0",
"@dashevo/dashcore-lib": "~0.26.1",
"@dashevo/grpc-common": "workspace:*",
"@dashevo/wasm-dpp": "workspace:*",
"cbor": "^8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/wasm-dpp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@dashevo/dashcore-lib": "~0.22.0",
"@dashevo/dashcore-lib": "~0.26.1",
"@dashevo/dpns-contract": "workspace:*",
"@types/bs58": "^4.0.1",
"@types/node": "^22.0.0",
Expand Down
Loading
Loading