mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-18 13:08:54 +02:00
Update spvblock.py
This commit is contained in:
parent
8460a58a67
commit
ccd4d3bb49
1 changed files with 24 additions and 1 deletions
|
|
@ -3859,7 +3859,25 @@ def callGitBpytop():
|
|||
git = "pip3 install bpytop && git clone https://github.com/aristocratos/bpytop.git"
|
||||
os.system(git)
|
||||
os.system("cd bpytop && sudo make install && bpytop")
|
||||
|
||||
#---------------------------------UTXOracle----------------------------------
|
||||
def callGitUTXOracle():
|
||||
try:
|
||||
clear()
|
||||
blogo()
|
||||
output = render(
|
||||
"UTXORACLE", colors=['yellow'], align='left', font='tiny'
|
||||
)
|
||||
if os.path.isdir ('utxoracle'):
|
||||
print("...Reading UTXOSet...")
|
||||
else: # Check if the file 'bclock.conf' is in the same folder
|
||||
os.system("mkdir utxoracle && cd utxoracle && wget https://utxo.live/oracle/UTXOracle.py")
|
||||
clear()
|
||||
blogo()
|
||||
print(output)
|
||||
os.system(f"cd utxoracle && python3 UTXOracle.py")
|
||||
input("\a\nContinue...")
|
||||
except:
|
||||
menuSelection()
|
||||
#---------------------------------Cashu----------------------------------
|
||||
def callGitCashu():
|
||||
if not os.path.isdir('Cashu'):
|
||||
|
|
@ -4157,6 +4175,7 @@ def APIMenuLOCAL():
|
|||
\033[1;32;40mN.\033[0;37;40m Nostr FREE
|
||||
\033[1;32;40mS.\033[0;37;40m Braiins Pool FREE
|
||||
\033[1;32;40mT.\033[0;37;40m TinySeed FREE
|
||||
\033[1;32;40mU.\033[0;37;40m UTXOracle FREE
|
||||
\033[1;32;40mW.\033[0;37;40m CKPool FREE
|
||||
\u001b[31;1mR.\033[0;37;40m Return
|
||||
\n\n\x1b[?25h""".format(n,b, version ,lnbitspaid = "PAID" if os.path.isfile("lnbitSN.conf") else "PREMIUM", lnpaypaid = "PAID" if os.path.isfile("lnpaySN.conf") else "PREMIUM", opennodepaid = "PAID" if os.path.isfile("opennodeSN.conf") else "PREMIUM"))
|
||||
|
|
@ -7489,6 +7508,8 @@ def platfformsLOCALcontrol(platf):
|
|||
slushpoolLOCALOnchainONLY()
|
||||
elif platf in ["T", "t"]:
|
||||
bip39convert()
|
||||
elif platf in ["U", "u"]:
|
||||
callGitUTXOracle()
|
||||
elif platf in ["W", "w"]:
|
||||
ckpoolpoolLOCALOnchainONLY()
|
||||
elif platf in ["R", "r"]:
|
||||
|
|
@ -7531,6 +7552,8 @@ def platfformsLOCALcontrolOnchainONLY(platf):
|
|||
slushpoolLOCALOnchainONLY()
|
||||
elif platf in ["T", "t"]:
|
||||
bip39convert()
|
||||
elif platf in ["U", "u"]:
|
||||
callGitUTXOracle()
|
||||
elif platf in ["W", "w"]:
|
||||
ckpoolpoolLOCALOnchainONLY()
|
||||
elif platf in ["R", "r"]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue