Pages:
Author

Topic: [ANN] CoinonatX-PoW/PoS-Masternodes-75% APR (CXT Sister) -NEW THREAD - page 25. (Read 63702 times)

sr. member
Activity: 630
Merit: 251
Hi all,

I've a message "could not allocate vin for collateral address" when I try to start the masternode.

As it was mentionned before, the wallet is unlock.

Any idea?
Check your inputs. CoinonatX wallet don't lock 5k coins on a MN address. So, if staking is on, maybe sum is already splitted.
full member
Activity: 702
Merit: 102
I am the Kung Fury...
Here is new windows wallet and new wallet source  links

Windows wallet: https://mega.nz/#!xugUGCaS!fGPvJY3UVKhR8DP1ITuZpLmp0jdvv72RgZKgsF8lfW8

New wallet source: https://github.com/coinonat/CoinonatX ( check new release)

LINUX WALLET AND DAEMON: https://mega.nz/#F!t6xBRbrS!GUqq5GloIY9U5027FD2E_g
  

Hi,

One of the changes made in several files:

Code:
bool* pfMissingInputs = false;

to

Code:
bool* pfMissingInputs;

has the potential to cause crashes, because now the pointer is uninitialized. An example of code that uses pfMissingInputs is AcceptableInputs() in main.cpp:

Code:
   if (pfMissingInputs)
        *pfMissingInputs = false;

Since the value passed is uninitialized, it could contain a non-zero value, causing the above if statement to be true, which would result in dereferencing a bad pointer when trying to set it to false. This would cause the application to crash.

I understand why you changed from setting it to false, as that was incorrect too (it's a pointer, not a boolean). It should be initialized to NULL instead of leaving it uninitialized.

EDIT: I've compiled the Linux wallet myself and it consistently crashes with segfaults. Debugging shows it dies on line 768 of main.cpp, which is the code I mentioned above. This is a real problem; please don't leave pfMissingInputs uninitialized.

I was lookin to windows version, are you telling us that wallet freezes again after month??
full member
Activity: 702
Merit: 102
I am the Kung Fury...
Here is new windows wallet and new wallet source  links

Windows wallet: https://mega.nz/#!xugUGCaS!fGPvJY3UVKhR8DP1ITuZpLmp0jdvv72RgZKgsF8lfW8

New wallet source: https://github.com/coinonat/CoinonatX ( check new release)

LINUX WALLET AND DAEMON: https://mega.nz/#F!t6xBRbrS!GUqq5GloIY9U5027FD2E_g


    

Will test sooner as possible...somebody give a check if it's workin better?
newbie
Activity: 57
Merit: 0
Hi all,

I've a message "could not allocate vin for collateral address" when I try to start the masternode.

As it was mentionned before, the wallet is unlock.

Any idea?
newbie
Activity: 41
Merit: 0
Here is new windows wallet and new wallet source  links

Windows wallet: https://mega.nz/#!xugUGCaS!fGPvJY3UVKhR8DP1ITuZpLmp0jdvv72RgZKgsF8lfW8

New wallet source: https://github.com/coinonat/CoinonatX ( check new release)

LINUX WALLET AND DAEMON: https://mega.nz/#F!t6xBRbrS!GUqq5GloIY9U5027FD2E_g
  

Hi,

One of the changes made in several files:

Code:
bool* pfMissingInputs = false;

to

Code:
bool* pfMissingInputs;

has the potential to cause crashes, because now the pointer is uninitialized. An example of code that uses pfMissingInputs is AcceptableInputs() in main.cpp:

Code:
   if (pfMissingInputs)
        *pfMissingInputs = false;

Since the value passed is uninitialized, it could contain a non-zero value, causing the above if statement to be true, which would result in dereferencing a bad pointer when trying to set it to false. This would cause the application to crash.

I understand why you changed from setting it to false, as that was incorrect too (it's a pointer, not a boolean). It should be initialized to NULL instead of leaving it uninitialized.

EDIT: I've compiled the Linux wallet myself and it consistently crashes with segfaults. Debugging shows it dies on line 768 of main.cpp, which is the code I mentioned above. This is a real problem; please don't leave pfMissingInputs uninitialized.
sr. member
Activity: 498
Merit: 250
Here is new windows wallet and new wallet source  links

Windows wallet: https://mega.nz/#!xugUGCaS!fGPvJY3UVKhR8DP1ITuZpLmp0jdvv72RgZKgsF8lfW8

New wallet source: https://github.com/coinonat/CoinonatX ( check new release)

LINUX WALLET AND DAEMON: https://mega.nz/#F!t6xBRbrS!GUqq5GloIY9U5027FD2E_g


    
newbie
Activity: 7
Merit: 0
we have fixed freeze and update code + fix errors,New wallet will be released tomorrow.

good i was about to try and compile the wallet myself to try and fix the masternodelist screen using another coins code  Grin
full member
Activity: 297
Merit: 101
we have fixed freeze and update code + fix errors,New wallet will be released tomorrow.

great work and news,i am waitting for new wallet ,hope already fix problem ,keep your hard work .
sr. member
Activity: 498
Merit: 250
we have fixed freeze and update code + fix errors,New wallet will be released tomorrow.
full member
Activity: 378
Merit: 105
whats the state of this project ?
Great question! I asked him too long, I have not had an answer yet.  Undecided
member
Activity: 294
Merit: 10
Hi all

Impossible to create a MN, coinonatX wallet freeze and crash each time I try.

I'm on Windows 10 x64. Any ideas?

tks

Currently you can only setup masternodes, without freezes, with the cli wallet, afaik

Ok tks, do you have a link? I've found nothing...

This is the guide. I am not sure if they also have a windows wallet, maybe it works only on linux.



Additionally, has anyone done a step by step on setting up the masternode in Linux?
Answer appears to be no. I just finished setting up one for another coin so I will create
the step by step and post it here as soon as its done

My apologies, I didn't make the video and was not aware it was removed. Linux masternode setup should go something like this:

First setup your VPS and compile the wallet. Start the wallet daemon.
Code:
./coinonatxd

After your wallet is synced, generate a new masternode private key and copy it somewhere for later.
Code:
./coinonatxd masternode genkey

Create a new receiving address for the masternode and copy it somewhere for later.
Code:
./coinonatxd getaccountaddress

Send exactly 5000 XCXT to the masternode address you just generated, either from another wallet or from an address inside the masternode wallet like so:

First, list addresses, balances, and account names in the wallet
Code:
./coinonatxd listaddressgroupings

Locate the address to send from, balance, and account name. The format shown is [
,,]

Send 5000 XCXT to the masternode address you generated above. If there is no account name for the address you want to send from (the default address) use empty quotes "" for Note: I don't recall if you need to include the 0.000001 fee or not i.e 5000.000001. Can someone please verify? Thanks
Code:
./coinonatxd sendfrom 5000

Wait a few minutes for confirmations. Check the coins were received.
Code:
./coinonatxd getreceivedbyaddress
or
./coinonatxd getbalance

Encrypt the wallet if you haven't already.
Code:
./coinonatxd encryptwallet

Edit coinonat.conf, change to the proper directory first if you're not already in it.
Code:
sudo nano coinonatx.conf

The conf file should look like this:
Code:
rpcallowip=127.0.0.1
rpcuser=
rpcpassword=
staking=0
server=1
listen=1
port=
masternode=1
masternodeaddr=:
masternodeprivkey=
The port you choose must be open in the firewall.

Restart the wallet
Code:
./coinonatxd stop
then
./coinonatxd

Unlock the wallet for staking only. See edit below.
Code:
./coinonatxd walletpassphrase stakingonly

EDIT: I forgot walletpassphrase requires a timeout argument in seconds like 'walletpassphrase stakingonly' Unless you'd like to use a large number it's probably better to add the password to the end of the command that starts the masternode as I have added below.

Start the masternode.
Code:
./coinonatxd masternode start
or to start a specific masternode
./coinonatxd masternode start-

Let me know if I need to make corrections. Thanks.

Great setup guide!

In addition, you can check if your masternode is running with
Code:
./coinonatxd masternode debug

If you have a complex password, e.g. with a exclamation mark, set the password under single quotes.
newbie
Activity: 57
Merit: 0
Hi all

Impossible to create a MN, coinonatX wallet freeze and crash each time I try.

I'm on Windows 10 x64. Any ideas?

tks

Currently you can only setup masternodes, without freezes, with the cli wallet, afaik

Ok tks, do you have a link? I've found nothing...
member
Activity: 294
Merit: 10
Hi all

Impossible to create a MN, coinonatX wallet freeze and crash each time I try.

I'm on Windows 10 x64. Any ideas?

tks

Currently you can only setup masternodes, without freezes, with the cli wallet, afaik
newbie
Activity: 57
Merit: 0
Hi all

Impossible to create a MN, coinonatX wallet freeze and crash each time I try.

I'm on Windows 10 x64. Any ideas?

tks
legendary
Activity: 1764
Merit: 1022
I still have these coins with me. I was scammed from the CXT => XCT swap, and the devs totally ignored my requests WITHIN the swap period.

Do yourself a favour and have a look at the previous thread, and see the scam that is CXT/XCT.

I sent in my and they were swapped and then I got an email last week asking for my address and I got my CXT coins also send black. So I got the swapped coins and I some of the coins that I send in for a swap back.
full member
Activity: 702
Merit: 102
I am the Kung Fury...
No new wallet?? We can't go on with this shit...please fix the walletttttt!!!
full member
Activity: 518
Merit: 100
I still have these coins with me. I was scammed from the CXT => XCT swap, and the devs totally ignored my requests WITHIN the swap period.

Do yourself a favour and have a look at the previous thread, and see the scam that is CXT/XCT.
newbie
Activity: 58
Merit: 0
whats the state of this project ?
member
Activity: 294
Merit: 10
I set up the MN 5 days ago and i was disappointed that i didn't receive anything. Today at 16:00 GMT i received 2 rewards, one of 1.5 xcxt and one of 5.93 xcxt.

The windows wallet is pretty bad, it always sits on "Not responding" and cooler on my laptop is at full speed. I tried letting it run for almost 48h non stop, still no joy. Then i did a wallet backup and i moved the wallet on Linux  which runs smoothly

If you have a master node, just set it up, make sure it is seen in the network with coinonatxd masternode list and just wait for it. I also have ARC MN set up at the same time but on this one i didn't get any reward, maybe due to large number of master nodes (2400) compared to XCXT (480)

Same here. Unfortunately the linux wallet does not work better, freezes every few seconds. You can set it up with the command line.

I want to set up another masternode, but only one is working. I checked the ports with netstat and only the first one from the config file is listening.

The freezing issue is related to updating the masternode list tab in the wallet GUI. The code that does this is in the same place as the code that draws the GUI, so the GUI freezes while the masternode list is updated. The Windows and Linux wallets use the same code, so they'll have the same problem. Other similar coins (such as Crave) do this as well, so I'm not sure why it's not a problem for them... the updating code is nearly identical, but it completes so much faster with those other coins that you don't notice any hangups in the GUI. There is some blockchain code involved in there, and it could be that the algorithm this coin is using is slower than other coins or not optimized. I gave up digging into that part of it since I just don't have enough knowledge in that area.

I played around with moving that code off to a separate thread so it's not mixed with the GUI code. I had some success - the GUI no longer hangs up. There are still a few issues though, and I haven't had time to get back to the code to finish it up, as I've been busy with other coins and life in general. I hope to get back to it soon, because I'd like to see this stupid problem fixed as well.

Anyone wanting to run a masternode is better off using the command line coinonatxd. I do this on Linux and it works fine, although the rewards aren't great at all, as others have noted.

I'm not a dev of this coin or associated with them in any way... just a programmer who decided to take a look into things since the devs haven't.

Thank you for sharing your research. Should be standard to run such functions asynchronous.
newbie
Activity: 34
Merit: 0
https://discord.gg/XjaTee
Not much happening on Discord so get there n make it happen...
I ignore telegram and Slack is a real pain with repeated messages all the time...
So here n the www site is my only source of info....
I will set up the MNs...
Pages:
Jump to: