Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Own Node Miner #705

Closed
SatoshiNakamotoBitcoin opened this issue Sep 3, 2023 · 0 comments
Closed

Own Node Miner #705

SatoshiNakamotoBitcoin opened this issue Sep 3, 2023 · 0 comments
Assignees

Comments

@SatoshiNakamotoBitcoin
Copy link
Collaborator

SatoshiNakamotoBitcoin commented Sep 3, 2023

-PyBLOCK A & B

def CoreMiner(): #
try:
clear()
blogo()
output = render("Core Miner", colors=['yellow'], align='left', font='tiny')
print(output)
bitcoincli = " -generate 1 2147483647"
os.system(path['bitcoincli'] + bitcoincli)
input("\a\nContinue...")
except:
pass

def OwnNodeMiner():
try:
clear()
blogo()
output = render(
"Own Node Miner", colors=['yellow'], align='left', font='tiny'
)
if os.path.isdir ('OwnNodeMiner'):
print("...pass...")
else: # Check if the file 'bclock.conf' is in the same folder
os.system("mkdir OwnNodeMiner && cd OwnNodeMiner && git clone https://github.com/pooler/cpuminer.git")
clear()
blogo()
print(output)
responseC = input("Your RPC User: ")
responseD = input("Your RPC Pass: ")
responseE = input("Your Bitcoin Address: ")
responseF = input("Select Your Threads, 2, 4, 6, 8, 10, ..: ")
os.system(f"cd OwnNodeMiner && cd cpuminer && ./minerd -a sha256d -O {responseC}:{responseD} -o http://127.0.0.1:8332 —coinbase-addr={responseE} -t {responseF}")
input("\a\nContinue...")
except:
pass

-PyBLOCK C

def CroppedMiner():
try:
clear()
blogo()
output = render(
"Be a Bitcoin Miner", colors=['yellow'], align='left', font='tiny'
)
if os.path.isdir ('CroppedMiner'):
print("...pass...")
else: # Check if the file 'bclock.conf' is in the same folder
os.system("mkdir CroppedMiner && cd CroppedMiner && git clone https://github.com/ckolivas/cgminer.git")
clear()
blogo()
print(output)
responseC = input("Your Bitcoin Address: ")
responseD = input("Your Pass x: ")
os.system(f"cd CroppedMiner && cd cgminer && ./cgminer -o stratum+tcp://pool.pyblock.xyz:3333 -u {responseC}.PyBLOCK -p {responseD}")
input("\a\nContinue...")
except:
pass

/ @aceofbitcoin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants