Bible Pay

Read 150495 times

  • Rob Andrews
  • Administrator

    • 4158


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: February 2021 Testnet Thread (Tribulation)
« Reply #60 on: January 14, 2021, 01:06:07 PM »
So I've been testing the e-mail in unit test mode and not only did I discover an additional bug, but I found we dont even support multiple recipients yet -- duh.

So let me fix these issues, add multiple recipients, and re-release.

Im not ready to tackle "CC"s and BCC's yet because that is yet another layer to conquer, but Ill get this thing supporting multiple recipients next and notify of a release!

Thanks for all the great quality testing guys!

PS Please dont bother sending me any email yet because they have to be slightly changed (IE the serializer needs changed).

PS II:  I also need to modify the "Donate to Foundation" to "Donate to DAC", since we are theoretically decentralizing the foundation now into a DAC.



  • Rob Andrews
  • Administrator

    • 4158


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: February 2021 Testnet Thread (Tribulation)
« Reply #61 on: January 14, 2021, 03:26:15 PM »
1.5.3.5 - Mandatory Upgrade for TestNet

- Rename Foundation to DAC in Send Coins
- Add multiple recipient support to SMTP (and fix SMTP bug)


MIP, can you please build MAC again?



  • Rob Andrews
  • Administrator

    • 4158


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: February 2021 Testnet Thread (Tribulation)
« Reply #62 on: January 15, 2021, 08:29:15 AM »
Earlz, let me know when you are upgraded and we can try new e-mails.

I will send you one now that is 2megs.

I will send it to you, and MIP as addl recipient.



  • Rob Andrews
  • Administrator

    • 4158


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: February 2021 Testnet Thread (Tribulation)
« Reply #63 on: January 15, 2021, 09:33:35 AM »
As far as testing 'gettxoutsetinfo', this is the command that supplies block explorers with our circulating money supply.

The best way to test this would be to run biblepay-qt against prod and let it sync to the top.
Then look at the new fields:

total_burned is how much was burned in all DWS stakes.  Note that UTXO mining does not burn coins, so it is expected that this number would stop growing.
The accurate way to represent our "real money supply" would be total_circulating_money_supply + future_whale_stake_liabilities.  (These are the whale stakes that have been burned and not paid).  We cant really ascertain the 'true' money supply in BiblePay-prod 1.5.2.9 right now, because it has no way of showing the future liabilities.  But in testnet we can see clearly that we have 2.476B circulating, 415MM burned, and 159MM in future liabilities, meaning the very last line "total_supply_plus_liabilities" is going to be 2.63B.  Thats theoretically what the BXs should really show, although now we have this guide it is much easier for us to govern our future emission.  Imho, its good to scale it back with APM until its completely square.

Here is the emission schedule target doc:
http://wiki.biblepay.org/Emission_Schedule_2020

So basically, we are still 200MM over schedule for this point in time (If you synthesize it, we should be at 2.434B right now.  So we need to pull the horns in for about 200 more days and theoretically be square.  It would be nice to see 2.847B at the end of this year.  Of course its a challenge to scale back while growing at the same time.  Obviously I prefer a few new users per day over conservation.

I will also be holding a vote to increase our deflation rate by 5% temporarily to fix this problem without APM being required (another words, to fix it regardless of our state of APM).
That code is already in this testnet version but we will need a sanc vote concerning all changes at once when this is close to release.



  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: February 2021 Testnet Thread (Tribulation)
« Reply #64 on: January 15, 2021, 09:45:00 AM »
Earlz, let me know when you are upgraded and we can try new e-mails.

I will send you one now that is 2megs.

I will send it to you, and MIP as addl recipient.

Alright.  ill update in a few minutes.
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: February 2021 Testnet Thread (Tribulation)
« Reply #65 on: January 15, 2021, 09:57:20 AM »
Updated and synced. You can try send me a e-mail at:      [email protected]
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

    • 4158


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: February 2021 Testnet Thread (Tribulation)
« Reply #66 on: January 15, 2021, 03:42:52 PM »
Updated and synced. You can try send me a e-mail at:      [email protected]

Sent!



  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: February 2021 Testnet Thread (Tribulation)
« Reply #67 on: January 15, 2021, 04:52:45 PM »
I got ur mail Rob.
Also i see in inbox several mails from thursday that appeared.

I thing that i noted is that the picture that you sent its just letters and numbers.

for copying abit of the message:

Code: [Select]
Content-Disposition: attachment;

filename="skies.jpg"



/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcG

BwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwM

DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCA4JExEDASIA

AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA

AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3

ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm

p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA

AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx

BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK

U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3

uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBA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LUBuyj

ZTqKNSeUbso2U40CjUOUbsoCkCnUUahyjSuTQFIFONAo1DlEwfWkYHNOop6glYjxRipKDRqUR4ox

Ugoo1AjxRipKKNQI8UYqSijUCPFGKkNAo1AjxTlBxTqKFdANYHNNxUlFVzAR4oxUlBocgI8UYqQU

VIEeKMVJRQBHjFGKc/IpccUAM6UYzTtuaXbigBnl7u1G3bT8H1pCPmoAbijFSUGgCPFHSpBSFc0A

Looks like that.

Also about when im trying to UTXO stake for testing it wont let me stake my tBBP even tho they have matured, says i have 3m to spend but i still get the "unable to UTXO 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

    • 4158


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: February 2021 Testnet Thread (Tribulation)
« Reply #68 on: January 15, 2021, 07:03:05 PM »
I got ur mail Rob.
Also i see in inbox several mails from thursday that appeared.

I thing that i noted is that the picture that you sent its just letters and numbers.

for copying abit of the message:

Code: [Select]
Content-Disposition: attachment;

filename="skies.jpg"



/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcG

BwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwM

DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCA4JExEDASIA

AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA

AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3

ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm

p6ipqr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RQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFAB

RRRigAoooxmgAoo6UYzQAUUYo6UAFFFBGKACiiigAooxmnKmRQA2inMuDQqZFADaMZp2yjG3vQA3

pRjNO27qXbigBmKOlPwfWk25oAbt3UY207ZQy4NADc0Uqx5NPMYxQBHnNGM04R4pduKAGYoxT8H1

o7UAMxmjFOTgU49KAI8Zo6U5OBSn6UAMxmjFSCg0AR+Xu7UbNvapBRQBHijFSUUAR4oxUlFAEeKX

bT6DTTsAzbRtp4oNPmJ5Rm2kxUgoochpWI8UYqSip1GR4oxUlFGoEeKMVJRRqBHilC5p9FLUBuyj

ZTqKNSeUbso2U40CjUOUbsoCkCnUUahyjSuTQFIFONAo1DlEwfWkYHNOop6glYjxRipKDRqUR4ox

Ugoo1AjxRipKKNQI8UYqSijUCPFGKkNAo1AjxTlBxTqKFdANYHNNxUlFVzAR4oxUlBocgI8UYqQU

VIEeKMVJRQBHjFGKc/IpccUAM6UYzTtuaXbigBnl7u1G3bT8H1pCPmoAbijFSUGgCPFHSpBSFc0A

Looks like that.

Also about when im trying to UTXO stake for testing it wont let me stake my tBBP even tho they have matured, says i have 3m to spend but i still get the "unable to UTXO stake"

One potential problem with UTXO staking is any time the wallet spends any money, even for an e-mail fee, your coins start re-aging.

So I think you really need 20MM or so for testnet to test this easier.  What is your receive address?  Then you can do an exec bankroll and make some.

In the mean time, I will also figure a way to make a feature to force a UTXO stake that is "valid" for the leaderboard, but not applicable for a mining reward.  This will allow us to test even more in testnet (or in prod).  Basically that kind of stake gives you perpetual rewards, but is not going to give someone a mining reward.

Ill have to look at the e-mail issue; let me try sending myself one from outlook to thunderbird.  Yesterday I did not have that problem, it could be a regional thing, but Ill check.



EDIT:
See the attached screenshot of my thunderbird - I can send skies.jpg as an attachment from Outlook to Thunderbird, or from Outlook to Outlook without seeing the characters.
One other problem I noticed is your thunderbird replies include all the headers while mine seem to be inducted correctly.

Sigh, its probably some regional issues.  Can you tell me what your keyboard layout is and your native system language, and if your emails are HTML or Plain text and if you know if you use unicode or not?  I believe Im using English EN (US) Keyboard, HTML emails, and non-unicode ASCII.  It will be interesting to see how MIPs emails look with attachments and if he can see the one I sent you guys. 

EDIT 2:  Whats your thunderbird version also (Options | General)?  Mine is 78.6.1.  That could give me something to try.
EDIT 3:  And finally here is one more valuable question, if you go to ~/.biblepay/SAN, please do an "ls -l email_f6db*".  Mine is 2,467,803 bytes.  Can you see if yours matches my size just to ensure the truncation did not occur?

EDIT 4:  One thing you can actually try too, is sending one with a picture attached to yourself.  See if it mangles it with letters?


« Last Edit: January 15, 2021, 07:26:45 PM by Rob Andrews »


  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: February 2021 Testnet Thread (Tribulation)
« Reply #69 on: January 16, 2021, 07:05:42 AM »
This is my testnet biblepay adress: ybhEthPTyeJTbraoyCb7eXbuGotZbgckiS

Quote
Sigh, its probably some regional issues.  Can you tell me what your keyboard layout is and your native system language, and if your emails are HTML or Plain text and if you know if you use unicode or not?  I believe Im using English EN (US) Keyboard, HTML emails, and non-unicode ASCII.

First of all i tried send a picture a jpg file 1.42MB big, transaction went thru bbp core and i received in mailbox but same thing just letters and no  picture.

Thunderbird is version 78.6.1
My native system language is swedish, the keyboardlayout is swedish, it says "Swedish QWERTY"  I looked through options on thunderbird and i see that in composition & adressing section " Compose messages in HTML format"   is checked.  I do not belive im using any ASCII och Unicode.

i checked in biblepay/SAN and  got:
Code: [Select]
Directory of C:\Users\Prosit\AppData\Roaming\Biblepay\SAN

2021-01-16  12:29         2 499 522 email_f6dbd8e3450896c7936591d66d9b1f2942476dd233aad33cde33128be6cad7f0.eml
               1 File(s)      2 499 522 bytes
               0 Dir(s)  29 699 018 752 bytes free

 
Quote
It will be interesting to see how MIPs emails look with attachments and if he can see the one I sent you guys. 
Indeed.

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

    • 4158


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: February 2021 Testnet Thread (Tribulation)
« Reply #70 on: January 16, 2021, 09:14:15 AM »
This is my testnet biblepay adress: ybhEthPTyeJTbraoyCb7eXbuGotZbgckiS


 I just sent you 30MM.  Could you please do an 'exec bankroll 30 1000000' for example and that will give you 30 spendable UTXOs.
You can see them by going into Coin Control (if you dont have that enabled you can enable that checkbox from Settings).  Then you can get to coin control by going to Spend Money | Coin Control.  There you will see the 30 UTXOs once they are created.  You will see once you start sending successful UTXO stakes that they get locked automatically (just like sanctuaries).

Also, we need to verify we get the coinbase reward (and not the miner) once we send a successful utxo stake (I did that a few times locally but Id like testers to see it too).  You can probably do that by shutting off your miner after you send a successful utxo that is accepted, then you know you will not be the "miner" and then when you get the reward you will know.

Ill look into that email post soon.



  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: February 2021 Testnet Thread (Tribulation)
« Reply #71 on: January 16, 2021, 10:07:06 AM »
Sounds sweet Rob!

Earlier today i managed to make a UTXO stake that was below 10k tBBP  so i see myself in leaderboard there now.
i did the 'exec bankroll 30 1000000'  and i see it worked.  I learn something new everyday!
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

    • 4158


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: February 2021 Testnet Thread (Tribulation)
« Reply #72 on: January 16, 2021, 11:37:50 AM »
Sounds sweet Rob!

Earlier today i managed to make a UTXO stake that was below 10k tBBP  so i see myself in leaderboard there now.
i did the 'exec bankroll 30 1000000'  and i see it worked.  I learn something new everyday!

I see you in there, awesome!
Yeah, btw, if you double click on the user in the leaderboard, you will eventually be able to see a more detailed breakdown of your positions.  Right now it does show you summaries of each ticker and qty.  So its relatively useful if you have a breakdown of for example all 3 tickers.  The goal so far, is to show the total value in USD for each category.

I see a testnet user in there called Scropius also, but doing WCG, interesting.

So I think I might see (well, lets hope this is the only) problem with e-mail issue (with the funny character lines).  It appears to be a windows only issue.  The sancs and my foundation machine are all on ubuntu 18.  Yours was the first testing machine on windows.

I booted up a windows client + windows thunderbird, and voila, it did send a mangled email.  The other 'clue' is your reported byte size was 32K higher for that email_ that you referenced vs. the size on my linux disk.  So it points to most likely an encoding issue on windows (not a socket issue) where we are probably writing /r/n's instead of /ns or something. 

At least it sounds like a relatively easy fix!  Ill look at that soon.



  • Rob Andrews
  • Administrator

    • 4158


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: February 2021 Testnet Thread (Tribulation)
« Reply #73 on: January 16, 2021, 05:28:54 PM »
I got the SMTP e-mail feature working in Windows.
Basically, it was a pesky problem with \r\ns (carriage returns) becoming 1 1/2 carriage returns (\r\r\ns). Meaning that the feature didnt work at all on windows.

So this will be fixed on the next release, but first, let me look through the punchlist and see if we have any other issues to check in.



  • bbp_test
  • Newbie

    • 1


    • 0
    • January 08, 2021, 10:06:43 PM
    more
Re: February 2021 Testnet Thread (Tribulation)
« Reply #74 on: January 16, 2021, 05:39:50 PM »
Hi Rob!
Yes, that machine was a left over from last testnet! I had left my VPS on and recently just upgraded to the latest testnet wallet 1.5.3.5 and it automatically joined with all the credentials from last testnet session.
Blessings
oncoapop


I see a testnet user in there called Scropius also, but doing WCG, interesting.