Pages:
Author

Topic: [ANN][XCN] Cryptonite | 1st mini-blockchain coin | M7 PoW | No Premine - page 33. (Read 578458 times)

sr. member
Activity: 527
Merit: 251
Quality Crypto Collector
I've downloaded the new Windows QT and opened the wallet, but no connections are found/wallet can't sync. Cry

I see that my XCN folder lacks a .conf file; I imagine its inclusion would help a lot. Roll Eyes

Can you please post a working XCN .conf file?? Grin

Thanks.
newbie
Activity: 15
Merit: 0
hello..  im long time follower of cryptonite.. and miner and buyer.

Theres a great opensource android multi coin wallet called coinomi..  with a builtin exhange for swapping coins to another.

however coinomi lacks one thing..  Cryptonite !

wandering if this can be looked into ..  there is instructions here
https://coinomi.com/AddingSupportForANewCurrency/

looks like need a cryptonited + electrum ..    then add some code to coinomi code.

https://github.com/Coinomi/coinomi-android

then everyone can have mobile cryptonite Smiley
legendary
Activity: 1536
Merit: 1000
electronic [r]evolution
Error was gonne after restart but then I found one possible issue, at Options > Wallet there is Expert area without any options. Should there be Coin Control checkbox, maybe?
No I believe that expert area has always been hidden in Cryptonite, I can't remember what is usually there now, but I think it was something to do with coin control or change addresses. Don't need to worry about change addresses in Cryptonite because there is no such thing as change.

Quote
Also wallet is not saving backup at all, it pops up message that wallet was saved successfuly but no file is created.
That's a known bug, has always been like that, not sure why though because nothing was changed which should have altered the wallet backup functionality. Might be another issue inherited from the version of Bitcoin we forked from. If you want to make a backup of your wallet file just make a copy of the wallet.dat file.
hero member
Activity: 651
Merit: 518
@SISAR: My suspicions about the bad nodes seems to be correct. I tried doing a fresh sync on my linux machine and had similar problems. I was able to make it work by deleting everything in the data folder except the wallet and the conf files and adding the explorer node to the conf file:

addnode=206.72.193.148

Retried, it worked like charm with full sync in under 20 minutes and only 90MB of data downloaded!

https://i.imgur.com/CrjbriO.png

Afterwards (without restart) I have checked status via getinfo at Console and found the folllowing line there:

Code:
"errors" : "Warning: The download trie/blockchain appears to have invalid data. May need to try again"

Error was gonne after restart but then I found one possible issue, at Options > Wallet there is Expert area without any options. Should there be Coin Control checkbox, maybe?

https://i.imgur.com/GLXv9JO.png

Also wallet is not saving backup at all, it pops up message that wallet was saved successfuly but no file is created.
legendary
Activity: 1536
Merit: 1000
electronic [r]evolution
@kahir: I haven't used the Cuda miner so I don't know much about it. But I'm pretty sure it should use more than 20% of your GPU. Maybe try upgrading or downgrading your graphics driver.

@SISAR: My suspicions about the bad nodes seems to be correct. I tried doing a fresh sync on my linux machine and had similar problems. I was able to make it work by deleting everything in the data folder except the wallet and the conf files and adding the explorer node to the conf file:

addnode=206.72.193.148
legendary
Activity: 1050
Merit: 1000
hey I would like some help with the NVidia GPU pool miner I'm kinda new here

first I follow the links in OP for miners looks like its not valid anymore

got the miner from 1gh pool and I think its out of date 1 year without new release ?? or a optimized one ?

also the miner I got there put the GPU on 20% load for some reason I think I can get better hash

 
this is the line I use

Cryptonite-CudaMiner-compute_35.exe -o stratum+tcp://xcnpool.1gh.com:7333 -u  CJQZoYjCdU7TaHNvyHYVoD6bNJ57aho7Xq -p x -t 1
pause
legendary
Activity: 1536
Merit: 1000
electronic [r]evolution
Quote
1. Upon start wallet can not find any nodes to sync from and the only way I found to fix that was to addnode=IP at cryptonite.conf file, IPs of other nodes found at XCN blockchain explorer.
The server which was running the seed node is no longer online, I'll probably try to use the explorer node as the seed node but I'll have to rebuild again. At least I know the correct build process for Windows now so it shouldn't be hard. I also want to set up a dns seeder thing on the same server as the explorer which should make it much easier for new nodes to find peers.

Quote
2. Once finaly connected to other nodes wallet drops connections very frequently many times dropping to just 1 connection.
The networking code is the same as Bitcoin so it's either a problem with your connection or a problem inherited from Bitcoin. I think during the sync process it will only download the blockchain from a single peer because that's how Bitcoin was designed to work when we forked from it. Since then Bitcoin has gained the ability to download the chain in a parallel fashion from multiple peers which is something we really need to carry over to Cryptonite.

Quote
3. Once syncing starts "Current number of blocks" goes to maybe 1000 but then "Estimated number of blocks" takes over and leads most of the time, with "Current number of blocks" only occassionaly catching up but maybe for 10 to 100 blocks. It takes very long time (day+) for "Estimated number of blocks" to catch up with latest block and only then "Current number of blocks" starts fully catching up but very slowly. I think it would take at least few days to fully sync wallet from scratch.
It should take no more than hour to fully sync from my experience. Usually when you have problems syncing it's because you're connected to a peer who either has a bad connection or is giving you bad data. Once again I believe this issue is compounded by relying on a single peer for synchronization. Try adding some different peers to your conf file then do a resync.

Quote
4. Upon every wallet restart it checks and loads blockchain but then starts with resync (showing some weird values like -232865374 %) that lasts horribly long time.
This is probably related to the last issue with bad peers. The negative percent thing is a known issue but it shouldn't take a huge amount of time to catch up.
hero member
Activity: 651
Merit: 518
Ok it looks like the problem with the Windows binaries has finally been solved. Turns out the problem was with GMP using machine specific optimizations. Thanks to coinfusion I was able to find a solution which produced fully static binaries that work on all my 64 bit machines so they should work on almost any 64 bit machine.

Working Cryptonite Qt binary for Windows
Working Cryptonited binary for Windows

CryptoniteQt works on my machine (Win7 64-bit, SSD disk) but there are few problems:

1. Upon start wallet can not find any nodes to sync from and the only way I found to fix that was to addnode=IP at cryptonite.conf file, IPs of other nodes found at XCN blockchain explorer.

2. Once finaly connected to other nodes wallet drops connections very frequently many times dropping to just 1 connection.

3. Once syncing starts "Current number of blocks" goes to maybe 1000 but then "Estimated number of blocks" takes over and leads most of the time, with "Current number of blocks" only occassionaly catching up but maybe for 10 to 100 blocks. It takes very long time (day+) for "Estimated number of blocks" to catch up with latest block and only then "Current number of blocks" starts fully catching up but very slowly. I think it would take at least few days to fully sync wallet from scratch.

4. Upon every wallet restart it checks and loads blockchain but then starts with resync (showing some weird values like -232865374 %) that lasts horribly long time.

On a funny notes, my nodes IP checker has found that many notable corporations and goverment sectors were or still are present at XCN network including NASA, Moon time guaranteed!  Grin
legendary
Activity: 1536
Merit: 1000
electronic [r]evolution
Ok it looks like the problem with the Windows binaries has finally been solved. Turns out the problem was with GMP using machine specific optimizations. Thanks to coinfusion I was able to find a solution which produced fully static binaries that work on all my 64 bit machines so they should work on almost any 64 bit machine.

Working Cryptonite Qt binary for Windows
Working Cryptonited binary for Windows

The build process is the same as what I described on the last page but GMP needs to be compiled like this:

Code:
tar xvf gmp-6.0.0a.tar.xz
cd /c/deps/gmp-6.0.0
MPN_PATH=" x86_64 generic" CFLAGS="-O3 -march=core2 -mtune=generic" CXXFLAGS="-O3 -march=core2 -mtune=generic" ./configure --disable-shared --enable-cxx --host=x86_64-w64-mingw32
make

I also compiled boost using slightly different settings but I don't think it really matters:

Code:
cd C:\deps\boost_1_57_0\
bootstrap.bat mingw
b2 --build-type=minimal --with-chrono --with-filesystem --with-program_options --with-system --with-thread --layout=versioned -sNO_BZIP2=1 -sNO_ZLIB=1 toolset=gcc variant=release link=static threading=multi target-os=windows threadapi=win32 runtime-link=static stage
full member
Activity: 141
Merit: 100
I made a build of the daemon last year on my w7-64 bit machine with msys2, and it worked fine for a few months. I recently rebuilt it with gcc5.2, db-4.8.30, openssl101p, boost 1.59, and gmp6 (not using miniupnpc or qrencode) and it seems to be working fine now for the past week.  I do full static linking and everything is custom built, so it's not really a reproducable environment, but at least I did not have to make any changes to the source.
legendary
Activity: 1536
Merit: 1000
electronic [r]evolution
Well I've made a little bit of progress but it's still got me pretty stumped. I've tried so many different things but no success yet. Tried building with a dynamic Qt library, same problem. I even tried building on a virtual machine with a fresh installation of XP and I thought I had succeeded at first because it worked on XP and outside of the virtual machine on Windows 7. But then when I tried it another Win7 machine it crashed as usual. It seems like gcc is optimizing for the CPU in the machine used for compiling and hence it wont work on older CPU's. I only have two 64-bit machines so I can't be exactly sure but that's my best guess because the machine I compiled on is relatively new whereas the other is quite old. The older one has an Intel CPU and the newer one has an AMD CPU but I don't really think that should matter because they both have SSE and SSE2 support and both should also support the x84_64 instruction set. I have a few more ideas to try but if anyone wants to try the builds I created on the XP VM here are the links:

[links removed]
hero member
Activity: 651
Merit: 518
I've been trying to figure out the issue on and off over the last few days. It's strange because it works perfectly on the machine I compiled on but not on any other machine, yet I cannot seem to find what it depends on. I tried it on another Windows machine and I got the same error, but then after I restarted the machine it doesn't give that error when I try to start up Qt, however it still crashes silently.  The problem does seem to be related to the Qt library in some way, I'm going to see if I can get it compiled using Qt 4.8 instead of 5.3, maybe I'll have more luck that way.

I can't even install wallet on Win7 64-bit let alone run it.  Huh
hero member
Activity: 556
Merit: 501
legendary
Activity: 1536
Merit: 1000
electronic [r]evolution
Explorer is back up now.
hero member
Activity: 556
Merit: 501
the block explorer is not working.
full member
Activity: 175
Merit: 113
I'm not so sure if that's related to Qt because the non-qt CLI version seems to crash with the same error.
I just tried to fix it by installing MinGW and copying all contained dlls but no difference.

Btw, now that I have the opportunity to do so:
I just want to thank you for starting cryptonite and all your work so far. From what I know so far, you have solved the major issues with bitcoin and thus built the foundation for a truly awesome currency. If I can support you in any way, please let me know.
Greetings from your neighbouring country, btw Smiley

edit:
mac os x download seems broken.
legendary
Activity: 1536
Merit: 1000
electronic [r]evolution
I've been trying to figure out the issue on and off over the last few days. It's strange because it works perfectly on the machine I compiled on but not on any other machine, yet I cannot seem to find what it depends on. I tried it on another Windows machine and I got the same error, but then after I restarted the machine it doesn't give that error when I try to start up Qt, however it still crashes silently.  The problem does seem to be related to the Qt library in some way, I'm going to see if I can get it compiled using Qt 4.8 instead of 5.3, maybe I'll have more luck that way.
full member
Activity: 175
Merit: 113
Apparently it's some sort of false reading by Dependency Walker.

You may be able to try some of the suggestions in here: Win 7, 64 bit, dll problems

Looks like I may have to recompile though, seems to be some sort of linking error caused by compiling Qt with mingw.

Thanks for all the effort you are putting into this guys.  I am really looking forward to the fix!  Grin

Hey there, I just tried running the windows wallets and I have the same problems Undecided
Trying to solve them by installing Qt / visual studio runtimes, etc.

Or does anyone else already know what exactly is missing?
sr. member
Activity: 527
Merit: 251
Quality Crypto Collector
Apparently it's some sort of false reading by Dependency Walker.

You may be able to try some of the suggestions in here: Win 7, 64 bit, dll problems

Looks like I may have to recompile though, seems to be some sort of linking error caused by compiling Qt with mingw.

Thanks for all the effort you are putting into this guys.  I am really looking forward to the fix!  Grin
legendary
Activity: 1536
Merit: 1000
electronic [r]evolution
Apparently it's some sort of false reading by Dependency Walker.

You may be able to fix it by trying some of the suggestions here: Win 7, 64 bit, dll problems

Looks like I may have to recompile though, seems to be some sort of linking error caused by compiling Qt with mingw.
Pages:
Jump to: