Initial mining setup is taking hell lot of time

Hi,
I started my zcashdaemon in mining mode as per Home · zcash/zcash Wiki · GitHub

It is been couple of hours and my daemon is still at 1514 block.

How much time it will take to catchup with latest block and start mining?

Is there any way I can get pre-computed blockchain setup (starting from higher blocks ~15000)?

My setup:
4Core 16GB RAM.
Benchmark = 72(average) seconds to complete equihash.

1 Like

The current block height is about 1500, the Testnet was reset to Beta2 just a couple days ago.

Thanks @Shawn

Currently I am seeing block height 1538.
If beta2 height is ~1500, why I am not seeing “Zcash Miner started” in daemon?

Is daemon not mining?

I am seeing following log messages:

2016-10-07 14:21:43 UpdateTip: new best=001d16487c5dc2c48ae6ee77cccb5824f796d75a14b9ea493d3cbe83c6f36c85 height=1538 log2_work=19.423069 tx=1624 date=2016-10-07
14:20:31 progress=1.000000 cache=0.0MiB(9tx)
2016-10-07 14:21:43 CreateNewBlock(): total size 1000
2016-10-07 14:21:43 Running ZcashMiner with 1 transactions in block (274 bytes)
2016-10-07 14:21:43 CreateNewBlock(): total size 1000
2016-10-07 14:21:43 Running ZcashMiner with 1 transactions in block (274 bytes)
2016-10-07 14:21:43 CreateNewBlock(): total size 1000
2016-10-07 14:21:43 Running ZcashMiner with 1 transactions in block (274 bytes)
2016-10-07 14:21:43 CreateNewBlock(): total size 1000
2016-10-07 14:21:43 Running ZcashMiner with 1 transactions in block (274 bytes)
2016-10-07 14:21:43 CreateNewBlock(): total size 1000
2016-10-07 14:21:43 Running ZcashMiner with 1 transactions in block (274 bytes)
2016-10-07 14:21:43 CreateNewBlock(): total size 1000
2016-10-07 14:21:43 Running ZcashMiner with 1 transactions in block (274 bytes)
2016-10-07 14:21:43 CreateNewBlock(): total size 1000
2016-10-07 14:21:43 Running ZcashMiner with 1 transactions in block (274 bytes)
2016-10-07 14:21:45 CreateNewBlock(): total size 1000
2016-10-07 14:21:45 Running ZcashMiner with 1 transactions in block (274 bytes)

You just have not mined any coins yet. This is from my log:

2016-10-07 09:01:12 UpdateTip: new best=0000376001c92355cefce9325de54bed408bad43b65630829300f479ed0a82d9  height=1391  log2_work=19.103372  tx=1466  date=2016-10-07 09:00:28
progress=1.000000  cache=0.1MiB(298tx)
2016-10-07 09:01:12 CreateNewBlock(): total size 3022
2016-10-07 09:01:12 Running ZcashMiner with 2 transactions in block (2296 bytes)
2016-10-07 09:01:12 CreateNewBlock(): total size 3022
2016-10-07 09:01:12 Running ZcashMiner with 2 transactions in block (2296 bytes)
2016-10-07 09:01:12 CreateNewBlock(): total size 3022
2016-10-07 09:01:12 Running ZcashMiner with 2 transactions in block (2296 bytes)
2016-10-07 09:01:12 CreateNewBlock(): total size 3022
2016-10-07 09:01:12 Running ZcashMiner with 2 transactions in block (2296 bytes)
2016-10-07 09:03:58 ZcashMiner:
2016-10-07 09:03:58 proof-of-work found
  hash: 004f270d2a005a2665268154546633bca70855e4813bdaf63b37501b13f5deda
target: 005292e100000000000000000000000000000000000000000000000000000000
2016-10-07 09:03:58 CBlock(hash=004f270d2a005a2665268154546633bca70855e4813bdaf63b37501b13f5deda, ver=4, hashPrevBlock=0000376001c92355cefce9325de54bed408bad43b65630829300f479ed0a82d9, hashMerkleRoot=7c1990d81d2cb88b384dfc8656dd5827d9461430e02a041cc268fbfc9a840883, hashReserved=0000000000000000000000000000000000000000000000000000000000000000, nTime=1475830984, nBits=1f5292e1, nNonce=00003a2a5f02b40c40b91401fdab59048f6e347532124e84cdbffa48f6c30002, vtx=2)
  CTransaction(hash=bf589d830b, ver=1, vin.size=1, vout.size=2, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 0270050101)
    CTxOut(nValue=0.69610000, scriptPubKey=03fc99ce2d5c8336f9ff864c7d3308)
    CTxOut(nValue=0.17400000, scriptPubKey=OP_HASH160 ef775f1f997f122a062)

  CTransaction(hash=2f52f92adc, ver=2, vin.size=1, vout.size=0, nLockTime=0)
    CTxIn(COutPoint(9f1fbefa1b, 0), scriptSig=304402207fa8221360f0bd1b)

  vMerkleTree:  bf589d830b9d9d4c65cae728fc7451d04421c8745f44e1ae1ccb203e2a68e031 2f52f92adcf4d930f1fef7e2b4f12ef6ff142bfbc8d131eeddcf50415ec64d8a 7c1990d81d2cb88b384dfc8656dd5827d9461430e02a041cc268fbfc9a840883

2016-10-07 09:03:58 generated 0.6961
2016-10-07 09:03:58 keypool keep 7
2016-10-07 09:03:58 UpdateTip: new best=004f270d2a005a2665268154546633bca70855e4813bdaf63b37501b13f5deda  height=1392  log2_work=19.105402  tx=1468  date=2016-10-07 09:03:04 progress=1.000000  cache=0.1MiB(299tx)
2016-10-07 09:03:58 AddToWallet bf589d830b9d9d4c65cae728fc7451d04421c8745f44e1ae1ccb203e2a68e031  new
2016-10-07 09:03:59 keypool reserve 8
2016-10-07 09:03:59 CreateNewBlock(): total size 1000
2016-10-07 09:03:59 Running ZcashMiner with 1 transactions in block (274 bytes)
2016-10-07 09:03:59 CreateNewBlock(): total size 1000
2016-10-07 09:03:59 Running ZcashMiner with 1 transactions in block (274 bytes)
2016-10-07 09:03:59 CreateNewBlock(): total size 1000
2016-10-07 09:03:59 Running ZcashMiner with 1 transactions in block (274 bytes)
2016-10-07 09:03:59 CreateNewBlock(): total size 1000
2016-10-07 09:03:59 Running ZcashMiner with 1 transactions in block (274 bytes)
2016-10-07 09:07:39 UpdateTip: new best=0023e623c2e3427708b626afc866f9802c053875904d31109fce035c719e3445  height=1393  log2_work=19.107419  tx=1469  date=2016-10-07 09:04:03 progress=1.000000  cache=0.1MiB(300tx)
2016-10-07 09:07:39 CreateNewBlock(): total size 1000
2016-10-07 09:07:39 Running ZcashMiner with 1 transactions in block (274 bytes)
2016-10-07 09:07:39 CreateNewBlock(): total size 1000
2016-10-07 09:07:39 Running ZcashMiner with 1 transactions in block (274 bytes)
2016-10-07 09:07:39 CreateNewBlock(): total size 1000
2016-10-07 09:07:39 Running ZcashMiner with 1 transactions in block (274 bytes)
2016-10-07 09:07:39 CreateNewBlock(): total size 1000
2016-10-07 09:07:39 Running ZcashMiner with 1 transactions in block (274 bytes)
1 Like

HI. I currently have a couple of mining contracts making $5 a month from scrypt and Bitcoin.

I have setup my i3 2120 with 8GB ram to mine the test coins, and it appears to be doing something, but I’m not sure if I should have seen something by now! I’m trying to figure out if it’s worth trying myself, as all the contracts I can see won’t really pay out before the time limited contract ends.

Like the OP, I’m on block 2627 and have been running on all 4 threads for approx 4 hours at approx 75% utilization. In the guide I followed it said you should start to see something after a couple of hours, but I am still at 0.0 balance.

Could it be that my PC is not powerful enough to mine effectively, or is this just how solo mining goes. It might take a long time, but if you get a payout it is good?

“version” : 1000001,
“protocolversion” : 170002,
“walletversion” : 60000,
“balance” : 0.00000000,
“blocks” : 2627,
“timeoffset” : -1,
“connections” : 8,
“proxy” : “”,
“difficulty” : 45.46212472,
“testnet” : true,
“keypoololdest” : 1476003467,
“keypoolsize” : 101,
“paytxfee” : 0.00000000,
“relayfee” : 0.00005000,
“errors” : “This is a pre-release test build - use at your own risk - do not use for mining or merchant applications”

~/zcash/./src/zcash-cli listtransactions to see unconfirmed mined coins.

Thanks.

This is what I can see when I run that, and it hasn’t changed.

danny@U16-04:~ ~/zcash/./src/zcash-cli listtransactions [ ] danny@U16-04:~

Are you using

genproclimit=2 in your config file ?

2=2cores

No. This is what I have in my config file. Would the username and password make a difference?

testnet=1
addnode=betatestnet.z.cash
rpcuser=rpcusername
rpcpassword=rpcpassword
gen=1

No username pass doesn’t make a difference but adding genproclimit=2 would give you roughly double the speed

1 Like

Not 100% sure, but after putting that line in the config file, all 4 cores are pegged at 100%! So was I mining on 1 core (2 threads before), and now I’m firing on all cores?

Thanks

Exactly.

Be sure to :
~/zcash/./src/zcash-cli stop (stop miner)

then restart daemon
~/zcash/./src/zcashd -daemon

1 Like

Testnet difficulty is increased from 40 to 60 in just two days.

I could mine 2 coins for two days at ~40 difficulty. With current
difficulty I too could not mine anything.

May be lot of powerful machines are added to network in past two days.

I see mention that people are starting to figure out GPU mining, which will blow me out the water before I start. If that’s the case I’ll be looking for a pool and saving for an AMD card, but I know the wife won’t understand!

Well it took a while, but eventually I have mined 3 test coins.

With all the action and big money wing thrown at GPU, I’ll be irrelevant before it gets going. If everyone is mining with GPU’s will there be any point CPU mining?

If CPU miners are optimized yes

1 Like

If we add setserver=1 in the zcash.conf file and point the zminer to our ip address will it mine solo optimized? I mean i tried it and It did start mining and found solutions but never stated it was submitting anything?