From dd3a4a4ec488bdb6b0a63a9c7aecd95bb92b954a Mon Sep 17 00:00:00 2001 From: Satoshi Nakamoto <65907137+SatoshiNakamotoBitcoin@users.noreply.github.com> Date: Thu, 29 Dec 2022 00:09:44 +0100 Subject: [PATCH] Update spvblock.py --- pybitblock/SPV/spvblock.py | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/pybitblock/SPV/spvblock.py b/pybitblock/SPV/spvblock.py index 76f78cc..d888737 100644 --- a/pybitblock/SPV/spvblock.py +++ b/pybitblock/SPV/spvblock.py @@ -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'):