adjust prepay max routing fee

This commit is contained in:
Alex Bosworth 2021-04-18 13:33:08 -07:00
parent 90a4ea76f4
commit f4c08e97eb
No known key found for this signature in database
GPG key ID: E80D2F3F311FD87E
4 changed files with 140 additions and 18 deletions

View file

@ -1,5 +1,9 @@
# Versions
## Version 8.0.7
- `increase-inbound-liquidity`: Allow for higher routing fee to start swap.
## Version 8.0.6
- Add autocomplete guidance to the README

144
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "balanceofsatoshis",
"version": "8.0.6",
"version": "8.0.7",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -1691,9 +1691,9 @@
"integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA=="
},
"csv-parse": {
"version": "4.15.3",
"resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-4.15.3.tgz",
"integrity": "sha512-jlTqDvLdHnYMSr08ynNfk4IAUSJgJjTKy2U5CQBSu4cN9vQOJonLVZP4Qo4gKKrIgIQ5dr07UwOJdi+lRqT12w=="
"version": "4.15.4",
"resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-4.15.4.tgz",
"integrity": "sha512-OdBbFc0yZhOm17lSxqkirrHlFFVpKRT0wp4DAGoJelsP3LbGzV9LNr7XmM/lrr0uGkCtaqac9UhP8PDHXOAbMg=="
},
"cycle": {
"version": "1.0.3",
@ -2653,9 +2653,9 @@
}
},
"invoices": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/invoices/-/invoices-1.1.7.tgz",
"integrity": "sha512-AMCHpf/7sJOjeRbTgCLLvhH41ZnUv0D809ZFJRhR2dGOfp8GxJHzfnNqtgYGxQiW0+dVK2ooBVyR+dqoEQs6mw==",
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/invoices/-/invoices-1.2.0.tgz",
"integrity": "sha512-x9jMmN/afPZkeL7qwMj15r+RSV7ztPsfxKgByD3bXR/WhmjrlfU+zwfliohScW/UV1b0FUSq6A7DgTME4tdMSQ==",
"requires": {
"bech32": "2.0.0",
"bitcoinjs-lib": "5.2.0",
@ -3315,6 +3315,11 @@
"@types/node": "*"
}
},
"bech32": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz",
"integrity": "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg=="
},
"bolt09": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/bolt09/-/bolt09-0.1.4.tgz",
@ -3335,6 +3340,19 @@
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
},
"invoices": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/invoices/-/invoices-1.1.7.tgz",
"integrity": "sha512-AMCHpf/7sJOjeRbTgCLLvhH41ZnUv0D809ZFJRhR2dGOfp8GxJHzfnNqtgYGxQiW0+dVK2ooBVyR+dqoEQs6mw==",
"requires": {
"bech32": "2.0.0",
"bitcoinjs-lib": "5.2.0",
"bn.js": "5.2.0",
"bolt07": "1.7.2",
"bolt09": "0.1.4",
"secp256k1": "4.0.2"
}
},
"is-fullwidth-code-point": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
@ -3449,6 +3467,17 @@
"table": "6.0.9"
},
"dependencies": {
"ajv": {
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.1.0.tgz",
"integrity": "sha512-B/Sk2Ix7A36fs/ZkuGLIR86EdjbgR6fsAcbx9lOP/QBSXujDNbVmIS/U4Itz5k8fPFDeVZl/zQ/gJW4Jrq6XjQ==",
"requires": {
"fast-deep-equal": "^3.1.1",
"json-schema-traverse": "^1.0.0",
"require-from-string": "^2.0.2",
"uri-js": "^4.2.2"
}
},
"asyncjs-util": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/asyncjs-util/-/asyncjs-util-1.2.4.tgz",
@ -3470,6 +3499,49 @@
"bn.js": "5.2.0"
}
},
"emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
},
"invoices": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/invoices/-/invoices-1.1.7.tgz",
"integrity": "sha512-AMCHpf/7sJOjeRbTgCLLvhH41ZnUv0D809ZFJRhR2dGOfp8GxJHzfnNqtgYGxQiW0+dVK2ooBVyR+dqoEQs6mw==",
"requires": {
"bech32": "2.0.0",
"bitcoinjs-lib": "5.2.0",
"bn.js": "5.2.0",
"bolt07": "1.7.2",
"bolt09": "0.1.4",
"secp256k1": "4.0.2"
},
"dependencies": {
"bolt07": {
"version": "1.7.2",
"resolved": "https://registry.npmjs.org/bolt07/-/bolt07-1.7.2.tgz",
"integrity": "sha512-b1ZmcU1ucTjRL/FvYUDbLqCmc1I0PRLWB+yvlI6w8l9be5JJgzaf1AmU6+yoa1eL3cqX8leWzyaVjWTjRKGfMg==",
"requires": {
"bn.js": "5.2.0"
}
},
"bolt09": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/bolt09/-/bolt09-0.1.4.tgz",
"integrity": "sha512-I8GZoVvQDF7w/93XNbUD29hBoN+kiPomPb8X/D6510pjRI5/KgZ0nITH4BAymS89GTGPjI5ZavkFw3vxxRhjQQ=="
}
}
},
"is-fullwidth-code-point": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
},
"json-schema-traverse": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
},
"ln-service": {
"version": "51.5.0",
"resolved": "https://registry.npmjs.org/ln-service/-/ln-service-51.5.0.tgz",
@ -3499,6 +3571,32 @@
}
}
}
},
"string-width": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz",
"integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==",
"requires": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.0"
}
},
"table": {
"version": "6.0.9",
"resolved": "https://registry.npmjs.org/table/-/table-6.0.9.tgz",
"integrity": "sha512-F3cLs9a3hL1Z7N4+EkSscsel3z55XT950AvB05bwayrNg5T1/gykXtigioTAjbltvbMSJvvhFCbnf6mX+ntnJQ==",
"requires": {
"ajv": "^8.0.1",
"is-boolean-object": "^1.1.0",
"is-number-object": "^1.0.4",
"is-string": "^1.0.5",
"lodash.clonedeep": "^4.5.0",
"lodash.flatten": "^4.4.0",
"lodash.truncate": "^4.4.2",
"slice-ansi": "^4.0.0",
"string-width": "^4.2.0"
}
}
}
},
@ -4120,6 +4218,26 @@
"resolved": "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz",
"integrity": "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg=="
},
"invoices": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/invoices/-/invoices-1.1.7.tgz",
"integrity": "sha512-AMCHpf/7sJOjeRbTgCLLvhH41ZnUv0D809ZFJRhR2dGOfp8GxJHzfnNqtgYGxQiW0+dVK2ooBVyR+dqoEQs6mw==",
"requires": {
"bech32": "2.0.0",
"bitcoinjs-lib": "5.2.0",
"bn.js": "5.2.0",
"bolt07": "1.7.2",
"bolt09": "0.1.4",
"secp256k1": "4.0.2"
},
"dependencies": {
"bolt09": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/bolt09/-/bolt09-0.1.4.tgz",
"integrity": "sha512-I8GZoVvQDF7w/93XNbUD29hBoN+kiPomPb8X/D6510pjRI5/KgZ0nITH4BAymS89GTGPjI5ZavkFw3vxxRhjQQ=="
}
}
},
"ln-service": {
"version": "51.5.0",
"resolved": "https://registry.npmjs.org/ln-service/-/ln-service-51.5.0.tgz",
@ -4850,9 +4968,9 @@
}
},
"table": {
"version": "6.0.9",
"resolved": "https://registry.npmjs.org/table/-/table-6.0.9.tgz",
"integrity": "sha512-F3cLs9a3hL1Z7N4+EkSscsel3z55XT950AvB05bwayrNg5T1/gykXtigioTAjbltvbMSJvvhFCbnf6mX+ntnJQ==",
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/table/-/table-6.1.0.tgz",
"integrity": "sha512-T4G5KMmqIk6X87gLKWyU5exPpTjLjY5KyrFWaIjv3SvgaIUGXV7UEzGEnZJdTA38/yUS6f9PlKezQ0bYXG3iIQ==",
"requires": {
"ajv": "^8.0.1",
"is-boolean-object": "^1.1.0",
@ -4866,9 +4984,9 @@
},
"dependencies": {
"ajv": {
"version": "8.0.5",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.0.5.tgz",
"integrity": "sha512-RkiLa/AeJx7+9OvniQ/qeWu0w74A8DiPPBclQ6ji3ZQkv5KamO+QGpqmi7O4JIw3rHGUXZ6CoP9tsAkn3gyazg==",
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.1.0.tgz",
"integrity": "sha512-B/Sk2Ix7A36fs/ZkuGLIR86EdjbgR6fsAcbx9lOP/QBSXujDNbVmIS/U4Itz5k8fPFDeVZl/zQ/gJW4Jrq6XjQ==",
"requires": {
"fast-deep-equal": "^3.1.1",
"json-schema-traverse": "^1.0.0",

View file

@ -25,13 +25,13 @@
"cert-info": "1.5.1",
"colorette": "1.2.2",
"crypto-js": "4.0.0",
"csv-parse": "4.15.3",
"csv-parse": "4.15.4",
"goldengate": "10.0.3",
"hot-formula-parser": "4.0.0",
"import-lazy": "4.0.0",
"ini": "2.0.0",
"inquirer": "8.0.0",
"invoices": "1.1.7",
"invoices": "1.2.0",
"ln-accounting": "4.2.7",
"ln-service": "51.7.0",
"ln-sync": "0.4.5",
@ -43,7 +43,7 @@
"qrcode-terminal": "0.12.0",
"sanitize-filename": "1.6.3",
"stats-lite": "2.2.0",
"table": "6.0.9",
"table": "6.1.0",
"telegraf": "4.3.0",
"update-notifier": "5.1.0",
"window-size": "1.1.1"
@ -77,5 +77,5 @@
"postpublish": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t alexbosworth/balanceofsatoshis --push .",
"test": "tap --branches=1 --functions=1 --lines=1 --statements=1 -t 60 test/arrays/*.js test/balances/*.js test/chain/*.js test/display/*.js test/encryption/*.js test/fiat/*.js test/lnd/*.js test/network/*.js test/nodes/*.js test/peers/*.js test/responses/*.js test/routing/*.js test/services/*.js test/swaps/*.js test/wallets/*.js"
},
"version": "8.0.6"
"version": "8.0.7"
}

View file

@ -6,7 +6,7 @@
"fuzzBlocks": 5,
"maxCltvExpiration": 2016,
"maxDepositTokens": 50000,
"maxExecutionFeeTokens": 100,
"maxExecutionFeeTokens": 1000,
"maxFeeMultiplier": 1000,
"maxFeeRate": 0.06,
"maxPathfindingMs": 1200000,