is the closed source myriad groestl miner from satoshi box working? any reviews? thanks
it is reportedly working on hawaii based cards (290, 290x, 390...), apparently NOT working on rx series (polaris), NOT faster than opensource on tahiti (280, 280x...)
|
|
|
coinbase * 243*COIN+10*CENT / MAX_MONEY
Thanks Lack of parentheses made it tricky, but I have finished with this: ((max_coins - mined_coins) * 243.1) / max_coins And (max_coins - mined_coins) should equal the balance of the coinbase account.
|
|
|
Downloading cryptonite wallet again, On bottom right of screen it shows 2 black screens with a red cross, saying 0 active connection to cryptonite networks. It's been saying this all day, I tried cancelling, deleting and downloading few times but there's zero active connection to cryptonite networks.
How long do you think this will last? It's been like this since 8am UK time, is now gone 5pm
Please hellppppp
Thank you
I have 50 connections on my daemon. You might have some software or hardware firewall blocking the connections.
|
|
|
hello pallas ,can you make a m7 hash moudle for nomp ?
someone did it already. but it's only part of the story: you need to adapt the software to the different getblocktemplate results.
|
|
|
you are right. maybe it's that space:
x.x.x.x: 8252
|
|
|
yes there are some "tricks":
- allow incoming connections - compile your own wallet with optimisations for your cpu (-march=native -O3) - mine with "-s 2" (getwork expire in seconds)
From what I'm understanding I'm already allowing incoming connections (listen=1). I'm mining with "-s 1". Would it make a difference to set it to 2? And if so, why? listen=1 may not be enough, you may need to open the right port on your router/firewall or use upnp. I found out that ccminer doesn't like -s=1 and prefers -s=2, at least on my rigs. Pallas, excuse my ignorance that is -s = 1 and -s = 1, I am new in this currency, where is this configuration done? Is it in the miner or in the .conf file of the wallet? I also want to ask if you can solomining from a network other than the wallet, what configuration would you have to put in the .conf file of the wallet? why I have put this: Rpcallowip = x.x.x.x (ip publishes) Rpcport = 8252 Rpcuser = user Rpcpassword = pass Listen = 1 Server = 1 Daemon = 1 Rpcthreads = 64 Maxconnections = 1000 But does not accept connections from outside with the miner. In the miner is: Ccminer -a m7 -o x.x.x.x: 8252 -u rpcuser -p rpcpassword But does not connect, ports are open in firewall and router What would you recommend? -s is a commandline option of the miner. rpcallowip = ip (or subnet) of the machine with the miner
|
|
|
The upfront cost does not change things that much. It only blocks small miners, but bigger farms will buy it and make the difficulty rise, to the point it's not profitable for them any longer, 'cause they battle each other.
|
|
|
WALLET IMPROVEMENT PROGRESS UPDATE
I want to increase the max trie slice size. That is the maximum size of the pieces of accouting sheet, that are requested by a syncing client, and sent by its sync peer back. I think that will improve the initial sync a lot (because that's where it usually stops). It will also reduce load on both machines, as they will do less operations. The problem is that the change may introduce additional issues if the wallets aren't updated soon enough. That is, unless I want to make a new protocol version and all the stuff that is needed to deal with two different protocols together. But maybe it's a non issue, because the old clients do not need to get those trie slices (they just get the new full blocks), and the new one will use the new wallet. Same if you use the blockchain snapshot: you don't need trie slices in that case.
What do you guys think about this matter?
|
|
|
coinbase * 243*COIN+10*CENT / MAX_MONEY
|
|
|
yes there are some "tricks":
- allow incoming connections - compile your own wallet with optimisations for your cpu (-march=native -O3) - mine with "-s 2" (getwork expire in seconds)
From what I'm understanding I'm already allowing incoming connections (listen=1). I'm mining with "-s 1". Would it make a difference to set it to 2? And if so, why? listen=1 may not be enough, you may need to open the right port on your router/firewall or use upnp. I found out that ccminer doesn't like -s=1 and prefers -s=2, at least on my rigs.
|
|
|
- compile your own wallet with optimisations for your cpu (-march=native -O3)
Question: Is this correct then: ./configure CFLAGS="-O3 -march=native" CXXFLAGS="-O3 -march=native" ? yes but you may need to add other options, depending on your setup.
|
|
|
Or, you can make a simple calculation: take your hashrate and divide by the net hashrate; a block of about 200 xcn of award is generated every minute, you will take your share of that, but you must take into account about half because of orphans and failed submissions.
The qt wallet should close in some seconds.
Is there anything to be done to optimize orphans? I just mined three blocks within three minutes but two of them were added to my wallet as "generated but not accepted". Is there anything I can do in either the miner or wallet in order to try to reduce this? yes there are some "tricks": - allow incoming connections - compile your own wallet with optimisations for your cpu (-march=native -O3) - mine with "-s 2" (getwork expire in seconds)
|
|
|
@pallas Please share with me block_reward formula for XCN I cant find it anywhere in the repo codes and none of my usual formulas match either.
void mpz_set_uii(mpz_t &mpz, uint64_t v){ mpz_import(mpz, 1, -1, sizeof(uint64_t), -1, 0, &v); } uint64_t mpz_get_uii(mpz_t &mpz){ uint64_t v[16]; mpz_export(v, 0, -1, sizeof(uint64_t), -1, 0, mpz); return v[0]; } int64_t GetBlockValue(uint64_t coinbase, uint64_t nFees) { mpz_t mcb,mquot,t; mpz_init(mcb); mpz_init(mquot); mpz_init(t); //Setup so half of coinbase distributed in ~10 years mpz_set_uii(mcb,coinbase); mpz_set_uii(t,243*COIN+10*CENT); mpz_mul(mcb,mcb,t); mpz_set_uii(t,MAX_MONEY); mpz_div(mquot,mcb,t); uint64_t value = mpz_get_uii(mquot); mpz_clear(mcb); mpz_clear(mquot); mpz_clear(t); return value + nFees; }
|
|
|
Hi,
I'm trying to compile on Ubuntu 17.04 - and it doesn't work. Here is what I'm doing:
Since you are on ubuntu, why don't you simply use gcc?
|
|
|
Is there a calculator for Cryptonite available? Doesn't seem that whattomine is anywhere close to correct. Edit: Also, is there a way to set up a fail safe wallet? What I mean is that if my PC that I mine to would happen to go offline, can I set up so that my miners connect to a backup "server" of my choosing? Another edit: Is the qt wallet supposed to take forever to close? It's been 10 minutes now and it doesn't shut down. It's still responsive but stuck at "Do not shut down the computer until this window disappears". This is the debug log since I tried to shut it down: 2017-07-10 18:34:36 Requesting shutdown 2017-07-10 18:34:36 Running Shutdown in thread 2017-07-10 18:34:36 opencon thread interrupt 2017-07-10 18:34:36 dumpaddr thread stop 2017-07-10 18:34:36 addcon thread interrupt 2017-07-10 18:34:36 msghand thread interrupt 2017-07-10 18:34:36 net thread interrupt 2017-07-10 18:34:36 Shutdown : In progress... 2017-07-10 18:34:48 CreateNewBlock(): total size 1828 2017-07-10 18:34:48 Mining for trie hash: Calculator: when suprnova works, you can take its estimate and divide by two. Or, you can make a simple calculation: take your hashrate and divide by the net hashrate; a block of about 200 xcn of award is generated every minute, you will take your share of that, but you must take into account about half because of orphans and failed submissions. Failsafe solo mining: ccminer doesn't support backup pools. If you know some scripting you can manage some crude form of automatic backup. The qt wallet should close in some seconds.
|
|
|
I think I am done with it. Will add in another section, but as its own for solo mining. Added in about testing and for UPNP.
Thanks! I just dropped a note to bitfreak. Meanwhile there is a link to your guide in the first post.
|
|
|
thanks! when it's ready, I will notify bitfreak so he can update the wiki.
|
|
|
Damn, is not there a Windows wallet ? Of course there is. Look in cryptonite.info
|
|
|
Hey Pallas, about your miner: I'm currently trying to import it into my eclipse cdt installation (Win7x64). (I'd like to get into CUDA and also see whether I can maybe build a more optimised version for my PC)
Are you developing with eclipse, too? I'm struggling with importing it as an existing makefile project. I have mingw64 installed and can compile&run hello world successfully, it's now only about understanding how to import the project correctly. I'd rather not use VisualStudio as I really like eclipse a lot. Also the .sln file seems broken? Could you give me a hint maybe? Right now, after creating a new makefileproject with existing source code in that folder, whenever I click build, eclipse shows a nullpointer exception error (odd).
Do I have to regenerate the makefile first? If so, how would I do that on windows? Thanks!
No, I don't use IDEs, just a text editor. About the "project" files, I just edit the autoconf files, in this case Makefile.am. It's the most portable and standard way. Then ./autogen.sh, ./configure, make wow - I would never want to do that. I completely rely on eclipse's code-navigation and autocomplete features to keep an overview But thanks, I'll see how I get that imported. Must be possible somehow. I do use code navigation and completion as well. You do not need to import that, just run autogen, configure and make.
|
|
|
|