I tried to repeat the procedure, but I ran into some issues.
Note that MYUSER, MYPASS and MYADDR are replaced by their actual values when running the below commands
I'm able to access the node using
bitcoin-cli -rpcuser=MYUSER -rpcpassword=MYPASS -rpcport=5000 -rpcconnect=MY.NODE.IP.NR getblocktemplate '{"rules": ["segwit"], "capabilities": ["coinbasetxn", "workid", "coinbase/append"]}'|grep coinbaseo
"coinbaseaux": {
"coinbasevalue": 3041246,
So it seem to be able to connect, but if I try with bfgminer
$ ./bfgminer --text-only --no-getwork --no-stratum -S cpu:auto -o http://MY.NODE.IP.NR:5000 -u MYUSER -p MYPASS --generate-to MYADDR --coinbase-sig "bfgminer test"
[2022-11-25 14:45:14] Started bfgminer 5.5.0-34-g866fd36f
[2022-11-25 14:45:14] Probing for an alive pool
[2022-11-25 14:45:14] Pool 0 slow/down or URL or credentials invalid
[2022-11-25 14:45:15] No servers were found that could be used to get work from.
[2022-11-25 14:45:15] Please check the details from the list below of the servers you have input
[2022-11-25 14:45:15] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
[2022-11-25 14:45:15] Pool: 0 URL: http://MY.NODE.IP.NR:5000 User: MYUSER Password: MYPASS
While I'm running the above command I observe the following on the console of my node:
2022-11-25T13:49:59Z ThreadRPCServer method=getblocktemplate user=MYUSER
Running on the node itself it seem to connect:
./bfgminer --no-local-bitcoin --text-only --no-getwork --no-stratum -S cpu:auto -o http://MY.NODE.IP.NR:5000 -u MYUSER -p MYPASS --generate-to MYADDR --coinbase-sig "bfgminer test"
[2022-11-25 15:10:16] Started bfgminer 5.5.0-34-g866fd36f
[2022-11-25 15:10:16] No devices detected!
[2022-11-25 15:10:16] Waiting for devices
[2022-11-25 15:10:16] Probing for an alive pool
[2022-11-25 15:10:16] Network difficulty changed to 66M (472.5T)
[2022-11-25 15:10:16] Pool 0 http://MY.NODE.IP.NR:5000 alive
[2022-11-25 15:10:16] Long-polling activated for http://MY.NODE.IP.NR:5000 (getblocktemplate)
20s: 0.0 avg: 0.0 u: 0.0 h/s | A:0 R:0+0(none) HW:0/none
[2022-11-25 15:11:38] Longpoll from pool 0 detected new block
20s: 0.0 avg: 0.0 u: 0.0 h/s | A:0 R:0+0(none) HW:0/none
[2022-11-25 15:17:16] Longpoll from pool 0 detected new block
20s: 0.0 avg: 0.0 u: 0.0 h/s | A:0 R:0+0(none) HW:0/noneone
[2022-11-25 15:25:48] Longpoll from pool 0 detected new block
20s: 0.0 avg: 0.0 u: 0.0 h/s | A:0 R:0+0(none) HW:0/none
Also running cpuminer from the remote computer on the LAN seem to work
$ ./minerd -a sha256d -o http://MY.NODE.IP.NR:5000 -u MYUSER -p MYPASS --coinbase-addr MYADDR --no-getwork --no-stratum --no-redirect
[2022-11-25 15:18:35] Binding thread 0 to cpu 0
[2022-11-25 15:18:35] 4 miner threads started, using 'sha256d' algorithm.
[2022-11-25 15:18:35] Binding thread 1 to cpu 1
[2022-11-25 15:18:35] Binding thread 3 to cpu 3
[2022-11-25 15:18:35] Binding thread 2 to cpu 2
[2022-11-25 15:18:35] Long-polling activated for http://MY.NODE.IP.NR:5000
[2022-11-25 15:18:35] thread 0: 2097152 hashes, 6732 khash/s
[2022-11-25 15:18:35] thread 1: 2097152 hashes, 6732 khash/s
[2022-11-25 15:18:35] thread 2: 2097152 hashes, 6730 khash/s
[2022-11-25 15:18:35] thread 3: 2097152 hashes, 6730 khash/s
[2022-11-25 15:19:35] LONGPOLL pushed new work
[2022-11-25 15:19:35] thread 0: 401725792 hashes, 6729 khash/s
[2022-11-25 15:19:35] thread 3: 401732512 hashes, 6730 khash/s
[2022-11-25 15:19:35] thread 2: 401754024 hashes, 6730 khash/s
[2022-11-25 15:19:35] thread 1: 401665288 hashes, 6728 khash/s
[2022-11-25 15:20:35] thread 3: 403777896 hashes, 6731 khash/s
[2022-11-25 15:20:35] thread 1: 403706232 hashes, 6729 khash/s
[2022-11-25 15:20:35] thread 2: 403799288 hashes, 6731 khash/s
[2022-11-25 15:20:35] LONGPOLL pushed new work
[2022-11-25 15:20:35] thread 3: 78352 hashes, 7178 khash/s
[2022-11-25 15:20:35] thread 0: 403740032 hashes, 6728 khash/s
[2022-11-25 15:20:35] thread 2: 70736 hashes, 6729 khash/s
[2022-11-25 15:20:35] thread 1: 52128 hashes, 4724 khash/s
[2022-11-25 15:21:03] LONGPOLL pushed new work
[2022-11-25 15:21:03] thread 3: 187733520 hashes, 6731 khash/s
...
Does this mean that cpuminer is working as expected while bfgminer does not. I will leave it running for a few days and see if I'm able to solve a block on the test network.