Bible Pay

Read 31308 times

  • T-Mike
  • Sr. Member

    • 391


    • 2
    • February 06, 2018, 06:12:58 pm
    more
Rob, is there a way to see which contract currently has the most votes? Thanks.


  • MIP
  • Full Member

    • 110


    • 12
    • February 13, 2018, 11:55:52 am
    more
I think we have a bug- PODC stake has used my 1550001 BBP of my sanc for staking, even if it's supposed to be locked

See:
http://explorer.biblepay.org:3001/tx/0321cce7ad6a91a707c4512e32c1bd13d31754233e7cd0403b7dee7face0c4d8

Now my sanc is "missing" :-(

Edit: I think it's because I cloned the wallet into another PC. Anyway, the lock enforcement should work at the blockchain level I think.
« Last Edit: March 12, 2018, 02:20:04 am by MIP »


  • Rob A.
  • Administrator

    • 1079


    • 18
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
I think we have a bug- PODC stake has used my 1550001 BBP of my sanc for staking, even if it's supposed to be locked

See:
http://explorer.biblepay.org:3001/tx/0321cce7ad6a91a707c4512e32c1bd13d31754233e7cd0403b7dee7face0c4d8

Now my sanc is "missing" :-(

Edit: I think it's because I cloned the wallet into another PC. Anyway, the lock enforcement should work at the blockchain level I think.

No, its not a PODC bug, we iterate through your UTXOs and honor the locks.  I would check to ensure you have re-locked your hot funds during each start.

Do you have a masternode.conf file set up with the Sanc's hot txid in it?



  • Rob A.
  • Administrator

    • 1079


    • 18
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Rob, is there a way to see which contract currently has the most votes? Thanks.

The only way to do it right now is to go to the sanc, and type 'gobject list all triggers', copy that to notepad and find the one with the highest votes.
Then you can 'gobject get gobjectid' to see the info.

I decided since we were getting so many questions about the upcoming contract, Im going to write a feature that allows the Pool to pull in the current "upcoming" contract into a pool page for viewing by everyone.  Hopefully it will answers the lions share of the questions, like UTXO amounts and am I in it, although Im doing this in a way where its going to pull my First sanctuaries (sanc1) into the pool 4 times per day, so I cant guarantee "my" sanc will be "the" voted contract!  But at least it should be 95% accurate most days, since Im going to have the same data as everyone else.  Im thinking of storing this info in history also, so we can make a chart of Magnitude by CPID, and maybe allow Capulo to drill into Yesterdays contract to check his yesterdays rac, etc. 


  • MIP
  • Full Member

    • 110


    • 12
    • February 13, 2018, 11:55:52 am
    more
No, its not a PODC bug, we iterate through your UTXOs and honor the locks.  I would check to ensure you have re-locked your hot funds during each start.

Do you have a masternode.conf file set up with the Sanc's hot txid in it?

In one PC I do, but not in the other wallet with the sanc. controller address. So it's possible that for this wallet that UTXO was not locked.


  • Rob A.
  • Administrator

    • 1079


    • 18
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
In one PC I do, but not in the other wallet with the sanc. controller address. So it's possible that for this wallet that UTXO was not locked.

In testnet, I noticed that when I ran a hot sanc, I had to manually lock the row every day, which is a big nuisance, but in Prod, while using my masternode.conf file, the bootup sequence of the wallet locks every txid in the list, so even with all my PODC updates, I never have spent my locked funds in prod.

I also attempted to make sure the wallet does not spend anything equaliing SANCTUARY_COLLATERAL, but when you said earlier it spent one, Im thinking maybe that amount is Off in the wallet and only half of the feature is working. LOL.  So Ill check on #2 later today in the mean time try to do the masternode.conf then reboot and look in coin control and if its locked you should be OK.




  • Rob A.
  • Administrator

    • 1079


    • 18
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
In one PC I do, but not in the other wallet with the sanc. controller address. So it's possible that for this wallet that UTXO was not locked.

Ok yes, you discovered a certain unintended bug.     Fixed in the next version - now the wallet will not spend sanctuary funds in PODC updates or Associations.





  • jaapgvk
  • Sr. Member

    • 466


    • 18
    • September 01, 2017, 08:02:57 pm
    • Netherlands
    more
Good , that is half the battle, just see tonight when you exercise the new search feature:
exec search dcc cpid

See if the row is there with the unbanked cpid and the correct unbanked receive address?

Then in a couple days once we receive our first contract with the new utxo levels (of 500 per SPM), you should receive a payment.
Actually now that I think about it if you will paste that search row result, Ill check my upgraded sanc to see if the cpid is in the "future" payment (sort of like Minority Report), for some reason Im getting confused between Minority Report and the Pre-cogs (the 3 humans that are gifted) and seeing a movie one time with a dolphin with wires attached, that made lots of decisions for the group... hmmm....

Code: [Select]
21:21:49

exec search dcc 8791a036b545f35e9ebd9333922738ac


21:21:49

{
  "DataList": "DCC",
  "8791A036B545F35E9EBD9333922738AC (03-11-2018 16:50:26)": "8791a036b545f35e9ebd9333922738ac;BNfb6uMyeAHDwZs538gzxS2k2iqbz8NWQj;BNfb6uMyeAHDwZs538gzxS2k2iqbz8NWQj;1986929;;1"
}

Looks good  8)

Don't know that dolphin movie btw, haha! If you ever remember the title, I'd like to know it  ;D


  • Rob A.
  • Administrator

    • 1079


    • 18
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Code: [Select]
21:21:49

exec search dcc 8791a036b545f35e9ebd9333922738ac


21:21:49

{
  "DataList": "DCC",
  "8791A036B545F35E9EBD9333922738AC (03-11-2018 16:50:26)": "8791a036b545f35e9ebd9333922738ac;BNfb6uMyeAHDwZs538gzxS2k2iqbz8NWQj;BNfb6uMyeAHDwZs538gzxS2k2iqbz8NWQj;1986929;;1"
}

Looks good  8)

Don't know that dolphin movie btw, haha! If you ever remember the title, I'd like to know it  ;D

Great, so now since we have the pool contract report, (Reports | Superblock View) we can just go into the pool and search for 8791.  So to find out if you have any magnitude, take a look RAC and Modified RAC.  RAC = 54, Modified RAC = 54.  This shows a mag of .044.  If the CPID was penalized for taskweight or utxoweight, the modified RAC would have been lower or 0, so everything appears to be working, all we have to do is wait for the supermajority to run the latest sanc code and the payments should start.

I havent encountered any new showstoppers so I think we can announce the mandatory tomorrow and possibly re-enable the exchanges.

Im adding one more rule tonight for the potential of stake-per-rac processing.





  • Rob A.
  • Administrator

    • 1079


    • 18
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Biblepay - 1.1.1.1b
Mandatory Upgrade before block 35110


- Headless PODC Password support:
  ./biblepay-cli -headlesspodcpassword  <enter>     ,  then Enter password on next line.  Step 2 (optional): exec podcpasswordlength
- Added icon in QT for PODC Association, and icon for PODC Update
- Prevent wallet from spending Sanctuary collateral during PODC Update
- Add support for Required Stake-Per-RAC pending poll outcome


** Windows is compiling **

This is a prerelease, checked in now, available for linux.  It turns out this will need to be mandatory for the whole network due to that new 'potential' stake-per-rac feature pending the poll outcome. 

In the mean time if anyone wants to test the headless password prompt, go for it.





  • T-Mike
  • Sr. Member

    • 391


    • 2
    • February 06, 2018, 06:12:58 pm
    more
Biblepay - 1.1.1.1b
Mandatory Upgrade before block 35110


- Headless PODC Password support:
  ./biblepay-cli -headlesspodcpassword  <enter>     ,  then Enter password on next line.  Step 2 (optional): exec podcpasswordlength
- Added icon in QT for PODC Association, and icon for PODC Update
- Prevent wallet from spending Sanctuary collateral during PODC Update
- Add support for Required Stake-Per-RAC pending poll outcome


** Windows is compiling **

This is a prerelease, checked in now, available for linux.  It turns out this will need to be mandatory for the whole network due to that new 'potential' stake-per-rac feature pending the poll outcome. 

In the mean time if anyone wants to test the headless password prompt, go for it.
That's great! What is the exec podcpasswordlength for?


  • Rob A.
  • Administrator

    • 1079


    • 18
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
That's great! What is the exec podcpasswordlength for?

You can use it from headless to check that the password was memorized.  Its just a sanity check.

Windows has been deployed if anyone wants to test it.

I think we are OK to release this afternoon, from what I can tell.

This latest version handles either poll outcome.

Id like to inform exchanges to upgrade late tonight, so please if anyone has any concerns please post, and please test anything remaining.


  • T-Mike
  • Sr. Member

    • 391


    • 2
    • February 06, 2018, 06:12:58 pm
    more
You can use it from headless to check that the password was memorized.  Its just a sanity check.

Windows has been deployed if anyone wants to test it.

I think we are OK to release this afternoon, from what I can tell.

This latest version handles either poll outcome.

Id like to inform exchanges to upgrade late tonight, so please if anyone has any concerns please post, and please test anything remaining.

I'll upgrade both and let you know if I see any issues.


  • orbis
  • Full Member

    • 130


    • 1
    • February 08, 2018, 04:37:14 pm
    more
Biblepay - 1.1.1.1b
Mandatory Upgrade before block 35110


- Headless PODC Password support:
  ./biblepay-cli -headlesspodcpassword  <enter>     ,  then Enter password on next line.  Step 2 (optional): exec podcpasswordlength
- Added icon in QT for PODC Association, and icon for PODC Update
- Prevent wallet from spending Sanctuary collateral during PODC Update
- Add support for Required Stake-Per-RAC pending poll outcome


** Windows is compiling **

This is a prerelease, checked in now, available for linux.  It turns out this will need to be mandatory for the whole network due to that new 'potential' stake-per-rac feature pending the poll outcome. 

In the mean time if anyone wants to test the headless password prompt, go for it.

Rob,
it doesn't work for me.
when I use ./biblepay-cli -headlesspodcpassword it gives me error:
Code: [Select]
Too few parametersI've tried to add someting there e.g. ./biblepay-cli -headlesspodcpassword  1  and it ask for pwd. Entered pwd and then:
Code: [Select]
error code: -32601
error message: Method not found
Memorized 13
I think, those errors belongs to that "1".
after exec podcpasswordlength it gives: Length: 13 and getmininginfo looks sometime fine, without CPID error, but sometimes with error.
So it seems, that it works for me (sometimes), but with additional parameters :)

EDIT: so, tried many times and it didn't worked for me. Still CPID errors in getmininginfo.
« Last Edit: March 13, 2018, 02:00:31 pm by orbis »


  • Rob A.
  • Administrator

    • 1079


    • 18
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Rob,
it doesn't work for me.
when I use ./biblepay-cli -headlesspodcpassword it gives me error:
Code: [Select]
Too few parametersI've tried to add someting there e.g. ./biblepay-cli -headlesspodcpassword  1  and it ask for pwd. Entered pwd and then:
Code: [Select]
error code: -32601
error message: Method not found
Memorized 13
I think, those errors belongs to that "1".
after exec podcpasswordlength it gives: Length: 13 and getmininginfo looks sometime fine, without CPID error, but sometimes with error.
So it seems, that it works for me (sometimes), but with additional parameters :)

EDIT: so, tried many times and it didn't worked for me. Still CPID errors in getmininginfo.

Hi Orbis,

Try starting biblepayd first, then after its started try this:

/biblepay-cli -headlesspodcpassword exec podcpasswordlength


Then type the password, press <enter>


Then mine, and it should work.

As far as the error in getmininginfo, just wait a little longer.


I remember testing this the night I wrote it, but forgot the parameter must include the full 4 words as above...  Ill modify the release notes when releasing tonight.  Let me know if it works for you now.