I'm new to this and trying to learn how things work. Now, I'm trying to mine test litecoin using minerd. I've been trying to follow
these instructions. The miner seems to find some test coins, but no reward appears. I'm probably making some simple newbie mistake, but I don't have any idea. I'm hoping one of you folks will be able to tell me.
I'm running on CentOS Linux 7.6. Software versions:
-bash-4.2$ litecoind -version
Litecoin Core Daemon version v0.17.1rc1
...
-bash-4.2$ litecoin-cli -version
Litecoin Core RPC client version v0.17.1rc1
...
-bash-4.2$ minerd -V
cpuminer 2.5.0
built on Mar 3 2019
features: x86_64 PHE SSE2 AVX AVX2 XOP
libcurl/7.29.0 NSS/3.36 zlib/1.2.7 libidn/1.28 libssh2/1.4.3
So I start the server using testnet.
[litecoin@server ~]$ litecoind -daemon -testnet -datadir=/x/B/litecoin
Litecoin server starting
I have an address I created earlier with litecoin-cli getnewaddress.
[litecoin@server ~]$ litecoin-cli -testnet -datadir=/x/B/litecoin getaddressesbylabel testaddress
{
"QWZdEoxj6rfV9rt641YhTY2mzAN5xHfpwm": {
"purpose": "receive"
}
}
[litecoin@server ~]$ litecoin-cli -testnet -datadir=/x/B/litecoin getbalance
0.00000000
[litecoin@server ~]$ litecoin-cli -testnet -datadir=/x/B/litecoin listtransactions
[
]
So I run the miner and after a while it finds something.
[litecoin@server ~]$ minerd -a scrypt -o http://127.0.0.1:19332 -u user -p pass -t 2 -D \
--no-stratum --coinbase-addr=QWZdEoxj6rfV9rt641YhTY2mzAN5xHfpwm
[2019-06-08 21:38:24] Binding thread 1 to cpu 1
[2019-06-08 21:38:24] Binding thread 0 to cpu 0
[2019-06-08 21:38:24] 2 miner threads started, using 'scrypt' algorithm.
[2019-06-08 21:38:24] DEBUG: got new work in 2 ms
[2019-06-08 21:38:24] Long-polling activated for http://127.0.0.1:19332
[2019-06-08 21:38:26] thread 1: 4096 hashes, 2.80 khash/s
[2019-06-08 21:38:26] thread 0: 4096 hashes, 2.80 khash/s
...
After a while
...
[2019-06-08 21:48:24] DEBUG: got new work in 1 ms
[2019-06-08 21:48:24] thread 1: 168072 hashes, 2.79 khash/s
[2019-06-08 21:48:29] DEBUG: hash <= target
Hash: 000001813c036c7be90302461f796e0b84cbd71477ea547d0413886ea3973527
Target: 00000fffff000000000000000000000000000000000000000000000000000000
[2019-06-08 21:48:29] thread 0: 14964 hashes, 2.80 khash/s
[2019-06-08 21:48:29] accepted: 1/1 (100.00%), 5.59 khash/s (yay!!!)
[2019-06-08 21:48:29] LONGPOLL pushed new work
...
But, there's nothing there. No credit for the find.
[litecoin@server ~]$ litecoin-cli -testnet -datadir=/x/B/litecoin getbalance
0.00000000
[litecoin@server ~]$ litecoin-cli -testnet -datadir=/x/B/litecoin listtransactions
[
]
I'm sure I'm doing some simple thing wrong, but I don't know what, and I don't even know how to look. I would appreciate a clue, since I don't have one.
Thanks.