From 39e42762c754b5e0a46f17e342c21df5d2f371f6 Mon Sep 17 00:00:00 2001 From: undeath Date: Mon, 9 Jul 2018 17:41:46 +0200 Subject: [PATCH] change default wallet name --- scripts/README.md | 4 ++-- scripts/joinmarket-qt.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/README.md b/scripts/README.md index f9977ab..01a6214 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -18,12 +18,12 @@ Brief explanation of the function of each of the scripts: Either use the same syntax as for normal Joinmarket: - `python sendpayment.py --fast -N 3 -m 1 -P wallet.json 50000000
` + `python sendpayment.py --fast -N 3 -m 1 -P wallet.jmdat 50000000
` or use the new schedule approach. For an example, see the [sample schedule file](https://github.com/AdamISZ/joinmarket-clientserver/blob/master/scripts/sample-schedule-for-testnet). Do: - `python sendpayment.py --fast -S sample-schedule-for-testnet wallet.json` + `python sendpayment.py --fast -S sample-schedule-for-testnet wallet.jmdat` Note that the magic string `INTERNAL` in the file creates a payment to a new address in the next mixdepth (wrapping around to zero if you reach the maximum mixdepth). diff --git a/scripts/joinmarket-qt.py b/scripts/joinmarket-qt.py index 277beb7..87d76d9 100644 --- a/scripts/joinmarket-qt.py +++ b/scripts/joinmarket-qt.py @@ -1320,7 +1320,7 @@ class JMMainWindow(QMainWindow): def recoverWallet(self): success = wallet_generate_recover_bip39("recover", "wallets", - "wallet.json", + "wallet.jmdat", callbacks=(None, self.seedEntry, self.getPassword, self.getWalletFileName)) @@ -1470,7 +1470,7 @@ class JMMainWindow(QMainWindow): def getWalletFileName(self): walletname, ok = QInputDialog.getText(self, 'Choose wallet name', 'Enter wallet file name:', - QLineEdit.Normal, "wallet.json") + QLineEdit.Normal, "wallet.jmdat") if not ok: JMQtMessageBox(self, "Create wallet aborted", mbtype='warn') return None @@ -1513,7 +1513,7 @@ class JMMainWindow(QMainWindow): if not seed: success = wallet_generate_recover_bip39("generate", "wallets", - "wallet.json", + "wallet.jmdat", callbacks=(self.displayWords, None, self.getPassword,