Bible Pay

Read 6387 times

  • MIP
  • Developer

    • 147


    • 15
    • February 13, 2018, 11:55:52 am
    more
Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« Reply #150 on: September 23, 2018, 06:03:26 am »
Windows is deployed.

EDIT:  Ok, the two boinc diagnostics commands should work in windows now (1155c has been deployed).

MacOS testnet version also available.


  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« Reply #151 on: September 23, 2018, 08:04:41 am »
Jaap,

Thanks for testing.  The reason rosettadiagnostics requires the e-mail pass in the arguments is we use it to check if an account exists with rosetta or not first, and that lets us make the decision on replying with the right narrative if a Rosetta account needs to be created or not.

I was thinking the way this could be implemented from the GUI is we put two more buttons on the DC page (Rosetta Diagnostics, and Set-Up Rosetta), and we use the same info populated on the page (the user and pass) to call the function, and we show the result in a messagebox.

Then in this next baby step, we can change the directions for new users to be something like :  Install boinc, Click Set-Up Rosetta, Click Associate... etc.

On the nice UI pages etc, I was thinking we might be able to store more schema info in IPFS, and create a "Menu" object.  It might be possible for me to add menu items that point to business objects.  That would be an IPFS-driven menu system. Then the menu in the wallet is extended by what menu records exist; and we link for example "Gospel Link" to the Gospel Link List (from the Menu value for gospellink). 

Havent though about letter writing yet, but I thought of what might be a good one:  Our expenses and revenue being stored in IPFS.  If we make an object for expense and one for revenue, we could port whats in the pool accountability over to the wallet.  I think in order to do that, the permissions must be done first, otherwise hackers will deface the records (and that would  of course is not an option for the accountability records).  They have to be readable by all, but writable by the authorized signer.







  • klondike
  • Full Member

    • 175


    • -13
    • October 10, 2017, 09:00:24 am
    more
Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« Reply #152 on: September 25, 2018, 01:57:54 pm »
peer list = 0  :)


  • togoshigekata
  • Sr. Member

    • 383


    • 23
    • September 01, 2017, 10:21:10 am
    • USA
    more
Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« Reply #153 on: September 25, 2018, 02:02:52 pm »
Theres been at least 3 masternodes running, Ive been one of them I updated to v1.1.5.5 three days ago, Updating now to latest version 1.1.5.5d


  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« Reply #154 on: September 25, 2018, 02:08:25 pm »
Theres been at least 3 masternodes running, Ive been one of them I updated to v1.1.5.5 three days ago, Updating now to latest version 1.1.5.5d

Togo- have you successfully tested the Contact list and Gospellink list, and is it good?
In the next version, the 1155d, you guys can please test the Diagnostic and Add buttons on the DC page- these do the same things as we test from the command line - except appear in the message box.
Im thinking for a brand new newbie, they will be able to install boinc, click Add Rosetta, then click Associate Rosetta.

Let me circle back around and re-test our blacklist and our team percentage and our non-biblepay PODC amount.



  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« Reply #155 on: September 25, 2018, 02:11:33 pm »
peer list = 0  :)

addnode testnet.biblepay.org



  • klondike
  • Full Member

    • 175


    • -13
    • October 10, 2017, 09:00:24 am
    more
Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« Reply #156 on: September 25, 2018, 02:19:48 pm »
addnode=dns2.biblepay.org
addnode=testnet.biblepay.org
testnet=1
genproclimit=0


i have this


  • togoshigekata
  • Sr. Member

    • 383


    • 23
    • September 01, 2017, 10:21:10 am
    • USA
    more
Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« Reply #157 on: September 25, 2018, 02:59:00 pm »
Havent done any testing yet, but Ill jump on it,

Ive run into compile error twice now upgrading to v1.1.5.5d hmmm, I have 1.6GB RAM Free

rpcblockchain.cpp: In function 'std::__cxx11::string RetrieveDCCWithMaxAge(std::__cxx11::string, int64_t)':
rpcblockchain.ccp:4580:27: warning: unused variable 'consensusParams' [ XXXXXXXXXXXXX
g++: internal compiler error: Killed (program cc1plus)

Now my VM froze, restarted it and compiling again, will report back asap!

UPDATE: Compiling seems to be working well now
UPDATE 2: QT Running, Masternode ENABLED and Syncing, IPFS daemon running

getblockhash 73646
dcd7eb33******19ec72cdc
« Last Edit: September 25, 2018, 03:40:20 pm by togoshigekata »


  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« Reply #158 on: September 25, 2018, 03:30:52 pm »
addnode=dns2.biblepay.org
addnode=testnet.biblepay.org
testnet=1
genproclimit=0


i have this

Are you synced to 73635?  All 3 of my nodes are synced.



  • klondike
  • Full Member

    • 175


    • -13
    • October 10, 2017, 09:00:24 am
    more
Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« Reply #159 on: September 25, 2018, 03:39:18 pm »
i cant sync nothing


  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« Reply #160 on: September 25, 2018, 03:43:52 pm »
i cant sync nothing
Please try this:

telnet testnet.biblepay.org 40001

On my screen it is succesful.  That means for you you should be able to sync.
What is your testnet node IP, let me see if banned?



  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« Reply #161 on: September 25, 2018, 03:48:00 pm »
I just updated the spork for NonBiblePayTeamPercentage to 90%, lets please test a non biblepay team superblock payout.



  • togoshigekata
  • Sr. Member

    • 383


    • 23
    • September 01, 2017, 10:21:10 am
    • USA
    more
Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« Reply #162 on: September 25, 2018, 05:12:50 pm »
1.  Diagnosing Rosetta:  type 'exec rosettadiagnostics email password',

"Results": "Boinc Installed: No\n"
"Errors": "Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'

sudo apt-get install boincmgr boinc
unable to locate package: boincmgr

sudo apt-get update & sudo apt-get upgrade

Now its installing a bunch of stuff, Im a Linux newbie am I doing this right? LOL

Is it boinc-manager vs boinc-mgr?
« Last Edit: September 25, 2018, 05:31:27 pm by togoshigekata »


  • Rob Andrews
  • Administrator

    • 1392


    • 25
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« Reply #163 on: September 25, 2018, 05:23:49 pm »
1.  Diagnosing Rosetta:  type 'exec rosettadiagnostics email password',

"Results": "Boinc Installed: No\n"
"Errors": "Boinc is not installed. Please run 'sudo apt-get install boincmgr boinc'

sudo apt-get install boincmgr boinc
unable to locate package: boincmgr

sudo apt-get update & sudo apt-get upgrade

Now its installing a bunch of stuff, Im a Linux newbie am I doing this right? LOL

Sorry, wherever I wrote 'boincmgr', it should have been 'boinc boinc-client', that installs boinc and boinc gui.

boincmgr is the name of the UI app boinc installs....




  • togoshigekata
  • Sr. Member

    • 383


    • 23
    • September 01, 2017, 10:21:10 am
    • USA
    more
Re: TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)
« Reply #164 on: September 25, 2018, 05:52:23 pm »
No worries!

Hmm so I have boinc and boinc-client installed,
the command has message "Boinc Installed: No"
I closed and reopened QT wallet and tried again, same

Server is Ubuntu 16.04 x64 with Lubuntu GUI installed hosted on Vultr

Poking at the code:
https://github.com/biblepay/biblepay/blob/f74f97ab5f04a20de770d80c40bb90eec1921aa2/src/rpcblockchain.cpp#L7313
https://github.com/biblepay/biblepay/blob/f74f97ab5f04a20de770d80c40bb90eec1921aa2/src/rpcblockchain.cpp#L7254

BoincCommand()
https://github.com/biblepay/biblepay/blob/f74f97ab5f04a20de770d80c40bb90eec1921aa2/src/rpcblockchain.cpp#L7238

GetSANDirectory2()
https://github.com/biblepay/biblepay/blob/87d751ea7eee9c97ded2b747b312253dc772f238/src/podc.cpp#L327

sOS
https://github.com/biblepay/biblepay/blob/8617e91c0d134c3300285bcf744e359688e49428/src/init.cpp#L1211
"LIN", "WIN" or "MAC"

Code: [Select]
std::string sPath = GetSANDirectory2() + "boinctemp";
// Boinc sends some output to stderr, some to stdout

std::string sEXEPath = sOS == "WIN" ? "\"c:\\program files\\BOINC\\boinccmd\"" : "boinccmd";

std::string sCmd = sEXEPath + " >" + sPath + " " + sCommand + " 2>&1";

Random question: if computer is Windows, boinccmd is looked for on the C: drive?

I still need to look into the GetSANDirectory2() some more and then test running the sCMD I build

Im able to run boinccmd command with no parameters, it gives help output

Code: [Select]
std::string GetSANDirectory2()
{
boost::filesystem::path pathConfigFile(GetArg("-conf", "biblepay.conf"));
     if (!pathConfigFile.is_complete()) pathConfigFile = GetDataDir(false) / pathConfigFile;
boost::filesystem::path dir = pathConfigFile.parent_path();
std::string sDir = dir.string() + "/SAN/";
boost::filesystem::path pathSAN(sDir);
if (!boost::filesystem::exists(pathSAN))
{
boost::filesystem::create_directory(pathSAN);
}
return sDir;
}

I cant find the function pathConfigFile() hmm
Is this weird C++ syntax for variable creation? lol

GetArg()
https://github.com/biblepay/biblepay/blob/082a12b0e4727c2df5363dfa14889b41b4957d3a/src/util.cpp#L473

What is is_complete()?
https://www.boost.org/doc/libs/master/libs/type_traits/doc/html/boost_typetraits/reference/is_complete.html

Where is GetDataDir() defined?
« Last Edit: September 25, 2018, 06:35:15 pm by togoshigekata »