Title: How can I create a mining pool? Post by: universekid on June 12, 2021, 02:57:23 PM Nowhere on the internet I can't find any description of how to make a mining pool. With altcoin wallets, mining doesn’t work on a local machine either, I’ve never been able to start a single solo mining on my own machine. It always stops with an error message. I would ask for help on how to start solo mining, starting from there to get to the full miner pool.
Title: Re: How can I create a mining pool? Post by: garlonicon on June 12, 2021, 06:49:31 PM Quote With altcoin wallets, mining doesn’t work on a local machine either, I’ve never been able to start a single solo mining on my own machine. 1. Start two nodes. If you want to use GUI, you can run bitcoin-qt in regtest mode. You need one node as a server, your second node can be a client, just choose different folder when starting it.Code: bitcoin-qt -regtest -rest -rpcuser=username -rpcpassword=password -listen -rpcport=12345 -rpcbind=127.0.0.1:12345 -server Code: addnode 127.0.0.1 add 3. Generate one block to be synchronized with the network: Code: getnewaddress "" "legacy" Code: cpuminer-sse2 --algo sha256d --url=http://127.0.0.1:12345 -u username -p password -D -P --no-getwork --no-longpoll --no-stratum --coinbase-addr=n3SsJoyubRw2udjRFAUExpTrEDNnAbbSsq Quote It always stops with an error message. So, what is the content of this error message?Title: Re: How can I create a mining pool? Post by: NotATether on June 12, 2021, 07:01:25 PM I would ask for help on how to start solo mining, starting from there to get to the full miner pool. So you're actually trying to make an altcoin mining pool work? Most altcoins' mining pool setups are very different from Bitcoin's as a result of them changing a lot of settings and principles related to how mining works. If you would tell us for which coin you are trying to set up pooled mining for, we could offer better advice. Regtest will not solve your pool mining problems, it is a local network of nodes that don't broadcast to a public blockchain. Title: Re: How can I create a mining pool? Post by: icopress on June 12, 2021, 07:28:04 PM Before thinking about creating a pool, if I were you, I would first think about the problems that you will face at different stages. The main problem is that you will not have enough hashrate for successful computations, not to mention that it will be difficult for you to convince people to join if your pool does not have enough hashrate, (unless, of course, you have a preliminary queue). And I can't even imagine how much your pool will have to work at a loss until you mine at least one block, but ... but if you are a desperate enthusiast then try to look here (https://medium.com/geekcash/how-to-setup-own-mining-pool-step-by-step-2bb8ee02820), maybe it will help.
|