TestNet Testing Thread - Test IPFS Integration (Decentralized IP File System)

Started by Rob Andrews, August 27, 2018, 06:52:39 PM

Previous topic - Next topic

MIP

Quote from: Rob A. on September 22, 2018, 02:38:26 PM
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

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.







togoshigekata

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

Quote from: togoshigekata 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

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.



klondike

addnode=dns2.biblepay.org
addnode=testnet.biblepay.org
testnet=1
genproclimit=0


i have this

togoshigekata

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

Rob Andrews

Quote from: klondike on September 25, 2018, 02:19:48 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.



Rob Andrews

Quote from: klondike on September 25, 2018, 03:39:18 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

I just updated the spork for NonBiblePayTeamPercentage to 90%, lets please test a non biblepay team superblock payout.


togoshigekata

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?

Rob Andrews

Quote from: togoshigekata 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

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

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"

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

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?