Author

Topic: Having some issues with cpuminer (Read 74 times)

legendary
Activity: 1512
Merit: 7340
Farewell, Leo
April 03, 2021, 05:32:56 PM
#3
The default RPC port on bitcoind is 8332. 8333 is only used for node-to-node communication (e.g. replication)
This is what I get when I run the same but with "8332":
Code:
[2021-04-03 22:32:14] 4 miner threads started, using 'sha256d' algorithm.
[2021-04-03 22:32:15] HTTP request failed: The requested URL returned error: 401
[2021-04-03 22:32:15] json_rpc_call failed, retry after 30 seconds

Edit: Nevermind I had to set rpcport=8332 on the config file.
member
Activity: 100
Merit: 29
April 03, 2021, 02:05:34 PM
#2
The default RPC port on bitcoind is 8332. 8333 is only used for node-to-node communication (e.g. replication)
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
April 03, 2021, 01:27:49 PM
#1
Hi, I'm a newbie at mining, I have never mined any coins or helped a pool with my computational power, I just know the basics of how mining works. Some months ago I forked bitcoin core and wrote a guide of how to do it too, because I find it really interesting when you implement an idea (that can be implemented). Although, the action is far from the theory. I found a lot of difficulties on my way.

I've solved some blocks on my forked Bitcoin Core, but I want to switch to cpuminer, since it's better to compute on the command line than on a UI. This is what I execute:

Code:
minerd --user rpcuser --pass 111111 --url http://127.0.0.1:8333/ --threads 4 --coinbase-addr 3B9dSAqGNSyPasdSrwbJZ2rLSgPmyt8bQQ --coinbase-sig "my test coins" -a sha256d -D

And this is what I get:


It has returned other errors on my forked Bitcoin Core, but I've ran it, above, on pruned Bitcoin Core (that follows the original bitcoin chain) and right now I get this. What am I doing wrong?
Jump to: