Bitcoin Forum

Bitcoin => Mining => Topic started by: KitKatZ on May 15, 2022, 07:16:40 PM



Title: Solo Mine to Bitcoin Core 22.0
Post by: KitKatZ on May 15, 2022, 07:16:40 PM
Anyone have a good instructional guide to Solo Mine to Bitcoin Core 22.0? I know it's a crazy questions with the Bitcoin diff the way it is but for experimental reasons. This would be fun. I have a fully synced  Bitcoin Core 22.0 full node on VPS ready to go to test this .


Title: Re: Solo Mine to Bitcoin Core 22.0
Post by: BitMaxz on May 15, 2022, 11:37:05 PM
No, you won't be able to mine with PC or VPS you need an ASIC machine to be able to mine solo in Bitcoin core.
Or if it's for study purposes I think you can solo mine on Testnet but not for the Mainnet.

Also, check the USB stick miner Compac F which is usually used for study/experiments and solo lottery mining.


Title: Re: Solo Mine to Bitcoin Core 22.0
Post by: NotATether on May 16, 2022, 06:54:54 AM
To solo-mine, you need two things in addition to the USB ASIC miner - a mining software such as bfgminer, and a (self-hosted) pool.

ViaBTC's pool source code has been open-sourced, so you can put that on your VPS and point it to your BTC node. Generally, you won't have to worry about the intricate getblocktemplate and submitblock details - the pool should take care of that for you.

Meanwhile, bfgminer will autoscan for ASICs for you by itself.


Title: Re: Solo Mine to Bitcoin Core 22.0
Post by: KitKatZ on May 17, 2022, 04:15:52 PM
To solo-mine, you need two things in addition to the USB ASIC miner - a mining software such as bfgminer, and a (self-hosted) pool.

ViaBTC's pool source code has been open-sourced, so you can put that on your VPS and point it to your BTC node. Generally, you won't have to worry about the intricate getblocktemplate and submitblock details - the pool should take care of that for you.

Meanwhile, bfgminer will autoscan for ASICs for you by itself.


Tried getting ViaBTC's pool. About 4 hours wasted trying to configure it and ended up just not compiling properly. Any other advice for a very simple solo pool open source code that can be used? Something quick and easy with very little need to be modded ?


Title: Re: Solo Mine to Bitcoin Core 22.0
Post by: DaveF on May 17, 2022, 04:55:43 PM
Take a look here: https://bitcointalk.org/index.php?topic=4980079.0
There are other pool installers out there too. I can't vouch for any of them but I know they exist and people use them.

You might actually want to ask in the altcoin mining section. New shitcoins are popping up all the time and pools to go with them so I would *guess* there are people who can help you there too.

Somebody was working on a NOMP or UNOMP version that worked with the newer versions of BTC
Don't remember what happened with that project.

-Dave


Title: Re: Solo Mine to Bitcoin Core 22.0
Post by: KitKatZ on May 17, 2022, 07:22:01 PM
Take a look here: https://bitcointalk.org/index.php?topic=4980079.0
There are other pool installers out there too. I can't vouch for any of them but I know they exist and people use them.

You might actually want to ask in the altcoin mining section. New shitcoins are popping up all the time and pools to go with them so I would *guess* there are people who can help you there too.

Somebody was working on a NOMP or UNOMP version that worked with the newer versions of BTC
Don't remember what happened with that project.

-Dave

everything seems to be outdated. Tried Yiimp,Nomp . Nothing seems to work with ubuntu updates. It's like people stopped developing for Bitcoin pools. If they do develop they hide their code or close source it. Getting so frustrated. Wish i could just cgminer directly to my Bitcoin core and solo.


Title: Re: Solo Mine to Bitcoin Core 22.0
Post by: DaveF on May 18, 2022, 10:04:53 PM
This script is known to work with Ubuntu 20.04: https://github.com/Coleganet/Coleganet-Pool-Install

Not sure what else you really need. There is a way to install p2pool and run it as solo but you would have to do some digging for how to do that. I know it was discussed on the p2pool thread here.

-Dave


Title: Re: Solo Mine to Bitcoin Core 22.0
Post by: Skot on June 20, 2022, 06:58:11 PM
run CKPool (https://bitbucket.org/ckolivas/ckpool/src/master/) on your node and you can point any stratum miner at it.


Title: Re: Solo Mine to Bitcoin Core 22.0
Post by: Skot on June 21, 2022, 10:49:09 PM
Actually, due to some changes in Bitcoin Core's GetBlockTemplate, CKPool doesn't work with versions 0.20.0 and above. It's a pretty simple change to CKPool, so I've done that and put it up here; https://github.com/skot/ckpool