Browse Source

change default wallet name

master
undeath 8 years ago
parent
commit
39e42762c7
  1. 4
      scripts/README.md
  2. 6
      scripts/joinmarket-qt.py

4
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 <address>`
`python sendpayment.py --fast -N 3 -m 1 -P wallet.jmdat 50000000 <address>`
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).

6
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,

Loading…
Cancel
Save