@pioneer-platform/utxo-network 8.12.8 → 8.12.9
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/CHANGELOG.md +8 -0
- package/lib/index.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/lib/index.js
CHANGED
|
@@ -307,7 +307,7 @@ let get_fees_with_rates = async function (coin, memo) {
|
|
|
307
307
|
'ltc': 200, // LTC reasonable cap
|
|
308
308
|
'bch': 10, // BCH typically has very low fees
|
|
309
309
|
'dash': 10, // DASH typically has low fees
|
|
310
|
-
'dgb':
|
|
310
|
+
'dgb': 150, // DGB requires higher min relay fee (22,600 sats)
|
|
311
311
|
};
|
|
312
312
|
const coinLower = coin.toLowerCase();
|
|
313
313
|
if (feeCapsBySatPerByte[coinLower] && txFee > feeCapsBySatPerByte[coinLower]) {
|
|
@@ -357,7 +357,7 @@ let get_fee = async function (coin) {
|
|
|
357
357
|
'BTC': { fastest: 10, fast: 5, average: 3 },
|
|
358
358
|
'BCH': { fastest: 2, fast: 1, average: 1 }, // BCH has very low fees
|
|
359
359
|
'DASH': { fastest: 2, fast: 1, average: 1 }, // DASH has very low fees
|
|
360
|
-
'DGB': { fastest:
|
|
360
|
+
'DGB': { fastest: 100, fast: 80, average: 75 }, // DGB requires min 22,600 sats total (~75 sat/byte for 300 byte tx)
|
|
361
361
|
};
|
|
362
362
|
const fetchEstimate = async (blocks) => {
|
|
363
363
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pioneer-platform/utxo-network",
|
|
3
|
-
"version": "8.12.
|
|
3
|
+
"version": "8.12.9",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:live": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@pioneer-platform/blockbook": "^8.12.
|
|
14
|
+
"@pioneer-platform/blockbook": "^8.12.8",
|
|
15
15
|
"@pioneer-platform/loggerdog": "^8.11.0",
|
|
16
16
|
"@pioneer-platform/nodes": "^8.11.12",
|
|
17
17
|
"@pioneer-platform/pioneer-caip": "^9.10.2",
|