Bitcoin Forum
July 15, 2024, 10:13:31 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: Newbie question: trying to mine test litecoin with minerd but no rewards appear. on: June 14, 2019, 04:19:32 AM
I don't think I know how to see what block I found.  The block number won't be the same as the hash, I guess, and it doesn't seem to be printed by the miner here.
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: Newbie question: trying to mine test litecoin with minerd but no rewards appear. on: June 13, 2019, 06:22:04 AM
At the moment, I'm happy to make most anything work.

Seems to be up-to-date.  Or is this not the relevant info?

[litecoin@server ~]$ litecoin-cli -testnet -datadir=/x/B/litecoin getblockchaininfo
{
  "chain": "test",
  "blocks": 1106796,
  "headers": 1106796,
  "bestblockhash": "6a35062e8167f5b8c7c664131b5e6cb9cffb08c1e9f420b359241a878fe98261",
  "difficulty": 0.0002441371325370145,
  "mediantime": 1560405369,
  "verificationprogress": 0.9999822998084436,
  "initialblockdownload": false,
  "chainwork": "0000000000000000000000000000000000000000000000000035e957779ffa95",
  "size_on_disk": 1881593124,
  "pruned": false,
  "softforks": [
    {
      "id": "bip34",
      "version": 2,
      "reject": {
        "status": true
      }
    },
    {
      "id": "bip66",
      "version": 3,
      "reject": {
        "status": true
      }
    },
    {
      "id": "bip65",
      "version": 4,
      "reject": {
        "status": true
      }
    }
  ],
  "bip9_softforks": {
    "csv": {
      "status": "active",
      "startTime": 1483228800,
      "timeout": 1517356801,
      "since": 6048
    },
    "segwit": {
      "status": "active",
      "startTime": 1483228800,
      "timeout": 1517356801,
      "since": 6048
    }
  },
  "warnings": ""
}

3  Alternate cryptocurrencies / Mining (Altcoins) / Newbie question: trying to mine test litecoin with minerd but no rewards appear. on: June 12, 2019, 05:44:37 AM
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.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!