Author

Topic: BiblePay - New Coin Launch - Official Thread - page 128. (Read 119833 times)

full member
Activity: 462
Merit: 103
I'm not really an expert on the blockchain details either, but for the attempting to generate 19909 BBP on the stale block part, that'd probably be because the node you're running on your machine accepted the block that it mined itself until the blockchain rejected it. Something like:

-you mined a block
-your node said it was valid and adds it to your local copy of the blockchain
-your wallet reads the block and adds 19909 BBP to your immature balance
-a fraction of a second later you receive a a block of the same height from the p2p network
-your node checks it and because its solution is a higher difficulty than the block you mined your node orphans the block you found and replaces it with the block you received
-reading the new blockchain your wallet removes the 19909 immature BBP from your wallet.

The order of the errors within the same timeframe in the debug log probably don't mean much since it's heavily multithreaded. That should be a rare event, but because of the occasionally difficulty drops we're seeing with Biblepay it's probably more common than it should be. But, it's something that would affect everyone equally, so it shouldn't influence the payout statistics over time.
Thank you for your effort to break it down, everything is clear as day. I don't think this is an issue as long as it happens rarely. One more user here mentioned he had the same situation, the wallet briefly showed him the new credit and then disappeared, but I still think that's sufficiently rare, as I found only one stale block in 7 debug logs across 7 machines mining for 3 days.

The 3rd error log I don't really know, maybe the dev has an idea. I noticed it's block 2770, which is a multiple of 10 so it'd be a tithe block so it might be related to that. Or maybe it was a block that you received from the network that your node rejected. 0000001ae8594b890ff5b97168ba3f57ec1cf64e2c3351275e592ed6a7a52396 is the hash for block 2770 though, so the network didn't seem to reject it.
Smart guess about the tithe block, but that occurrence was accidentally a multiple of 10. Here, I'll paste another one, the newest.

I'd try to audit the code myself, but C++ goes over my head for the most part. I should really get around to learning the basics one of these days...
Good idea, same here, but I'll try to skim through the code anyway.

Edit:
One very important thing to note is that the invalid block error on some block (for example block 2782 in the above paste) only appears on that machine. On all 6 others it's normal, like this:
Quote
2017-08-12 08:39:49 UpdateTip: new best=00000024a3327afa5e3ff620607e48841ec35c6a92a554a132e0dbb616b5526d  height=2782  log2_work=32.427115  tx=3308  date=2017-08-12 08:39:47 progress=0.999999  cache=0.0MiB(233tx)
2017-08-12 08:39:49 ProcessNewBlock : ACCEPTED
2017-08-12 08:39:55 CMasternodeSync::IsBlockchainSynced -- found enough peers on the same height as we are, done
2017-08-12 08:59:27 UpdateTip: new best=000000018734cbb6422e82aeaa2f52162760f95ea4d485a2a5c8de3a46bc47b9  height=2783  log2_work=32.43188  tx=3309  date=2017-08-12 08:59:25 progress=0.999999  cache=0.0MiB(234tx)
2017-08-12 08:59:27 ProcessNewBlock : ACCEPTED
2017-08-12 08:59:33 CMasternodeSync::IsBlockchainSynced -- found enough peers on the same height as we are, done

Then some other block will be invalid again only on one machine (6 of them are identical btw), so that leads me to believe those are found blocks which are invalid for some reason.
sr. member
Activity: 479
Merit: 253
Can someone help me find a way to mine this coin or any coin for that matter. Links that would help me start mining using my laptop. I would appreciate the help if ever. Everytime I read people discuss about hashrates and sources and pools, I feel like I am in a different planet. Thanks.

If u gonna mine with ur laptop (CPU Mining)...then, id say that the instructions found in this thread are as Easy as it will get ^^"

So , u should really try and take the time to try and follow the instructions, to get it running.

Coz if u cant follow these instructions, then ur only asking for trouble... going any further into "it".

So just Relax, no rush...and try to do what they say. And youll learn a WHOLE lot by doing it that way ^^.

And if u tried ur best (meaning, spending an hour minimum, on Each obstacle u come across)...and u just cant "get it"... Then, try asking in here again... stating what ur problem is "specifically"/ where ur stuck... and ppl may recognize the fact that u really tried (due to the amount of detail u add into ur question/problem) ...and will probably be able to help u better  Wink
member
Activity: 70
Merit: 10
Note that in the stale block log I pasted above this one, you can also see the two TestBlockValidity failed lines, but there is also data about the found block and an attempt to generate 19909 BBP to credit the wallet and then the message that the block is stale. But in all of these instances, there is none of that, just invalid block errors. What could that be? I am of course not knowledgeable about this, but to me it looks like I was finding blocks but they were invalid for some reason.

I'm not really an expert on the blockchain details either, but for the attempting to generate 19909 BBP on the stale block part, that'd probably be because the node you're running on your machine accepted the block that it mined itself until the blockchain rejected it. Something like:

-you mined a block
-your node said it was valid and adds it to your local copy of the blockchain
-your wallet reads the block and adds 19909 BBP to your immature balance
-a fraction of a second later you receive a a block of the same height from the p2p network
-your node checks it and because its solution is a higher difficulty than the block you mined your node orphans the block you found and replaces it with the block you received
-reading the new blockchain your wallet removes the 19909 immature BBP from your wallet.

The order of the errors within the same timeframe in the debug log probably don't mean much since it's heavily multithreaded. That should be a rare event, but because of the occasionally difficulty drops we're seeing with Biblepay it's probably more common than it should be. But, it's something that would affect everyone equally, so it shouldn't influence the payout statistics over time.

The 3rd error log I don't really know, maybe the dev has an idea. I noticed it's block 2770, which is a multiple of 10 so it'd be a tithe block so it might be related to that. Or maybe it was a block that you received from the network that your node rejected. 0000001ae8594b890ff5b97168ba3f57ec1cf64e2c3351275e592ed6a7a52396 is the hash for block 2770 though, so the network didn't seem to reject it.

I'd try to audit the code myself, but C++ goes over my head for the most part. I should really get around to learning the basics one of these days...
full member
Activity: 462
Merit: 103
I think I may be on to something. In 3 full days I've found only 3 blocks (instead of at least like 50 blocks or so), so I decided to dig into debug.log and I've found something which may be a problem.

First of all, this is how a normal block find looks like in my log, I'm sure you know it, but here it is just for reference.

Quote
2017-08-11 20:31:11 CBlock(hash=00000107572a9b18c8584459675dd7fade8c046701c162ff46b1ee14805e8520, ver=536870913, hashPrevBlock=00000284a57ec79cc997532d124e2d41d2347d25215bfd0d1b17f98bf5a5fe4e, hashMerkleRoot=e824ec77c3abc71a9ac06d256d003890f9f29024fa1f2c6d1e412f089a2036e7, nTime=1502483469, nBits=1e01929c, nNonce=19363, vtx=2)
  CTransaction(hash=f284dfea18, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 02970a029501)
    CTxOut(nValue=19958.00004260, scriptPubKey=2103af29ac2bc19110ac2e973f7eaf)

  CTransaction(hash=4c1e66855c, ver=1, vin.size=1, vout.size=1, nLockTime=2710)
    CTxIn(COutPoint(c72f9d67ddd408b7be94527944e7cb8af2b15c4637d833b4667aa8019a4c9959, 0), scriptSig=47304402204fcdc987b422f6, nSequence=4294967294)
    CTxOut(nValue=19955.99995740, scriptPubKey=76a9145da07b168e99d2d9e73c7669)


2017-08-11 20:31:11 generated 19958.0000426
2017-08-11 20:31:11 UpdateTip: new best=00000107572a9b18c8584459675dd7fade8c046701c162ff46b1ee14805e8520  height=2711  log2_work=32.293101  tx=3221  date=2017-08-11 20:31:09 progress=0.999999  cache=0.0MiB(92tx)
2017-08-11 20:31:11 AddToWallet f284dfea18f24d86f54e8f5c9ba843225d7439fd0d3ff2677ac738282d4111c1  new
2017-08-11 20:31:11 ProcessNewBlock : ACCEPTED
2017-08-11 20:31:11 keypool keep 3
2017-08-11 20:31:17 CMasternodeSync::IsBlockchainSynced -- found enough peers on the same height as we are, done

OK, then here I have a stale block, only one, so it's fine, bad luck I guess. No problem here either, just for reference.

Quote
2017-08-09 18:10:06 UpdateTip: new best=000000abf6434add4da1c4d39e349cb066601106ee48814173a7eec8f700b14d  height=2416  log2_work=31.743101  tx=2809  date=2017-08-09 18:10:03 progress=0.999999  cache=0.5MiB(2025tx)
2017-08-09 18:10:06 ProcessNewBlock : ACCEPTED
2017-08-09 18:10:12 CMasternodeSync::IsBlockchainSynced -- found enough peers on the same height as we are, done
2017-08-09 18:12:12 UpdateTip: new best=0000000f163c2bfcf381b04b16017321fa1ae3e27db059bf93592e6571d89856  height=2417  log2_work=31.744362  tx=2810  date=2017-08-09 18:12:14 progress=1.000001  cache=0.5MiB(2026tx)
2017-08-09 18:12:12  

** TestBlockValidity FAILED - pindexNew->pprev != chainActive.Tip() (assert(pindexNew->pprev == chainActive.Tip())); **

2017-08-09 18:12:12

BiblepayMiner -- runtime error: CreateNewBlock: TestBlockValidity failed:  (code 0)
2017-08-09 18:12:12 ProcessNewBlock : ACCEPTED
2017-08-09 18:12:12 CBlock(hash=0000052cdf42990efb3111168df6383ac9e67469e13779e9191045e2519c625d, ver=536870913, hashPrevBlock=000000abf6434add4da1c4d39e349cb066601106ee48814173a7eec8f700b14d, hashMerkleRoot=6957720542ed422b568ef6729ce2003bc0374230a89a08fd7e9eb52f6cc9656b, nTime=1502302331, nBits=1e0556e7, nNonce=17044, vtx=1)
  CTransaction(hash=6957720542, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 027109027902)
    CTxOut(nValue=19909.00000000, scriptPubKey=21025ce570545d93eaf020b0b9ed51)


2017-08-09 18:12:12 generated 19909.00
2017-08-09 18:12:12 ERROR: ProcessBlockFound -- generated block is stale
2017-08-09 18:12:12 keypool keep 7
2017-08-09 18:12:18 CMasternodeSync::IsBlockchainSynced -- found enough peers on the same height as we are, done
2017-08-09 18:12:20 UpdateTip: new best=000000aad1cdcb0345f5f8bf2860df001b8e1ce7694758b156b1423122674022  height=2418  log2_work=31.74527  tx=2811  date=2017-08-09 18:12:22 progress=1.000001  cache=0.5MiB(2027tx)
2017-08-09 18:12:20 ProcessNewBlock : ACCEPTED
2017-08-09 18:12:26 CMasternodeSync::IsBlockchainSynced -- found enough peers on the same height as we are, done

OK, now here is where it gets interesting. I found like a dozen of these errors on each of my machines, which can roughly correlate to the number of blocks I should have found.

Quote
2017-08-12 07:21:39 UpdateTip: new best=000000a9939e109169f91c3c72737e26f11b093dc2062175a4814ee57db83d99  height=2769  log2_work=32.402216  tx=3294  date=2017-08-12 07:21:34 progress=0.999998  cache=0.0MiB(218tx)
2017-08-12 07:21:39 ProcessNewBlock : ACCEPTED
2017-08-12 07:21:45 CMasternodeSync::IsBlockchainSynced -- found enough peers on the same height as we are, done
2017-08-12 07:24:27 UpdateTip: new best=0000001ae8594b890ff5b97168ba3f57ec1cf64e2c3351275e592ed6a7a52396  height=2770  log2_work=32.403584  tx=3295  date=2017-08-12 07:24:22 progress=0.999998  cache=0.0MiB(219tx)
2017-08-12 07:24:27  

 ** TestBlockValidity FAILED - pindexNew->pprev != chainActive.Tip() (assert(pindexNew->pprev == chainActive.Tip())); **

2017-08-12 07:24:27

BiblepayMiner -- runtime error: CreateNewBlock: TestBlockValidity failed:  (code 0)
2017-08-12 07:24:27 ProcessNewBlock : ACCEPTED
2017-08-12 07:24:33 CMasternodeSync::IsBlockchainSynced -- found enough peers on the same height as we are, done
2017-08-12 07:25:32 UpdateTip: new best=0000034d6225764bc4e45c7d05c6171a2563ed0b221a8e5998c81572cc79800f  height=2771  log2_work=32.404542  tx=3296  date=2017-08-12 07:25:28 progress=0.999999  cache=0.0MiB(220tx)
2017-08-12 07:25:32 ProcessNewBlock : ACCEPTED
2017-08-12 07:25:38 CMasternodeSync::IsBlockchainSynced -- found enough peers on the same height as we are, done

Note that in the stale block log I pasted above this one, you can also see the two TestBlockValidity failed lines, but there is also data about the found block and an attempt to generate 19909 BBP to credit the wallet and then the message that the block is stale. But in all of these instances, there is none of that, just invalid block errors. What could that be? I am of course not knowledgeable about this, but to me it looks like I was finding blocks but they were invalid for some reason.
member
Activity: 70
Merit: 10
Edit the biblepay.conf file, and place the following lines in the config:

poolport=80
pool=http://pool.biblepay.org
workerid=the_worker_id
gen=1
genproclimit=5

Is correct??

That will only work on the testnet. If you try it on the main blockchain it'll reject your connection and additionally you'll be mining much slower than normal because it'll be trying to reconnect to the pool every iteration.
sr. member
Activity: 574
Merit: 251
Can someone help me find a way to mine this coin or any coin for that matter. Links that would help me start mining using my laptop. I would appreciate the help if ever. Everytime I read people discuss about hashrates and sources and pools, I feel like I am in a different planet. Thanks.
member
Activity: 129
Merit: 10
Edit the biblepay.conf file, and place the following lines in the config:

poolport=80
pool=http://pool.biblepay.org
workerid=the_worker_id
gen=1
genproclimit=5

Is correct??
full member
Activity: 1260
Merit: 115
Help the devs test the pool:  https://bitcointalksearch.org/topic/biblepay-testnet-thread-pool-testing-for-proof-of-bible-hash-pool-pobh-2070177

There have been recent code commits for the pool, so theyre definitely working on it:  https://github.com/biblepay/biblepay/commits/master
member
Activity: 129
Merit: 10
HI Dev any news about pool..when live?? it is not possible more solo mining
full member
Activity: 462
Merit: 118
My i5 gives aprox 230k, my friends ryzen 1700 give 500-600k.
I run 10-11 threads and he run 30-35.

Wow, what is your i5 model? My i7 7770 get only 170k, but your i5 hashrate more than mine  Shocked

I heard that ryzen 1700 is cool, the hashrate is awesome.

I5 6600k clocked to 4,4 GHz. Paired with 32 GB 3200 MHz ram. Running Windows wallet and 11 threads.

My friends ryzen is overclocked as well, higher performance than stock 1800x but dont remember excact clock. Also with 32 GB 3200 MHz ram.

Thanks for your information. I didn't know that I am able to setgenerate more than CPU thread numbers. Just try out 12 at my i7 7770, get 240kh/s, but can't set more because 7770 had bad temperature design. Now at max 87c, although Intel said this CPU can take up to 100c, but I don't want to risk my working machine.

BTW, still no single block found after 1+ day. Poor luck, maybe I should pray hard during mining  Tongue

Hehe water cooling + mining = true love :p my CPU is 55c, and goes to 65c max with 100%load through the night if the room gets hot (also got 3 1080ti in the computer). Got another block tonight.
sr. member
Activity: 375
Merit: 250
My i5 gives aprox 230k, my friends ryzen 1700 give 500-600k.
I run 10-11 threads and he run 30-35.

Wow, what is your i5 model? My i7 7770 get only 170k, but your i5 hashrate more than mine  Shocked

I heard that ryzen 1700 is cool, the hashrate is awesome.

I5 6600k clocked to 4,4 GHz. Paired with 32 GB 3200 MHz ram. Running Windows wallet and 11 threads.

My friends ryzen is overclocked as well, higher performance than stock 1800x but dont remember excact clock. Also with 32 GB 3200 MHz ram.

Thanks for your information. I didn't know that I am able to setgenerate more than CPU thread numbers. Just try out 12 at my i7 7770, get 240kh/s, but can't set more because 7770 had bad temperature design. Now at max 87c, although Intel said this CPU can take up to 100c, but I don't want to risk my working machine.

BTW, still no single block found after 1+ day. Poor luck, maybe I should pray hard during mining  Tongue
full member
Activity: 1176
Merit: 215
Jesus is the King of Kings and Lord of Lords
There are over 500 connections on my external node; that leads me to believe by 500 distinct users, thats where they are going.
Happy_merchant should be able to help answer, that would mean that the block explorer will show distinct keys for almost every block.

Well, about all I can say is that roughly half of all BBP in existence is being held in receiving addresses that hold 40k or less BBP. But, I'm sure a lot of the major holders haven't consolidated all their BBP under one address, so it's hard to say how many users that represents. The Biblepay node for the block explorer has capped out at 500 connections a couple times, although there's only 153 right now probably since the daemon crashed a few hours ago and had to be restarted.

Personally, I'm not seeing any major issues with the rewards on my miners. I started mining the day after Biblepay launched and I've gotten 42 blocks. So, a very rough estimate would be:

42 / (2671 - 267) = 0.0175 = 1.75%

The "- 267" is because every 10th block is automatically assigned to the orphan wallet. Since I actually missed out on a days worth of mining at the start, the percentage should actually be a little higher. I'm currently contributing a little bit over 2% of the network hashrate and that's pretty consistent with what I've been contributing at other points when I checked. Considering that I haven't had 100% uptime on my miners, mining 1.75% of the blocks seems pretty reasonable, and the sample size is large enough that it should be meaningful even if it's an estimate.

If there is a problem somewhere, it'll be obvious when the pool goes live. The pool will likely make up a huge percentage of the network hash and we'll be able to track every block it mines. That'll provide a very accurate source of statistical data.

Thanks for the good analysis!
full member
Activity: 1176
Merit: 215
Jesus is the King of Kings and Lord of Lords
I've come across wallets with built in pool mining that had a gui interface to start/stop and even included a default pool. Would it be possible once the pool mining is implemented to bring over that function?
Yeah, actually, we could put an auto-config menu option in the wallet to make it easier to set up the default pool.

Then we can put in a start/stop menu item also to make it easier to solo or pool mine without doing much work.

Thats a good idea, anything that adds value to the wallet could be good for our long term staying power.
full member
Activity: 1176
Merit: 215
Jesus is the King of Kings and Lord of Lords
[...] every 10th block is automatically assigned to the orphan wallet.
How does this work exactly? Miners do not get the reward even though they found the block? If that's the case, I share your opinion that it would be better to take 10% from every block, because of the reasons you explained earlier.

@bible_pay: Could you maybe explain the fact that only ~70% of blocks are found each day?
90% of the block rewards go to the miners.  We drop the difficulty to mine the tithe blocks by 80% (hardcoded in the wallet, in the dark-gravity-wave diff function), so they just fly by and no one really has to do much work.
full member
Activity: 462
Merit: 118
I have my old laptop (i5-460M) mining with around 50khash/s and just got my first block.
Took me about 24h. Seems I got lucky.

Yeah very lucky! My friend with 500k+ has mined for 2 days and got one block. Almost like hash dosent matter, but ppl with multiple computer also gets rare hit it seem. Pool will be awesome
member
Activity: 72
Merit: 10
I have my old laptop (i5-460M) mining with around 50khash/s and just got my first block.
Took me about 24h. Seems I got lucky.
full member
Activity: 462
Merit: 118
My i5 gives aprox 230k, my friends ryzen 1700 give 500-600k.
I run 10-11 threads and he run 30-35.

Wow, what is your i5 model? My i7 7770 get only 170k, but your i5 hashrate more than mine  Shocked

I heard that ryzen 1700 is cool, the hashrate is awesome.

I5 6600k clocked to 4,4 GHz. Paired with 32 GB 3200 MHz ram. Running Windows wallet and 11 threads.

My friends ryzen is overclocked as well, higher performance than stock 1800x but dont remember excact clock. Also with 32 GB 3200 MHz ram.
full member
Activity: 462
Merit: 103
@bible_pay: Could you maybe explain the fact that only ~70% of blocks are found each day?

26928 minutes / 2675 blocks = 10.0665 minutes/block

I haven't read through the source related to block time, but I believe that BBP is forked from Dash which is forked from Litecoin which is forked from Bitcoin. I don't know about Dash and Litecoin, but Bitcoin has a 10 minute block time, which is very close to what we're seeing. I wonder if the 7 minute block time rule is being ignored and it's just defaulting to this.
Litecoin and Dash have 2.5 minute block times, but still your numbers seem to be exactly right.

Looks like 10 minutes is the mean block time in Biblepay, that is, 144 blocks per day, which is exactly around what I've seen in the previous days.
full member
Activity: 200
Merit: 101
I've come across wallets with built in pool mining that had a gui interface to start/stop and even included a default pool. Would it be possible once the pool mining is implemented to bring over that function?
newbie
Activity: 27
Merit: 0
My i5 gives aprox 230k, my friends ryzen 1700 give 500-600k.
I run 10-11 threads and he run 30-35.

I do have a Ryzen 1700 too but I'm only getting 200k from it Sad. Do you know if your friend is using the windows wallet?
Jump to: