Commit graph

6 commits

Author SHA1 Message Date
Erik Arvstedt
53e7bf1018 genwallet.py: Add option --recovery-seed-file 2021-09-01 21:18:42 +02:00
Erik Arvstedt
e4be0343eb Extract function read_password_stdin
This ensures that `wallet_utils.py` and `genwallet.py` use the same logic for
reading the password.

The current algorithm for reading the password entails some
non-obvious details like utf-8 encoding and not stripping trailing
newlines.
2021-08-28 11:17:33 +02:00
Erik Arvstedt
c5621ad774 genwallet.py: Enable Fidelity Bonds by default
This change simply unlocks Fidelity Bonds and has no downsides for users.
2021-08-28 11:17:32 +02:00
Erik Arvstedt
91a8f7f150 genwallet.py: Minor improvments
Changes from top to bottom:
- Add header comment
- Import wallet_utils (needed for DEFAULT_MIXDEPTH)
- Make password optional in usage string
- Set variable wallet_name at the top where options are parsed
- Use DEFAULT_MIXDEPTH instead of hardcoded value
2021-08-28 11:17:31 +02:00
nixbitcoin
0cd8a73a26
genwallet p2sh -> p2wpkh 2020-12-13 15:59:44 +00:00
nixbitcoin
93f0a67b88
Add genwallet.py script 2020-09-17 10:01:46 +00:00