• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Tao suggested I post here... 0.05 BTC bounty offered for resolution to my masternode issue !

i am not sure about that soft porn reference .... :wink:
Masternodes /Investment need security !
it will not help you if that guy promises great returns and cheap coins, if you will eventually lose all due to no/or crap security hence a hack attack
 
MoreBloodWine - see how awesome Udjin is? Don't waste your time, invest in excellent devs... that error is just nothing... if a dev can't read code like reading a soft porn novel... he can't code.

But Dash devs do read code like that!! :grin::grin::grin:
Are you sure you don't want to join the Dash Twitter PR Initiative? We could use another promoter with your skillz... :rolleyes::grin::cool:
 
You litterally made me LOL

if your gonna do porn novels may as well go full hog and FWIW, I do dabble in DASH. That being besides the point, I'd never for a long while any way even be able to afford a single DASH MN at it's current costs. At least this way with me getting dirty in BUCKS code it is more of a prep to really get in to DASH.

Also, ignore my last reply about no gorillabucksd.cpp file as Udjin pointed out it's bitcoind.cpp

So with that said: UdjinM6 --- While I am confident enough to compare dashd.cpp and bitcoind.cpp and adding #include "masternodeconfig.h" to what looks like the right spot. The rest of what you said may be where I fail as you said and I quote...

and the code above to corresponding places and recompile. 2 minutes to fix :)

I wouldnt know what those corresponding places are.

"include ... " goes here https://github.com/iGotSpots/GorillaBucks/blob/master/src/bitcoind.cpp#L10

And that is a good place to insert code quoted above https://github.com/iGotSpots/GorillaBucks/blob/master/src/bitcoind.cpp#L65
 
"include ... " goes here

And that is a good place to insert code quoted above
So both sets of code only have one include and can go at the top of the file where the #include "masternodeconfig.h" should be anyway ?

Also the not posting / quoting links thing is somewhat annoying lol

Edit: I also just had a shit moment, I have to compile qt lol
 
So both sets of code only have one include and can go at the top of the file where the #include "masternodeconfig.h" should be anyway ?
Code:
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp
index da5490a..a61fd83 100644
--- a/src/bitcoind.cpp
+++ b/src/bitcoind.cpp
@@ -7,6 +7,7 @@
#include "rpcclient.h"
#include "init.h"
#include <boost/algorithm/string/predicate.hpp>
+#include "masternodeconfig.h"

void WaitForShutdown(boost::thread_group* threadGroup)
{
@@ -63,6 +64,13 @@ bool AppInit(int argc, char* argv[])
             return false;
         }

+        // parse masternode.conf
+        std::string strErr;
+        if(!masternodeConfig.read(strErr)) {
+            fprintf(stderr,"Error reading masternode configuration file: %s\n", strErr.c_str());
+            return false;
+        }
+
         // Command-line RPC
         for (int i = 1; i < argc; i++)
             if (!IsSwitchChar(argv[i][0]) && !boost::algorithm::istarts_with(argv[i], "GorillaBucks:"))

Also the not posting / quoting links thing is somewhat annoying lol
That's anti-spam protection - new accounts can't post links. Will "fix" itself after a while.
 
Code:
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp
index da5490a..a61fd83 100644
--- a/src/bitcoind.cpp
+++ b/src/bitcoind.cpp
@@ -7,6 +7,7 @@
#include "rpcclient.h"
#include "init.h"
#include <boost/algorithm/string/predicate.hpp>
+#include "masternodeconfig.h"

void WaitForShutdown(boost::thread_group* threadGroup)
{
@@ -63,6 +64,13 @@ bool AppInit(int argc, char* argv[])
             return false;
         }

+        // parse masternode.conf
+        std::string strErr;
+        if(!masternodeConfig.read(strErr)) {
+            fprintf(stderr,"Error reading masternode configuration file: %s\n", strErr.c_str());
+            return false;
+        }
+
         // Command-line RPC
         for (int i = 1; i < argc; i++)
             if (!IsSwitchChar(argv[i][0]) && !boost::algorithm::istarts_with(argv[i], "GorillaBucks:"))


That's anti-spam protection - new accounts can't post links. Will "fix" itself after a while.
Now your confusin me lol... @@ -63,6 +64,13 @@ bool isn't even in dashd.cpp or bitcoind.cpp from GorillaBucks... so while yes I know with 100% certainty where #include "masternodeconfig.h" goes... I'm completely dumbfounded on where to put this...

  1. // parse masternode.conf
  2. std::string strErr;
  3. if(!masternodeConfig.read(strErr)) {
  4. fprintf(stderr,"Error reading masternode configuration file: %s\n", strErr.c_str());
  5. return false;
  6. }

In the bitcoind.cpp file from GorillaBucks.

Also, // Command-line RPC is already on line 66 in bitcoind.cpp... so hope u see my confusion to some extent.
 
Now your confusin me lol... @@ -63,6 +64,13 @@ bool isn't even in dashd.cpp or bitcoind.cpp from GorillaBucks... so while yes I know with 100% certainty where #include "masternodeconfig.h" goes... I'm completely dumbfounded on where to put this...

  1. // parse masternode.conf
  2. std::string strErr;
  3. if(!masternodeConfig.read(strErr)) {
  4. fprintf(stderr,"Error reading masternode configuration file: %s\n", strErr.c_str());
  5. return false;
  6. }

In the bitcoind.cpp file from GorillaBucks.

Also, // Command-line RPC is already on line 66 in bitcoind.cpp... so hope u see my confusion to some extent.
That was just a regular diff. It says which file, where and how to change https://en.wikipedia.org/wiki/Diff_utility#Unified_format

EDIT: n/m, here's a full file http://pastebin.com/ZCqx104g
 
Ehh, I'll just add it above the RPC stuff as that seems to be the logical choice, try to compile and see if it works. If not I may be the first postal employee at Home Depot tomorrow LMAO.
 
Ok, I officially give up. Time to go suck up to IGotSpots and see if he's willing to help.

Rented a vultr server to build on and shit aint workin like it does to build d files. So guess I'm SOL unless IGS wants to help out.
 
Ok, I officially give up. Time to go suck up to IGotSpots and see if he's willing to help.

Rented a vultr server to build on and shit aint workin like it does to build d files. So guess I'm SOL unless IGS wants to help out.
?
Should definitely compile, I just compiled it myself on my ubuntu machine to make sure and it works.
Have you tried to replace bitcoind.cpp with full file I mentioned?
That was just a regular diff. It says which file, where and how to change https://en.wikipedia.org/wiki/Diff_utility#Unified_format

EDIT: n/m, here's a full file http://pastebin.com/ZCqx104g
 
?
Should definitely compile, I just compiled it myself on my ubuntu machine to make sure and it works.
Have you tried to replace bitcoind.cpp with full file I mentioned?
Ya, the issue is with me missing some dependency or something. At this point all I can do is fork/propose changes on github to see if IGS will make it official and even if he does may not release the qt I need to test in a timely manner ;-/

Edit: I've since deleted the "new" vultr server I rented to try the compile.
 
Ya, the issue is with me missing some dependency or something. At this point all I can do is fork/propose changes on github to see if IGS will make it official and even if he does may not release the qt I need to test in a timely manner ;-/

Edit: I've since deleted the "new" vultr server I rented to try the compile.
What kind of error do you have?
 
I dont even remember tbh wasnt so much an error but some language thing. But ya, no goin back less I re-rent the server which as of right now I don't feel like doing. I'm almost bout rdy to say f it one local to many remote idea.
 
Talking to IGS right now and he says that the proposed changes are just a header and error message. To clarify...

Should / will those changes allow the masternode.conf file to be read or show why it can't be ?

Ok, now the link thing is irking me bad because I can't share my proposed changes...
 
I did but lemme see if this sneaky bit works and you can see I proposed the changes which look like the post you told me to link him to... sure you can figure out what should preceed the below lol

/iGotSpots/GorillaBucks/compare/master...MoreBloodWine:patch-1
 
Back
Top