Bible Pay

Read 46943 times

  • Pat Buckley
  • Developer

    • 84


    • 18
    • February 22, 2021, 02:15:12 PM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #165 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...


  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #166 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


  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #167 on: May 06, 2021, 03:27:04 PM »
On another side note I am adding Social Media NFTs now!



  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #168 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.


« Last Edit: May 07, 2021, 09:37:13 AM by Rob Andrews »


  • Pat Buckley
  • Developer

    • 84


    • 18
    • February 22, 2021, 02:15:12 PM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #169 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.



  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #170 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 .......




  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #171 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
}

Joshua 1:9
Have i not commanded you?
Be strong and courageous. Do not be afraid;
do not be discouraged, for the Lord your God
will be with you wherever you go.


  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #172 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?



  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #173 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.
Joshua 1:9
Have i not commanded you?
Be strong and courageous. Do not be afraid;
do not be discouraged, for the Lord your God
will be with you wherever you go.


  • Pat Buckley
  • Developer

    • 84


    • 18
    • February 22, 2021, 02:15:12 PM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #174 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




  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #175 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.
Joshua 1:9
Have i not commanded you?
Be strong and courageous. Do not be afraid;
do not be discouraged, for the Lord your God
will be with you wherever you go.


  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #176 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.
« Last Edit: May 11, 2021, 01:42:22 PM by earlzmoade »
Joshua 1:9
Have i not commanded you?
Be strong and courageous. Do not be afraid;
do not be discouraged, for the Lord your God
will be with you wherever you go.


  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #177 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.



  • Pat Buckley
  • Developer

    • 84


    • 18
    • February 22, 2021, 02:15:12 PM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #178 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)



  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #179 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.


Joshua 1:9
Have i not commanded you?
Be strong and courageous. Do not be afraid;
do not be discouraged, for the Lord your God
will be with you wherever you go.