Bible Pay

Read 109455 times

  • sunk818
  • Global Moderator

    • 521


    • 36
    • April 24, 2018, 02:02:20 PM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #285 on: November 29, 2019, 08:33:39 PM »
I've been following BiblePay for the last 18 months, but if I'm having a difficulty time getting this work... this does not bode well for new members. Maybe I'm just dumb... Usability is critical, but adding complexity has only made the product more difficult to use.


I DMed you my exec rac output.
BH6oxjLkyz3z8FYpvU3ZR7PTZ31Xt9DkXZ


  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #286 on: November 29, 2019, 08:38:42 PM »
I've been following BiblePay for the last 18 months, but if I'm having a difficulty time getting this work... this does not bode well for new members. Maybe I'm just dumb... Usability is critical, but adding complexity has only made the product more difficult to use.


I DMed you my exec rac output.

Obviously PODC 2.0 is supposed to be easier to set up than PODC, so I'm not sure how you can come to that conclusion. 

But a non-working PODC transmission does not equal hard-to-use software. 





  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #287 on: November 29, 2019, 08:57:45 PM »
I've been following BiblePay for the last 18 months, but if I'm having a difficulty time getting this work... this does not bode well for new members. Maybe I'm just dumb... Usability is critical, but adding complexity has only made the product more difficult to use.


I DMed you my exec rac output.
So it looks like you only staked 65 total coin age two days ago (not enough to meet the minimums), then 6 coin age today.

The problem appears to be in your total external purse balance.
(The exec rac for example, shows a 0 total coin age - that is part of the issue).

But more specifically, in this version of BBP, you must load your external purse with funds in order to have enough coin-age built up to send PODC transmissions.

Check your 'CPK' address, and see what total bbp you have in there?

EDIT:  Btw, in the next upcoming version we did add a warning message- when a user manually sends a GSC for WCG, and the wallet detects not enough coin-age, it does throw a WARNING:  Explaining that the rewards were reduced for PODC.


« Last Edit: November 29, 2019, 09:10:05 PM by Rob Andrews »


  • sunk818
  • Global Moderator

    • 521


    • 36
    • April 24, 2018, 02:02:20 PM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #288 on: November 29, 2019, 09:28:44 PM »
If you feel it is easy enough to use, then it must be me. I'll sit out testing as I personally feel all these steps are too hard for me to understand and follow.  :D
BH6oxjLkyz3z8FYpvU3ZR7PTZ31Xt9DkXZ


  • sunk818
  • Global Moderator

    • 521


    • 36
    • April 24, 2018, 02:02:20 PM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #289 on: November 30, 2019, 07:41:22 AM »
If you feel it is easy enough to use, then it must be me. I'll sit out testing as I personally feel all these steps are too hard for me to understand and follow.  :D


It might have been setting my wallet to be a privatesend liquidity provider and all the CPK keep going elsewhere.
BH6oxjLkyz3z8FYpvU3ZR7PTZ31Xt9DkXZ


  • sunk818
  • Global Moderator

    • 521


    • 36
    • April 24, 2018, 02:02:20 PM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #290 on: November 30, 2019, 07:44:04 AM »

It might have been setting my wallet to be a privatesend liquidity provider and all the CPK keep going elsewhere.


My biblepay.conf kept saving as Mac format after the externalprivatekey got inserted by the biblepay code. saving it back as windows (crlf) seems to triggered a gsc tramission for cameroon-one, kairos, and wcg as soon as I opened the wallet again.
BH6oxjLkyz3z8FYpvU3ZR7PTZ31Xt9DkXZ


  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #291 on: November 30, 2019, 08:20:57 AM »

My biblepay.conf kept saving as Mac format after the externalprivatekey got inserted by the biblepay code. saving it back as windows (crlf) seems to triggered a gsc tramission for cameroon-one, kairos, and wcg as soon as I opened the wallet again.

I don't think there is a Mac format; we have linux and windows file formats; To my knowledge MAC has migrated to the linux format; MIP has confirmed this is working.

Please work with MIP on this.  He's staking collateral successfully.

Edit:  Obviously the purse must be working because you sent out collateral before.  Can you please paste the output of 'exec boinc1'?  This tests the purse.  I think you are reading too much into the purse, and making an assumption.  Don't spend any time on the assumption, just paste exec boinc1 and we will go from there.  Macs file writing format works fine.

Btw, we no longer trigger sendgsc when the wallet opens.  Its only sent at the height shown in 'exec rac'.
« Last Edit: November 30, 2019, 08:38:18 AM by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #292 on: November 30, 2019, 08:52:23 AM »

It might have been setting my wallet to be a privatesend liquidity provider and all the CPK keep going elsewhere.

In PODC 2.0, it is the users responsibility to maintain sufficient staking collateral inside the "Christian-Public-Key" address. 

So here is the easiest way to check that:

- Check and see if you are in the leaderboard 5 blocks after you send a WCG GSC
- If not, check your CPK balance.  It should have about 10 bills in it (to ensure small breakable bills exist for Cameroon one and Kairos), and it should have sufficient balance of coin-age (shown in exec rac).

I will now add more warnings to 'exec rac' to make this a little more apparent.

1) You can see your balance in Coin Control (associated with Christian Public Key), and you can see the external purse balance in 'exec rac'
2) You can make banknotes with 'exec bankroll'.  These now get paid back to the CPK, so these are PODC 2.0 friendly.
3) You can see if you are in the leaderboard a few blocks after a GSC is sent.  If not, something is wrong.

In the next version, as I stated earlier, the 'sendgscc wcg' does throw a warning if the user didnt have enough coin-age.







  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #293 on: November 30, 2019, 08:57:39 AM »
Code: [Select]
{
  "Command": "rac",
  "cpid": "xxx",
  "CPK": "xxx",
  "wcg_teamid": 30513,
  "next_podc_gsc_transmission": 19167,
  "team_name": "Gridcoin",
  "researcher_nickname": "xxx",
  "researcher_country": "CANADA",
  "total_wcg_boinc_credit": 509461.35,
  "total_wcg_points": 3566229.45,
  "external_purse_total_coin_age": 6501.996296296297,
  "coin_age_percent_required": 0.99,
  "NOTE!": "Coins must have a maturity of at least 5 confirms for your coin*age to count.  (See current depth in coin control).",
  "coin_age_required": 1116115.243997492,
  "wcg_id": xxx,
  "rac": 6023.073319
}

{
  "Command": "rac",
  "cpid": "xxx",
  "CPK": "xxx",
  "wcg_teamid": 35006,
  "next_podc_gsc_transmission": 19167,
  "team_name": "Biblepay",
  "researcher_nickname": "xxx",
  "researcher_country": "CANADA",
  "total_wcg_boinc_credit": 4457712.47,
  "total_wcg_points": 31203987.29,
  "external_purse_total_coin_age": 5410402.656666667,
  "coin_age_percent_required": 0.03766507675813258,
  "coin_age_required": 149679.2047890878,
  "wcg_id": xxx,
  "rac": 9569.592315
}

TEAM           RAC       COINAGE REQD     RATIO
GRIDCOIN   6,023     1,116,115               19.2x
BIBLEPAY    9,569         149,679               15.6x


  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #294 on: November 30, 2019, 09:02:06 AM »
Code: [Select]
{
  "Command": "rac",
  "cpid": "xxx",
  "CPK": "xxx",
  "wcg_teamid": 30513,
  "next_podc_gsc_transmission": 19167,
  "team_name": "Gridcoin",
  "researcher_nickname": "xxx",
  "researcher_country": "CANADA",
  "total_wcg_boinc_credit": 509461.35,
  "total_wcg_points": 3566229.45,
  "external_purse_total_coin_age": 6501.996296296297,
  "coin_age_percent_required": 0.99,
  "NOTE!": "Coins must have a maturity of at least 5 confirms for your coin*age to count.  (See current depth in coin control).",
  "coin_age_required": 1116115.243997492,
  "wcg_id": xxx,
  "rac": 6023.073319
}

{
  "Command": "rac",
  "cpid": "xxx",
  "CPK": "xxx",
  "wcg_teamid": 35006,
  "next_podc_gsc_transmission": 19167,
  "team_name": "Biblepay",
  "researcher_nickname": "xxx",
  "researcher_country": "CANADA",
  "total_wcg_boinc_credit": 4457712.47,
  "total_wcg_points": 31203987.29,
  "external_purse_total_coin_age": 5410402.656666667,
  "coin_age_percent_required": 0.03766507675813258,
  "coin_age_required": 149679.2047890878,
  "wcg_id": xxx,
  "rac": 9569.592315
}

TEAM           RAC       COINAGE REQD     RATIO
GRIDCOIN   6,023     1,116,115               19.2x
BIBLEPAY    9,569         149,679               15.6x

sorry I sent the post prematurely. The CORRECT ratios are as follows:

TEAM           RAC       COINAGE REQD     RATIO
GRIDCOIN   6,023     1,116,115               185.3x
BIBLEPAY    9,569         149,679                15.6x


  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #295 on: November 30, 2019, 09:03:59 AM »
sorry I sent the post prematurely. The CORRECT ratios are as follows:

TEAM           RAC       COINAGE REQD     RATIO
GRIDCOIN   6,023     1,116,115               185.3x
BIBLEPAY    9,569         149,679                15.6x

Very impressive!

Yes this looks like it matches what we would expect too!

Could you please keep us informed to tell us how well the Gridcoin CPID works out?  IE that its RAC gets reduced today but you still enter the leaderboard and then if you ultimately get paid?

Thanks!

EDIT:  Also, when you reboot your sancs on the new version, could you please tell me if they sync right up to the top block?

Let me post a hash:

getblockhash 19180
a1685482d58ba28526808dabe32b0794b8e5f72644b690bb35ff76bc6a48616b



  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #296 on: November 30, 2019, 09:14:40 AM »
And just so everyone knows that progress is not stalling in testnet, the only two or three changes for the next version are cosmetic helpful hints-  so we are in no hurry to make another release (until we either find a bug or merge something else in).  In testing my unbanked CPID, it does have a minor bug - but that can also wait until the next release.

However one very, very important endeavor I wanted to mention that we need to schedule very soon is testing this 0.14 TestNet branch against prod.  I realize we did mine against prod a long time ago, and that worked until we found we forked after a GSC block.  On that endeavor, heres what we need to do:  Since this branch will only communicate with deterministic and higher version sancs, we need to actually release a patch for MainNet, and one of our guinea pigs (IE : ME), will upgrade 10 sancs to that version.  Then we will circle back and test TestNet against prod and verify we mine again and do not fork through the GSC block.  We'll do that very very soon, but please wait until I give the OK that the code is released in mainnet, etc.





  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #297 on: November 30, 2019, 09:42:15 AM »
Very impressive!

Yes this looks like it matches what we would expect too!

Could you please keep us informed to tell us how well the Gridcoin CPID works out?  IE that its RAC gets reduced today but you still enter the leaderboard and then if you ultimately get paid?

Thanks!

EDIT:  Also, when you reboot your sancs on the new version, could you please tell me if they sync right up to the top block?

Let me post a hash:

getblockhash 19180
a1685482d58ba28526808dabe32b0794b8e5f72644b690bb35ff76bc6a48616b

Sorry, I had trouble with the re-syncing of two of those sancs following the recent upgrade. I had to delete the whole biblepay-evolution folder suggesting that there was some issue with the compilation which allowed me to start the wallet but somehow failed to sync after days... I have now just used the pre-compiled binaries and it is working fine as all of my testnet servers are at the top of the chain and can confirm your hash.

>cli getblockhash 19180
a1685482d58ba28526808dabe32b0794b8e5f72644b690bb35ff76bc6a48616b

Since one of those wallets that would not sync was my controlling wallet, I could not perform an update_service to the POSE_BANNED sancs which I have now done and as far as I can see all 7 sancs on testnet are ENABLED.

>list status
{
  "a46074dac98333269341fee5b712f795fdeaa615b276fee12175e1c537ce8a43-1": "ENABLED",
  "efbe80743321967f9d94b124b6670e3d87492e711f34acbe6fdada608007e055-0": "ENABLED",
  "24ba631e105c9f1d1923fe32d9c534e51556cddb15f625a5c42d5c902c868583-1": "ENABLED",
  "7570652f63502f29b610c4bf134f3d1d589c970c383b20a88545cd683c802130-1": "ENABLED",
  "7c30c4cf73a81ce8ebb90b3cd6bcda3c279d86fb044605b3f95f75a1657cd19e-1": "ENABLED",
  "c49f6f1e8fc8829b048abc37e790f4d6fc6364e05b9c433b77838ba575c15477-0": "ENABLED",
  "05a42edd711c8225b6febc0a422a0c8308dbd700d5ebd3b8af00571c7c5870d3-1": "ENABLED"
}

Finally, the Gridcoin RAC has been accumulating similarly to Biblepay RAC since the start of testnet PODCv2. I just noticed the higher coinage requirement and lower points on the leaderboard with the recent spork to add a higher requirement to gridcoin team members.

 







  • sunk818
  • Global Moderator

    • 521


    • 36
    • April 24, 2018, 02:02:20 PM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #298 on: November 30, 2019, 09:42:36 AM »



07:40:41

exec boinc1




07:40:41

{
  "Command": "boinc1",
  "purse amount matched": 599938.99127,
  "purse total": 645074.51811888,
  "txid": "b52b5a341e644a68823e3076b68b918325e11a9cb0e7ae3dfa795bef8a676e5a"
}

BH6oxjLkyz3z8FYpvU3ZR7PTZ31Xt9DkXZ


  • sunk818
  • Global Moderator

    • 521


    • 36
    • April 24, 2018, 02:02:20 PM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #299 on: November 30, 2019, 09:47:51 AM »
I don't think there is a Mac format; we have linux and windows file formats; To my knowledge MAC has migrated to the linux format; MIP has confirmed this is working.

Please work with MIP on this.  He's staking collateral successfully.

Edit:  Obviously the purse must be working because you sent out collateral before.  Can you please paste the output of 'exec boinc1'?  This tests the purse.  I think you are reading too much into the purse, and making an assumption.  Don't spend any time on the assumption, just paste exec boinc1 and we will go from there.  Macs file writing format works fine.

Btw, we no longer trigger sendgsc when the wallet opens.  Its only sent at the height shown in 'exec rac'.


biblepay.conf is in Mac format according to Notepad++. This is on my Windows 10 64-bit Home edition.


I can send you the file after I do exec createpurse.


the line ending is 0d0d0a instead of 0d0a . I think I mentioned this in the github. I didn't mention it because it didn't seem relevant, but if wallet is not reading biblepay.conf that creates all sorts of Issues I noticed in the past.


BH6oxjLkyz3z8FYpvU3ZR7PTZ31Xt9DkXZ