Trying to be my own bitcoin mining pool for fun and lotto. I realize the odds and the need for asics.
I have installed bitcoind to ubuntu linux server and sync'd the block chain current. I then proceeded to create a wallet and an address.
Tried to mine with cgminer from another computer on the same lan but received the following error-
root@server1:/usr/src/cgminer# ./cgminer -o stratum+tcp://192.168.0.179:8332 -u tom -p secret --btc-address 1E1pz9GoUVEvEEoLHm4VDXEph13yZBbXGX
[1970-01-03 18:55:33.904] Started cgminer 4.11.1
[1970-01-03 18:55:33.904] Probing for an alive pool
[1970-01-03 18:56:33.914] No servers were found that could be used to get work from.
[1970-01-03 18:56:33.914] Please check the details from the list below of the servers you have input
[1970-01-03 18:56:33.914] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
[1970-01-03 18:56:33.914] Pool: 0 URL: stratum+tcp://192.168.0.179:8332 User: tom Password: secret
[1970-01-03 18:56:33.914] No servers could be used! Exiting.
192.168.0.179 is the ip of the bitcoind server.
I start bitcoind with this ./bin/bitcoind -daemon
Here is what my bitcoin.conf looks like, I have verified it is being read with the debug.log file.
server=1
rpcuser=tom
rpcpassword=secret
rpcallowip=192.168.0.0/24
rpcport=8332
I started googling and there was very little information to be found other than the following-
1.) In the recent past, this kind of support was removed from bitcoind
2.) People made it work by installing bfgminer on the same server as bitcoind to act as a proxy.
I tried #2.
./bfgminer --stratum-port=3333
Pool setup failed
Added a little more
./bfgminer -o stratum+tcp://127.0.0.1:8332 --stratum-port=3333 -u tom -p secret
[2021-03-26 18:59:07] Most likely you have input the wrong URL, forgotten to ad
d a port, or have not set up workers
[2021-03-26 18:59:07] Pool: 0 URL: stratum+tcp://127.0.0.1:8332 User: tom Password: secret
[2021-03-26 18:59:07] Press any key to exit, or BFGMiner will try again in 15s.
[2021-03-26 18:59:23] No servers were found that could be used to get work from
.
[2021-03-26 18:59:23] Please check the details from the list below of the serve
rs you have input
Can anyone help me out to fix this? Or maybe I am asking the wrong question and the right question is how to setup my own mining pool? Or maybe there is a better blockchain software other than bitcoind?
My goal would be to host my own wallet and blockchain without relying on a third party. How do mining pools do it? I know someone here knows how to do this!
Thanks