-
Notifications
You must be signed in to change notification settings - Fork 519
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Newly setup Raspblitz - easy way to setup solo mining on my own node with spare asic miners? #414
Comments
You really want to run the bitcoin full stack :) I am not exactly sure, but you should find on the google titorials about connection those asic miners with your full node. You have a bitcoind an a raspbian/debian linux in the local network .. sound not to exotic. Would appriciate if you share the results of your experiment. |
I found this explanation but I am not sure how to do it with Raspiblitz? I don't want to mess up my cool new node lol Any advice or suggestions would be great! " Run BFGminer on the same computer as Bitcoin Core with the following configuation, it won't need any further settings altered or configured (it gets the RPC password automatically on launch). bfgminer --stratum-port=3333 Now using coinbase address 1PkNBPBGEmvoMFbwRT5ky3XXVNstJnJ4c1, provided by pool 0 You're now ready to solo mine against Bitcoin Core, you just have to point your antminer at the IP address of the computer running BFGminer, and the miner should show up in the top section of BFGminer with its hashrate showing as "PXY" (stratum proxy). Any blocks will be paid out to the coinbase address shown in BFGminer, which is a new one generated from your wallet. shareimprove this answer Anonymous 0 The previous method will work on Windows 10 as well but the missing thing is a stratum proxy. You must run a proxy for the stratum to connect with the rpc. Here is the original link |
I think to give BFG miner a try is an idea. You may need to open port 3333 on the ufw firewall so that your miners cann connect to the BFG on your RaspiBlitz. |
I've managed to solo mine by use of cgminer. I installed it as followed:
Once installed i run cgminer by used of the following command (in a screen session)
You can monitor the miner by entering I get the following messages in the cgminer screen session: [2019-12-11 22:27:21.273] Solo mining to valid address: 15tf4HVVDy9kZVuNa6v1Mtv3z1vq7ZuyY8 This is different compared to mining to a pool (e.g. solo.ckpool.org). Another benefit to ckpool is that you can read the status from outside your network. The cool thing is, by using it in this way that you are using all of the raspiblitz services. |
@Xorell how did you set up bitcoin core? I'm having issues getting CGMiner to connect to bitcoind |
@metime17 I installed the CGMiner on the Raspiblitz. In this case you connect to http://localhost:8332 together with the username and password. In case you are trying to connect with CGMiner from another target, then you need to make sure the firewall (i geuss UFW command) is allowing access toward the bitcoin deamon. |
@Xorell can you give me an example of your bitcoin.conf? also what version of bitcoin core are you using? im using version 19, and am not sure if it's having issues. i have UFW off so it shouldnt be that. im using localhost ofcourse. |
@metime17 , I am using the default bicoin.conf from the Raspiblitz:
version is: |
@Xorell THANK YOU VERY MUCH!! idk why but my config was not working but yours did im guessing it was the zmqpubrawblock=tcp://127.0.0.1:28332 & zmqpubrawtx=tcp://127.0.0.1:28333 commands. BFGminer only works with bitcoin core version 17.1 and does not with anything newer. |
Marked this idea for the Lightning HackSprint - details see: https://wiki.fulmo.org/index.php?title=Lightning_HackSprint Tasks would be: See if its possible to use the RaspiBlitz to control mining hardware. If there would be the possibility to add it too a pool with supporting Stratum V2 with "job negotiation" and the RaspiBlitz could make the rules which transactions get into the Block - that would be awesome :) For background see: https://www.coindesk.com/a-plan-to-decentralize-bitcoin-mining-again-is-gaining-ground |
Also maybe look into the possibility to connect to a Mining Pool that paysout with lightning. Collecting info on that with this tweet: https://twitter.com/rootzoll/status/1298198278887084032?s=20 |
Also checkout BrainsOS ... it allows to customize the own blocktemplate as part of BetterHash-style StratumV2 improvement and supports S9 miners https://braiins-os.com/plus |
Checking this today. There are any changes in raspiblitz 1.7.2 to make this easy? I have an ASIC S9 mining using ckpool but want to do it using my own raspiblitz node. I read about a stratum server but not sure if it is possible to run it in the raspiblitz. Any comment on this is appreciated. |
It would be great to make this easy with RaspiBlitz .. but this would require someone from the community comitting to this feature (test & report) and then create a config-script as a PR. Happy to help on the PR side and finalize the integration. |
Sure, already installed some packages including bfgminer. Testing and let you know when I achieve something. thank you. this link was my starting point. |
"Raspiblitz" mine block itself or use(require) third party miners ...? if third party miners require then how to connect each other raspiblitz and third party miner.....? |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I really like the tutorial and setting up the Raspiblitz was easier than I thought! Thank you.
I have a few s9 asic miners that I would like to have solo mine using my newly setup node. (just for fun not expecting to mine a block) How would I go about doing that or is it even possible?
The text was updated successfully, but these errors were encountered: