Bible Pay

Read 109453 times

  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
TestNet - PODC 2.0 (Proof of Distributed Computing)
« on: November 01, 2019, 08:31:27 AM »
PODC 2.0 (Proof of Distributed Computing)



Welcome to the PODC 2.0 Testing thread.

In this thread we will be testing the Dash 0.14 branch with PODC 2.0:

(Please ensure your version is greater than this, otherwise your testnet branch will not sync.  We are at block 14,000 as of Nov 1, 2019).


Testnet Download Links:

Windows v.1.4.6.7+: https://biblepay.org/biblepayevo32develop.exe
Linux PC 32bits Daemon: https://biblepay.org/biblepayd-evo-testnet-i686-pc-linux-gnu.tar.gz
Linux QT: https://biblepay.org/biblepay-qt-evo-testnet-i686-pc-linux-gnu.tar.gz

Linux PC 64bits Daemon: https://biblepay.org/biblepayd-evo-testnet-x86_64-pc-linux-gnu.tar.gz
Linux 64 bits QT: https://biblepay.org/biblepay-qt-evo-testnet-x86_64-pc-linux-gnu.tar.gz

Linux ARM64 daemon: https://biblepay.org/biblepayd-evo-testnet-aarch64-linux-gnu.tar.gz
Linux ARM32 daemon: https://biblepay.org/biblepayd-evo-testnet-arm-linux-gnueabihf.tar.gz
MacOS QT: https://biblepay.org/biblepaycore-evo-testnet.dmg

To self compile:
https://github.com/biblepay/biblepay-evolution/blob/master/BuildBiblePay.txt


The ETA for MainNet for PODC 2.0 is November 30th, 2019.



CONFIGURING FOR TESTNET:


Create a biblepaytest.conf file with the following contents:
testnet=1
debug=1

Place the file in ~/.biblepayevolution

Start testnet by typing:
./biblepay-qt -conf=biblepaytest.conf

(Note the blocks and chainstate will sync into the ./biblepayevolution/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




USAGE INSTRUCTIONS FOR PODC 2.0:

https://wiki.biblepay.org/PODC






« Last Edit: November 07, 2019, 03:12:39 PM by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #1 on: November 02, 2019, 09:21:42 AM »
Test Cases:

1) Please ensure you have upgraded to 1.4.6.7+ (this was a mandatory upgrade).

2) Please ensure your sanctuary is not POSE banned.  If it is, you can easily unban it with this command:
exec revivesanc sanc_name

3) Please ensure you are synced on the correct chain in testnet.  The block # is about 14005:
getblockhash 14005       266323d2e7daa74d570577a667ad8ed536c622c1f0b286d39605a964eb5dce9a

4) Please ensure you have a CPK in testnet:  If you don't you can create one with:  exec cpk your_nickname

5) Start crunching WCG tasks, so that your RAC is building up.

6) Familiarize yourself with these commands:
https://wiki.biblepay.org/PODC

7) Ensure your external purse (Christian-Public-Key) is funded with enough TestNet collateral.  Please make a post here if you need tBBP.

8 ) Type 'exec rac' and verify no errors exist.

9) Verify the SendAllGSC's works from the main thread without the miner running.  At the correct height shown in 'exec rac'.

10) Verify the RAC in the leaderboard matches your BOINC WCG RAC.

11) Verify unbanked CPIDs get rewarded without posting daily collateral.

12) Verify the collateral requirement for RAC is correct.  You can do this by typing exec rac, verify the coin-age % req.  Issue a sendgscc wcg, then check again and verify the amount in the GSC transmission was the correct amount of escrow req.

13) Verify at the daily GSC height, the sendgsccs are automatically sent.

14) Verify GSCs are sent with an encrypted and locked wallet, from the external purse.

15) Test the ability to create a DWS (exec dws).  Verify the DWS is actually received (by recording the sent DWS amount and duration).  Verify the 'exec dwsquote' amount looks good.

Regression Testing Cases:
We also need to re-verify old features work properly:

R1) Sponsor a child with cameroon (sponsorchild authorize). 
R2) Make a post to Rob to add a simulated Payment for you (give us the check #, amount, and childid).  We will enter it into the Cameroon-One testnet simulation.
R3) Verify the cameroon-one payment amount.
R4) Verify the HEALING campaign payment amount.
R5) Add a diary entry in both the command line (sendgscc HEALING diary), test that, and also test the Send Money Diary entry.
« Last Edit: November 30, 2019, 05:26:19 PM by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #2 on: November 04, 2019, 01:31:52 PM »
BiblePay
1.4.6.7-Mandatory Upgrade for TestNet

- Fix 'fail to sign' transaction bug.



« Last Edit: November 04, 2019, 06:43:15 PM by Rob Andrews »


  • togoshigekata
  • Hero Member

    • 527


    • 31
    • September 01, 2017, 10:21:10 AM
    • USA
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #3 on: November 05, 2019, 04:26:14 PM »
Ive spun up a Vultr Ubuntu server, and compiled from source,
Im not getting any connections though, is there an addnode IP address I could use? Thanks


  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #4 on: November 05, 2019, 04:28:30 PM »
Ive spun up a Vultr Ubuntu server, and compiled from source,
Im not getting any connections though, is there an addnode IP address I could use? Thanks

Ill check the dns records in a few mins, but in the mean time please try this:

addnode add 107.173.41.176:44610
addnode add 107.173.41.176:39999
addnode add 107.173.41.178:55584

Please try with onetry behind the command, also

EDIT:  I see our first dns record, testnet.biblepay.org is answering on 40001 please try that as addnode?  Ill have to check the code to see if that is still hardcoded in, but it appears to be working if you add it.

EDIT2:  Ok, I think our 2nd DNS server was pose banned, now I reinstated both testnet and testnet1 again, please try now.  (addnode testnet.biblepay.org, testnet1.biblepay.org)





« Last Edit: November 05, 2019, 04:40:06 PM by Rob Andrews »


  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #5 on: November 05, 2019, 04:41:51 PM »
BiblePay
1.4.6.7-Mandatory Upgrade for TestNet

- Fix 'fail to sign' transaction bug.

Hi Capulo, welcome aboard!

Binaries should be working and are in the OP post.



  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #6 on: November 05, 2019, 04:44:03 PM »
Ive spun up a Vultr Ubuntu server, and compiled from source,
Im not getting any connections though, is there an addnode IP address I could use? Thanks

Ive got to head out to a thing for my son, Togo do you have an address that needs tbbp, then you can give some to Capulo and MIP?


  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #7 on: November 05, 2019, 04:52:55 PM »
Ive spun up a Vultr Ubuntu server, and compiled from source,
Im not getting any connections though, is there an addnode IP address I could use? Thanks

Here is some free bbp for anyone who wants it :


16:51:54

dumpprivkey ygWv5C6vncjW9xZUC7cGkrFysswG1raMFA


16:51:54

cUWA5YrRZteBEo1hnqWv3xquyDY4V9zyJTeSqHtFeiCmjJsTxVoT


To claim it, import the privkey with "importprivkey key".



  • togoshigekata
  • Hero Member

    • 527


    • 31
    • September 01, 2017, 10:21:10 AM
    • USA
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #8 on: November 05, 2019, 05:22:25 PM »
I still seem to have troubles getting connections

My Test server IP address is:  155.138.220.139

My biblepay.conf file is:

Code: [Select]
testnet=1
addnode=testnet.biblepay.org
addnode=testnet1.biblepay.org
addnode=107.173.41.176:44610
addnode=107.173.41.176:39999
addnode=107.173.41.178:55584

Ive just been using daemon, havent setup/run the gui yet

getinfo shows my version as: 1040502

I have done -erasechain a couple times,
Ive even gone in a manually deleted almost everything in the /testnet3 folder

Maybe I just need to use a precompiled version?
I am now noticing that you have 1.4.6.7 in the posts,
whoops! on my end, Im on 1.4.5.2 from source
Ill use one of the precompiles and report back




  • togoshigekata
  • Hero Member

    • 527


    • 31
    • September 01, 2017, 10:21:10 AM
    • USA
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #9 on: November 05, 2019, 05:29:16 PM »
I was able to download these two files using "wget URL" command:

Linux PC 64bits Daemon: https://biblepay.org/biblepayd-evo--testnet-x86_64-pc-linux-gnu.tar.gz
Linux 64 bits QT: https://biblepay.org/biblepay-qt-evo-testnet-i686-pc-linux-gnu.tar.gz

But I had to remove the extra dash in evo--testnet for the daemon version

I was able to unzip with "tar xzvf FILE" command
I see biblepayd, biblepay-cli and biblepay-tx
Im running ./biblepayd with erasechain
and I ran getinfo and I see error message "Loading PODC Researchers..."

Now I have 3 connections and Im shooting up fast on blocks! Yay!


  • togoshigekata
  • Hero Member

    • 527


    • 31
    • September 01, 2017, 10:21:10 AM
    • USA
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #10 on: November 05, 2019, 05:32:58 PM »
I match this blockhash

getblockhash 14005       266323d2e7daa74d570577a667ad8ed536c622c1f0b286d39605a964eb5dce9a

and Im currently at:

./biblepay-cli getblockhash 14318
c88816f2f6836fc5a15b56764cb5c90e60437c5db13ca89537a8b052394d2afb

===

I was able to import the privkey!

./biblepay-cli importprivkey cUWA5YrRZteBEo1hnqWv3xquyDY4V9zyJTeSqHtFeiCmjJsTxVoT

and I now have 4,000,000 tBBP, Thanks!


  • togoshigekata
  • Hero Member

    • 527


    • 31
    • September 01, 2017, 10:21:10 AM
    • USA
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #11 on: November 05, 2019, 05:39:06 PM »
I assume since the privkey is public, anyone else could also claim those test coins,
Im trying to send them to a new address, but its saying "Signing transaction failed",
Maybe I have to wait a few confirmations?


  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #12 on: November 05, 2019, 07:50:16 PM »
I still seem to have troubles getting connections

My Test server IP address is:  155.138.220.139

My biblepay.conf file is:

Code: [Select]
testnet=1
addnode=testnet.biblepay.org
addnode=testnet1.biblepay.org
addnode=107.173.41.176:44610
addnode=107.173.41.176:39999
addnode=107.173.41.178:55584

Ive just been using daemon, havent setup/run the gui yet

getinfo shows my version as: 1040502

I have done -erasechain a couple times,
Ive even gone in a manually deleted almost everything in the /testnet3 folder

Maybe I just need to use a precompiled version?
I am now noticing that you have 1.4.6.7 in the posts,
whoops! on my end, Im on 1.4.5.2 from source
Ill use one of the precompiles and report back

Just to clarify this, especially for anyone trying to comprehend this, Note that any version within 1.4.5.0 - 1.4.5.9 is within the Prod (mainnet) branch - and we call this the 0.13 branch (it matches Dash's .13 branch).  This is the branch with hybrid sancs.  Note that that branch will not work in testnet at all; this is because in testnet - the .14 branch is 100% deterministic.

So for testnet, we must have the users run on 1.4.6.7 and up for these to sync.

Thats awesome you got the 1.4.6.7 up - and synced and match the hash.
I do recommend the GUI QT version for testing; as you can see a lot of these test cases are rather complicated.  They can probably be done within the daemon however.

So I do have a question though, we had a bug in 1.4.6.6 with the transaction signing.  MIP had reported that he deployed 1.4.6.7 where the fix is.  Could you please double check the reported version of your client?



  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #13 on: November 05, 2019, 07:52:19 PM »
I assume since the privkey is public, anyone else could also claim those test coins,
Im trying to send them to a new address, but its saying "Signing transaction failed",
Maybe I have to wait a few confirmations?

Yes anyone can claim them til they are gone, or you can keep them and share them, either way.   If you only spend half then other people could take some but otoh it might be better if you are more available to resend them, either way works.



  • Rob Andrews
  • Administrator

    • 4090


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: TestNet - PODC 2.0 (Proof of Distributed Computing)
« Reply #14 on: November 05, 2019, 07:53:37 PM »
I was able to download these two files using "wget URL" command:

Linux PC 64bits Daemon: https://biblepay.org/biblepayd-evo--testnet-x86_64-pc-linux-gnu.tar.gz
Linux 64 bits QT: https://biblepay.org/biblepay-qt-evo-testnet-i686-pc-linux-gnu.tar.gz

But I had to remove the extra dash in evo--testnet for the daemon version

I was able to unzip with "tar xzvf FILE" command
I see biblepayd, biblepay-cli and biblepay-tx
Im running ./biblepayd with erasechain
and I ran getinfo and I see error message "Loading PODC Researchers..."

Now I have 3 connections and Im shooting up fast on blocks! Yay!

The "Loading PODC..." is the UI status message of where the daemon currently is in the load process.  Same as "Memorizing Prayers...".