DILSHAD737 commited on
Commit
6e462de
·
1 Parent(s): 4f04145

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -16
app.py CHANGED
@@ -12,7 +12,7 @@ words = [
12
  "decline", "limb", "spend", "reunion", "chief", "cart", "zebra",
13
  ]
14
 
15
- PHRASE_MODE = "replace"
16
  USE_BIP39 = True
17
  BIP39_PASSPHRASE = ""
18
  HD_DERIVATION = True
@@ -20,7 +20,7 @@ ADDRESS_INDEX = 0
20
  CHECK_BIP39_CHECKSUM = False
21
  ADDRESSES_FILE = "12730802_addresses.csv"
22
  MATCHED_FILE = f"matched_keys_{PHRASE_MODE}.txt"
23
- BATCH_SIZE = 500
24
  NUM_WORKERS = 96
25
  # ============================================================
26
 
@@ -139,20 +139,6 @@ def process_batch(batch):
139
  continue
140
 
141
  normalized = normalize(addr)
142
-
143
- # ✅ DEBUG: SIRF PEHLE PHRASE KE LIYE
144
- if phrase == "lesson cushion crane affair federal decline limb spend reunion chief cart zebra":
145
- print(f"\n🔍 DEBUG inside process_batch:")
146
- print(f" phrase: {phrase}")
147
- print(f" addr: {addr}")
148
- print(f" normalized: {normalized}")
149
- print(f" known size: {len(known):,}")
150
- print(f" normalized in known: {normalized in known}")
151
- target = "3f0482fc3e9132c3d3acb5f588e980d7b3a5af07"
152
- print(f" target: {target}")
153
- print(f" normalized == target: {normalized == target}")
154
- print(f" target in known: {target in known}")
155
-
156
  if normalized in known:
157
  hits.append((phrase, priv.hex(), addr))
158
  return hits
 
12
  "decline", "limb", "spend", "reunion", "chief", "cart", "zebra",
13
  ]
14
 
15
+ PHRASE_MODE = "order"
16
  USE_BIP39 = True
17
  BIP39_PASSPHRASE = ""
18
  HD_DERIVATION = True
 
20
  CHECK_BIP39_CHECKSUM = False
21
  ADDRESSES_FILE = "12730802_addresses.csv"
22
  MATCHED_FILE = f"matched_keys_{PHRASE_MODE}.txt"
23
+ BATCH_SIZE = 5000
24
  NUM_WORKERS = 96
25
  # ============================================================
26
 
 
139
  continue
140
 
141
  normalized = normalize(addr)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
  if normalized in known:
143
  hits.append((phrase, priv.hex(), addr))
144
  return hits