Commit Graph

7 Commits

Author SHA1 Message Date
SomberNight
6be5bf96a8 keystore: Old_KeyStore: change type of hex_seed to hex str
instead of b"deadbeef", now it is "deadbeef"
2025-07-18 00:42:09 +00:00
SomberNight
a257072391 keystore: add more type hints
wtf is going on with the type of hex_seed

and mn_encode is polymorphic in a really ugly way...
2025-07-18 00:22:18 +00:00
Benoit Verret
f731c38293 Minor style changes 2021-03-21 00:36:23 -04:00
SomberNight
a0b096dcb2 mnemonic: implement Wordlist class
Wordlist subclasses 'tuple' so it can be transparently used.
'in' and '.index()' are fast.
Use Wordlist in bip39_is_checksum_valid, which makes that faster.
2020-02-29 00:20:11 +01:00
SomberNight
6ebbaa60ef old_mnemonic: speed up mn_decode
mn_decode is used by mnemonic.make_seed which now takes around 25% less time
2019-11-15 12:08:06 +01:00
SomberNight
b39c51adf7 mv "electrum seed" stuff from bitcoin.py to mnemonic.py 2019-02-22 18:01:54 +01:00
Janus
097ac144d9 file reorganization with top-level module 2018-07-13 14:01:37 +02:00