Bible Pay

Archives => TestNet Discussion Archive => 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

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

__________________________________________________________________________________________________________________________________________________________________________________________




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...

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 13, 2021, 07:28:47 PM
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]
Stat
Net amount: -777.02300000 tBBP
Transaction ID: 9e760de3985c03bcd7380c9c4a1644a4b0d9621ffe645463abd34bf61cae8c21
Output index: 1
Transaction total size: 2293 bytes
4c34391e1b171ebf9d54e"
  ],
    "merkleRootMNList": "9844f3964b70392ede45b01271dbabde52dd8a9941d3e477df41e369722ac92a",
    "merkleRootQuorums": "e80d380788feea436fb1409f94fe86c240fe9e19eaebb67d385e4fa6813a179e"
  },
  "time": 1618333924,agnified 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
  "nextblockhash": "5a78915237af134015af86475685756d20ca241d802e3f85063274441363572b"
}

Hi bro Earlz,

So yes Im very very happy we are maintaining the consensus here, we still have a chainlocked chain, sancs are all healthy including yours, we still have an llmq quorum, and, I got your 777 via instant send.  Yes I checked the last block and it is chainlocked.

So yes your sanc is working fine. 

Do you think you can test the creation of a gift card?  We still need to test the send gift card from the UI, along with an included USD gift value.  You can create one from the top level menu Misc  | new gift card.  As mentioned prior you still have to set your éxec setmyaddress first.

EDIT: And btw in my last mail I think I asked if you got my pop3 reply to your mail in testnet can you please check if that worked?

And Pat could you make one too, never got a new one with a gift card amount yet.

Thanks!

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 14, 2021, 02:52:33 AM
Quote
EDIT: And btw in my last mail I think I asked if you got my pop3 reply to your mail in testnet can you please check if that worked?

The thing was that i realized that i had put wrong password on thunderbird mailclient here in testnet, i was thinking why cant i send mail to myself etc etc.. So i checked the testnet debug.log and i saw in there errors for the pop3 mail.
I fixed it ofcourse but the mails that i had sent out didnt appear in inbox. Thats why i sent you a test mail on prod a while back, when it worked i realized i had wrong setup on testnet thunderbird.

I have received 1 mail from you dated:  2021-04-08  and i sent back a mail that should have worked  dated 2021-04-09 .
ill send you Another mail to [email protected] with a number like we did in february testnet  for easy tracking.

Anyhow for sure i will test out the giftcard feature tonight.

EDIT: Rob perhaps you could create a sanc proposal that i could see if i can vote on, have a good one.
//earlz



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

Sent test Card...

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/ec50e56bbe1c16cf04a951bc5f39d08d4ade35069231e7d0b50b8f3457150f41.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210414%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210414T171241Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=dac0d1811bcd64de968980ceeab805669d308f658042f69a23e61a26607ba4ea
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 14, 2021, 12:29:56 PM
The thing was that i realized that i had put wrong password on thunderbird mailclient here in testnet, i was thinking why cant i send mail to myself etc etc.. So i checked the testnet debug.log and i saw in there errors for the pop3 mail.
I fixed it ofcourse but the mails that i had sent out didnt appear in inbox. Thats why i sent you a test mail on prod a while back, when it worked i realized i had wrong setup on testnet thunderbird.

I have received 1 mail from you dated:  2021-04-08  and i sent back a mail that should have worked  dated 2021-04-09 .
ill send you Another mail to [email protected] with a number like we did in february testnet  for easy tracking.

Anyhow for sure i will test out the giftcard feature tonight.

EDIT: Rob perhaps you could create a sanc proposal that i could see if i can vote on, have a good one.
//earlz
Hi Earlz,
Apparently I did something similar, my thunderbird was pointed to my localhost and I didnt actualy check testnet til now; so I checked and yes I did get your Harvest e-mail and just replied, so that did work.  That means e-mails are most likely working at least as good as the prior client; although yes we should test an encrypted one; can you send me one with [encrypted] in the subject next?

Great on the gift card.
Yes we should def create another sanc proposal; I will make one now and you can try to vote on it.

Thanks!

EDIT II:  I created a proposal; please vote.  NOTE:  For some reason your Sanc is getting POSE banned up to 759 so far.  It could either be it is offline, Or it could be that I am sending out a mandatory upgrade now for NFT 1.1; to isolate could you first upgrade; then after upgrading run 'exec revivesanc sancname' and it should drop back to 700.  Otherwise you might have trouble voting.

Plz wait a few mins for me to release the next release.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 14, 2021, 12:35:56 PM
Hi Rob,

Sent test Card...

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/ec50e56bbe1c16cf04a951bc5f39d08d4ade35069231e7d0b50b8f3457150f41.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210414%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210414T171241Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=dac0d1811bcd64de968980ceeab805669d308f658042f69a23e61a26607ba4ea

Hey bro Pat,

Could you please do it again through the UI now?  Because that is how everyone will go forward with it -- and it may be one step ahead of the RPC now also (with the virtual gift card).

To get to it see Misc on the top level menu.

Thanks!

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 14, 2021, 12:40:24 PM
1.6.0.8-Mandatory Upgrade for TestNet

- Add NFT 1.1 features


Could everyone please upgrade so we can now test NFT 1.1 as this breaks prior compatibility with our old NFTs (and the sancs).

Also all the old NFTs got deleted!  Sorry.  Could you please recreate some?

I will post test cases on the new features.

EDIT II:
Btw guys when you go to add a new nft, just populate the same URL in high and low quality for now.  I will explain the difference asap.  Thanks.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 14, 2021, 04:56:31 PM
Hi Rob,

I made a few more new NFT's, and they are showing in the forum marketplace, but they are not showing in the Testnet list of NFT's...
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 14, 2021, 04:58:41 PM
Hi Rob,

When through the UI in the Misc tab and sent a new Christmas Card...
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 14, 2021, 05:01:14 PM
Hi Rob,

I made a few more new NFT's, and they are showing in the forum marketplace, but they are not showing in the Testnet list of NFT's...

Hi Pat!  I had to do a new feature deploy to the foundation.biblepay marketplace to allow it to accept "offers".  That should theoretically be up and running now-- please check now.
Can you tell me if they are both in your wallet List and the foundation NFTBrowse list?

I havent got around to creating an orphan yet-- need to do that too.

Also now you can try making an offer on one of yours but you will have to set the Minimum Bid Amount lower than your Reserve.  Your Reserve price is the price you will accept for buy it now, while minimum bid is the lowest bid you will accept -- so please Edit your NFT first then re-save it with whatever minimum bid you want.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 14, 2021, 05:03:43 PM
Hi Rob,

When through the UI in the Misc tab and sent a new Christmas Card...

Thanks!  But I need the link to the card so I can view it and try to cash in the gift card value, please paste here.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 14, 2021, 05:30:23 PM
Here is the transaction info....hope this is what you are looking for...

Debit: -4 975 353.46561299 tBBP
Credit: 7350.79284449 tBBP
To: yWbF8NMCa44NUFWvKkDiFZErE8EQG6Erst 7350.0000 BIBLEPAY
Credit: 4 968 002.67020850 tBBP
To: yhCGw7Rt3yWonLC6DEsmMFvrbPSQDQTp9j 4968002.0000 BIBLEPAY

Transaction:
CTransaction(hash=2da27d79fb, ver=2, type=0, vin.size=1, vout.size=2, nLockTime=78534, vExtraPayload.size=0)
    CTxIn(COutPoint(1c165f54bbce1870794271abd48467819c636918a3a54e7a36e78cf2d4bfc929, 1), scriptSig=47304402207ead77dc3ad8a0, nSequence=4294967294)
    CTxOut(nValue=7350.79284449, scriptPubKey=76a91470ae20f8c0aaacb0d9b4b56f)
    CTxOut(nValue=4968002.67020850, scriptPubKey=76a914e4ff73ea49662ae5c7b09876)
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 14, 2021, 06:08:07 PM
Here is the transaction info....hope this is what you are looking for...

Debit: -4 975 353.46561299 tBBP
Credit: 7350.79284449 tBBP
To: yWbF8NMCa44NUFWvKkDiFZErE8EQG6Erst 7350.0000 BIBLEPAY
Credit: 4 968 002.67020850 tBBP
To: yhCGw7Rt3yWonLC6DEsmMFvrbPSQDQTp9j 4968002.0000 BIBLEPAY

Transaction:
CTransaction(hash=2da27d79fb, ver=2, type=0, vin.size=1, vout.size=2, nLockTime=78534, vExtraPayload.size=0)
    CTxIn(COutPoint(1c165f54bbce1870794271abd48467819c636918a3a54e7a36e78cf2d4bfc929, 1), scriptSig=47304402207ead77dc3ad8a0, nSequence=4294967294)
    CTxOut(nValue=7350.79284449, scriptPubKey=76a91470ae20f8c0aaacb0d9b4b56f)
    CTxOut(nValue=4968002.67020850, scriptPubKey=76a914e4ff73ea49662ae5c7b09876)

No, for anonymity reasons - we do not store the recipients address or paragraph or the senders name or address or any of that in the chain. 

So what Im looking for is the link (like you pasted last time when we did it from the command line) that lets us view the card.
This is equivalent to me opening it up in my mailbox.

Then I can read it and try to cash it in as if Im the recipient with a gift in my mailbox.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 14, 2021, 08:16:03 PM
Hi Rob,

Send another Christmas Card, where do I see the proof link ?????

The UI just gives me the Successfully created Mail Delivery ID...

btw: The NFT's that I created can not be seen in the List my NFT's, they do show in the forum NFT marketplace....

btw: My Testnet says Syncing Headers 99.3% looks like it is not fully synced ???
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 15, 2021, 02:19:47 AM
Hi Rob,

Send another Christmas Card, where do I see the proof link ?????

The UI just gives me the Successfully created Mail Delivery ID...

btw: The NFT's that I created can not be seen in the List my NFT's, they do show in the forum NFT marketplace....

btw: My Testnet says Syncing Headers 99.3% looks like it is not fully synced ???

Hello Pat.

If you are still stuck at the "syncing headers part" you could try in the core wallet : Tools>wallet repair>rebuild index.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 15, 2021, 07:39:51 AM
Hi Rob,

Send another Christmas Card, where do I see the proof link ?????

The UI just gives me the Successfully created Mail Delivery ID...

btw: The NFT's that I created can not be seen in the List my NFT's, they do show in the forum NFT marketplace....

btw: My Testnet says Syncing Headers 99.3% looks like it is not fully synced ???

Hi Pat,

First on the syncing.  I wouldnt mind if you could try a couple things before resorting to erase index.  Because in testnet we really need to know the underlying problem (if we rebuild we will lose the potential root cause).  However I see all 3 of my sancs are in sync and my home client in sync so there is a good chance your 99.3% message is just what you get during the first 5 mins of boot (when its loading governance data).  First we need to check to see if you are actually out of sync.  Plz run this command:

getblockhash 79088


31f092b81ca0cc1429cc19c7de9ce4372da1bb4fd9eefe007993fb2a5ff95b5a

See if it matches?  If it does its probably just you have to wait longer for your masternode data - or maybe you have no connections?  See if you have peer connections?  (Tools | Debug Console | Peers - look for other peers).

So on the link, when you make the card, it pops up an anchor link on the message box that can be clicked or right clicked.  If you click it, it takes you to the card and from there you can copy it.  Or you can copy the link by right clicking and click copy URL.

We also provide the link on the bottom of the page so if you already hit enter, you can copy it from there. 

Let me know if you are in sync and if you arent, this would be a good log for you to send me (you can send me debug.log from %appdata%\biblepaytest\testnet3) to my email but only if your node is actually out of sync.

EDIT:  Btw we had a mandatory upgrade to 1.6.0.7, so plz ensure your version is 1607 also?  That would also cause you to go out of sync.


EDIT II:  On the NFTs, Ok yes I do see your nfts in the marketplace, but they are not in your NFT list -- OK, let me try to reproduce that on my end, thanks....

Im making an orphan NFT now.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 15, 2021, 07:42:23 AM
Hello Pat.

If you are still stuck at the "syncing headers part" you could try in the core wallet : Tools>wallet repair>rebuild index.

Hi Earlz!  On your sanc I see it went back to revived (700) yesterday but it crept up to (721) again.  Im just trying to ensure we have perfect llmqs in testnet could you see if it was off or a bad connection or went out of sync or anything at all?  Im hoping it was just off for a while...

I sent Pat my last hash you can check your sanc with the same one too?

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 15, 2021, 08:06:02 AM
Hi Rob,

- Cannot see the NFTs in the list

Hi Pat, regarding this one:
First I checked my 3 that I created (the new ones) and I can see them so lets try to drill down into this to figure this out.
(I click on NFTs | List My NFTs - and I see just my 3 in the grid...  Yours are still empty correct?):

Could you please try:
listnfts 1 1

This should show you all the nfts and the first 3 or so should be yours, and I see they look fine (I see both URLs and they are not deleted and I see your CPK).
So to know if they are Yours, we compare the CPK (Christian-public-key) with your cpk.

Could you please take note of your cpk address, then click File | Receiving addresses, and tell me if your "Christian-Public-Keypair"has not been altered, and is it still labeled?  I dont know but maybe you erased your wallet and went to a new key possibly (compare the addresses)?

Thanks!

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 15, 2021, 08:10:41 AM
Hi Earlz!  On your sanc I see it went back to revived (700) yesterday but it crept up to (721) again.  Im just trying to ensure we have perfect llmqs in testnet could you see if it was off or a bad connection or went out of sync or anything at all?  Im hoping it was just off for a while...

I sent Pat my last hash you can check your sanc with the same one too?

Howdy.

Yeah i believe its my internet connection. Im running over 4G network and normally its stable enough run mining rigs and what not. But ever so often i need to reboot this ZTE 4G router that i have.

Today i also shut off masternode so i could update to v 1.6.0.8
i ran the getblockhash command in terminal and got:
Code: [Select]
getblockhash 79088
31f092b81ca0cc1429cc19c7de9ce4372da1bb4fd9eefe007993fb2a5ff95b5a

comparing to the one you posted: 31f092b81ca0cc1429cc19c7de9ce4372da1bb4fd9eefe007993fb2a5ff95b5a

It looks the same to me as the one you posted.

I suppose i could setup a sanctuary on a real VPS provider by the end of the month, alteast uptime then should be 100%
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 15, 2021, 08:29:53 AM
Just FYI, I see the links on the greeting card generate page are pretty small and in QT they default to dark blue, so on the next version I force it to be 150% bigger in Pink, and it will say "REVIEW PROOF HERE" etc..  We will wait til next feature release though for this as its cosmetic only.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 15, 2021, 08:31:54 AM
Howdy.

Yeah i believe its my internet connection. Im running over 4G network and normally its stable enough run mining rigs and what not. But ever so often i need to reboot this ZTE 4G router that i have.

Today i also shut off masternode so i could update to v 1.6.0.8
i ran the getblockhash command in terminal and got:
Code: [Select]
getblockhash 79088
31f092b81ca0cc1429cc19c7de9ce4372da1bb4fd9eefe007993fb2a5ff95b5a

comparing to the one you posted: 31f092b81ca0cc1429cc19c7de9ce4372da1bb4fd9eefe007993fb2a5ff95b5a

It looks the same to me as the one you posted.

I suppose i could setup a sanctuary on a real VM provider by the end of the month, alteast uptime then should be 100%
Hi Earlz,

Well thats actually pretty good then we may not need a new sanc later, because this simulates real conditions of going in and out.  Theoretically, every time your sanc makes a good chainlock call, the 721 should decrease by itself back toward 700.  So if the sanc continues to get paid and running, its fine.

Let me know if you can do a greeting card virtual gift generate too so I can try to cash one in.

Im going to make test cases for "referrals" and "high risk stakes" also.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 15, 2021, 08:47:32 AM
I added an orphan NFT:

http://foundation.biblepay.org/NFTOrphans

If anyone wants to sponsor her go ahead:

But we need 2 more features I have in todo list for orphans:  We need to make it so a person cannot re-sell an orphan once they 'sponsor one'  - so basically they Sponsor Now, that establishes the 'buy date' in the chain, the orphan is Good for that many days (IE 90 from that date) and at the end of the term the orphan automatically deletes herself, etc, but they may not re-sell the orphan.

But if you try now you should at least have her in your NFTs list.

Also on the digital goods you can see we now have Auctions 1.0 (ability to accept Offers) and Buy-it-now:
http://foundation.biblepay.org/NFTBrowse

I entered a few Offers on some.

The way it currently works is the only way an offer is accepted is if the owner sees the offer and Edits the NFT reserve price to be a little lower, then a new offer hits higher than that and that person gets the nft.  (We dont currently continually monitor old bidders and escrow their funds and allow a purchase to go through although, I think we should do that soon.

An example of that is John Bids 1000 for NFT1, it is below the reserve.  Later the Owner lowers the Reserve to 999.  At that very second the foundation could "remember" the bidder that bid 1000, and immediately take it and complete the sale.  Thats the feature we dont have yet that we can add soon)..


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 15, 2021, 09:27:00 AM
First we need to test a high risk stake as compared to a regular conservative stake.

The old conservative stake for BBP alone is the one where you type:
easybbpstake 1000000 1
(For example to stake 1MM)

Now we have this High risk staking, where we lock up your coins for the duration You specify (from 31 days to 365 days currently).
Please read this page about High-risk including the End FAQ:
https://wiki.biblepay.org/UTXO_Mining

Then go ahead and create a high risk stake with "highriskbbpstake" command.
If you are savvy and have some extra foreign coins you can also run a "highriskstake" hybrid stake as well.

Ill explain how we can report on the listutxostakes in a little while.  Right now we have a field called "elapsed" vs. "commitment".  The commitment is the number of days you locked up your stake for (IE 365 equals one year).  If you have a commitment of 365, and 7 days has elapsed since you staked the high risk stake, listutxostakes says :  e7/365 (this means elapsed 7, out of 365 days committed).  Note in testnet, we tweaked the clock to be 24* faster so we can test faster.  So days fly by 24* faster here (for utxostakes).

Why is this all relevant?  We need to test brute unlocking of the high risk stake to make sure the penalty is correct.  You can try to unlock and spend one of your high risk stakes early.  You should be penalized between ~30-99% (depending on market conditions) according to the wiki guide.  You will receive a warning in the UI detailing the network fees.

Let me know if you guys have any questions on all this.

In the mean time I will modify listutxostakes to have a better 'utxotype' column and cleaner elapsed etc, its kind of hard to know the difference between all your stakes right now.

Btw, you can double click on your position in the leaderboard and see the % of high risk stakes you have etc.

EDIT:  Id also like us to stake at least 50MM tBBP in test, because Id like to see the DWU drop down below 99% so we can see the differences in the next version which will have fields for high risk DWU vs conservative etc (so we are not hitting the cap).  Please create extra big stakes.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 15, 2021, 11:41:21 AM
We also need to test referral codes.  Please read this first:
https://wiki.biblepay.org/Referrals

I have created a referral code for my portfolio:
f7fb2bc74e818e4f84d28c7ad89f1ba129de4c55f9c779f89961debad931b6ad

Go ahead and attach it to your portfolios; and share your referral codes with me and I will attach yours and then we can run reports.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 15, 2021, 12:44:26 PM
Hi Rob,

Spent a lot of time figuring out why Windows 10 was so unstable regarding the Testnet installation, and after much searching and installing on another old Window 7 machine .....

The main problem was the Ext on the file names, corrected this problem and now back on track.

In the process I wiped out my Testnet wallet info, could you please send tBBP to:

CPK: ybQiJDpeboUbDQBNZUofFidcj1wgTsXfys
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 15, 2021, 02:23:10 PM
Hi Rob,

Spent a lot of time figuring out why Windows 10 was so unstable regarding the Testnet installation, and after much searching and installing on another old Window 7 machine .....

The main problem was the Ext on the file names, corrected this problem and now back on track.

In the process I wiped out my Testnet wallet info, could you please send tBBP to:

CPK: ybQiJDpeboUbDQBNZUofFidcj1wgTsXfys

Hi Pat,

Ok, I sent 10MM. 
Just so you know yeah the old NFTs are 'owned' by that old wallet but I think what you can do (this would be a great test for us anyway) is you can try to buy those NFTs with your new testnet wallet and see if you re-own them, then change the price a little and see if they update in the marketplace.

Yeah, thats another reason I havent gone to windows 10 yet.  I hear there is some spyware that needs disabled, and, there is a default 'mirror' for app storage that sort of makes everything confusing -- Im sure if you ask another win10 user here what the fix is they can explain.  Im still on 7 myself.

Just so you know when you move to prod, if you have a serious amount of BBP, and for best practices its good to backup your 'wallet.dat' file.  If you lose everything you can move it back and the CPK, NFTs, and BBP will be there.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 15, 2021, 03:05:41 PM
Rob,

I bought one of the NFT's and it was a success...

It does not show up in the Testnet list of NFT's, and it is gone from the marketplace..

I did back up my real BBP from the core wallet...
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 15, 2021, 03:08:22 PM
Rob,

Tried to send a Card and got this error message...

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 15, 2021, 03:17:45 PM
Rob,

Sorry, the NFT I bought does show up the the List my NFT's, but it has nor appeared in the marketplace yet ???
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 15, 2021, 03:27:47 PM
The NFT I bought and added different price shows up in the marketplace..
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 15, 2021, 03:53:48 PM
Evenin.

Rob i was thinking perhaps you could add the https://wiki.biblepay.org/Direct_Mail_Delivery (https://wiki.biblepay.org/Direct_Mail_Delivery) to your original post here were you have the other links to the wiki.

Im gonna sit down tomorrow and do some testing, see if i can do some christmas card, nfts and what not.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 15, 2021, 08:54:36 PM
Rob,

I bought one of the NFT's and it was a success...

It does not show up in the Testnet list of NFT's, and it is gone from the marketplace..

I did back up my real BBP from the core wallet...

It takes a few blocks for it to appear in My NFTs once you buy it -- was it successful after waiting a few blocks?

However Pat I do want to point one thing out:  I definitely plan on making a "My NFT list" from the foundation web side also, so people can *download* the NFTs they own (even if they dont have the core wallet open).  This would be useful for digital download links (especially the HQ link after a purchase)- I have that on my todo list.

Maybe we should also tell the user "Please wait a few blocks for the NFT to appear in your list.  "
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 15, 2021, 08:55:58 PM
Rob,

Tried to send a Card and got this error message...

This happens when your From address is not set (remember in the original doc we had to set the from address?), please set with 'exec setmyaddress' using the original doc.
This is because you have a new wallet again.
This wiki:
https://wiki.biblepay.org/Direct_Mail_Delivery


That only needs done once.

The GUI screen populates the To info each time for each distinct destination.

I still think we should add a CSV function also in the future for easy delivery to many contacts for Holidays!

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 15, 2021, 08:58:26 PM
Evenin.

Rob i was thinking perhaps you could add the https://wiki.biblepay.org/Direct_Mail_Delivery (https://wiki.biblepay.org/Direct_Mail_Delivery) to your original post here were you have the other links to the wiki.

Im gonna sit down tomorrow and do some testing, see if i can do some christmas card, nfts and what not.

Excellent, thanks, sounds good!

Yes, added to OP.

I will need to organize High Risk staking and Referrals also.

Ive got a good update coming for 'listutxostakes' makes it much nicer to read in the rpc, but Im waiting til we need another release.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 16, 2021, 09:35:33 AM
good afternoon.

So i wrote the command  in the terminal/Console:
Code: [Select]

15:09:16
exec setmyaddress "jake greene,1001 main st,jericho,KS,66062"


15:09:16
{
  "Command": "setmyaddress",
  "Name": "jake greene",
  "Address-line-1": "1001 main st",
  "City": "jericho",
  "State": "KS",
  "Zip": "66062",
  "Address Set Successfully": "NOTE:  If the fields above are incorrect, please re-set your address."
}


The initial setup Went smooth i believe, ofcourse name and adress is just fictional. Inspired of tv series called Jericho. https://www.imdb.com/title/tt0805663/?ref_=nv_sr_srsg_0 (https://www.imdb.com/title/tt0805663/?ref_=nv_sr_srsg_0) Personally i liked it, shame it was canceled.

But back to topic.
Yeah so that initial setup went just smooth. Then i continued to the  Misc>Send greeting card section and so i created a christmas greeting card, link as follow:

https://dmprint.s3-us-west-2.amazonaws.com/assets/c69694e29174788b37f105f540307caf39c6e259f4456dca08083a0de06f3099.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210416%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210416T141919Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=2ba522f898934e806741af8f7ba1a3f25f2adbb3a894a0f8268a7d606a7b58b2 (https://dmprint.s3-us-west-2.amazonaws.com/assets/c69694e29174788b37f105f540307caf39c6e259f4456dca08083a0de06f3099.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210416%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210416T141919Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=2ba522f898934e806741af8f7ba1a3f25f2adbb3a894a0f8268a7d606a7b58b2)

It was a success. sending with picture in attachment of core wallet confirmation window.

I did not click on the checkbox "Deliver this for real? if left unchecked we will create a proof of review, if checked we will charge"

Should I send another greeting card were i check the box?

Like you said the confirmation blue text was real small , had to remove my sunglasses to be able to see it  8)
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 16, 2021, 10:50:30 AM
Yes Rob, these are good ideas and will help our NFT efforts...
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 16, 2021, 11:54:38 AM
good afternoon.

So i wrote the command  in the terminal/Console:
Code: [Select]

15:09:16
exec setmyaddress "jake greene,1001 main st,jericho,KS,66062"


15:09:16
{
  "Command": "setmyaddress",
  "Name": "jake greene",
  "Address-line-1": "1001 main st",
  "City": "jericho",
  "State": "KS",
  "Zip": "66062",
  "Address Set Successfully": "NOTE:  If the fields above are incorrect, please re-set your address."
}


The initial setup Went smooth i believe, ofcourse name and adress is just fictional. Inspired of tv series called Jericho. https://www.imdb.com/title/tt0805663/?ref_=nv_sr_srsg_0 (https://www.imdb.com/title/tt0805663/?ref_=nv_sr_srsg_0) Personally i liked it, shame it was canceled.

But back to topic.
Yeah so that initial setup went just smooth. Then i continued to the  Misc>Send greeting card section and so i created a christmas greeting card, link as follow:

https://dmprint.s3-us-west-2.amazonaws.com/assets/c69694e29174788b37f105f540307caf39c6e259f4456dca08083a0de06f3099.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210416%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210416T141919Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=2ba522f898934e806741af8f7ba1a3f25f2adbb3a894a0f8268a7d606a7b58b2 (https://dmprint.s3-us-west-2.amazonaws.com/assets/c69694e29174788b37f105f540307caf39c6e259f4456dca08083a0de06f3099.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210416%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210416T141919Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=2ba522f898934e806741af8f7ba1a3f25f2adbb3a894a0f8268a7d606a7b58b2)

It was a success. sending with picture in attachment of core wallet confirmation window.

I did not click on the checkbox "Deliver this for real? if left unchecked we will create a proof of review, if checked we will charge"

Should I send another greeting card were i check the box?

Like you said the confirmation blue text was real small , had to remove my sunglasses to be able to see it  8)

Hi bro Earlz,

Your test went almost 99% good except one problem occurred; the From worked, the to worked, but for some reason I think there was a hidden control character in the To address.  Now I tested this locally a few times, but I suppose its still possible to capture a tab or an enter (or something else) in there which makes our "passphrase" indecipherable.

Btw, in this test version it doesnt really matter if you click Deliver for Real; as we send the gift money and do not deliver it to the house; although very soon I will change that to deliver it for real so we can get some in the mail.  But yes if its unchecked it still creates the gift card funds in the private key etc.

So I think best thing for me to do is make another release santizing the passphrase and let us test again; please hang on for the next version.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 16, 2021, 12:54:56 PM
1.6.0.9-Leisure Upgrade for TestNet

- Greeting Card:  Make Proof link bigger and pink
- Sanitize virtual gift card passphrases
- UTXO:  Add UTXO type (High risk or Conservative), Modify listutxostakes to actually be JSON
- Raise BBP block fees from dust levels to small levels (they were at dust in testnet, should be more like 1 bbp per 1K of size now - similar to prod) but providing an incentive for our miners as subsidies decrease over time
- Add tier2 payment for non POOS sancs (not active yet).  This gives tier2 a 250bbp reward to run a sanc that does not sponsor an orphan, simply for network stability.
- Recaption Duffs to Pence (This gives a name to our microcoins)
- Add better verbiage when unlocking a high-yield stake
- Modify coin control to include a nice 3 facet icon for: 1) A normal coin that is Locked/Unlocked is a normal Lock, 2) A conservative UTXO that is locked has a hard-disk plate on it in Red (or white if locked), 3) A high-yield UTXO that is locked has a chain on it and is red, a high-yield UTXO that is FULFILLED turns into a Holy Spirit Dove, a high yield Unlocked/Fulfilled turns to a Green dove.  This signifies : If it is High Yield and NOT fulfilled, it has the Chain on the lock meaning you dont want to touch it.  If it is high yield and fulfilled, it has the Dove.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 16, 2021, 01:18:27 PM
1.6.0.9-Leisure Upgrade for TestNet

- Greeting Card:  Make Proof link bigger and pink
- Sanitize virtual gift card passphrases
- UTXO:  Add UTXO type (High risk or Conservative), Modify listutxostakes to actually be JSON
- Raise BBP block fees from dust levels to small levels (they were at dust in testnet, should be more like 1 bbp per 1K of size now - similar to prod) but providing an incentive for our miners as subsidies decrease over time
- Add tier2 payment for non POOS sancs (not active yet).  This gives tier2 a 250bbp reward to run a sanc that does not sponsor an orphan, simply for network stability.
- Recaption Duffs to Pence (This gives a name to our microcoins)
- Add better verbiage when unlocking a high-yield stake
- Modify coin control to include a nice 3 facet icon for: 1) A normal coin that is Locked/Unlocked is a normal Lock, 2) A conservative UTXO that is locked has a hard-disk plate on it in Red (or white if locked), 3) A high-yield UTXO that is locked has a chain on it and is red, a high-yield UTXO that is FULFILLED turns into a Holy Spirit Dove, a high yield Unlocked/Fulfilled turns to a Green dove.  This signifies : If it is High Yield and NOT fulfilled, it has the Chain on the lock meaning you dont want to touch it.  If it is high yield and fulfilled, it has the Dove.

Sweet.

Alright so i redid the send greeting card, i noticed the bigger text for the verification link and the diffrent colour ofcourse.  Here is link to new card i set up :  https://dmprint.s3-us-west-2.amazonaws.com/assets/353a83ae62054ded19864e9614812b3f30ff00cb04b21c64b963d5df88c0a6ec.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210416%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210416T180544Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=ebf577ed70b2e4b6214d72c08aeb3fc3553bd45cc1212d57f078dc3e37388b49 (https://dmprint.s3-us-west-2.amazonaws.com/assets/353a83ae62054ded19864e9614812b3f30ff00cb04b21c64b963d5df88c0a6ec.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210416%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210416T180544Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=ebf577ed70b2e4b6214d72c08aeb3fc3553bd45cc1212d57f078dc3e37388b49)


I noticed that the last christmas card were debited twice if im not mistaken.
Hmm ill send with the information if you can make something out of it.

Code: [Select]
Status: 58 confirmations, locked via ChainLocks
Date: 2021-04-16 16:15
To: yYkEWzAaADwjMQeaZ2etUGxg9PJ2nagfi3
Debit: -9322.42856796 tBBP
Transaction fee: -0.32486000 tBBP
Net amount: -9322.75342796 tBBP
Transaction ID: facf769977558ae2ccd08217b8c7108bf27b7790e951da9a52c815717125e8d9
Output index: 1
Transaction total size: 32374 bytes

Height: 79454
Difficulty: 0.00
Time: 04-16-2021 14:18:54
Subsidy: 7806.3743

Then the second:

Code: [Select]
Status: 57 confirmations, locked via ChainLocks
Date: 2021-04-16 16:19
To: ygefa1gXn8KEhfq6dNYMH7cC7CL1EvV6c2
Debit: -9322.42856796 tBBP
Transaction fee: -0.00336000 tBBP
Net amount: -9322.43192796 tBBP
Transaction ID: 82cc96d985d0a880fc4378814d829b6db4548372e55c3267df3c302381d75faa
Output index: 1
Transaction total size: 335 bytes

Height: 79455
Difficulty: 0.00
Time: 04-16-2021 14:23:15
Subsidy: 7806.0528

I think i will see if i can do the NFT case scenario that you wrote earlier.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 16, 2021, 02:18:23 PM
Sweet.

Alright so i redid the send greeting card, i noticed the bigger text for the verification link and the diffrent colour ofcourse.  Here is link to new card i set up :  https://dmprint.s3-us-west-2.amazonaws.com/assets/353a83ae62054ded19864e9614812b3f30ff00cb04b21c64b963d5df88c0a6ec.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210416%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210416T180544Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=ebf577ed70b2e4b6214d72c08aeb3fc3553bd45cc1212d57f078dc3e37388b49 (https://dmprint.s3-us-west-2.amazonaws.com/assets/353a83ae62054ded19864e9614812b3f30ff00cb04b21c64b963d5df88c0a6ec.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210416%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210416T180544Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=ebf577ed70b2e4b6214d72c08aeb3fc3553bd45cc1212d57f078dc3e37388b49)


I noticed that the last christmas card were debited twice if im not mistaken.
Hmm ill send with the information if you can make something out of it.

Code: [Select]
Status: 58 confirmations, locked via ChainLocks
Date: 2021-04-16 16:15
To: yYkEWzAaADwjMQeaZ2etUGxg9PJ2nagfi3
Debit: -9322.42856796 tBBP
Transaction fee: -0.32486000 tBBP
Net amount: -9322.75342796 tBBP
Transaction ID: facf769977558ae2ccd08217b8c7108bf27b7790e951da9a52c815717125e8d9
Output index: 1
Transaction total size: 32374 bytes

Height: 79454
Difficulty: 0.00
Time: 04-16-2021 14:18:54
Subsidy: 7806.3743

Then the second:

Code: [Select]
Status: 57 confirmations, locked via ChainLocks
Date: 2021-04-16 16:19
To: ygefa1gXn8KEhfq6dNYMH7cC7CL1EvV6c2
Debit: -9322.42856796 tBBP
Transaction fee: -0.00336000 tBBP
Net amount: -9322.43192796 tBBP
Transaction ID: 82cc96d985d0a880fc4378814d829b6db4548372e55c3267df3c302381d75faa
Output index: 1
Transaction total size: 335 bytes

Height: 79455
Difficulty: 0.00
Time: 04-16-2021 14:23:15
Subsidy: 7806.0528

I think i will see if i can do the NFT case scenario that you wrote earlier.

This is kind of hilarious but I see whats happening finally..  We are sending the virtual gift amount to the correct new address, but then we are allowing you to spend the recipients money on your next outgoing "test" transaction (for example the $1 fee for the card, or your next message etc).

So we need to add even more code to lock the gift in the wallet so the Sender cant spend it (I think we can put a gift icon in coin control) then if the recipient never spends it you can come back in coin control in one year and reclaim it! Which is actualy a very sweet feature because it will cause people to want to give more and they know if its not spent they can get their money back...

I have a question though on the Honey Creek delivery.  When I type
14:13:46
acceptgift "21 Honey Creek Street"


14:13:46
{
  "Address": "yhYFfPdVaxDTCyuzWboHvm8BBb2GNwg4bd",
  "Note": "Your wallet will now rescan to reflect the gift balance!",
  "Accept": null
}

I see an address of yhYFf*.  The one you pasted above I think might be for the Older test; did the Honey Creek transaction send to the above address?  if you want can you paste that destination transaction for the Honey creek card?

Ill word on locking in the mean time.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 16, 2021, 02:43:51 PM
Quote
I have a question though on the Honey Creek delivery.  When I type
14:13:46
acceptgift "21 Honey Creek Street"


14:13:46
{
  "Address": "yhYFfPdVaxDTCyuzWboHvm8BBb2GNwg4bd",
  "Note": "Your wallet will now rescan to reflect the gift balance!",
  "Accept": null
}

I see an address of yhYFf*.  The one you pasted above I think might be for the Older test; did the Honey Creek transaction send to the above address?  if you want can you paste that destination transaction for the Honey creek card?

Ill word on locking in the mean time.

Evenin.

I Think that adress is for the honey crek card, hmm let me post the gsc transmission.

Code: [Select]
Status: 23 confirmations, locked via ChainLocks
Date: 2021-04-16 20:05
Total debit: 0.00000000 tBBP
Total credit: 0.00000000 tBBP
Transaction fee: -0.10100000 tBBP
Net amount: -0.10100000 tBBP
Transaction ID: 0ab27651d5d33b005c6bb1e973acb0f21bbefebfc78829b3649902efcf842702
Output index: 0
Transaction total size: 404 bytes

Height: 79509
Difficulty: 0.00
Time: 04-16-2021 18:05:56
Subsidy: 7806.1504

Debit: -6289.66688210 tBBP
Debit: -1196.97674000 tBBP
Credit: 1138.95068176 tBBP
To: ybwXJMQUEdMsQ9WKdTcQuepaYBT2d9EmAP 1138.0000 BIBLEPAY
Credit: 6347.59194034 tBBP
To: yhYFfPdVaxDTCyuzWboHvm8BBb2GNwg4bd 6347.0000 BIBLEPAY

Transaction:
CTransaction(hash=0ab27651d5, ver=2, type=0, vin.size=2, vout.size=2, nLockTime=79508, vExtraPayload.size=0)
    CTxIn(COutPoint(82cc96d985d0a880fc4378814d829b6db4548372e55c3267df3c302381d75faa, 0), scriptSig=483045022100d40d8a6ebca7, nSequence=4294967294)
    CTxIn(COutPoint(fdfd52c494f18874770b63c1988b7ea38297fb55161f2a7e01d4d24b43b45e1c, 0), scriptSig=4830450221008197bd4dd381, nSequence=4294967294)
    CTxOut(nValue=1138.95068176, scriptPubKey=76a914ab5c93a70693bf06fdf99aba)
    CTxOut(nValue=6347.59194034, scriptPubKey=76a914e8c6b604fa142b5d2ca7f76a)
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 16, 2021, 09:26:47 PM
1.6.1.0-Leisure Upgrade for testnet

- Coin Control: Display gift icon when it is a gift
- Auto unlock the gift if they 'acceptgift', lock gifts on wallet boot by default (this prevents gifts from being spent by the giver).  Add gift key to givers wallet so they can recall the gift if it is never redeemed.




Hi Guys--

Can we please try a new gift card for each of you?

This new release shows a "locked gift icon" in coin control once you create the gift.  It stays locked so that you dont spend it and it dissapears if the recipient redeems it.

Ill explain the rest when I redeem one of yours.

Thanks.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 16, 2021, 09:27:45 PM
Evenin.

I Think that adress is for the honey crek card, hmm let me post the gsc transmission.

Code: [Select]
Status: 23 confirmations, locked via ChainLocks
Date: 2021-04-16 20:05
Total debit: 0.00000000 tBBP
Total credit: 0.00000000 tBBP
Transaction fee: -0.10100000 tBBP
Net amount: -0.10100000 tBBP
Transaction ID: 0ab27651d5d33b005c6bb1e973acb0f21bbefebfc78829b3649902efcf842702
Output index: 0
Transaction total size: 404 bytes

Height: 79509
Difficulty: 0.00
Time: 04-16-2021 18:05:56
Subsidy: 7806.1504

Debit: -6289.66688210 tBBP
Debit: -1196.97674000 tBBP
Credit: 1138.95068176 tBBP
To: ybwXJMQUEdMsQ9WKdTcQuepaYBT2d9EmAP 1138.0000 BIBLEPAY
Credit: 6347.59194034 tBBP
To: yhYFfPdVaxDTCyuzWboHvm8BBb2GNwg4bd 6347.0000 BIBLEPAY

Transaction:
CTransaction(hash=0ab27651

Yeah, that one was the Honey Creek address, but lets start over cause the old version had the propensity to spend the gift it sent.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 17, 2021, 04:27:46 AM
1.6.1.0-Leisure Upgrade for testnet

- Coin Control: Display gift icon when it is a gift
- Auto unlock the gift if they 'acceptgift', lock gifts on wallet boot by default (this prevents gifts from being spent by the giver).  Add gift key to givers wallet so they can recall the gift if it is never redeemed.




Hi Guys--

Can we please try a new gift card for each of you?

This new release shows a "locked gift icon" in coin control once you create the gift.  It stays locked so that you dont spend it and it dissapears if the recipient redeems it.

Ill explain the rest when I redeem one of yours.

Thanks.

I noticed download windows link for testnet  still 1.6.0.9

For sure will try and send a new gift card once i have new version installed.
btw Rob, if i want to check the status of the masternode to for example see if block height same as the other masternodes in testnet, any useful commands  that i could use?

currently i have diffrent commands i have tried out  for various diffrent outputs
like: ./biblepay-cli masternode status , ./biblepay-cli -getinfo , ./mnsync status

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 17, 2021, 05:03:56 AM
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.

Quote
- Edit the NFT.  Verify you can change the marketable status, and the minimum offer price.
I created a NFT yesterday and bought it myself and i saw in transactions it was success.
Code: [Select]
Status: 210 confirmations, locked via ChainLocks
Date: 2021-04-16 21:30
From: unknown
To: yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx (own address, label: CHRISTIAN-PUBLIC-KEY)
Credit: 15 000.00000000 tBBP
Net amount: +15 000.00000000 tBBP
Transaction ID: e3f2dd502a9640d8ad3cfbf1480f5afbc97303c8ba6c1be4189a905e010fb3bf
Output index: 1
Transaction total size: 1519 bytes

Today i edited same nft , it worked, confirmation window and all and it should be up in Marketplace again. All this was on windows 10, core wallet version 1.6.0.9.
Also i bought Pats  p1,p2,p3 about depression, but i dont think i "payed" anything for them..Atleast i dont see any transactions in core wallet for them.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 17, 2021, 06:57:01 AM
I created a NFT yesterday and bought it myself and i saw in transactions it was success.
Code: [Select]
Status: 210 confirmations, locked via ChainLocks
Date: 2021-04-16 21:30
From: unknown
To: yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx (own address, label: CHRISTIAN-PUBLIC-KEY)
Credit: 15 000.00000000 tBBP
Net amount: +15 000.00000000 tBBP
Transaction ID: e3f2dd502a9640d8ad3cfbf1480f5afbc97303c8ba6c1be4189a905e010fb3bf
Output index: 1
Transaction total size: 1519 bytes

Today i edited same nft , it worked, confirmation window and all and it should be up in Marketplace again. All this was on windows 10, core wallet version 1.6.0.9.
Also i bought Pats  p1,p2,p3 about depression, but i dont think i "payed" anything for them..Atleast i dont see any transactions in core wallet for them.

Hi Earlz,
10-4 on the NFT add and edit working sweet; so looking at listnfts 1 1, I see your deer NFT lo qual url has a '\n' in it, could you try to edit it and repaste the url without the \n and see if the preview works from the pool (the inner frame of the nftbrowse?) ; and I added this to my todo list to cleanse those two fields.
EDIT: Btw, here is how you EDIT an NFT:  From the NFTs menu, click List.  From the List, double click one of your NFTs and it puts you in EDIT mode. Then you can change the fields.  To see the fields, use 'listnfts' and you will see the values more closely etc.

Thats great you could buy the depression; I have it where it doesnt actually debit your pool balance for the buy yet; but it does do a real purchase using the tBBP funds from the pool.  So it should be minor for me to enable the actual spend.  You can also buy an NFT outside of the pool with 'buynft' from the command line.

Does Pats NFTs show up in your Owned NFT list now?  If so you can edit them to make them remarketable if you want (IE to resale them to us) so we see them again.

Do you have the full (hi-quality) magnet link you can post in reply on the forum?  I am not familiar with those; I wouldnt mind clicking it to see if we can make nfts support those.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 17, 2021, 07:00:50 AM
I noticed download windows link for testnet  still 1.6.0.9

For sure will try and send a new gift card once i have new version installed.
btw Rob, if i want to check the status of the masternode to for example see if block height same as the other masternodes in testnet, any useful commands  that i could use?

currently i have diffrent commands i have tried out  for various diffrent outputs
like: ./biblepay-cli masternode status , ./biblepay-cli -getinfo , ./mnsync status

Hi Earlz!
From the sanc you can do a 'getblockchaininfo' and see if the height (and optionally hash) match the home node (since we dont have a testnet bx right now that would be cool someday to have I suppose), but anyway yeah you can also be fairly certain your node is fine if you go to "Sanctuaries" from your home QT wallet and monitor your sanc - if its down to 700 poos level, it must be in sync because these quorums are very strict.  I see right now you are back down to 700 so you are up!  You did see the Sanc list in the home wallet right?  Cause I would like you to right click and click on Show Orphan too.  Thats the orphan you are sponsoring (none).  Thats why you get paid 1 bbp right now (POOS ban).  When you sponsor an orphan, the payment jumps to 20% of the block etc.

Yes, let me check this deploy.  Im adding NFT auctions now, so let me get the next release done first then I will check the deploy.

Thanks.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 17, 2021, 08:06:24 AM
Gooday.

Yeah i see the sanctuary list on the home qt wallet , your 3 plus mine, no problems.
Quote
Thats great you could buy the depression; I have it where it doesnt actually debit your pool balance for the buy yet; but it does do a real purchase using the tBBP funds from the pool.

Aha yeah then thers no problem i suppose.

Quote
Does Pats NFTs show up in your Owned NFT list now?  If so you can edit them to make them remarketable if you want (IE to resale them to us) so we see them again.

Yeah  i see all my nfts in the NFTs>List My NFTs i also checked in the terminal/Console : listnfts 1 1   and i see them there aswell.

Aye will edit and enable them in the Marketplace again.

Heres the magnet link for the picture, but i suppose you need a torrent program for the p2p sharing from me to you.

Code: [Select]
magnet:?xt=urn:btih:cl4bsk54ys2hyihfp2k5s7ksusj357n3&dn=winterland.Deer.jpg&xl=3128938&fc=1
its just a normal jpg picture but just figure would be cool to see if it worked to create a magnet link in the nfts section.
I believe Ubuntu has Transmission as standard torrent p2p program and its lightweight and no stupid ads in it either.




Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 17, 2021, 11:24:39 AM
1.6.1.1-Mandatory Upgrade for TestNet

- NFT:  Restrict orphans from being Edited after Creation
- Add orphan sponsorship duration to 'listnfts'



Earlz-- There was a problem with the last deploy -- should be OK to download now and retry our cards and test cases now.

Btw, could everyone who created NFTs also Edit them and populate the "Buy it now" price?  It is a new field.

Ill explain Auctions asap.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 17, 2021, 02:21:12 PM
Quote
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.


Okay, warming up with the gift card test case.
In core wallet top menue, navigated to : Misc>Send Greeting Card
Then i populated the fields and set out test christmas card, link below:

https://dmprint.s3-us-west-2.amazonaws.com/assets/6a608a92468b6c5e2ba26176eb8990a6778301b8193f7f1a2effabade549af61.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210417%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210417T180930Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=4353bde2cf5cf2f7548c8b682033d16e1e388015e3c98541854802563452ba38 (https://dmprint.s3-us-west-2.amazonaws.com/assets/6a608a92468b6c5e2ba26176eb8990a6778301b8193f7f1a2effabade549af61.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210417%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210417T180930Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=4353bde2cf5cf2f7548c8b682033d16e1e388015e3c98541854802563452ba38)

Heres transaction details:
Code: [Select]
Status: 17 confirmations, locked via ChainLocks
Date: 2021-04-17 20:09
Total debit: 0.00000000 tBBP
Total credit: 0.00000000 tBBP
Transaction fee: -0.06425000 tBBP
Net amount: -0.06425000 tBBP
Transaction ID: 61e3d66e7764e0a9e34a7ec3bd6732b00281d90d9788f78092e8f83ea73017c4
Output index: 0
Transaction total size: 256 bytes

Height: 79856
Difficulty: 0.00
Time: 04-17-2021 18:16:13
Subsidy: 7806.1137

Debit: -15 000.00000000 tBBP
Credit: 4652.78205000 tBBP
To: yWxHrHhJE5bNyk5y8quCErNrxcsH7Gf7Jx 4652.0000 BIBLEPAY
Credit: 10 347.15370000 tBBP
To: yMYadWmegDUzwQnHpGRcFpoEcT3JGBpc1J 10347.0000 BIBLEPAY

Went smooth as far as i can tell.

Next test case i figure i do the NFTs one :

Quote
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.

Quote
Btw, could everyone who created NFTs also Edit them and populate the "Buy it now" price?  It is a new field.

I edited the old NFTs  so they all now have buy-it now price set.
Also created a new one that has all of them set.
Can also say that i deleted 1 nft and i dont see it in the list anymore so.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 17, 2021, 03:08:22 PM

NFT of Deer in back field from imgur


Hi Earlz,

Covering this one first, I was looking at the issue why the NFT in NFTBrowse won't show the imgur image even if we display it in an iframe - its because imgur apparently has javascript code that prevents third party sites from hosting their web page in another container (I dont think it will work even in a div), but obviously we are going to discourage that anyway and ask users to host the URL on a public accessible link,   and I see you did edit out the <enter> so that isolated that problem out of the way,  I see from their source this link, can you try this link next:

https://i.imgur.com/5mHGiuG.jpg

(Its inside your imgur page).  Then Ill test jpg next.

Regarding magnet download, I suppose that might be OK for the final download because a user may want to sell torrents.  From a trusted source (obviously a user could try to sell a virus).  I guess we eventually need reputation scores like ebay.  This may become as big as ebay.

Also I dont see your buy it now on the winterland deer yet, was that one already edited?
10-4 on the deleted one.

I will have to add a more specific case for us to test a Buy it now vs an auction. 

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 17, 2021, 03:40:29 PM
Evenin Brother Rob.

I just used imgur because was just first hosting site i could think of,  im back home from workshop so i cant check statuses but i was sure i edited the winter deer ones to have buyout price aswell.

Cant say for certain i might have missed that one. But i believe i edited Pats p1, p2, p3  best prayer for depression  to have buyout aswell.
Ill check tomorrow morning and get back to you.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 17, 2021, 04:41:33 PM
Evenin Brother Rob.

I just used imgur because was just first hosting site i could think of,  im back home from workshop so i cant check statuses but i was sure i edited the winter deer ones to have buyout price aswell.

Cant say for certain i might have missed that one. But i believe i edited Pats p1, p2, p3  best prayer for depression  to have buyout aswell.
Ill check tomorrow morning and get back to you.

Good evening Earlz,

Yeah I waited a few blocks on this one :
Code: [Select]
e15f5c0f4fdfc2dbecd1e2d446468a8025f40863622a707eba07e3284abd7e97": {
    "Type": "Digital Good (MP3, PNG, GIF, JPEG, PDF)",
    "CPK": "yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx",
    "Name": "winterland.deer",
    "Description": "picture of deers in northern sweden outside my homestead.\nThe URL magnet link is for  torrent download, for example deluge or tixati. Original so to say.",
    "Lo Quality URL": "https://imgur.com/5mHGiuG",
    "Hi Quality URL": "magnet:?xt=urn:btih:cl4bsk54ys2hyihfp2k5s7ksusj357n3&dn=winterland.Deer.jpg&xl=3128938&fc=1",
    "TXID": "bc6e2c1755712aed72868a4950aba83d73a487f4c1b66ce126edea5e7b735676",
    "Hash": "e15f5c0f4fdfc2dbecd1e2d446468a8025f40863622a707eba07e3284abd7e97",
    "MinimumBidAmount": 25,
    "ReserveAmount": 2500,
    "BuyItNowAmount": 0,
    "LowestAcceptableAmount": 2500,
    "Marketable": true,
    "Deleted": false,
    "Time": 1618687940
See how the BuyItNow amount is still 0, plz see if you can edit that one;

Next on the Card, yeah, Unfortunately we have one more problem (on my end).
I finally found that we need to rescan the entire wallet while the gui is locked or the Gift wont 'slip in' the qt tx list.

So we need another release to test this again--

Plz wait for the next release and lets do it again!

You guys can still test non greeting card stuff of course.

Thanks,
Rob
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 17, 2021, 06:39:56 PM
1.6.1.2 - Mandatory Upgrade for TestNet (Leisure Upgrade for Sancs)

- Ensure a full rescan occurs after using the acceptgift command



Ok guys, hopefully this is the last ripple in the water for Gift cards.  Please upgrade if you are an end user.  Lets try new gift cards again with dollar values and paste them here then I will (God willing) reply with new cards back to you.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 18, 2021, 04:08:26 AM
Mornin.

Yeah i see what you ment about bouyout price was not populated, checked NFTs>edit and yeah i said 0   on buyout price so seems i missed that one.
Should now be updated.
Code: [Select]
Status: 1 confirmations, locked via ChainLocks
Date: 2021-04-18 10:45
To: yLKSrCjLQFsfVgX8RjdctZ797d54atPjnV
Debit: -100.00000000 tBBP
Transaction fee: -0.31500000 tBBP
Net amount: -100.31500000 tBBP
Transaction ID: 648941b866bf6e5ab1542ea2ac40d74b18ea4d3516921b2024033dce48dac3c3
Output index: 0
Transaction total size: 1260 bytes

Height: 80065
Difficulty: 0.00
Time: 04-18-2021 08:45:15
Subsidy: 7611.1882

Debit: -637.49818176 tBBP
Credit: 537.18318176 tBBP
To: yi5c1NGPCVSDogzGzWyQ5TZe8B1ewU9BHE 537.0000 BIBLEPAY

Lookin at the NFT Browser i discovered something intresting.
I changed the buyout price to 1125 tBBP  but i see now when look at the NFT browser that there already was a bid for 2222 tBBP  , perhaps could add like Warning popup in NFT edits "Warning: You are trying to set lower buyout price then current highbid etc etc" 

Just a idea i had.

Ok let me update BBP core wallet  and send you a new postcard.

As Before Went into  core wallet top menue>Misc.>Send Greeting Card

Populated the fields and link  below:
https://dmprint.s3-us-west-2.amazonaws.com/assets/177b033bfdcc1a8704e2748911e16cf243caeeeb2cb50d45542a903967724b49.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210418%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210418T090138Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=7537e5b4bd99f47ac1ed4eca0a4f6452592434a44674e320afa2dbfdf7cbf5f7 (https://dmprint.s3-us-west-2.amazonaws.com/assets/177b033bfdcc1a8704e2748911e16cf243caeeeb2cb50d45542a903967724b49.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210418%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210418T090138Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=7537e5b4bd99f47ac1ed4eca0a4f6452592434a44674e320afa2dbfdf7cbf5f7)

Transaction details below:
Code: [Select]
Status: 2 confirmations, locked via ChainLocks
Date: 2021-04-18 11:01
Total debit: -18 578.15369999 tBBP
Total credit: 18 578.15369999 tBBP
Transaction fee: -0.13825000 tBBP
Net amount: -0.13825000 tBBP
Transaction ID: cedf9ad0991f8a69f8d19cd44c1ce78a15510b4ce326159f3b71e87488ca297e
Output index: 0
Transaction total size: 552 bytes

Height: 80069
Difficulty: 0.00
Time: 04-18-2021 09:02:34
Subsidy: 7611.0114

Debit: -7605.38215503 tBBP
Debit: -4552.43905000 tBBP
Debit: -7605.35265503 tBBP
Credit: 1184.88191007 tBBP
To: yZg81G9f45xyuVwgS4PthuZ2QQBZZDmEAC 1184.0000 BIBLEPAY
Credit: 18 578.15369999 tBBP
To: yZp18xG7c4jjndmSRDDLuN8DJGMupihXAR 18578.0000 BIBLEPAY

Transaction:
CTransaction(hash=cedf9ad099, ver=2, type=0, vin.size=3, vout.size=2, nLockTime=80067, vExtraPayload.size=0)
    CTxIn(COutPoint(002466087a7a97992fec2122301f8e0b56a81f8c5d88c6cf0c124bd7bbb89347, 1), scriptSig=483045022100daae6890512b, nSequence=4294967294)
    CTxIn(COutPoint(5f43649cc1b3eb16542d4144cfcedb8d92d576ef79fd0b8167c2ffe418d84eee, 1), scriptSig=47304402200bb2d41899b6c3, nSequence=4294967294)
    CTxIn(COutPoint(750dd8e8f671d97509c38605876dd46e0dbd78aefa6887d439802959949db5ff, 1), scriptSig=4830450221009bd288411c9b, nSequence=4294967294)
    CTxOut(nValue=1184.88191007, scriptPubKey=76a9149282a3eefb0ca37b55cacd4f)
    CTxOut(nValue=18578.15369999, scriptPubKey=76a91494003c46b5ad9a89f6f73b6e)
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 18, 2021, 08:38:51 AM
Mornin.

Yeah i see what you ment about bouyout price was not populated, checked NFTs>edit and yeah i said 0   on buyout price so seems i missed that one.
Should now be updated.
Code: [Select]
Status: 1 confirmations, locked via ChainLocks
Date: 2021-04-18 10:45
To: yLKSrCjLQFsfVgX8RjdctZ797d54atPjnV
Debit: -100.00000000 tBBP
Transaction fee: -0.31500000 tBBP
Net amount: -100.31500000 tBBP
Transaction ID: 648941b866bf6e5ab1542ea2ac40d74b18ea4d3516921b2024033dce48dac3c3
Output index: 0
Transaction total size: 1260 bytes

Height: 80065
Difficulty: 0.00
Time: 04-18-2021 08:45:15
Subsidy: 7611.1882

Debit: -637.49818176 tBBP
Credit: 537.18318176 tBBP
To: yi5c1NGPCVSDogzGzWyQ5TZe8B1ewU9BHE 537.0000 BIBLEPAY

Lookin at the NFT Browser i discovered something intresting.
I changed the buyout price to 1125 tBBP  but i see now when look at the NFT browser that there already was a bid for 2222 tBBP  , perhaps could add like Warning popup in NFT edits "Warning: You are trying to set lower buyout price then current highbid etc etc" 

Just a idea i had.

Ok let me update BBP core wallet  and send you a new postcard.

As Before Went into  core wallet top menue>Misc.>Send Greeting Card

Populated the fields and link  below:
https://dmprint.s3-us-west-2.amazonaws.com/assets/177b033bfdcc1a8704e2748911e16cf243caeeeb2cb50d45542a903967724b49.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210418%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210418T090138Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=7537e5b4bd99f47ac1ed4eca0a4f6452592434a44674e320afa2dbfdf7cbf5f7 (https://dmprint.s3-us-west-2.amazonaws.com/assets/177b033bfdcc1a8704e2748911e16cf243caeeeb2cb50d45542a903967724b49.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210418%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210418T090138Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=7537e5b4bd99f47ac1ed4eca0a4f6452592434a44674e320afa2dbfdf7cbf5f7)

Transaction details below:
Code: [Select]
Status: 2 confirmations, locked via ChainLocks
Date: 2021-04-18 11:01
Total debit: -18 578.15369999 tBBP
Total credit: 18 578.15369999 tBBP
Transaction fee: -0.13825000 tBBP
Net amount: -0.13825000 tBBP
Transaction ID: cedf9ad0991f8a69f8d19cd44c1ce78a15510b4ce326159f3b71e87488ca297e
Output index: 0
Transaction total size: 552 bytes

Height: 80069
Difficulty: 0.00
Time: 04-18-2021 09:02:34
Subsidy: 7611.0114

Debit: -7605.38215503 tBBP
Debit: -4552.43905000 tBBP
Debit: -7605.35265503 tBBP
Credit: 1184.88191007 tBBP
To: yZg81G9f45xyuVwgS4PthuZ2QQBZZDmEAC 1184.0000 BIBLEPAY
Credit: 18 578.15369999 tBBP
To: yZp18xG7c4jjndmSRDDLuN8DJGMupihXAR 18578.0000 BIBLEPAY

Transaction:
CTransaction(hash=cedf9ad099, ver=2, type=0, vin.size=3, vout.size=2, nLockTime=80067, vExtraPayload.size=0)
    CTxIn(COutPoint(002466087a7a97992fec2122301f8e0b56a81f8c5d88c6cf0c124bd7bbb89347, 1), scriptSig=483045022100daae6890512b, nSequence=4294967294)
    CTxIn(COutPoint(5f43649cc1b3eb16542d4144cfcedb8d92d576ef79fd0b8167c2ffe418d84eee, 1), scriptSig=47304402200bb2d41899b6c3, nSequence=4294967294)
    CTxIn(COutPoint(750dd8e8f671d97509c38605876dd46e0dbd78aefa6887d439802959949db5ff, 1), scriptSig=4830450221009bd288411c9b, nSequence=4294967294)
    CTxOut(nValue=1184.88191007, scriptPubKey=76a9149282a3eefb0ca37b55cacd4f)
    CTxOut(nValue=18578.15369999, scriptPubKey=76a91494003c46b5ad9a89f6f73b6e)

GMorning Bro Earlz,

Yes good catch on the bidding lower than someones high bid.  I do have it to where it displays of course the high bid, but no sense in accepting a lower bid lol, yes, added to my todo.


I will check this gift card next.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 18, 2021, 08:58:46 AM
Mornin.

Ok let me update BBP core wallet  and send you a new postcard.

As Before Went into  core wallet top menue>Misc.>Send Greeting Card

Populated the fields and link  below:
https://dmprint.s3-us-west-2.amazonaws.com/assets/177b033bfdcc1a8704e2748911e16cf243caeeeb2cb50d45542a903967724b49.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210418%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210418T090138Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=7537e5b4bd99f47ac1ed4eca0a4f6452592434a44674e320afa2dbfdf7cbf5f7 (https://dmprint.s3-us-west-2.amazonaws.com/assets/177b033bfdcc1a8704e2748911e16cf243caeeeb2cb50d45542a903967724b49.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210418%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210418T090138Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=7537e5b4bd99f47ac1ed4eca0a4f6452592434a44674e320afa2dbfdf7cbf5f7)

Hi Earlz!

We finally had a good test yay.  I received your card, thanks.  I was able to cash it in with :
Code: [Select]
acceptgift "gift_card_code"

So now I am sending one back to you:

https://dmprint.s3-us-west-2.amazonaws.com/assets/c86e9c4616f5e630794a1cdce405f719783f7e662ac6513d1da03bd6cf235638.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210418%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210418T135413Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=e0a91ae388e54d5243d1e74f7be20ad3205e064291baed0a1130706138fb7097

Please do this before you cash it in :
Write your wallet balance down, then run the above acceptgift command with the passphrase, then check your balance again.
You should also see in the recent tx list the same amount that was sent to you.

Note that we now also label your address book (both sender and recipient) with the Gift card phrase (so you remember which is which).
Also can you go into coin control, and you can see a Gift icon next to the received funds.  For the recipient, its unlocked.
For the sender its locked.

I think this is pretty cool isnt it?

Anyway I will look into adding Thanksgiving, Birthday, and Easter cards too.  I was thinking the user can just pick the theme, and optionally even change the wording template as they send their card (making it useful for much more).  Id also like to add csv list support before Christmas so we can actually send out Christmas card lists!

On a side note, one other unintended feature we can use this for is storage of offchain funds, sending and receiving to Guids for example (for microtransactions).  Something that does not matter if its stolen for example.  Like funding a guid of a set top box (in biblepay tv for example).  Its also good for sending from system to system when you dont know an address - you could type 'exec testnewkey emailaddress' for example and send some funds there and receive it from the other machine (by email address) etc.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 18, 2021, 01:54:25 PM
Evenin Brother Rob.

Yeah the giftcard is a pretty sweet feature, like you say, potentially more usecases.
I like it alot.

On to the test case:

So i wrote in terminal :
Code: [Select]
acceptgift 1009 Swiss Cheese Ave.
it worked, got up a new window saying something like "rescanning"  , then disaster followed. My biblepay-qt wallet crashed so i restarted qt wallet  and i dont see any new funds in my accout, so i figure it was probably crash Before rescan complete and all. 

Here is information from debug.log

Code: [Select]
UnlockGift::VecSz 129
UnlockGift1::AmtGift 10347.153700 for yMYadWmegDUzwQnHpGRcFpoEcT3JGBpc1J
AcquireWallets::GetWallets size=1, acquired=1RescanFromTime: Rescanning last 80203 blocks
2021-04-18 18:38:05 CalculateAPM::Result==1.000000::LastHeight 80175 Price 0.010000000000, Current Price 0.010000000000Windows Exception: EXCEPTION_ACCESS_VIOLATION
No debug information available for stacktrace. You should add debug information and then run:
biblepay-qt.exe -printcrashinfo=cfbgsytmmvigc6kdojqxg2cjnztg6aiab5rgsytmmvygc6jnof2c4zlymuwvo2lomrxxo4zaiv4ggzlqoruw63r2ebcvqq2fkbkest2ol5augq2fknjv6vsjj5gecvcjj5hbbjh35yaaaaaaadp2b2aaaaaaaagz3jeaaaaaaaacawcmaaaaaaaa5opucaiaaaaabf2ljqaaaaaaabwk4qibaaaaaagrbl7aaaaaaaapu576aaaaaaaadu5egaiaaaaaammgimaqaaaaabg2hgqbaaaaaac3yjmacaaaaaab2xcbaaaaaaaacjlecaaaaaaaa252laaqaaaaaaaa====
2021-04-18 18:38:53

Btw my tnet sanctuary  is offline because my VPN provider are doing something on my dedicated ip again, lets hope they get it together and fix my connection issues once and for all.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 18, 2021, 07:29:16 PM
Evenin Brother Rob.

Yeah the giftcard is a pretty sweet feature, like you say, potentially more usecases.
I like it alot.

On to the test case:

So i wrote in terminal :
Code: [Select]
acceptgift 1009 Swiss Cheese Ave.
it worked, got up a new window saying something like "rescanning"  , then disaster followed. My biblepay-qt wallet crashed so i restarted qt wallet  and i dont see any new funds in my accout, so i figure it was probably crash Before rescan complete and all. 

Here is information from debug.log

Code: [Select]
UnlockGift::VecSz 129
UnlockGift1::AmtGift 10347.153700 for yMYadWmegDUzwQnHpGRcFpoEcT3JGBpc1J
AcquireWallets::GetWallets size=1, acquired=1RescanFromTime: Rescanning last 80203 blocks
2021-04-18 18:38:05 CalculateAPM::Result==1.000000::LastHeight 80175 Price 0.010000000000, Current Price 0.010000000000Windows Exception: EXCEPTION_ACCESS_VIOLATION
No debug information available for stacktrace. You should add debug information and then run:
biblepay-qt.exe -printcrashinfo=cfbgsytmmvigc6kdojqxg2cjnztg6aiab5rgsytmmvygc6jnof2c4zlymuwvo2lomrxxo4zaiv4ggzlqoruw63r2ebcvqq2fkbkest2ol5augq2fknjv6vsjj5gecvcjj5hbbjh35yaaaaaaadp2b2aaaaaaaagz3jeaaaaaaaacawcmaaaaaaaa5opucaiaaaaabf2ljqaaaaaaabwk4qibaaaaaagrbl7aaaaaaaapu576aaaaaaaadu5egaiaaaaaammgimaqaaaaabg2hgqbaaaaaac3yjmacaaaaaab2xcbaaaaaaaacjlecaaaaaaaa252laaqaaaaaaaa====
2021-04-18 18:38:53

Btw my tnet sanctuary  is offline because my VPN provider are doing something on my dedicated ip again, lets hope they get it together and fix my connection issues once and for all.

Hi Bro Earlz,

Yeah I see your sanc is @ 800- you can do an 'exec revivesanc sancname' once its back;

Yeah on this crash, first of all I did try to reproduce it on windows 7 with the same info and mine didnt crash (that always makes it fun when we have no idea what actually happened without the debug symbols) the log is a little helpful; but its hard to say; anyway on the acceptgift it actually has to be in Quotes - because the RPC command line is separated by spaces (another words, each space ends up being a parameter), so when in quotes, the phrase becomes the parameter.

Could you try again with quotes as I didnt cash in the gift, and see if it works and/or crashes again?


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 19, 2021, 04:20:16 AM
Mornin.

Aye  will try this time with the quotes still there and see what happends.

Opened console window and ran :
Code: [Select]
10:26:53
acceptgift  "1009 Swiss Cheese Ave."


10:27:23
{
  "Address": "ydXRG5gwcx3518UeF372omZBEhmgpNxLpd",
  "Note": "Your wallet will now rescan to reflect the gift balance!"
}

Wallet did not crash this time , but i didnt receive any funds either.
Should i try a rescan blockchain files?

Update:
Pretty strange, i rebooted qt-wallet  and now i see the missing transaction. Also its dated from yesterday , well i send with transaction details for you.

Code: [Select]
Status: 273 confirmations
Date: 2021-04-18 15:54
From: unknown
To: ydXRG5gwcx3518UeF372omZBEhmgpNxLpd (own address, label: 1009SwissCheeseAve.)
Credit: 42 847.00000001 tBBP
Net amount: +42 847.00000001 tBBP
Transaction ID: 0553b0da464d07ee273189449554e318d07094efaff3fa25585f317bde470511
Output index: 1
Transaction total size: 972 bytes

Height: 80140
Difficulty: 0.00
Time: 04-18-2021 13:54:55
Subsidy: 7611.1169

Debit: -18 578.15369999 tBBP
Credit: 61 425.15370000 tBBP
To: ydXRG5gwcx3518UeF372omZBEhmgpNxLpd 61425.0000 BIBLEPAY


Anyways im thinking im gonna try do one of these high return long utxo stake that i saw you wrote about earlier, i will keep you posted on that aswell.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 19, 2021, 07:51:43 AM
Mornin.

Aye  will try this time with the quotes still there and see what happends.

Opened console window and ran :
Code: [Select]
10:26:53
acceptgift  "1009 Swiss Cheese Ave."


10:27:23
{
  "Address": "ydXRG5gwcx3518UeF372omZBEhmgpNxLpd",
  "Note": "Your wallet will now rescan to reflect the gift balance!"
}

Wallet did not crash this time , but i didnt receive any funds either.
Should i try a rescan blockchain files?

Update:
Pretty strange, i rebooted qt-wallet  and now i see the missing transaction. Also its dated from yesterday , well i send with transaction details for you.

Code: [Select]
Status: 273 confirmations
Date: 2021-04-18 15:54
From: unknown
To: ydXRG5gwcx3518UeF372omZBEhmgpNxLpd (own address, label: 1009SwissCheeseAve.)
Credit: 42 847.00000001 tBBP
Net amount: +42 847.00000001 tBBP
Transaction ID: 0553b0da464d07ee273189449554e318d07094efaff3fa25585f317bde470511
Output index: 1
Transaction total size: 972 bytes

Height: 80140
Difficulty: 0.00
Time: 04-18-2021 13:54:55
Subsidy: 7611.1169

Debit: -18 578.15369999 tBBP
Credit: 61 425.15370000 tBBP
To: ydXRG5gwcx3518UeF372omZBEhmgpNxLpd 61425.0000 BIBLEPAY


Anyways im thinking im gonna try do one of these high return long utxo stake that i saw you wrote about earlier, i will keep you posted on that aswell.

Thanks man, good tests.

Well back to the drawing board on the rescan; this is the kind of thing that really draws out our IT problems lol, its strange cause we are doing a standard rescan but I have a feeling it has something to do with the QT UI.  Ill re-factor the solution again and see if it behaves differently if we call the wallets importprivkey and rescan instead of doing it ourselves.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 19, 2021, 01:59:35 PM
1.6.1.2c-Leisure Upgrade

- Add Christmas, Easter and Kittens Greeting cards.  Make the greeting card fields customizable by the user.  Theoretically fix the crash during 'acceptgift', and the UI balance refresh.



Ok, so now we have 3 types of Greeting cards.
Will you guys please create a couple new ones and paste here, and I will try a new import, and respond with a card back to you.

Ill be sure to add CSV card generation in the next few weeks.


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 20, 2021, 03:24:04 AM
1.6.1.2c-Leisure Upgrade

- Add Christmas, Easter and Kittens Greeting cards.  Make the greeting card fields customizable by the user.  Theoretically fix the crash during 'acceptgift', and the UI balance refresh.



Ok, so now we have 3 types of Greeting cards.
Will you guys please create a couple new ones and paste here, and I will try a new import, and respond with a card back to you.

Ill be sure to add CSV card generation in the next few weeks.

Mornin.
So i did the normal routine menue misc , send greeting card, populated the fields. Then when i click send i get up this new window saying : Mail delivery result: Invalid Adress Data.
First i thought maybe i put in wrong adress, so i tested Another then yet Another but changed from christmas to easter one.
Also i noticed that the transactions goes  thru. Atleast i can see them in the transactions details.


Im sending with some transaction details below and some log information.

log:
Code: [Select]
UnlockGift::VecSz 303
UnlockGift1::AmtGift 10347.153700 for yMYadWmegDUzwQnHpGRcFpoEcT3JGBpc1J
UnlockGift1::AmtGift 61425.153700 for ydXRG5gwcx3518UeF372omZBEhmgpNxLpdkeypool reserve 119
2021-04-20 07:55:22 keypool keep 119
2021-04-20 07:56:12 CalculateAPM::Result==1.000000::LastHeight 80585 Price 0.010000000000, Current Price 0.010000000000
We already have this key 7198BishopAve.
UnlockGift::VecSz 300
UnlockGift1::AmtGift 10347.153700 for yMYadWmegDUzwQnHpGRcFpoEcT3JGBpc1J
UnlockGift1::AmtGift 61425.153700 for ydXRG5gwcx3518UeF372omZBEhmgpNxLpd
UnlockGift1::AmtGift 24744.153700 for yegvdSDZt5cxihZgRCt9gVvWmhgGrsX5mJ
UnlockGift1::AmtAddrGift 24744.153700 for yegvdSDZt5cxihZgRCt9gVvWmhgGrsX5mJ
UnlockGift::Unlocking 24744.153700 for yegvdSDZt5cxihZgRCt9gVvWmhgGrsX5mJkeypool added 1 keys (0 internal), size=1000 (0 internal)
2021-04-20 07:56:32 init message: Loading wallet... (111.79 %)
2021-04-20 07:56:32 keypool reserve 120
2021-04-20 07:56:32 keypool keep 120
2021-04-20 07:57:16 CalculateAPM::Result==1.000000::LastHeight 80585 Price 0.010000000000, Current Price 0.010000000000
UnlockGift::VecSz 298
UnlockGift1::AmtGift 24744.153700 for yegvdSDZt5cxihZgRCt9gVvWmhgGrsX5mJ
UnlockGift1::AmtGift 10347.153700 for yMYadWmegDUzwQnHpGRcFpoEcT3JGBpc1J
UnlockGift1::AmtGift 61425.153700 for ydXRG5gwcx3518UeF372omZBEhmgpNxLpd
UnlockGift1::AmtGift 24744.153700 for yegvdSDZt5cxihZgRCt9gVvWmhgGrsX5mJkeypool added 1 keys (0 internal), size=1000 (0 internal)
2021-04-20 07:58:08 init message: Loading wallet... (111.89 %)
2021-04-20 07:58:08 keypool reserve 121
2021-04-20 07:58:08 keypool keep 121

Transaction details first 1:

Code: [Select]
Status: 2 confirmations, locked via ChainLocks
Date: 2021-04-20 09:55
Total debit: -24 744.15370000 tBBP
Total credit: 24 744.15370000 tBBP
Transaction fee: -0.18675000 tBBP
Net amount: -0.18675000 tBBP
Transaction ID: 75b14b57b4c85086143d601d9f9e55c106d86b04cfb25f0364fbcecd7e9b7d0c
Output index: 0
Transaction total size: 745 bytes

Height: 80742
Difficulty: 0.00
Time: 04-20-2021 08:05:03
Subsidy: 7611.3509

Second :

Code: [Select]
Status: 2 confirmations, locked via ChainLocks
Date: 2021-04-20 09:56
Total debit: -24 744.15370000 tBBP
Total credit: 24 744.15370000 tBBP
Transaction fee: -0.14975000 tBBP
Net amount: -0.14975000 tBBP
Transaction ID: d394b89d16f4e13003f918d5b95f3b4e85b6456be926ca3ea33cbf49ca6f78ce
Output index: 0
Transaction total size: 598 bytes

Height: 80742
Difficulty: 0.00
Time: 04-20-2021 08:05:03
Subsidy: 7611.3509

Third:

Code: [Select]
Status: 2 confirmations, locked via ChainLocks
Date: 2021-04-20 09:58
Total debit: -24 744.15370000 tBBP
Total credit: 24 744.15370000 tBBP
Transaction fee: -0.14125000 tBBP
Net amount: -0.14125000 tBBP
Transaction ID: 1c90d4e5d9d2acefd2c1750f8055a31333f18491e2723547e15cc83e3724a4b8
Output index: 0
Transaction total size: 565 bytes

Height: 80742
Difficulty: 0.00
Time: 04-20-2021 08:05:03
Subsidy: 7611.3509

Ofcourse this on Windows 10.

Well i will leave this as is for now  and im gonna try out the staking feature.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 20, 2021, 05:07:14 AM
Quote
First we need to test a high risk stake as compared to a regular conservative stake.

The old conservative stake for BBP alone is the one where you type:
easybbpstake 1000000 1
(For example to stake 1MM)

Now we have this High risk staking, where we lock up your coins for the duration You specify (from 31 days to 365 days currently).
Please read this page about High-risk including the End FAQ:
https://wiki.biblepay.org/UTXO_Mining

Then go ahead and create a high risk stake with "highriskbbpstake" command.
If you are savvy and have some extra foreign coins you can also run a "highriskstake" hybrid stake as well.

Ill explain how we can report on the listutxostakes in a little while.  Right now we have a field called "elapsed" vs. "commitment".  The commitment is the number of days you locked up your stake for (IE 365 equals one year).  If you have a commitment of 365, and 7 days has elapsed since you staked the high risk stake, listutxostakes says :  e7/365 (this means elapsed 7, out of 365 days committed).  Note in testnet, we tweaked the clock to be 24* faster so we can test faster.  So days fly by 24* faster here (for utxostakes).

Why is this all relevant?  We need to test brute unlocking of the high risk stake to make sure the penalty is correct.  You can try to unlock and spend one of your high risk stakes early.  You should be penalized between ~30-99% (depending on market conditions) according to the wiki guide.  You will receive a warning in the UI detailing the network fees.

Let me know if you guys have any questions on all this.

In the mean time I will modify listutxostakes to have a better 'utxotype' column and cleaner elapsed etc, its kind of hard to know the difference between all your stakes right now.

Btw, you can double click on your position in the leaderboard and see the % of high risk stakes you have etc.

EDIT:  Id also like us to stake at least 50MM tBBP in test, because Id like to see the DWU drop down below 99% so we can see the differences in the next version which will have fields for high risk DWU vs conservative etc (so we are not hitting the cap).  Please create extra big stakes.

Okay so first went for a dry run,

ran command:
Code: [Select]
highriskstake min_bbp_amount foreign_currency_address foreign_currency_amount commitment_duration_in_days 0
looked good so then ran command:
Code: [Select]
highriskstake min_bbp_amount foreign_currency_address foreign_currency_amount commitment_duration_in_days 1
Wallet used was Ledger live with nano s for foreign currency.

Looks good to me Rob, first i did a dryrun but without bankroll and i saw over 9M console wanted to spend so i did a
Code: [Select]
bankroll 1 6100000and it took that amount instead.

Dryrun output:

Code: [Select]
12:01:04
highriskstake 6000000  0x95Dc21040641BfEC3a9CC641047F154bc0bf10D0 1.0093154 90 0


12:01:05
{
  "BBP UTXO": "bfcb4630d9e75ecec8fe34770e4ee489d12b1dd56c3ba2c2664a365fca221b38-11",
  "BBP Address": "yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx",
  "BBP Amount": 6100000.001,
  "Foreign Symbol": "ETH",
  "Foreign Amount": 1.0093154,
  "Foreign UTXO": "6716ec6325d1e29c77c129666692e9d053fb795551d2a9f3c951b6c2f445f60b",
  "Foreign Ordinal": 0,
  "Foreign Value USD": 2134.680150815593,
  "BBP Value USD": 4924.473033761291,
  "DWU": 507.4626865671642,
  "!WARNING!": "When you promise to lock for 90 days for a high yield reward,  you hereby AGREE that you may be PENALIZED by 200% of the TOTAL reward if you spend your UTXO early.   If you do not fulfill your obligation, your original UTXO will have burn fees deducted from it.   EXAMPLE:  You have a 100,000 BBP coin.  You lock it for 90 days for a 60% DWU.  On the 15th day you try to spend the coin (breaking your obligation).   You will be penalized 60%*2=120% of your original UTXO, which is MORE THAN THE ORIGINAL VALUE.  Due to our 90% cap, we will charge you a 90% BURN FEE to spend the coin.  (If you do not agree please use our conservative staking feature.)  Thank you for using BIBLEPAY.  ",
  "Foreign Address": "0x95Dc21040641BfEC3a9CC641047F154bc0bf10D0",
  "Pin": 93154,
  "pin_valid": true,
  "Error": "",
  "Dry Run Mode": true
}

Then i ran it live for testnet:

Code: [Select]
12:05:32
highriskstake 6000000  0x95Dc21040641BfEC3a9CC641047F154bc0bf10D0 1.0093154 90 1


12:05:34
{
  "BBP UTXO": "bfcb4630d9e75ecec8fe34770e4ee489d12b1dd56c3ba2c2664a365fca221b38-11",
  "BBP Address": "yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx",
  "BBP Amount": 6100000.001,
  "Foreign Symbol": "ETH",
  "Foreign Amount": 1.0093154,
  "Foreign UTXO": "6716ec6325d1e29c77c129666692e9d053fb795551d2a9f3c951b6c2f445f60b",
  "Foreign Ordinal": 0,
  "Foreign Value USD": 2134.680150815593,
  "BBP Value USD": 4924.473033761291,
  "DWU": 507.4626865671642,
  "!WARNING!": "When you promise to lock for 90 days for a high yield reward,  you hereby AGREE that you may be PENALIZED by 200% of the TOTAL reward if you spend your UTXO early.   If you do not fulfill your obligation, your original UTXO will have burn fees deducted from it.   EXAMPLE:  You have a 100,000 BBP coin.  You lock it for 90 days for a 60% DWU.  On the 15th day you try to spend the coin (breaking your obligation).   You will be penalized 60%*2=120% of your original UTXO, which is MORE THAN THE ORIGINAL VALUE.  Due to our 90% cap, we will charge you a 90% BURN FEE to spend the coin.  (If you do not agree please use our conservative staking feature.)  Thank you for using BIBLEPAY.  ",
  "Foreign Address": "0x95Dc21040641BfEC3a9CC641047F154bc0bf10D0",
  "Pin": 93154,
  "pin_valid": true,
  "Error": "",
  "Foreign Ticker": "ETH",
  "UTXO Value": 5416.352621472399,
  "Results": "The UTXO Stake Contract was created successfully.  Thank you for using BIBLEPAY. ",
  "TXID": "41cf648c82b51b8c7538f90c829574378cad82b62ad2a38a715fc11ab813bfe0"
}


Looks ok to me.


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 20, 2021, 09:22:29 AM
Mornin.
So i did the normal routine menue misc , send greeting card, populated the fields. Then when i click send i get up this new window saying : Mail delivery result: Invalid Adress Data.
First i thought maybe i put in wrong adress, so i tested Another then yet Another but changed from christmas to easter one.
Also i noticed that the transactions goes  thru. Atleast i can see them in the transactions details.


Im sending with some transaction details below and some log information.

log:
Code: [Select]
UnlockGift::VecSz 303
UnlockGift1::AmtGift 10347.153\
Subsidy: 7611.3509

Ofcourse this on Windows 10.

Well i will leave this as is for now  and im gonna try out the staking feature.

Gmorning, Yeah I was testing this without the gift card yesterday and it was working that way but apparently we introduced a new problem with the virtual gift card side as related to 3 card types - we went over a byte limit and I have to make it bigger, but I was able to reproduce this and it will be fixed today and we can test again!

I will look at the other test cases now-- Thanks.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 20, 2021, 09:32:45 AM
Okay so first went for a dry run,

ran command:
Code: [Select]
highriskstake min_bbp_amount foreign_currency_address foreign_currency_amount commitment_duration_in_days 0
looked good so then ran command:
Code: [Select]
highriskstake min_bbp_amount foreign_currency_address foreign_currency_amount commitment_duration_in_days 1
Wallet used was Ledger live with nano s for foreign currency.

Looks good to me Rob, first i did a dryrun but without bankroll and i saw over 9M console wanted to spend so i did a
Code: [Select]
bankroll 1 6100000and it took that amount instead.

Dryrun output:

Code: [Select]
12:01:04
highriskstake 6000000  0x95Dc21040641BfEC3a9CC641047F154bc0bf10D0 1.0093154 90 0


12:01:05
{
  "BBP UTXO": "bfcb4630d9e75ecec8fe34770e4ee489d12b1dd56c3ba2c2664a365fca221b38-11",
  "BBP Address": "yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx",
  "BBP Amount": 6100000.001,
  "Foreign Symbol": "ETH",
  "Foreign Amount": 1.0093154,
  "Foreign UTXO": "6716ec6325d1e29c77c129666692e9d053fb795551d2a9f3c951b6c2f445f60b",
  "Foreign Ordinal": 0,
  "Foreign Value USD": 2134.680150815593,
  "BBP Value USD": 4924.473033761291,
  "DWU": 507.4626865671642,
  "!WARNING!": "When you promise to lock for 90 days for a high yield reward,  you hereby AGREE that you may be PENALIZED by 200% of the TOTAL reward if you spend your UTXO early.   If you do not fulfill your obligation, your original UTXO will have burn fees deducted from it.   EXAMPLE:  You have a 100,000 BBP coin.  You lock it for 90 days for a 60% DWU.  On the 15th day you try to spend the coin (breaking your obligation).   You will be penalized 60%*2=120% of your original UTXO, which is MORE THAN THE ORIGINAL VALUE.  Due to our 90% cap, we will charge you a 90% BURN FEE to spend the coin.  (If you do not agree please use our conservative staking feature.)  Thank you for using BIBLEPAY.  ",
  "Foreign Address": "0x95Dc21040641BfEC3a9CC641047F154bc0bf10D0",
  "Pin": 93154,
  "pin_valid": true,
  "Error": "",
  "Dry Run Mode": true
}

Then i ran it live for testnet:

Code: [Select]
12:05:32
highriskstake 6000000  0x95Dc21040641BfEC3a9CC641047F154bc0bf10D0 1.0093154 90 1


12:05:34
{
  "BBP UTXO": "bfcb4630d9e75ecec8fe34770e4ee489d12b1dd56c3ba2c2664a365fca221b38-11",
  "BBP Address": "yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx",
  "BBP Amount": 6100000.001,
  "Foreign Symbol": "ETH",
  "Foreign Amount": 1.0093154,
  "Foreign UTXO": "6716ec6325d1e29c77c129666692e9d053fb795551d2a9f3c951b6c2f445f60b",
  "Foreign Ordinal": 0,
  "Foreign Value USD": 2134.680150815593,
  "BBP Value USD": 4924.473033761291,
  "DWU": 507.4626865671642,
  "!WARNING!": "When you promise to lock for 90 days for a high yield reward,  you hereby AGREE that you may be PENALIZED by 200% of the TOTAL reward if you spend your UTXO early.   If you do not fulfill your obligation, your original UTXO will have burn fees deducted from it.   EXAMPLE:  You have a 100,000 BBP coin.  You lock it for 90 days for a 60% DWU.  On the 15th day you try to spend the coin (breaking your obligation).   You will be penalized 60%*2=120% of your original UTXO, which is MORE THAN THE ORIGINAL VALUE.  Due to our 90% cap, we will charge you a 90% BURN FEE to spend the coin.  (If you do not agree please use our conservative staking feature.)  Thank you for using BIBLEPAY.  ",
  "Foreign Address": "0x95Dc21040641BfEC3a9CC641047F154bc0bf10D0",
  "Pin": 93154,
  "pin_valid": true,
  "Error": "",
  "Foreign Ticker": "ETH",
  "UTXO Value": 5416.352621472399,
  "Results": "The UTXO Stake Contract was created successfully.  Thank you for using BIBLEPAY. ",
  "TXID": "41cf648c82b51b8c7538f90c829574378cad82b62ad2a38a715fc11ab813bfe0"
}


Looks ok to me.

Wow thats pretty impressive you did this with Eth $5K?  Nice.
Well I was going to say we should test premature spending next - but I dont really want you to spend your ETH stake so fast since it will be quite valuable for us to see in the leaderboard for a couple weeks, so could you go ahead and create a few BBP only stakes (highriskstakes that is) BBP only, and let them mature for a few blocks...
Then we can try this mission critical test:  Test the premature spending of one, and test the warning page of a couple?

So here is how we can do it:
I think this would be a good time to explain the 3 images in Coin Control:  We have the Holy spirit dove (green), that means the high risk stake has matured and can safely be spent.
We have the chained-stake - that means its a high risk utxo stake that is not safe to spend (and we lock it by default).
Then we have the stake with hard-drive-plate symbol (a regular conservative stake) that is locked.

So what Im getting at is if you could please write down the associate BBP amounts for your high risk stakes in notepad just to have them logged first. 
Then go into coin control and verify they are locked and that you can see them with the associated icons.

Then take one of your bbp only coins that have the chained-stake (the high risk stake for bbp only) and try to unlock it and spend it (spend just that one coin not a combination of coins) and see if the error message makes sense.

The penalty should be between 50-90% of the utxo (depending on that formula in the wiki page at the bottom in the FAQ). 
If you want to spend it you can, and you can see if we charge you the right network fee.

We do enforce this at the network level, so no one can get around it.  Anyone who tries to spend that coin anywhere on the network will not be able to because everyone who checks it requires the burn penalty.  If you do spend it of course you loose that amount to the burn address- you can go ahead and test that if you want and make sure you lose IE 80% of the coin.  Im thinking about capping it at 50% instead because that might cause a propensity for revenue to come in for us (IE if we say we are going to take 90% of someones coin, no one will unlock it early who in their right mind would do that and lose 90%  when they can leave it staked and make the massive return they are making etc, so maybe we should cap the penalty at 50%, plus it makes us look to have more integrity).  On a side note there is a reason I originally set it so high, because if you do the math on stakes over 40% per year we pay quite a bit per day on those compounded, so thats where that formula came from.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 20, 2021, 12:55:51 PM
I pushed a small change to foundation.biblepay (the NFT marketplace) that now requires a bid to be greater than the high bid.

Also, the next version, we start RSA encrypting the hi-quality URL, and when someone buys the NFT, the Hi-quality URL is viewable in "My NFTs" (which is not on the menu yet).

Soon, I will reach out to Cameroon-One and start focusing on testing orphans with them.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 20, 2021, 02:49:50 PM
Evenin Brother Rob.

For sure i will do some testing tomorrow morning.
ill do some bbp-only stake tomorrow then do your test scenario there with the notepad and all.

Yeah the NFT encryption there for the high quality urls sounds like a good plan.

talk to you later.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 20, 2021, 04:37:38 PM
1.6.1.3-Leisure Upgrade

- Ensure Virtual Gift card is created successfully while being embedded into the rendered text.
- Encrypt Hi-Qual URL of each NFT.


Alright this version fixes the 'invalid data' error, please try again.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 20, 2021, 05:59:12 PM
Still getting invalid address on Card..
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: togoshigekata on April 20, 2021, 08:10:17 PM
The penalty should be between 50-90% of the utxo (depending on that formula in the wiki page at the bottom in the FAQ)

We do enforce this at the network level, so no one can get around it.  Anyone who tries to spend that coin anywhere on the network will not be able to because everyone who checks it requires the burn penalty.  If you do spend it of course you loose that amount to the burn address

Im thinking about capping it at 50% instead because that might cause a propensity for revenue to come in for us (IE if we say we are going to take 90% of someones coin, no one will unlock it early who in their right mind would do that and lose 90%  when they can leave it staked and make the massive return they are making etc, so maybe we should cap the penalty at 50%, plus it makes us look to have more integrity).  On a side note there is a reason I originally set it so high, because if you do the math on stakes over 40% per year we pay quite a bit per day on those compounded, so thats where that formula came from.

Ive seen full HEX stakes get nuked, POOF, gone

Some Examples:
https://imgur.com/a/1EbbIRK

But the HEX website didnt have a UI to warn the user,
people were clicking End Stake button without even knowing they were at risk of losing coins,
took many months before they finally added a Popup warning with another click you have to do,
but I dont think it shows you how much you will lose

(I believe staker.app shows the penalty amount for your stakes)

Theres a Stake Wall of Shame
https://hex.vision/app/kibana#/dashboard/6bd47cf0-3676-11ea-8d7f-a79593d8efcc

HEX penality wiki
http://hex.wiki/penalties

Ive also heard that some compromised/hacked HEX wallets have had their HEX nuked
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 20, 2021, 09:07:54 PM
The NFT are looking good, I bought and bid on some NFT's and they come into my Testnet wallet, when I resell the NFT it goes back into the marketplace, good progress...
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 20, 2021, 09:40:08 PM
Still getting invalid address on Card..

Could you please verify you are using 1613?  Cause I was able to see it being fixed over 1612?

Also Pat, hey check out one of your NFTs in the marketplace, "Best prayer for Depression-Part 1", I bought it and relisted it and now the "Preview" shows access denied; is this security on your site?

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 20, 2021, 09:47:49 PM
Ive seen full HEX stakes get nuked, POOF, gone

Some Examples:
https://imgur.com/a/1EbbIRK

But the HEX website didnt have a UI to warn the user,
people were clicking End Stake button without even knowing they were at risk of losing coins,
took many months before they finally added a Popup warning with another click you have to do,
but I dont think it shows you how much you will lose

(I believe staker.app shows the penalty amount for your stakes)

Theres a Stake Wall of Shame
https://hex.vision/app/kibana#/dashboard/6bd47cf0-3676-11ea-8d7f-a79593d8efcc

HEX penality wiki
http://hex.wiki/penalties

Ive also heard that some compromised/hacked HEX wallets have had their HEX nuked

Thanks Togo, Its always good to see refined information like this to validate against too.
Its amazing how many transactions they are doing over there and the maintained liquidity and marketcap.

Ill look at these figures in more detail too.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 21, 2021, 02:15:58 AM
Mornin folks.

Quote
1.6.1.3-Leisure Upgrade

- Ensure Virtual Gift card is created successfully while being embedded into the rendered text.
- Encrypt Hi-Qual URL of each NFT.


Alright this version fixes the 'invalid data' error, please try again.

Ok lets try some greeting cards.
Top menue in QT-wallet  Misc.>Send Greeting Card populated the fields and clicked send. Confirmation window popped up with link and said OK.

Verification link for christmas gift card:
Code: [Select]
https://dmprint.s3-us-west-2.amazonaws.com/assets/0cb77405af661d2bb032e10cf9b3e64f2cc9f3f083adac092f8d0e21655f97ee.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210421%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210421T070653Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=4deb94482135027f29e93aebabda09834f39d42dabf3465cfdf148b9fb4ea710
Verificaton for easter gift card:
Code: [Select]
https://dmprint.s3-us-west-2.amazonaws.com/assets/0c8340923aa657529ee0933d20bd0762d4617646c61ee7f890938ea1cc760092.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210421%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210421T071115Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=dc0ec13058e77c44be1aed709c66f972ad4a5de7c46709e007c446d4e45d79aa
Verification for kittens card:

Code: [Select]
https://dmprint.s3-us-west-2.amazonaws.com/assets/9ea657bdb5811f8ca99537048f4b86a1ccbaf26ab288ea541ff8fc0ef14c4243.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210421%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210421T071425Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=8f6c852ae87ee7d76447a02ff80dcd7b40efb0efe4aeef742e2ccdb11fb236f7
So far creating the diffrent cards i encountered no problems, the earlier release i received error but this released seems you fixed it Rob, looking good man.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 21, 2021, 12:05:29 PM
Hi Rob,

Gift card working,...

The problem with the AWS link was when you bought it and but it back into the marketplace, it was  changed from https://videohelp12.s3-us-west-2.amazonaws.com/Best+Prayer+for+Depression.mp4 to
https://videohelp12.s3-us-west-2.amazonaws.com/BestPrayerforDepression.mp4

The plus separating BestPrayerforDepression.mp4 were not there and this caused the problem. I have put it pack in the marketplace.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 21, 2021, 12:11:20 PM
Mornin folks.

Ok lets try some greeting cards.
Top menue in QT-wallet  Misc.>Send Greeting Card populated the fields and clicked send. Confirmation window popped up with link and said OK.

Verification link for christmas gift card:
Code: [Select]
https://dmprint.s3-us-west-2.amazonaws.com/assets/0cb77405af661d2bb032e10cf9b3e64f2cc9f3f083adac092f8d0e21655f97ee.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210421%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210421T070653Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=4deb94482135027f29e93aebabda09834f39d42dabf3465cfdf148b9fb4ea710
Verificaton for easter gift card:
Code: [Select]
https://dmprint.s3-us-west-2.amazonaws.com/assets/0c8340923aa657529ee0933d20bd0762d4617646c61ee7f890938ea1cc760092.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210421%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210421T071115Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=dc0ec13058e77c44be1aed709c66f972ad4a5de7c46709e007c446d4e45d79aa
Verification for kittens card:

Code: [Select]
https://dmprint.s3-us-west-2.amazonaws.com/assets/9ea657bdb5811f8ca99537048f4b86a1ccbaf26ab288ea541ff8fc0ef14c4243.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210421%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210421T071425Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=8f6c852ae87ee7d76447a02ff80dcd7b40efb0efe4aeef742e2ccdb11fb236f7
So far creating the diffrent cards i encountered no problems, the earlier release i received error but this released seems you fixed it Rob, looking good man.

Gmorning Bro Earlz,

Sweet, thanks for the cards--

So I was able to open all three in my browser, then, I cashed in each of them, and they all seem to have worked.
I have the extra funds now visible in my wallet and it didnt crash and it rescanned and updated the UI properly.

Let me send you one back first (please let Earlz cash this one in, I will send a different one to Pat):

Code: [Select]
https://dmprint.s3-us-west-2.amazonaws.com/assets/0a07fb4384831aca43b11f995e6f835495e8934da0499afbe573bdb1cb06bafd.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210421%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210421T170720Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=9247e24013f045e766d7296a18a2becc669878e5cbfc5c7972598d7c65dfd0ee


Lets hope your system updates with this one this time and hopefully we can move past that bug now!

Optionally remember you can go into coin control after you receive this, and see if the gift is visible and unlocked.  There should be a gift icon on gifts.  On a side note, we also label the address book with the street address it was received from.  If people use this for things other than addresses, we label it with the phrase used.  (IE the email address, or phrase).

Have a good day--
Rob
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 21, 2021, 12:15:50 PM
Heres an Easter Card for Pat:

Code: [Select]

https://dmprint.s3-us-west-2.amazonaws.com/assets/193c6e7a019bf212d3a2a44674d9cbe73807086caaf300e5e6490e2e983a4cb0.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ2GKFO2GYKMXXMHQ%2F20210421%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210421T171252Z&X-Amz-SignedHeaders=host&X-Amz-Expires=518400&X-Amz-Signature=b6c94dfb59f5ecda4088fc752be8f00edbf0c89036328fab8402a7a25abc6225


Pat, to cash it in please type acceptgift then the code in quotes, and see if you can see it in the tx-list and plz see if your balance increased and if its visible in coin control.  I dont know if I told you how to enable coin control.  Settings | Options | Check Enable Coin Control Features.   Then, to get to coin control you click Send Money | Coin Control.  From there you can see your individual coins, UTXO stakes and gifts as individual coins in the wallet.



Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 21, 2021, 12:18:43 PM
Hi Rob,

Gift card working,...

The problem with the AWS link was when you bought it and but it back into the marketplace, it was  changed from https://videohelp12.s3-us-west-2.amazonaws.com/Best+Prayer+for+Depression.mp4 to
https://videohelp12.s3-us-west-2.amazonaws.com/BestPrayerforDepression.mp4

The plus separating BestPrayerforDepression.mp4 were not there and this caused the problem. I have put it pack in the marketplace.
Hi Pat,

Ok that is good to know that somehow I am stripping out +'s on repastes.  Ill have to look at how that is happening.

I was asking cause some people have strange security models for AWS files (especially after learning that a hacker downloaded my rapture video 3million times and charged me over $2,500 for it).  So watch out on your hosted files too if they are public.  Thats one of the things Im trying to solve in our next hosted solution, automatic protection.



Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 21, 2021, 01:16:07 PM
Looks like the gift worked...

11:14:06
acceptgift "90000 Maple Way"


11:14:12
{
  "Address": "yTPvyLu1kmPGRgWJ5aq7H9GH2DBr161jdu",
  "importprivkey": null,
  "Your wallet will now rescan to reflect the gift balance!": true
}
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 21, 2021, 01:35:46 PM
Evenin.

Indeed just like for Pat it worked just fine for me aswell.
The rescan worked well no errors or anything.

The transaction details i didnt see strait away, but then i did just reboot of core wallet and i saw the transaction there in the tx list no problemas.


I Think tomorrow morning i will try and liquidate one of the long term tBBP stake that i did today , will be intresting to see the penalty for it.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 22, 2021, 09:20:07 AM
Looks like the gift worked...

11:14:06
acceptgift "90000 Maple Way"


11:14:12
{
  "Address": "yTPvyLu1kmPGRgWJ5aq7H9GH2DBr161jdu",
  "importprivkey": null,
  "Your wallet will now rescan to reflect the gift balance!": true
}

Good, but just to double check, were you able to see the tx in the txlist and that your balance increased?

Also, will you please look into the coin-control part also:
https://forum.biblepay.org/index.php?topic=762.msg10749#msg10749

Thanks Pat.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on April 22, 2021, 11:44:12 AM
Yes Rob,

I see that the balance increased...and the Coin Select....Amount Fee...After Fee...etc
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 22, 2021, 03:47:25 PM
Yes Rob,

I see that the balance increased...and the Coin Select....Amount Fee...After Fee...etc

Thats good; and in List mode you can see an icon of a gift (looks like a present) etc.  This is the screen that will show your UTXO stake status for each stake also.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 22, 2021, 03:49:45 PM
Today I got the greeting card system ready for both dry run and real mode.  Another words when we are ready to turn it on in prod, we should theoretically be able to send a real gift card to a home address and it will charge the correct fee.  (Those code changes can wait til our next test release though-- I tested them locally and it worked).

Im going to review the orphan NFTs next and invite cameroon one in.

We still need to test referrals and high yield stakes.

Chainlocks and LLMQs appear to be working fine.
Btw, Earlz I think your sanc is down could you do the exec revivesanc sancname and see if it goes back to 700?



Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 23, 2021, 03:58:46 AM
Hello Rob.

Yeah i will get the sanc up again asap. I have open support ticket at torguard, lets see how fast they fix it for me.  If they have to change my dedicated ip then well worst case i have to make new sanctuary i suppose.
Should go easier now when i kinda know procedure so to say.

I tried to send a highriskstake to my normal test wallet adress but i received 2 diffrent popup errors from it, i will redo highriskstake and see if i can  liquidate early.

 
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 23, 2021, 09:44:53 AM
Hello Rob.

Yeah i will get the sanc up again asap. I have open support ticket at torguard, lets see how fast they fix it for me.  If they have to change my dedicated ip then well worst case i have to make new sanctuary i suppose.
Should go easier now when i kinda know procedure so to say.

I tried to send a highriskstake to my normal test wallet adress but i received 2 diffrent popup errors from it, i will redo highriskstake and see if i can  liquidate early.
Hi Earlz,

Btw, just so you know, when you type our 'exec revivesanc sancname' command we not only send the proreg update_service command (to unpose ban a sanc) but we also send the params that allow the change of IP and/or port (similar to if you changed hosts).  So to accomplish that all you have to do is edit your deterministic.conf first, change the ip or port, then run the revivesanc.  That should change the IP *and* unpose all at the same time.  Ive moved a few of my sancs in prod this way to preserve the POOS orphan public key BIO.

10-4 on the highriskstake, let me know if the amount was roughly correct.  I think we should cap the penalty at 50% in the next release to create a propensity for people to 'get out early' and not give us a black eye, etc.  It also provides some revenue for the high risk pool.  Im sort of leaning against the super long duration stakes, I think maybe we should leave the curve at 2 years for now.  The reason why is I made a time-of-money chart,and I feel if we offer the super long term stakes we risk spending too much on interest expenses which might make us look like we have slightly less integrity.  We can revisit those super long ones later after we see the effects of referral codes and highrisk stakes in prod (maybe under a different design for example).

I need to add the CPK, nickname, and portfolio size to the 'listattachedreferralcodes' rpc also so we can see who we attached to.  This will provide more transparency so people can audit the entire system etc and know that we arent wasting more than a few percent on referral code emissions etc.  And also that no one is getting a disproportionate size of referral code revenue.




Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 23, 2021, 11:06:49 AM
Hi Earlz,

Btw, just so you know, when you type our 'exec revivesanc sancname' command we not only send the proreg update_service command (to unpose ban a sanc) but we also send the params that allow the change of IP and/or port (similar to if you changed hosts).  So to accomplish that all you have to do is edit your deterministic.conf first, change the ip or port, then run the revivesanc.  That should change the IP *and* unpose all at the same time.  Ive moved a few of my sancs in prod this way to preserve the POOS orphan public key BIO.

10-4 on the highriskstake, let me know if the amount was roughly correct.  I think we should cap the penalty at 50% in the next release to create a propensity for people to 'get out early' and not give us a black eye, etc.  It also provides some revenue for the high risk pool.  Im sort of leaning against the super long duration stakes, I think maybe we should leave the curve at 2 years for now.  The reason why is I made a time-of-money chart,and I feel if we offer the super long term stakes we risk spending too much on interest expenses which might make us look like we have slightly less integrity.  We can revisit those super long ones later after we see the effects of referral codes and highrisk stakes in prod (maybe under a different design for example).

I need to add the CPK, nickname, and portfolio size to the 'listattachedreferralcodes' rpc also so we can see who we attached to.  This will provide more transparency so people can audit the entire system etc and know that we arent wasting more than a few percent on referral code emissions etc.  And also that no one is getting a disproportionate size of referral code revenue.

Cheers Rob.
Thats some sweet information.
Yeah im thinking if i keep having trouble with this particular IP  then i will ask them to change to some other static ip.
Anyways i revived the sanctuary and it looks like it was a success , also booted up the VM with the sanc and it looks fine over there.

Alright let me see if i can get some highriskstaking done.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on April 26, 2021, 10:20:45 AM
Hello Rob.

I ran this command in console/terminal :
Code: [Select]
20:57:36
highriskbbpstake


20:57:36
You must specify highriskbbpstake minimum_bbp_amount commitment_days 0=dry_run/1=real (code -1)

I noticed 
Quote
minimum_bbp_amount commitment_days 0=dry_run/1=real
Should be switched right, like this: highriskbbpstake bbp_amount 1 duration_in_days


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on April 26, 2021, 12:24:31 PM
Hello Rob.

I ran this command in console/terminal :
Code: [Select]
20:57:36
highriskbbpstake


20:57:36
You must specify highriskbbpstake minimum_bbp_amount commitment_days 0=dry_run/1=real (code -1)

I noticed  Should be switched right, like this: highriskbbpstake bbp_amount 1 duration_in_days

Hey bro,

Good catch; Yeah I noticed that myself yesterday and fixed the code; will get it out soon!

Got a nice (imho) thing coming that God led us to:  Invoices and Statement and Payments!

Trying to get that in so we can do some testing on these things also.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 04, 2021, 07:53:09 AM
* TestNet Update *

Normally by now, I would have been checking in and asking for a status update from everyone on our test cases but this particular week has been very busy with new development for biblepay.

The good news is, I have more code to release that we can test directly related to the harvest release.

I was specifically going to follow up on referral codes and high risk staking cases etc, but actually the code has a couple new enhancements that make it easier to use so at this point the best of course of action is waiting until we have our next release, then we can do all that at the same time on the new version.

So please be patient and hang in there.  I think we will have a release within the next 2 days.

Praise the Lord!

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 04, 2021, 07:02:06 PM
1.6.1.4 - Mandatory Upgrade for Testnet

- Add DSQL to server side (this supports an insert and a read).  Add instantsend DSQL inserts and reads.
- Make referralcode calculation easier to understand
- Add rest pushtx, getaddressutxo.   This allows a decentralized client to relay a tx, and allows a decentralized c# consumer to query utxos, and query DSQL data.

** I will be adding more test cases asap for this and referrals and highrisk utxo stakes, etc.

*** Please upgrade first.  Note that this new version requires all of our nodes to run the new addressindex, meaning you will have to reindex your node when you start it with -erasechain=1.  Note that if you dont, the code will force you to start with -reindex=1, but that code still has a long standing bug that crashes.  So please do the erasechain=1 when you upgrade to this version.

**** Please verify your versioon does say 1.6.1.4+ before testing as usual!
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 04, 2021, 07:23:23 PM
QUESTION:

Do any of you have experience in running a Microsoft ASPX based web server and experience in SQL and/or c# programming?  The reason I ask is we are developing a new technology, called the 'biblepay DLL' that allows c# IT organizations (and developers) run a web server that hosts decentralized pages driven by DSQL queries.  Whoever is interested in testing this, I would like to make a wiki to explain how to install it and program it.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 04, 2021, 08:54:16 PM
New Test Cases:

- We do have the "CSV import" now available for greeting cards, but please skip by this one until I make a wiki page to document the import format.
- High Risk BBP Stake:
(This allows the user to earn a higher DWU%, but must keep the coins locked for the entire duration otherwise they pay a penalty.
Try this:
highriskbbpstake 500000 60 1
Where 500000 is the amount of bible pay staked, and 60 is the amount of days you want to commit to, and 1 is "for real".  Note, TestNet time is 24* faster than prod, so 60 days is OK in testnet as you dont have to worry about waiting an agonizing amount of time for it to be free.
After this, we need to look in coin control to make sure the icons are correct. 
To understand the icons more, please see this Post here, read about the 3 types of icons in coin control:
https://forum.biblepay.org/index.php?topic=762.msg10733#msg10733



And we also need to test the penalty if we try to spend one early.  Please wait til you see the stake in the leaderboard before trying to spend it early.  Then post the amount of the penalty and the amount of the utxo so we can verify the figure.
Verify the command line options are in the correct order now also.

Remember once you do stake a UTXO, after a block or two, you can go into the Leaderboard and see your position, and double click on it.  You can also type 'leaderboard' from the RPC and see everyones position.  Also, please type 'listutxostakes 0 0' just to see the new rpc format for stakes!


- Regular UTXO stake:
easybbpstake 500000 1
This is the classic bbp stake that is already working in prod.

- Attach a portfolio code to your portfolio.  This lets you earn up to 10% more per year if you are able to find 10* the amount of portfolio code "size" than your own portfolio.  For example if you have a 1MM portfolio, and you attach 10MM of codes, you should earn 10% (in a diminishing rate at the decay factor per day).
I will attach a code for you guys now from my testnet portfolio which has 130MM bbp in it:
2a21d83da8a12a078790e763c383dadbb42785916ae5356cdba1f648c73340b4

To attach it do this:
attachreferralcode code

Then after a couple blocks type:
listattachedreferralcodes

And look in the leaderboard, double click on your name and verify the code has a "Referral Rewards" modifier.  This is the factor that your DWU is modified by (in boost).  For example if you have a 50% DWU, and a 1.10 modifier, you will end up with .50*1.1 = .55%  DWU for example.
Note that you also receive a two-way reward when Others attach *your* code.  So please also do a 'generatereferralcode' and paste one of yours here and I will attach yours to my portfolio.


Note that in order to do these tests, you should have a nickname set up in "Edit user record" - be sure your nickname is populated and the record is saved in the chain.

Good luck,
Rob

EDIT:
Outstanding item for Earlz:
https://forum.biblepay.org/index.php?topic=762.msg10748#msg10748
On the bottom of the message please see the part about "gift icon", could you please see if the icon works in Coin Control and that the gift is locked by default also.


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on May 05, 2021, 09:59:45 AM
Hello Rob.

I have been busy at work now so i havent been able to do much testing, last time i tried to liquidate a locked stake  it did not work for me, but i will retry this new verison you put out and ofcourse
I see you updated with new testcases.

Quote
QUESTION:

Do any of you have experience in running a Microsoft ASPX based web server and experience in SQL and/or c# programming?  The reason I ask is we are developing a new technology, called the 'biblepay DLL' that allows c# IT organizations (and developers) run a web server that hosts decentralized pages driven by DSQL queries.  Whoever is interested in testing this, I would like to make a wiki to explain how to install it and program it.

Sadly i have no experience of such things.

In the coming days i will do some more testing, exciting times Rob!
Have a good one Brother.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 05, 2021, 10:40:11 AM
Rob,

Been testing.....


easybbpstake 500000 1


{
  "BBP UTXO": "fd75d49ae8ab46da5b46898ea40bb151e61de9877d678e483923f5034a301aab-1",
  "BBP Address": "yY1Hezdh5uCYvzo6CaZY5zYqfgqzdf4S6w",
  "BBP Amount": 4999997.37,
  "Commitment Days": 0,
  "DWU": 176.2560024744264,
  "BBP Value USD": 3072.426871716365,
  "Error (Not Sent)": "Insufficient funds.Unable to Create Transaction. NOTE: In this version, you must have an extra unspent coin between 1bbp-9999bbp to pay for the UTXO stake lock (in addition to the UTXO itself).  So please type 'exec bankroll 5 10' and this will create 5 coins worth 10 bbp for you, then try the stake again after those coins are 1 deep.  Thank you for being with BIBLEPAY.  "
}


exec bankroll 5 10


{
  "Command": "bankroll",
  "Error": "Command not found"
}
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 05, 2021, 11:34:02 AM

09:33:03
easybbpstake 500000 60 1


09:33:03
Commitment days must be between 31 and 365 if specified.  (code -1)
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 05, 2021, 12:35:02 PM
09:33:03
easybbpstake 500000 60 1


09:33:03
Commitment days must be between 31 and 365 if specified.  (code -1)
Hi Pat,

With 'easybbpstake' we do not want the user to specify the commitment duration (that is just for highriskbbpstake).

So this is expected.  (See easybbpstake is for a normal, conservative stake with no penalty.  High risk stake gives the higher reward, but also a penalty if you unlock early).


Note that you can also get help with any rpc command like this:
help easybbpstake

This lists the parameters available for the command too.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 05, 2021, 12:38:21 PM
Rob,

Been testing.....


easybbpstake 500000 1


{
  "BBP UTXO": "fd75d49ae8ab46da5b46898ea40bb151e61de9877d678e483923f5034a301aab-1",
  "BBP Address": "yY1Hezdh5uCYvzo6CaZY5zYqfgqzdf4S6w",
  "BBP Amount": 4999997.37,
  "Commitment Days": 0,
  "DWU": 176.2560024744264,
  "BBP Value USD": 3072.426871716365,
  "Error (Not Sent)": "Insufficient funds.Unable to Create Transaction. NOTE: In this version, you must have an extra unspent coin between 1bbp-9999bbp to pay for the UTXO stake lock (in addition to the UTXO itself).  So please type 'exec bankroll 5 10' and this will create 5 coins worth 10 bbp for you, then try the stake again after those coins are 1 deep.  Thank you for being with BIBLEPAY.  "
}


exec bankroll 5 10


{
  "Command": "bankroll",
  "Error": "Command not found"
}

Hi Pat,

Good testing.

So yes, we do require one extra coin in the wallet (of a small value) for these stakes to work, and Im glad you were able to see the extra instructions we printed this time (that keeps users from getting hung up!).

Anyway, I want to mention, I recently made 'exec bankroll' into a new dedicated command called bankroll.

So please change the blurb above to pretend that it said this:
Code: [Select]
bankroll 5 10

Another words, we took out the word 'exec'.

Please try again.

Also, I did just change the code to reflect this change and it will be in the next release!

Thanks.

Rob
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 05, 2021, 12:42:31 PM
Hello Rob.

I have been busy at work now so i havent been able to do much testing, last time i tried to liquidate a locked stake  it did not work for me, but i will retry this new verison you put out and ofcourse
I see you updated with new testcases.

Sadly i have no experience of such things.

In the coming days i will do some more testing, exciting times Rob!
Have a good one Brother.

Hi Earlz, good to see you brother.
No problem, luckily this particular test round we have til the end of June, so we are doing fine this time.

But wait I remember when you tried to liquidate your high risk utxo you did reply that you had a nice big fat penalty on the screen and it did not allow you to send it, as expected.  So I thought that was a Success.

But know this too:  In testnet, our utxo penalty duration is set deliberately at 24* faster.  So by now, Im sure your high risk stake is unlocked.

You will probably have to do a new test and keep a close eye on the status.  IE look at it, make sure its unspendable, watch it the next day, unspendable.  Listutxostakes, it will give you the age on the row of the transaction, and then when its mature it will be unlocked etc.

Im most certainly concerned that we enforce the penalty on high risk stakes.  And of course when they expire that you can spend them without the penalty.

Thanks!


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 05, 2021, 03:37:33 PM

Test failed for Easycode...

easybbpstake 500000 1

"BBP UTXO": "2638b8c7834973da8c02f1a5f9dcba0ca8d97f2fcd33e336e72c21fa9630bb4b-15",
  "BBP Address": "yiCj8EmdEGQZZRG53LqEhkoT8uf3JiSAs4",
  "BBP Amount": 4999848.5005,
  "Commitment Days": 0,
  "DWU": 157.8523393457695,
  "BBP Value USD": 3243.393680164033,
  "BBP Signing Error": "CANT-FIND-UTXO"
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 05, 2021, 03:38:54 PM
Bankroll...

13:28:03
bankroll 5 10

13:28:03
{
  "TXID": "2638b8c7834973da8c02f1a5f9dcba0ca8d97f2fcd33e336e72c21fa9630bb4b"
}
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 05, 2021, 03:58:30 PM
Test failed for Easycode...

easybbpstake 500000 1

"BBP UTXO": "2638b8c7834973da8c02f1a5f9dcba0ca8d97f2fcd33e336e72c21fa9630bb4b-15",
  "BBP Address": "yiCj8EmdEGQZZRG53LqEhkoT8uf3JiSAs4",
  "BBP Amount": 4999848.5005,
  "Commitment Days": 0,
  "DWU": 157.8523393457695,
  "BBP Value USD": 3243.393680164033,
  "BBP Signing Error": "CANT-FIND-UTXO"

Hi Pat!

Could you please attach a screenshot of your coins from "coin control" (Send Money | Inputs)?  Then I can tell you why it cant find one.  Could be that you had to do it after your 'bankroll' command.  The wallet needs a coin that is above 500K, and one coin that is between 1-10K in the wallet for the above easystake to work.

OR alternatively try this:

Btw, if you only have 1 coin for 5mil, you would need to do something like this first:
bankroll 5 260000
That would give you 5 coins worth 260K each in your wallet.

Then do:
easystake 250000 1

That should take care of the problem.

Always wait 1 block after the bankroll command to make sure its in the chain too.




Thanks!

EDIT:

I see the problem Pat -- see up in the output where it says your coin that it found is 4.999M?  That means at the time you ran the command you only have one coin in your wallet (and no change).
For testnet its not really a good idea to stake your last coin (the biggie)  on only one easybbpstake, because then you wont have any money to do the other tests (for example a few high risk stakes etc).
So yeah you will need to do the 'exec bankroll 5 260000' for example to get 5 coins worth 260K, giving you the ability to stake 5 times before you run into new troubles.


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 05, 2021, 05:21:30 PM
*** Unchained Beta is being released into TESTNET ***

https://unchained.biblepay.org/

So this is unchained beta.  It is a conglomeration of new features that we are slowly rolling out including:



But for now I was thinking we can start with actually testing the DSQL technology as  users.  So what I have here, is a brand new instance of a web server (its a new ASPX web server instance running on IIS7 inside the foundation web server), and its consuming our brand new BIBLEPAY.DLL, which is pointed to testnet!  Then in my conf file on the server, I have my testnet privkey pair (which is not shared with anyone of course) and that pair pays the tx fees as people click around.

So please go ahead and make some new Prayer Inserts and some Prayer comments and lets see how this baby performs!

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 06, 2021, 10:57:27 AM
More Testing...


18:51:01
{
  "BBP UTXO": "e5a2ad5bef05d5dbecc5ff36e3b23501052efffa4a3decf3694e8a82b5a1fc4b-14",
  "BBP Address": "ycKPchewtgyyHTNdEJiRwo64KJvUBtY3Xu",
  "BBP Amount": 260000.001,
  "Commitment Days": 0,
  "DWU": 157.8566658710841,
  "BBP Value USD": 174.5805398015776,
  "UTXO Value": 174.580539130114,
  "Results": "The UTXO Stake Contract was created successfully.  Thank you for using BIBLEPAY. ",
  "TXID": "09bf76f1a14c79f0444604a17930b77c8363ca180afea9838deaeb365879078e"
}


08:46:50
attachreferralcode 2a21d83da8a12a078790e763c383dadbb42785916ae5356cdba1f648c73340b4


08:46:51
{
  "Attached": "169bec0ace62aec7eb57a792f82bd1dc1d4cf6af9e0e178c7460ab23e9c33d0b"
}


08:49:21
listattachedreferralcodes


08:49:21
{
  "Details": {
    "Referral BBP Claimed": 0,
    "Referral BBP Earned": 0,
    "Total BBP in Portfolio affected": 0,
    "Portfolio % affected by rewards": 0,
    "Referral Code Effectivity %": 9.956000000000001,
    "Total Portfolio DWU Impact %": 100
  },
  "Portfolio Rewards Modifier": 1
}
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 06, 2021, 11:37:08 AM
More Testing..


09:33:55
listattachedreferralcodes


09:33:55
{
  "Details": {
    "2A21D83DA8A12A078790E763C383DADBB42785916AE5356CDBA1F648C73340B4-Claimed-Originator yLbyhFoEurwToxcTrthXoX6Ln7ieMY3sM5-Consumer YCKPCHEWTGYYHTNDEJIRWO64KJVUBTY3XU": 157456422.29,
    "Referral BBP Claimed": 157456422.29,
    "Referral BBP Earned": 0,
    "Total BBP in Portfolio affected": 260000,
    "Portfolio % affected by rewards": 100,
    "Referral Code Effectivity %": 9.956000000000001,
    "Total Portfolio DWU Impact %": 109.956
  },
  "Portfolio Rewards Modifier": 1.09956
}

Leaderboard image attached...
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 06, 2021, 03:25:45 PM
More Testing..


09:33:55
listattachedreferralcodes


09:33:55
{
  "Details": {
    "2A21D83DA8A12A078790E763C383DADBB42785916AE5356CDBA1F648C73340B4-Claimed-Originator yLbyhFoEurwToxcTrthXoX6Ln7ieMY3sM5-Consumer YCKPCHEWTGYYHTNDEJIRWO64KJVUBTY3XU": 157456422.29,
    "Referral BBP Claimed": 157456422.29,
    "Referral BBP Earned": 0,
    "Total BBP in Portfolio affected": 260000,
    "Portfolio % affected by rewards": 100,
    "Referral Code Effectivity %": 9.956000000000001,
    "Total Portfolio DWU Impact %": 109.956
  },
  "Portfolio Rewards Modifier": 1.09956
}

Leaderboard image attached...

Hi Pat--

Good testing, we are getting somewhere.
On a side note on the Unchained site, can you please go in and add a couple comments?  Just so you can see the site does not crash when adding back to back comments that clearly could not be saved in a 7 minute block (proving that DSQL is working immediately).

Anyway so in your case you have attached to my 157MM BBP portfolio and you are now earning a 9.9% yield bonus.

I realize all that gibberish is too much info for the layperson.  Maybe we need one bold sentence:
YOU ARE EARNING a 9.9% BONUS WITH THESE CODES!

However these lines are useful during our first few months of testing.
Also know that you can have a two-way earning potential; when I add YOUR code to MY portfolio YOUR earnings increase.

So anyway, I did attach your portfolio code to my portfolio (if you click FOUNDATION on the leaderboard you will see YOUR 260K portfolio attached to me, so now I am earning a 1.4% bonus on mine).
Why so small?  Because my portfolio is so big in testnet I am only affecting 1.4% of mine.  But yours being small and using a big code is getting the lions share of the bonus.

Thanks,
Rob
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 06, 2021, 03:27:04 PM
On another side note I am adding Social Media NFTs now!

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 06, 2021, 03:55:29 PM
Earlz, have you had a chance to upgrade your sanc 37.120 yet?  The reason I ask is since its a mandatory I think its preventing chainlocks.
Chainlocks and llmq stopped when I upgraded my 3 sancs (which makes sense) but its supposed to recover within 205 blocks.
However when I look on my 3rd sanc it has one connection to your sanc which might be the problem (and 0 connections to my sanc).

EDIT:
I see you upgraded but not sure about your hash - looks like my sanc sees your sanc with a lower hash, here is my hash:
getblockhash 86417
5cae3b49db8c6ab763ad9d952972389a29a2514e392922a24b29958ffbed5578

EDIT II:
It looks like it worked itself out; I rebooted the sanc that had only one connection and it reconnected to one of my others and chainlocks and llmq continued; and they started to ddos your sanc so it looks like in prod this would resolve itself.


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 06, 2021, 04:16:24 PM

How NTF's could change marketing strategy for Artists:

Up and coming music artist or an author instead of taking a publisher's money up front and then share the revenue with that organization, they can now sell to their social media audience an NFT and give them a percentage of the royalties of the future earnings instead of from a publisher.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 07, 2021, 09:28:39 PM
How NTF's could change marketing strategy for Artists:

Up and coming music artist or an author instead of taking a publisher's money up front and then share the revenue with that organization, they can now sell to their social media audience an NFT and give them a percentage of the royalties of the future earnings instead of from a publisher.

Yeah that sounds like an interesting idea; almost the same as eliminating a broker from a real estate deal also.

What could possibly go wrong?  Buying a commercial building that has a bad foundation?  Infested systemically by flesh eating termites, or built on a hazmat site? 

Just kidding, of course, but .......


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on May 08, 2021, 01:27:58 AM
Earlz, have you had a chance to upgrade your sanc 37.120 yet?  The reason I ask is since its a mandatory I think its preventing chainlocks.
Chainlocks and llmq stopped when I upgraded my 3 sancs (which makes sense) but its supposed to recover within 205 blocks.
However when I look on my 3rd sanc it has one connection to your sanc which might be the problem (and 0 connections to my sanc).

EDIT:
I see you upgraded but not sure about your hash - looks like my sanc sees your sanc with a lower hash, here is my hash:
getblockhash 86417
5cae3b49db8c6ab763ad9d952972389a29a2514e392922a24b29958ffbed5578

EDIT II:
It looks like it worked itself out; I rebooted the sanc that had only one connection and it reconnected to one of my others and chainlocks and llmq continued; and they started to ddos your sanc so it looks like in prod this would resolve itself.

Mornin.

'Yeah i had around 7 hours downtime the other night , isp have some trouble with mobile connections over here.

I ran your getblockhash command on sanc and got :
Code: [Select]
bbpmn@bbpmn-VirtualBox:~/biblepay$ ./biblepay-cli getblockhash 86417
5cae3b49db8c6ab763ad9d952972389a29a2514e392922a24b29958ffbed5578
Comparing to yours : getblockhash 86417
5cae3b49db8c6ab763ad9d952972389a29a2514e392922a24b29958ffbed5578

Looks the same to me.

Some other info i get :
Code: [Select]
bbpmn@bbpmn-VirtualBox:~/biblepay$ ./biblepay-cli masternode status
{
  "outpoint": "0000000000000000000000000000000000000000000000000000000000000000-4294967295",
  "service": "37.120.153.54:40001",
  "state": "POSE_BANNED",
  "status": "Masternode was PoSe banned"
}
bbpmn@bbpmn-VirtualBox:~/biblepay$

Code: [Select]
bbpmn@bbpmn-VirtualBox:~/biblepay$ ./biblepay-cli -getinfo
{
  "version": 1060104,
  "protocolversion": 70772,
  "walletversion": 61000,
  "balance": 0.00000000,
  "blocks": 86898,
  "timeoffset": 0,
  "connections": 5,
  "proxy": "",
  "difficulty": 2.632266129353999e-05,
  "testnet": true,
  "privatesend_balance": 0.00000000,
  "keypoololdest": 1618251858,
  "keypoolsize": 1000,
  "paytxfee": 0.00000000,
  "relayfee": 0.25000000,
  "warnings": ""
}

Code: [Select]
bbpmn@bbpmn-VirtualBox:~/biblepay$ ./biblepay-cli mnsync status
{
  "AssetID": 999,
  "AssetName": "MASTERNODE_SYNC_FINISHED",
  "AssetStartTime": 1620360168,
  "Attempt": 0,
  "IsBlockchainSynced": true,
  "IsSynced": true
}

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 09, 2021, 11:45:37 AM
Mornin.

'Yeah i had around 7 hours downtime the other night , isp have some trouble with mobile connections over here.

I ran your getblockhash command on sanc and got :
Code: [Select]
bbpmn@bbpmn-VirtualBox:~/biblepay$ ./biblepay-cli getblockhash 86417
5cae3b49db8c6ab763ad9d952972389a29a2514e392922a24b29958ffbed5578
Comparing to yours : getblockhash 86417
5cae3b49db8c6ab763ad9d952972389a29a2514e392922a24b29958ffbed5578

Looks the same to me.

Some other info i get :
Code: [Select]
bbpmn@bbpmn-VirtualBox:~/biblepay$ ./biblepay-cli masternode status
{
  "outpoint": "0000000000000000000000000000000000000000000000000000000000000000-4294967295",
  "service": "37.120.153.54:40001",
  "state": "POSE_BANNED",
  "status": "Masternode was PoSe banned"
}
bbpmn@bbpmn-VirtualBox:~/biblepay$

Code: [Select]
bbpmn@bbpmn-VirtualBox:~/biblepay$ ./biblepay-cli -getinfo
{
  "version": 1060104,
  "protocolversion": 70772,
  "walletversion": 61000,
  "balance": 0.00000000,
  "blocks": 86898,
  "timeoffset": 0,
  "connections": 5,
  "proxy": "",
  "difficulty": 2.632266129353999e-05,
  "testnet": true,
  "privatesend_balance": 0.00000000,
  "keypoololdest": 1618251858,
  "keypoolsize": 1000,
  "paytxfee": 0.00000000,
  "relayfee": 0.25000000,
  "warnings": ""
}

Code: [Select]
bbpmn@bbpmn-VirtualBox:~/biblepay$ ./biblepay-cli mnsync status
{
  "AssetID": 999,
  "AssetName": "MASTERNODE_SYNC_FINISHED",
  "AssetStartTime": 1620360168,
  "Attempt": 0,
  "IsBlockchainSynced": true,
  "IsSynced": true
}


Good morning Earlz!

Yeah our llmqs and chainlocks are working fine again now so you are good, except your sanc is still pose banned.  It just needs 'exec revivesanc' again.  Its not participating in the quorums now that it is at 800.

So one thing I did find in this version is our Proposal Add process is broken.  I found the root cause of this last night, is that we submit proposals in 4, and require 6.  Apparently because we relaxed that req. in classic (understandably).  I will fix this but this requires a mandatory just to test proposals add (and proposal Pay), so I will hold off on this until the next required release.  After all we still need to test RX mining against the pool in prod and I havent set that up yet.  We also need to Move ~biblepaytest to ~biblepay in this version to take off the training wheels (sounds like something we can do all in the next release). 

I have also invited Cameroon One to join us, to start testing NFTs here.  I believe I also will need to make a testnet launch option to make testing in testnet either.  What I propose to do is *add* a windows executable in the next zip called biblepay-qt-testnet that will auto launch in testnet (so there is no need for a testnet conf file).  Ill try to get that in the next release also.

So Earlz will you be able to test the remaining test cases also, like for example the icons and the spend status of the high risk stakes and the referral codes etc?

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on May 10, 2021, 09:34:13 AM
Hello Rob.

Quote
So Earlz will you be able to test the remaining test cases also, like for example the icons and the spend status of the high risk stakes and the referral codes etc?

Yeah ofcourse i wil do the test scenarios  you posted, will try do some tonight, the highrisk stakes and what not.
So yeah stay tuned.

10-4 on the "exec revive sanc", will do aswell.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 11, 2021, 11:25:56 AM

Hi Earlz,

Looks like you are a competent IT guy, could you help me out (if you are familiar with Linux), I would really appreciate some help in getting Testnet up and running on a new Ubuntu Desktop…..

Thanks, Pat

Ubuntu 20.04.2 LTS
64-bit

Created directory: home/pat/BiblePay/bbp-lin-develop-64
files in this Folder:
biblepay-cli
biblepayd
biblepay-qt
biblepaytest.conf

From tips from a search, I have run these commands from the command line….
$ sudo apt-get update
$ sudo apt-get install build-essential
$ sudo apt-get install qtcreator
$ sudo apt install qt5-default
$ sudo apt-get install qt5-doc qtbase5-examples qtbase5-doc-html


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on May 11, 2021, 12:37:06 PM
Evenin Rob.

Trying to spend the high risk bbp stake i get 2 errors.
First pop up window saying "insufficient funds" and the next one that pops up is "transaction creation failed"

What i tried was target the high risk stake in the coin control have it schecked in then try and send the entire stake to my main test wallet,  i have tested to check/uncheck the box called "subtract fee from amount"  , well it dosent seem to make any diffrence , just that i get another pop up window.
Right now i created a normal tBBP stake to see if i can liquidate that one.
I noticed that from the ui it didnt work for me to make the stake just said "Unable to create UTXO stake , unable to find stake between 10k&10MM older then 24hours" 
So then i tested from the terminal/console

Code: [Select]
19:17:54
easybbpstake 2999999 1


19:17:54
{
  "BBP UTXO": "e429a3d8f8a1204d0816a01cb7364e3fec534c0fce67d43cda7fb3cb68519521-13",
  "BBP Address": "yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx",
  "BBP Amount": 3000000.001,
  "Commitment Days": 0,
  "DWU": 168.3734873672299,
  "BBP Value USD": 2334.035517832162,
  "UTXO Value": 2334.03551705415,
  "Results": "The UTXO Stake Contract was created successfully.  Thank you for using BIBLEPAY. ",
  "TXID": "70de2242b1c213d8604cbab69dd6da8a067f9278caf43372d43c4f13e6325c79"
}


Now it worked normal.


So the trouble i have Rob is to simply spend the locked high risk bbp stake so to say.
I believe earlier that i spend a highriskstake but that one was already fulfilled so no penalty there.
Any ideas on ways to spend non fulfilled stake?
Creating the high risk stakes both pure bbp and bbp+foreign currency i have had no problems with.

Anyways while im continuing trying and tinkering im gonna read up on what more test cases you got going.

Talk to you laters.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on May 11, 2021, 01:37:50 PM
Hi Earlz,

Looks like you are a competent IT guy, could you help me out (if you are familiar with Linux), I would really appreciate some help in getting Testnet up and running on a new Ubuntu Desktop…..

Thanks, Pat

Ubuntu 20.04.2 LTS
64-bit

Created directory: home/pat/BiblePay/bbp-lin-develop-64
files in this Folder:
biblepay-cli
biblepayd
biblepay-qt
biblepaytest.conf

From tips from a search, I have run these commands from the command line….
$ sudo apt-get update
$ sudo apt-get install build-essential
$ sudo apt-get install qtcreator
$ sudo apt install qt5-default
$ sudo apt-get install qt5-doc qtbase5-examples qtbase5-doc-html

Evenin Pat.



Looks like you are almost home, just have to set up the biblepay config file.

So i usually just run command 
Code: [Select]
cd ~/biblepay to get into the biblepay folder in the terminal.
then you can run the
Code: [Select]
ls command in terminal to list folders and files inside the biblepay folder.

This being said you should have gotten another file folder when you unzipped the biblepay zip file.
Called
Code: [Select]
.biblepaytest location i think your home folder.
If you dont see the file you will have to click the "show hidden files" button , its right next to the minimize button on the top right.

So Pat you could try this out:
Open up terminal window then :

1
Code: [Select]
cd ~/biblepay2
Code: [Select]
mv biblepaytest.conf /home/pat/.biblepaytest3
Code: [Select]
cd ~/.biblepaytest4
Code: [Select]
nano biblepaytest.confNow you should have gotten nano text editor open and can configurate testnet so to say.  in there just add parameter:
Code: [Select]
testnet=1
debug=1
then you can just hit Ctrl+x  and save the above Changes that you made to the biblepaytest.conf  file.

then just
Code: [Select]
cd ~/biblepaythen
Code: [Select]
./biblepay-qt -conf=biblepaytest.conf
Then i belive it should work for you Pat.
Im no expert either at linux but we learn as we go.
If you wonder anything else or something you  thinking of just give out a shout.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 11, 2021, 03:40:51 PM
Hi Earlz,

Looks like you are a competent IT guy, could you help me out (if you are familiar with Linux), I would really appreciate some help in getting Testnet up and running on a new Ubuntu Desktop…..

Thanks, Pat

Ubuntu 20.04.2 LTS
64-bit

Created directory: home/pat/BiblePay/bbp-lin-develop-64
files in this Folder:
biblepay-cli
biblepayd
biblepay-qt
biblepaytest.conf

From tips from a search, I have run these commands from the command line….
$ sudo apt-get update
$ sudo apt-get install build-essential
$ sudo apt-get install qtcreator
$ sudo apt install qt5-default
$ sudo apt-get install qt5-doc qtbase5-examples qtbase5-doc-html

And Pat also, I don't want to step on what Earlz was telling you, I just want to point something out you may or may not already know.

There are two ways to get BBP up and running in Ubuntu.
First option is to run the binary.  Second option is to build it yourself.

So I want to point out if you are trying to build it yourself, please follow these instructions and let us know if you have a problem:
https://github.com/biblepay/biblepay/blob/master/BuildBiblePay.txt

Otoh, if you are trying to run the biblepay binary that you downloaded from the web site... then you would want to copy the biblepay-qt file to your home folder (for example "/biblepay-develop/biblepay" for example, then run biblepay like this:
./biblepay-qt

Not sure if thats where you were stuck or if you are stuck making the config file let us know thanks.

And Earlz, thanks for the testing, I will have to make a new release for us because I found some necessary enhancements then I will comment asap.

Thanks.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 11, 2021, 05:05:27 PM

Thanks Earlz and Rob, appreciate the help....

Keep getting this error....Illegal instruction (core dumped)

pat@pat-OptiPlex-760:~/BiblePay/Testnet$ ./biblepay-qt conf=biblepaytest.conf
Illegal instruction (core dumped)

pat@pat-OptiPlex-760:~/BiblePay/Testnet$ dir
biblepay-cli  biblepayd  biblepay-qt  biblepaytest.conf

pat@pat-OptiPlex-760:~/BiblePay/Testnet$ ./biblepay-qt
Illegal instruction (core dumped)

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on May 13, 2021, 09:20:17 AM
Hello Pat.

Quote
Keep getting this error....Illegal instruction (core dumped)

pat@pat-OptiPlex-760:~/BiblePay/Testnet$ ./biblepay-qt conf=biblepaytest.conf
Illegal instruction (core dumped)

pat@pat-OptiPlex-760:~/BiblePay/Testnet$ dir
biblepay-cli  biblepayd  biblepay-qt  biblepaytest.conf

pat@pat-OptiPlex-760:~/BiblePay/Testnet$ ./biblepay-qt
Illegal instruction (core dumped)

I havent encountered that error code Before, hmmm.
I wonder if it could have something to do with its older cpu thats not support AES or avx etc etc.
Hmm well its just speculation on my end.

Did you compile the wallet yourself or did you just download the binary  and unzip (the easy way) ?
 
I think Rob could do some better troubleshooting with you.
Anyways best of luck to you.


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 13, 2021, 09:35:58 AM
Thanks Earlz and Rob, appreciate the help....

Keep getting this error....Illegal instruction (core dumped)

pat@pat-OptiPlex-760:~/BiblePay/Testnet$ ./biblepay-qt conf=biblepaytest.conf
Illegal instruction (core dumped)

pat@pat-OptiPlex-760:~/BiblePay/Testnet$ dir
biblepay-cli  biblepayd  biblepay-qt  biblepaytest.conf

pat@pat-OptiPlex-760:~/BiblePay/Testnet$ ./biblepay-qt
Illegal instruction (core dumped)

Hi Pat,

1) Is this biblepay-qt file, is this one you built or is it unzipped from the zip file from the web site?
2) Could you please share the specs of the machine, IE what RAM it has and what processor?
The reason I ask is RandomX is a little demanding; I believe the minimum level of machine is something like a 4gb machine with 40 gig drive to run a full node, roughly.
3) You can also check to see if anything is written in the debug.log, located here:
~/.biblepay
Anything written to debug.log?


Thanks!


PS :  Guys, please be patient for a little while longer in testnet, although I'm very zealous for getting this tested so we can have NFTs on time in our July 1 release,
 some things have started to happen behind the scenes that are pullling in some extra time.  One, Im working with Todd to explain about the NFTs, and since he has a mac, we have a couple side projects that are necessary to finish now for prod, to quickly get the Prod Mac Release ready early (we have to fix the RandomX issue in the mac code, and also the gatekeeper signing and see about cross compiling etc, so please be patient).  I'm working on getting Todd up and running as soon as possible so we can all continue testing NFTs together.




Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on May 13, 2021, 10:13:41 AM
Figure i do the referral code test scenario.

Quote
- Attach a portfolio code to your portfolio.  This lets you earn up to 10% more per year if you are able to find 10* the amount of portfolio code "size" than your own portfolio.  For example if you have a 1MM portfolio, and you attach 10MM of codes, you should earn 10% (in a diminishing rate at the decay factor per day).
I will attach a code for you guys now from my testnet portfolio which has 130MM bbp in it:
2a21d83da8a12a078790e763c383dadbb42785916ae5356cdba1f648c73340b4

To attach it do this:
attachreferralcode code

Then after a couple blocks type:
listattachedreferralcodes

And look in the leaderboard, double click on your name and verify the code has a "Referral Rewards" modifier.  This is the factor that your DWU is modified by (in boost).  For example if you have a 50% DWU, and a 1.10 modifier, you will end up with .50*1.1 = .55%  DWU for example.
Note that you also receive a two-way reward when Others attach *your* code.  So please also do a 'generatereferralcode' and paste one of yours here and I will attach yours to my portfolio.


Note that in order to do these tests, you should have a nickname set up in "Edit user record" - be sure your nickname is populated and the record is saved in the chain.

It looks like it went just fine, i attached your referral code Rob.

Code: [Select]
16:29:17
attachreferralcode 2a21d83da8a12a078790e763c383dadbb42785916ae5356cdba1f648c73340b4


16:29:18
{
  "Attached": "7ee3c10d4323303036693a715ff2cdf20346b12b989ac10c1adc149379e17a2a"
}


17:05:24
listattachedreferralcodes


17:05:24
{
  "Details": {
    "2A21D83DA8A12A078790E763C383DADBB42785916AE5356CDBA1F648C73340B4-Claimed-Originator yLbyhFoEurwToxcTrthXoX6Ln7ieMY3sM5-Consumer YHFQES1X7KY4NSXNLGIEZTE3YTCBL3YWRX": 148993648.75,
    "Referral BBP Claimed": 148993648.75,
    "Referral BBP Earned": 0,
    "Total BBP in Portfolio affected": 777777,
    "Portfolio % affected by rewards": 100,
    "Referral Code Effectivity %": 9.847999999999999,
    "Total Portfolio DWU Impact %": 109.848
  },
  "Portfolio Rewards Modifier": 1.09848
}

Here is my referral code:
Code: [Select]
27bc5c80b4cbf728fec8a53a5a0745b39abb0465a83c90a23a288513e89b9789
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 13, 2021, 11:33:44 AM
Hi Rob and Earlz,

I downloaded the bbp-lin-develop-64.zip file from the forum and unzipped into the biblepay directory.

Here is the memory on the machine I am using, looks like I have enough ram and disk space available....

pat@pat:~/Desktop$ free -m
              total        used        free      shared  buff/cache   available
Mem:           7798        1791        1183         350        4823        5358
Swap:          2047           7        2040

pat@pat:~/Desktop$ df -t ext4
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sda5      959862832 13670048 897364624   2% /

pat@pat:~/Desktop$ grep MemTotal /proc/meminfo
MemTotal:        7985572 kB
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 13, 2021, 11:55:45 AM
Hi Pat,

1) Is this biblepay-qt file, is this one you built or is it unzipped from the zip file from the web site?
2) Could you please share the specs of the machine, IE what RAM it has and what processor?
The reason I ask is RandomX is a little demanding; I believe the minimum level of machine is something like a 4gb machine with 40 gig drive to run a full node, roughly.
3) You can also check to see if anything is written in the debug.log, located here:
~/.biblepay
Anything written to debug.log?

model name   : Intel(R) Core(TM)2 Duo CPU     E8600  @ 3.33GHz

From Log file....

May 11 15:04:13 kernel: traps: biblepay-qt[50989] trap invalid opcode ip:560a0d38e3a0 sp:7ffd3c3d5ff0 error:0 in biblepay-qt[560a0d1f0000+4497000]
May 11 14:51:43 kernel: audit: type=1400 audit(1620769903.755:201): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/pat/BiblePay/Testnet/biblepaytest.conf" pid=50331 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
May 11 14:51:43 kernel: kauditd_printk_skb: 3 callbacks suppressed
May 11 14:51:33 kernel: audit: type=1400 audit(1620769893.371:190): apparmor="ALLOWED" operation="file_lock" profile="libreoffice-soffice" name="/home/pat/BiblePay/Testnet/biblepaytest.conf" pid=50331 comm="soffice.bin" requested_mask="wk" denied_mask="wk" fsuid=1000 ouid=1000
May 11 13:17:57 kernel: traps: biblepay-qt[49035] trap invalid opcode ip:558f3c14e3a0 sp:7fffd926dab0 error:0 in biblepay-qt[558f3bfb0000+4497000]
May 11 13:16:14 kernel: audit: type=1400 audit(1620764174.459:164): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/pat/BiblePay/biblepaytest.conf" pid=48833 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
May 11 13:16:14 kernel: kauditd_printk_skb: 3 callbacks suppressed
May 11 13:16:08 kernel: audit: type=1400 audit(1620764168.975:153): apparmor="ALLOWED" operation="file_lock" profile="libreoffice-soffice" name="/home/pat/BiblePay/biblepaytest.conf" pid=48833 comm="soffice.bin" requested_mask="wk" denied_mask="wk" fsuid=1000 ouid=1000
May 11 13:10:43 kernel: traps: biblepay-qt[48689] trap invalid opcode ip:55acad7f63a0 sp:7fffe3eea3b0 error:0 in biblepay-qt[55acad658000+4497000]


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 13, 2021, 03:00:22 PM
Hi Pat,

1) Is this biblepay-qt file, is this one you built or is it unzipped from the zip file from the web site?
2) Could you please share the specs of the machine, IE what RAM it has and what processor?
The reason I ask is RandomX is a little demanding; I believe the minimum level of machine is something like a 4gb machine with 40 gig drive to run a full node, roughly.
3) You can also check to see if anything is written in the debug.log, located here:
~/.biblepay
Anything written to debug.log?

model name   : Intel(R) Core(TM)2 Duo CPU     E8600  @ 3.33GHz

From Log file....

May 11 15:04:13 kernel: traps: biblepay-qt[50989] trap invalid opcode ip:560a0d38e3a0 sp:7ffd3c3d5ff0 error:0 in biblepay-qt[560a0d1f0000+4497000]
May 11 14:51:43 kernel: audit: type=1400 audit(1620769903.755:201): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/pat/BiblePay/Testnet/biblepaytest.conf" pid=50331 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
May 11 14:51:43 kernel: kauditd_printk_skb: 3 callbacks suppressed
May 11 14:51:33 kernel: audit: type=1400 audit(1620769893.371:190): apparmor="ALLOWED" operation="file_lock" profile="libreoffice-soffice" name="/home/pat/BiblePay/Testnet/biblepaytest.conf" pid=50331 comm="soffice.bin" requested_mask="wk" denied_mask="wk" fsuid=1000 ouid=1000
May 11 13:17:57 kernel: traps: biblepay-qt[49035] trap invalid opcode ip:558f3c14e3a0 sp:7fffd926dab0 error:0 in biblepay-qt[558f3bfb0000+4497000]
May 11 13:16:14 kernel: audit: type=1400 audit(1620764174.459:164): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/pat/BiblePay/biblepaytest.conf" pid=48833 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
May 11 13:16:14 kernel: kauditd_printk_skb: 3 callbacks suppressed
May 11 13:16:08 kernel: audit: type=1400 audit(1620764168.975:153): apparmor="ALLOWED" operation="file_lock" profile="libreoffice-soffice" name="/home/pat/BiblePay/biblepaytest.conf" pid=48833 comm="soffice.bin" requested_mask="wk" denied_mask="wk" fsuid=1000 ouid=1000
May 11 13:10:43 kernel: traps: biblepay-qt[48689] trap invalid opcode ip:55acad7f63a0 sp:7fffe3eea3b0 error:0 in biblepay-qt[55acad658000+4497000]

Hi Pat!

Im starting the think the devil got into your machine cause I havent seen so many crashes in a long long time even when we had more users, lol but anyway if you could bear with us it would be beneficial to the community if we can somehow get to the root of the problem in case others have this same machine or spec.

So illegal instruction core dump from what I can tell alludes to the processor not being able to execute a machine language call (IE like asm calls) and that seems suspiciously similar to what we have happening on the mac from randomx.

Im afraid the only way to debug this is to run it from source cause the log is not revealing.

Btw, your ram being about 8gb and having that size hard drive should be fine.  I see your e8600 processor is 64 bit, so that means theoretically randomx runs on that machine.

So since you have command prompt and root access could you please try to build BBP from the source and then after you run it if it still crashes I will explain how to get the stack trace etc.

Thanks?

PS One more thing!  Could you also paste your actual linux version and bitness, try "uname -a"  and "lsb_release -a".  I just want to see if either the kernal or bitness or ubuntu version is incompatible with our binary that we build.


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 13, 2021, 04:31:53 PM
Error message from log...

14:27:32 kernel: traps: biblepay-qt[3874] trap invalid opcode ip:56244cd533a0 sp:7ffd904b4980 error:0 in biblepay-qt[56244cbb5000+4497000]
14:27:32 kernel: traps: biblepay-qt[3874] trap invalid opcode ip:56244cd533a0 sp:7ffd904b4980 error:0 in biblepay-qt[56244cbb5000+4497000]
14:27:09 kernel: traps: biblepay-qt[3837] trap invalid opcode ip:557d738b23a0 sp:7fff40971f80 error:0 in biblepay-qt[557d73714000+4497000]
13:58:47 kernel: perf: interrupt took too long (2501 > 2500), lowering kernel.perf_event_max_sample_rate to 79750
13:19:49 kernel: traps: biblepay-qt[2205] trap invalid opcode ip:5589ccd593a0 sp:7ffcf4575ee0 error:0 in biblepay-qt[5589ccbbb000+4497000]
13:19:49 kernel: process 'pat/BiblePay/Testnet/biblepay-qt' started with executable stack
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 13, 2021, 06:14:21 PM
Will try and run it from source, from the github instructions...

Here is the info you wanted to take a look at:

Linux pat 5.8.0-53-generic #60~20.04.1-Ubuntu SMP Thu May 6 09:52:46 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

at@pat:~/Desktop$ lsb_release -a
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 20.04.2 LTS
Release:   20.04
Codename:   focal
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 13, 2021, 07:22:09 PM
Will try and run it from source, from the github instructions...

Here is the info you wanted to take a look at:

Linux pat 5.8.0-53-generic #60~20.04.1-Ubuntu SMP Thu May 6 09:52:46 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

at@pat:~/Desktop$ lsb_release -a
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 20.04.2 LTS
Release:   20.04
Codename:   focal

Yeah the above log just really tells us the same thing - that the processor cant "step into" a machine language instruction that is not in its set, etc.
But anyway we are getting warmer.. I think your OS is too new.  The good news is, you have 64 bit, that is compatible, ubuntu, that is compatible, but honestly I dont think anyone has 'jumped up' to ubuntu 20.04 yet.  We old computer guys are kind of apprehensive to go past ubuntu 18 (some of us here have ubuntu 17, 16 etc).

So this might be a good exercise first of all to see if it even compiles.  You might get through it, then the binary will run if it compiles.

Basically what this means is, if it compiles we would need to add Ubuntu 20 builds to our web site and offer a different download.

Btw, you dont need to do the swap space step in the instructions since you have a lot of ram available.

Just do the plain vanilla ubuntu steps.

One more thing, once you install the precompiled dependencies (the sudo apt-get install steps), you can try our binary again real quick if you want just to see if the machine needed a shared library to run.

If it still crashes then we have to continue to self-compile it.

Thanks.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 14, 2021, 11:34:19 AM
Hi Rob,

I got to to the end and then, as below...

pat@pat:~/BiblePay/Testnet/biblepay$ cd depends
pat@pat:~/BiblePay/Testnet/biblepay/depends$ ./autogen.sh
bash: ./autogen.sh: No such file or directory

pat@pat:~/BiblePay/Testnet/biblepay/depends$ cd ..

pat@pat:~/BiblePay/Testnet/biblepay$ dir
autogen.sh      CMakeLists.txt   doc            Makefile.am
biblepay-docs      configure.ac     docker         qa
build-aux      contrib       INSTALL.md         README.md
BuildBiblePay.txt  CONTRIBUTING.md  Jenkinsfile         share
changelog.md      COPYING       Jenkinsfile.gitian      src
ci         depends       libbiblepayconsensus.pc.in

pat@pat:~/BiblePay/Testnet/biblepay$ ./autogen.sh
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

pat@pat:~/BiblePay/Testnet/biblepay$ ./configure --prefix `pwd`/depends/x86_64-pc-linux-gnu
bash: ./configure: No such file or directory
pat@pat:~/BiblePay/Testnet/biblepay$ cd depends
pat@pat:~/BiblePay/Testnet/biblepay/depends$ ./configure --prefix `pwd`/depends/x86_64-pc-linux-gnu


make[1]: *** [Makefile:130: all] Error 2
make[1]: Leaving directory '/home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/build'
make: *** [funcs.mk:246: /home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/./.stamp_built] Error 2
pat@pat:~/BiblePay/Testnet/biblepay/depends$ cd ..
pat@pat:~/BiblePay/Testnet/biblepay$ ./autogen.sh
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
pat@pat:~/BiblePay/Testnet/biblepay$ dir
autogen.sh      CMakeLists.txt   doc            Makefile.am
biblepay-docs      configure.ac     docker         qa
build-aux      contrib       INSTALL.md         README.md
BuildBiblePay.txt  CONTRIBUTING.md  Jenkinsfile         share
changelog.md      COPYING       Jenkinsfile.gitian      src
ci         depends       libbiblepayconsensus.pc.in


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 14, 2021, 01:49:41 PM
Hi Rob,

I got to to the end and then, as below...

pat@pat:~/BiblePay/Testnet/biblepay$ cd depends
pat@pat:~/BiblePay/Testnet/biblepay/depends$ ./autogen.sh
bash: ./autogen.sh: No such file or directory

pat@pat:~/BiblePay/Testnet/biblepay/depends$ cd ..

pat@pat:~/BiblePay/Testnet/biblepay$ dir
autogen.sh      CMakeLists.txt   doc            Makefile.am
biblepay-docs      configure.ac     docker         qa
build-aux      contrib       INSTALL.md         README.md
BuildBiblePay.txt  CONTRIBUTING.md  Jenkinsfile         share
changelog.md      COPYING       Jenkinsfile.gitian      src
ci         depends       libbiblepayconsensus.pc.in

pat@pat:~/BiblePay/Testnet/biblepay$ ./autogen.sh
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

pat@pat:~/BiblePay/Testnet/biblepay$ ./configure --prefix `pwd`/depends/x86_64-pc-linux-gnu
bash: ./configure: No such file or directory
pat@pat:~/BiblePay/Testnet/biblepay$ cd depends
pat@pat:~/BiblePay/Testnet/biblepay/depends$ ./configure --prefix `pwd`/depends/x86_64-pc-linux-gnu


make[1]: *** [Makefile:130: all] Error 2
make[1]: Leaving directory '/home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/build'
make: *** [funcs.mk:246: /home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/./.stamp_built] Error 2
pat@pat:~/BiblePay/Testnet/biblepay/depends$ cd ..
pat@pat:~/BiblePay/Testnet/biblepay$ ./autogen.sh
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
pat@pat:~/BiblePay/Testnet/biblepay$ dir
autogen.sh      CMakeLists.txt   doc            Makefile.am
biblepay-docs      configure.ac     docker         qa
build-aux      contrib       INSTALL.md         README.md
BuildBiblePay.txt  CONTRIBUTING.md  Jenkinsfile         share
changelog.md      COPYING       Jenkinsfile.gitian      src
ci         depends       libbiblepayconsensus.pc.in

Hi Pat,

So on the above commands, the main problem up there is your running the configure command from the wrong directory (not sure if its our documentation or your starting point) but nevertheless lets just get you on track and get past that.  First the ./configure command always has to be run from "~/BiblePay/Testnet/biblepay" (and not from depends).  The "make" command for depends should just be (make -j4) for example, from "/depends" - just to give you an example but Ill give you a more detailed example below.

Lets take it in baby steps, cause we need to ensure depends builds first, once this is done we can move on.

First, ensure that you definitely executed all the "apt-get install" commands-- those all need installed first.

Next try this:

cd ~/BiblePay/Testnet/biblepay
cd depends
At this point you should definitely be in the depends directory.
make -j 4

Let me know if it builds all the stuff, the qt, the boost etc.    Then we can move on to try to compile the wallet.

Point 2: This is completely a separate point.  If you already installed all the "apt-get install" commands, can you please try the binary again and see if its still an illegal instruction crash?  Im just wondering because we need to know that it was not a static dependency.

Point 3:  I took a look at the dash web site, and they are able to simply build 3 builds:  MAC, Linux x86_64, and Windows.  Yes they have 32 bit versions, but that is a separate issue.  My point is, their x86_64 build for linux works on Ubuntu 20, so theoretically that means we should not be crashing on ubuntu 20 either, we should run on every ubuntu 64 bit machine.  But we still need to build yours from source to reveal the exact line of the crash.  Once we know that then we will know if its randomx or not...

Thanks!

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 14, 2021, 01:52:08 PM
Alright guys, looks like we finally got past that MAC build issue, praise God.
Now any mac testers who were waiting, can download MAC from the OP post and it should launch in testnet automatically.
Note that you may have to Ctrl-Click to open it because its signed but not notarized.

Now I can invite Todd from Cameroon back in, since he has a mac and we can work forward with NFTs again!
I will of course take a look at where we were with the attach referral codes.

On a side note everyone, could everyone please upgrade when you see the next post?  The referral codes have a new feature.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 14, 2021, 02:33:55 PM

The make -j 4 runs...

make -j 4
Building chia_bls...
make[1]: Entering directory '/home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/build'
make[2]: Entering directory '/home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/build'

./biblepat-qt still gets errors...

pat@pat:~/BiblePay/Testnet$ ./biblepay-qt
Illegal instruction (core dumped)
pat@pat:~/BiblePay/Testnet$ dir
biblepay  biblepay-cli   biblepayd  biblepay-qt   biblepaytest.conf

The ./autogen.sh still has errors...

pat@pat:~/BiblePay/Testnet/biblepay$ dir
autogen.sh      CMakeLists.txt   doc            Makefile.am
biblepay-docs      configure.ac     docker         qa
build-aux      contrib       INSTALL.md         README.md
BuildBiblePay.txt  CONTRIBUTING.md  Jenkinsfile         share
changelog.md      COPYING       Jenkinsfile.gitian      src
ci         depends       libbiblepayconsensus.pc.in
pat@pat:~/BiblePay/Testnet/biblepay$ ./autogen.sh
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
pat@pat:~/BiblePay/Testnet/biblepay$

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 14, 2021, 02:51:47 PM
BiblePay TestNet
1.6.1.7-Leisure Upgrade

- Add build icon for mac
- Disable smtp and pop3 by default to prevent mac-testnet from crashing


Ok guys, this release 1.6.1.7 should be visible on all the platforms.
Could we please try 'listattachedreferralcodes' again and see if the codes you attached makes sense now? 

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 14, 2021, 02:59:34 PM
The make -j 4 runs...

make -j 4
Building chia_bls...
make[1]: Entering directory '/home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/build'
make[2]: Entering directory '/home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/build'

./biblepat-qt still gets errors...

pat@pat:~/BiblePay/Testnet$ ./biblepay-qt
Illegal instruction (core dumped)
pat@pat:~/BiblePay/Testnet$ dir
biblepay  biblepay-cli   biblepayd  biblepay-qt   biblepaytest.conf

The ./autogen.sh still has errors...

pat@pat:~/BiblePay/Testnet/biblepay$ dir
autogen.sh      CMakeLists.txt   doc            Makefile.am
biblepay-docs      configure.ac     docker         qa
build-aux      contrib       INSTALL.md         README.md
BuildBiblePay.txt  CONTRIBUTING.md  Jenkinsfile         share
changelog.md      COPYING       Jenkinsfile.gitian      src
ci         depends       libbiblepayconsensus.pc.in
pat@pat:~/BiblePay/Testnet/biblepay$ ./autogen.sh
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
pat@pat:~/BiblePay/Testnet/biblepay$

I was looking at the autom4te error codes, and apparently the error you are getting happens if you dont have persmissions to write temp files to the autobuilds cache.  This could probably happen if you git cloned the directory as root and then downgraded to pat for example.  Another words your build user does not have ownership of the directory doing the build.

You have two options, option 1 would be to start over as user pat, and make a new build directory start at the root of the drive for example :  "/biblepay/testnet" and do a new git clone and start over.  Or the other option is to "su root" and continue building this build as root and see if it finishes.   Note that it is very important to 'git pull origin develop' after you do the new git clone, otherwise you will be building "prod" code instead of develop.



Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 14, 2021, 03:41:09 PM
Figure i do the referral code test scenario.

It looks like it went just fine, i attached your referral code Rob.

Code: [Select]
16:29:17
attachreferralcode 2a21d83da8a12a078790e763c383dadbb42785916ae5356cdba1f648c73340b4
16:29:18
{
  "Attached": "7ee3c10d4323303036693a715ff2cdf20346b12b989ac10c1adc149379e17a2a"
}
17:05:24
listattachedreferralcodes
17:05:24
{
  "Details": {
    "2A21D83DA8A12A078790E763C383DADBB42785916AE5356CDBA1F648C73340B4-Claimed-Originator yLbyhFoEurwToxcTrthXoX6Ln7ieMY3sM5-Consumer YHFQES1X7KY4NSXNLGIEZTE3YTCBL3YWRX": 148993648.75,
    "Total BBP in Portfolio affected": 777777,
    "Portfolio % affected by rewards": 100,
    "Referral Code Effectivity %": 9.847999999999999,
    "Total Portfolio DWU Impact %": 109.848
  },
  "Portfolio Rewards Modifier": 1.09848
}

Here is my referral code:
Code: [Select]
27bc5c80b4cbf728fec8a53a5a0745b39abb0465a83c90a23a288513e89b9789

Hi Earlz,

I finally had a chance to move a little further on this.  Yes, looks like it worked for you, but do me a favor when you upgrade to the latest please do 'listattachedreferralcodes' and ensure you still have your referral code connected to my portfolio (Im yLB*) just to make sure the signing and memory works.

So moving on I will now attach Your referral code to me:
attachreferralcode 27bc5c80b4cbf728fec8a53a5a0745b39abb0465a83c90a23a288513e89b9789

See output of
Code: [Select]
listattachedreferralcodes
{
  "Details": {
    "169BEC0ACE62AEC7EB57A792F82BD1DC1D4CF6AF9E0E178C7460AB23E9C33D0B-Claimed-Originator ycKPchewtgyyHTNdEJiRwo64KJvUBtY3Xu-Consumer YLBYHFOEURWTOXCTRTHXOX6LN7IEMY3SM5": 260000,
    "27BC5C80B4CBF728FEC8A53A5A0745B39ABB0465A83C90A23A288513E89B9789-Claimed-Originator yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx-Consumer YLBYHFOEURWTOXCTRTHXOX6LN7IEMY3SM5": 777777,
    "29C67442ED34B1998B4E765FF7E6CC2BA92A2131E689569ABC4F0A9444E61035-Claimed-Originator ygFhCV3ky1PpubKPmf7UAJAa5gcqvqJrW8-Consumer YLBYHFOEURWTOXCTRTHXOX6LN7IEMY3SM5": 1000000,
    "AF70930D112BD9E9573E22CDE96D7A23972F8BCA1E1284E209E76DF9895F8E34-Claimed-Originator ygBoaFdvzJD2PH3q8scccZ2vKPpufd2DXy-Consumer YLBYHFOEURWTOXCTRTHXOX6LN7IEMY3SM5": 1000000,
    "2A21D83DA8A12A078790E763C383DADBB42785916AE5356CDBA1F648C73340B4-Earned-Originator yLbyhFoEurwToxcTrthXoX6Ln7ieMY3sM5-Consumer YCKPCHEWTGYYHTNDEJIRWO64KJVUBTY3XU": 260000,
    "075221C1E32311E824039146A34325920C7530B49A3A51E69CC2269A9B936572-Earned-Originator yLbyhFoEurwToxcTrthXoX6Ln7ieMY3sM5-Consumer YGFHCV3KY1PPUBKPMF7UAJAA5GCQVQJRW8": 1000000,
    "2A21D83DA8A12A078790E763C383DADBB42785916AE5356CDBA1F648C73340B4-Earned-Originator yLbyhFoEurwToxcTrthXoX6Ln7ieMY3sM5-Consumer YHFQES1X7KY4NSXNLGIEZTE3YTCBL3YWRX": 777777,
    "Referral BBP Claimed": 3037777,
    "Referral BBP Earned": 2037777,
    "Total BBP in Portfolio affected": 5075554,
    "Portfolio % affected by rewards": 3.223465855206592,
    "Referral Code Effectivity %": 19.028,
    "Total Portfolio DWU Impact %": 100.6133610829287,
    "Summary": "You are earning 0.61% in referral rewards sourced from 3037777 claimed and 2037777 earned."
  },
  "Portfolio Rewards Modifier": 1.006133610829287
}



Looks like it worked, now I can see that I am earning .61% from being attached to you and you are earning 1.09% for being attached to me.
Btw, the latest wallet does only give credit for each distinct referral code once - so if someone tries to generate multiple codes, the wallet will only award one code per portfolio for each direction.  By direction, I mean earnings (codes attached) plus claimed (codes consumed).


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 14, 2021, 03:45:54 PM
And on our NFTs:
So Todd is working on creating an orphan NFT; we will wait on that scenario.
We tested most of the features on the digital goods type NFT.

On the social media NFT, I just created one here that should theoretically show our OP post:
http://foundation.biblepay.org/NFTBrowse

EDIT:  I already discovered a bug:  the equals sign does not get encoded in the URL correctly:  EDIT2:  FIXED, will be in the next release.  This affects URLs with certain characters.



Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 14, 2021, 03:57:41 PM
Evenin Rob.

Trying to spend the high risk bbp stake i get 2 errors.
First pop up window saying "insufficient funds" and the next one that pops up is "transaction creation failed"

What i tried was target the high risk stake in the coin control have it schecked in then try and send the entire stake to my main test wallet,  i have tested to check/uncheck the box called "subtract fee from amount"  , well it dosent seem to make any diffrence , just that i get another pop up window.
Right now i created a normal tBBP stake to see if i can liquidate that one.
I noticed that from the ui it didnt work for me to make the stake just said "Unable to create UTXO stake , unable to find stake between 10k&10MM older then 24hours" 
So then i tested from the terminal/console

Code: [Select]
19:17:54
easybbpstake 2999999 1


19:17:54
{
  "BBP UTXO": "e429a3d8f8a1204d0816a01cb7364e3fec534c0fce67d43cda7fb3cb68519521-13",
  "BBP Address": "yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx",
  "BBP Amount": 3000000.001,
  "Commitment Days": 0,
  "DWU": 168.3734873672299,
  "BBP Value USD": 2334.035517832162,
  "UTXO Value": 2334.03551705415,
  "Results": "The UTXO Stake Contract was created successfully.  Thank you for using BIBLEPAY. ",
  "TXID": "70de2242b1c213d8604cbab69dd6da8a067f9278caf43372d43c4f13e6325c79"
}


Now it worked normal.


So the trouble i have Rob is to simply spend the locked high risk bbp stake so to say.
I believe earlier that i spend a highriskstake but that one was already fulfilled so no penalty there.
Any ideas on ways to spend non fulfilled stake?
Creating the high risk stakes both pure bbp and bbp+foreign currency i have had no problems with.

Anyways while im continuing trying and tinkering im gonna read up on what more test cases you got going.

Talk to you laters.

Hi Earlz,

So although I don't think anything has been discovered that is 'broken' yet I see that we need very in-depth testing for these scenarios to make sure all these high risk staking features are solid (spending them, checking the penalty, the icons etc).

So first of all on the one you were creating from the UI, with the error "must be between 10K-10MM".  Know that in the UI, we simply check to see if you have an *extra* small coin (between 1-1K) available for the utxo-fee (in addition to the stake coin).  Its a little bit of a nuisance, but its possible either the coin control had some coins selected; or you didnt actually have the extra coin...   Could you try again after knowing that no coins are selected in coin control (try a UI checkbox stake) while there is at least one small coin in the wallet?  You can make a small coin with 'banroll 5 1' for example.

On the transaction create failed while spending a high risk stake, I definitely need to know what the coins icon looked like (was it a dove, or was it a chain?).  If it was a dove, I think what probably happened is you selected to spend it, typed in the whole amount and clicked SEND.  This means there was no extra available for change and for the tx fee.  You can safely type in LESS than the amount, and it will just give you change.  I think the problem was simply the tx fee needed more size.

I think we should test about 10 new scenarios, if we can guys.  Can we create some high risk stakes and put them in a little spreadsheet, of varying durations (IE 30 days to 100 days) and test different spending scenarios on those?  As mentioned earlier we will see testnet time go by 24* faster than normal, so the 30 day high risk stake will be mature in only 1.5 days.  Also we can deliberately try to spend a few and see what the hit is.  When you guys do this please look at the coin control icon also, note which stage it is in and verify the stage matches what it should be (IE immature is a chain and its locked etc).

Let me know did I miss anything you guys are testing with high risk?  Or in other areas?

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 14, 2021, 03:58:53 PM
Btw, I did add CSV greeting cards that let the user:
- Send greeting card batches With or Without gift cards attached.

So yes, they can do a template, write a paragraph, attach a gift card amount, and if it is sent to 10 people, all 10 will get the same amount and the same paragraph.

But, I need to make a wiki page to explain the CSV format before we can test it.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on May 15, 2021, 10:00:12 AM
Gdday.

Quote
Hi Earlz,

So although I don't think anything has been discovered that is 'broken' yet I see that we need very in-depth testing for these scenarios to make sure all these high risk staking features are solid (spending them, checking the penalty, the icons etc).

So first of all on the one you were creating from the UI, with the error "must be between 10K-10MM".  Know that in the UI, we simply check to see if you have an *extra* small coin (between 1-1K) available for the utxo-fee (in addition to the stake coin).  Its a little bit of a nuisance, but its possible either the coin control had some coins selected; or you didnt actually have the extra coin...   Could you try again after knowing that no coins are selected in coin control (try a UI checkbox stake) while there is at least one small coin in the wallet?  You can make a small coin with 'banroll 5 1' for example.

On the transaction create failed while spending a high risk stake, I definitely need to know what the coins icon looked like (was it a dove, or was it a chain?).  If it was a dove, I think what probably happened is you selected to spend it, typed in the whole amount and clicked SEND.  This means there was no extra available for change and for the tx fee.  You can safely type in LESS than the amount, and it will just give you change.  I think the problem was simply the tx fee needed more size.

I think we should test about 10 new scenarios, if we can guys.  Can we create some high risk stakes and put them in a little spreadsheet, of varying durations (IE 30 days to 100 days) and test different spending scenarios on those?  As mentioned earlier we will see testnet time go by 24* faster than normal, so the 30 day high risk stake will be mature in only 1.5 days.  Also we can deliberately try to spend a few and see what the hit is.  When you guys do this please look at the coin control icon also, note which stage it is in and verify the stage matches what it should be (IE immature is a chain and its locked etc).

Let me know did I miss anything you guys are testing with high risk?  Or in other areas?

Alright now i Think things are moving forward.

I managed to spend  the  tbbp only highriskstake that i made earlier.

Code: [Select]
17:54:03
highriskbbpstake 777777 365 1


17:54:08
{
  "BBP UTXO": "926c119765f820695028c32ed8a2a8f9ef783c4ffa6a9b5de6a5198e30968edf-11",
  "BBP Address": "yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx",
  "BBP Amount": 777777.001,
  "Commitment Days": 365,
  "DWU": 307.064728349887,
  "!WARNING!": "When you promise to lock for 365 days for a high yield reward,  you hereby AGREE that you may be PENALIZED by up to 50% of the value of your UTXO.   If you do not fulfill your obligation, your original UTXO will have burn fees deducted from it.   EXAMPLE:  You have a 100,000 BBP coin.  You lock it for 90 days for a 40% DWU.  On the 15th day you try to spend the coin (breaking your obligation).   You will be penalized 40%*2=80% (capped at 50% max) of your original UTXO.   (If you do not agree please use our conservative staking feature: easybbpstake.)  Thank you for using BIBLEPAY.  ",
  "BBP Value USD": 782.5136147227827,
  "UTXO Value": 1565.027227433385,
  "Results": "The UTXO Stake Contract was created successfully.  Thank you for using BIBLEPAY. ",
  "TXID": "87d4fae09f9cefae4130f78717f65f8a75da6341b12fb77880fec08f54cba173"
}

Like you said :
Quote
On the transaction create failed while spending a high risk stake, I definitely need to know what the coins icon looked like (was it a dove, or was it a chain?).  If it was a dove, I think what probably happened is you selected to spend it, typed in the whole amount and clicked SEND.  This means there was no extra available for change and for the tx fee.  You can safely type in LESS than the amount, and it will just give you change.  I think the problem was simply the tx fee needed more size.

It was the chain one, so i believe i was trying to spend the entire amount like you said and it didnt work for me, although i was sure i tested to just withdraw a bit of it aswell to test and it didnt work, im thinking i didnt calculate in the penalty in the transaction and therefore the transaction didnt work.

Now i set spend to just 10k and the transaction worked , high risk spend.

Code: [Select]
Status: 11 confirmations, locked via ChainLocks
Date: 2021-05-15 10:50
To: yLKSrCjLQFsfVgX8RjdctZ797d54atPjnV
Debit: -388 888.50050000 tBBP
Transaction fee: -0.06575000 tBBP
Net amount: -388 888.56625000 tBBP
Transaction ID: 76b968a7fa7da860b0c805822fc0843fd9f1504e39b212078573881aee4d54ea
Output index: 2
Transaction total size: 263 bytes

Height: 89350
Difficulty: 0.00
Time: 05-15-2021 08:53:22
Subsidy: 7420.6421

Debit: -777 777.00100000 tBBP
Credit: 10 000.00000000 tBBP
To: yWxLzk2tEFSuaw1s2V3rYLrPb6itNi8w7U 10000.0000 BIBLEPAY
Credit: 378 888.43475000 tBBP
To: yVdHJQWeGp1ikiPbmdnqGGTXZFWgudkBQe 378888.0000 BIBLEPAY

looks like i received : 48.71422014279157%  penalty for shorting the highrisk stake.

Then i created Another highriskstake but for 31 days and spent it.

Code: [Select]
10:48:04
highriskbbpstake 2999999 31 1


10:48:05
{
  "BBP UTXO": "2e6ef29f17796ef05e542a061c4c1d31f5ff8f795662a83d637c86f18cd6eee7-0",
  "BBP Address": "yWxLzk2tEFSuaw1s2V3rYLrPb6itNi8w7U",
  "BBP Amount": 2999999.95275,
  "Commitment Days": 31,
  "DWU": 183.8171421328033,
  "!WARNING!": "When you promise to lock for 31 days for a high yield reward,  you hereby AGREE that you may be PENALIZED by up to 50% of the value of your UTXO.   If you do not fulfill your obligation, your original UTXO will have burn fees deducted from it.   EXAMPLE:  You have a 100,000 BBP coin.  You lock it for 90 days for a 40% DWU.  On the 15th day you try to spend the coin (breaking your obligation).   You will be penalized 40%*2=80% (capped at 50% max) of your original UTXO.   (If you do not agree please use our conservative staking feature: easybbpstake.)  Thank you for using BIBLEPAY.  ",
  "BBP Value USD": 1468.41205292861,
  "UTXO Value": 1604.294957848415,
  "Results": "The UTXO Stake Contract was created successfully.  Thank you for using BIBLEPAY. ",
  "TXID": "c44e2f543128125ad5cd2bd5e22ca3e83cd1c245646332109233598160a2985d"

This time it worked aswell.

Code: [Select]
Status: 38 confirmations, locked via ChainLocks
Date: 2021-05-15 14:13
To: yLKSrCjLQFsfVgX8RjdctZ797d54atPjnV
Debit: -1 499 999.97637499 tBBP
Transaction fee: -0.06575000 tBBP
Net amount: -1 500 000.04212499 tBBP
Transaction ID: b54141b62ea5d14484903a238320dfcfcf57cf1eba2b8d1708f5b648ab678a29
Output index: 2
Transaction total size: 262 bytes

Height: 89398
Difficulty: 0.00
Time: 05-15-2021 12:20:42
Subsidy: 7420.6421

Debit: -2 999 999.95275000 tBBP
Credit: 100 000.00000000 tBBP
To: ybnpUQZLECgeM9gS6K8QnjU7tpfZDnJGhv 100000.0000 BIBLEPAY
Credit: 1 399 999.91062501 tBBP
To: yPQaCMUyAGBSnYnhQnTAe5r7jvRvv8AbZ6 1399999.0000 BIBLEPAY

Close to 50%  penalty this time aswell.
Took a screenshot of the final spend, looks solid from here.

Running  command
Code: [Select]
listutxostakes 0 0Showed all my stakes as spent, so good there aswell.

Code: [Select]
17:02:33
listutxostakes 0 0


17:02:33
{
  "87d4fae09f9cefae4130f78717f65f8a75da6341b12fb77880fec08f54cba173": {
    "RiskType": "H",
    "DWU": 330.1866559622127,
    "Sigs": "1-NA",
    "TotalValue": 730.679081890743,
    "Ticker": "BBP",
    "Status": 1,
    "CPK": "yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx",
    "BBPAmount": "777777.00000000",
    "ForeignAmount": "0.00000000",
    "BBPValue": "365.34",
    "ForeignValue": "0.00",
    "Commitment": 365,
    "Fulfilled %": 32.59172126426262,
    "Time": 1620662685,
    "Spent": true
  },
  "c44e2f543128125ad5cd2bd5e22ca3e83cd1c245646332109233598160a2985d": {
    "RiskType": "H",
    "DWU": 180.3706241735368,
    "Sigs": "1-NA",
    "TotalValue": 1539.568824622444,
    "Ticker": "BBP",
    "Status": 1,
    "CPK": "yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx",
    "BBPAmount": "2999999.95000000",
    "ForeignAmount": "0.00000000",
    "BBPValue": "1409.17",
    "ForeignValue": "0.00",
    "Commitment": 31,
    "Fulfilled %": 20.08670805531364,
    "Time": 1621068528,
    "Spent": true
  },
  "Total BBP": "3777776.95000000",
  "Total Foreign": "0.00000000",
  "Total Hybrid BBP": "3777776.95000000",
  "High Risk Pctg": 0.0215030641866466,
  "DWU": 252.9650150395335
}
EDIT: These tests i did on the v1.6.1.4-Harvest

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 17, 2021, 09:15:04 AM
I am going to start testing soon, let me know what you would like done, I just have to sync the wallet. Are you still working on the highriskstake function? Have a fantastic day, and may God bless you.
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 17, 2021, 10:26:11 AM
Also, for some reason my wallet (testnet version) is stuck on "connecting to peers", and hasn't started loading the blocks or anything yet. I have done this before with the actual wallet, so I know what to look for, yet it just isn't loading at all with the testnet one. It seems really odd, and I have been trying it for the past hour or so. Does it just take that long to get started? Or do you have to run as admin or something?
Thanks, and may God bless,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 18, 2021, 12:46:18 PM
Gdday.

Alright now i Think things are moving forward.
I managed to spend  the  tbbp only highriskstake that i made earlier.
Like you said :
It was the chain one, so i believe i was trying to spend the entire amount like you said and it didnt work for me, although i was sure i tested to just withdraw a bit of it aswell to test and it didnt work, im thinking i didnt calculate in the penalty in the transaction and therefore the transaction didnt work.
Now i set spend to just 10k and the transaction worked , high risk spend.
looks like i received : 48.71422014279157%  penalty for shorting the highrisk stake.
Then i created Another highriskstake but for 31 days and spent it.
highriskbbpstake 2999999 31 1
"Commitment Days": 31,
  "DWU": 183.8171421328033,
  "!WARNING!": "When you promise to lock for 31 days for a high yield reward,  you hereby AGREE that you may be PENALIZED by up to 50% of the value of your UTXO.   If you do not fulfill your obligation, your original UTXO will have burn fees deducted from it.   EXAMPLE:  You have a 100,000 BBP coin.  You lock it for 90 days for a 40% DWU.  On the 15th day you try to spend the coin (breaking your obligation).   You will be penalized 40%*2=80% (capped at 50% max) of your original UTXO.   (If you do not agree please use our conservative staking feature: easybbpstake.)  Thank you for using BIBLEPAY.  ",
  "BBP Value USD": 1468.41205292861,

This time it worked aswell.
close to 50%  penalty this time aswell.
Took a screenshot of the final spend, looks solid from here.
17:02:33
listutxostakes 0 0

  "DWU": 252.9650150395335
}

EDIT: These tests i did on the v1.6.1.4-Harvest


Hi Earlz,

Sweet, yes looks relatively solid, although I think I will go ahead and make a google sheet to track 10 of them over a little duration just so we can see the icons change too.
On the 48-49% penalty, thats good,  sounds good, I did end up capping the penalty at 50% just to give the user an incentive to terminate it for the extra cash (rather than keep it to the end)
 cause who would terminate it  (while reaping from our daily kitty) if we penalized them 80%+ etc.  So basically, we penalize them at double what we believe it costed us, but we cap it at 50% no matter when the fault occurs.

Yes your other highrisk stakes look good too.   Im not too concerned about any risk about continually paying someone for a stake they spent (because the code is solid that detects spent utxos), although Im definitely concerned about the ability to "covertly spend a high risk stake" and not pay the fee.  I thought about this extensively , and I believe we have it covered.  Basically heres what would happen:  If you spend a high risk stake from the UI, the transaction will not be created unless the (burn-network-fee) is included, and if someone were to forge or falsify a fake version of biblepay, and drop one hex version of the tx on the network, the other nodes would reject that tx in the memory pool.  Same thing would happen if they create a binary transaction from the RPC and try to spend that coin - the tx will be rejected in the mempool.  So that risk should be eliminated.

Now all I have to do is make the spreadsheet for the sake of verifying the icons and spend status.
Did you take a look at the icon state of each of your high risk stakes in coin control?  You should see a DOVE for the one(s) that are Fulfilled (and free to spend), and a chain-hard-drive looking icon for the ones that are not fulfilled yet?

I feeel pretty good about referral codes also.  From what I can see, there is no attack vector possible (if someone uses too many codes, they get capped at 10% of the portfolio size).  If many codes are attached, they are capped.  If people share codes among friends, they are capped.   Just to clarify, codes are also limited to one distinct code per direction per cpk, so there is no unfair advantage among any player, either.   Additionally, this reward is decreasing over 700 days at the decay factor  - basically my feeling is we ramp up some referral code reward activity now for the next two years and that sort of gets phased out as the portfolios age and this is our chance to popularize biblepay.  Obviously these are assessed at the sanc level so there is no risk of anyone falsifying a greater referral code than another...

So yeah I will take care of the spreadsheet next, do you have any other concerns in this version?

I also need to make that CSV wiki for us right now so we can test csv greeting cards.

Thanks.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 18, 2021, 01:30:23 PM
Hey guys --

Here is a wiki containing our Greeting card CSV format:
https://wiki.biblepay.org/Greeting_Cards

Feel free to test a file with about 5 (or more addresses) by following the CSV section.
Note that if you click "Deliver for real", you will see the virtual gift card amount deducted for each card.
If you leave that unchecked, we will just process the dry run info for each one (IE the proofs).

In prod, that checkbox will cause the delivery to actually occur.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 18, 2021, 03:37:53 PM
I am going to start testing soon, let me know what you would like done, I just have to sync the wallet. Are you still working on the highriskstake function? Have a fantastic day, and may God bless you.
twinkle

Hi Twinkle,

Thank you for coming to help us test, we can definitely use the help.

Actually, since we only had two full time testers in this round anything is helpful.  I think the high risk stake would be helpful to have a third set of eyes on it, sure, if you could go back a few pages you will see a few simpler examples (IE one that is plain biblepay and not combined with another coin) for example, 'highriskbbpstake 1000000 1' is an easy one to do, then you can see yourself in the leaderboard and test cases where you try to spend it early etc.

You will need some tBBP, can you please paste your tBBP address and Ill send some?

Feel free to test BiblePay University, the Final exam simulator also.

(And anything else in the OP post).

Regarding the syncing, could you please confirm that your version is 1.6.1.7 or higher?  And also, confirm your system time in testnet is within a couple minutes and the timezone is correct (nodes hang up on you otherwise).
Also confirm when you start the client it says "testnet" and not mainnet.  You can see this in tools | information.  If still no peers appear, let me know and Ill try to look at the next issue (or there might be a message in your ~/.biblepay/debug.log).

Thanks!

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 19, 2021, 07:56:10 AM
Ha, lol, I wasn't even using the right version :) syncing again, this time with the correct edition.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 19, 2021, 08:05:51 AM
Fully synced now, super easy. I will say that, first of all, the interface is super nice and upgraded.
tBBP address is: yUYSsCGvXhyWhRhzaEPiB3UXHPsGuGaSfD

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 19, 2021, 09:00:17 AM
Fully synced now, super easy. I will say that, first of all, the interface is super nice and upgraded.
tBBP address is: yUYSsCGvXhyWhRhzaEPiB3UXHPsGuGaSfD
Thanks!  Sent 5MM!

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 19, 2021, 04:23:25 PM
Just did my first highriskbbpstake, here are the results:


highriskbbpstake 1000000 31 1


{
  "BBP UTXO": "aeb552f14822481044d62cb2113299a3f2e108ad6f0b8f2c64ed53c79f1fbeb9-15",
  "BBP Address": "yQjboQHyyRAPWbwE3ZXNwc5LH5ZgCeh3TA",
  "BBP Amount": 4999849.8155,
  "Commitment Days": 31,
  "DWU": 194.7211631656014,
  "!WARNING!": "When you promise to lock for 31 days for a high yield reward,  you hereby AGREE that you may be PENALIZED by up to 50% of the value of your UTXO.   If you do not fulfill your obligation, your original UTXO will have burn fees deducted from it.   EXAMPLE:  You have a 100,000 BBP coin.  You lock it for 90 days for a 40% DWU.  On the 15th day you try to spend the coin (breaking your obligation).   You will be penalized 40%*2=80% (capped at 50% max) of your original UTXO.   (If you do not agree please use our conservative staking feature: easybbpstake.)  Thank you for using BIBLEPAY.  ",
  "BBP Value USD": 1995.503500064616,
  "UTXO Value": 2180.162034868621,
  "Results": "The UTXO Stake Contract was created successfully.  Thank you for using BIBLEPAY. ",
  "TXID": "6979fdab69635be8c3b2a7ec77ac27165ba45cb291b60cb840dc82d73b99d611"
}


everything looks good from my end/perspective. I would say, though, that maybe having the system say what to do if the transaction should fail would be useful. For example, if I do not have any bankrolled coins, or if my wallet does not have a nickname, or if coin control is not enabled, etc., the code can spit out how to set those things that the user does not have properly set up so one does not have to look too hard to find how to set it up. This would be especially useful for someone who does not know necessarily what they are looking at or how to properly navigate wallet yet. Furthermore, having the staking in UXTO mode be its own tab on the top of the wallet could be interesting, as it would also help people to more easily navigate to a place where they can stake in this way.

Also, how do you add to a uxto stake or modify/take coins out of such a contract? Thanks, and may God bless,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 20, 2021, 08:14:08 AM
Just did my first highriskbbpstake, here are the results:


highriskbbpstake 1000000 31 1


{
  "BBP UTXO": "aeb552f14822481044d62cb2113299a3f2e108ad6f0b8f2c64ed53c79f1fbeb9-15",
  "BBP Address": "yQjboQHyyRAPWbwE3ZXNwc5LH5ZgCeh3TA",
  "BBP Amount": 4999849.8155,
  "Commitment Days": 31,
  "DWU": 194.7211631656014,
  "!WARNING!": "When you promise to lock for 31 days for a high yield reward,  you hereby AGREE that you may be PENALIZED by up to 50% of the value of your UTXO.   If you do not fulfill your obligation, your original UTXO will have burn fees deducted from it.   EXAMPLE:  You have a 100,000 BBP coin.  You lock it for 90 days for a 40% DWU.  On the 15th day you try to spend the coin (breaking your obligation).   You will be penalized 40%*2=80% (capped at 50% max) of your original UTXO.   (If you do not agree please use our conservative staking feature: easybbpstake.)  Thank you for using BIBLEPAY.  ",
  "BBP Value USD": 1995.503500064616,
  "UTXO Value": 2180.162034868621,
  "Results": "The UTXO Stake Contract was created successfully.  Thank you for using BIBLEPAY. ",
  "TXID": "6979fdab69635be8c3b2a7ec77ac27165ba45cb291b60cb840dc82d73b99d611"
}


everything looks good from my end/perspective. I would say, though, that maybe having the system say what to do if the transaction should fail would be useful. For example, if I do not have any bankrolled coins, or if my wallet does not have a nickname, or if coin control is not enabled, etc., the code can spit out how to set those things that the user does not have properly set up so one does not have to look too hard to find how to set it up. This would be especially useful for someone who does not know necessarily what they are looking at or how to properly navigate wallet yet. Furthermore, having the staking in UXTO mode be its own tab on the top of the wallet could be interesting, as it would also help people to more easily navigate to a place where they can stake in this way.

Also, how do you add to a uxto stake or modify/take coins out of such a contract? Thanks, and may God bless,
twinkle

Hi Bro/or/Sis twinkle -- thank you for testing (may I know your gender so I can address you properly?), anyway, thats awesome you created a high risk stake.
Let me send you 10MM right now so you can test more: Sent.
Excellent advice on the 'hangups' that a user may encounter!  Actually we recently added a blurb about 'bankroll' to 'easybbpstake' but it is not as complete as it should be, nor is it 'consistent' through the wallet.  I certainly will implement the Help feature, and I just added it to my todo, thank you.

The dedicated tab idea is nice; that will need to go here as a feature request:  https://github.com/biblepay/biblepay/issues

So first, to try to spend your high risk stake early:  Enable coin control (You appear to be advanced, so I think you know how to do this part).  Then go to Send Money | Inputs.  From there, find the high risk stake and its corresponding icon:  the icon should be a dove if its fulfilled (that is, the duration elapsed already, and remember, testnet time is 24* faster than prod, so a 24 day duration in testnet is only 1 day in testnet!), otoh, if its still locked, it should show a 'hard drive platter icon with a chain on it'.  Anyway, choose it and try to spend that one coin, and you should see the penalty on the screen!

If you could also test the BBP Univ final exam simulator, just check out the 'review mode option', it lets you see the answers and learn the test more easily.

Ill try to think of more test cases; but I think in general we probably need help testing the NFTs.  You could create a digital goods nft, verify you can see it here:
http://foundation.biblepay.org/NFTBrowse
Verify you can see it on the 'listnfts 0 0' in the wallet, and in the NFT | My NFTs, etc.  Then we can buy one of yours and I can list one and you can buy one of mine, actually we already have some for sale in foundation.biblepay.org so you can buy one right now.  But you do have to paste your Tnet CPK in Account | Account | "CPK BBP Address"  in order to buy one.







Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 20, 2021, 08:18:53 AM
If anyone is wondering what happened to 7 second instantsend transactions and chainlocks, they temporarily got disabled because I had to bounce every one of my sancs to enable the addressindex (which was recently made mandatory so this will automatically be done when we upgrade in prod) but anyway this stopped chainlocks.  Hopefully IX will be back on automatically within 24 hours. 

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 20, 2021, 12:09:17 PM
Quote
highriskbbpstake 1000000 31 1


{
  "BBP UTXO": "aeb552f14822481044d62cb2113299a3f2e108ad6f0b8f2c64ed53c79f1fbeb9-15",
  "BBP Address": "yQjboQHyyRAPWbwE3ZXNwc5LH5ZgCeh3TA",
  "BBP Amount": 4999849.8155,
  "Commitment Days": 31,
  "DWU": 194.7211631656014,
  "!WARNING!": "When you promise to lock for 31 days for a high yield reward,  you hereby AGREE that you may be PENALIZED by up to 50% of the value of your UTXO.   If you do not fulfill your obligation, your original UTXO will have burn fees deducted from it.   EXAMPLE:  You have a 100,000 BBP coin.  You lock it for 90 days for a 40% DWU.  On the 15th day you try to spend the coin (breaking your obligation).   You will be penalized 40%*2=80% (capped at 50% max) of your original UTXO.   (If you do not agree please use our conservative staking feature: easybbpstake.)  Thank you for using BIBLEPAY.  ",
  "BBP Value USD": 1995.503500064616,
  "UTXO Value": 2180.162034868621,
  "Results": "The UTXO Stake Contract was created successfully.  Thank you for using BIBLEPAY. ",
  "TXID": "6979fdab69635be8c3b2a7ec77ac27165ba45cb291b60cb840dc82d73b99d611"
}

So, Rob, I want to draw your attention back to the UTXO stake I did earlier, as I think I may have identified a bug, or it was just some weird glitch for me. Firstly, I put the stake for 1 mil bbp in the actual control window, as you can see, but it says I staked a total of 4.99 something million bbp instead, all of what was in the wallet I sent the stake from. I have no idea why this is, but it does make sense why I was having trouble adding to the UTXO, as I was completely out of tbbp. Also, I did spend the UTXO stake, and, as you pointed out, it burned 50% of the stake as a punishment for taking it out early. I tried withdrawing more that I had, and that was rejected, as well as withdrawing more than my stake altogether. However, maybe you could add a feature where, if someone tries to withdraw from a UTXO stake and the fee would make it so that they have an insufficient balance to finish the transaction, you could say that in the window, so the user knows why they don't have a high enough balance, whenever it might look to some like they do have enough for it to go through. Very easy, and I like the reward/risk factor to it. I did just want to point out, though, that I didn't get the 10 mm you had said you would send so I could keep testing. Not an issue, just letting you know. Also, I am a man :). I will be doing my own nft soon, and I already bought one through the command prompt, will try to buy one through the site in a bit.  I will also look into testing the BiblePay University quiz feature. Quick side note, when do you think that C# will be implemented? I see that the roadmap puts it at the end of the year, but I know that all of that can shift based on other factors. I am really looking forward to it, and I think that it will really change the way this currency is able to be used.
May God bless,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 20, 2021, 12:49:57 PM
So, Rob, I want to draw your attention back to the UTXO stake I did earlier, as I think I may have identified a bug, or it was just some weird glitch for me. Firstly, I put the stake for 1 mil bbp in the actual control window, as you can see, but it says I staked a total of 4.99 something million bbp instead, all of what was in the wallet I sent the stake from. I have no idea why this is, but it does make sense why I was having trouble adding to the UTXO, as I was completely out of tbbp. Also, I did spend the UTXO stake, and, as you pointed out, it burned 50% of the stake as a punishment for taking it out early. I tried withdrawing more that I had, and that was rejected, as well as withdrawing more than my stake altogether. However, maybe you could add a feature where, if someone tries to withdraw from a UTXO stake and the fee would make it so that they have an insufficient balance to finish the transaction, you could say that in the window, so the user knows why they don't have a high enough balance, whenever it might look to some like they do have enough for it to go through. Very easy, and I like the reward/risk factor to it. I did just want to point out, though, that I didn't get the 10 mm you had said you would send so I could keep testing. Not an issue, just letting you know. Also, I am a man :). I will be doing my own nft soon, and I already bought one through the command prompt, will try to buy one through the site in a bit.  I will also look into testing the BiblePay University quiz feature. Quick side note, when do you think that C# will be implemented? I see that the roadmap puts it at the end of the year, but I know that all of that can shift based on other factors. I am really looking forward to it, and I think that it will really change the way this currency is able to be used.
May God bless,
twinkle

Hello bro. Twinkle (thanks for letting me know), yes, so first on the fact that it consumed all 5MM:  This is not a bug, but it is a deficiency in our documentation.  When a user does any type of stake, the wallet looks for any coin *above* the min_bbp_amount (and less than 10MM) and tries to use it (and it does display the proposed amount in dry run mode, but like I said its not too intuitive).  If a user bankrolls first, then obviously it will be picking coins of more accurate value.  It cant pick any arbitrary amount because the nature of a UTXO is 'one unspent output'.  Yes we definitely need better docs for that part.

So on the error message, ill add a todo right now to show a better message if the user tries to spend too much from the UI when spending a locked coin.. (I added 4 help messages earlier this morning based on the prior suggestions).

On not getting the tBBP, I sent it to the yqJb* address you posted from your successful utxo stake.  Could you do me a favor?
 Please run 'getrawtransaction 145db7df6b8a7ea0fa53f6fc8ada2c89a542781b1ae5866c8c50d51622df1f9b 1" and see if you can see the transaction?  I want to make sure everyone stays in sync.  That is one of your wallet addresses isnt it?

Thats cool you bought an NFT, you should now see the nft in your Owned NFT list.

On c#, I agree, Im very zealous about c#, I used to be a c# programmer for a long time.  I would love to make it easier for c# organizations to integrate with the block chain.
As a matter of fact, we have two projects that use c# and move us to completion on that item.  I believe once these two are finished, we will have fulfilled the roadmap entry as well.  I think, if Im not mistaken and being too optimistic, I still think we might hit the deadline by the end of the year.
First of all, please read project 1, unchained:
This one allows a c# org to host the biblepay.dll on their web server:
https://unchained.biblepay.org/

Note that by finishing this, and adding our constitution-protecting and freedom-fighter features located here:
https://forum.biblepay.org/index.php?topic=756.0
(And be pre-warned that site is still not ready for comments because of my current derailment on Mac builds and Harvest builds, but it is close),
my point is once that thread is open for testing, theoretically we will fast-track c# development to be 95% complete by the end of the year (hopefully).


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 20, 2021, 03:39:07 PM
So, it is weird, I can't see the transaction, it says that it is not one I have participated in, and also the headers at the bottom of the wallet are still syncing, and have been for the last like 6 hours. I have tried restarting, reloading, etc. but it is not working to get the headers syncing. Also, the nft has not showed up in my wallet yet, but it is off of the store page, and it says I sent the funds. It is like I can send funds, but I don't get anything? kind of odd. Btw, that address is not saved at all in my profile, and I don't even know how the UTXO got it, as the only address I ever get stuff is the CPK, which is yUYSsCGvXhyWhRhzaEPiB3UXHPsGuGaSfD   I looked within my other deposits (from the UTXO, and the other returned fees from such), and they all were received with a different wallet according to the ledger, but I only have two receiving addresses, so I don't know from where I received them. The UTXO stake and the fees say they have not been confirmed (0 times confirmed, actually). All of this seems to stem from the wallet not updating itself or syncing with the system. Any help would be greatly appreciated. Also, thanks for sharing the stuff about applying C#, looks really promising.
May God bless,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 20, 2021, 04:03:58 PM
So, I tried to buy an nft on the main shop page through foundation.biblepay.org, and, even after putting in my testnet CPK address, it said the nft "couldn't be found" each time I tried to buy one. Is this because I don't have enough bbp in my account? I literally have none in the foundation account, so maybe that is why it is returning that message? I guess a different way of saying it is if the foundation.biblepay account is what the nft is bought through? I still haven't gotten the wallet synced yet, so that is annoying. Also, the bbp university feature seems to work really well, my only question on it is whether the "review" mode is supposed to be unlimited for tests. It seems all too easy for someone to just look at all of the answers, copy them down, and then put them in with the test mode on. Lastly, thanks for taking my suggestions on more documentation for staking procedures.
May God bless,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 20, 2021, 07:14:29 PM
So, I tried to buy an nft on the main shop page through foundation.biblepay.org, and, even after putting in my testnet CPK address, it said the nft "couldn't be found" each time I tried to buy one. Is this because I don't have enough bbp in my account? I literally have none in the foundation account, so maybe that is why it is returning that message? I guess a different way of saying it is if the foundation.biblepay account is what the nft is bought through? I still haven't gotten the wallet synced yet, so that is annoying. Also, the bbp university feature seems to work really well, my only question on it is whether the "review" mode is supposed to be unlimited for tests. It seems all too easy for someone to just look at all of the answers, copy them down, and then put them in with the test mode on. Lastly, thanks for taking my suggestions on more documentation for staking procedures.
May God bless,
twinkle

Aha, yes I realize there are many quirks with NFTs, especially since its in testnet and not deployed yet.  So you just reminded me... We are checking the "prod mainnet balance" when you go to buy an NFT... Hang on a sec, there is no way to deposit tBBP into the foundation either.  So heres what I will do - for now, I am disabling the Balance check (when buying an nft) in foundation.biblepay... So this means the 'pool' will pay for it (in real tBBP) but it wont charge you.  Now you should be able to do that test.

But first before doing anything else we need to get to the bottom of the syncing problem.  I think you might be out of sync.  No use testing anything else until we check this first (as NFTs require the chain to be synced).  Can you please type 'getblockhash 91260'?


19:10:17
getblockhash 91260


19:10:17
1ce8fdcaefef6d4a386352bc9a1e6e10100105ce89d9f8e1b18c59855efbc71a

Im checking my three sancs and they are agreeing with my main terminal; are you on 1.6.1.7 btw?  (Tools | Info)?  If you are out of sync it could have to do with our chainlocks stopping today - I restarted all 3 of my sancs in order to re-jump this.   If you *are* definitely out of sync, please restart with "./biblepay-qt -testnet=1 -erasechain=1".  Our chain requires a clean start on every governance file etc.

Regarding that address I used earlier, I think that was your change address--first let me know you are synced and I will send you 10MM more to your original CPK.  Ok I sent you 10MM to your original pasted address:  yUYSsCGvXhyWhRhzaEPiB3UXHPsGuGaSfD

Btw check to see if you have peer connections in Tools | Peers also?

On BBPU, thank you.  Yes, for right now they can study as much as they want in review mode.  They basically are being trusted to 'learn the course'.  Believe it or not, our simulator is much better than the original instruction format (You literally send the university a printed sheet of answers on your behalf and have access to the answer key) -- at least we have a simulator, lol.  But yes these finer things can be fixed over time after I see a few people actually taking exams, yes definitely.  Anyway Im glad you like the simulator, thanks!  I feel it helps teach the gospel in a way that is more exciting than just reading the course material.



Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 21, 2021, 08:44:53 AM
So on trying to spend a high risk stake early and seeing a pop up error containing "insufficient funds", I see what you guys mean that the box comes up FIRST  --  way before the warning about how much we will take from the tx.

Know that when I wrote the code, it worked the opposite of that, thats why I couldnt fathom that it worked in this confusing way.

Yes, we need to show the warning box first with all the verbiage!

I will change this now.  FIXED for next version.



Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 21, 2021, 09:52:56 AM
Alright, so a couple of things happened. First of all, I confirmed that I was out of sync with the rest of the nodes, so I went into the repair wallet portion of the wallet and selected the option to rescan and rewrite blockchain blocks, or reset the chain over again. It worked really well, and I am now synced. Secondly, I actually got both of the payments of 10 mil tbbp that you had sent, neither of them showed up until I synced the chain, so I thought that the first one had just not gone to my wallet. So, let me know where you want me to send the extra 10 mil back to you. Also, the nft shows up in my account now, and I am in the process of buying another one from the store, and will likely try to make my own later today.
May God bless,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 21, 2021, 10:10:13 AM
Just wanted to point out, though, that the easybbpstake seems to be having a hard time whenever I try to start one in testnet. It says "CAN'T FIND UTXO", even after I have bankrolled coins, etc. What do you think I should do to try and get it working? Also, can you change what address you put a stake from, or does it have to be your CPK, and, if that is the case, how do you consolidate you coins again after you have bankrolled them (ie. if I bankrolled all of my coins so the amount for staking is super divided, and I decide that I want to re-combine those coins, how do I go about doing so?). Lastly, each time I click on buy it now within the foundation nft page, it says "NFT not found". The command prompt buying of the nft worked great. I do have my testnet CPK as my foundation.bbp address, too, just so you know.
May God bless,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 21, 2021, 12:18:20 PM
Alright, so a couple of things happened. First of all, I confirmed that I was out of sync with the rest of the nodes, so I went into the repair wallet portion of the wallet and selected the option to rescan and rewrite blockchain blocks, or reset the chain over again. It worked really well, and I am now synced. Secondly, I actually got both of the payments of 10 mil tbbp that you had sent, neither of them showed up until I synced the chain, so I thought that the first one had just not gone to my wallet. So, let me know where you want me to send the extra 10 mil back to you. Also, the nft shows up in my account now, and I am in the process of buying another one from the store, and will likely try to make my own later today.
May God bless,
twinkle
Hi Bro. Twinkle, God bless you too.
Obviously Im a little concerned that you went out of sync, but not concerned at an emergency level because Ive seen my 4 nodes stay in sync, so I think it had something to do with your node not having enough gov. data to 'honor' the chainlock, and normally chainlocks will never cease in prod anyway.  I took down 90% of our sancs simultaneously and that caused them all to miss the quorum.  They never did recover yet!  But Ill look into that soon, I think they take a full 24 hours simply because of the duration of the llmq quorum...  Thats good you got the full amount yeah I think I sent it to your change address (the dash wallet makes up a new change address with change every time you send a tx) - dont worry about sending it back, I have over 175mm in the wallet in tnet.  Thats great your nft showed up!  There is also a place in the pool, that allows you to see the nfts you bought:

https://foundation.biblepay.org/NFTList

(We dont have this on the menu yet, until ready to go to prod)...  Btw, theoretically the "Hi Quality URL" will be populated with the actual NFT URL that you purchased, and that Hi Qual URL is not visible when shopping..

Give me a few mins to look at the other issue, thanks.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 21, 2021, 12:25:38 PM
Just wanted to point out, though, that the easybbpstake seems to be having a hard time whenever I try to start one in testnet. It says "CAN'T FIND UTXO", even after I have bankrolled coins, etc. What do you think I should do to try and get it working? Also, can you change what address you put a stake from, or does it have to be your CPK, and, if that is the case, how do you consolidate you coins again after you have bankrolled them (ie. if I bankrolled all of my coins so the amount for staking is super divided, and I decide that I want to re-combine those coins, how do I go about doing so?). Lastly, each time I click on buy it now within the foundation nft page, it says "NFT not found". The command prompt buying of the nft worked great. I do have my testnet CPK as my foundation.bbp address, too, just so you know.
May God bless,
twinkle


Hi Twinkle,
So first of all Id like to help get to the bottom of the reason that you cant create a new stake.  There are only 2 reqs:  1) That you have a free coin (not locked) between 10K-10MM, and 2) that you have an EXTRA coin from 1-10K available.  When you bankroll, we always give you 10 extra coins, so you should have them, just take a look at what you have in coin control.  If your coins are below 10k or above 10MM they wont work.  Then try typing a smaller value than your coin, for example if they are 200K, then do 'easybbp stake 199000 1' for example. 

Right now you must stake to your CPK-- however, I am looking into creating a 'retirement account service for Christians'.  This demand was slightly revealed by a few inquiries Ive heard (one org wants UTXOs to be created as Prizes for people who fulfill milestones), so if we can somehow Package this as a service then we can give you a configurable option to stake to a specific address.

Consolidating should not be a problem-- lets say you stake 5 coins and they are locked.  And you go for 50 days with 50 GSC rewards coming in to your CPK.  To consolidate you just type 'bankroll 5 100' for example to give you 5 coins instead of 50.  I dont have a problem in prod for example doing that now and I am running quite a few sancs that get rewards etc.

Could you please give me the NFT ID of the one that says 'not found'?  (Its on the NFTBrowse page, the first 8 chars are next to buy it now).  It could be that you bought that one and its not in a block yet, or it could be a problem.

Also if you want to test greeting cards, that would be helpful as no one tested CSV greeting card batches yet.  There should be a lot about single greeting cards about 5 pages back.

NOTE: Although Im happy the wallet tools resync worked, I still recommend -erasechain=1 for our coin as people have had some problems with govdata.  Bitcoins -reindex routine just fixes your blocks and leaves the govdata in a totally random state.  Actually I need to put erasechain on the menu... adding a todo.




Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on May 21, 2021, 01:59:53 PM

Hi Earlz,

Sweet, yes looks relatively solid, although I think I will go ahead and make a google sheet to track 10 of them over a little duration just so we can see the icons change too.
On the 48-49% penalty, thats good,  sounds good, I did end up capping the penalty at 50% just to give the user an incentive to terminate it for the extra cash (rather than keep it to the end)
 cause who would terminate it  (while reaping from our daily kitty) if we penalized them 80%+ etc.  So basically, we penalize them at double what we believe it costed us, but we cap it at 50% no matter when the fault occurs.

Yes your other highrisk stakes look good too.   Im not too concerned about any risk about continually paying someone for a stake they spent (because the code is solid that detects spent utxos), although Im definitely concerned about the ability to "covertly spend a high risk stake" and not pay the fee.  I thought about this extensively , and I believe we have it covered.  Basically heres what would happen:  If you spend a high risk stake from the UI, the transaction will not be created unless the (burn-network-fee) is included, and if someone were to forge or falsify a fake version of biblepay, and drop one hex version of the tx on the network, the other nodes would reject that tx in the memory pool.  Same thing would happen if they create a binary transaction from the RPC and try to spend that coin - the tx will be rejected in the mempool.  So that risk should be eliminated.

Now all I have to do is make the spreadsheet for the sake of verifying the icons and spend status.
Did you take a look at the icon state of each of your high risk stakes in coin control?  You should see a DOVE for the one(s) that are Fulfilled (and free to spend), and a chain-hard-drive looking icon for the ones that are not fulfilled yet?

I feeel pretty good about referral codes also.  From what I can see, there is no attack vector possible (if someone uses too many codes, they get capped at 10% of the portfolio size).  If many codes are attached, they are capped.  If people share codes among friends, they are capped.   Just to clarify, codes are also limited to one distinct code per direction per cpk, so there is no unfair advantage among any player, either.   Additionally, this reward is decreasing over 700 days at the decay factor  - basically my feeling is we ramp up some referral code reward activity now for the next two years and that sort of gets phased out as the portfolios age and this is our chance to popularize biblepay.  Obviously these are assessed at the sanc level so there is no risk of anyone falsifying a greater referral code than another...

So yeah I will take care of the spreadsheet next, do you have any other concerns in this version?

I also need to make that CSV wiki for us right now so we can test csv greeting cards.

Thanks.

Evenin Brother Rob.

Quote
Did you take a look at the icon state of each of your high risk stakes in coin control?  You should see a DOVE for the one(s) that are Fulfilled (and free to spend), and a chain-hard-drive looking icon for the ones that are not fulfilled yet?

Indeed, i think the icons looks just fine, easy to see diffrence between normal stake and highriskstake and ofcourse aswell the dove for the fulfilled ones easy to spot aswell. Thumbs up from me.


Quote
So yeah I will take care of the spreadsheet next, do you have any other concerns in this version?

The user experience feels smooth, the core wallet responsive and all. The new interface right up my alley..

I have one thing i was thinking of, if its possible to add the penalty bbp fee in USD aswell in the popup window  for the final confirmation, something like: "Biblepay will charge 100 000 bbp (50 USD) for this transaction"
Just thought could be sweet to have the fee in USD aswell.

Talk to you later, have a great weekend.


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 21, 2021, 02:34:15 PM
Evenin Brother Rob.

Indeed, i think the icons looks just fine, easy to see diffrence between normal stake and highriskstake and ofcourse aswell the dove for the fulfilled ones easy to spot aswell. Thumbs up from me.


The user experience feels smooth, the core wallet responsive and all. The new interface right up my alley..

I have one thing i was thinking of, if its possible to add the penalty bbp fee in USD aswell in the popup window  for the final confirmation, something like: "Biblepay will charge 100 000 bbp (50 USD) for this transaction"
Just thought could be sweet to have the fee in USD aswell.

Talk to you later, have a great weekend.

Hi Bro Earlz,

Thanks for the compliments, I like the dark theme too for a while, it reminds me of 'hungry startups'.  And I agree on the speed, I think Dash did some architectural improvements in that area that remove some unecessary wallet locks as it is much faster when processing a large number of transactions (for example in my home wallet on the pc, it takes a couple seconds to get through the tx list refresh but on Harvest, things are immediately snappy).

Yes thats a really good idea about the penalty amount in USD.   I just added it to both dialogs.

When you get a chance are you interested in testing the Batch Greeting Card send?  You just need a csv file with about 5 entries for example.  I did one over here and it worked but of course Im looking for alternative eyes etc.  I could see myself using this feature at Christmas and sending everyone I know a virtual card.

Im glad you like the icons, I think we are getting warmer with these UTXOs.  All we need is some corporate interest, and I think it can become a real service.
Imagine if a company issued retirement accounts for their employees, or really anything is possible, now that crypto is breaking out into the common world...

Im almost ready to merge in Stellar and Ripple-- will post more about that soon.

I have a question Earlz since you are a big Monero guy, you know we have access to all the monero utxo info but I realize once you send a tx it becomes a stealth address.  Do you know much about this cause this is where my knowledge falls short.  We could make a BBP UTXO for monero if we track a stealth address and an amount.  Is it plausible for the user to access the stealth address if they create a dedicated monero wallet on their end and load it with a customized value (one that ends with our pin)?

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 21, 2021, 04:16:10 PM
So, I tried the easybbpstake, and it worked just fine, no issues at all. I literally tried all of the nft's on the actual website page, and they said "nft not found" on a message page after. Again, whenever buying through the actual command option, it worked totally fine. Also, I will try the greeting cards tomorrow probably, as well as make a nft then too just of some picture or something, see if it lists correctly. Lastly, the prompt inside of the wallet to see all of your owned nft's works well too. The one of the deer that I bought does say it is not marketable in the prompt, though, not sure if that is correct or not, or how to edit that portion of the nft. Lastly, just a suggestion, maybe there could be another line within the nft dropdown of "see all available nfts", and that is a hyperlink to the actual nft store page on foundation.biblepay. Just an idea, might make it so that users can find how to buy nft's easier.
May God bless,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 22, 2021, 09:30:26 AM
So, I tried the easybbpstake, and it worked just fine, no issues at all. I literally tried all of the nft's on the actual website page, and they said "nft not found" on a message page after. Again, whenever buying through the actual command option, it worked totally fine. Also, I will try the greeting cards tomorrow probably, as well as make a nft then too just of some picture or something, see if it lists correctly. Lastly, the prompt inside of the wallet to see all of your owned nft's works well too. The one of the deer that I bought does say it is not marketable in the prompt, though, not sure if that is correct or not, or how to edit that portion of the nft. Lastly, just a suggestion, maybe there could be another line within the nft dropdown of "see all available nfts", and that is a hyperlink to the actual nft store page on foundation.biblepay. Just an idea, might make it so that users can find how to buy nft's easier.
May God bless,
twinkle

Hi Bro Twinkle,
So on the NFT not found, I was able to reproduce this as my foundation user, and yes they are all not found.  I will work on this issue next.

10-4 on easybbpstake working (I assume maybe the high risk one had too high of an amount selected or something) - yes on a side note having a GUI tab - would be nice in order to take care of all that for the user.   Ill see if we can squeeze that in before go-live (July 10th or so). 

On the 'marketable flag' on that deer, let me explain part of the nft process.  So while you are in ownership of an nft, you control the state of the 'marketable' flag, and the buy it now amount and reserve price.  But whenever you buy an nft, we set the item as not marketable and the price to 0 to keep it out of the marketplace until the user specifcally goes to sell it again.  Yes the 'show all nfts' from the core wallet would be very cool too.  (We do have listnfts 1 1 btw but I understand this would be very good for the gui).

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 22, 2021, 09:46:18 AM
So, I tried the easybbpstake, and it worked just fine, no issues at all. I literally tried all of the nft's on the actual website page, and they said "nft not found" on a message page after. Again, whenever buying through the actual command option, it worked totally fine. Also, I will try the greeting cards tomorrow probably, as well as make a nft then too just of some picture or something, see if it lists correctly. Lastly, the prompt inside of the wallet to see all of your owned nft's works well too. The one of the deer that I bought does say it is not marketable in the prompt, though, not sure if that is correct or not, or how to edit that portion of the nft. Lastly, just a suggestion, maybe there could be another line within the nft dropdown of "see all available nfts", and that is a hyperlink to the actual nft store page on foundation.biblepay. Just an idea, might make it so that users can find how to buy nft's easier.
May God bless,
twinkle

Ok, so I found the reason a user can't buy any NFTs:  I apparently broke that function when I added "social media" NFTs.

FIXED, now you should be able to buy one.

(This is a perfect example as to why TESTNET testing has such a high value!)

On a side note you guys might note the real reason we are rolling out NFTs (other than the popularity boost factor).  We want to have Orphan NFTs for cameroon-one available.  Those children will be in a separate page:
https://foundation.biblepay.org/NFTOrphans

We are still working with Cameroon-One on the first set so please don't sponsor these yet.

Great news, Chainlocks and InstantSend is up again!  On a side note if you want to test an LLMQ 7 second tx, just send some BBP somewhere and look for the blue lightning bolt to appear.  Once it appears its IX locked.  You can also see the chainlock by typing 'getblock blockhash' (for one of the more recent blocks).

Its all coming together now!

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 22, 2021, 04:49:58 PM
Alright, I confirmed that you can buy nfts directly off of the store page as long as your foundation.biblepay account has the testnet CPK in it, didn't give me any error messages at all. I will probably look into doing a test of the card delivery service tomorrow, as well as do some more highriskbbp stakes. I will also try to make my own nft and confirm they show up in the store, the price is right, etc.  I am probably just going to use some random addresses for the card delivery service if that is okay with you (so, just to confirm, this test will not result in any cards actually being sent, right? As the addresses are just random locations throughout the U.S.). Very nice work on all of the stuff! May God bless!
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 22, 2021, 05:00:16 PM
Also, I had to re-load the blockchain again for some reason. Maybe the update/chainlocks being activated?
May God bless you all,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 22, 2021, 06:51:41 PM
Alright, I confirmed that you can buy nfts directly off of the store page as long as your foundation.biblepay account has the testnet CPK in it, didn't give me any error messages at all. I will probably look into doing a test of the card delivery service tomorrow, as well as do some more highriskbbp stakes. I will also try to make my own nft and confirm they show up in the store, the price is right, etc.  I am probably just going to use some random addresses for the card delivery service if that is okay with you (so, just to confirm, this test will not result in any cards actually being sent, right? As the addresses are just random locations throughout the U.S.). Very nice work on all of the stuff! May God bless!
twinkle

Hi bro Twinkle,

Sounds good on the NFT related stuff, thanks.

So on the card delivery, sure you can use random addresses in the US.   In testnet mode the address is not fully validated (down to the USPS level), so it accepts almost any US address (even fake ones).  However in prod, we will be receiving additional validation and will be able to kick it back if its a bad address.  In testnet, we do not actually go as far as kicking off a physical delivery.  But we do charge you for the virtual gift card amount.  In prod, we would actually process it and it would be physically delivered. 


Thanks for the compliments.

Im not sure why you would go out of sync but I am concerned; we can find out exactly why by looking for "ERROR" in your "debug.log" located in ~/.biblepay/testnet3/debug.log.  If you still have it could you send it to me or check?  [email protected]
(You would need to find the ERROR in the log before you restarted with the reindex command btw).
If its been truncated, then next time this happens, save it right before reindexing.  One other cause could be the reindex=1 rebuild - if you want to eliminate that possibility, please restart with "-erasechain=1".  Btw I added that to the tools menu today but its not released yet. 

Side question, what version are you running?  I just want to double check there was no logic change since your version, and what platform?



Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 23, 2021, 04:28:16 PM
Alright, the issue happened again today. I found some error messages in the debug, the text of it is below:


ERROR: AcceptBlockHeader: block 57e164d90b2aac8bb1c8a4cd7c5df5f9072abd9c1b1b9a344c1d5e7361f36b8a is marked invalid
CMasternodeSync::ProcessTick -- skipping mnsync restrictions for peer=1
ERROR: AcceptBlockHeader: block 57e164d90b2aac8bb1c8a4cd7c5df5f9072abd9c1b1b9a344c1d5e7361f36b8a is marked invalid
Loading addresses from DNS seeds (could take a while)
0 addresses found from DNS seeds
dnsseed thread exit
New outbound peer connected: version: 70772, blocks=92260, peer=2
ERROR: AcceptBlockHeader: block 57e164d90b2aac8bb1c8a4cd7c5df5f9072abd9c1b1b9a344c1d5e7361f36b8a is marked invalid
New outbound peer connected: version: 70772, blocks=92260, peer=3
ERROR: AcceptBlockHeader: block 57e164d90b2aac8bb1c8a4cd7c5df5f9072abd9c1b1b9a344c1d5e7361f36b8a is marked invalid
ERROR: AcceptBlockHeader: block 57e164d90b2aac8bb1c8a4cd7c5df5f9072abd9c1b1b9a344c1d5e7361f36b8a is marked invalid
CMasternodeSync::ProcessTick -- nTick 31 nCurrentAsset 4 -- syncing mempool from peer=1
GUI: QCssParser::parseHexColor: Unknown color name '#black'
GUI: QCssParser::parseHexColor: Unknown color name '#black'



I am running 1.6.1.7, by the way, on Windows. Also, side note, where do I input "-erasechain 1" at? The command prompt within the wallet? I have just been using the rebuild method within the "salvage wallet" tab of the gui. I have not tried that method yet since it has stopped working this time, so I will wait to be sure of where to put it in before attempting to fix it again. I will do some cards or something later whenever I am sure it is fixed, as well as try to re-post one of these nft's I have bought recently from the store.
May God bless, and thanks for the help,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 24, 2021, 07:25:40 AM
Alright, the issue happened again today. I found some error messages in the debug, the text of it is below:


ERROR: AcceptBlockHeader: block 57e164d90b2aac8bb1c8a4cd7c5df5f9072abd9c1b1b9a344c1d5e7361f36b8a is marked invalid
CMasternodeSync::ProcessTick -- skipping mnsync restrictions for peer=1
ERROR: AcceptBlockHeader: block 57e164d90b2aac8bb1c8a4cd7c5df5f9072abd9c1b1b9a344c1d5e7361f36b8a is marked invalid
Loading addresses from DNS seeds (could take a while)
0 addresses found from DNS seeds
dnsseed thread exit
New outbound peer connected: version: 70772, blocks=92260, peer=2
ERROR: AcceptBlockHeader: block 57e164d90b2aac8bb1c8a4cd7c5df5f9072abd9c1b1b9a344c1d5e7361f36b8a is marked invalid
New outbound peer connected: version: 70772, blocks=92260, peer=3
ERROR: AcceptBlockHeader: block 57e164d90b2aac8bb1c8a4cd7c5df5f9072abd9c1b1b9a344c1d5e7361f36b8a is marked invalid
ERROR: AcceptBlockHeader: block 57e164d90b2aac8bb1c8a4cd7c5df5f9072abd9c1b1b9a344c1d5e7361f36b8a is marked invalid
CMasternodeSync::ProcessTick -- nTick 31 nCurrentAsset 4 -- syncing mempool from peer=1
GUI: QCssParser::parseHexColor: Unknown color name '#black'
GUI: QCssParser::parseHexColor: Unknown color name '#black'



I am running 1.6.1.7, by the way, on Windows. Also, side note, where do I input "-erasechain 1" at? The command prompt within the wallet? I have just been using the rebuild method within the "salvage wallet" tab of the gui. I have not tried that method yet since it has stopped working this time, so I will wait to be sure of where to put it in before attempting to fix it again. I will do some cards or something later whenever I am sure it is fixed, as well as try to re-post one of these nft's I have bought recently from the store.
May God bless, and thanks for the help,
twinkle

Hi bro Twinkle--
So this does shed some light on the problem, the block 57e* was the first block it did not accept, and that is a GSC superblock (height 92065).  So yes that definitely points to a gov quorum issue - another words, your node didnt honor what the sancs tried to say about that block.  I do see that one of our 4 sancs is pose banned right now, let me unban it hang on (ok I did an exec revivesanc for sanc 7 just now-- if you want to see sanc statuses you can click the "Sanctuaries" tab).

So yeah lets try the erase chain first, as 1617 windows I believe is good (just wanted to make sure it wasnt 1616 or less as that would be a bad consensus).  And just to double check do you leave the node running or do you kickstart it once every so often?  So to run the wallet with erasechain go to the command prompt (start | run | cmd), cd c:\program files\biblepaydevelop (or wherever you have the program), then do:
biblepay-qt -erasechain=1 -testnet=1


Thanks!
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 24, 2021, 07:31:17 AM
Earlz, have you had to resync the chain other than mandatory upgrades? 

I believe your sanc has generally been in sync kind of wondering in totality.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 24, 2021, 11:38:06 AM
Okay, I am starting to freak out a bit here. I opened the cmd prompt, found the folder where I had all of my TESTNET STUFF ONLY. I ran the commands that you had put up, the thing asked me where I wanted to store the new chain, etc. all seemed fine. Then, I was just going back to my other wallet, the 1.5.5.something one to see my UTXO reward for the day, and when I opened that one, it also was re-loading the chain again. This obviously takes a long time, but I wasn't really worried, until I saw that my CPK was no longer the same address as before, and it said that my funds were zero. I have no idea what to do. I only did the -erasechain 1 -testnet 1 within the testnet folder in the command shell, and it somehow deleted the chain on my main wallet account. I stopped the wallet syncing, as I didn't want it to fully load the new updated chain. All of the old files are still there for the wallet, but anytime I try to run either of the versions, it says that they both need to re-load the chain, even though I am still looking at a folder that has all of the chain still on it for the main wallet.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 24, 2021, 11:39:50 AM
Dude, no way. I realized that I changed the area or folder the thing was going to put the new chain in, so I just moved all of my old files over to the correct file, and the normal wallet is back up, with all of my funds/addresses, etc. However, now, the testnet wallet, which is reading from the same location, is still stuck and not loading, so I am going to try to command one more time, this time being sure to actually have a backup, and to keep the same default directory for the project.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 24, 2021, 11:44:38 AM
NICE IT WORKED.
Dude I was kind of worried for a sec there that I was about to lose all of this bbp. :) I only have like 60k BBP lol not $60k either :). Anyways, the testnet wallet is re-loading the chain now, the actual wallet appears to be working just fine, and I am pretty chill for the moment, seems like the problems with the wallet are over for now.
Thanks for the step-by-step tutorial as to how to get it working, Rob.
May God bless,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on May 24, 2021, 12:34:17 PM
Earlz, have you had to resync the chain other than mandatory upgrades? 

I believe your sanc has generally been in sync kind of wondering in totality.

Evenin.

I have not had to resync the chain, i think my sanc still on 1.6.1.4 i believe. Nor have i had to resync my normal windows wallet since update to 1.6.1.7 , it looks stable for me.

Quote
When you get a chance are you interested in testing the Batch Greeting Card send?  You just need a csv file with about 5 entries for example.  I did one over here and it worked but of course Im looking for alternative eyes etc.  I could see myself using this feature at Christmas and sending everyone I know a virtual card.

Im glad you like the icons, I think we are getting warmer with these UTXOs.  All we need is some corporate interest, and I think it can become a real service.
Imagine if a company issued retirement accounts for their employees, or really anything is possible, now that crypto is breaking out into the common world...

Im almost ready to merge in Stellar and Ripple-- will post more about that soon.

I have a question Earlz since you are a big Monero guy, you know we have access to all the monero utxo info but I realize once you send a tx it becomes a stealth address.  Do you know much about this cause this is where my knowledge falls short.  We could make a BBP UTXO for monero if we track a stealth address and an amount.  Is it plausible for the user to access the stealth address if they create a dedicated monero wallet on their end and load it with a customized value (one that ends with our pin)?

I will test the batch greeting cards this week for sure, will see if i can get some time after work the coming days.

About the monero situation im not sure, to decode specific in wallet/transactions on blockchain explorer you need the private viewkey or else just shows stealthadresses and little info.

Indeed would be intresting with monero as as a option for  BBP UTXO staking.
Possible? Sadly to say Rob im not that into the technincal details how stealthadresses and RingCT and all those things work.
 
Have a great week and i talk to you laters.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 24, 2021, 02:56:35 PM
Oh, I also wanted to point out that I re-listed an nft to the store, worked very easily, although I would point out that the one I had bought was to a link that had a picture tied to it, but the store did not actually display the image that went along with it. For reference, it is supposed to be a picture of deer in the snow. Also, whenever I was trying to post the nft, it asked me for a url of a higher quality picture (as, previously, only the low-quality url slot was filled in). However, the process still charged my 100bbp for "editing it", even though I am pretty sure nothing happened at all, as it didn't get posted until after I fixed the url placement and it gave me the message that it was confirmed. So, I am not totally positive if that is the way it should be, as I got charged for basically nothing. Lastly, I did see the dove image on the UTXO stakes that were fulfilled, and also saw the locked icon whenever they were actively staked.
May God bless,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 25, 2021, 02:31:41 PM
Okay, I am starting to freak out a bit here. I opened the cmd prompt, found the folder where I had all of my TESTNET STUFF ONLY. I ran the commands that you had put up, the thing asked me where I wanted to store the new chain, etc. all seemed fine. Then, I was just going back to my other wallet, the 1.5.5.something one to see my UTXO reward for the day, and when I opened that one, it also was re-loading the chain again. This obviously takes a long time, but I wasn't really worried, until I saw that my CPK was no longer the same address as before, and it said that my funds were zero. I have no idea what to do. I only did the -erasechain 1 -testnet 1 within the testnet folder in the command shell, and it somehow deleted the chain on my main wallet account. I stopped the wallet syncing, as I didn't want it to fully load the new updated chain. All of the old files are still there for the wallet, but anytime I try to run either of the versions, it says that they both need to re-load the chain, even though I am still looking at a folder that has all of the chain still on it for the main wallet.

Hi Bro Twinkle--

Dont worry, even if you accidentally launch biblepay in Prod mode against the Prod data dir (%appdata%\biblepay), it will theoretically sync to the top.  Thats a required test case anyway before we plan on going to production the last couple of weeks, we need to start in prod mode and ensure we sync to the top.  Even if you point to your prod wallet, there is nothing to my knowledge that can hurt your prod wallet.dat.  Besides we make a backup of wallet.dat during every boot (you can find them in %appdata%\biblepay\backups).  Additionally it is best practice to copy your wallet.dat off of your computer over to a USB drive or cd rom on a regular basis just to keep it safe.  Some people recommend storing it off site etc.

Your CPK will only change if you accidentally created a new wallet.dat.  You should be pointing to the same data directory root folder when you run in testnet and prod (prod is %appdata%\biblepay, and testnet is %appdata%\biblepay\testnet3).  Meaning that your CPK should not be changing (you must have changed data dir locations).

Im glad you got everything back, I read your later message, excellent.

Oh, I also wanted to point out that I re-listed an nft to the store, worked very easily, although I would point out that the one I had bought was to a link that had a picture tied to it, but the store did not actually display the image that went along with it. For reference, it is supposed to be a picture of deer in the snow. Also, whenever I was trying to post the nft, it asked me for a url of a higher quality picture (as, previously, only the low-quality url slot was filled in). However, the process still charged my 100bbp for "editing it", even though I am pretty sure nothing happened at all, as it didn't get posted until after I fixed the url placement and it gave me the message that it was confirmed. So, I am not totally positive if that is the way it should be, as I got charged for basically nothing. Lastly, I did see the dove image on the UTXO stakes that were fulfilled, and also saw the locked icon whenever they were actively staked.
May God bless,
twinkle


On the deer picture not displaying in the store, thats because that was an unsupported filetype in the nft (we dont support bittorrent links).

On the edit, where it charged you 1000bbp for the edit, you can see if it did anything in the edit,  by going to the txlist, finding the time of the tx, double clicking the edit tx, and giving me the txid.  I believe it 'did something' but appeared to not do anything on the user end, because we probably just re-stored the same data again, I would have to know what fields you changed on the nft during the edit.  Did you make it marketable and it didn  show up in the store?

Thats good on the dove image!

So guys, we had a conf call Sunday (this is part of our weekly prayer call) and we spoke about integrating with Trust Wallet.  So realize Im still working full time on BBP and trying to spend as much time in testnet as possible but Im working overtime on this trustwallet idea to try to not only make a proof of concept, but to revamp UTXO staking (basically eliminate utxo command line staking) and in the spirit of making a UI, make a trust-wallet compatible staking system, and a new UI...  So Ill be back asap!  Progress!

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 25, 2021, 02:40:03 PM
Evenin.

I have not had to resync the chain, i think my sanc still on 1.6.1.4 i believe. Nor have i had to resync my normal windows wallet since update to 1.6.1.7 , it looks stable for me.

I will test the batch greeting cards this week for sure, will see if i can get some time after work the coming days.

About the monero situation im not sure, to decode specific in wallet/transactions on blockchain explorer you need the private viewkey or else just shows stealthadresses and little info.

Indeed would be intresting with monero as as a option for  BBP UTXO staking.
Possible? Sadly to say Rob im not that into the technincal details how stealthadresses and RingCT and all those things work.
 
Have a great week and i talk to you laters.

Good afternoon bro Earlz,

Ok good that is great to know you have been pretty stable in testnet as far as staying in sync.  Actually I found the reason my sanc 3 went out of sync once, its because I forgot to copy the masternodeblsprivkey from my biblepaytest folder over to ~/.biblepay when we went to 1617 and now I see how it got pose banned, so that was likely the time when Twinkle joined-- So twinkle please keep an eye on it after the erasechain and lets see if you stay solid for 20 days or so?  I feel like weve had a pretty good run overall, the chainlocks appear to stay solid when we leave a supermajority of our sancs up in non pose banned state, so far so good. 

I hear you on monero; I guess what I need to do is take a monero light wallet, and send some XMR out of it and see if I can access the stealth address on the chain.  Basically what Im thinking is if we did this:
-> XMR user starts a light wallet
-> They send themself initial funding
-> They get their pin
-> They send funds to themself with the pin suffix
-> They get the stealth address from the BX using the Last block as a starting point
-> They paste the Stealth address in bbp and we monitor it
-> If the stealth address matches the pin, we create a utxo for them

It would be cool if it worked; Ill put this on my todo list to see if this is possible soon!

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 28, 2021, 08:52:32 PM
*** OVERVIEW of Changes coming in 1.6.1.9 ***


To make a solid use case for Biblepay and to become more acceptable to the masses, we are integrating with Trust Wallet.  This effort involves an entire overhaul for UTXO staking (this is being renamed to Portfolio Builder).   We are changing UTXO staking to be user friendly and adding a Cryptocurrency Index to biblepay.  The index allows investors to track our entire ticker list (IE the industry), while the builder allows you to manage your self directed portfolio.

Trust Wallet is a mobile wallet available for the iPhone and Android.  It is decentralized meaning you keep all of your private keys and there is no central custodian for your currencies.
There are no fees (except normal transaction fees when sending currency).
This wallet supports 160 cryptos, meaning you will have the ability to build large portfolios of holdings.  You can add it to your phone, look for Trust Wallet, we do not have our own branch since we want full integrity (use the existing download).

The idea here is for BiblePay to create a currency index (similar to the Dow Jones but for crypto) where we will provide a chart that shows the 'index value'.  We will allow you to build a portfolio, and receive a DWU % reward on your entire portfolio.

We are also adding Stellar and Ripple at this time (giving us 8 cryptos) - however I am shooting for 10 by July 1st for our launch.

To give you an example what to expect, if you build a portfolio for example with BTC + DOGE + LTC + BBP, that portfolio will be eligible for a position in the leaderboard to earn staking rewards.  (At the same % we have in prod now).

We have eliminated all of the command line options (except we still have easystake for power users but it will not be necessary to use).  Instead you will go to Portfolio Builder and 'add' to your position.

One change that has been made and is very drastic, is you no longer have to combine BBP with the other positions.  Instead, you simply add positions in portfolio builder and we automatically figure out your 'coverage' %.  Then your leaderboard position is updated automatically.  (We still require $1 of bbp USD value for each $1 of foreign, for the full DWU, otherwise the coverage ratio limits the position return).

Coming soon you will see the wiki document about all this.

For now, we no longer have high risk staking (that has been removed).  I will continue to pray about that option, but I feel that it may not be compatible with our long term integrity goals.

Please be ready to test 1.6.1.9 with 8 tickers as we only have 30 days left for testing.

Thanks!



Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 29, 2021, 09:28:33 AM
1.6.1.9 - Mandatory Upgrade

- Add Trust Wallet Integration (UTXO staking 2.0)
- Add BBP Crypto Index
- Add erasechain UI (wallet tools)



All, Please read this important document before attempting to test:

https://wiki.biblepay.org/Portfolio_Builder

Then please perform these tests:

Test case 1:
Stake native currency:
From Portfolio Builder, esablish a BIBLEPAY position.  Verify it shows correctly in the leaderboard, and verify the DWU and the doubleclick (drill in) still works.

Test case 2:
Stake a foreign currency:
From Portfolio Builder, choose on a foreign currency.  Save the record.
Fund the position using your pin.
Verify the position appears in Leaderboard | Details.


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on May 29, 2021, 12:32:29 PM
Hi Rob,

Have downloaded the new Testnet update with the portfolio builder and staked some test BBP, the Crypto Index is looking good, and the staking UI looks fairly simple, will download the Trust wallet and test some more....
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 29, 2021, 02:11:20 PM
Hi Rob,

Have downloaded the new Testnet update with the portfolio builder and staked some test BBP, the Crypto Index is looking good, and the staking UI looks fairly simple, will download the Trust wallet and test some more....

Thanks bro. Pat.

Yes, hopefully this will gain us more than 10,000 users this time.

Also, the ROI for this feature should be much higher when we get to prod, because of the block subsidy diversions in this next version (on a side note, our emission level does not change, of course).

If I were to guess I think prod will be about 24% ROI, and that should attract more users.
Also, Im making a todo item called a 'founders bonus'.  Im going to offer 'founders codes' to new users that add on a bonus ROI out of my account.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on May 29, 2021, 07:53:31 PM
Hey, real quick, how do you update the testnet wallet to the correct version? I definitely want to test this out!
May God bless,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on May 29, 2021, 08:55:38 PM
Hey, real quick, how do you update the testnet wallet to the correct version? I definitely want to test this out!
May God bless,
twinkle

Hi Bro Twinkle,
To update testnet you simply install the new windows download on top of the old one, then run it.

Let me explain a little more about my home computer setup - this is just a hint if you want to copy it:
Since I have bbp mainnet on my windows box and ALSO bbp windows develop (testnet), I did this:
I installed mainnet in the default app dir (c:\program files\biblepay).
However, every time I install develop, I change the [installer wizard default installation] path to:
c:\program files\biblepaydevelop

Then when I launch it I go to the command prompt and cd c:\program files\biblepaydevelop
biblepay-qt -testnet=1

On another side note, windows does have a "testnet shortcut icon" you can click to launch it.

Anyway after the installer overwrites the old binary location it will simply work and you will see the higher version in tools | info.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 01, 2021, 09:13:26 AM
1) Reminder:  I don't believe anyone tested Greeting Card CSV's yet.

2) I've been working with Todd from Cameroon on testing our first orphan NFT (Grace).
So far so good.  We found that need a notification from the marketplace to you as a user to notify you that you sponsored a child.

So I recently implemented an e-mail notification to the buyer to let you know you "bought" an NFT or "sponsored" a child.
Feel free to test that, please buy an nft and see if you receive the correct e-mail?

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on June 01, 2021, 12:09:26 PM
Hi Rob,

Created a csv file for a Christmas Card, accepted the card, then sent the from address and clicked send....

Error message....insufficient funds. Unable to Create Transaction....

There is enough tBBP funds in the Testnet account
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 01, 2021, 03:26:22 PM
Hi Rob,

Created a csv file for a Christmas Card, accepted the card, then sent the from address and clicked send....

Error message....insufficient funds. Unable to Create Transaction....

There is enough tBBP funds in the Testnet account

Can you please take a screenshot of what is on your greeing card page (with the exact amount you have populated in the virtual gift card amount), and also paste the error message text?
Also can you attach the CSV file, then I can reproduce the entire thing?

Thanks.

EDIT:  I just did one and it worked for me - will also need to know how many went through and the status of each one.
Also let me know if you can send funds without any errors, here is my address try sending me a normal amount (not  a  card, but just a normal payment) to ensure your wallet works:
yPrVdc1kFTC19Hx4NMnwEeLFifToUcQGMs


EDIT II:  Also, there is very high chance there is an error in the log for this - could you try it again and then look in the debug.log for the error, most likely 'unable to create transaction: blah blah'.  Or if you still have the old log, you can scan it.  Its located in ~/.biblepay/testnet3/debug.log



EDIT III:  Check your coin control, its possible all your coins are locked in stakes?


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on June 01, 2021, 04:38:24 PM

Successful csv file accepted ... This might be a good marketing idea for churches...

They could send Christmas, Easter, etc. cards to their  congregations as a good will gesture and offer them free BBP coins as a gift from the church..
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 01, 2021, 05:16:13 PM
Successful csv file accepted ... This might be a good marketing idea for churches...

They could send Christmas, Easter, etc. cards to their  congregations as a good will gesture and offer them free BBP coins as a gift from the church..

Great!
Yeah, thats a good idea.  We have it pretty close to opensource too so when it goes into github our community can also add more card types.
(Its an html page for the background of the card and css for the font).

Im definitely going to use it for Christmas.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on June 02, 2021, 12:28:10 PM
Evenin Rob.

I noticed new version 1.6.1.9  is out for testing.
Sweet! I will do the test cases tonight.
Downloaded and synced the new  version with no problems.
I saw my testnet sanc is pose banned, its still on 1.6.1.4 , suppose upgrade mandatory for sancs aswell?

Anyhow will get to testing the diffrent  scenarios now.

On the csv bulk i tested with 6  and 4 adresses i get so far as to all the confirmation windows , confirming the adress 1, 2 ,3 ,4 ,5 etc etc
but after that nothing happends, i just click on the last ok and nothing seems to happen.

Looking in the debug log i got this information:

Code: [Select]
ImportGreetingCards - Imported 6 LinesCalculateAPM::Result==1.000000::LastHeight 95550 Price 0.010000000000, Current Price 0.010000000000CGovernanceManager::UpdateCachesAndClean -- Governance Objects: 39 (Proposals: 3, Triggers: 36, Other: 0; Erased: 151), Votes: 172But i dont see any errors in the log.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on June 02, 2021, 02:50:05 PM
Hi Earlz,

Did you click on the send button to send the cards...Just a thought...
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 02, 2021, 03:06:39 PM
Evenin Rob.

I noticed new version 1.6.1.9  is out for testing.
Sweet! I will do the test cases tonight.
Downloaded and synced the new  version with no problems.
I saw my testnet sanc is pose banned, its still on 1.6.1.4 , suppose upgrade mandatory for sancs aswell?

Anyhow will get to testing the diffrent  scenarios now.

On the csv bulk i tested with 6  and 4 adresses i get so far as to all the confirmation windows , confirming the adress 1, 2 ,3 ,4 ,5 etc etc
but after that nothing happends, i just click on the last ok and nothing seems to happen.

Looking in the debug log i got this information:

Code: [Select]
ImportGreetingCards - Imported 6 LinesCalculateAPM::Result==1.000000::LastHeight 95550 Price 0.010000000000, Current Price 0.010000000000CGovernanceManager::UpdateCachesAndClean -- Governance Objects: 39 (Proposals: 3, Triggers: 36, Other: 0; Erased: 151), Votes: 172But i dont see any errors in the log.

Hi Earlz,

Most likely then it worked;  we don't have a "successfully sent" message at the end.
To find out for sure you can click 'deliver this for real' and at least you will see the BBP coming out of your acct (should be one gone for every one sent).
Basically the code just loops through updating the address and name info, and sends a customized card to each person one by one...

On another note if you could help us create a couple non-bbp stakes in the new Portfolio builder that would really be appreciated, cause that is a brand new feature.

Thanks!

Guys, I am adding a feature now to allow generation of "gift referral codes".  This means one user who is charitable can give away their utxo reward to another user.  This should be interesting.  I have them set up so they expire in 30 days, so a charitable person basically types 'generatereferralcode Gift_Amount'  and this gift can be 'consumed' by people for 30 days.




Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on June 03, 2021, 12:55:00 PM
Hi Earlz,

Most likely then it worked;  we don't have a "successfully sent" message at the end.
To find out for sure you can click 'deliver this for real' and at least you will see the BBP coming out of your acct (should be one gone for every one sent).
Basically the code just loops through updating the address and name info, and sends a customized card to each person one by one...

On another note if you could help us create a couple non-bbp stakes in the new Portfolio builder that would really be appreciated, cause that is a brand new feature.

Thanks!

Guys, I am adding a feature now to allow generation of "gift referral codes".  This means one user who is charitable can give away their utxo reward to another user.  This should be interesting.  I have them set up so they expire in 30 days, so a charitable person basically types 'generatereferralcode Gift_Amount'  and this gift can be 'consumed' by people for 30 days.

Evenin.

Aahh yeah that would explain some things, for sure will try "deliever for real" button.

Yeah i got some eth and dash i could try the portfolio staking.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 06, 2021, 10:26:31 PM
** BiblePay Unchained Update **

BiblePay unchained is evolving.  I'm seeing some real use cases coming for it (especially related to our weekly conference strategic outcomes) and due to the direction of this Country (IE Freedom initiatives).

So, for now Unchained will stay in testnet (most likely til September or so), in order for us to make it into a real decentralized social media platform.
I'm working on making it so companies can use biblepay for file storage, CDN, DNS, etc (to host uncensorable content).  The use case for users is to make it a freedom of speech platform for social media use.  And finally a third prong to allow churches to integrate.  We had a great call today regarding churches (great ideas from Pat).  We are thinking of 'channels' for churches that let them upload their weekly videos (or as many as they want), collect tithes, and offer merchandise.

In the mean time here is the new URL for testing (note that this is not related to core wallet testing), Im just starting here in alpha simply because I want to get it off the ground:
https://unchained.biblepay.org/VideoList

So if you guys could please do this:
Go to account
Save your nickname
Create a new wallet (with the Generate button)
Save your 10 biblical words in a document so you can retrieve them later
Verify that you can send tBBP to your unchained wallet (if you need some let me know)
Verify you can spend a little bit of tBBP from the web wallet back to your core wallet (With Account | Send Money to Address)

Then go to the "Video List"
Click on and verify a video plays (these are decentralized now, not stored on our host anymore but stored on StorJ)
Next, upload a video with "Add new video", be sure to type something about it first then upload it and verify it appears in the list
(The video record is stored in the CHAIN, its all decentralized)

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 10, 2021, 03:09:27 PM
I'm starting to make a todo list of mission critical items that need shored up in testnet before the next release (IE we need to test these within 2 weeks, basically).

One new item that really needs tested it our Referral Gift (this is the one that originally started as a founder bonus, and due to our weekly call we decided to improve this feature into a decentralized gift that Any leaderboard participant can give to others).  So we allow a leaderboard participant to "give away" part of their portfolio to people claiming the code.  Ill post the test details during the next upgrade post..  We also need to do better testing of foreign utxo stakes - I think Im the only person who tested one.  Our product is not going to necessarily have a high quality unless we can do better testing.  So we need a couple more foreign trustwallet stakes added.  We also need to test referral codes again with trustwallet integration (just test a referral code using the prior test case again while you have a leaderboard position on in this version, as leaderboard positions are now trustwallet compatible).

Ill continue to make a list first, so I can make an all encompassing release and we can get all these loose ends tied up at once.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on June 10, 2021, 10:51:36 PM
Thanks Rob for the update on the testing that is needed in order to get the next release. We are praying, and expecting, that the next release with all the new features will bring us lots of attention, and start the process of getting BiblePay on a successful new beginning path.

So, I would encourage all of us especially (Earlz and twinkle, as you guys have been very helpful with the testing so far, and you both seem very experienced with this technology) to get going on the testing once Rob makes the list, so that we can proceed to get the testing finished.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 11, 2021, 03:39:44 PM
Thanks Rob for the update on the testing that is needed in order to get the next release. We are praying, and expecting, that the next release with all the new features will bring us lots of attention, and start the process of getting BiblePay on a successful new beginning path.

So, I would encourage all of us especially (Earlz and twinkle, as you guys have been very helpful with the testing so far, and you both seem very experienced with this technology) to get going on the testing once Rob makes the list, so that we can proceed to get the testing finished.

Thanks Pat, well looking at the list, I see the following things that need a little more testing:


- Double check LLMQ and chainlocks params for the cutover (I will do that towards the end of the month), we basically need to replicate TestNet settings for Prod
- Sync Harvest against MAINNET (People should just ensure running this Harves in Prod allows you to sync from zero and spend money and agrees with chainz)
- Mine against foundation.biblepay.org MAINNET using Harvest 1.6.2.0 (we are held up on this because I need to deploy harvest to the foundation, and I do plan on doing this asap)
- Verify sponsoring a couple more orphans in TEST; I would like to ensure we receive the e-mail confirmation; and that the child shows the sponsorship date on 'listnfts 0 0' <- NEEDS Done, but please wait for 1.6.2.0 before you do this as our sancs need upgraded
- Test a referralgiftcode and check the leaderboard to see if you received the gift (everyone is waiting on me to release the RPC command... coming in one hour)
- Verify the old 'referralcode' rpc command still works in the new leaderboard (please see our old test case a few pages back - for claiming a referral code)
- Test a foreign utxo for bitcoincash and zcash in the leaderboard (I can help with this... will be creating a couple soon), but I can use help on verifying at least one more Trust Wallet UTXO other than BBP works
- Merge all of our changes into our changelog (I have this on my todo list, doing this over the next 10 days)
- Make a wiki document to explain the trustwallet integration

So from what I can see (deliberately ignoring items left for the September development cycle like Unchained social media, Chrome plugin and Invoices and Payments) the above list looks to be pretty comprehensive.

I am in the process of compiling bbp right now and should have this released in about an hour.



Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 11, 2021, 04:21:46 PM
1.6.2.0 - Mandatory Upgrade for TestNet
- Add bitcoincash + zcash to portfolio builder
- Optimize dsql query filter
- Fix cosmetic items on the 'mission critical todo' list
- Add Query button to utxodialog
 develop

- Please upgrade everyone then we can continue testing.
I will paste the test case for the referral-gift-code in a few minutes.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 11, 2021, 04:27:15 PM
Test case to test Gift referral code:

- The gift referral code allows the portfolio owner to give part of their portfolio away (to everyone else in the leaderboard who attaches the code).
Note that if more than one person attaches it, they get an even slice of it.  Obviously it won't let them have more than the original gift, so let us assume User A has a 1MM portfolio and the gift is 250,000, if it is attached to 4 portfolios each person would get 25% of the gift.

Step 1:
Here is a referral code from my testnet portfolio for 500K:  To attach it do this:
attachreferralcode a1d78cf0727debbc38009e3a5cc7a09278db948265bd218e7b28a3f26de01842
Wait a few blocks... check your Leaderboard position... double click on it... You should have an Increase in 'BBP quantity' by the amount of the gift ( or the slice of it ).  Also your USD value of the BBP should be greater.

Step 2: (Generate a gift referral code so we can test one from you):
generatereferralcode gift_amount
(Replace gift_amount with an Amount in BBP you want to gift us.  For example if you portfolio is 1MM, you can give us any amount lower than that for example).
Share the gift code here and we will attach to it and see if our portfolio increases by that amount.



Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on June 12, 2021, 07:27:44 AM
Hello again,
I just tested out the gift code referral system in testnet, and I am having some issues. Here is the code:

attachreferralcode a1d78cf0727debbc38009e3a5cc7a09278db948265bd218e7b28a3f26de01842

{
  "Error": "Sorry, you must have an established portfolio to use a referral code.  "
}

generatereferralcode

{
  "Error": "Sorry, you must have an established portfolio to generate a referral code. "
}
 According to the leaderboard, I have a 1mm stake in bbp only, and I am not sure if maybe this just requires a foreign stake or something, or maybe a portfolio with more than 1mm? I added some more to my portfolio either way, and will test it again soon, as well as send out my own referral code for others to test out. Also, whenever I downloaded the github thing from the first post in this sub-section, I got the same 1.6.0.9 version I already had, which may have had something to do with this not working properly. Also, this is supposed to be in testnet, right, not mainnet?
Thanks, and may God bless you all,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on June 12, 2021, 07:44:10 AM
Also, whenever I tried to add more bbp to my portfolio, I used the command prompt option, totally forgetting about the portfolio builder (which I have already done, works great). This is the code I got:

easystake bbp yUYSsCGvXhyWhRhzaEPiB3UXHPsGuGaSfD 0.01

{
  "Ticker": "BBP",
  "Address": "yUYSsCGvXhyWhRhzaEPiB3UXHPsGuGaSfD",
  "Pin": 54684,
  "BBP Amount": "1000000.00054684",
  "Results": "Successfully added UTXO record fcd1549018bec00380d6a4a5a07751cc547266de0d21e986e1f0850d4f44b200. <br><br>Thank you for using BiblePay Retirement Accounts. "
}

I had to put in 0.01 as the "amount" to get a 10 million bbp stake, just thought that seemed weird. Otherwise, though, it worked very well. An explanation I could see for this is that the actual amount is some other currency, like bitcoin, so, whenever I put in "1" as my amount, it means I am trying to add 1 bitcoin worth of bbp? Maybe it is something like that.
Thanks for your help, and may God bless you all,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on June 12, 2021, 07:55:47 AM
It was actually a 1 mm stake, not 10 mm as I had said.
May God bless you all,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 12, 2021, 01:02:49 PM
Hello again,
I just tested out the gift code referral system in testnet, and I am having some issues. Here is the code:

attachreferralcode a1d78cf0727debbc38009e3a5cc7a09278db948265bd218e7b28a3f26de01842

{
  "Error": "Sorry, you must have an established portfolio to use a referral code.  "
}

generatereferralcode

{
  "Error": "Sorry, you must have an established portfolio to generate a referral code. "
}
 According to the leaderboard, I have a 1mm stake in bbp only, and I am not sure if maybe this just requires a foreign stake or something, or maybe a portfolio with more than 1mm? I added some more to my portfolio either way, and will test it again soon, as well as send out my own referral code for others to test out. Also, whenever I downloaded the github thing from the first post in this sub-section, I got the same 1.6.0.9 version I already had, which may have had something to do with this not working properly. Also, this is supposed to be in testnet, right, not mainnet?
Thanks, and may God bless you all,
twinkle

- First confirm that you are on v1.6.2.0 (from Tools | Info), or getinfo, next confirm you are in testnet (not mainnet), and here is a current blockhash you can test with:
getblockhash 99121
937c1d7b651d56ad3c35efd48d00d3b44d09140b41431b957e9b2dbc4bbb4168
, and that at least a few blocks passed since you created the portfolio-- then try again.

When you say you downloaded from github, do you mean you built the binary yourself?  Cause the windows link in the op is not from github.

(I confirm that 1620 is in github because I upgraded my 3 sancs yesterday).
If you are receiving a lower version from the download link let me know the platform you are on and I will reproduce.  (You can also try downloading from Chrome | New Incognito window to rule out caching).




Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 12, 2021, 01:12:03 PM
Also, whenever I tried to add more bbp to my portfolio, I used the command prompt option, totally forgetting about the portfolio builder (which I have already done, works great). This is the code I got:

easystake bbp yUYSsCGvXhyWhRhzaEPiB3UXHPsGuGaSfD 0.01

{
  "Ticker": "BBP",
  "Address": "yUYSsCGvXhyWhRhzaEPiB3UXHPsGuGaSfD",
  "Pin": 54684,
  "BBP Amount": "1000000.00054684",
  "Results": "Successfully added UTXO record fcd1549018bec00380d6a4a5a07751cc547266de0d21e986e1f0850d4f44b200. <br><br>Thank you for using BiblePay Retirement Accounts. "
}

I had to put in 0.01 as the "amount" to get a 10 million bbp stake, just thought that seemed weird. Otherwise, though, it worked very well. An explanation I could see for this is that the actual amount is some other currency, like bitcoin, so, whenever I put in "1" as my amount, it means I am trying to add 1 bitcoin worth of bbp? Maybe it is something like that.
Thanks for your help, and may God bless you all,
twinkle

Good catch, I see the problem in the command line version.  FIXED for the next version.  Please dont let that stop you from testing through the UI though.

Now when I type easybbpstake address 5000, it stakes 5000 (and btw it automatically creates utxo's now, so we dont have to worry about the convoluted rules that exist in prod anymore).

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 12, 2021, 02:01:22 PM
Twinkle, we had 3 orphans available in
http://foundation.biblepay.org/NFTOrphans

Did you have a problem sponsoring any of these 3?
We are supposed to receive an e-mail when we sponsor one!

Guys, if you have bought a non-orphan nft, can you please Edit it and put it back in the marketplace (IE Check Marketable and set a price) this way we can test a few more non-orphans?

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on June 13, 2021, 11:22:59 AM
Yeah, I can't find the right version in github, I right now only am getting 1.6.1.9 from the op post in this thread. I tried the incognito mode download as well. Can you give me a link directly to be able to access the right github post/download site? Thanks. Also, just to confirm before I do it, for the orphan NFTs, I only see one. We only buy them in tBBP, right, as it is still a test case? Not actual BBP, right? Furthermore, you buy them by putting your Testnet CPK in your account CPK slot on foundation.biblepay, right? Thanks, just want to clarify first.
May God bless you all,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on June 13, 2021, 12:56:34 PM
I am also thinking about doing some NFT series where each is unique, displaying a Christian picture/Bible verse/idea, and all profits (minus cost of making NFT) would go to some charity. I will post a test one to the NFT page soon. Just to confirm, mainnet does not support NFT's yet, right? Even the 1.6.2.0 mainnet? Or can I already make some and buy/sell them from the mainnet account/software? Thanks.
May Jesus's love fill your hearts and minds, always
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 13, 2021, 09:55:59 PM
Yeah, I can't find the right version in github, I right now only am getting 1.6.1.9 from the op post in this thread. I tried the incognito mode download as well. Can you give me a link directly to be able to access the right github post/download site? Thanks. Also, just to confirm before I do it, for the orphan NFTs, I only see one. We only buy them in tBBP, right, as it is still a test case? Not actual BBP, right? Furthermore, you buy them by putting your Testnet CPK in your account CPK slot on foundation.biblepay, right? Thanks, just want to clarify first.
May God bless you all,
twinkle
I am also thinking about doing some NFT series where each is unique, displaying a Christian picture/Bible verse/idea, and all profits (minus cost of making NFT) would go to some charity. I will post a test one to the NFT page soon. Just to confirm, mainnet does not support NFT's yet, right? Even the 1.6.2.0 mainnet? Or can I already make some and buy/sell them from the mainnet account/software? Thanks.
May Jesus's love fill your hearts and minds, always
twinkle

Hi Bro Twinkle--
So checking things out, I see the problem and the reason you kept getting 1619.  So every 10 versions we have to do some strange things (increase the minor version in testnet, otherwise the deploy fails), and it happens relatively infrequently.  Sorry about that; I fixed the problem; and coincidentally we needed to upgrade to 1.6.2.1 anyway to properly test the orphan NFTs.

So could you please try downloading again, you should now see v1.6.2.1.  (I tested this in windows and I successfully upgraded). 

As far as orphan NFTs, your right, while I was testing 1.6.2.0 I consumed all of them, so lets just start over again, with 1621.  I added Mue and Jack (just a clone of Mue but in prod obviously that will never happen); now you have 3 to choose from:  http://foundation.biblepay.org/NFTOrphans
Once you sponsor the orphan you should be able to do a "listnfts 0 2" now (which specifies orphans only that You sponsored). 

As far as the dynamics regarding tBBP and purchasing, so the way the pool is set up right now, correct, the NFTs are only available in testnet (the links do not work against Prod or against prod currency yet).  So when you pay, the payment is made in tBBP.  But to make this easier, we dont actually deduct anything from your pool balance.  What happens is the pool is currently paying for the NFT for you.  Of course when we move to prod, the pool balance will really be deducted (in real bbp).  So go ahead and sponsor one, and just ensure your tBBP CPK is set in Account settings (where it says NFT purchases) and that is the address we will send the NFT to.  Note that the 'writer' of the orphan (IE cameroon one, or me in this case) does receive the tBBP in their wallet.  You should then receive an email with the confirmation amount etc.  And after a couple blocks, you should see the orphan in the 'listnfts 0 2' command.

And on your previous test for the referral code, could you please test it again now that you are on 1 6 2 1 ?

Thanks, and God bless you.

Rob

EDIT:

And all, we can still use help testing this in unchained:
https://forum.biblepay.org/index.php?topic=762.msg10967#msg10967

I recently added a "Search box also", where you can search for your videos.


Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on June 14, 2021, 08:20:14 AM
Hello all,
I just tested a few things, all of them worked very well. I attached the referral code, that worked nicely. I also sponsored an orphan NFT. Also, here is my referral code, this should be for 100k: 6f55c78cd9bf4f9bedf1c2804aa067d108af63dcddd15d190f60de8748d1e724. However, I did want to point out that, even whenever I did not specify an amount to give, it spit out a code anyway. Maybe that generates one worth the entirety of your portfolio? I also made an account on Unchained.BiblePay, got the account set up, did the Biblical word key thing, and just sent some funds to it now. I will update later as to how that goes. Exciting stuff, nice work everyone.
May God bless you all,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on June 14, 2021, 11:25:43 AM
Sponsored an orphan on testnet v1.6.2.1 this morning and it worked well, I got the email with the link....looks good...
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on June 14, 2021, 11:38:06 AM
Did step 2...

Step 2: (Generate a gift referral code so we can test one from you):
generatereferralcode gift_amount

Here is the gift code....
"71ecc736c7ee6979029bde03b453d33c10b156b19850be1a665aad2df5fcc9d1"
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: twinkle on June 14, 2021, 12:34:17 PM
Hello Pat,
I did add your gift code onto my portfolio, and I will let you know as soon as it shows up. I also added the one that Rob had put out a while ago, but there has been no change in my actual portfolio yet, so I am slightly concerned. Try out mine, too, if you can, and let me know if the 100k reward I put up is added to your account.
May God bless you,
twinkle
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Pat Buckley on June 14, 2021, 12:44:56 PM
Hello Twinkle...

Attached your code...

Attached": 3d9629c8815824c6a467c8144ad8338d7f22774ceefd2c2ad064a4b44ffd5f89

Lets see if it shows up...
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 14, 2021, 04:48:47 PM
Hello all,
I just tested a few things, all of them worked very well. I attached the referral code, that worked nicely. I also sponsored an orphan NFT. Also, here is my referral code, this should be for 100k: 6f55c78cd9bf4f9bedf1c2804aa067d108af63dcddd15d190f60de8748d1e724. However, I did want to point out that, even whenever I did not specify an amount to give, it spit out a code anyway. Maybe that generates one worth the entirety of your portfolio? I also made an account on Unchained.BiblePay, got the account set up, did the Biblical word key thing, and just sent some funds to it now. I will update later as to how that goes. Exciting stuff, nice work everyone.
May God bless you all,
twinkle
Hi Twinkle,

Thats awesome on the Orphan NFT, great!
On the referral code you donated above, I just attached it to my portfolio and I will let you know if it works in a few more blocks.
Regarding yours not showing up, it could be that your portfolio is already maxed out with rewards.
To find out if its attached, type :  listattachedreferralcodes
Then see if the one you attached from me is in the list.
Basically, you can utilize referral codes for up to 18% ROI boost in your portfolio up to 100% of the size of the portfolio.  If you are already at 18% and 100% of your portfolio is earnings rewards, then new referral codes dont have any effect.
However, this rule is just for normal referral codes.  Gifts are a different animal.  On Gifts, we split up the gift among all the participants who attach the code and add that amount of BBP to your portfolio (so another words if you had 1MM bbp in your portfolio, and you consume 100K of a gift, you will see 1,100,000 in size in your portfolio giving you more rewards than others).

On your other point about specifying an amount when using the 'generatereferralcode' command, know that if you dont specify the amount, that type of referral code generated is an advertising or PR type referral code (one that lets users promote bbp to other users).  Another words, it doesnt cost you anything to generate those- you simply generate them and share them in the world; if someone attaches your code they make more money and you receive a portion of the boost for their attachment.

However when you specify an amount, this type of referral code (the gift type) is completely different.  The gift type gets split up by those who attach it, and the giver gets the bbp size deducted from their portfolio as a debit (to bbp) and a credit to the people who attach the code.

EDIT:  Yes, I see your referral code when I listattachedreferralcodes.  I see a gift for 300,000.  I see one issue (its not really a problem, just would be a nice to have).  We add up all the gifts and we cant see individual amounts.  So I have something like -900000 and +300,000 (and not even sure if Pats is a gift), we may need to add some code to list the gift details.  Anyway it appears it picked up your gift code.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 14, 2021, 04:54:09 PM
Did step 2...

Step 2: (Generate a gift referral code so we can test one from you):
generatereferralcode gift_amount

Here is the gift code....
"71ecc736c7ee6979029bde03b453d33c10b156b19850be1a665aad2df5fcc9d1"

I attached yours to my portfolio... will check on it in 3 blocks.

EDIT:  It worked, but now I am adding more details to gifts so we can enumerate through the details of the gifts.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 17, 2021, 09:31:37 AM
Now its time to test randomx mining against the foundation pool in prod.
You might be wondering, why are we testing mining and so many small things in this release:  Its because this is a rebase, this is not a normal release.  A rebase means we entirely replaced our codebase with a new branch. 

So what this means is BiblePay Harvest will be running in mainnet in the pool, and we will see if mining works correctly.

On a side note, I synced from 0 a while back in mainnet without a problem, and last night I ran the foundation wallet in mainnet (on harvest) without a problem; but just to be safe Im syncing from 0 on my test machine now in mainnet, and then Ill move on to testing harvest live with the randomx miners that are hitting the pool right now (just to really exploit this version in the wild).

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: earlzmoade on June 19, 2021, 04:59:40 AM
Hello Brother Rob.

Finally im back and can do some testing, no work this weekend.

Ok so what i have been tinkering with is the UTXO staking, the portfolio builder, to me it looks nice and easy to understand. Not like before were you had to manually tro to set the "correct"  bbp/eth amount  or how to say.

In this aspect i think you hit the nail spot on with the automatic value pairing.
In my test here with ethereum that i tested i went to
 Misc>Portfolio Builder  chosed Ethereum pasted my eth adress and got the pin to use in the transaction, went to ledger live wallet and just send the amount with the pin to my wallet worked just fine.
Then i just did more and more biblepay stakes to see the coverage go up to 1 .
In terminal i ran
Code: [Select]
listutxostakes 0  and i can see that it corrseponds with the details i can see in the leaderboard.


Quote
Now its time to test randomx mining against the foundation pool in prod.
You might be wondering, why are we testing mining and so many small things in this release:  Its because this is a rebase, this is not a normal release.  A rebase means we entirely replaced our codebase with a new branch. 

So what this means is BiblePay Harvest will be running in mainnet in the pool, and we will see if mining works correctly.

On a side note, I synced from 0 a while back in mainnet without a problem, and last night I ran the foundation wallet in mainnet (on harvest) without a problem; but just to be safe Im syncing from 0 on my test machine now in mainnet, and then Ill move on to testing harvest live with the randomx miners that are hitting the pool right now (just to really exploit this version in the wild).

Definitely will test the randomX hashing on pool in prod.
What parameters should we put in config file for pool mining in core wallet?

Have a great weekend everyone.
Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 19, 2021, 08:11:01 AM
Hello Brother Rob.

Finally im back and can do some testing, no work this weekend.

Ok so what i have been tinkering with is the UTXO staking, the portfolio builder, to me it looks nice and easy to understand. Not like before were you had to manually tro to set the "correct"  bbp/eth amount  or how to say.

In this aspect i think you hit the nail spot on with the automatic value pairing.
In my test here with ethereum that i tested i went to
 Misc>Portfolio Builder  chosed Ethereum pasted my eth adress and got the pin to use in the transaction, went to ledger live wallet and just send the amount with the pin to my wallet worked just fine.
Then i just did more and more biblepay stakes to see the coverage go up to 1 .
In terminal i ran
Code: [Select]
listutxostakes 0  and i can see that it corrseponds with the details i can see in the leaderboard.


Definitely will test the randomX hashing on pool in prod.
What parameters should we put in config file for pool mining in core wallet?

Have a great weekend everyone.

Hi Bro. Earlz its good to see you!
Thank you for the compliments on the Trust Wallet integration.  I really hope this helps bring masses over that are looking for a Christian Retirement Account.  We can be a pretty stable facility for those people since our returns are not outlandish and we are deflationary at the same time (what a strange mix).

Yeah, I love that auto-pairing; this will be good when people bring $50K over to biblepay across 10 currencies and they dont quite have enough bbp; then they can see oh im only 10% paired; let me buy more bbp; thats awesome.  Plus I think the majority of people are calling for simpler feature - more like the iPhone rather than things that need to be programmed by developers just to set up (like our sanctuaries are right now; those things are still complicated).  On a side note it would be nice to 'wrap' fractional sanctuaries into a single UI command to allow an investor to hold a fractional sanc (the problem is the pool has to facilitate fractional sancs).

Anyway on the RX mining, I went ahead and switched foundation over to harvest yesterday; and I got mostly good results but found a problem.  The good news is the users were able to mine against prod (so we have a thorough test case for that already) they mined against prod, and they solved 4-5 blocks; all the rpc commands worked and things generally worked and it didnt crash for the entire time (16 hours or so), but one issue came up:  There is a versionbitscache-bitstate set on one of the high bits in this new dash branch-and it causes a dip003 error in "classic biblepay" only, another words we cant mine from harvest to prod until classic is retired (lol), so this will be a challenging release for sure.  So dont worry about mining yet I think we will need to finish this Live on the first day of the mandatory cutover as there is no other way since all old classic nodes will reject the solution etc.

If you want you can attach a gift referral code from the prior page - we pasted a few - and see if your portfolio starts showing a referral code effectivity or gift percentage when you run listattachedreferralcodes.  (I havent released the new code that shows a more detailed gift output however, yet, and I also just added icons to the toolbar menu). 

Im going to add the DWU % to a few screens now.

Title: Re: June 2021 Release - Harvest - TestNet Thread
Post by: Rob Andrews on June 22, 2021, 03:27:44 PM
*** THANK  :-* :-* :-* YOU ***

Thanks to all who participated in TESTNET this quarter.

Without you we could not have completed this endeavor!

May you all be blessed with the richest blessings of Abraham, Isaac and Jacob.

I have released BiblePay Harvest to Prod:
https://forum.biblepay.org/index.php?topic=517.msg11023#msg11023

After we get through our Upgrade Process, I will come and check back here and we can decide if we need to start a new TestNet thread or continue here.