mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-17 13:07:17 +02:00
Add files via upload
This commit is contained in:
parent
cba618a13c
commit
2c5d7d4db0
2 changed files with 8 additions and 9 deletions
|
|
@ -33,7 +33,7 @@ from PIL import Image
|
|||
from robohash import Robohash
|
||||
|
||||
|
||||
version = "1.1.12-alpha6"
|
||||
version = "1.1.12-alpha7"
|
||||
|
||||
def close():
|
||||
print("<<< Ctr + C.\n\n")
|
||||
|
|
@ -87,7 +87,7 @@ def slHASHConn():
|
|||
input("\a\nContinue...")
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
def slPOOLConn():
|
||||
try:
|
||||
conn = """curl -s https://insights.braiins.com/api/v1.0/pool-stats?json=1 | jq -C '.[]' | tr -d '{|}|]|,' | xargs -L 1 | grep -E " " """
|
||||
|
|
@ -101,7 +101,7 @@ def slPOOLConn():
|
|||
input("\a\nContinue...")
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
def slHISTConn():
|
||||
try:
|
||||
conn = """curl -s https://insights.braiins.com/api/v1.0/hashrate-and-difficulty-history?json=1 | jq -C '.[]' | tr -d '{|}|]|,' | xargs -L 1 | grep -E " " """
|
||||
|
|
@ -115,7 +115,7 @@ def slHISTConn():
|
|||
input("\a\nContinue...")
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
def getPoolSlushCheck():
|
||||
|
||||
s = ""
|
||||
|
|
@ -5358,7 +5358,7 @@ def mainmenuLOCALcontrolOnchainONLY(menuS): #Execution of the Main Menu options
|
|||
clear()
|
||||
blogo()
|
||||
callGitWardenTerminal()
|
||||
|
||||
|
||||
elif menuS in ["ma"]:
|
||||
clear()
|
||||
blogo()
|
||||
|
|
@ -5374,7 +5374,7 @@ def mainmenuLOCALcontrolOnchainONLY(menuS): #Execution of the Main Menu options
|
|||
elif menuS in ["md"]:
|
||||
clear()
|
||||
blogo()
|
||||
slHISTConn()
|
||||
slHISTConn()
|
||||
elif menuS in ["mm"]:
|
||||
clear()
|
||||
blogo()
|
||||
|
|
|
|||
|
|
@ -713,7 +713,7 @@ def localchatsendB():
|
|||
amount = input("\nAmount in sats: ")
|
||||
else:
|
||||
break
|
||||
os.system("""lncli sendpayment --keysend --d=""" + node + " --amt=" + amount + """ --data 7629171=""" + hex_encoded_message + """)
|
||||
os.system("""lncli sendpayment --keysend --d=""" + node + " --amt=" + amount + """ --data 7629171=""" + hex_encoded_message)
|
||||
input("\nContinue...")
|
||||
except:
|
||||
pass
|
||||
|
|
@ -738,7 +738,6 @@ def localchatlistB():
|
|||
|
||||
def localchatsendC():
|
||||
try:
|
||||
try:
|
||||
closed()
|
||||
print("\n\tWrite.\n")
|
||||
lncli = " sendpayment "
|
||||
|
|
@ -749,7 +748,7 @@ def localchatsendC():
|
|||
hex_encoded_message = encoded_message.hex()
|
||||
print(encoded_message.hex())
|
||||
input("\nContinue...")
|
||||
|
||||
|
||||
while True:
|
||||
if amount in ["", "0"]:
|
||||
amount = input("\nAmount in sats: ")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue