Bible Pay

Read 215957 times

  • 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 #150 on: April 05, 2019, 03:32:14 PM »
Ready for MacOS

Regarding Ubuntu PPAs, I still have to figure out how to compile Chia-BLS and Relic into PPAs themselves, then add them as an internal dependency... not an easy task at the moment, will report any progress.

Thanks!  If you have a link for me to put on the OP post I will.


  • 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 #151 on: April 05, 2019, 09:45:04 PM »
So far, its purring like a kitten...

It looks like we smashed the bug.



  • oncoapop
  • Full Member

    • 171


    • 17
    • October 23, 2018, 12:31:17 PM
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #152 on: April 06, 2019, 12:02:24 AM »
Good job so far. I have a question:

1/3 sancs that I have reports a different health output:

 "votes": 1,
  "required_votes": 3,
  "last_superblock": 14985,
  "next_superblock": 15190,
  "next_superblock_triggered": true,
  "Healthy": true,
  "GSC_Voted_In": false
mastenode outputs
{
  "626a61b0dfa151374bb42f1c432853efacb1742292318f9389c121f51b3310e4": "1"
}

-------------------------
2/3 report this:
  "votes": 5,
  "required_votes": 3,
  "last_superblock": 14985,
  "next_superblock": 15190,
  "next_superblock_triggered": true,
  "Healthy": true,
  "GSC_Voted_In": true

Is that normal behaviour?


  • 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 #153 on: April 06, 2019, 06:48:18 AM »
Good job so far. I have a question:

1/3 sancs that I have reports a different health output:
Code: [Select]
"votes": 1,
  "required_votes": 3,
  "last_superblock": 14985,
  "next_superblock": 15190,
  "next_superblock_triggered": true,
  "Healthy": true,
  "GSC_Voted_In": [b]false[/b]
mastenode outputs
{
  "626a61b0dfa151374bb42f1c432853efacb1742292318f9389c121f51b3310e4": "1"
}

-------------------------
2/3 report this:
  "votes": 5,
  "required_votes": 3,
  "last_superblock": 14985,
  "next_superblock": 15190,
  "next_superblock_triggered": true,
  "Healthy": true,
  "GSC_Voted_In": true
Is that normal behaviour?



Thanks for the testing, so let me explain a little more about health, this is a relatively long explanation :) but Ill try to make it succinct.

So the fact that we see "1" positive vote on your first node, the answer from a high level is, Its "probably OK", but we should do a little more investigation to try to find out whats going on.

On a side note, the underlying goverance-obj hash, that is the native Dash hash for the object, but the PAM hash is the hash of the payments and addresses in the GSC contract. 

The node will be able to recover by the time the superblock hits using various methods, it will attempt to sync (mnsync status, govobjs) first, then it will attempt to unpack the gsc contract manually (this is since it actually runs the same code as the server side), and finally before it fails it will still follow normal superblock rules (IE mark the block as good if its a node thats out of sync), but its still worth going a little further with this one, to see if we have any gov-obj data sync errors.

So lets try to isolate the missing govobj hash.
If you run 'exec health' you will see the height is 15805 (for the next superblock).
Then go to a healthy node and type 'gobject listwild all triggers 15805' and you should see one or more contract triggers (preferably one).
Then copy the governance-object hash (this is the very first hash on the page) to notepad.
Then cat.debug.log | grep hash  in your node that only has one vote.  And see if an error occurred in syncing that hash (it might say something like Exception: failed to sync governance-object nnnnnn) but not exactly this wording.

If we can find that exception, then I can track down why that node did not fully sync.  Also let us know if it recovered.
And also if 'mnsync status' shows that the node is out of sync (IE the row that reads 'IsSynced').  If that failed, the node didn't get all of its gobjects.

Another possibility is being on testnet, we have 4 enabled sancs, and 4 down, it could be that node is still trying to iterate through to the enabled nodes.

I think during testing if we are still having gobject sync problems they will most likely reveal themselves as a lot of data will be passing back and forth.

Right now all 4 of mine are in sync, with exec health true and 4 votes, but I will check my logs to see if any sync errors have been flying around through the night.

(I know we need to shorten the delete duration of gobjects in the next release, this will cut some of this spam and chattiness down also).











  • 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 #154 on: April 06, 2019, 11:31:03 AM »
So I thought of another feature we could use in testnet: the ability to see total outbound tithes, outbound coin-age, and inbound-revenue over a superblock period.  And make exec prominence show your user information as a total (so you dont have to look through the list).

Any other requests in that vein?

This would theoretically show the user the summary that they need per day and reveal the ROI and totals that they used for the staking component.



  • 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 #155 on: April 06, 2019, 12:04:21 PM »
We still need help entering more proposals, please enter some.

Next superblock @ 17220.



  • 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 #156 on: April 06, 2019, 05:08:10 PM »
We still need help entering more proposals, please enter some.

Next superblock @ 17220.

Still no proposals, I've entered about 5, could use more.  Also, I need help voting on these!  Please go to proposals in the QT wallet and vote on them also, thanks.


  • vuli
  • Newbie

    • 31


    • 1
    • June 02, 2018, 02:28:10 PM
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #157 on: April 07, 2019, 11:33:06 AM »
When or how Sanctuarie gets Enabled? I made it few days ago, but still I hopw to start is every couple of hours and then it recive PRE Enabled status.


  • 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 #158 on: April 07, 2019, 12:10:17 PM »
When or how Sanctuarie gets Enabled? I made it few days ago, but still I hopw to start is every couple of hours and then it recive PRE Enabled status.

From what I started seeing a couple days ago, I think everything has been purring like a kitten now (knock on wood, praise Jesus).

I honestly believe that you are potentially having a problem related to being on a prior versions fork.
Because ever since I reindexed at block 10,500 I have not had one single problem with my 3 sancs (IE they went to enabled and never died again), I dont have to restart them.

Could you please try deleting your mncache.dat, banlist.dat, mnp*.* and gov*.dat, and resyncing from 0, (delete evodb -r and chainstate and blocks), then after the 'mnsync status' shows 999, then do a start on the sanc, and let me know if it ever goes from ENABLED back to anything else (as I highly do want to know feedback in this area, because we are replacing watchman-on-the-wall and I feel we can add value to the blockchain by having our own brand in this area, this way we can be valuable).

Thanks...



  • 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 #159 on: April 07, 2019, 12:12:31 PM »
Just to give an update on watchman @ 16625, this is the last superblock, we were successful:
gobject listwild all triggers 16625
Everything was paid properly, and Im extemrely happy about that.

I see you guys have started entering new proposals also, thanks.  We will test those on the next superblock.

Congrats!



  • 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 #160 on: April 07, 2019, 12:13:25 PM »
When or how Sanctuarie gets Enabled? I made it few days ago, but still I hopw to start is every couple of hours and then it recive PRE Enabled status.

I forgot to ask, is your sanc on a cloud hosted provider with public IP?  It will also fail if its not on a public IP.



  • vuli
  • Newbie

    • 31


    • 1
    • June 02, 2018, 02:28:10 PM
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #161 on: April 07, 2019, 01:03:13 PM »
ok, will try to re-sync.
no could, it's on privat sever. I have been running couple of masternodes in the past.


  • 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 #162 on: April 07, 2019, 01:23:10 PM »
ok, will try to re-sync.
no could, it's on privat sever. I have been running couple of masternodes in the past.
After you resync could you please give your ip?  Ill try to connect to you from here.
EDIT:  Also, you may need to set this in your config if you run from home:
externalip=my_ipv4_address:40001

Thats the testnet port.




  • vuli
  • Newbie

    • 31


    • 1
    • June 02, 2018, 02:28:10 PM
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #163 on: April 07, 2019, 02:34:33 PM »
aha, I didnt have this externalip=my_ipv4_address:40001
and I enter different port 19999. its (213.250.22.35)


  • jaapgvk
  • Hero Member

    • 558


    • 31
    • September 01, 2017, 08:02:57 PM
    • Netherlands
    more
Re: TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)
« Reply #164 on: April 07, 2019, 02:40:54 PM »
Hi guys,

If I find some spare time in the coming week, I will read through all the documentation and fire up a testnet rig  :)