Bible Pay

TestNet => Active Discussions => Topic started by: Rob Andrews on March 19, 2021, 10:44:38 AM

Title: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews 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



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

Not Ready:
     MacOS QT: https://biblepay.org/biblepaycore-evo-testnet.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

__________________________________________________________________________________________________________________________________________________________________________________________




Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews 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.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews 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
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade 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.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews 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.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade 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.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Dunerghost 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.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews 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.



Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews 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.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade 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.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade 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====
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews 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).

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on March 27, 2021, 05:16:17 AM
Yeah sure thing. ill shut everything down.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews 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.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on March 27, 2021, 02:41:46 PM
Np man take your time.
Just give us a shout when you want us back in.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on March 28, 2021, 07:43:19 AM
1.6.0.4-Mandatory Upgrade for Testnet

- Implement new payment %s at HARVEST_HEIGHT2 = 73500: // New payment %s for masternodes (20%), less for monthly budget (5%), more for UTXO (50%), RANDOMX (25%)
- Allow incoming connections to masternodes on TESTNET during syncing (allows us to bootstrap ourselves if all nodes are down)
- Provide a better UTXO error message when the foreign amount is empty
- Remove invalid getchaininfo responses since BBP has a few spork heights hardcoded
- Fix display width of masternodelist UI grid columns
- Recaption Masternode to sanctuary

** Note:

Please after you upgrade, restart your node with "-erasechain=1".
We only lost a couple hundred blocks, but most likely you will need to resend your UTXO stake again - and recreate your sanctuary.
I've recreated my 3 sancs and they are running now.

1) I fixed the crash you guys saw when you created a UTXO from the Send Money UI - checkbox.
2) I fixed the repeating columns problem in the leaderboard for the amount in details mode.
3) We need to test randomx pool mining, so I need to set up a testnet pool (to test xmrig against biblepaycore as a server)
4) Lets test sending some money in this next version; instantsend has been enabled.  Ill comment more on instantsend llmq (1 second transactions)
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on March 28, 2021, 10:49:40 AM
Regarding testing the RX pool mining from the server perspective, I believe we are OK.

Test Results : PASS

I tested this by running the 'getblockforstratum' command from biblepaycore 1.5.5.3 (synced in prod) and then running it from 1.6.0.4 (synced in prod), and the results look good for each field (except, in 1.6.0.4 we actually have a higher block version, but this is because the blocks are LLMQ-chainlocks blocks, and that should be fine for the pool to accept).

Ill do some searching now for other pool RPC commands just to make sure they are ported.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on March 29, 2021, 06:40:56 AM
okay i think im synced up now at version 1.6.0.4   
Says im at block number : 73446
I see that my utxo stake disappered like you said so i shall redo the stake.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on March 29, 2021, 06:51:20 AM
okay i think im synced up now at version 1.6.0.4   
Says im at block number : 73446
I see that my utxo stake disappered like you said so i shall redo the stake.

Hey brother--
I just edited the op post with the new hash of 73446.

Yeah, I just tested an llmq instant send (these are the new 1 second transactions we gained from llmq), and it worked.
To test one just send out some bbp (you can do this by clicking Donate To Dac for example and just donate some) and if the lightning bolt appears, double click it and it will also say "verified by instandsend".

I havent turned on chainlocks yet.

Now in prod, the last time we had a problem we fell out of sync within I think about 600 blocks.  So I believe the litmus test would be, especially if you can create one sanc to help us (then we will have 4 running over a longer period) is to see that the llmq quorum does not mysteriously dissapear within 30 days (IE up solid 30 days).  We will know if any of our sancs go out of sync and we have to reindex (we dont want that for a solid 30 days) and we want IX  to work every day with no outages.

So you can see the status of llmq by typing:
quorum list

This shows we have two testnet quorums (over 3 nodes).  To see the details, you have to have a sanc running, on the sanc type 'quorum dkgstatus' and you will  see the signers.

So far so good, I pray that God gets us through this one without any outages.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on March 29, 2021, 07:12:22 AM
Regarding testing of Proposals and Watchman on the Wall:

I created a proposal (see Proposal List page).  If you have a sanc you can vote on it.
Although the vote by coin age appears to work, and voting from Owned masternodes worked, I see a strange response (even though it worked).  It says I am either voting too often or voting failed.  I think we need to handle the new type of reply so that response needs fixed. 
Now we need to test watchman on the wall (this is one of biblepays features that removes the necessity to have python running - giving us Windows sanctuaries).
Theoretically watchman will automatically vote-in the monthly superblock.

EDIT: Ok, I fixed the response from Voting With Masternodes from the Right Click of Proposals | Proposal -- code will be in the next release.

We still need to test watchman on the wall.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on March 29, 2021, 07:45:22 AM
I tested both easybbpstake from terminal and also the send utxo stake button ui . Both worked just fine for me now and after a few confirmations i see myself on the leaderboard once again.

About the sanctuary i can probably spin up 1  this week and test out some things. would be good practice aswell for a prod 1..

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on March 31, 2021, 10:13:44 AM
Hello Rob.

I noticed that on 30th march that i received 2 utxo staking rewards in testnet, both said smart-contract-reward i believe.
Not sure if its normal?

On another note i figure i will see if i can manage to set up 1 masternode on friday.
I have read some diffrent guides  and believe i should be able to do it, if not i will bring in the big guns, (you)

Anyhow have a good week.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on March 31, 2021, 11:21:26 AM
Hello Rob.

I noticed that on 30th march that i received 2 utxo staking rewards in testnet, both said smart-contract-reward i believe.
Not sure if its normal?

On another note i figure i will see if i can manage to set up 1 masternode on friday.
I have read some diffrent guides  and believe i should be able to do it, if not i will bring in the big guns, (you)

Anyhow have a good week.
Could you please paste the two txids so I can relate to them?  Cause sometimes its mining - other times the 48 hour delay - or could be older utxostakes sent before we rejumped etc.

On the sanc, I highly recommend this method (this is how i do it):
- Send 4,500,001 to a new address labeled earlz1
- Create a masternode.conf file in /testnet3 directory, with the fields shown in it (earlz1 ip:port sanc_collateral ordinal)
- After a couple blocks type 'exec upgradesanc earlz1'
- After another block 'exec revivesanc earlz1'

That will create stuff in the deterministic.conf file.  In there, you can copy the bls_priv_key over to your new sanctuary biblepaytest.conf file (that file I mean is the biblepaytest.conf file located on the target sanctuary vm).  Set:
masternodeblsprivkey=xxxxxxxxxx
Btw, Vultr recently added clipboard functionality to the hosts!  I use it in this case.

Then restart the new sanc and make sure it ssays 'masternode status' = all the stuff that is supposed to say.

Let me know if this helps!  Its a lot easier than dashs method(s) of doing a whole page of stuff, imho.

I will try to make more test cases too.  Thanks.

Btw, you can run your testnet sanc side-by-side one of your prod rented hosts too - they dont interfere.  Thats what I am doing, I have 1 testnet sanc on each of my first 3 vultr hosts that host prod biblepay sancs.

Also, one other helpful hint:  On your 'home controller', thats the bbp machine that "÷wns" the collateral for the sancs (the one you vote from) you should have the Sanctuaries tab enabled (settings | checkbox check for that).  You will need to look in there to see the new sanc on the list.  Important note:  Because of our POOS system, the sanc might say POOS banned.  Its OK in testnet - its still not POSE banned unless its status is > 800.  In testnet, its OK to have a status of between 0 and 700 (0 means healthy, 700 means non-paid but healthy).  900 means POSE banned.  900 is not ok.  When we hit 900, we need to 'revivesanc' again.  That only happens when your sanc is Offline during quorums etc.


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 01, 2021, 02:25:28 AM
Quote
Could you please paste the two txids so I can relate to them?  Cause sometimes its mining - other times the 48 hour delay - or could be older utxostakes sent before we rejumped etc.

Sure.

Code: [Select]
Status: 798 confirmations
Date: 2021-03-30 02:55
Source: Smart-Contract-Payment
Credit: 1574.00000000 tBBP
Net amount: +1574.00000000 tBBP
Transaction ID: 10f06f3e997991c93d3ba903e58895d75fe7ec594f0c62e544f5f81fd6883c24
Output index: 6
Transaction total size: 526 bytes

Generated coins must mature 101 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to "not accepted" and it won't be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.

Height: 73615
Difficulty: 0.00
Time: 03-30-2021 00:55:59
Subsidy: 8006.2302

Credit: 1574.00000000 tBBP
To: yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx 1574.0000 BIBLEPAY

Transaction:
CTransaction(hash=10f06f3e99, ver=3, type=5, vin.size=1, vout.size=8, nLockTime=0, vExtraPayload.size=38)
    CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 038f1f010101)
    CTxOut(nValue=8006.23015900, scriptPubKey=21034c70133e16081064ccadd6e1cb)
    CTxOut(nValue=1.00000000, scriptPubKey=76a9140a420a26777d56dcdc4f0639)
    CTxOut(nValue=111297.00000000, scriptPubKey=76a9140320677417acdc5387f7d728)
    CTxOut(nValue=109205.00000000, scriptPubKey=76a9142955ba1e2e918b3f3aea2401)
    CTxOut(nValue=1851.00000000, scriptPubKey=76a914506e73bbc55759ac4ea3bdb1)
    CTxOut(nValue=52881.00000000, scriptPubKey=76a914c89037a7f17a7f8a6a1098ac)
    CTxOut(nValue=1574.00000000, scriptPubKey=76a914e5aba986e884201c41d94fd6)
    CTxOut(nValue=16793.00000000, scriptPubKey=76a914ef328ee34637ffc3a1d21ce7)

Then the second

Code: [Select]
Status: 593 confirmations
Date: 2021-03-30 17:03
Source: Smart-Contract-Payment
Credit: 1574.00000000 tBBP
Net amount: +1574.00000000 tBBP
Transaction ID: b4d41e77feccbd4ae3aad84939f68aa13f644182c96d58727c7b72427a7c13d9
Output index: 6
Transaction total size: 526 bytes

Generated coins must mature 101 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to "not accepted" and it won't be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.

Height: 73820
Difficulty: 0.00
Time: 03-30-2021 15:03:45
Subsidy: 2499.0000

Credit: 1574.00000000 tBBP
To: yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx 1574.0000 BIBLEPAY

Transaction:

CTransaction(hash=b4d41e77fe, ver=3, type=5, vin.size=1, vout.size=8, nLockTime=0, vExtraPayload.size=38)
    CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 035c20010101)
    CTxOut(nValue=2499.00000000, scriptPubKey=21034c70133e16081064ccadd6e1cb)
    CTxOut(nValue=1.00000000, scriptPubKey=76a9149c04d190879f028eab28179d)
    CTxOut(nValue=111315.00000000, scriptPubKey=76a9140320677417acdc5387f7d728)
    CTxOut(nValue=109223.00000000, scriptPubKey=76a9142955ba1e2e918b3f3aea2401)
    CTxOut(nValue=1852.00000000, scriptPubKey=76a914506e73bbc55759ac4ea3bdb1)
    CTxOut(nValue=52889.00000000, scriptPubKey=76a914c89037a7f17a7f8a6a1098ac)
    CTxOut(nValue=1574.00000000, scriptPubKey=76a914e5aba986e884201c41d94fd6)
    CTxOut(nValue=16750.00000000, scriptPubKey=76a914ef328ee34637ffc3a1d21ce7)

I also sent out some tBBP to the dac for testing and it looks good, verified via instant send it said and also i see in transaction history  its like a Lightning bolt.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 01, 2021, 07:54:48 AM
Sure.

Code: [Select]
Status: 798 confirmations
Date: 2021-03-30 02:55
Source: Smart-Contract-Payment
Credit: 1574.00000000 tBBP
Net amount: +1574.00000000 tBBP
Transaction ID: 10f06f3e997991c93d3ba903e58895d75fe7ec594f0c62e544f5f81fd6883c24
Output index: 6
Transaction total size: 526 bytes

Generated coins must mature 101 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to "not accepted" and it won't be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.

Height: 73615
Difficulty: 0.00
Time: 03-30-2021 00:55:59
Subsidy: 8006.2302

Credit: 1574.00000000 tBBP
To: yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx 1574.0000 BIBLEPAY

Transaction:
CTransaction(hash=10f06f3e99, ver=3, type=5, vin.size=1, vout.size=8, nLockTime=0, vExtraPayload.size=38)
    CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 038f1f010101)
    CTxOut(nValue=8006.23015900, scriptPubKey=21034c70133e16081064ccadd6e1cb)
    CTxOut(nValue=1.00000000, scriptPubKey=76a9140a420a26777d56dcdc4f0639)
    CTxOut(nValue=111297.00000000, scriptPubKey=76a9140320677417acdc5387f7d728)
    CTxOut(nValue=109205.00000000, scriptPubKey=76a9142955ba1e2e918b3f3aea2401)
    CTxOut(nValue=1851.00000000, scriptPubKey=76a914506e73bbc55759ac4ea3bdb1)
    CTxOut(nValue=52881.00000000, scriptPubKey=76a914c89037a7f17a7f8a6a1098ac)
    CTxOut(nValue=1574.00000000, scriptPubKey=76a914e5aba986e884201c41d94fd6)
    CTxOut(nValue=16793.00000000, scriptPubKey=76a914ef328ee34637ffc3a1d21ce7)

Then the second

Code: [Select]
Status: 593 confirmations
Date: 2021-03-30 17:03
Source: Smart-Contract-Payment
Credit: 1574.00000000 tBBP
Net amount: +1574.00000000 tBBP
Transaction ID: b4d41e77feccbd4ae3aad84939f68aa13f644182c96d58727c7b72427a7c13d9
Output index: 6
Transaction total size: 526 bytes

Generated coins must mature 101 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to "not accepted" and it won't be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.

Height: 73820
Difficulty: 0.00
Time: 03-30-2021 15:03:45
Subsidy: 2499.0000

Credit: 1574.00000000 tBBP
To: yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx 1574.0000 BIBLEPAY

Transaction:

CTransaction(hash=b4d41e77fe, ver=3, type=5, vin.size=1, vout.size=8, nLockTime=0, vExtraPayload.size=38)
    CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 035c20010101)
    CTxOut(nValue=2499.00000000, scriptPubKey=21034c70133e16081064ccadd6e1cb)
    CTxOut(nValue=1.00000000, scriptPubKey=76a9149c04d190879f028eab28179d)
    CTxOut(nValue=111315.00000000, scriptPubKey=76a9140320677417acdc5387f7d728)
    CTxOut(nValue=109223.00000000, scriptPubKey=76a9142955ba1e2e918b3f3aea2401)
    CTxOut(nValue=1852.00000000, scriptPubKey=76a914506e73bbc55759ac4ea3bdb1)
    CTxOut(nValue=52889.00000000, scriptPubKey=76a914c89037a7f17a7f8a6a1098ac)
    CTxOut(nValue=1574.00000000, scriptPubKey=76a914e5aba986e884201c41d94fd6)
    CTxOut(nValue=16750.00000000, scriptPubKey=76a914ef328ee34637ffc3a1d21ce7)

I also sent out some tBBP to the dac for testing and it looks good, verified via instant send it said and also i see in transaction history  its like a Lightning bolt.

LOL, yes, Im glad I asked cause there are so many possibilities to this particular answer (why you received 2 stake rewards in one day):
In this case yes I see your 1574 reward in block 73615, and 1574 in 73820.
Yes this looks good, the 1574 should be coming from the utxo leaderboard, and the reason there are 2:
I forgot to mention, related to LLMQ, we had to fix the chain speed to be more accurate (to keep the quorums).  In testnet the blocks are faster (one every 3 minutes).  So we now have 2 superblocks per day in testnet.  But they are still spaced apart correctly (one every 205 blocks). 

Yeah thanks for testing llmq, I will be posting some more test cases asap.  Im deep in writing our new surprise feature now.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 01, 2021, 02:47:43 PM
1.6.0.5-Mandatory Upgrade for TestNet

- Add NFT 1.0 (Non-Fungible Tokens)
- Add High-Yield staking


Please upgrade everyone; break in compatibility.

I will work on making a wiki guide for high-yield staking asap, and one for NFTs.
I will also edit the OP post with test cases asap.

Feel free to post any questions after upgrading.  You should not need to resync the chain.

EDIT:  In the mean time you guys can test the legacy features, like memorize scripts and the final exam generator, read bible UI, etc.  All old menus.

EDIT II:
Please see the section on "high-risk" staking, and the Last FAQ about "high-risk" staking:
https://wiki.biblepay.org/UTXO_Mining

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

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 03, 2021, 06:21:05 PM
Ok I added some test cases to the OP post.

Btw, one thing we need to test is pop3 emails.  My email address in testnet is "[email protected]" (not rob) if someone will please send me a couple.

NOTE that in Prod, the address is still case sensitive but in testnet, it is not.  This next release fixes that bug in prod.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 07, 2021, 08:24:47 AM
Ok I added some test cases to the OP post.

Btw, one thing we need to test is pop3 emails.  My email address in testnet is "[email protected]" (not rob) if someone will please send me a couple.

NOTE that in Prod, the address is still case sensitive but in testnet, it is not.  This next release fixes that bug in prod.

Meanwhile im tinkering with setting up a mn on ubuntu  i figure i set up pop3 email account.  Im gonna try out your method rob on the masternodekey that you wrote.
I tried some other guide were as you get key on remote machine anyhow that didnt work or it didnt sync up on testnet so i scrapped that one and will try out your method, sounded less "complicated"  .

Anyhow expect a email from  [email protected] in a while.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 08, 2021, 04:11:40 PM
Meanwhile im tinkering with setting up a mn on ubuntu  i figure i set up pop3 email account.  Im gonna try out your method rob on the masternodekey that you wrote.
I tried some other guide were as you get key on remote machine anyhow that didnt work or it didnt sync up on testnet so i scrapped that one and will try out your method, sounded less "complicated"  .

Anyhow expect a email from  [email protected] in a while.

I did receive your pop3 email to my thunderbird (from biblepay-test) and just replied to EarlzScondTstSystem, please see.

Hopefully you can get the sanc going on the easy way!

Thanks!
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 09, 2021, 10:01:53 AM
TestNet Update:

So a lot has happened behind the scenes;  Ive added High-risk staking, referral codes, NFTs, and now Christmas Card home delivery.

We will need to perform a mandatory upgrade and test some of these things.
Let me go ahead and make a release, and I will post some test cases for Chainlocks plus these things right away.

Please keep your eyes peeled.

Thanks!

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 09, 2021, 10:10:30 AM
In the mean time you can start reading about BiblePay physical mail delivery:

https://wiki.biblepay.org/Direct_Mail_Delivery


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 09, 2021, 10:37:46 AM
Hi Rib,

Will update testnet, lets do a test on the Christmas card....pat
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 09, 2021, 11:09:23 AM
Hi Rib,

Will update testnet, lets do a test on the Christmas card....pat

Thats awesome Pat!  Let me push the release, give me about 5 more mins.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 09, 2021, 11:10:57 AM
1.6.0.6-Mandatory Upgrade for TestNet

- Add biblepay mail delivery (Christmas Cards) and phrase protected virtual gift cards
- Add high risk staking and referrals
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 09, 2021, 11:16:30 AM
Ok all, I will add a test case for Christmas cards.  The 1.6.0.6 has been released.  Please first upgrade to 1606 and verify in Tools | Info the version has been increased to 1606.

Test case for Christmas Card:

First read this:
https://wiki.biblepay.org/Direct_Mail_Delivery

1.  From the command line, save your home address information using the "Setup Environment" instructions (exec setmyaddress).
2.  Create a card with "exec testmail" with dry run set to 0 and biblepay gift card amount set to 0.
3.  Verify you receive the "PDF" link. 
4.  Open the link in a browser and verify all the info in the From, all the info in the To, and the extra paragraph added in step 2.


Separate test case for BiblePay gift cards:

1.  Re-do another dry run for a new Christmas card, but set the USD amount to be above 0 (IE 5.00 for example).
2.  Verify the wallet sent out the correct amount of BBP by comparing it to the actual gift card and our value.
3.  Note the passphrase that biblepay core included in the Proof PDF. 
4.  For this test, lets not unlock the passphrase for yourself, lets do one to each other.  Can one of you paste your passphrase in testnet and Ill try to claim it?
Then I will do a test too and send you my passphrase and see if you can open it.

EDIT: To get to the biblepay rpc console, click Tools | Console.  Then you can enter these advanced commands from there.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 09, 2021, 01:03:33 PM
Did someone create a new sanc with address "37.120"?  I think you are very close, but please run "exec revivesanc sancname" because your sanc is POSE banned.  I believe that is normal in this version (mine were pose banned when I created them too).

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 09, 2021, 01:07:30 PM
Chainlocks Update:

So the great great great news is that LLMQ quorums have not broken down in testnet since the llmq-start height.  Thats great because this is in contrast to how testing went for us last year with llmq and chainlocks (we had a few problems).  Meaning that I feel pretty good about transitioning to prod with llmq chainlocks.

So now I have enabled chainlocks.  We've tested llmq instantsend a little.  If you want to test this more, you can send some BBP to me at yT7j3zz8qGYumBAVN4ywJPYvFkRWWjNmVh and you will see the lightning bolt appear within a few seconds meaning its llmq-ix-locked.  You can double click on it also and see more about it (verified via instantsend).  (And post your BBP address and I will send some back to you with IX).

Now moving on to chainlocks, we should see the chain continue in a locked state for 60 more days solid with no reorgs and with no chainlock failures.

To check a chainlock, type 'getblock blocknumber'.  You can see the latest N blocks are now chainlocking!   Praise God.


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 09, 2021, 03:21:32 PM
Hi All,

If anyone wants to set up Windows 10 for the TestNet, I think I have could walk them through any issues that come up on Windows.

Had many issues at first, but with Rob's help, we got through them......

Blessings
Pat Buckley
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 09, 2021, 06:48:24 PM
Tested the Christmas card and sent a live card....really nice feature for BiblePay....

Pat
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 09, 2021, 07:41:34 PM
Tested the Christmas card and sent a live card....really nice feature for BiblePay....

Pat

Thank you so much Pat!  I will look into adding a GUI to send a card asap, but of course we are shooting to finish off NFTs first.
For NFTs, Im working on making a paginated page on the marketplace side, and making sure when you buy one there is no duplicate NFT available in the marketplace.
As soon as I get that working I will post some test cases for NFTs.

Yeah, I could see using those Christmas cards myself at Christmas time.
Btw, could you please test sending one with a Gift value of $5 or more?  You probably need testnet funds to do that.
Whats your testnet address and Ill send you some tBBP so we can test that next.

(Then you can make another card and post the card on testnet and Ill try to redeem the funds from the virtual gift card).

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 09, 2021, 08:06:39 PM
Address for my Testnet...yPzTBCeT2anvf4pmJpfeMWgNmJnqCNRMUq
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 09, 2021, 08:33:46 PM
Address for my Testnet...yPzTBCeT2anvf4pmJpfeMWgNmJnqCNRMUq

I sent you 5 mil.

So could you please create one with $5 or more of value in the gift card then post the PDF URL here and I will see if I can cash it in.
Then Ill send you (a new card) back.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 09, 2021, 10:07:49 PM
Card sent...Below is the PDF link..

https://dmprint.s3-us-west-2.amazonaws.com/assets/705c2f5f949f76842a99fa674a095bb3b6aae1d08a62eb7650f4791f0ee6f067.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210409%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210409T201325Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=9c4665087b22b84dd5d04f9240085da4f1065d8248c4f2d7d5cea42e928beeab
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 10, 2021, 08:39:42 AM
Card sent...Below is the PDF link..

https://dmprint.s3-us-west-2.amazonaws.com/assets/705c2f5f949f76842a99fa674a095bb3b6aae1d08a62eb7650f4791f0ee6f067.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210409%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210409T201325Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=9c4665087b22b84dd5d04f9240085da4f1065d8248c4f2d7d5cea42e928beeab

Hey brother--

The card is "close" but missing the gift card.

To make the gift card 'kick in' we need to pass an extra parameter to the 'exec testmail' command.  Right after your extra paragraph parameter, make that  0  a higher number (in USD).  That will then include the extra gift-card verbiage and password.  And it should spend that amount of BBP out of your wallet (when you double click on the tx, it should show a debit for that amount).  One more thing please make the dryrun=1 in this case also (I think we need to do that to see the BBP actually spend).  So last two params could be '5 1' for example to send $5 in 'real mode'.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 10, 2021, 11:39:58 AM
HI Rob,

Now sure I get what you are saying about the gift card, what shout this line look like....

Christmas blessings to you" 5.00 1
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 10, 2021, 12:48:27 PM
HI Rob,

Now sure I get what you are saying about the gift card, what shout this line look like....

Christmas blessings to you" 5.00 1

Yes correct, and as I mentioned about the necessity for a GUI, Im committed to making a GUI for this before our Harvest release, but for now the goal is to at least test the ability to make  a mailing, a custom paragraph, and a virtual gift card so thats why we need to go through the command line.  In a couple days, I will also show how we can send the paramter to get it deliverered to the house for real.

Anyway yes just set it like this:

exec testmail "Destination Name,Destination Address-Line-1,Destination City,Destination State,DestinationZip" "Your custom paragraph goes here!" gift_amount_in_usd 1

Just replace the gift_amount_in_usd with a 5 for example (or another dollar amount but dont go above $20 cause we dont want to lose all your tBBP).

Then paste the outcome and Ill try to cash in the card from my end - this will test the "virtual gift card passphrase".

Thanks!



Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 10, 2021, 01:20:17 PM
As promised I added endpoints for our NFT marketplace: One for purchasing digital goods; and a separate marketplace for sponsoring orphans.

The reason we have a separate marketplace for orphans is so that we can caption interactions with orphans as "Sponsorships", Sponsor (instead of buy or purchase), Child unavailable instead of Item, and to conform to regulatory reqs with our partners.  It also makes the system cleaner because we have separate pages for storefront vs children.  It will also be good because we dont have people 'bidding on children' like they bid on items.  (Although we could have sponsor to the highest bidder in the sense that the sponsorship lasts longer if someone pays more).

I also added the pagination that I know we will need (as soon as we have more than 14 items in the chain), and I added the 'suppress bought items mutex'.

So now I will need to create test cases for NFTs.
In the mean time you can view the marketplace/sponsorship URLs:

Goods:
https://foundation.biblepay.org/NFTBrowse
Children:
https://foundation.biblepay.org/NFTOrphans

Please dont share these URLs with anyone outside testnet yet, because these are testnet only URLs and I dont want anyone from foundation's pool to try to sponsor an orphan with real BBP yet as maybe it will do something strange etc til we are ready to release harvest to the server side etc.

Ill make test cases for NFTs next.



Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 10, 2021, 01:58:22 PM
Excellent Rob,

The NFT's are looking really  good, and they will add real utility and functionality to BiblePay.

I believe they will be a big success,  they are a type of digital asset, essentially a tradeable, digital ownership certificate, authenticated through the blockchain networks that hold a record of the underlying data....

Bring on the Christian artists, musicians, etc...this new feature offers a new way to give them:

Indisputable rights and royalties on projects.
Licensing contracts with guaranteed terms.
Authenticity verification for any digital file.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 10, 2021, 02:23:24 PM
NFT (Non Fungible Tokens) Test cases:

NFT Add:
- Create a brand new NFT by going to "NFTs | NFT Add".  Fill in the fields.  For the type be sure to select digital good.  For the URL, choose the final URL of the product-good-service you are selling a copy of (or the original of).  Side Note we will need to address copyright laws - most likely with a process to blacklist non-verified owners or plagiarizers etc.  Also on another side note, I would like to add a 'private encrypted URL' that can be deciphered when the item is purchased - this would be useful for us to render a low quality version of a product and/or a demo URL (for binaries), but when purchased, the user receives the high-quality asset URL.  Save the new NFT.  (We hash the NFT by its distinct URL so no two can exist that are the same).
- After a few blocks verify you can see the NFT in the NFT list (NFTs | List NFTs).
Also, verify you can see the NFT in the marketplace:
Goods:
https://foundation.biblepay.org/NFTBrowse

- Edit the NFT.  Verify you can change the marketable status, and the minimum offer price.
- View the NFT in the marketplace.  Verify you can see it.
- Buy the NFT in the marketplace.  Verify you receive the NFT in your NFT list.  For this test, buy one that you did NOT create, and let us buy one that you created so we can cross check the buy operation from each other.

Let us know if we have any serious considerations to fix, etc.

EDIT:  I think one way we can establish the 'private encrypted URL for a high-quality deliverable' is to add the HQ URL (or final deliverable URL) field to NFT create, and what we can do is RSA-encrypt it with the public key of the marketplace.  This means that the marketplace can decrypt the HQ url for the buyer upon a buy.  Yet, all other BBP users cannot decrypt it.



Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 12, 2021, 11:17:39 AM
Hi Rob,

Send another Card and here is the proof PDF link....

exec testmail "Patrick Buckley,15499 NW Norwich Street,Beaverton,OR,97006" "Christmas blessings to you" 5 1


"Proof": "https://dmprint.s3-us-west-2.amazonaws.com/assets/621e7260682e4f0cb5de0c43dfdc1485bdc75f3a39d1b180ef03bd4a60c09adf.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210412%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210412T161312Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=4c45887da5c72a563acc1b13d72b18eb1c16939874dc29e61f99365c81235e31
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 12, 2021, 01:48:27 PM
Hi Rob,

Send another Card and here is the proof PDF link....

exec testmail "Patrick Buckley,15499 NW Norwich Street,Beaverton,OR,97006" "Christmas blessings to you" 5 1


"Proof": "https://dmprint.s3-us-west-2.amazonaws.com/assets/621e7260682e4f0cb5de0c43dfdc1485bdc75f3a39d1b180ef03bd4a60c09adf.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210412%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210412T161312Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=4c45887da5c72a563acc1b13d72b18eb1c16939874dc29e61f99365c81235e31

Hi Pat!

Oh ok I see the problem-- in this case the problem was NOT on your end!  It was in the code.  So basically whats happening here is its adding the extra paragraph and the virtual gift card but its not going into the card!

Ok, let me do a fix on this issue and redeploy it so we can test this as a team (this ensures its actually fixed).

Ill get back to you asap.

In the mean time everyone can still test NFTs as this wont break compatibility when we release the fix.

Thanks,
Rob
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 12, 2021, 02:59:20 PM
Hello Rob and Pat.

So yeah finally i have the testnet sanctuary up and running.

Its the 37.120.... one

Still have some stuff to set up on the VM , but by all looks i ran the ./biblepay-cli masternode status  and i got ready ready
Im thinking gonna let it run over the night and see what happends, if its stable or reboots or whatever.

What would you like me to test out Rob?

Suppose could try out the test cases for the nfts that i saw you wrote.
Have a good one// earlz


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 12, 2021, 07:34:55 PM
1.6.0.7-Leisure Upgrade

- Add Send Greeting Card UI

** Could you all please upgrade at your leisure so we can test Greeting Cards from the UI?
I will post some test cases for this one too and circle back to Pat's test case.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 12, 2021, 07:38:06 PM
Hi Pat!

Oh ok I see the problem-- in this case the problem was NOT on your end!  It was in the code.  So basically whats happening here is its adding the extra paragraph and the virtual gift card but its not going into the card!

Ok, let me do a fix on this issue and redeploy it so we can test this as a team (this ensures its actually fixed).

Ill get back to you asap.

In the mean time everyone can still test NFTs as this wont break compatibility when we release the fix.

Thanks,
Rob

Hi Pat,

Since we are anticipating a blockbuster release toward the end of June I went ahead and added the UI for the Greeting Card generator.
To finish testing send and receive (and redeem) virtual gift cards, could you please upgrade first.

Then to test this, go to Greeting Card | Create.
Then populate the fields for a new one and you can now populate the 5.00 in the Gift Card amount.
When you create one you can copy the link address (and of course look at it and ensure that it inserted the verbiage for the actual gift card also) then paste it here and I will go ahead and try to redeem it on my end as if I am the recipient.

Others feel free to test this also!  Remember, if you are just coming back, Earlz first you will have to read the wiki on gift cards and run the step that sets your From address (exec setmyaddress) before you use the UI (you only have to do that once).

Thanks!


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 12, 2021, 07:43:33 PM
Hello Rob and Pat.

So yeah finally i have the testnet sanctuary up and running.

Its the 37.120.... one

Still have some stuff to set up on the VM , but by all looks i ran the ./biblepay-cli masternode status  and i got ready ready
Im thinking gonna let it run over the night and see what happends, if its stable or reboots or whatever.

What would you like me to test out Rob?

Suppose could try out the test cases for the nfts that i saw you wrote.
Have a good one// earlz
Hi Earlz, welcome back brother!
Its great to have you helping out especially with a sanctuary cause we really need to ensure chainlocks are rock solid!  Thanks for setting up a sanc!

Ok, I see you 37.120 in sanctuaries and your status is perfect (not pose banned).  As I mentioned POOS banned is OK (that means a sanc is on the level 2 payment tranche which is currently 1 bbp, but we were just recently discussing on our Sunday prayer call, that it might be an excellent idea to raise this level 2 tranche payment to maybe 200-500 bbp, just to allow non-orphan-sponsoring sancs to optionally help keep the network running and that helps keep us decentralized). 

Anyway yes, it would be cool for us to send at least a few IX locks to each other.
Can you please send me a small amount of tBBP to yQE49VaaaF599dJgQzmFkHqjHp4xbQ2oAu and immediately look at the txlist and see if the lightning bolt appears within 7 seconds?  Then double click and see if it says verified via instantsend?

Then do a getblock blocknumber of the Prior block and just see if it says  chainlock:true.

Then on your sanc do a 'quorum dkgstatus' and 'quorum list' and you should see some quorum info of the current quorum.

Then you can also test out greeting card Create - send a greeting card with some USD in it, and paste the URL here.  Ill then show you how the recipient will cash in the value and then I will send one back to you.

Thanks!

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 12, 2021, 08:13:58 PM
Pat--

I see that you created an NFT pdf on deliverance.

I went into the pool and bought the NFT for 5 (which currently btw is the only option, because we dont have auctions, we just have buy it now).

Then I waited a few blocks and I can see the NFT in "my nfts".
Then I edited it and change it to 5555 minimum bid amount - and marketable.

Now it should be back in the marketplace.

Btw, now that I own it you should not be able to see it in your list or edit it.

But if you want, you can buy it again.


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 13, 2021, 12:22:14 PM
Hi Rob,

Tried to purchase my NFT

With the following error...

Sorry, the purchase failed. You have not been charged.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 13, 2021, 12:27:03 PM
Hi Earlz, welcome back brother!
Its great to have you helping out especially with a sanctuary cause we really need to ensure chainlocks are rock solid!  Thanks for setting up a sanc!

Ok, I see you 37.120 in sanctuaries and your status is perfect (not pose banned).  As I mentioned POOS banned is OK (that means a sanc is on the level 2 payment tranche which is currently 1 bbp, but we were just recently discussing on our Sunday prayer call, that it might be an excellent idea to raise this level 2 tranche payment to maybe 200-500 bbp, just to allow non-orphan-sponsoring sancs to optionally help keep the network running and that helps keep us decentralized). 

Anyway yes, it would be cool for us to send at least a few IX locks to each other.
Can you please send me a small amount of tBBP to yQE49VaaaF599dJgQzmFkHqjHp4xbQ2oAu and immediately look at the txlist and see if the lightning bolt appears within 7 seconds?  Then double click and see if it says verified via instantsend?

Then do a getblock blocknumber of the Prior block and just see if it says  chainlock:true.

Then on your sanc do a 'quorum dkgstatus' and 'quorum list' and you should see some quorum info of the current quorum.

Then you can also test out greeting card Create - send a greeting card with some USD in it, and paste the URL here.  Ill then show you how the recipient will cash in the value and then I will send one back to you.

Thanks!

I sent 777 tbbp   to your adress and swiftly i checked transactions and saw the Lightning bolt on the transactation, then i clicked on details on the transactions and i saw it said "verified via instantsend" i believe it said then after Another few seconds i read the details changed to "locked  via chainlocks".
Code: [Select]
Status: 1 confirmations, locked via ChainLocks
Date: 2021-04-13 19:13
To: yQE49VaaaF599dJgQzmFkHqjHp4xbQ2oAu
Debit: -777.00000000 tBBP
Transaction fee: -0.02300000 tBBP
Net amount: -777.02300000 tBBP
Transaction ID: 9e760de3985c03bcd7380c9c4a1644a4b0d9621ffe645463abd34bf61cae8c21
Output index: 1
Transaction total size: 2293 bytes

Height: 78467
Difficulty: 0.00
Time: 04-13-2021 17:14:18
Subsidy: 7806.0724

then i wrote in terminal : getblock 78466 and got this output:

Code: [Select]
19:22:01
{
  "hash": "d31fc0bdd1689e9557d283199ab204198344afdf2ae9ea43f0caf0817fc658ac",
  "confirmations": 4,
  "size": 831,
  "height": 78466,
  "version": 1342177280,
  "versionHex": "50000000",
  "merkleroot": "102655573f92ca8bc39141ef8a515c1e5e624d3ec83b1519f0fd349fb97a911c",
  "tx": [
    "d9db7adc1f284597ac6a0184e9a5d4296323325961ccb474c3a0f29b867c8ddc",
    "0f92c94be23f09a5287b428a596bc8dd6e34f9fc4c64c34391e1b171ebf9d54e"
  ],
  "cbTx": {
    "version": 2,
    "height": 78466,
    "merkleRootMNList": "9844f3964b70392ede45b01271dbabde52dd8a9941d3e477df41e369722ac92a",
    "merkleRootQuorums": "e80d380788feea436fb1409f94fe86c240fe9e19eaebb67d385e4fa6813a179e"
  },
  "time": 1618333924,
  "mediantime": 1618332881,
  "hrtime": "04-13-2021 17:12:04",
  "nonce": 187,
  "bits": "1f0e494c",
  "difficulty": 1.068053955930286e-005,
  "chainwork": "00000000000000000000000000000000000000000000000000016ceefe1fd8a9",
  "nTx": 2,
  "subsidy": 7806,
  "blockversion": 1605,
  "sanctuary_reward": 1,
  "previousblockhash": "8a0a1f0e842ee1865ab375c65196c633a1f30cf2c10da4ce1448c98d43e12937",
  "verses": "Phi|1|17| But the other of love, knowing that I am set for the defence of the gospel.\r\nPhi|1|18| What then? notwithstanding, every way, whether in pretence, or in truth, Christ is preached; and I therein do rejoice, yea, and will rejoice.\r\nPhi|1|19| For I know that this shall turn to my salvation through your prayer, and the supply of the Spirit of Jesus Christ,\r\nPhi|1|20| According to my earnest expectation and my hope, that in nothing I shall be ashamed, but that with all boldness, as always, so now also Christ shall be magnified in my body, whether it be by life, or by death.\r\nPhi|1|21| For to me to live is Christ, and to die is gain.\r\nPhi|1|22| But if I live in the flesh, this is the fruit of my labour: yet what I shall choose I wot not.\r\nPhi|1|23| For I am in a strait betwixt two, having a desire to depart, and to be with Christ; which is far better:\r\n",
  "chaindata": "<VER>v1.6.0.5-Harvest</VER>",
  "chainlock": true,
  "nextblockhash": "5a78915237af134015af86475685756d20ca241d802e3f85063274441363572b"
}

chainlocks seems fine from what i can tell.

then i went into sanc and ran in terminal ./biblepay-cli quorum dkgstatus and output:
Code: [Select]
{
  "time": 1618331916,
  "timeStr": "2021-04-13 16:38:36",
  "session": {
  },
  "minableCommitments": {
    "llmq_test": {
      "version": 1,
      "llmqType": 100,
      "quorumHash": "ac0e58cfdec640afac752cb1f3ef6a3848fe1d97b4b9ddc0dc15c042238aa563",
      "signersCount": 0,
      "signers": "00",
      "validMembersCount": 0,
      "validMembers": "00",
      "quorumPublicKey": "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
      "quorumVvecHash": "0000000000000000000000000000000000000000000000000000000000000000",
      "quorumSig": "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
      "membersSig": "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
    }
  },
  "quorumConnections": {
    "llmq_test": [
      {
        "proTxHash": "d9a408bd3fd01e7e8a777cca4e9ddfce77b0185db3190bdb306cfa047ca09d52",
        "connected": true,
        "address": "149.28.254.165:58278",
        "outbound": false
      },
      {
        "proTxHash": "dd89c7cf8a50dae35b35895f11cc3d82c736d7b62349dbaeca799b4df2f6ed52",
        "connected": true,
        "address": "149.28.249.117:56358",
        "outbound": false
      },
      {
        "proTxHash": "71ed4d5cde3449731cf6aafd30fcd331d7ba10afcdcb80610040e97e7762f35a",
        "connected": true,
        "address": "45.76.62.90:60812",
        "outbound": true
      }
    ]
  }
}

then i did the other command that you wrote and output:

Code: [Select]
{
  "llmq_test": [
    "d77079cde2465f432e9170262ba7bb69317500c3264b309124d422f993380320",
    "18cbe73f89bb14d5fbc1d7a5f6c2cc295a00d76efe8623b4f2ffe48b322432cf"
  ]
}

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 13, 2021, 01:04:50 PM
Hi Rob,

Tried to purchase my NFT

With the following error...

Sorry, the purchase failed. You have not been charged.

Pat, Im not sure if I am not passing through the proper error message (Ill check when I get back to the house in a couple hours) in the mean time please check that in your Account Settings, you have your tBBP address (for the ownership of the NFT) pasted in that field?  And try it again in steps, and if that does not work please try to deposit some Real BBP into your account (IE more than the cost of the tBBP), dont worry it wont be spent and if it gets spent Ill send it back to you etc.

Remember please also test NFT Edit, and NFT view (from the core wallet etc to make sure you can View the nft by double clicking on the nft you own).  You can always create more for these tests.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 13, 2021, 02:55:00 PM
Figured out the problem, it was my tBBP, added some, and the NFT purchase now works...

Success


You are now the proud new owner of an NFT. Please see your biblepaycore home wallet NFT list to find 242be9fcc840427cadd33d2dd1c9fafae5261577c8b5e503b0663c7ad288f1d5.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 13, 2021, 04:08:25 PM
Figured out the problem, it was my tBBP, added some, and the NFT purchase now works...

Success


You are now the proud new owner of an NFT. Please see your biblepaycore home wallet NFT list to find 242be9fcc840427cadd33d2dd1c9fafae5261577c8b5e503b0663c7ad288f1d5.

Ok thats great, you just reminded me-- I think we need a few more features for NFTs to really work more like opensea.

For one there is no way to formally download the NFT even if you buy it.  You just get a hash code.
So we need some download link especially for the owner.
But Id like to see:  Low Quality download link (IE demo URL) and Hi Quality (encrypted download link) - for Buyer.
Ill look into this asap; I think it would be a good feature.  This way someone can upload the demo URL (for example for a piece of art, the low quality watermarked version) but when it is purchased, the buyer can download the HQ link.

The other thing Im going to try to implement is "buy it now price" and auctions.  If the auction site simply keeps track of highest offer, and allows the Owner to "accept" then a purchase can take place, otherwise offers keep coming in on it.  But the buy it now button could be driven by the minimum_buy_it_now amount field... This would give us more traffic and use I think...