Spaces:
Runtime error
Runtime error
Commit ·
03721e4
1
Parent(s): d97f871
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ words = [
|
|
| 12 |
"decline", "limb", "spend", "reunion", "chief", "cart", "zebra",
|
| 13 |
]
|
| 14 |
|
| 15 |
-
PHRASE_MODE = "
|
| 16 |
USE_BIP39 = False
|
| 17 |
BIP39_PASSPHRASE = ""
|
| 18 |
HD_DERIVATION = True
|
|
@@ -177,7 +177,7 @@ def main():
|
|
| 177 |
initializer=init_worker,
|
| 178 |
initargs=(known,),
|
| 179 |
maxtasksperchild=1000) as pool:
|
| 180 |
-
for hits in pool.imap_unordered(process_batch, batch_generator(), chunksize=
|
| 181 |
done += BATCH_SIZE
|
| 182 |
for phrase, key_hex, addr in hits:
|
| 183 |
print(f"\n✅ MATCH: {phrase}\n priv: {key_hex}\n addr: {addr}\n")
|
|
|
|
| 12 |
"decline", "limb", "spend", "reunion", "chief", "cart", "zebra",
|
| 13 |
]
|
| 14 |
|
| 15 |
+
PHRASE_MODE = "order"
|
| 16 |
USE_BIP39 = False
|
| 17 |
BIP39_PASSPHRASE = ""
|
| 18 |
HD_DERIVATION = True
|
|
|
|
| 177 |
initializer=init_worker,
|
| 178 |
initargs=(known,),
|
| 179 |
maxtasksperchild=1000) as pool:
|
| 180 |
+
for hits in pool.imap_unordered(process_batch, batch_generator(), chunksize=10):
|
| 181 |
done += BATCH_SIZE
|
| 182 |
for phrase, key_hex, addr in hits:
|
| 183 |
print(f"\n✅ MATCH: {phrase}\n priv: {key_hex}\n addr: {addr}\n")
|