Bible Pay

Read 92250 times

  • Rob Andrews
  • Administrator

    • 4141


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
June 2021 Release - Harvest - TestNet Thread
« on: March 19, 2021, 10:44:38 AM »
June 2021 Release - Harvest



Welcome to the Biblepay Testnet Testing thread for the Harvest release!


In this thread we will be testing:

- Dash 0.16.1.1+ changes:
   We have rebased to 0.16.  Include the major changes to be tested here.

- Legacy features:
   Ensure coverage of our legacy features.  List the main legacy features here.

- Known issue:
   List the remaining to do list here.

- NFT's:
Test non fungible tokens.
- Major sanctuary coverage:
   LLMQs
   LLMQ Chainlocks

- Mining:
   Verify RandomX mining still works
   Verify UTXO Mining

- Sanctuary Voting:
   Verify GSCs still work, sanctuary voting works, POOS sponsorships etc

- Add vote to decrease sanctuary coinbase percentage, and decrease monthly superblock percentage, and increase coinbase emission and reasoning here:

- NOTE:
For the first 30 days and for safety reasons, the initial releases of 1.6.0.1 use this data directory:
~/.biblepaytest



Primary Test Cases:

- Verify dash literals that were changed to BBP (or BiblePay) literals are still captioned as BiblePay in this version:   PASS
- Ensure the randomx hash function works : PASS
- Ensure POOS (proof of orphan sponsorship) for sanctuaries works:
From the Sanctuary Page in QT, I verified the poos status has incremented properly when sancs are banned due to non-payment: PASS
- Show Difficulty and Prayers on overview page: PASS
- Merge biblepay red bezaleel genII theme into dash css files : PASS
- Test montserrat font:  MOSTLY PASS (there are some grids where the font size is slightly too big - we are tweaking those still)
- Test GSC contracts in the sense - are the sanctuaries allowed to vote daily and is exec health working?  PASS
(Sanctuaries appear to vote on the correct frequency).  The contract is being voted in.  The sancs appear healthy.
- LLMQ IX:  Verify quorums form: PASS
Verify IX sends within 7 seconds: PASS
Verify integrity of the quorums (IE chain is not falling out of sync) : PASS (been testing for 14 days so far, need at least 30)
- Test Memorize Scriptures: PASS
- Test BBP Univ:  Final Exam Sim:  PASS
- Verify -erasechain=1 : PASS
- Verify sync from zero in prod & testnet : PASS
- Verify sporks can be changed : PASS
- Verify exec price works: PASS
- Change sanctuary collateral back to 4,500,001: PASS
- Verify getblock blocknumber: PASS (yes not hash)
- Verify sanctuary page list double click has our fields in it : PASS
- Verify tx-desc double click has our debug info in it: PASS
- Verify rolling prayers and rolling diaries on overview page : PASS
- Verify leaderboard still shows prod UTXO lists: PASS
- Verify upgradesanc and revivesanc : PASS
(NOTE: Due to no bridge being present, all sancs need recreated from scratch in prod after mandatory cutover height!)
- Remove DWS, ensure payment path exists for last DWS (getfinaldwsreport is ported into MAINNET, and I ran it and it looks correct) : PASS
- Add Chained Locks icon for high-yield staking in coin control : PASS
- Verify harvest has all of our custom icons in the txlist decoration: PASS
- Modify windows installer to use our images: PASS
- Verify FTP deployment works: PASS
- Rename masternode to sanctuary everywhere: PASS
- Verify testnet llmq params: PASS
- Merge arm64 for SX: PASS
- Cut spam logging, in a way that is dash compatible : PASS
- Verify getblockchaininfo: PASS (Masked our hardcoded bit-state)
- Verify DGW timing to be compatible with LLMQ prod and testnet: PASS
- Verify watchman on the wall (new proposal), vote for proposal, proposal trigger and proposal payment in monthly governance block : PASS
- Verify getgovernanceinfo : PASS

ToDo:
- POOS:  Test that a PAID sanctuary POOS status returns to 0:
- Test Chainlocks (not enabled yet)
- Ensure sanctuaries can run on non standard ports (I ported the code in, but we have only tested Testnets STANDARD port so far)
- Update changelog.md with all of the changes before pushing Harvest to mainnet
- Triple check the LLMQ params for MAINNET before pushing harvest
- Ensure voting for a watchman proposal handles the result properly:
- Test POP3 emails and smtp
- Test NFT system (add, edit, list, view) and foundation view
- Test referral system





Additional Wiki guides:
See the sections about High-risk staking and conservative UTXO staking here:
https://wiki.biblepay.org/UTXO_Mining

NFTs:
https://wiki.biblepay.org/NFT

Physical Mail Delivery:
https://wiki.biblepay.org/Direct_Mail_Delivery



Guides by Dash:
Etc







Explain Important Changes to Entire BiblePay Network:


- Rebase to 0.16.0.1 and ramifications




*** What still needs done in this version before released to prod ***

- Verify NFTs Add/Edit/List
- Verify randomx mining against prod
- Verify chainlocks
- Verify math on high yield staking
- Verify referral system
- Add poll to approve sanctuary and governance coinbase reward changes
- Ensure APM (automatic price mooning) still reduces payouts when price drops
- Test pop3 emails





Starting Version:    1.6.0.1


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

We are at block  ___73446_____ as of March 23rd, 2021:  Blockhash bcd5757cbaeba04f4f6bb3e36e66d9341a83dba7aee0b0fad4a1bd51c4216f8c.


Testnet Download Links:


Ready:
     Windows 64-bit:      https://biblepay.org/biblepayevo64develop.exe
     Linux 64 bits II (QT/biblepayd/biblepay-cli) zip:  https://biblepay.org/bbp-lin-develop-64.zip
     MacOS QT: https://biblepay.org/biblepay-harvest-develop.dmg


To self compile:
git pull origin develop

https://github.com/biblepay/biblepay/blob/develop/BuildBiblePay.txt





CONFIGURING FOR TESTNET:


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


Place the file in ~/.biblepaytest



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 14, 2021, 01:38:42 PM by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 4141


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #1 on: March 23, 2021, 11:23:54 AM »
Alright all, welcome back!

We are ready to test again, this time our rebased version:  1.6.0.1+.

The goal is to get all of our features (except retired features) ported into this new version.  So if you notice that anything is missing please let us know. 

Lets first go ahead and start syncing and testing both the biblepayd and the qt wallet to ensure they both sync in testnet.
I posted the best block hash in the OP post.

Then next, we need to get a serious amount of sanctuaries running to test LLMQs and positively ensure they do not make the chain go out of sync.

I just added 3 deterministic sancs to testnet.

NOTE:  Since this new version is not compatible with our old sancs, we need to recreate them.
The easiest way, imo, to do this is to first create your old legacy sanctuary record in "masternode.conf".  Then do an 'exec upgradesanc sancname'..  However, there is one very important change in our new code.  Once a sanc is upgraded it will have no IP address.  You then have to do 'exec revivesanc sancname' and then you will see the IP.  This is also the command to use to change your IP in the future, or to revive a POSE banned sanc.  (This also means we will have to hold an emergency upgrade on one particular day for all the sancs to upgrade to not only the new version, but for each sanc to process a manual upgrade for their node/ip etc).

Ill be modifying the OP post with test cases soon.

Please let me know that linux and windows work also.

« Last Edit: March 23, 2021, 11:35:52 AM by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 4141


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #2 on: March 24, 2021, 05:55:37 PM »
1.6.0.2-Mandatory Upgrade for TestNet


- Fix css issues
- Adjust LLMQ params for testnet
- Fix cdbl error
- Remove RX pools constraint


  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #3 on: March 25, 2021, 04:59:35 PM »
Hello Rob.

I downloaded latest windows version that you released and it looks like it works, the wallet is synced up and i see my old tBBP in there so looks nice.

I will do some readup about sanctuaries in the coming days and maybe i can spin some up in testnet.
Joshua 1:9
Have i not commanded you?
Be strong and courageous. Do not be afraid;
do not be discouraged, for the Lord your God
will be with you wherever you go.


  • Rob Andrews
  • Administrator

    • 4141


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #4 on: March 25, 2021, 05:42:53 PM »
Hello Rob.

I downloaded latest windows version that you released and it looks like it works, the wallet is synced up and i see my old tBBP in there so looks nice.

I will do some readup about sanctuaries in the coming days and maybe i can spin some up in testnet.

Hey Earlz, whats up brother,
Did your hash match the one in the op post and did the version show 1.6.0.2 just to double check?

See the different css, thats what we had to do to upgrade our bezaleel theme (the red background).  I think I like it.  Especially with the Montserrat font, did you try that font?

Yeah, I can help you set up sancs in testnet.  You can read that one post in the OP post, near the bottom, that shows more details on how we did it in one of the old threads, let me know if you have any problems.  Do you need tBBP?  Its 4,500,001 per sanc.  Let me know the address if so.



  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #5 on: March 26, 2021, 05:31:36 AM »
Hey Earlz, whats up brother,
Did your hash match the one in the op post and did the version show 1.6.0.2 just to double check?

See the different css, thats what we had to do to upgrade our bezaleel theme (the red background).  I think I like it.  Especially with the Montserrat font, did you try that font?

Yeah, I can help you set up sancs in testnet.  You can read that one post in the OP post, near the bottom, that shows more details on how we did it in one of the old threads, let me know if you have any problems.  Do you need tBBP?  Its 4,500,001 per sanc.  Let me know the address if so.

Its all good here in Sweden, currently sun is shining and 15+ Celsius in the snowy spring.
I ran in terminal :
Code: [Select]
11:53:10
getblockhash 72711


11:53:10
77e19c10aef66caf8a44752c27cecc374dd11d54822d731c4f41af27946bbf5c

so looks like it same as
Quote
(Please ensure your version is greater than this, otherwise your testnet branch will not sync. 

We are at block  ___72711_____ as of March 23rd, 2021:  Blockhash 77e19c10aef66caf8a44752c27cecc374dd11d54822d731c4f41af27946bbf5c.

Then i ran:

Code: [Select]
11:57:06
getblockchaininfo


11:57:06
{
  "chain": "test",
  "blocks": 73128,
  "headers": 73128,
  "bestblockhash": "df276328f7b4484e77f6f9517f2b20dce4666333d40d314ea65f2c655e3a69a3",
  "difficulty": 6.144261732406791e-005,
  "mediantime": 1616754190,
  "verificationprogress": 0.9999479411738612,
  "initialblockdownload": false,
  "chainwork": "00000000000000000000000000000000000000000000000000016ceef9ee332c",
  "size_on_disk": 68095333,
  "pruned": false,
  "softforks": [
    {
      "id": "bip34",
      "version": 2,
      "reject": {
        "status": true
      }
    },
    {
      "id": "bip66",
      "version": 3,
      "reject": {
        "status": true
      }
    },
    {
      "id": "bip65",
      "version": 4,
      "reject": {
        "status": true
      }
    }
  ],
  "bip9_softforks": {
    "csv": {
      "status": "failed",
      "startTime": 1544655600,
      "timeout": 1576191600,
      "since": 21730
    },
    "dip0001": {
      "status": "failed",
      "startTime": 1544655600,
      "timeout": 1576191600,
      "since": 21700
    },
    "bip147": {
      "status": "failed",
      "startTime": 1544655600,
      "timeout": 1576191600,
      "since": 21700
    },
    "dip0003": {
      "status": "failed",
      "startTime": 1544655600,
      "timeout": 1576191600,
      "since": 21700
    },
    "dip0008": {
      "status": "failed",
      "startTime": 1553126400,
      "timeout": 1584748800,
      "since": 36000
    },
    "realloc": {
      "status": "defined",
      "startTime": 2602725462768,
      "timeout": 24,
      "since": 0
    }
  },
  "warnings": ""
}

Its alright i got plenty of tBBP , yeah i will do some read up on the sancs and what not, im currently completely rewiring my home to TNC-S system with rcds and spds so i wil mostly be on here on evenings.

Anyhow i will speak to you later.


PS: I noticed a bug on windows version 1.6.0.2 on the leaderboard when switching between summary view and details view that the owed bbp are the same for all participants on detail view while on summary view it looks correct i Believe. Im sending with a screenshot.
« Last Edit: March 26, 2021, 06:25:35 AM by earlzmoade »
Joshua 1:9
Have i not commanded you?
Be strong and courageous. Do not be afraid;
do not be discouraged, for the Lord your God
will be with you wherever you go.


  • Dunerghost
  • Jr. Member

    • 4


    • 6
    • February 21, 2021, 06:01:56 AM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #6 on: March 26, 2021, 05:40:03 AM »
Currently syncing testnet wallet, will test further after work and sync

I do like the Montserrat font and ability to adjust scale and weight. Looks very sharp.
1 Chronicles 16:11

 Look to the LORD and his strength; seek his face always.


  • Rob Andrews
  • Administrator

    • 4141


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #7 on: March 26, 2021, 07:14:15 AM »
Its all good here in Sweden, currently sun is shining and 15+ Celsius in the snowy spring.
I ran in terminal :
Code: [Select]


11:57:06
{
      "id": "bip66",
      "version": 3,
      "reject": {
        "status": true
      }
    },
    {
  "bip9_softforks": {
    "csv": {
      "status": "failed",
      "startTime": 1544655600,
      "timeout": 1576191600,
      "since": 21730
    },
    "dip0001": {
      "status": "failed",
      "startTime": 1544655600,
      "timeout": 1576191600,
      "since": 21700
    },
    "bip147": {
    "dip0008": {
      "status": "failed",
      "startTime": 1553126400,
      "timeout": 1584748800,
      "since": 36000
    },
    }
  },
  "warnings": ""
}

Its alright i got plenty of tBBP , yeah i will do some read up on the sancs and what not, im currently completely rewiring my home to TNC-S system with rcds and spds so i wil mostly be on here on evenings.

Anyhow i will speak to you later.


PS: I noticed a bug on windows version 1.6.0.2 on the leaderboard when switching between summary view and details view that the owed bbp are the same for all participants on detail view while on summary view it looks correct i Believe. Im sending with a screenshot.

Hi Earlz!  Glad to see you have sunny cool weather, thats the best.   Oh your rewiring, thats cool.  Did your house have some old aluminum overheating wire and no ground system?  (I rewired a whole house once in a wooded area, it was a house destined to be destroyed but I bought it and flipped it - I used regular romex in the whole thing - didnt even make a profit etc).


Yeah it looks like you are up on 1602, with the best block.  I was just making sure that the latest deploy was the actual 1602 cause I had a lot of personal releases to even get it to boot and sync on 1601.  Yes your hash matches my latest also excellent.

So it looks like dash moved getinfo to getnetworkinfo.  That was the old command that shows the current version in non-qt. 
Anyway I see you ran getblockchaininfo and that did result in me adding at least one more todo item for any of the dips that show FAILED -- just to ensure even if we have 'hard switches' that the command output is correct (added).

I see what you mean about the leaderboard.  Its cool btw you ran that in prod to see that.  I see the bug also - in DETAILS mode its showing the same amount owed for everyone.  I just added a todo for that.

Do you like the new theme overall and the montserat font?  (Dashs idea was to have a Dark and a Light theme.  Due to time constraints what I did was I started with the Dark theme and ported our BBP-Bezaleel into it for a single theme for now). 

I noticed this version is much fast to at least sign, send and receive coins.  I think they removed some problems in the UI filters and the wallet signing.

So far testnet is going relatively well in that my three sancs have stayed up (see them in masternodes?) (Oh we need to rename all masternode to sanctuary again, added).
The RandomX internal miner is working (we need to test mining also!).
The GSCs are working and I received 1 superblock payment so far.  Can you please try creating an easybbpstake and user rec so we can see if you get a daily reward also?

However one thing that did not miraculously work so far are the llmqs.  They are still not forming.  Ill be checking into that.

I did a rough gloss over all the other pages and of course had to change the CSS on the bbp-univ final exam.



« Last Edit: March 26, 2021, 07:16:40 AM by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 4141


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #8 on: March 26, 2021, 07:26:10 AM »
Currently syncing testnet wallet, will test further after work and sync

I do like the Montserrat font and ability to adjust scale and weight. Looks very sharp.
Yeah thanks to Dash on that part.  One thing that we did is we added gen-ii wallet a while back (this gives us a vertical menu) while dash has the wide horiz menu etc.
I like the Montserrat for linux, and on windows I used my regular system font.

Anyway welcome aboard!  Let me know if you can find any issues, please do a user rec and a utxo stake too that will help us.



  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #9 on: March 26, 2021, 08:59:22 AM »
Quote
Hi Earlz!  Glad to see you have sunny cool weather, thats the best.   Oh your rewiring, thats cool.  Did your house have some old aluminum overheating wire and no ground system?  (I rewired a whole house once in a wooded area, it was a house destined to be destroyed but I bought it and flipped it - I used regular romex in the whole thing - didnt even make a profit etc).

I havent really had any problems with the electricity , but it was old installation, probably around 1950s or earlier. It was these kind of cable called kuhlo cable. In swedish "kulo kabel".  Its pretty much lead metal cased electrical cable and this stuff just not legal anymore, can become conductive and give you a electrical chock.

 So yeah i figure i rewire downstairs now when i have time off the work.
I have read in the states you are using 110/240v  , here in sweden its 230/400v.
Intresting to read about diffrent countries electrical grids and how things are wired.

Back to topic. Yeah the montserat font looks sweet. Usually i use night modes on exchanges so this fits like a glove.

Quote
The GSCs are working and I received 1 superblock payment so far.  Can you please try creating an easybbpstake and user rec so we can see if you get a daily reward also?

For sure. Later tonight i wll make a user record and a bbp stake.
« Last Edit: March 26, 2021, 09:08:41 AM by earlzmoade »
Joshua 1:9
Have i not commanded you?
Be strong and courageous. Do not be afraid;
do not be discouraged, for the Lord your God
will be with you wherever you go.


  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #10 on: March 26, 2021, 01:20:38 PM »
I already had user record from the february testnet on this wallet so i cant say if its problem free to create a new one.
However i from terminal i ran command :
Code: [Select]
19:04:56
easybbpstake 1000000 1


19:04:56
{
  "BBP UTXO": "84750b2eda071fe1a39713ae195f207e703f795ba765754928f93e2719a3f833-15",
  "BBP Address": "yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx",
  "BBP Amount": 1000000.001,
  "DWU": 200,
  "BBP Value USD": 190.1284485041285,
  "UTXO Value": 190.128448314,
  "Results": "The UTXO Stake Contract was created successfully.  Thank you for using BIBLEPAY. ",
  "TXID": "60b0269a15265ec76d406fa30a4392e807744967483fbde0b77e65866cfc064e"
}
I see myself in leaderboard and it looks alright.
But i noticed here in windows version that when you try to send bbp stake from the gui that the core wallet crashes and has to be rebooted.
Checking the debug log i got this:
Code: [Select]
AcquireWallets::GetWallets size=1, acquired=1Windows Exception: EXCEPTION_ACCESS_VIOLATION
No debug information available for stacktrace. You should add debug information and then run:
biblepay-qt.exe -printcrashinfo=cfbgsytmmvigc6kdojqxg2cjnztg6aiab5rgsytmmvygc6jnof2c4zlymuwvo2lomrxxo4zaiv4ggzlqoruw63r2ebcvqq2fkbkest2ol5augq2fknjv6vsjj5gecvcjj5hbasagtiaqaaaaad2yzoiaaaaaaachw25aaaaaaaaat4snaaaaaaaavaee4aaaaaaaajmxj4aaaaaaaadzwtyaaaaaaaf6ea7qcaaaaaapab7taaaaaaaa5yn7gaaaaaaabra56maaaaaaaamhp6iaaaaaaahbrl5qaaaaaaadv7x3aaaaaaaafw5eaaiaaaaabkpm7maaaaaaaaaa====
Joshua 1:9
Have i not commanded you?
Be strong and courageous. Do not be afraid;
do not be discouraged, for the Lord your God
will be with you wherever you go.


  • Rob Andrews
  • Administrator

    • 4141


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #11 on: March 27, 2021, 04:19:32 AM »
** Please temporarily stop testing this version **


I have discovered an issue with LLMQ that requires me to roll the chain back a little.

Please wait as I believe we will need a mandatory upgrade.  (The implication is if you create any more sancs now they may need recreated etc).



  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #12 on: March 27, 2021, 05:16:17 AM »
Yeah sure thing. ill shut everything down.
Joshua 1:9
Have i not commanded you?
Be strong and courageous. Do not be afraid;
do not be discouraged, for the Lord your God
will be with you wherever you go.


  • Rob Andrews
  • Administrator

    • 4141


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #13 on: March 27, 2021, 11:51:45 AM »
Yeah sure thing. ill shut everything down.
Thanks!  Yeah I believe the problem is solved now, had to stay up in the night to fix it, so now I will try to merge in some of the fixes in our todo list, so it should not be too much longer.



  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #14 on: March 27, 2021, 02:41:46 PM »
Np man take your time.
Just give us a shout when you want us back in.
Joshua 1:9
Have i not commanded you?
Be strong and courageous. Do not be afraid;
do not be discouraged, for the Lord your God
will be with you wherever you go.