mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-16 13:00:52 +02:00
Update PyVanityGen.py
This commit is contained in:
parent
03ba09d38a
commit
a26b086d8f
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ import multiprocessing
|
|||
|
||||
|
||||
witness_type = 'segwit'
|
||||
#witness_type = 'legacy'
|
||||
|
||||
def address_search(search_for='1BTC'):
|
||||
global witness_type
|
||||
|
|
@ -29,6 +30,7 @@ def address_search(search_for='1BTC'):
|
|||
raise ValueError(f"This is not a valid base58 or bech32 search string: {search_for}")
|
||||
if is_base58 and not is_bech32:
|
||||
witness_type = 'p2sh-segwit'
|
||||
#witness_type = 'legacy'
|
||||
|
||||
print(f"PyBLOCK Searching for {search_for}, witness_type is {witness_type} (pid {os.getpid()})")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue