Bible Pay

Read 168901 times

  • Rob Andrews
  • Administrator

    • 2617


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Me too  ;D That was easier than expected, haha!

Were not out of the woods yet, because DGW can take up to 4 blocks to recalibrate the diff.  Looks like the next block is 2400~ diff.
It will probably take the full hour to solve it + 1 + 2 etc.  I see part of the problem:  This exec podcdifficulty command's scale is *10, so our diff is really 2400, not 24000.  Whew. Good to know.

Ill fix this, plus the crash when you do a diff+1, plus the getmininginfo diff should be visible, but these are all cosmetic things they can wait until windows 1101 is released (should be within an hour).  Ill release 1101 then we can start upgrading some prod nodes, and then add these 3 cosmetic changes in.

So, it might take us up to 3 more hours to solve blocks at a normal rate.


  • jaapgvk
  • Hero Member

    • 552


    • 31
    • September 01, 2017, 08:02:57 PM
    • Netherlands
    more

Ill fix this, plus the crash when you do a diff+1


I just tried to set 'setgenerate 10' (to help mining blocks faster), but the wallet crashed immediately (1.0.9.9). I tried it twice with the same result.



Code: [Select]
2018-03-05 22:44:51  Starting Thread #0.000000 with Bible #0.000000      2018-03-05 22:44:51 BibleMiner -- started thread 0.000000
2018-03-05 22:44:51  Starting Thread #1.000000 with Bible #0.000000      2018-03-05 22:44:51 BibleMiner -- started thread 1.000000
2018-03-05 22:44:51  ** Started 2.000000 BibleMiner threads. **
2018-03-05 22:45:03  Starting Thread #0.000000 with Bible #0.000000      2018-03-05 22:45:03 BibleMiner -- started thread 0.000000
2018-03-05 22:45:03  Starting Thread #1.000000 with Bible #0.000000      BibleMiner -- started thread 1.000000
2018-03-05 22:45:03
BiblepayMiner -- terminated
2018-03-05 22:45:03  Starting Thread #2.000000 with Bible #0.000000      BibleMiner -- started thread 2.000000
2018-03-05 22:45:03 keypool added key 3020, size=1001
2018-03-05 22:45:03 init message: Loading wallet... (301.70 %)
2018-03-05 22:45:03  Starting Thread #3.000000 with Bible #0.000000      2018-03-05 22:45:03 BibleMiner -- started thread 3.000000
2018-03-05 22:45:03  Starting Thread #4.000000 with Bible #0.000000      BibleMiner -- started thread 4.000000
2018-03-05 22:45:03  Starting Thread #5.000000 with Bible #0.000000      BibleMiner -- started thread 5.000000
2018-03-05 22:45:04  Starting Thread #6.000000 with Bible #0.000000      BibleMiner -- started thread 6.000000
2018-03-05 22:45:04
BiblepayMiner -- terminated
2018-03-05 22:45:04  Starting Thread #7.000000 with Bible #0.000000      2018-03-05 22:45:04 BibleMiner -- started thread 7.000000
2018-03-05 22:45:04  Starting Thread #8.000000 with Bible #0.000000      2018-03-05 22:45:04 BibleMiner -- started thread 8.000000
2018-03-05 22:45:04  Starting Thread #9.000000 with Bible #0.000000      BibleMiner -- started thread 9.000000
2018-03-05 22:45:04  ** Started 10.000000 BibleMiner threads. **
« Last Edit: March 05, 2018, 04:49:17 PM by jaapgvk »


  • orbis
  • Full Member

    • 207


    • 7
    • February 08, 2018, 04:37:14 PM
    more
Rob when will be WIN version available?
I want to go sleep :D I wake up in 5 hours :)
But I wanna try it ;)

EDIT: too late. Good night ;)
« Last Edit: March 05, 2018, 06:11:51 PM by orbis »


  • znffal
  • Full Member

    • 129


    • 7
    • October 02, 2017, 04:01:47 PM
    more
We found a block :)
33163 in prod now :)

Edit: Wow now we are moving! Block 33174
« Last Edit: March 05, 2018, 06:46:35 PM by znffal »


  • Rob Andrews
  • Administrator

    • 2617


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
I just tried to set 'setgenerate 10' (to help mining blocks faster), but the wallet crashed immediately (1.0.9.9). I tried it twice with the same result.


Code: [Select]
2018-03-05 22:44:51  Starting Thread #0.000000 with Bible #0.000000      2018-03-05 22:44:51 BibleMiner -- started thread 0.000000
2018-03-05 22:44:51  Starting Thread #1.000000 with Bible #0.000000      2018-03-05 22:44:51 BibleMiner -- started thread 1.000000
2018-03-05 22:44:51  ** Started 2.000000 BibleMiner threads. **
2018-03-05 22:45:03  Starting Thread #0.000000 with Bible #0.000000      2018-03-05 22:45:03 BibleMiner -- started thread 0.000000
2018-03-05 22:45:03  Starting Thread #1.000000 with Bible #0.000000      BibleMiner -- started thread 1.000000
2018-03-05 22:45:03
BiblepayMiner -- terminated
2018-03-05 22:45:03  Starting Thread #2.000000 with Bible #0.000000      BibleMiner -- started thread 2.000000
2018-03-05 22:45:03 keypool added key 3020, size=1001
2018-03-05 22:45:03 init message: Loading wallet... (301.70 %)
2018-03-05 22:45:03  Starting Thread #3.000000 with Bible #0.000000      2018-03-05 22:45:03 BibleMiner -- started thread 3.000000
2018-03-05 22:45:03  Starting Thread #4.000000 with Bible #0.000000      BibleMiner -- started thread 4.000000
2018-03-05 22:45:03  Starting Thread #5.000000 with Bible #0.000000      BibleMiner -- started thread 5.000000
2018-03-05 22:45:04  Starting Thread #6.000000 with Bible #0.000000      BibleMiner -- started thread 6.000000
2018-03-05 22:45:04
BiblepayMiner -- terminated
2018-03-05 22:45:04  Starting Thread #7.000000 with Bible #0.000000      2018-03-05 22:45:04 BibleMiner -- started thread 7.000000
2018-03-05 22:45:04  Starting Thread #8.000000 with Bible #0.000000      2018-03-05 22:45:04 BibleMiner -- started thread 8.000000
2018-03-05 22:45:04  Starting Thread #9.000000 with Bible #0.000000      BibleMiner -- started thread 9.000000
2018-03-05 22:45:04  ** Started 10.000000 BibleMiner threads. **

Hi Jaap,

I was able to reproduce this once.  It seems like if you let the wallet sit for a while on one thread, then go up to 5-10 threads it wont crash.  This might take me a few days to find the root cause (it might be that it cant sign the CPID also).  In the mean time lets either try waiting longer before raising it, or just running one thread.

Looks like some 1087 blocks are bleeding over to our chain, so we are basically a hybrid chain now.


1.1.0.1 is now out there for windows.




« Last Edit: March 06, 2018, 06:49:12 AM by Rob A. »


  • Rob Andrews
  • Administrator

    • 2617


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Had a possible error. In the console I typed

"getdifficulty"

And the wallet crashed.

Code: [Select]
[1]+  Segmentation fault      (core dumped) ./biblepay/src/qt/biblepay-qt

Great, yes I see the reason for this, fixing it now for 1102. 

This should only happen if the wallet is not synced yet or if you type 'exec podcdifficulty height' where height > bestblock_height.



  • jaapgvk
  • Hero Member

    • 552


    • 31
    • September 01, 2017, 08:02:57 PM
    • Netherlands
    more
Had a possible error. In the console I typed

"getdifficulty"

And the wallet crashed.

Code: [Select]
[1]+  Segmentation fault      (core dumped) ./biblepay/src/qt/biblepay-qt

Tried it, and it's the same here.

It was a synced wallet btw.

Well, I'm off to bed. It's 2 A.M. here... Hope we can sort it all out in the end.
« Last Edit: March 05, 2018, 07:02:36 PM by jaapgvk »


  • T-Mike
  • Sr. Member

    • 375


    • 2
    • February 06, 2018, 06:12:58 PM
    more
Is there a version we have to upgrade to tonight?


  • Rob Andrews
  • Administrator

    • 2617


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Is there a version we have to upgrade to tonight?
Let me check into this getdifficulty thing, if its not a showstopper and we get it fixed on the linux side, then maybe, as it sure would be nice to get a cross section of sancs upgraded then we can try the exec testvote in prod, hang on let me do some testing.


  • Rob Andrews
  • Administrator

    • 2617


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Let me check into this getdifficulty thing, if its not a showstopper and we get it fixed on the linux side, then maybe, as it sure would be nice to get a cross section of sancs upgraded then we can try the exec testvote in prod, hang on let me do some testing.

To get around getdifficulty, type either getmininginfo, or exec podcdifficulty height.

Fixing now - found it.



  • Rob Andrews
  • Administrator

    • 2617


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Hi Jaap,

I was able to reproduce this once.  It seems like if you let the wallet sit for a while on one thread, then go up to 5-10 threads it wont crash.  This might take me a few days to find the root cause (it might be that it cant sign the CPID also).  In the mean time lets either try waiting longer before raising it, or just running one thread.

Looks like some 1087 blocks are bleeding over to our chain, so we are basically a hybrid chain now.


1.1.0.1 is now out there for windows.

Ok, I believe this is fixed in 1102 and the getdifficulty is fixed.

Lets just wait a little longer to ensure prod has a quality product.

Let me start compiling 1102 and let us test on windows again, and we can release to prod tomorrow after we re-test.



« Last Edit: March 05, 2018, 09:47:47 PM by Rob A. »


  • Rob Andrews
  • Administrator

    • 2617


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
1.1.0.2 for Linux is out there.

Windows is still compiling.

- Show correct error in getmininginfo
- Prevent crash during miner start
- Prevent crash during getdifficulty
- Prevent crash during exec podcdifficulty



  • znffal
  • Full Member

    • 129


    • 7
    • October 02, 2017, 04:01:47 PM
    more
1.1.0.2 for Linux is out there.

Windows is still compiling.

- Show correct error in getmininginfo
- Prevent crash during miner start
- Prevent crash during getdifficulty
- Prevent crash during exec podcdifficulty

Tested on linux in prod.

No crashes! 


Nice one!


  • T-Mike
  • Sr. Member

    • 375


    • 2
    • February 06, 2018, 06:12:58 PM
    more
1.1.0.2 for Linux is out there.

Windows is still compiling.

- Show correct error in getmininginfo
- Prevent crash during miner start
- Prevent crash during getdifficulty
- Prevent crash during exec podcdifficulty

Is it also protocol version 70717?


  • Rob Andrews
  • Administrator

    • 2617


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Is it also protocol version 70717?

Yes, because its not really a mandatory, its technically a leisure.

This windows is still compiling, lets pick this up in the morning.