Bible Pay

Read 338860 times

  • jaapgvk
  • Hero Member

    • 558


    • 31
    • September 01, 2017, 08:02:57 PM
    • Netherlands
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #570 on: December 20, 2017, 05:00:38 PM »
I looked up Rob's notes on the winning algorithm

"As far as "luck" of winning the spot, we are using an algorithm where the nodes rank is determined by how close its vin is to the blockhash its voting on, so its really luck."

"The winner is based on the delta between the masternode vin and the blockhash, so that makes the winner random, thats why they can repeat back to back."

What is the masternode VIN?

This kind of reminds me of the Price is Right LOL but going both ways up and down
I think some VINs could have really unlucky spots being sandwhiched between other VINs, does that make sense?



Yeah, I'd like to have more insight into the technicalities of this, and how random it really is. Although I must say that my payments seem to be spaced apart quite evenly, although less than expected.

Also, did any of you needed to restart your sanctuary after the last update (1.0.7.1)? I just updated my wallets and started my sanctuary and it just kept saying 'ONLINE'.


  • togoshigekata
  • Hero Member

    • 527


    • 31
    • September 01, 2017, 10:21:10 AM
    • USA
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #571 on: December 20, 2017, 05:21:26 PM »
I copied the masternode winners for block 21600 to 22032,

I then pasted it into excel and did Data >> Text to columns and split by Other colon ":"
then I deleted the extra columns (and I only used the first winner in the list)
then I used this excel command in 2nd column to get counts: =COUNTIF(A:A, A1)
then I copy pasted the counts by value to new column and deleted the previous count column
then I removed duplicates in 1st column

Code: [Select]
B4icq9xMoey9SUN14Zosu5eJyh53GpMuDE 4
 B547NvFM2TUeCKxEGcxCxpt8as42pyS4po 20
 B5Ac1kfZd47aogmrHKzQM1SR65f2HidfJJ 24
 B69kMjn6a8vRH5bmVEdahheKqCqHoJejoz 7
 B6dcexhthQYGEdQZMiMdLNaFyFAyJEYXYE 9
 B6W3399nVAFE9c9AmPBd7qeWLd1r9czz2u 8
 B75XgzyKekgRTJ5JzTgqsCqw482MeH2MW6 21
 B77a6qHMJKm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M1sEtg7ZiQyYn2ghDY6mN9 6
 BNkdFRRo2Cycyvc37tVaNW4FCiFDrR9QDV 9
 BPUJUqxGcqKuJsj7gHATX9BsPCyKJ2rN9w 6
 BPXpXpsVAMM2cyzkMsSQ8xVJetbLNX6tQz 8
 BQ4kjMzQUEcQdMMpvhDMNt2McfhxzKztRX 16
 BQfd2t6iEi49ugwU2LkQBhUS3F2AnsZWYY 15
 BQjqyH4QCUhuNmUKw8apELsPqbmEC5jpUV 6
 BQKWtsB8L6DxeWbWVQbm86qvpUot1DWSAb 6
 BQtrk6tacdZwhftqQTmbBwG84fm2o1YFGo 2
 BRUjgRr1nVL4rt8Kks3thFDdsQSLQBCj43 8
 BSrFn8zpC48AykVANWcjVEve5tzn8NQNRE 7
 BSv2sd6jRutxDsFef7tznJjaNLrdvq3nfS 5


The one thing I dont know, is I dont know how long each of these sanctuaries has been online, sanctuary that just started vs one that has been on the past 2 days, if we had that amount of time enabled data, then we could do the statistical analysis

For instance B8VyJEETEgaYirHeckJANQBd82AKfLkvfe is someone I just helped get setup on Slack a few hours ago and he got 1 payment so far
« Last Edit: December 20, 2017, 06:39:48 PM by togoshigekata »


  • tiras
  • Newbie

    • 44


    • 1
    • September 01, 2017, 02:00:09 PM
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #572 on: December 20, 2017, 07:51:45 PM »
I copied the masternode winners for block 21600 to 22032,

I then pasted it into excel and did Data >> Text to columns and split by Other colon ":"
then I deleted the extra columns (and I only used the first winner in the list)
then I used this excel command in 2nd column to get counts: =COUNTIF(A:A, A1)
then I copy pasted the counts by value to new column and deleted the previous count column
then I removed duplicates in 1st column

Code: [Select]
B4icq9xMoey9SUN14Zosu5eJyh53GpMuDE 4
 B547NvFM2TUeCKxEGcxCxpt8as42pyS4po 20
 B5Ac1kfZd47aogmrHKzQM1SR65f2HidfJJ 24
 B69kMjn6a8vRH5bmVEdahheKqCqHoJejoz 7
 B6dcex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A721F8ztVMs2vQcrp2pHWctSF 6
 BLWrBmujyTdv2qxwn8KDFpUFrTvH7AbmD1 13
 BN6iwaYKKeqVS3QC9MfCXpH1C7CdsEeQbt 1
 BNidV9kWAZECM1sEtg7ZiQyYn2ghDY6mN9 6
 BNkdFRRo2Cycyvc37tVaNW4FCiFDrR9QDV 9
 BPUJUqxGcqKuJsj7gHATX9BsPCyKJ2rN9w 6
 BPXpXpsVAMM2cyzkMsSQ8xVJetbLNX6tQz 8
 BQ4kjMzQUEcQdMMpvhDMNt2McfhxzKztRX 16
 BQfd2t6iEi49ugwU2LkQBhUS3F2AnsZWYY 15
 BQjqyH4QCUhuNmUKw8apELsPqbmEC5jpUV 6
 BQKWtsB8L6DxeWbWVQbm86qvpUot1DWSAb 6
 BQtrk6tacdZwhftqQTmbBwG84fm2o1YFGo 2
 BRUjgRr1nVL4rt8Kks3thFDdsQSLQBCj43 8
 BSrFn8zpC48AykVANWcjVEve5tzn8NQNRE 7
 BSv2sd6jRutxDsFef7tznJjaNLrdvq3nfS 5


The one thing I dont know, is I dont know how long each of these sanctuaries has been online, sanctuary that just started vs one that has been on the past 2 days, if we had that amount of time enabled data, then we could do the statistical analysis

For instance B8VyJEETEgaYirHeckJANQBd82AKfLkvfe is someone I just helped get setup on Slack a few hours ago and he got 1 payment so far


wonders of excel analytics :)   
 I've been up from day 1 - 8 wins .
   few top  nodes :  24 - 20 .   
 to big  of a difference

« Last Edit: December 20, 2017, 08:36:47 PM by tiras »


  • tiras
  • Newbie

    • 44


    • 1
    • September 01, 2017, 02:00:09 PM
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #573 on: December 20, 2017, 08:13:17 PM »
Yeah, I'd like to have more insight into the technicalities of this, and how random it really is. Although I must say that my payments seem to be spaced apart quite evenly, although less than expected.

Also, did any of you needed to restart your sanctuary after the last update (1.0.7.1)? I just updated my wallets and started my sanctuary and it just kept saying 'ONLINE'.


Jaapgvk , did you update both sanct MN and controller and it went "enabled"  right away ?


  • jaapgvk
  • Hero Member

    • 558


    • 31
    • September 01, 2017, 08:02:57 PM
    • Netherlands
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #574 on: December 21, 2017, 12:48:17 AM »

Jaapgvk , did you update both sanct MN and controller and it went "enabled"  right away ?

It just stayed enabled in the list. After updating both, I restarted (I did the controller first), and after starting the sanctuary wallet it said 'masternode successfully started' after syncing. Didn't have to do anything from the controller wallet.

I've received a payment since then, so I'm guessing all is fine :)
« Last Edit: December 21, 2017, 01:06:30 AM by jaapgvk »


  • jaapgvk
  • Hero Member

    • 558


    • 31
    • September 01, 2017, 08:02:57 PM
    • Netherlands
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #575 on: December 21, 2017, 01:51:43 AM »
I opened a tech ticket, the bigger issue I think is back-to-back winners, out of 493 block winners (not all actually won BBP mind you), 146 times there was a back-to-back winner.  If there were only 4 enabled MN that would be statistically correct but I think that's what is driving the disparity.

I fully agree, and that's one of the first things I noticed. I wonder how the block distribution was in testnet. I mean, I was there testing, but I didn't look at the winners list to see the actual distribution. I'm gonna look now if I can call the logs on that.
« Last Edit: December 21, 2017, 01:53:22 AM by jaapgvk »


  • jaapgvk
  • Hero Member

    • 558


    • 31
    • September 01, 2017, 08:02:57 PM
    • Netherlands
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #576 on: December 21, 2017, 02:45:19 AM »
It seems testnet has been reset unfortunately... Anyone has the winners logs?


  • togoshigekata
  • Hero Member

    • 527


    • 31
    • September 01, 2017, 10:21:10 AM
    • USA
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #577 on: December 21, 2017, 08:53:36 AM »
I noticed all the Sanctuaries have fallen into WATCHDOG_EXPIRED state, is something going on? or something we need to do?


  • jaapgvk
  • Hero Member

    • 558


    • 31
    • September 01, 2017, 08:02:57 PM
    • Netherlands
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #578 on: December 21, 2017, 09:17:03 AM »
I noticed all the Sanctuaries have fallen into WATCHDOG_EXPIRED state, is something going on? or something we need to do?

Have you reached out to Rob? On my side, it seems that two of the masternodes stayed 'enabled'.


  • tiras
  • Newbie

    • 44


    • 1
    • September 01, 2017, 02:00:09 PM
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #579 on: December 21, 2017, 11:33:14 AM »
Weird I think they all went back to ENABLED  ???

they didn't.

as of now only 3 are enabled :

 ./biblepay-cli masternode list  | grep ENAB
  "4a6d5b74939f29f76030fb80204a244f46b2dbdc13656db05e8372e6bfdee8be-1": "ENABLED",
  "068f3610e03782cae8e55ef4d42d0b4773ae10a26c0a30340a6344e582f6327e-1": "ENABLED",
  "b37da1c9e539dbe7f908d927962b8cb4e7636bfcc42a7ded77ec3fd4cc4bcb56-1": "ENABLED",

could it be something caused by yesterdays update ?

running BBP seems like a FT job
« Last Edit: December 21, 2017, 11:36:16 AM by tiras »


  • jaapgvk
  • Hero Member

    • 558


    • 31
    • September 01, 2017, 08:02:57 PM
    • Netherlands
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #580 on: December 21, 2017, 11:49:51 AM »
They're still in 'WATCHDOG EXPIRED' mode on my end (except the three enabled ones).

I used the same commands you used West, and I got approximately the same results:

Code: [Select]
================================================================= ERRORS =================================================================
__________________________________________ ERROR collecting test/unit/models/test_proposals.py ___________________________________________
test/unit/models/test_proposals.py:10: in <module>
    from models import GovernanceObject, Proposal, Vote
lib/models.py:5: in <module>
    import init
lib/init.py:103: in <module>
    main()
lib/init.py:94: in main
    if not is_database_correctly_configured():
lib/init.py:55: in is_database_correctly_configured
    sys.exit(1)
E   SystemExit: 1
------------------------------------------------------------ Captured stdout -------------------------------------------------------------
[error]: unable to open database file
Cannot connect to database. Please ensure database service is running and user access is properly configured in 'watchman.conf'.
_________________________________________ ERROR collecting test/unit/models/test_superblocks.py __________________________________________
test/unit/models/test_superblocks.py:10: in <module>
    from models import GovernanceObject, Proposal, Superblock, Vote
lib/models.py:5: in <module>
    import init
lib/init.py:103: in <module>
    main()
lib/init.py:94: in main
    if not is_database_correctly_configured():
lib/init.py:55: in is_database_correctly_configured
    sys.exit(1)
E   SystemExit: 1
------------------------------------------------------------ Captured stdout -------------------------------------------------------------
[error]: unable to open database file
Cannot connect to database. Please ensure database service is running and user access is properly configured in 'watchman.conf'.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
======================================================== 2 error in 0.86 seconds =========================================================

Code: [Select]
Traceback (most recent call last):
  File "bin/watchman.py", line 244, in <module>
    main()
  File "bin/watchman.py", line 191, in main
    perform_biblepayd_object_sync(biblepayd)
  File "bin/watchman.py", line 24, in perform_biblepayd_object_sync
    GovernanceObject.sync(biblepayd)
  File "lib/models.py", line 87, in sync
    (go, subobj) = self.import_gobject_from_biblepayd(biblepayd, item)
  File "lib/models.py", line 142, in import_gobject_from_biblepayd
    subobj, created = subclass.get_or_create(object_hash=object_hash, defaults=subdikt)
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 4800, in get_or_create
    return query.get(), False
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 3090, in get
    return next(clone.execute())
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 2267, in next
    obj = self.iterate()
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 2253, in iterate
    return self.process_row(row)
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 2331, in process_row
    setattr(instance, column, func(row[i]))
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 1072, in python_value
    return decimal.Decimal(str(value))
  File "/usr/lib/python2.7/decimal.py", line 547, in __new__
    "Invalid literal for Decimal: %r" % value)
  File "/usr/lib/python2.7/decimal.py", line 3873, in _raise_error
    raise error(explanation)
decimal.InvalidOperation: Invalid literal for Decimal: '203,096'

But I have no idea what I'm doing, lol (but not so lol).

It's indeed a full-time job... But hey, as you said Togo: it's a startup. Let's just hope we get the engine spinning nicely soon...


  • tiras
  • Newbie

    • 44


    • 1
    • September 01, 2017, 02:00:09 PM
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #581 on: December 21, 2017, 11:54:02 AM »
They're still in 'WATCHDOG EXPIRED' mode on my end (except the three enabled ones).

I used the same commands you used West, and I got approximately the same results:

Code: [Select]
================================================================= ERRORS =================================================================
__________________________________________ ERROR collecting test/unit/models/test_proposals.py ___________________________________________
test/unit/models/test_proposals.py:10: in <module>
    from models import GovernanceObject, Proposal, Vote
lib/models.py:5: in <module>
    import init
lib/init.py:103: in <module>
    main()
lib/init.py:94: in main
    if not is_database_correctly_configured():
lib/init.py:55: in is_database_correctly_configured
    sys.exit(1)
E   SystemExit: 1
------------------------------------------------------------ Captured stdout -------------------------------------------------------------
[error]: unable to open database file
Cannot connect to database. Please ensure database service is running and user access is properly configured in 'watchman.conf'.
_________________________________________ ERROR collecting test/unit/models/test_superblocks.py __________________________________________
test/unit/models/test_superblocks.py:10: in <module>
    from models import GovernanceObject, Proposal, Superblock, Vote
lib/models.py:5: in <module>
    import init
lib/init.py:103: in <module>
    main()
lib/init.py:94: in main
    if not is_database_correctly_configured():
lib/init.py:55: in is_database_correctly_configured
    sys.exit(1)
E   SystemExit: 1
------------------------------------------------------------ Captured stdout -------------------------------------------------------------
[error]: unable to open database file
Cannot connect to database. Please ensure database service is running and user access is properly configured in 'watchman.conf'.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
======================================================== 2 error in 0.86 seconds =========================================================

Code: [Select]
Traceback (most recent call last):
  File "bin/watchman.py", line 244, in <module>
    main()
  File "bin/watchman.py", line 191, in main
    perform_biblepayd_object_sync(biblepayd)
  File "bin/watchman.py", line 24, in perform_biblepayd_object_sync
    GovernanceObject.sync(biblepayd)
  File "lib/models.py", line 87, in sync
    (go, subobj) = self.import_gobject_from_biblepayd(biblepayd, item)
  File "lib/models.py", line 142, in import_gobject_from_biblepayd
    subobj, created = subclass.get_or_create(object_hash=object_hash, defaults=subdikt)
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 4800, in get_or_create
    return query.get(), False
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 3090, in get
    return next(clone.execute())
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 2267, in next
    obj = self.iterate()
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 2253, in iterate
    return self.process_row(row)
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 2331, in process_row
    setattr(instance, column, func(row[i]))
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 1072, in python_value
    return decimal.Decimal(str(value))
  File "/usr/lib/python2.7/decimal.py", line 547, in __new__
    "Invalid literal for Decimal: %r" % value)
  File "/usr/lib/python2.7/decimal.py", line 3873, in _raise_error
    raise error(explanation)
decimal.InvalidOperation: Invalid literal for Decimal: '203,096'

But I have no idea what I'm doing, lol (but not so lol).

It's indeed a full-time job... But hey, as you said Togo: it's a startup. Let's just hope we get the engine spinning nicely soon...


jaapgvk  ,   are trying to say there's an error in python code ?


  • jaapgvk
  • Hero Member

    • 558


    • 31
    • September 01, 2017, 08:02:57 PM
    • Netherlands
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #582 on: December 21, 2017, 12:04:24 PM »
jaapgvk  ,   are trying to say there's an error in python code ?

No, I'm just doing the same West did, so we could compare. Maybe someone else can debug it or something.

I don't have enough Linux knowledge to really contribute here, sorry. But if I can do anything to help, just tell me what to do :)


  • tiras
  • Newbie

    • 44


    • 1
    • September 01, 2017, 02:00:09 PM
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #583 on: December 21, 2017, 12:18:18 PM »
No, I'm just doing the same West did, so we could compare. Maybe someone else can debug it or something.

I don't have enough Linux knowledge to really contribute here, sorry. But if I can do anything to help, just tell me what to do :)

I've got the same error output :

Code: [Select]
~/.biblepaycore/watchman# venv/bin/python bin/watchman.py
Traceback (most recent call last):
  File "bin/watchman.py", line 244, in <module>
    main()
  File "bin/watchman.py", line 191, in main
    perform_biblepayd_object_sync(biblepayd)
  File "bin/watchman.py", line 24, in perform_biblepayd_object_sync
    GovernanceObject.sync(biblepayd)
  File "lib/models.py", line 87, in sync
    (go, subobj) = self.import_gobject_from_biblepayd(biblepayd, item)
  File "lib/models.py", line 142, in import_gobject_from_biblepayd
    subobj, created = subclass.get_or_create(object_hash=object_hash, defaults=subdikt)
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 4800, in get_or_create
    return query.get(), False
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 3090, in get
    return next(clone.execute())
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 2267, in next
    obj = self.iterate()
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 2253, in iterate
    return self.process_row(row)
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 2331, in process_row
    setattr(instance, column, func(row[i]))
  File "/root/.biblepaycore/watchman/venv/local/lib/python2.7/site-packages/peewee.py", line 1072, in python_value
    return decimal.Decimal(str(value))
  File "/usr/lib/python2.7/decimal.py", line 547, in __new__
    "Invalid literal for Decimal: %r" % value)
  File "/usr/lib/python2.7/decimal.py", line 3873, in _raise_error
    raise error(explanation)
decimal.InvalidOperation: Invalid literal for Decimal: '203,096'


  • tiras
  • Newbie

    • 44


    • 1
    • September 01, 2017, 02:00:09 PM
    more
Re: BIBLEPAY - TESTNET THREAD - TESTING SANCTUARIES FOR GO LIVE AT CHRISTMAS
« Reply #584 on: December 21, 2017, 01:07:17 PM »
I don't think I did anything differently, but I can say that the first and second one are mine.  So it's possible I borked it but I cannot imagine how.


West , can you  compare getinfo with mine :
 
Code: [Select]
./biblepay-cli getinfo
{
  "version": 1000701,
  "protocolversion": 70712,
  "walletversion": 61000,
  "wallet_fullversion": "1.0.7.1",
  "balance": 0.00000000,
  "privatesend_balance": 0.00000000,
  "retirement_balance": 0,
  "blocks": 22145,
  "timeoffset": 0,
  "connections": 208,
  "proxy": "",
  "difficulty": 319.8535804163807,
  "testnet": false,
  "keypoololdest": 1513631658,
  "keypoolsize": 1001,
  "paytxfee": 0.00000000,
  "relayfee": 0.00010000,
  "errors": ""