Bible Pay

Read 183093 times

  • sunk818
  • Developer

    • 521


    • 36
    • April 24, 2018, 02:02:20 PM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #120 on: November 12, 2019, 01:41:38 PM »
I can help with CameroonONE and Kairos integration. Not sure how I can help. More details is appreciated. I think I got WCG registered and working now. I'll check later and report if I'm still having issues.
BH6oxjLkyz3z8FYpvU3ZR7PTZ31Xt9DkXZ


  • Rob Andrews
  • Administrator

    • 4141


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #121 on: November 12, 2019, 01:52:53 PM »
I can help with CameroonONE and Kairos integration. Not sure how I can help. More details is appreciated. I think I got WCG registered and working now. I'll check later and report if I'm still having issues.

Yes, I will start giving many more details once the next release is checked in (in about an hour or so).
For now, you can definitely join cameroon with 'exec join cameroon-one', but please wait on kairos as the sporks are not finished.



  • Rob Andrews
  • Administrator

    • 4141


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #122 on: November 12, 2019, 02:06:42 PM »
Wau, I received my first wcg reward :)
So, it looks that I've made it all good :)
I have few questions :)

Thanks

Thats great Orbis!

Great questions btw.


1. Rob, what happens if my wallet will be closed during "next_podc_gsc_transmission"? Is it enough to send "sendgscc wcg" once per day?

-> So do remember, if you are unbanked (with RAC <= 250), the wallet does not need to run.  But for the banked, if you leave it off, and miss the PODC transmission, this would be a problem as you would fall out of the leaderboard for that day, and not get paid.  However, yes, you can just do the 'sendgscc wcg' once per day, and that will also keep you in (if you miss one). 

2. When the wallet is open, it's needed to have it unlocked?

->  Finally, in PODC 2.0, it does not need to be unlocked.  The funds for the GSC only come from the "Christian-Public-Key" now, which is now the external purse.  As a matter of fact, if you have 10 mil in your main wallet, and only 1000 bbp in your external purse, the GSC will fail - if you dont have enough coin age.  So we will need to ask people to fund their CPK address with enough coin-age.


3. Will setautounlockpassword and -headlesspassword works if it's needed?

->  I removed all of the places where we look at locking unlocking the wallet with the secure key.  So not anymore.  I suppose I need to remove those two commands also for sanitization/(and sanity).

4. When I send "sendgscc wcg" manually e.g. 10 blocks before "next_podc_gsc_transmission" and I forget to close wallet will the gsc tx run again?

->  Since the next_podc_gsc_transmission is at the midpoint of the contract, you can be off by up to 101 blocks in either direction, and your gsc would be "in" the leaderboard.  However if you open the wallet 1 block after the wcg height, and dont do the sendgscc, you would miss it because the wallet would not send it until the next wcg height.  We do have a key that lets you make those wallet sends more frequent; but then your coin-age would get used up faster etc - but - wcg does count cumulative coin-age, so that is a good option for some people who dont like to leave it running all the time.

5. What happens if my coinage in that second tx will be lower then expected, but in first tx it was enough?

->  This is OK.  We count the sum of the staked coin*age in the 205 block window, so, you would have enough over 2 transmissions.

6. It's possible to associate more wcg accounts into one wallet?

->  This is an interesting one.  So far, in 2.0, the rules are:  Each CPID is only counted once, and assigned to the most recent CPK->CPID association.  The exec rac command only displays data for One CPID (the first one it finds linked to your CPK).  However, there is no rule blocking you from associating your CPK with more than one CPID; however - its not been tested and Im not entirely sure if both CPIDs will be paid in the leaderboard.  This would be a good thing to test; if someone wants to raise up two cpids; then link two distinct CPIDs to one CPK, then wait and see what happens on our leaderboard.  If it works properly, I can potentially add code to allow iterating through them in 'exec rac'.  However note that exec rac does allow you type a cpid now (in the next version) and manually pull up the second rac, it just does not allow iteration automatically yet. <-- Either way this will be a good exercise to ensure there is no unintended behavior on the payment side so lets please test it.







  • Rob Andrews
  • Administrator

    • 4141


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #123 on: November 12, 2019, 02:27:32 PM »
And you know, on #6 in the prior post, I'm thinking its to our benefit not to support multiple CPIDs per CPK.
95% of our users are going to have one CPID and one CPK, and supporting more than one is giving them an easy way to attempt to circumvent our collateralization requirements, and adding complexity (it would mean I would not only need to iterate through CPIDs in every place, but also, where we send GSCs out for WCG, to gather the collateral requirements for each CPID) and that would be a nightmare - adding a huge amount of complexity for users who want it 'to just work' when they send their stake.

So I think I would like to take the stance:  Multiple CPIDs are not officially supported.    This keeps users from splitting CPIDs.

Im not concerned with the leaderboard, because I believe for the most part the 2nd-N CPID associated with one CPK will fail to be funded most of the time, as the collateral will not stake properly for it.



  • orbis
  • Full Member

    • 215


    • 7
    • February 08, 2018, 04:37:14 PM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #124 on: November 12, 2019, 04:05:13 PM »
Thanks for answers.
That question about more WCG accounts was just a curiosity.
I don't have more accounts, so I wouldn't be able even to test it. Thanks for clarification.


  • Rob Andrews
  • Administrator

    • 4141


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #125 on: November 12, 2019, 04:06:49 PM »
Thanks for answers.
That question about more WCG accounts was just a curiosity.
I don't have more accounts, so I wouldn't be able even to test it. Thanks for clarification.

Yeah, PODC 1.0 was able to do it, but for the above reasons we should probably become more 'iphone' like :).



  • Rob Andrews
  • Administrator

    • 4141


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #126 on: November 12, 2019, 04:07:12 PM »
BiblePay
1.4.7.1-Mandatory Upgrade for TestNet

- Add Dynamic Whale Staking, added 'exec dws' and 'exec dwsquote'
- Add Kairos POOM Integration
- Modify Cameroon-One to be a generic part of POOM, and modify POOM to be more generic, modified paycameroon to become exec paysponsorship
- Added 'exec rac cpid_or_nickname'

* Windows ready, MIP is building the rest *
« Last Edit: November 12, 2019, 04:09:24 PM by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 4141


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #127 on: November 12, 2019, 07:06:04 PM »
I can help with CameroonONE and Kairos integration. Not sure how I can help. More details is appreciated. I think I got WCG registered and working now. I'll check later and report if I'm still having issues.

To help with cameroon-one and Kairos, please sponsor a few random children with:
sponsorchild cameroon-one authorize
sponsorchild kairos authorize

Then paste me the childid's and Ill send a credit in through the testnet integration, and we can verify our payment amounts.




  • sunk818
  • Developer

    • 521


    • 36
    • April 24, 2018, 02:02:20 PM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #128 on: November 13, 2019, 12:20:51 AM »
To help with cameroon-one and Kairos, please sponsor a few random children with:
sponsorchild cameroon-one authorize
sponsorchild kairos authorize

Then paste me the childid's and Ill send a credit in through the testnet integration, and we can verify our payment amounts.


3d28e3d5 - cameroon-one
[/size]8fd8963b - kairos
BH6oxjLkyz3z8FYpvU3ZR7PTZ31Xt9DkXZ


  • capo
  • Newbie

    • 42


    • 2
    • March 11, 2018, 07:02:14 AM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #129 on: November 13, 2019, 01:08:01 AM »
"Notes 1": "Your new child ID is: 6d9e2b38",
"Notes 1": "Your new child ID is: ad7ec463",



08:06:50

exec dws 100000 2 1


08:06:51

{
  "Command": "dws",
  "Staking Amount": 100000,
  "Duration": 2,
  "Reclaim Date": "11-15-2019 07:06:50",
  "Return Address": "yi74isEFVicF8wkXHrC1jaoMRWuX2tkU1k",
  "ROI %": "98.1995",
  "Results": "Burn was successful.  You will receive your original BBP back on the Reclaim Date, plus the stake reward.  Please give the wallet an extra 24 hours after the reclaim date to process the return stake.  ",
  "TXID": "5ae00dfbffac0026649d00dcb777cb663e317b2876027847bb2c4afcc598aa32"
}


  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #130 on: November 13, 2019, 07:45:06 AM »
To help with cameroon-one and Kairos, please sponsor a few random children with:
sponsorchild cameroon-one authorize
sponsorchild kairos authorize

Then paste me the childid's and Ill send a credit in through the testnet integration, and we can verify our payment amounts.

Sorry I had to use command line as I could not copy and paste from the text from the X-window and could not get the paysponsorship to work in qt (works in command line though)

>exec paysponsorship cameroon-one 04b236ea 40 authorize
Code: [Select]

{
  "Command": "paysponsorship",
  "BBP/USD_Price": 0.0003067780730175,
  "txid": "232dd125f00f6e5246968d01fde98f1c35896f6a519e58a7be241bc5bbdbf433",
  "childid": "04b236ea",
  "BBPAmount": 130387.42,
  "USDAmount": 40
}

The authorization and payments seem to be correctly taken out of the wallet in testnet

Code: [Select]
{
    "account": "",
    "address": "yTrEKf8XQ7y7tychC2gWuGw1hsLqBybnEN",
    "category": "send",
    "amount": -50000.00000000,
    "vout": 1,
    "fee": -0.06125000,
    "confirmations": 0,
    "instantlock": false,
    "instantlock_internal": false,
    "chainlock": false,
    "Christian-Public-Key-Association": true,
    "trusted": true,
    "txid": "348a92b1c0c79ecb8f5b9f8ee9a34d054b9e4b00bd617d0937bb5d7e2969397f",
    "walletconflicts": [
    ],
    "time": 1573651212,
    "timereceived": 1573651212,
    "abandoned": false
  },
  {
    "account": "",
    "address": "yQE49VaaaF599dJgQzmFkHqjHp4xbQ2oAu",
    "category": "send",
    "amount": -130387.42000000,
    "vout": 1,
    "fee": -0.06422000,
    "confirmations": 0,
    "instantlock": false,
    "instantlock_internal": false,
    "chainlock": false,
    "trusted": false,
    "txid": "232dd125f00f6e5246968d01fde98f1c35896f6a519e58a7be241bc5bbdbf433",
    "walletconflicts": [
    ],
    "time": 1573651276,
    "timereceived": 1573651276,
    "abandoned": false
  }

I did this same for the two children (cameroon one) but do not yet see it updated

> cli listchildren
Code: [Select]
{
  "List Of": "POOM Children",
  "Charity": "cameroon-one",
  "Child ID": "04b236ea",
  "CPK": "yejTJcE9cSHMfC6H3ncbURt9MWPYc2kWPv",
  "Biography": "https://biblepay.cameroonone.org/bios/04b236ea.htm",
  "Balance": -999,
  "Notes": "This child is not provisioned yet.",
  "---------": "--------------------------------------------------",
  "Charity": "cameroon-one",
  "Child ID": "f89f5a15",
  "CPK": "yejTJcE9cSHMfC6H3ncbURt9MWPYc2kWPv",
  "Biography": "https://biblepay.cameroonone.org/bios/f89f5a15.htm",
  "Balance": -999,
  "Notes": "This child is not provisioned yet.",
  "---------": "--------------------------------------------------"
}

Ops - something screwed up here. confirmations= -3

Code: [Select]
  {
   {
    "account": "",
    "address": "yQE49VaaaF599dJgQzmFkHqjHp4xbQ2oAu",
    "category": "send",
    "amount": -130387.42000000,
    "vout": 1,
    "fee": -0.06422000,
    "confirmations": -3,
    "instantlock": false,
    "instantlock_internal": false,
    "chainlock": false,
    "trusted": false,
    "txid": "232dd125f00f6e5246968d01fde98f1c35896f6a519e58a7be241bc5bbdbf433",
    "walletconflicts": [
      "91bafd0f1fbea8e20f049a881604af161ec7980b338db6ca3f451c8ada2f228a",
      "ca0c14fe20735d0e73a469ce71e23d2ad89a8ad347a421eb61f3f2c24e07aca7",
      "04cd725198564fdd947095f17ffe09d751f55935ea189c695501176d121385e7"
    ],
    "time": 1573651276,
    "timereceived": 1573651276,
    "abandoned": false
  },

Anyway, please apply the following amounts to the children:
cameroon one
04b236ea  = $20 (underpayment)
f89f5a15    = $40 (correct payment)
kairos
d6ac6919   = $25 (correct payment)
8e697449   = $10 (underpayment)
5cf71b44    = $50 (overpayment)

Thank you.






  • sunk818
  • Developer

    • 521


    • 36
    • April 24, 2018, 02:02:20 PM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #131 on: November 13, 2019, 09:09:28 AM »
please send me funds yUKkAGGyGxBzR2SQBvzqpB7FNDkwZcteES
BH6oxjLkyz3z8FYpvU3ZR7PTZ31Xt9DkXZ


  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #132 on: November 13, 2019, 10:45:35 AM »
please send me funds yUKkAGGyGxBzR2SQBvzqpB7FNDkwZcteES

sent.


  • Rob Andrews
  • Administrator

    • 4141


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

3d28e3d5 - cameroon-one
[/size]8fd8963b - kairos

I credited these in TestNet with payments for each; please see if the balances are now negative.
Then please do the 'sendgscc kairos' and sendgscc cameroon-one, and lets see if we get paid.

NOTE: Since Kairos is a $25 child compared to CAMEROON-ONE which is a $40 child please verify the renumeration amount is correct.





  • Rob Andrews
  • Administrator

    • 4141


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #134 on: November 13, 2019, 02:38:01 PM »
"Notes 1": "Your new child ID is: 6d9e2b38",
"Notes 1": "Your new child ID is: ad7ec463",



08:06:50

exec dws 100000 2 1


08:06:51

{
Code: [Select]
  "Command": "dws",
  "Staking Amount": 100000,
  "Duration": 2,
  "Reclaim Date": "11-15-2019 07:06:50",
  "Return Address": "yi74isEFVicF8wkXHrC1jaoMRWuX2tkU1k",
  "ROI %": "98.1995",
  "Results": "Burn was successful.  You will receive your original BBP back on the Reclaim Date, plus the stake reward.  Please give the wallet an extra 24 hours after the reclaim date to process the return stake.  ",
  "TXID": "5ae00dfbffac0026649d00dcb777cb663e317b2876027847bb2c4afcc598aa32"
}

Sweet.

I credited these two children, so please do the listchildren now and confirm you have credit balances, then you can also do the 'sendgscc kairos' and 'sendgscc cameroon-one' and see if we get paid?

10-4 on the burn, lets see if we get our whale steak back.