TestNet - BiblePay-Evolution & GSCs (Generic Smart Contracts)

Started by Rob Andrews, March 24, 2019, 01:17:09 PM

Previous topic - Next topic

Rob Andrews

So QT (Quantitative Tightening) has now been turned on in Evo (In testnet only).
We are in Day #1.
Fortunately in testnet, we have the equivalent of 4 superblocks per day, so we should transcend from QT level 1-4 in one day.

Lets keep an eye on the chain, make sure it does not fork (I deliberately have not turned on any other layers yet).
We have a difficulty of 12, that is a good indication the chain is healthy.

Lets keep an eye on our daily superblock budget and our monthly budget also, and see that it remains stable (its now based on *last* months budget - IE 6000 blocks behind where we are now).

To see the qt level, type exec price, or look at the overview page in biblepay-qt.


Rob Andrews

#196
Quote from: thesnat21 on April 12, 2019, 10:09:18 AM
Can this be increased?   10 Characters can run out rather quickly once we get more main-stream adoption

No, but people will receive a message letting them know its in use.

10 is enough for 20,000 users or so, that should get us to the next platform version, then we can discuss changing.  We can also discuss it if we have 20,000 by the end of the year as I will have quite a surprise by then as long as we are priced over 14 satoshi at the time.


orbis

How to check last payed GSC rewards?
I have 3 GSC transmission txs 20h ago, but no reward.
those txs:
571a2ccd45cb1adf4231765e03b3357bd92a626973fab422fe119b8b9ccc1cd1
4bca9b0487a6bb597bdb6d223c095dbf2b63a2ee7626bd78fc17bbc8d42ecbb5
bb0c5c85d39ca7c30b6f732a543f2d7a00491a8d2e3f367e0d678a20a659ec5a

Rob Andrews

Quote from: orbis on April 12, 2019, 01:17:07 PM
How to check last payed GSC rewards?
I have 3 GSC transmission txs 20h ago, but no reward.
those txs:
571a2ccd45cb1adf4231765e03b3357bd92a626973fab422fe119b8b9ccc1cd1
4bca9b0487a6bb597bdb6d223c095dbf2b63a2ee7626bd78fc17bbc8d42ecbb5
bb0c5c85d39ca7c30b6f732a543f2d7a00491a8d2e3f367e0d678a20a659ec5a

So if we type 'exec points txid', I see 25 million points accrued across the sum of these 3 tx's, and the height was 25470 as of the transmission, meaning the next superblock was @ 25625.  (height % 20 + 205 arrives at 25625).

So doing the 'exec prominence false 25625', I see the chain assessed you at 21 mil in that superblock.

So far everything is good from the Accrual side.

Then we do a getblock 25625, and getrawtransaction 03e4* to look at the coinbase, and woila, the problem is that block became a regular block (not a superblock).

We do have a rule in place that will delay the superblock up to 15 minutes (in case sancs are coming to consensus at that time), so I think whats happened here is this is the height where I deployed a mandatory upgrade and everyone upgraded and overjumped this block (IE it took more than 15 mins to upgrade, so a normal block was allowed, and the sancs were down).  I believe this will be the case if this is the *only* missing block-payment, as I have been watching the last 10 superblocks and historically the last few days of blocks and they are all emitting fine as long as the sancs vote on the supermajority. (See exec health = 4 votes almost every single new sb height etc).

Another words in prod, this would never happen, unless we have half the sancs running on a conflicted version and they all disagree.

Is this your only missed payment?


orbis

I've chceked my txs and i looks, that this is my only missing reward.
Thanks for explanation.

Rob Andrews

Whoever is sending donations of 666.66 to the orphanage foundation, I rebuke your donations in the name of Jesus.

I hereby command and bind up demons assigned or attacking this project to go now to the deepest part of the abyss and stay there until Jesus deals with you.




Rob Andrews

#201
Quote from: orbis on April 12, 2019, 03:29:23 PM
I've chceked my txs and i looks, that this is my only missing reward.
Thanks for explanation.

Great, please let us know if our accuracy maintains 100% over the next few days.

We are now in qt-level 4!  This is great.

Thanks to all participants!





Rob Andrews

Quote from: thesnat21 on April 13, 2019, 07:42:11 AM
My windows testnet node is still giving me trouble,  refuses to find any peers.

Side-note:  I got a bit frustrated and deleted the wallet.dat along with all other info .. so no more coins lol

Also,  I noticed the "testnet" client creates/uses the SAN directory in the main client's folder, not the testnet3 folder.

The error message for all peers is: using obsolete version 209 after DIP3 activation; disconnecting


Erm... nevermined

Didn't realize the download link had changed, so i was stuck on .0.6

fixing now

Was this a test? lol


Great to have you back in the gang! 
So on the failure to find peers, I truly believe it was the old peer version disconnect - (as last week I added my 3 public nodes to our compiled in testned seed list) so technically I think people should be able to find a peer if they run the latest.

Yes, on the SAN, we do have only one (as there is also another intentional quirk in Dash, that causes it to use the root anyway, so for this SAN dir, we actually store prayers_test in a separate file - so thats OK.

So yeah I didnt enter that prayer, thats quite a long prayer.  Will take a look at these prayers asap.


Rob Andrews

We have a monthly budget coming at 30135.  I just entered 3 proposals.  Feel free to enter some more and vote up-down so we can test watchman.


Rob Andrews

Quote from: thesnat21 on April 13, 2019, 01:55:02 PM
Working on getting the tools setup for testnet, will see about adding a campaigns tab as well

Great, I will look into adding features for Grandma starting tomorrow. 
I think I will add "Leaderboard" as an rpc command (without exec) asap to show the 'exec prominence' defaults also.


Rob Andrews

Quote from: Rob Andrews on April 13, 2019, 02:59:27 PM
We have a monthly budget coming at 30135.  I just entered 3 proposals.  Feel free to enter some more and vote up-down so we can test watchman.

I entered 3 proposals (no one entered any others I see) and the two totaling 3.8 MM were paid (getblock 30135 to see them), that is correct as the other one was over budget.

So watchman succeeded, but I do see a bug in the proposal UI.  It still shows the 3 old proposals that are paid.  Ill work on analyzing this. 




Rob Andrews

Quote from: Rob Andrews on April 14, 2019, 08:49:41 AM
I entered 3 proposals (no one entered any others I see) and the two totaling 3.8 MM were paid (getblock 30135 to see them), that is correct as the other one was over budget.

So watchman succeeded, but I do see a bug in the proposal UI.  It still shows the 3 old proposals that are paid.  Ill work on analyzing this.

I found the bug, this will be fixed in the next release.


Rob Andrews

So far, it appears QT is working correctly.

I will be enabling ABN soon and we can test that next. 




Rob Andrews

Quote from: Rob Andrews on April 14, 2019, 09:15:36 AM
So far, it appears QT is working correctly.

I will be enabling ABN soon and we can test that next.

ALL:

I just enabled the enforcement of ABN weight.  We currently require 1000 abn weight.

Lets keep an eye on the difficulty and ensure everything rolls forward properly.



Rob Andrews

Quote from: thesnat21 on April 13, 2019, 07:42:11 AM
My windows testnet node is still giving me trouble,  refuses to find any peers.

Side-note:  I got a bit frustrated and deleted the wallet.dat along with all other info .. so no more coins lol

Also,  I noticed the "testnet" client creates/uses the SAN directory in the main client's folder, not the testnet3 folder.

The error message for all peers is: using obsolete version 209 after DIP3 activation; disconnecting


Erm... nevermined

Didn't realize the download link had changed, so i was stuck on .0.6

fixing now

Was this a test? lol


I forgot to ask, do you need any tBBP?