dstorm
|
|
July 30, 2014, 01:35:18 PM Last edit: July 30, 2014, 01:45:35 PM by dstorm |
|
Hey guys, i'm working on a pool module in python, if anyone can tell me how this: mpz_t bns[7];
//Take care of zeros and load gmp for(int i=0; i < 7; i++){ if(hash[i]==0) hash[i] = 1; mpz_init(bns[i]); mpz_set_uint512(bns[i],hash[i]); } mpz_t product; mpz_init(product); mpz_set_ui(product,1); for(int i=0; i < 7; i++){ mpz_mul(product,product,bns[i]); }
int bytes = mpz_sizeinbase(product, 256); char *data = (char*)malloc(bytes); mpz_export(data, NULL, -1, 1, 0, 0, product);
//Free the memory for(int i=0; i < 7; i++){ mpz_clear(bns[i]); } mpz_clear(product); Can be translated to normal "C" instead of "c++" i can set it up i a few mins I have already made a python module. I will upload it soon. edit: here it is https://bitbucket.org/dstorm/cryptonite-python-module
|
|
|
|
marada
|
|
July 30, 2014, 01:44:32 PM |
|
Are you getting any connections to peers? Check your firewall settings if you're not. You might also be getting banned for some reason, I'm not really sure what your issue is, you might have to wait for catia to return. Also check your debug.log file and see if it reveals anything more about the nature of the problem.
Could it be this? 2014-07-30 13:09:08 socket recv error 104 2014-07-30 13:09:09 socket recv error 104 2014-07-30 13:09:10 socket recv error 104 .....
|
|
|
|
bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
July 30, 2014, 01:54:54 PM Last edit: July 30, 2014, 02:18:54 PM by bitfreak! |
|
Are you getting any connections to peers? Check your firewall settings if you're not. You might also be getting banned for some reason, I'm not really sure what your issue is, you might have to wait for catia to return. Also check your debug.log file and see if it reveals anything more about the nature of the problem.
Could it be this? 2014-07-30 13:09:08 socket recv error 104 2014-07-30 13:09:09 socket recv error 104 2014-07-30 13:09:10 socket recv error 104 .....
I believe that probably has something to do with it, could be a corrupt blockchain getting you banned. Did you try deleting the data folder and starting fresh? If you do try it, make sure to backup your wallet file if it holds any coins.
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
marada
|
|
July 30, 2014, 02:22:34 PM |
|
I believe that probably has something to do with it, could be a corrupt blockchain getting you banned. Did you try deleting the data folder and starting fresh? If you do try it, make sure to backup your wallet file if it holds any coins. [/quote] I have already tried it out but didn't help. What is the default p2p port? I tried to change the port in the cryptonite.conf by adding "port=xxx" but I think it was ignored. # netstat -ntlp | grep LISTEN tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN 2241/dnsmasq tcp 0 0 0.0.0.0:8253 0.0.0.0:* LISTEN 2398/cryptonite-qt tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 731/smbd tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 731/smbd tcp6 0 0 :::8253 :::* LISTEN 2398/cryptonite-qt tcp6 0 0 :::445 :::* LISTEN 731/smbd tcp6 0 0 :::139 :::* LISTEN 731/smbd EDIT: sorry, not really ignored, but still the same - can't connect EDIT2: CONNECTED! after changing the port and giving it a while
|
|
|
|
wood7
|
|
July 30, 2014, 02:29:14 PM |
|
the coin was so strong...
|
|
|
|
bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
July 30, 2014, 02:33:55 PM |
|
The default port should be 8253. EDIT2: CONNECTED! after changing the port and giving it a while Good to hear.
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
r95222
|
|
July 30, 2014, 02:44:21 PM |
|
I cant find block explore Do we have one?
|
|
|
|
|
marada
|
|
July 30, 2014, 03:03:13 PM |
|
Diff too high, we need a pool now.
Yes, we need it. Is it still a CPU coin? Can you post your hardware details and hashrates for a comparison?
|
|
|
|
bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
July 30, 2014, 03:13:54 PM |
|
I cant find block explore Do we have one? Not yet, give it time.
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
July 30, 2014, 03:43:07 PM |
|
Another small list of peers for those having trouble connecting to the network: http://pastebin.com/V7k6Mqzf
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
Markos
Member
Offline
Activity: 108
Merit: 10
|
|
July 30, 2014, 04:34:28 PM |
|
I have some errors on Win7 x64 and the latest release of qt-binaries:
First error:
Assertion failed!
Program: F:\kryptowaluty\cryptonite\win64_cryptonite-qt_14073005.exe File: trieview.cpp, Line 26
Expression: fread(&m_bestBlock,1,32,filein)>0
Second error (after ignoring):
Assertion failed!
Program: F:\kryptowaluty\cryptonite\win64_cryptonite-qt_14073005.exe File: trieview.cpp, Line 28
Expression: fread(&sz,1,4,filein)>0
Third:
Assertion failed!
Program: F:\kryptowaluty\cryptonite\win64_cryptonite-qt_14073005.exe File: trieview.cpp, Line 30
Expression: fread(buf,sz,1,filein)>0
|
|
|
|
bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
July 30, 2014, 05:08:22 PM |
|
I have some errors on Win7 x64 and the latest release of qt-binaries:
First error:
Assertion failed!
Program: F:\kryptowaluty\cryptonite\win64_cryptonite-qt_14073005.exe File: trieview.cpp, Line 26
Yeah several people have reported that problem but we're not sure what the issue is since many people seem to be running it fine on Windows 8.0 and 8.1. What I would suggest is that you ensure you have all the Win64 DLL's in the same folder as the cryptonite-qt exe, and maybe try running it in compatibility mode if you still have problems. Other than that I'm not really sure what else you could try.
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
Jshank
Member
Offline
Activity: 75
Merit: 10
|
|
July 30, 2014, 05:10:38 PM Last edit: July 30, 2014, 05:24:57 PM by Jshank |
|
Files may have modified my bitcoin %appdata% folder(win64). Can anybody verify?
|
|
|
|
Markos
Member
Offline
Activity: 108
Merit: 10
|
|
July 30, 2014, 05:21:13 PM |
|
It's not a DLL problem, I have all DLL's in the folder with cryptonite-qt.exe. Compatibility mode (Vista, Vista SP1/SP2, Server 2008 SP, 7 without SP) doesn't work too.
|
|
|
|
bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
July 30, 2014, 05:21:25 PM |
|
Files may have modified my bitcoin %appdata% folder. Can anybody verify?
I know for sure that on Linux it wont mess with the bitcoin data folder. It's highly unlikely that Windows is any different, but I'm not 100% sure.
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
July 30, 2014, 05:32:35 PM |
|
It's not a DLL problem, I have all DLL's in the folder with cryptonite-qt.exe. Compatibility mode (Vista, Vista SP1/SP2, Server 2008 SP, 7 without SP) doesn't work too.
Well like I said I'm not sure what else you can try, it's weird that the error only appears for some people using Windows 8 but not others. We'll do our best to find a solution but let us know if you end up working it out yourself.
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
DonQuijote
Legendary
Offline
Activity: 1551
Merit: 1002
♠ ♥ ♣ ♦ < ♛♚&#
|
|
July 30, 2014, 05:33:27 PM |
|
Files may have modified my bitcoin %appdata% folder. Can anybody verify?
I know for sure that on Linux it wont mess with the bitcoin data folder. It's highly unlikely that Windows is any different, but I'm not 100% sure. Yes, when i installed the wallet (first version) my blockchain and wallet.dat was corrupted
|
THE INGENIOUS GENTLEMAN DON QUIXOTE OF LA MANCHA
|
|
|
discodancer
Sr. Member
Offline
Activity: 378
Merit: 250
Time is Money - Benjamin Franklin
|
|
July 30, 2014, 06:20:22 PM |
|
I like this coin but mining looks difficult
|
|
|
|
watuba
|
|
July 30, 2014, 06:23:48 PM |
|
I like this coin but mining looks difficult Isn't it a bummer how those often go hand in hand!
|
|
|
|
|