Bible Pay

Read 215966 times

  • MIP
  • Sr. Member

    • 365


    • 47
    • February 13, 2018, 11:55:52 AM
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #510 on: July 01, 2019, 04:22:50 PM »
I got the GSC reward after yesterday's exec sendgscc so that part went great.

I will be around for a while for more tests


  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #511 on: July 01, 2019, 04:29:48 PM »
I got the GSC reward after yesterday's exec sendgscc so that part went great.

I will be around for a while for more tests

OK, I see you in the leaderboard now; it says you have 558,360 owed.

Ok let me see what else we need to test.



  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #512 on: July 01, 2019, 04:31:03 PM »
OK, I see you in the leaderboard now; it says you have 558,360 owed.

Ok let me see what else we need to test.
Can you paste your exec health?  We should see no errors and 4 votes.

Also, please turn on your miner, are you mining successfully with > HPS than 100?

Lets try turning on ABN - I will set it to 1000 now.





  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #513 on: July 01, 2019, 04:38:46 PM »
I got the GSC reward after yesterday's exec sendgscc so that part went great.

I will be around for a while for more tests

So lets try sponsoring a child with cameroon.

MIP, can you please type 'sponsorchild' then add 'authorize' to it when you are ready to spend 50K to sponsor the child.
Then wait 6 confirms and type 'listchildren' and see if the child is listed.  If so, please paste the child hex ID, so we can simulate a sponsorship payment.  Also let me know how much you want to apply to the childs balance (via fake paypal or fake check #).  The first charge is always $40.00 US.

Note that we might want to do this on one of your nodes that isnt sending big POG gsc updates - IE please see if you can reverse engineer the reward for cameroon from the POG reward (or set up POG so you make a tiny donation).

Actually, now that I remember this, we can do the exec analyze on your nickname, and see the Cameroon One amount, so dont worry about reverse engineering or POG, as we should see a row for POGs reward and a row for Cameroons reward.

« Last Edit: July 01, 2019, 04:40:24 PM by Rob Andrews »


  • MIP
  • Sr. Member

    • 365


    • 47
    • February 13, 2018, 11:55:52 AM
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #514 on: July 01, 2019, 04:46:10 PM »
Can you paste your exec health?  We should see no errors and 4 votes.

Also, please turn on your miner, are you mining successfully with > HPS than 100?

Lets try turning on ABN - I will set it to 1000 now.


23:45:19

exec health


23:45:21

{
  "Command": "health",
  "pam_hash": "000000000000000000000000000000004fa0d3cb92b2b914227690996590c9c8",
  "pam_hash_internal": "000000000000000000000000000000004fa0d3cb92b2b914227690996590c9c8",
  "govobjhash": "adac147312f3fe4f2284f2a9ded1237096162cff8a594b616e016cce2f7e65ba",
  "Amounts": "149585.00|455377.00",
  "Addresses": "yUNSEjjtC9pdeHp4spswdFWh1npfV5Jvqe|yfqGyVvuyidYytq5o2QvN1VdVeXtH9Lrkt",
  "votes": 4,
  "required_votes": 3,
  "last_superblock": 124865,
  "next_superblock": 125070,
  "next_superblock_triggered": true,
  "Healthy": true,
  "GSC_Voted_In": true
}


23:45:12

getmininginfo


23:45:12

{
  "blocks": 124966,
  "currentblocksize": 15260,
  "currentblocktx": 5,
  "difficulty": 0.174020205303215,
  "errors": "",
  "pooledtx": 4,
  "chain": "test",
  "genproclimit": 1,
  "networkhashps": 343.5861770010965,
  "hashps": 339.6838113307749,
  "minerstarttime": "07-01-2019 21:18:39",
  "hashcounter": 299345,
  "pooledtx": 4,
  "chain": "test",
  "biblepay-generate": true,
  "poolinfo1": "",
  "poolinfo2": "",
  "poolinfo3": "",
  "abninfo": "[1000 ABN OK] Amount=7671.00, Weight=7365.08; ",
  "gsc_errors": "",
  "poolmining": false,
  "pool_url": "",
  "required_abn_weight": 1000
}


  • MIP
  • Sr. Member

    • 365


    • 47
    • February 13, 2018, 11:55:52 AM
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #515 on: July 01, 2019, 04:49:00 PM »
So lets try sponsoring a child with cameroon.

MIP, can you please type 'sponsorchild' then add 'authorize' to it when you are ready to spend 50K to sponsor the child.
Then wait 6 confirms and type 'listchildren' and see if the child is listed.  If so, please paste the child hex ID, so we can simulate a sponsorship payment.  Also let me know how much you want to apply to the childs balance (via fake paypal or fake check #).  The first charge is always $40.00 US.

Note that we might want to do this on one of your nodes that isnt sending big POG gsc updates - IE please see if you can reverse engineer the reward for cameroon from the POG reward (or set up POG so you make a tiny donation).

Actually, now that I remember this, we can do the exec analyze on your nickname, and see the Cameroon One amount, so dont worry about reverse engineering or POG, as we should see a row for POGs reward and a row for Cameroons reward.


23:46:52

sponsorchild authorize


23:46:52

{
  "Results": true,
  "Notes 0": "Thank you for sponsoring a child through Cameroon One. ",
  "Notes 1": "Your new child ID is: abaad3ec",
  "Notes 2": "NOTE: You will not receive rewards for this child until Cameroon One posts a credit to your account for this child.  ",
  "Notes 3": "It can take 7-14 days to provision a new child, receive and post your payment, so please, be patient. ",
  "Notes 4": "To check the status of your child, type 'listchildren' into the RPC.",
  "Notes 5": "Option 1:  Please mail a check for $40.00 (this is a tax deductible donation) to:",
  "Notes 6": "Cameroon One A/R",
  "Notes 7": "28 Hawthorne St Unit 1",
  "Notes 8": "Boston, MA 02119 USA",
  "Notes 9": "!NOTE! You must write Child ID #abaad3ec on your check.",
  "Notes 10": "Option 2: [Preferred] For the most efficient/fastest credit use PayPal (accepting Credit Cards and international payments):",
  "Notes 11": "PayPal: Send money to https://PayPal.Me/CameroonONE ",
  "Notes 12": "NOTE: Please paste the BiblePay hex child ID #abaad3ec in the Paypal NOTES textbox before submitting the payment.",
  "Notes 13": "Option 3:  GlobalGiving Match:",
  "Notes 14": "To use Global Giving, see this page https://www.globalgiving.org/recurring-donations-matched/ and set up a recurring donation, then notify Anna with CameroonONE <[email protected]> with your ChildID and verify the recurring donation is set up.",
  "Notes 15": ""
}


  • MIP
  • Sr. Member

    • 365


    • 47
    • February 13, 2018, 11:55:52 AM
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #516 on: July 01, 2019, 05:10:42 PM »
Now I think I don't have enough ABN weight so I'm not mining and no blocks are being mined.


00:09:27

exec getabnweight


00:09:27

{
  "Command": "getabnweight",
  "version": 1.2,
  "weight": 26756016.61004648,
  "total_required": 17733092
}


  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #517 on: July 01, 2019, 08:49:43 PM »
Now I think I don't have enough ABN weight so I'm not mining and no blocks are being mined.


00:09:27

exec getabnweight


00:09:27

{
  "Command": "getabnweight",
  "version": 1.2,
  "weight": 26756016.61004648,
  "total_required": 17733092
}


Hmm, actually no one is mining right now due to some very strange error in the log.  Checking.




  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #518 on: July 02, 2019, 11:43:12 AM »

Hmm, actually no one is mining right now due to some very strange error in the log.  Checking.

Ok, the problem in testnet turned out to be a division error in our branch only.  It was not a Dash or Biblepay development error, its an error rooted in floating point math that is only exploited in a chain with very high Satoshi scale like us.


The new version will be out in an hour.




  • MIP
  • Sr. Member

    • 365


    • 47
    • February 13, 2018, 11:55:52 AM
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #519 on: July 02, 2019, 03:45:09 PM »
All linux & mac binaries are ready. I am back mining again.


  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #520 on: July 02, 2019, 04:37:32 PM »
BiblePay
1.4.5.5 - Mandatory upgrade for TestNet

- Require proto_version 70735 in testnet
- Remove log spam
- Dont allow people to tithe more than 500 inputs
- Fix bug in Deterministic Payment comparison (appears to be confined to coins with very high satoshi scales - like us)
- Make govobj ddos more unique (allows devs to debug govobj propagation issues)


  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #521 on: July 02, 2019, 07:18:53 PM »
BiblePay
1.4.5.5 - Mandatory upgrade for TestNet

- Require proto_version 70735 in testnet
- Remove log spam
- Dont allow people to tithe more than 500 inputs
- Fix bug in Deterministic Payment comparison (appears to be confined to coins with very high satoshi scales - like us)
- Make govobj ddos more unique (allows devs to debug govobj propagation issues)


Hey all - please don't upgrade yet - I see one more problem that needs addressed.

Im working on it.



  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #522 on: July 02, 2019, 08:54:18 PM »
BiblePay
1.4.5.6 - Mandatory Upgrade for TestNet

- Fix sanctuary split issue (Require ABN fees to be added into total block fees)


  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #523 on: July 03, 2019, 10:12:16 AM »
Does everyone agree with this hash:

10:11:38

getblockhash 124999


10:11:38

250787d6b1cf87b15f69bf3009eccc56017270b7142d7d4960b6a1281350a3b2


* Note that you may have to resync as we are now in pure dip3 mode.



  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #524 on: July 03, 2019, 11:37:32 AM »
All linux & mac binaries are ready. I am back mining again.

And on Cameroon-One, I forgot to mention, and its OK you have already sponsored a child (we will add a test to ensure this is in order for the next version), but please also do this MIP:

exec join cameroon-one

You must be a member of the campaign for the sancs to "see you" in the campaign.