@dashevo/dapi-client 2.1.0-pr.2716.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/networkConfigs.js +16 -25
- package/package.json +5 -5
package/lib/networkConfigs.js
CHANGED
|
@@ -12,40 +12,31 @@ module.exports = {
|
|
|
12
12
|
// Since we don't have PoSe atm, 3rd party masternodes sometimes provide wrong data
|
|
13
13
|
// that breaks test suite and application logic. Temporary solution is to hardcode
|
|
14
14
|
// reliable DCG testnet masternodes to connect. Should be removed when PoSe is introduced.
|
|
15
|
+
// Generate list with:
|
|
16
|
+
// 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
|
|
15
17
|
dapiAddressesWhiteList: [
|
|
16
18
|
'34.214.48.68:1443',
|
|
17
|
-
'35.
|
|
18
|
-
'35.
|
|
19
|
-
'
|
|
20
|
-
'
|
|
21
|
-
'44.233.44.95:1443',
|
|
19
|
+
'35.82.197.197:1443',
|
|
20
|
+
'35.85.21.179:1443',
|
|
21
|
+
'35.163.144.230:1443',
|
|
22
|
+
'35.164.23.245:1443',
|
|
22
23
|
'35.167.145.149:1443',
|
|
23
|
-
'
|
|
24
|
+
'44.227.137.77:1443',
|
|
25
|
+
'44.228.242.181:1443',
|
|
26
|
+
'44.239.39.153:1443',
|
|
24
27
|
'44.240.98.102:1443',
|
|
25
|
-
'54.201.32.131:1443',
|
|
26
28
|
'52.10.229.11:1443',
|
|
29
|
+
'52.12.176.90:1443',
|
|
27
30
|
'52.13.132.146:1443',
|
|
28
|
-
'
|
|
29
|
-
'35.82.197.197:1443',
|
|
30
|
-
'52.40.219.41:1443',
|
|
31
|
-
'44.239.39.153:1443',
|
|
32
|
-
'54.149.33.167:1443',
|
|
33
|
-
'35.164.23.245:1443',
|
|
31
|
+
'52.24.124.162:1443',
|
|
34
32
|
'52.33.28.47:1443',
|
|
35
|
-
'52.
|
|
33
|
+
'52.34.144.50:1443',
|
|
36
34
|
'52.43.13.92:1443',
|
|
37
|
-
'
|
|
38
|
-
'52.89.154.48:1443',
|
|
39
|
-
'52.24.124.162:1443',
|
|
40
|
-
'44.227.137.77:1443',
|
|
41
|
-
'35.85.21.179:1443',
|
|
42
|
-
'54.187.14.232:1443',
|
|
35
|
+
'52.43.86.231:1443',
|
|
43
36
|
'54.68.235.201:1443',
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'
|
|
47
|
-
'54.189.164.39:1443',
|
|
48
|
-
'54.213.204.85:1443',
|
|
37
|
+
'54.149.33.167:1443',
|
|
38
|
+
'54.187.14.232:1443',
|
|
39
|
+
'54.201.32.131:1443',
|
|
49
40
|
],
|
|
50
41
|
},
|
|
51
42
|
local: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashevo/dapi-client",
|
|
3
|
-
"version": "2.1.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Client library used to access Dash DAPI endpoints",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"contributors": [
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@dashevo/dapi-grpc": "2.1.0
|
|
30
|
-
"@dashevo/dash-spv": "2.1.0
|
|
29
|
+
"@dashevo/dapi-grpc": "2.1.0",
|
|
30
|
+
"@dashevo/dash-spv": "2.1.0",
|
|
31
31
|
"@dashevo/dashcore-lib": "~0.22.0",
|
|
32
|
-
"@dashevo/grpc-common": "2.1.0
|
|
33
|
-
"@dashevo/wasm-dpp": "2.1.0
|
|
32
|
+
"@dashevo/grpc-common": "2.1.0",
|
|
33
|
+
"@dashevo/wasm-dpp": "2.1.0",
|
|
34
34
|
"bs58": "^4.0.1",
|
|
35
35
|
"cbor": "^8.0.0",
|
|
36
36
|
"google-protobuf": "^3.12.2",
|