Author

Topic: How can I create a mining pool? (Read 65 times)

legendary
Activity: 1456
Merit: 5874
light_warrior ... 🕯️
June 12, 2021, 03:28:04 PM
#4
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, maybe it will help.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
June 12, 2021, 03:01:25 PM
#3
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.
hero member
Activity: 789
Merit: 1909
June 12, 2021, 02:49:31 PM
#2
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
bitcoin-qt -regtest -choosedatadir
2. Open console and connect both nodes:
Code:
addnode 127.0.0.1 add
You should see one connection in the bottom right corner.
3. Generate one block to be synchronized with the network:
Code:
getnewaddress "" "legacy"
n3SsJoyubRw2udjRFAUExpTrEDNnAbbSsq
dumpprivkey "n3SsJoyubRw2udjRFAUExpTrEDNnAbbSsq"
cNu3gxJLTnyEgqbKea2amjE6g2TYqkcCeqgmPhAQ7LEAHw1MGrw7
generatetoaddress 1 n3SsJoyubRw2udjRFAUExpTrEDNnAbbSsq
4. Run your miner, for example cpuminer by JayDDee and start solo mining:
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?
newbie
Activity: 9
Merit: 0
June 12, 2021, 10:57:23 AM
#1
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.
Jump to: