Newly setup Raspblitz - easy way to setup solo mining on my own node with spare asic miners? #3942
Replies: 18 comments 2 replies
-
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. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
@Xorell how did you set up bitcoin core? I'm having issues getting CGMiner to connect to bitcoind |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
@metime17 , I am using the default bicoin.conf from the Raspiblitz:
version is: |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Sure, already installed some packages including bfgminer. Testing and let you know when I achieve something. thank you. this link was my starting point. |
Beta Was this translation helpful? Give feedback.
-
"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.....? |
Beta Was this translation helpful? Give feedback.
-
Hi all, just checking in (2024).. has anyone setup a self hosted public-pool instance on their raspiblitz to mine with Bitaxe/Avalon nano/etc miners? |
Beta Was this translation helpful? Give feedback.
-
Public pool is available on Umbrel app store: https://apps.umbrel.com/app/public-pool I have seen Discord post that https://github.com/WantClue is working on a pull request for Raspiblitz. A lot of activity on https://osmu.wiki/ Would be great to have the Public pool as a bonus script on Raspiblitz. |
Beta Was this translation helpful? Give feedback.
-
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?
Beta Was this translation helpful? Give feedback.
All reactions