-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cold masternodes do not seem to work #1
Comments
Hello. There is masternode.conf handling in the source code (however, I have not tested it myself); swippcore/src/masternodeconfig.cpp Line 13 in 4439fa4
Line 435 in 4439fa4
I need some more information. How do you start the masternode? Just editing masternode.conf isn't enough, you probably also need to call one of the start commands. You should be able to see the parsed masternode.conf settings if you call;
Then you should be able to bring it up it with |
I don't have anymore coins for another masternode so I can't try starting a cold masternode. I tried for a while before the new team took over, so, unless you've specifically changed anything to do with how masternodes are implemented when you took over the code, the issue will still be present. I've started several other masternodes that use a masternode.conf file. All of those coins generate that file themselves when the wallet is first run. In my experience of trying to start a cold masternode with other coins that also don't generate a masternode.conf file, they've all failed to start. The normal procedure doesn't work. |
Hi. I may have changed a few things, but not the way masternodes are started and configuration files are parsed. Not all wallets generate that file. In this case, the I did some quick testing and looked through it. Everything from that plus the the source code tells me that it should work. The configuration file is definitely parsed and used by the rpc command line. I'll keep the issue open for a while, if anybody has any problems I hope they will let us know. |
I want to setup cold masternode . this is other coin cold mn setup guide for reference |
Hi @tsupinhua. Yes, that guide is an alternative way of setting up a cold node without using When you use |
I need to setup my masternode again so I'm taking the chance to try launching this as a cold masternode. Running |
Hi @phwconz. Check the debug log to see if it fails to parse the config file. If you are still struggling, I'll look into this after the new wallet release that I am currently preparing. |
I don't know what to look for unfortunately. I keep seeing this line though: I don't know if that's relevant or not. Basically, |
@phwconz Looks to me like that error message is related to an external masternode trying to get in on the network with the wrong collateral. Most likely not related. I will look into this and report back here once I have. |
I have now spent some time with this. As reported by @phwconz there were some issues with this, even though there is code to handle it in the code base. I have a somewhat done fix for this that will make it into one of the next wallet updates. Keep an eye on this issue - it will be referenced and closed from the commit once it's added to master. |
In a typical coin which is capable of cold masternodes, the installation generates a masternode.conf file which the controller uses to identify the cold node. Swipp does not generate a masternode.conf file and if you do create one and use it in the way that you would to create a cold masternode, it does not work.
It appears that in order to create a masternode, it needs to be hot so that the required information can be input into the node's swipp.conf file instead.
The text was updated successfully, but these errors were encountered: