Bible Pay

Read 53921 times

  • T-Mike
  • Administrator

    • 398


    • 2
    • February 06, 2018, 06:12:58 pm
    more
Before I break this, anyone who is having this issue, Id like to ask one test first.

Could you please go to the console and type 'exec dcc'
Then wait about 15 seconds and see what is in :
~/.biblepaycore/SAN

Please post the ls -l from that directory?

Also, please tell me if you are a sanc and if your 'masternode status' is enabled?  This procedure is only supposed to run on the "chosen sancs".  Those are the ones with a rank less than 10:1.

list -l
total 0

Mine says enabled.


  • T-Mike
  • Administrator

    • 398


    • 2
    • February 06, 2018, 06:12:58 pm
    more
By the way, I installed the new Windows wallet but I'm getting a smartscreen error saying the file is potentially dangerous.


  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Thanks for the Hot Sanctuary guide Togo - so just to confirm - the Hot sanctuary is all you need in testnet.  We dont need to deal with starting and stopping those from the controller wallet or protecting the funds.

(Its a funny analogy that I envision the Controller wallet to be the only one running the POW-pobh algo in the next revision, but that is for prod.  The controller wallet would be your wallet to send/receive funds, run POBH on one thread, and start-stop sancs).

Alex asked a question yesterday about the rewards.
In Testnet, the Heat miners (if you solve a block with POBh) only receive about 550 BBP.  The Sanc reward is about 5500 BBP. 
The DC Reward is 1.2 MILLION per day divided by the researchers Share (This is equal to TotalDailyEmission minus 20% standard budget minus sanctuary rewards minus heat rewards).   All figures above assume that our normal 20% budget has been held back from every block (for the monthly budget).





  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
By the way, I installed the new Windows wallet but I'm getting a smartscreen error saying the file is potentially dangerous.

Its possible that it massively changed enough for google to remove it from the safe cache list.  (I remember we needed 500 downloads originally to get in the list).

Its also possible the new image files triggered it - but they are only pngs. 

Whats interesting is all the new code has nothing to do with mining, so thats kind of strange, because proof-of-dc is all business logic.

All I can say is I just installed it and Im running it - and to possibly scan it, on a 3rd party site first, and let me know how the result is?

My build environment is *very* secure.  Nothing comes into it but the existing opensource builds, and no dependencies have changed.



  • T-Mike
  • Administrator

    • 398


    • 2
    • February 06, 2018, 06:12:58 pm
    more
Its possible that it massively changed enough for google to remove it from the safe cache list.  (I remember we needed 500 downloads originally to get in the list).

Its also possible the new image files triggered it - but they are only pngs. 

Whats interesting is all the new code has nothing to do with mining, so thats kind of strange, because proof-of-dc is all business logic.

All I can say is I just installed it and Im running it - and to possibly scan it, on a 3rd party site first, and let me know how the result is?

My build environment is *very* secure.  Nothing comes into it but the existing opensource builds, and no dependencies have changed.

The cache may be what is causing it, I'm not too worried, just letting you know.


  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
list -l
total 0

Mine says enabled.

Thanks!  When you did the 'exec dcc' did it say 1?  Also could you please try again while tailing the log and see if there is a bug in there (an error)?

Thanks!



  • T-Mike
  • Administrator

    • 398


    • 2
    • February 06, 2018, 06:12:58 pm
    more
Can I monitor the hot Sanctuary from my windows wallet? Do I just need to fill in biblepay.conf or masternode.conf or both? Thanks.


  • T-Mike
  • Administrator

    • 398


    • 2
    • February 06, 2018, 06:12:58 pm
    more
Thanks!  When you did the 'exec dcc' did it say 1?  Also could you please try again while tailing the log and see if there is a bug in there (an error)?

Thanks!

Yes, it said 1.

Do you meen the debug.log?

2018-02-07 19:41:41 Biblepay Core version 1.0.8.8 (2018-02-07 07:42:02 -0600)
2018-02-07 19:41:41 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2018-02-07 19:41:41 ***************************************** BIBLEPAY  ***************************************************
2018-02-07 19:41:41 ProdMode: Prod 0.000000Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2018-02-07 19:41:41 BiblePayVersion 1.0.8.8 (2018-02-07 07:42:02 -0600)
2018-02-07 19:41:41 Using OpenSSL version OpenSSL 1.0.2g  1 Mar 2016
2018-02-07 19:41:41 Default data directory /home/biblepay/.biblepaycore
2018-02-07 19:41:41 Using data directory /home/biblepay/.biblepaycore/testnet3
2018-02-07 19:41:41 Using config file /home/biblepay/.biblepaycore/biblepay.conf
2018-02-07 19:41:41 Using at most 125 connections (1024 file descriptors available)
2018-02-07 19:41:41 Using 0 threads for script verification
2018-02-07 19:41:41 scheduler thread start
2018-02-07 19:41:41 HTTP: creating work queue of depth 16
2018-02-07 19:41:41 No rpcpassword set - using random cookie authentication
2018-02-07 19:41:41 Generated RPC authentication cookie /home/biblepay/.biblepaycore/testnet3/.cookie
2018-02-07 19:41:41 HTTP: starting 4 worker threads
2018-02-07 19:41:41 Creating backup folder /home/biblepay/.biblepaycore/testnet3/backups
2018-02-07 19:41:41 Using wallet wallet.dat


  • T-Mike
  • Administrator

    • 398


    • 2
    • February 06, 2018, 06:12:58 pm
    more
The error stopped by the way, haven't seen one today although there is still no file in SAN.


  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Can I monitor the hot Sanctuary from my windows wallet? Do I just need to fill in biblepay.conf or masternode.conf or both? Thanks.
On the hot sanc, all you really have to do is send the collateral to yourself (the 500,000 even), then add:
masternode=1
masternodeprivkey=yyyyy

In the biblepay.conf, and leave the masternode.conf alone.  (On the testnet sanctuary itself).

You could monitor it in windows, but since testnet is so small I would just click on Sanctuaries on the windows wallet and look by IP.

I dont know if the hot sanc vout will be possible to add to your Win pc, but if you wanted to try : you would copy the 'masternode output' (from the sanctuary itself) TXID & VOUT n to your notepad, then construct the masternode.conf file on the windows PC to include it.  Probably not worth it as it might hose your prod file, etc.  I would just look for the sanc in the list.



  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
The error stopped by the way, haven't seen one today although there is still no file in SAN.

Hmm, trying to reproduce now by killing my setup...


  • T-Mike
  • Administrator

    • 398


    • 2
    • February 06, 2018, 06:12:58 pm
    more
On the hot sanc, all you really have to do is send the collateral to yourself (the 500,000 even), then add:
masternode=1
masternodeprivkey=yyyyy

In the biblepay.conf, and leave the masternode.conf alone.  (On the testnet sanctuary itself).

You could monitor it in windows, but since testnet is so small I would just click on Sanctuaries on the windows wallet and look by IP.

I dont know if the hot sanc vout will be possible to add to your Win pc, but if you wanted to try : you would copy the 'masternode output' (from the sanctuary itself) TXID & VOUT n to your notepad, then construct the masternode.conf file on the windows PC to include it.  Probably not worth it as it might hose your prod file, etc.  I would just look for the sanc in the list.

Alright, I'm not going to try it. I literally spend all day setting up the testnet masternode yesterday. How many masternodes do we need? I can potentially host 10 of them by cloning but I don't want to do that until it's needed.


  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Hmm, trying to reproduce now by killing my setup...

Aha!  Ok the st13 last_writetime_error is fixed for the next testnet version later today.

In the mean time, anyone who has either run into the problem , or never experienced the problem type:
exec dcc

You should see "1".
This fixes the problem temporarily until the next release.




  • T-Mike
  • Administrator

    • 398


    • 2
    • February 06, 2018, 06:12:58 pm
    more
Aha!  Ok the st13 last_writetime_error is fixed for the next testnet version later today.

In the mean time, anyone who has either run into the problem , or never experienced the problem type:
exec dcc

You should see "1".
This fixes the problem temporarily until the next release.

Great! Thanks.


  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Alright, I'm not going to try it. I literally spend all day setting up the testnet masternode yesterday. How many masternodes do we need? I can potentially host 10 of them by cloning but I don't want to do that until it's needed.

LOL, yeah the first couple I set up were tricky now for some reason they seem easy. 
Uhh, I would just be happy if you did a couple, because I think we only need 10 total sancs in testnet to prove the quorum side features are all working correctly, lets talk about that soon.
But in the mean time, I would definitely like to get 50 boinc cpids out here, because not only do I want to get a feel and give everyone a taste of what we would be doing, but also to test the superblock frequency and verify the payments per mangitude and all the security.

I have 2 running, so if you did 2 + Togos, we would be halfway there.

Ill start getting the commands to show what rules the sancs go through in the morning.