Update spvblock.py

This commit is contained in:
Satoshi Nakamoto 2022-12-29 00:09:44 +01:00 committed by GitHub
parent 588c863ab2
commit dd3a4a4ec4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3658,9 +3658,9 @@ def callGitNostrMacTerminal():
"Nostr Console macOS", colors=['yellow'], align='left', font='tiny'
)
if os.path.isdir ('nostr_console_pyblock'):
os.system("cd nostr_console_pyblock && rm -rf nostr_console_macOS && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_macOS")
os.system("cd nostr_console_pyblock && rm -rf nostr_console_macOS && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_macOS_x64")
else: # Check if the file 'bclock.conf' is in the same folder
os.system("mkdir nostr_console_pyblock && cd nostr_console_pyblock && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_macOS")
os.system("mkdir nostr_console_pyblock && cd nostr_console_pyblock && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_macOS_x64")
clear()
blogo()
@ -3678,9 +3678,9 @@ def callGitNostrWinTerminal():
"Nostr Console Windows", colors=['yellow'], align='left', font='tiny'
)
if os.path.isdir ('nostr_console_pyblock'):
os.system("cd nostr_console_pyblock && rm -rf nostr_console_win64.exe && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_win64.exe")
os.system("cd nostr_console_pyblock && rm -rf nostr_console_win64.exe && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_windows_x64")
else: # Check if the file 'bclock.conf' is in the same folder
os.system("mkdir nostr_console_pyblock && cd nostr_console_pyblock && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_win64.exe")
os.system("mkdir nostr_console_pyblock && cd nostr_console_pyblock && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_windows_x64")
clear()
blogo()
print(output)
@ -3697,9 +3697,9 @@ def callGitNostrLinTerminal():
"Nostr Console Linux", colors=['yellow'], align='left', font='tiny'
)
if os.path.isdir ('nostr_console_pyblock'):
os.system("cd nostr_console_pyblock && rm -rf nostr_console_elf64 && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_elf64 && chmod 777 *")
os.system("cd nostr_console_pyblock && rm -rf nostr_console_elf64 && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_ubuntu_x64 && chmod 777 *")
else: # Check if the file 'bclock.conf' is in the same folder
os.system("mkdir nostr_console_pyblock && cd nostr_console_pyblock && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_elf64 && chmod 777 *")
os.system("mkdir nostr_console_pyblock && cd nostr_console_pyblock && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_ubuntu_x64 && chmod 777 *")
clear()
blogo()
print(output)
@ -3716,9 +3716,9 @@ def callGitNostrMacarmTerminal():
"Nostr Console Linux", colors=['yellow'], align='left', font='tiny'
)
if os.path.isdir ('nostr_console_pyblock'):
os.system("cd nostr_console_pyblock && rm -rf nostr_console_elf64 && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_elf64 && chmod 777 *")
os.system("cd nostr_console_pyblock && rm -rf nostr_console_elf64 && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_macos_arm64 && chmod 777 *")
else: # Check if the file 'bclock.conf' is in the same folder
os.system("mkdir nostr_console_pyblock && cd nostr_console_pyblock && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_elf64 && chmod 777 *")
os.system("mkdir nostr_console_pyblock && cd nostr_console_pyblock && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_umacos_arm64 && chmod 777 *")
clear()
blogo()
print(output)
@ -3735,9 +3735,9 @@ def callGitNostrLinarmTerminal():
"Nostr Console Linux", colors=['yellow'], align='left', font='tiny'
)
if os.path.isdir ('nostr_console_pyblock'):
os.system("cd nostr_console_pyblock && rm -rf nostr_console_elf64 && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_elf64 && chmod 777 *")
os.system("cd nostr_console_pyblock && rm -rf nostr_console_elf64 && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_ubuntu_arm64 && chmod 777 *")
else: # Check if the file 'bclock.conf' is in the same folder
os.system("mkdir nostr_console_pyblock && cd nostr_console_pyblock && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_elf64 && chmod 777 *")
os.system("mkdir nostr_console_pyblock && cd nostr_console_pyblock && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_ubuntu_arm64 && chmod 777 *")
clear()
blogo()
print(output)
@ -3754,9 +3754,9 @@ def callGitNostrWinarmTerminal():
"Nostr Console Linux", colors=['yellow'], align='left', font='tiny'
)
if os.path.isdir ('nostr_console_pyblock'):
os.system("cd nostr_console_pyblock && rm -rf nostr_console_elf64 && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_elf64 && chmod 777 *")
os.system("cd nostr_console_pyblock && rm -rf nostr_console_elf64 && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_windows_arm64 && chmod 777 *")
else: # Check if the file 'bclock.conf' is in the same folder
os.system("mkdir nostr_console_pyblock && cd nostr_console_pyblock && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_elf64 && chmod 777 *")
os.system("mkdir nostr_console_pyblock && cd nostr_console_pyblock && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_windows_arm64 && chmod 777 *")
clear()
blogo()
print(output)
@ -3784,6 +3784,7 @@ def callGitNostrSeedTerminal():
input("\a\nContinue...")
except:
menuSelection()
#---------------------------------Cashu----------------------------------
def callGitCashu():
if not os.path.isdir('Cashu'):