Bitcoin Forum
December 14, 2017, 07:29:11 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ... 191 »
  Print  
Author Topic: [ANN][XCN] Cryptonite | 1st mini-blockchain coin | M7 PoW | No Premine  (Read 575151 times)
ocminer
Legendary
*
Offline Offline

Activity: 1946



View Profile WWW
July 30, 2014, 01:00:08 PM
 #541

Hey guys,

i'm working on a pool module in python, if anyone can tell me how this:

Code:
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

All of that IS normal C. Learn to GMP. Tongue

I hate GMP !  Grin

suprnova pools - reliable mining pools - #suprnova on freenet
https://www.suprnova.cc - FOLLOW us @ Twitter ! twitter.com/SuprnovaPools
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513279751
Hero Member
*
Offline Offline

Posts: 1513279751

View Profile Personal Message (Offline)

Ignore
1513279751
Reply with quote  #2

1513279751
Report to moderator
bitfreak!
Legendary
*
Offline Offline

Activity: 1535


electronic [r]evolution


View Profile WWW
July 30, 2014, 01:19:42 PM
 #542

but I get this famous output all the time:
Running on Windows or Linux? I just updated the links on the download page, try using the latest binary and see if that helps.

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
Sr. Member
****
Offline Offline

Activity: 441


View Profile
July 30, 2014, 01:22:59 PM
 #543

but I get this famous output all the time:
Running on Windows or Linux? I just updated the links on the download page, try using the latest binary and see if that helps.

Linux. I'm just trying out binaries but have incompatible db.
Would also really prefer to compile myself because of the architecture optimisation...
bitfreak!
Legendary
*
Offline Offline

Activity: 1535


electronic [r]evolution


View Profile WWW
July 30, 2014, 01:33:07 PM
 #544

but I get this famous output all the time:
Running on Windows or Linux? I just updated the links on the download page, try using the latest binary and see if that helps.

Linux. I'm just trying out binaries but have incompatible db.
Would also really prefer to compile myself because of the architecture optimisation...
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.

XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF
Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script
Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
dstorm
Sr. Member
****
Offline Offline

Activity: 252


View Profile
July 30, 2014, 01:35:18 PM
 #545

Hey guys,

i'm working on a pool module in python, if anyone can tell me how this:

Code:
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

altmine.net p2pools - Follow me on Twitter for latest updates @altminenet
marada
Sr. Member
****
Offline Offline

Activity: 441


View Profile
July 30, 2014, 01:44:32 PM
 #546

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?
Code:
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!
Legendary
*
Offline Offline

Activity: 1535


electronic [r]evolution


View Profile WWW
July 30, 2014, 01:54:54 PM
 #547

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?
Code:
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
Sr. Member
****
Offline Offline

Activity: 441


View Profile
July 30, 2014, 02:22:34 PM
 #548

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.

Code:
# 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 Smiley
wood7
Sr. Member
****
Offline Offline

Activity: 322



View Profile
July 30, 2014, 02:29:14 PM
 #549

the coin was so strong...
bitfreak!
Legendary
*
Offline Offline

Activity: 1535


electronic [r]evolution


View Profile WWW
July 30, 2014, 02:33:55 PM
 #550

The default port should be 8253.

Quote
EDIT2: CONNECTED! after changing the port and giving it a while Smiley
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
Full Member
***
Offline Offline

Activity: 168


View Profile
July 30, 2014, 02:44:21 PM
 #551

I cant find block explore
Do we have one? Smiley

Aero - Innovation, Progression and Excellence!
Next big thing? AeroME, read the Whitepaper
Crypto_Enthusiast
Sr. Member
****
Offline Offline

Activity: 350



View Profile WWW
July 30, 2014, 02:48:45 PM
 #552


Guys, if you want XCN added to Bittrex feel free to retweet my tweet to Bittrex https://twitter.com/Wolf_Of_Alts/status/494494275078348801

           ▄▄█████████▄▄
       ▄████▀▀       ▀▀████▄
     ▄██▀▀               ▀▀██▄
    ██▀                    ████
   ██                     ███▀██
  ██                    ▄██▀   ██
 ██                    ▄██      ██
██▀                  ▄██▀      ▄███
██                  ▄██      ▄██▀██
██                 ██▀    ▄███▀  ██
██               ▄██▀   ▄██▀     ██
██▄             ▄██  ▄███▀      ▄██
 ██           ▄██▀ ▄██▀         ██
  ██         ▄██▄███▀          ██
   ██       █████▀            ██
    ██▄   ▄████▀            ▄██
     ▀██▄███▀            ▄▄██▀
       ▀████▄▄       ▄▄████▀
           ▀▀█████████▀▀
L I V E T R E E   A D E P T TM
Own the future of entertainment
The World's 1st Community-Powered,
Film, TV and Content Network  ★

Quote
          ▄▄█████████▄▄
       ▄████▀▀       ▀▀████▄
     ▄██▀▀
marada
Sr. Member
****
Offline Offline

Activity: 441


View Profile
July 30, 2014, 03:03:13 PM
 #553

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?
Wolf0
Legendary
*
Offline Offline

Activity: 1764


Miner Developer


View Profile
July 30, 2014, 03:08:36 PM
 #554

So, I sat down with the miner for 30-45min.

(nsfw as always): https://ottrbutt.com/tmp/cnstock.png vs. https://ottrbutt.com/tmp/cnwolf.png

About 14.4%.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
bitfreak!
Legendary
*
Offline Offline

Activity: 1535


electronic [r]evolution


View Profile WWW
July 30, 2014, 03:13:54 PM
 #555

I cant find block explore
Do we have one? Smiley
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!
Legendary
*
Offline Offline

Activity: 1535


electronic [r]evolution


View Profile WWW
July 30, 2014, 03:43:07 PM
 #556

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 Offline

Activity: 107


View Profile
July 30, 2014, 04:34:28 PM
 #557

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!
Legendary
*
Offline Offline

Activity: 1535


electronic [r]evolution


View Profile WWW
July 30, 2014, 05:08:22 PM
 #558

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 Offline

Activity: 75


View Profile
July 30, 2014, 05:10:38 PM
 #559

Files may have modified my bitcoin %appdata% folder(win64). Can anybody verify?
Markos
Member
**
Offline Offline

Activity: 107


View Profile
July 30, 2014, 05:21:13 PM
 #560

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.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ... 191 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!