Bible Pay

Read 1060 times

  • Rob Andrews
  • Administrator

    • 2620


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
June 2020 BiblePay Mandatory Upgrade - TestNet
« on: April 30, 2020, 05:16:11 PM »
June 2020 Release


Welcome to the Biblepay June 2020 Testnet Testing thread.


In this thread we will be testing:


- 'exec price' : XMR price has been added
- Sanctuary Voting :
     (This is the ability for a sanctuary to vote on a spork, and if the Vote outcome is a PASS, the spork will go into effect.  If it is a FAIL we need to see this spork fail to enter into the chain).

- Anti-Censorship-Feature (ACF)  - Although I went through the pain of coding this, releasing it and testing it, I have decided that (as I believe we as a community) will be better off with BiblePay unchained for this use case (as it is safer and does not risk bloating the governance system and the nodes).  So for safetey reasons, I have removed this and now am planning on releasing the design for Unchained.  (This is a sidechain that holds documents off-chain).

- Removing "BiblePay-Evolution" from the windows wallet and fixing the default program directory name (it is still Evolution).  This should go back to BiblePay.  Check to see if the windows installer wizard is correct.

- Test a VendorList change (Charity monero addresses in a semicolon delimited list) and a PoolList change (allowable RX pools).

- Remove POOM from the wallet (remove poom listchildren, poom pay).  Move POOM payment budget from GSC to Heat mined blocks.  Ensure these heat payments go to the heat side and not to the sanctuary.  I believe POOM causes the GSC budget to drop by 240K per day, and the mined block subsidy to rise by 1200~, and the sanc payment should stay the same.

- Any Dash changes that occurred between Jan 1,2020 and March 30th?  Ask MIP?  MIP has made me aware we need a little more time to move up to .15, because Dash has changed 1800 files!  So lets shoot for releasing .15 in September.

- The ability for a RandomX hash to be mined in a more RX compatible way (check to see if foundation.biblepay can receive a blakehash as Solution #1) (This is just a reminder note that may result in a code change in the core wallet if this streamlines the xmrig code to be 100% compatible with the xmrig branch), Checking this.  (This basically frees us from maintaining a special version of xmrig).

->  Great news, I tested pure merge-mining using the plain vanilla xmrig, and it worked.  The changes are in this version already.

- Test Marcus Antonios Russian and Ukrainian Bible viewer(s)


Starting Version:    1.5.1.0+


(Please ensure your version is greater than this, otherwise your testnet branch will not sync. 

We are at block  ____37650_____ as of May 1st, 2020).

BlockHash 37650:
573935383afc18055f0207355e49262a4243db5705d019506aac153eba5c503e


Testnet Download Links:


Ready:
     Windows 64-bit:      https://biblepay.org/biblepayevo64develop.exe
     MacOS QT: https://biblepay.org/biblepaycore-evo-testnet.dmg

     Linux 64 bits II (QT/biblepayd/biblepay-cli) zip:  https://biblepay.org/bbp-lin-develop-64.zip


To self compile:
https://github.com/biblepay/biblepay/blob/develop/BuildBiblePay.txt


Retiring (do not use these downloads):
     Linux PC 64bits Daemon:     https://biblepay.org/biblepayd-evo-testnet-x86_64-pc-linux-gnu.tar.gz
     Linux 64 bits QT:       https://biblepay.org/biblepay-qt-evo-testnet-x86_64-pc-linux-gnu.tar.gz






CONFIGURING FOR TESTNET:


Create a biblepaytest.conf file with the following contents:
testnet=1
debug=1

Place the file in ~/.biblepay



Start testnet by typing:
./biblepay-qt -conf=biblepaytest.conf

(Note the blocks and chainstate will sync into the ./biblepay/testnet3 folder.


NOTE: This version will also work side-by-side our production nodes,
so, you also have the option if you are short on machines, to run TestNet side by side a prod node!

To run a TestNet Sanctuary:
https://forum.biblepay.org/index.php?topic=391.msg5968#msg5968

How to create a deterministic sanc from scratch:
https://docs.dash.org/en/stable/masternodes/dip3-upgrade.html

__________________________________________________________________________________________________________________________________________________________________________________________





« Last Edit: May 22, 2020, 05:32:14 PM by Rob Andrews »


  • sunk818
  • Sr. Member

    • 387


    • 26
    • April 24, 2018, 02:02:20 PM
    more
Re: June 2020 BiblePay Mandatory Upgrade - TestNet
« Reply #1 on: May 01, 2020, 09:35:11 AM »
re: xmrig - That is brilliant move if you can pull it off!
BH6oxjLkyz3z8FYpvU3ZR7PTZ31Xt9DkXZ


  • Rob Andrews
  • Administrator

    • 2620


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2020 BiblePay Mandatory Upgrade - TestNet
« Reply #2 on: May 01, 2020, 09:52:53 AM »
re: xmrig - That is brilliant move if you can pull it off!

I think it can be done at a 95% level - which would still be worth it from our code-merging and maintenance levels for the future (for xmrig).
We will still need to maintain the custom branch though for the final blakehash.  (As that prevents preimage attacks, and keeps biblepays blocks more valuable).

But I still need to test it, working on that today hopefully.

Everyone else:
This thread isn't ready yet because we need to merge in Antonios changes too.



  • Rob Andrews
  • Administrator

    • 2620


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2020 BiblePay Mandatory Upgrade - TestNet
« Reply #3 on: May 01, 2020, 08:27:04 PM »
Welcome back everyone!

I believe we will need at least 6 sancs to test this version as we need to do a few tests on sanctuary spork voting outcomes.

Unfortunately our sancs are totally down in testnet.

Im going to fire up 3 myself, so we only need 3-4 more minimum.



  • MIP
  • Developer

    • 247


    • 32
    • February 13, 2018, 11:55:52 AM
    more
Re: June 2020 BiblePay Mandatory Upgrade - TestNet
« Reply #4 on: May 22, 2020, 02:06:39 PM »
I have 2 nodes now in block

getblockhash 41364
c99c76f6c56e12f0798ceba43216f2a85ce807e852204496af8616f0e4e008e4

I will promote the one in the vps to sanc in a while




  • Rob Andrews
  • Administrator

    • 2620


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2020 BiblePay Mandatory Upgrade - TestNet
« Reply #5 on: May 22, 2020, 05:01:20 PM »
I have 2 nodes now in block

getblockhash 41364
c99c76f6c56e12f0798ceba43216f2a85ce807e852204496af8616f0e4e008e4

I will promote the one in the vps to sanc in a while

Welcome aboard, my only friend and lone tester (rural chum!)

Yes, hash matches.

I just sent the tBBP u needed and revived my three sancs.  My 3 sancs show as revived.

Time to review all the testnet changes now.




  • Rob Andrews
  • Administrator

    • 2620


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2020 BiblePay Mandatory Upgrade - TestNet
« Reply #6 on: May 22, 2020, 05:26:40 PM »
Welcome aboard, my only friend and lone tester (rural chum!)

Yes, hash matches.

I just sent the tBBP u needed and revived my three sancs.  My 3 sancs show as revived.

Time to review all the testnet changes now.

So first testnet test, and probably the most mission critical is to ensure we can execute Sanctuary Spork voting.

The way this works is, if you for example type 'datalist spork' you will see the current spork values.  Lets take a real live spork:
GETBMSCRYPTOPRICEXMR : Server?action=XMR_PRICE_QUOTE
The spork name is "GETBMSCRYPTOPRICEXMR" and the page it gets its price from is "Server?action=XMR_PRICE_QUOTE" (which provides the midpoint of the price for XMR).
So if I die, the idea is the Sancs should be able to update a current spork (or, vote on a pool change, or vote on a vendor list change).

So if you wanted to execute a change for that spork - we use the pipe delimiter between name and value - to change the spork value to "sx_api_xmr_price" for example you would enter a new proposal with this name:

GETBMSCRYPTOPRICEXMR|sx_api_xmr_price
(Very critical note!  You must change the TYPE to SPORK in the proposal!).


Then if the vote passes, the value of the spork will be updated.

I just added a couple new proposals for new sporks (testspork8 and testspork4).

Give it a few more blocks then once you see them in the proposals please vote on them.

Then we have to wait 48 hours, and then we will see the Spork value change.  Spork votes go for 7 days and we don't honor the outcome for 24 hours (this is to prevent false positives). 




  • Rob Andrews
  • Administrator

    • 2620


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2020 BiblePay Mandatory Upgrade - TestNet
« Reply #7 on: May 22, 2020, 05:32:36 PM »
I have updated the OP post with the rest of the test cases.



  • earlzmoade
  • Jr. Member

    • 67


    • 19
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2020 BiblePay Mandatory Upgrade - TestNet
« Reply #8 on: May 23, 2020, 02:31:49 AM »
I have been real busy with work, im working at cemetery.

Anyhow i cant help out with the masternodes  but tomorrow i will test out some of the other stuff that you posted Rob and will give some feedback.
Hope all is fine in these times// earlz
Make your walls to doors


  • earlzmoade
  • Jr. Member

    • 67


    • 19
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2020 BiblePay Mandatory Upgrade - TestNet
« Reply #9 on: May 23, 2020, 03:26:29 AM »
I have been real busy with work, im working at cemetery.

Anyhow i cant help out with the masternodes  but tomorrow i will test out some of the other stuff that you posted Rob and will give some feedback.
Hope all is fine in these times// earlz

PS : It looks like the Testnet download link for windows downloads the older 1.5.0.5 version
Make your walls to doors


  • MIP
  • Developer

    • 247


    • 32
    • February 13, 2018, 11:55:52 AM
    more
Re: June 2020 BiblePay Mandatory Upgrade - TestNet
« Reply #10 on: May 23, 2020, 05:30:51 AM »
I finally have the sanc online.

Code: [Select]
datalist spork
{
  "DataList": "SPORK",
  "BPL (1-1-1970 00:00:00)": "",
  "CPKDIARYWL (1-1-1970 00:00:00)": "",
  "GETBMSCRYPTOPRICEXMR (05-22-2020 17:18:13)": "Server?action=XMR_PRICE_QUOTE",
  "PRAYERSMUSTBESIGNED (1-1-1970 00:00:00)": "",
  "SLEEP_DURING_EMPTY_BLOCKS (1-1-1970 00:00:00)": "",
  "SPORK43 (05-16-2020 15:19:55)": "SPORK43VAL",
  "SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT (1-1-1970 00:00:00)": "",
  "TEST3 (05-14-2020 16:25:22)": "VALUE3",
  "TESTSPORK3 (05-16-2020 15:19:55)": "TESTSPORKVAL3"
}

I see a couple of SPORK proposals, which I voted for.
I also created the GETBMSCRYPTOPRICEXMR|sx_api_xmr_price, I hope I did it correctly


  • MIP
  • Developer

    • 247


    • 32
    • February 13, 2018, 11:55:52 AM
    more
Re: June 2020 BiblePay Mandatory Upgrade - TestNet
« Reply #11 on: May 23, 2020, 05:52:41 AM »
Linux 64 bit testnet links are valid again (latest testnet version)

Linux PC 64bits Daemon:     https://biblepay.org/biblepayd-evo-testnet-x86_64-pc-linux-gnu.tar.gz
Linux 64 bits QT:       https://biblepay.org/biblepay-qt-evo-testnet-x86_64-pc-linux-gnu.tar.gz

 


  • Rob Andrews
  • Administrator

    • 2620


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2020 BiblePay Mandatory Upgrade - TestNet
« Reply #12 on: May 23, 2020, 03:23:59 PM »
PS : It looks like the Testnet download link for windows downloads the older 1.5.0.5 version

Thanks, 10-4 on the cemetary! 
Ok, let me test the windows link.

EDIT:  Yeah, it looks like since we increased the minor version, it is picking up the wrong file during deploy (fixing now...) hang on.

(And I think you are the first to test on windows).


« Last Edit: May 23, 2020, 03:45:48 PM by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 2620


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2020 BiblePay Mandatory Upgrade - TestNet
« Reply #13 on: May 23, 2020, 03:25:13 PM »
I finally have the sanc online.

Code: [Select]
datalist spork
{
  "DataList": "SPORK",
  "BPL (1-1-1970 00:00:00)": "",
  "CPKDIARYWL (1-1-1970 00:00:00)": "",
  "GETBMSCRYPTOPRICEXMR (05-22-2020 17:18:13)": "Server?action=XMR_PRICE_QUOTE",
  "PRAYERSMUSTBESIGNED (1-1-1970 00:00:00)": "",
  "SLEEP_DURING_EMPTY_BLOCKS (1-1-1970 00:00:00)": "",
  "SPORK43 (05-16-2020 15:19:55)": "SPORK43VAL",
  "SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT (1-1-1970 00:00:00)": "",
  "TEST3 (05-14-2020 16:25:22)": "VALUE3",
  "TESTSPORK3 (05-16-2020 15:19:55)": "TESTSPORKVAL3"
}

I see a couple of SPORK proposals, which I voted for.
I also created the GETBMSCRYPTOPRICEXMR|sx_api_xmr_price, I hope I did it correctly

Yes, I also voted on these Spork proposals, so far they look good (they have 4 votes).
I also voted on your BMS crypto price; theoretically if it passes, the XMR price will go to zero in testnet (then we can manually fix it again) etc.



  • Rob Andrews
  • Administrator

    • 2620


    • 42
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2020 BiblePay Mandatory Upgrade - TestNet
« Reply #14 on: May 23, 2020, 04:11:56 PM »
Thanks, 10-4 on the cemetary! 
Ok, let me test the windows link.

EDIT:  Yeah, it looks like since we increased the minor version, it is picking up the wrong file during deploy (fixing now...) hang on.

(And I think you are the first to test on windows).


Ok, the windows download is fixed now.  Please open it from a new incognito window in order to avoid the cache.

Should be 1.5.1.2 now.