Bible Pay

Read 46910 times

  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #180 on: May 13, 2021, 09:35:58 AM »
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)

Hi Pat,

1) Is this biblepay-qt file, is this one you built or is it unzipped from the zip file from the web site?
2) Could you please share the specs of the machine, IE what RAM it has and what processor?
The reason I ask is RandomX is a little demanding; I believe the minimum level of machine is something like a 4gb machine with 40 gig drive to run a full node, roughly.
3) You can also check to see if anything is written in the debug.log, located here:
~/.biblepay
Anything written to debug.log?


Thanks!


PS :  Guys, please be patient for a little while longer in testnet, although I'm very zealous for getting this tested so we can have NFTs on time in our July 1 release,
 some things have started to happen behind the scenes that are pullling in some extra time.  One, Im working with Todd to explain about the NFTs, and since he has a mac, we have a couple side projects that are necessary to finish now for prod, to quickly get the Prod Mac Release ready early (we have to fix the RandomX issue in the mac code, and also the gatekeeper signing and see about cross compiling etc, so please be patient).  I'm working on getting Todd up and running as soon as possible so we can all continue testing NFTs together.






  • earlzmoade
  • Super Developer

    • 311


    • 48
    • August 02, 2018, 03:22:01 AM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #181 on: May 13, 2021, 10:13:41 AM »
Figure i do the referral code test scenario.

Quote
- Attach a portfolio code to your portfolio.  This lets you earn up to 10% more per year if you are able to find 10* the amount of portfolio code "size" than your own portfolio.  For example if you have a 1MM portfolio, and you attach 10MM of codes, you should earn 10% (in a diminishing rate at the decay factor per day).
I will attach a code for you guys now from my testnet portfolio which has 130MM bbp in it:
2a21d83da8a12a078790e763c383dadbb42785916ae5356cdba1f648c73340b4

To attach it do this:
attachreferralcode code

Then after a couple blocks type:
listattachedreferralcodes

And look in the leaderboard, double click on your name and verify the code has a "Referral Rewards" modifier.  This is the factor that your DWU is modified by (in boost).  For example if you have a 50% DWU, and a 1.10 modifier, you will end up with .50*1.1 = .55%  DWU for example.
Note that you also receive a two-way reward when Others attach *your* code.  So please also do a 'generatereferralcode' and paste one of yours here and I will attach yours to my portfolio.


Note that in order to do these tests, you should have a nickname set up in "Edit user record" - be sure your nickname is populated and the record is saved in the chain.

It looks like it went just fine, i attached your referral code Rob.

Code: [Select]
16:29:17
attachreferralcode 2a21d83da8a12a078790e763c383dadbb42785916ae5356cdba1f648c73340b4


16:29:18
{
  "Attached": "7ee3c10d4323303036693a715ff2cdf20346b12b989ac10c1adc149379e17a2a"
}


17:05:24
listattachedreferralcodes


17:05:24
{
  "Details": {
    "2A21D83DA8A12A078790E763C383DADBB42785916AE5356CDBA1F648C73340B4-Claimed-Originator yLbyhFoEurwToxcTrthXoX6Ln7ieMY3sM5-Consumer YHFQES1X7KY4NSXNLGIEZTE3YTCBL3YWRX": 148993648.75,
    "Referral BBP Claimed": 148993648.75,
    "Referral BBP Earned": 0,
    "Total BBP in Portfolio affected": 777777,
    "Portfolio % affected by rewards": 100,
    "Referral Code Effectivity %": 9.847999999999999,
    "Total Portfolio DWU Impact %": 109.848
  },
  "Portfolio Rewards Modifier": 1.09848
}

Here is my referral code:
Code: [Select]
27bc5c80b4cbf728fec8a53a5a0745b39abb0465a83c90a23a288513e89b9789
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 #182 on: May 13, 2021, 11:33:44 AM »
Hi Rob and Earlz,

I downloaded the bbp-lin-develop-64.zip file from the forum and unzipped into the biblepay directory.

Here is the memory on the machine I am using, looks like I have enough ram and disk space available....

pat@pat:~/Desktop$ free -m
              total        used        free      shared  buff/cache   available
Mem:           7798        1791        1183         350        4823        5358
Swap:          2047           7        2040

pat@pat:~/Desktop$ df -t ext4
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sda5      959862832 13670048 897364624   2% /

pat@pat:~/Desktop$ grep MemTotal /proc/meminfo
MemTotal:        7985572 kB


  • Pat Buckley
  • Developer

    • 84


    • 18
    • February 22, 2021, 02:15:12 PM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #183 on: May 13, 2021, 11:55:45 AM »
Hi Pat,

1) Is this biblepay-qt file, is this one you built or is it unzipped from the zip file from the web site?
2) Could you please share the specs of the machine, IE what RAM it has and what processor?
The reason I ask is RandomX is a little demanding; I believe the minimum level of machine is something like a 4gb machine with 40 gig drive to run a full node, roughly.
3) You can also check to see if anything is written in the debug.log, located here:
~/.biblepay
Anything written to debug.log?

model name   : Intel(R) Core(TM)2 Duo CPU     E8600  @ 3.33GHz

From Log file....

May 11 15:04:13 kernel: traps: biblepay-qt[50989] trap invalid opcode ip:560a0d38e3a0 sp:7ffd3c3d5ff0 error:0 in biblepay-qt[560a0d1f0000+4497000]
May 11 14:51:43 kernel: audit: type=1400 audit(1620769903.755:201): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/pat/BiblePay/Testnet/biblepaytest.conf" pid=50331 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
May 11 14:51:43 kernel: kauditd_printk_skb: 3 callbacks suppressed
May 11 14:51:33 kernel: audit: type=1400 audit(1620769893.371:190): apparmor="ALLOWED" operation="file_lock" profile="libreoffice-soffice" name="/home/pat/BiblePay/Testnet/biblepaytest.conf" pid=50331 comm="soffice.bin" requested_mask="wk" denied_mask="wk" fsuid=1000 ouid=1000
May 11 13:17:57 kernel: traps: biblepay-qt[49035] trap invalid opcode ip:558f3c14e3a0 sp:7fffd926dab0 error:0 in biblepay-qt[558f3bfb0000+4497000]
May 11 13:16:14 kernel: audit: type=1400 audit(1620764174.459:164): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/pat/BiblePay/biblepaytest.conf" pid=48833 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
May 11 13:16:14 kernel: kauditd_printk_skb: 3 callbacks suppressed
May 11 13:16:08 kernel: audit: type=1400 audit(1620764168.975:153): apparmor="ALLOWED" operation="file_lock" profile="libreoffice-soffice" name="/home/pat/BiblePay/biblepaytest.conf" pid=48833 comm="soffice.bin" requested_mask="wk" denied_mask="wk" fsuid=1000 ouid=1000
May 11 13:10:43 kernel: traps: biblepay-qt[48689] trap invalid opcode ip:55acad7f63a0 sp:7fffe3eea3b0 error:0 in biblepay-qt[55acad658000+4497000]




  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #184 on: May 13, 2021, 03:00:22 PM »
Hi Pat,

1) Is this biblepay-qt file, is this one you built or is it unzipped from the zip file from the web site?
2) Could you please share the specs of the machine, IE what RAM it has and what processor?
The reason I ask is RandomX is a little demanding; I believe the minimum level of machine is something like a 4gb machine with 40 gig drive to run a full node, roughly.
3) You can also check to see if anything is written in the debug.log, located here:
~/.biblepay
Anything written to debug.log?

model name   : Intel(R) Core(TM)2 Duo CPU     E8600  @ 3.33GHz

From Log file....

May 11 15:04:13 kernel: traps: biblepay-qt[50989] trap invalid opcode ip:560a0d38e3a0 sp:7ffd3c3d5ff0 error:0 in biblepay-qt[560a0d1f0000+4497000]
May 11 14:51:43 kernel: audit: type=1400 audit(1620769903.755:201): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/pat/BiblePay/Testnet/biblepaytest.conf" pid=50331 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
May 11 14:51:43 kernel: kauditd_printk_skb: 3 callbacks suppressed
May 11 14:51:33 kernel: audit: type=1400 audit(1620769893.371:190): apparmor="ALLOWED" operation="file_lock" profile="libreoffice-soffice" name="/home/pat/BiblePay/Testnet/biblepaytest.conf" pid=50331 comm="soffice.bin" requested_mask="wk" denied_mask="wk" fsuid=1000 ouid=1000
May 11 13:17:57 kernel: traps: biblepay-qt[49035] trap invalid opcode ip:558f3c14e3a0 sp:7fffd926dab0 error:0 in biblepay-qt[558f3bfb0000+4497000]
May 11 13:16:14 kernel: audit: type=1400 audit(1620764174.459:164): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/pat/BiblePay/biblepaytest.conf" pid=48833 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
May 11 13:16:14 kernel: kauditd_printk_skb: 3 callbacks suppressed
May 11 13:16:08 kernel: audit: type=1400 audit(1620764168.975:153): apparmor="ALLOWED" operation="file_lock" profile="libreoffice-soffice" name="/home/pat/BiblePay/biblepaytest.conf" pid=48833 comm="soffice.bin" requested_mask="wk" denied_mask="wk" fsuid=1000 ouid=1000
May 11 13:10:43 kernel: traps: biblepay-qt[48689] trap invalid opcode ip:55acad7f63a0 sp:7fffe3eea3b0 error:0 in biblepay-qt[55acad658000+4497000]

Hi Pat!

Im starting the think the devil got into your machine cause I havent seen so many crashes in a long long time even when we had more users, lol but anyway if you could bear with us it would be beneficial to the community if we can somehow get to the root of the problem in case others have this same machine or spec.

So illegal instruction core dump from what I can tell alludes to the processor not being able to execute a machine language call (IE like asm calls) and that seems suspiciously similar to what we have happening on the mac from randomx.

Im afraid the only way to debug this is to run it from source cause the log is not revealing.

Btw, your ram being about 8gb and having that size hard drive should be fine.  I see your e8600 processor is 64 bit, so that means theoretically randomx runs on that machine.

So since you have command prompt and root access could you please try to build BBP from the source and then after you run it if it still crashes I will explain how to get the stack trace etc.

Thanks?

PS One more thing!  Could you also paste your actual linux version and bitness, try "uname -a"  and "lsb_release -a".  I just want to see if either the kernal or bitness or ubuntu version is incompatible with our binary that we build.


« Last Edit: May 13, 2021, 03:02:24 PM by Rob Andrews »


  • Pat Buckley
  • Developer

    • 84


    • 18
    • February 22, 2021, 02:15:12 PM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #185 on: May 13, 2021, 04:31:53 PM »
Error message from log...

14:27:32 kernel: traps: biblepay-qt[3874] trap invalid opcode ip:56244cd533a0 sp:7ffd904b4980 error:0 in biblepay-qt[56244cbb5000+4497000]
14:27:32 kernel: traps: biblepay-qt[3874] trap invalid opcode ip:56244cd533a0 sp:7ffd904b4980 error:0 in biblepay-qt[56244cbb5000+4497000]
14:27:09 kernel: traps: biblepay-qt[3837] trap invalid opcode ip:557d738b23a0 sp:7fff40971f80 error:0 in biblepay-qt[557d73714000+4497000]
13:58:47 kernel: perf: interrupt took too long (2501 > 2500), lowering kernel.perf_event_max_sample_rate to 79750
13:19:49 kernel: traps: biblepay-qt[2205] trap invalid opcode ip:5589ccd593a0 sp:7ffcf4575ee0 error:0 in biblepay-qt[5589ccbbb000+4497000]
13:19:49 kernel: process 'pat/BiblePay/Testnet/biblepay-qt' started with executable stack


  • Pat Buckley
  • Developer

    • 84


    • 18
    • February 22, 2021, 02:15:12 PM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #186 on: May 13, 2021, 06:14:21 PM »
Will try and run it from source, from the github instructions...

Here is the info you wanted to take a look at:

Linux pat 5.8.0-53-generic #60~20.04.1-Ubuntu SMP Thu May 6 09:52:46 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

at@pat:~/Desktop$ lsb_release -a
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 20.04.2 LTS
Release:   20.04
Codename:   focal


  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #187 on: May 13, 2021, 07:22:09 PM »
Will try and run it from source, from the github instructions...

Here is the info you wanted to take a look at:

Linux pat 5.8.0-53-generic #60~20.04.1-Ubuntu SMP Thu May 6 09:52:46 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

at@pat:~/Desktop$ lsb_release -a
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 20.04.2 LTS
Release:   20.04
Codename:   focal

Yeah the above log just really tells us the same thing - that the processor cant "step into" a machine language instruction that is not in its set, etc.
But anyway we are getting warmer.. I think your OS is too new.  The good news is, you have 64 bit, that is compatible, ubuntu, that is compatible, but honestly I dont think anyone has 'jumped up' to ubuntu 20.04 yet.  We old computer guys are kind of apprehensive to go past ubuntu 18 (some of us here have ubuntu 17, 16 etc).

So this might be a good exercise first of all to see if it even compiles.  You might get through it, then the binary will run if it compiles.

Basically what this means is, if it compiles we would need to add Ubuntu 20 builds to our web site and offer a different download.

Btw, you dont need to do the swap space step in the instructions since you have a lot of ram available.

Just do the plain vanilla ubuntu steps.

One more thing, once you install the precompiled dependencies (the sudo apt-get install steps), you can try our binary again real quick if you want just to see if the machine needed a shared library to run.

If it still crashes then we have to continue to self-compile it.

Thanks.



  • Pat Buckley
  • Developer

    • 84


    • 18
    • February 22, 2021, 02:15:12 PM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #188 on: May 14, 2021, 11:34:19 AM »
Hi Rob,

I got to to the end and then, as below...

pat@pat:~/BiblePay/Testnet/biblepay$ cd depends
pat@pat:~/BiblePay/Testnet/biblepay/depends$ ./autogen.sh
bash: ./autogen.sh: No such file or directory

pat@pat:~/BiblePay/Testnet/biblepay/depends$ cd ..

pat@pat:~/BiblePay/Testnet/biblepay$ dir
autogen.sh      CMakeLists.txt   doc            Makefile.am
biblepay-docs      configure.ac     docker         qa
build-aux      contrib       INSTALL.md         README.md
BuildBiblePay.txt  CONTRIBUTING.md  Jenkinsfile         share
changelog.md      COPYING       Jenkinsfile.gitian      src
ci         depends       libbiblepayconsensus.pc.in

pat@pat:~/BiblePay/Testnet/biblepay$ ./autogen.sh
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

pat@pat:~/BiblePay/Testnet/biblepay$ ./configure --prefix `pwd`/depends/x86_64-pc-linux-gnu
bash: ./configure: No such file or directory
pat@pat:~/BiblePay/Testnet/biblepay$ cd depends
pat@pat:~/BiblePay/Testnet/biblepay/depends$ ./configure --prefix `pwd`/depends/x86_64-pc-linux-gnu


make[1]: *** [Makefile:130: all] Error 2
make[1]: Leaving directory '/home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/build'
make: *** [funcs.mk:246: /home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/./.stamp_built] Error 2
pat@pat:~/BiblePay/Testnet/biblepay/depends$ cd ..
pat@pat:~/BiblePay/Testnet/biblepay$ ./autogen.sh
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
pat@pat:~/BiblePay/Testnet/biblepay$ dir
autogen.sh      CMakeLists.txt   doc            Makefile.am
biblepay-docs      configure.ac     docker         qa
build-aux      contrib       INSTALL.md         README.md
BuildBiblePay.txt  CONTRIBUTING.md  Jenkinsfile         share
changelog.md      COPYING       Jenkinsfile.gitian      src
ci         depends       libbiblepayconsensus.pc.in




  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #189 on: May 14, 2021, 01:49:41 PM »
Hi Rob,

I got to to the end and then, as below...

pat@pat:~/BiblePay/Testnet/biblepay$ cd depends
pat@pat:~/BiblePay/Testnet/biblepay/depends$ ./autogen.sh
bash: ./autogen.sh: No such file or directory

pat@pat:~/BiblePay/Testnet/biblepay/depends$ cd ..

pat@pat:~/BiblePay/Testnet/biblepay$ dir
autogen.sh      CMakeLists.txt   doc            Makefile.am
biblepay-docs      configure.ac     docker         qa
build-aux      contrib       INSTALL.md         README.md
BuildBiblePay.txt  CONTRIBUTING.md  Jenkinsfile         share
changelog.md      COPYING       Jenkinsfile.gitian      src
ci         depends       libbiblepayconsensus.pc.in

pat@pat:~/BiblePay/Testnet/biblepay$ ./autogen.sh
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

pat@pat:~/BiblePay/Testnet/biblepay$ ./configure --prefix `pwd`/depends/x86_64-pc-linux-gnu
bash: ./configure: No such file or directory
pat@pat:~/BiblePay/Testnet/biblepay$ cd depends
pat@pat:~/BiblePay/Testnet/biblepay/depends$ ./configure --prefix `pwd`/depends/x86_64-pc-linux-gnu


make[1]: *** [Makefile:130: all] Error 2
make[1]: Leaving directory '/home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/build'
make: *** [funcs.mk:246: /home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/./.stamp_built] Error 2
pat@pat:~/BiblePay/Testnet/biblepay/depends$ cd ..
pat@pat:~/BiblePay/Testnet/biblepay$ ./autogen.sh
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
pat@pat:~/BiblePay/Testnet/biblepay$ dir
autogen.sh      CMakeLists.txt   doc            Makefile.am
biblepay-docs      configure.ac     docker         qa
build-aux      contrib       INSTALL.md         README.md
BuildBiblePay.txt  CONTRIBUTING.md  Jenkinsfile         share
changelog.md      COPYING       Jenkinsfile.gitian      src
ci         depends       libbiblepayconsensus.pc.in

Hi Pat,

So on the above commands, the main problem up there is your running the configure command from the wrong directory (not sure if its our documentation or your starting point) but nevertheless lets just get you on track and get past that.  First the ./configure command always has to be run from "~/BiblePay/Testnet/biblepay" (and not from depends).  The "make" command for depends should just be (make -j4) for example, from "/depends" - just to give you an example but Ill give you a more detailed example below.

Lets take it in baby steps, cause we need to ensure depends builds first, once this is done we can move on.

First, ensure that you definitely executed all the "apt-get install" commands-- those all need installed first.

Next try this:

cd ~/BiblePay/Testnet/biblepay
cd depends
At this point you should definitely be in the depends directory.
make -j 4

Let me know if it builds all the stuff, the qt, the boost etc.    Then we can move on to try to compile the wallet.

Point 2: This is completely a separate point.  If you already installed all the "apt-get install" commands, can you please try the binary again and see if its still an illegal instruction crash?  Im just wondering because we need to know that it was not a static dependency.

Point 3:  I took a look at the dash web site, and they are able to simply build 3 builds:  MAC, Linux x86_64, and Windows.  Yes they have 32 bit versions, but that is a separate issue.  My point is, their x86_64 build for linux works on Ubuntu 20, so theoretically that means we should not be crashing on ubuntu 20 either, we should run on every ubuntu 64 bit machine.  But we still need to build yours from source to reveal the exact line of the crash.  Once we know that then we will know if its randomx or not...

Thanks!



  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #190 on: May 14, 2021, 01:52:08 PM »
Alright guys, looks like we finally got past that MAC build issue, praise God.
Now any mac testers who were waiting, can download MAC from the OP post and it should launch in testnet automatically.
Note that you may have to Ctrl-Click to open it because its signed but not notarized.

Now I can invite Todd from Cameroon back in, since he has a mac and we can work forward with NFTs again!
I will of course take a look at where we were with the attach referral codes.

On a side note everyone, could everyone please upgrade when you see the next post?  The referral codes have a new feature.


  • Pat Buckley
  • Developer

    • 84


    • 18
    • February 22, 2021, 02:15:12 PM
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #191 on: May 14, 2021, 02:33:55 PM »

The make -j 4 runs...

make -j 4
Building chia_bls...
make[1]: Entering directory '/home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/build'
make[2]: Entering directory '/home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/build'

./biblepat-qt still gets errors...

pat@pat:~/BiblePay/Testnet$ ./biblepay-qt
Illegal instruction (core dumped)
pat@pat:~/BiblePay/Testnet$ dir
biblepay  biblepay-cli   biblepayd  biblepay-qt   biblepaytest.conf

The ./autogen.sh still has errors...

pat@pat:~/BiblePay/Testnet/biblepay$ dir
autogen.sh      CMakeLists.txt   doc            Makefile.am
biblepay-docs      configure.ac     docker         qa
build-aux      contrib       INSTALL.md         README.md
BuildBiblePay.txt  CONTRIBUTING.md  Jenkinsfile         share
changelog.md      COPYING       Jenkinsfile.gitian      src
ci         depends       libbiblepayconsensus.pc.in
pat@pat:~/BiblePay/Testnet/biblepay$ ./autogen.sh
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
pat@pat:~/BiblePay/Testnet/biblepay$



  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #192 on: May 14, 2021, 02:51:47 PM »
BiblePay TestNet
1.6.1.7-Leisure Upgrade

- Add build icon for mac
- Disable smtp and pop3 by default to prevent mac-testnet from crashing


Ok guys, this release 1.6.1.7 should be visible on all the platforms.
Could we please try 'listattachedreferralcodes' again and see if the codes you attached makes sense 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 #193 on: May 14, 2021, 02:59:34 PM »
The make -j 4 runs...

make -j 4
Building chia_bls...
make[1]: Entering directory '/home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/build'
make[2]: Entering directory '/home/pat/BiblePay/Testnet/biblepay/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-3e240302dea/build'

./biblepat-qt still gets errors...

pat@pat:~/BiblePay/Testnet$ ./biblepay-qt
Illegal instruction (core dumped)
pat@pat:~/BiblePay/Testnet$ dir
biblepay  biblepay-cli   biblepayd  biblepay-qt   biblepaytest.conf

The ./autogen.sh still has errors...

pat@pat:~/BiblePay/Testnet/biblepay$ dir
autogen.sh      CMakeLists.txt   doc            Makefile.am
biblepay-docs      configure.ac     docker         qa
build-aux      contrib       INSTALL.md         README.md
BuildBiblePay.txt  CONTRIBUTING.md  Jenkinsfile         share
changelog.md      COPYING       Jenkinsfile.gitian      src
ci         depends       libbiblepayconsensus.pc.in
pat@pat:~/BiblePay/Testnet/biblepay$ ./autogen.sh
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
pat@pat:~/BiblePay/Testnet/biblepay$

I was looking at the autom4te error codes, and apparently the error you are getting happens if you dont have persmissions to write temp files to the autobuilds cache.  This could probably happen if you git cloned the directory as root and then downgraded to pat for example.  Another words your build user does not have ownership of the directory doing the build.

You have two options, option 1 would be to start over as user pat, and make a new build directory start at the root of the drive for example :  "/biblepay/testnet" and do a new git clone and start over.  Or the other option is to "su root" and continue building this build as root and see if it finishes.   Note that it is very important to 'git pull origin develop' after you do the new git clone, otherwise you will be building "prod" code instead of develop.





  • Rob Andrews
  • Administrator

    • 4097


    • 97
    • June 05, 2017, 08:09:04 PM
    • Patmos, Island Of
    more
Re: June 2021 Release - Harvest - TestNet Thread
« Reply #194 on: May 14, 2021, 03:41:09 PM »
Figure i do the referral code test scenario.

It looks like it went just fine, i attached your referral code Rob.

Code: [Select]
16:29:17
attachreferralcode 2a21d83da8a12a078790e763c383dadbb42785916ae5356cdba1f648c73340b4
16:29:18
{
  "Attached": "7ee3c10d4323303036693a715ff2cdf20346b12b989ac10c1adc149379e17a2a"
}
17:05:24
listattachedreferralcodes
17:05:24
{
  "Details": {
    "2A21D83DA8A12A078790E763C383DADBB42785916AE5356CDBA1F648C73340B4-Claimed-Originator yLbyhFoEurwToxcTrthXoX6Ln7ieMY3sM5-Consumer YHFQES1X7KY4NSXNLGIEZTE3YTCBL3YWRX": 148993648.75,
    "Total BBP in Portfolio affected": 777777,
    "Portfolio % affected by rewards": 100,
    "Referral Code Effectivity %": 9.847999999999999,
    "Total Portfolio DWU Impact %": 109.848
  },
  "Portfolio Rewards Modifier": 1.09848
}

Here is my referral code:
Code: [Select]
27bc5c80b4cbf728fec8a53a5a0745b39abb0465a83c90a23a288513e89b9789

Hi Earlz,

I finally had a chance to move a little further on this.  Yes, looks like it worked for you, but do me a favor when you upgrade to the latest please do 'listattachedreferralcodes' and ensure you still have your referral code connected to my portfolio (Im yLB*) just to make sure the signing and memory works.

So moving on I will now attach Your referral code to me:
attachreferralcode 27bc5c80b4cbf728fec8a53a5a0745b39abb0465a83c90a23a288513e89b9789

See output of
Code: [Select]
listattachedreferralcodes
{
  "Details": {
    "169BEC0ACE62AEC7EB57A792F82BD1DC1D4CF6AF9E0E178C7460AB23E9C33D0B-Claimed-Originator ycKPchewtgyyHTNdEJiRwo64KJvUBtY3Xu-Consumer YLBYHFOEURWTOXCTRTHXOX6LN7IEMY3SM5": 260000,
    "27BC5C80B4CBF728FEC8A53A5A0745B39ABB0465A83C90A23A288513E89B9789-Claimed-Originator yhFqES1X7kY4nSxnLgieZTE3ytCBL3yWrx-Consumer YLBYHFOEURWTOXCTRTHXOX6LN7IEMY3SM5": 777777,
    "29C67442ED34B1998B4E765FF7E6CC2BA92A2131E689569ABC4F0A9444E61035-Claimed-Originator ygFhCV3ky1PpubKPmf7UAJAa5gcqvqJrW8-Consumer YLBYHFOEURWTOXCTRTHXOX6LN7IEMY3SM5": 1000000,
    "AF70930D112BD9E9573E22CDE96D7A23972F8BCA1E1284E209E76DF9895F8E34-Claimed-Originator ygBoaFdvzJD2PH3q8scccZ2vKPpufd2DXy-Consumer YLBYHFOEURWTOXCTRTHXOX6LN7IEMY3SM5": 1000000,
    "2A21D83DA8A12A078790E763C383DADBB42785916AE5356CDBA1F648C73340B4-Earned-Originator yLbyhFoEurwToxcTrthXoX6Ln7ieMY3sM5-Consumer YCKPCHEWTGYYHTNDEJIRWO64KJVUBTY3XU": 260000,
    "075221C1E32311E824039146A34325920C7530B49A3A51E69CC2269A9B936572-Earned-Originator yLbyhFoEurwToxcTrthXoX6Ln7ieMY3sM5-Consumer YGFHCV3KY1PPUBKPMF7UAJAA5GCQVQJRW8": 1000000,
    "2A21D83DA8A12A078790E763C383DADBB42785916AE5356CDBA1F648C73340B4-Earned-Originator yLbyhFoEurwToxcTrthXoX6Ln7ieMY3sM5-Consumer YHFQES1X7KY4NSXNLGIEZTE3YTCBL3YWRX": 777777,
    "Referral BBP Claimed": 3037777,
    "Referral BBP Earned": 2037777,
    "Total BBP in Portfolio affected": 5075554,
    "Portfolio % affected by rewards": 3.223465855206592,
    "Referral Code Effectivity %": 19.028,
    "Total Portfolio DWU Impact %": 100.6133610829287,
    "Summary": "You are earning 0.61% in referral rewards sourced from 3037777 claimed and 2037777 earned."
  },
  "Portfolio Rewards Modifier": 1.006133610829287
}



Looks like it worked, now I can see that I am earning .61% from being attached to you and you are earning 1.09% for being attached to me.
Btw, the latest wallet does only give credit for each distinct referral code once - so if someone tries to generate multiple codes, the wallet will only award one code per portfolio for each direction.  By direction, I mean earnings (codes attached) plus claimed (codes consumed).