Sander van Grieken
73fee69f5c
tests: move /electrum/tests to /tests
2 years ago
SomberNight
def1abfca5
tests: test_mnemonic: extend test_random_seeds
2 years ago
SomberNight
201c0ab71b
qt wizard: fix restoring from 2fa seed
...
follow-up 7df057aaf9
2 years ago
SomberNight
3b630c7a5b
tests: add "short seed cheat sheet"
...
hopefully I can remember what to ctrl+f to find this
2 years ago
SomberNight
2ea723a91a
tests: add test for bip39 utf-8 normalisation
...
test case from https://github.com/Electron-Cash/Electron-Cash/issues/2740
2 years ago
SomberNight
e9475345e4
qml wizard: "confirm seed" screen to normalize whitespaces
...
fixes https://github.com/spesmilo/electrum/issues/8442
3 years ago
SomberNight
373db76ac9
util: kill bh2u
...
no longer useful, and the name is so confusing...
3 years ago
SomberNight
60e0cd65cf
slip39: follow-ups
...
- fix kivy wizard restore-from-seed
- qt seed dialog: disable "next share" if current share is invalid
- fix tests: file paths should not depend on $PWD (working dir)
5 years ago
Andrew Kozlik
2de82a2fd6
Add SLIP-0039 unit tests.
5 years ago
SomberNight
933d8861ce
mnemonic.make_seed: de-duplicate num_bits default magic number
5 years ago
SomberNight
6ebbaa60ef
old_mnemonic: speed up mn_decode
...
mn_decode is used by mnemonic.make_seed which now takes around 25% less time
6 years ago
SomberNight
04edad9984
config: no longer singleton. it is passed to Wallet.__init__
...
The few other cases that used SimpleConfig.get_instance() now
either get passed a config instance, or they try to get a reference
to something else that has a reference to a config.
(see lnsweep, qt/qrcodewidget, qt/qrtextedit)
6 years ago
SomberNight
1c75d939d9
commands: change API of "make_seed" and "create" commands
...
instead of "segwit" boolean, take a "seed_type" optional arg
default seed_type to "segwit"
previously these commands created legacy seeds by defalt
6 years ago
SomberNight
b39c51adf7
mv "electrum seed" stuff from bitcoin.py to mnemonic.py
7 years ago
SomberNight
f767d41409
tests: spanish test case for mnemonic.py, and refactoring
7 years ago
SomberNight
999ae1f713
test_mnemonic: add foreign lang tests
7 years ago
Dzhelil Rufat
c9ffffc526
Remove unneccessary imports from the unit testing directory. ( #4699 )
7 years ago
Janus
097ac144d9
file reorganization with top-level module
8 years ago
SomberNight
16e4827e8c
use libsecp256k1 if available. abstract away ecc stuff. move symmetric crypto and hash functions to crypto.py
8 years ago
ThomasV
5665b42999
remove six
8 years ago
SomberNight
6e0c2cffd8
replace deprecated assertEquals
8 years ago
Dmitry Sorokin
5be78950ca
py3
8 years ago
Kacper Żuk
c6e09a6038
Provide warnings about invalid BIP39 checksum in seed dialog
8 years ago
Jonathan Cross
2c619142f9
Fixing 2 tests in test_mnemonic.py
9 years ago
Roman Zeyde
3c3d96f69e
test_mnemonic: add tests for mnemonics
10 years ago