Bible Pay

Read 93017 times

  • Rob Andrews
  • Administrator

    • 4143


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


  • Rob Andrews
  • Administrator

    • 4143


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



  • earlzmoade
  • Super Developer

    • 311


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

    • 4143


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



  • Rob Andrews
  • Administrator

    • 4143


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

« Last Edit: March 29, 2021, 07:29:07 AM by Rob Andrews »


  • earlzmoade
  • Super Developer

    • 311


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

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

    • 4143


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


« Last Edit: March 31, 2021, 11:25:25 AM by Rob Andrews »


  • earlzmoade
  • Super Developer

    • 311


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

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

    • 4143


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



  • Rob Andrews
  • Administrator

    • 4143


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

« Last Edit: April 01, 2021, 07:00:46 PM by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 4143


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



  • earlzmoade
  • Super Developer

    • 311


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

    • 4143


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


  • Rob Andrews
  • Administrator

    • 4143


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