From d6305e456f806f3a5acef1858492a5929540fbbd Mon Sep 17 00:00:00 2001 From: Nikola Ubavic <53820106+ubavic@users.noreply.github.com> Date: Fri, 8 Jul 2022 10:05:17 +0200 Subject: [PATCH 1/5] fix: issue with 1645459054117-default-timezone --- .../1655807727853-default_timezone_fix.js | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 migrations/1655807727853-default_timezone_fix.js diff --git a/migrations/1655807727853-default_timezone_fix.js b/migrations/1655807727853-default_timezone_fix.js new file mode 100644 index 00000000..fba11a26 --- /dev/null +++ b/migrations/1655807727853-default_timezone_fix.js @@ -0,0 +1,20 @@ +const { saveConfig, loadLatest } = require('../lib/new-settings-loader') + +exports.up = function (next) { + const newConfig = {} + return loadLatest() + .then(config => { + if (config.config.locale_timezone === "0:0") { + newConfig[`locale_timezone`] = 'GMT' + return saveConfig(newConfig) + } + }) + .then(next) + .catch(err => { + return next(err) + }) +} + +module.exports.down = function (next) { + next() +} From e46c0ecfe30ac9ff9d1c4b7d84b72c08012289f0 Mon Sep 17 00:00:00 2001 From: Neal Date: Tue, 12 Jul 2022 07:45:36 -0400 Subject: [PATCH 2/5] chore: update zec, geth --- lib/blockchain/common.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/blockchain/common.js b/lib/blockchain/common.js index 839b1b6b..c0f758e3 100644 --- a/lib/blockchain/common.js +++ b/lib/blockchain/common.js @@ -29,12 +29,12 @@ const BINARIES = { dir: 'bitcoin-23.0/bin' }, ETH: { - url: 'https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.10.19-23bee162.tar.gz', - dir: 'geth-linux-amd64-1.10.19-23bee162' + url: 'https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.10.20-8f2416a8.tar.gz', + dir: 'geth-linux-amd64-1.10.20-8f2416a8' }, ZEC: { - url: 'https://z.cash/downloads/zcash-5.0.0-linux64-debian-bullseye.tar.gz', - dir: 'zcash-5.0.0/bin' + url: 'https://z.cash/downloads/zcash-5.1.0-linux64-debian-bullseye.tar.gz', + dir: 'zcash-5.1.0/bin' }, DASH: { url: 'https://github.com/dashpay/dash/releases/download/v0.17.0.3/dashcore-0.17.0.3-x86_64-linux-gnu.tar.gz', From 532a426b9a51bb7afd8f2a5b18c919ca987762a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Salgado?= Date: Wed, 13 Jul 2022 22:23:25 +0100 Subject: [PATCH 3/5] feat: update zcash sendCoins --- lib/plugins/wallet/zcashd/zcashd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/wallet/zcashd/zcashd.js b/lib/plugins/wallet/zcashd/zcashd.js index b55d1ec5..f576cebe 100644 --- a/lib/plugins/wallet/zcashd/zcashd.js +++ b/lib/plugins/wallet/zcashd/zcashd.js @@ -74,7 +74,7 @@ function sendCoins (account, tx, settings, operatorId) { const checker = opid => pRetry(() => checkSendStatus(opid), { retries: 20, minTimeout: 300, factor: 1.05 }) return checkCryptoCode(cryptoCode) - .then(() => fetch('z_sendmany', ['ANY_TADDR', [{ address: toAddress, amount: coins }]])) + .then(() => fetch('z_sendmany', ['ANY_TADDR', [{ address: toAddress, amount: coins }], null, null, 'NoPrivacy'])) .then(checker) .then((res) => { return { From 6c0c0a41b8ef25c7a518a606419872f79d3688ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Salgado?= Date: Tue, 19 Jul 2022 16:08:40 +0100 Subject: [PATCH 4/5] fix: monero wallet opening generic error handling --- lib/plugins/wallet/monerod/monerod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/wallet/monerod/monerod.js b/lib/plugins/wallet/monerod/monerod.js index 39d380e6..af43dde8 100644 --- a/lib/plugins/wallet/monerod/monerod.js +++ b/lib/plugins/wallet/monerod/monerod.js @@ -92,7 +92,7 @@ function handleError (error, method) { function openWallet () { return fetch('open_wallet', { filename: 'Wallet' }) - .catch(err => handleError(err, 'openWallet')) + .catch(() => openWalletWithPassword()) } function openWalletWithPassword () { From dd8abba81499eb8b57f307a34d7404e5cc8bd1e7 Mon Sep 17 00:00:00 2001 From: Neal Date: Wed, 20 Jul 2022 16:04:19 -0400 Subject: [PATCH 5/5] chore: update monerod --- lib/blockchain/common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/blockchain/common.js b/lib/blockchain/common.js index 839b1b6b..16a0985e 100644 --- a/lib/blockchain/common.js +++ b/lib/blockchain/common.js @@ -52,8 +52,8 @@ const BINARIES = { files: [['bitcoind', 'bitcoincashd'], ['bitcoin-cli', 'bitcoincash-cli']] }, XMR: { - url: 'https://downloads.getmonero.org/cli/monero-linux-x64-v0.17.3.2.tar.bz2', - dir: 'monero-x86_64-linux-gnu-v0.17.3.2', + url: 'https://downloads.getmonero.org/cli/monero-linux-x64-v0.18.0.0.tar.bz2', + dir: 'monero-x86_64-linux-gnu-v0.18.0.0', files: [['monerod', 'monerod'], ['monero-wallet-rpc', 'monero-wallet-rpc']] } }