pallas (OP)
Legendary
Offline
Activity: 2716
Merit: 1094
Black Belt Developer
|
|
July 11, 2017, 08:12:51 AM |
|
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)
|
|
|
|
HamiltonWDS
Member
Offline
Activity: 78
Merit: 10
|
|
July 11, 2017, 08:26:33 AM |
|
- 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" ?
|
Sign off, Hamilton
|
|
|
nu1mlock
|
|
July 11, 2017, 08:41:17 AM |
|
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?
|
|
|
|
pallas (OP)
Legendary
Offline
Activity: 2716
Merit: 1094
Black Belt Developer
|
|
July 11, 2017, 08:42:26 AM |
|
- 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.
|
|
|
|
pallas (OP)
Legendary
Offline
Activity: 2716
Merit: 1094
Black Belt Developer
|
|
July 11, 2017, 08:43:29 AM |
|
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.
|
|
|
|
fredeq
Legendary
Offline
Activity: 1537
Merit: 1005
|
|
July 11, 2017, 09:12:23 AM |
|
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; }
Any chance you could change it to math equation? Cant really understand whats going on there. Maybe its similar to XMR formula? `(2**64 * 10**(-12) - 1 - total_coins) * 2**(-19)`
|
|
|
|
pallas (OP)
Legendary
Offline
Activity: 2716
Merit: 1094
Black Belt Developer
|
|
July 11, 2017, 09:51:16 AM |
|
coinbase * 243*COIN+10*CENT / MAX_MONEY
|
|
|
|
pallas (OP)
Legendary
Offline
Activity: 2716
Merit: 1094
Black Belt Developer
|
|
July 11, 2017, 11:41:01 AM |
|
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?
|
|
|
|
BigMcRat
Newbie
Offline
Activity: 38
Merit: 0
|
|
July 11, 2017, 12:01:46 PM |
|
do someone know which Exchange is working now?
|
|
|
|
teosanru
|
|
July 11, 2017, 02:35:57 PM |
|
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?
|
|
|
|
pallas (OP)
Legendary
Offline
Activity: 2716
Merit: 1094
Black Belt Developer
|
|
July 11, 2017, 02:42:26 PM |
|
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
|
|
|
|
teosanru
|
|
July 11, 2017, 02:52:43 PM |
|
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 Yes but I used that configuration for solomining in other currencies, but with cryptonite it does not work. Rpcallowip = IP publish I have placed with others and it works As I understand, you tell me to put Rpcallowip = private ip But if it works to mine from outside that network? Because I have two equipment of extraction in different network (ips publica) and the box in another network I do not know if it's a miner's problem, or a problem with configuring the wallet's .conf file
|
|
|
|
pallas (OP)
Legendary
Offline
Activity: 2716
Merit: 1094
Black Belt Developer
|
|
July 11, 2017, 02:55:47 PM |
|
you are right. maybe it's that space:
x.x.x.x: 8252
|
|
|
|
teosanru
|
|
July 11, 2017, 02:56:57 PM |
|
you are right. maybe it's that space:
x.x.x.x: 8252
With another currency this works for me Llpallowip = ip publishes: port Llpallowip = 127.0.0.1: port Without rpc user or password, just that, and it connects and can be mined from outside, but with this the cryptonite wallet can no
|
|
|
|
ELE.ZYK
|
|
July 11, 2017, 02:58:04 PM |
|
hello pallas ,can you make a m7 hash moudle for nomp ?
|
|
|
|
pallas (OP)
Legendary
Offline
Activity: 2716
Merit: 1094
Black Belt Developer
|
|
July 11, 2017, 03:13:04 PM |
|
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.
|
|
|
|
Sonew
Newbie
Offline
Activity: 9
Merit: 0
|
|
July 11, 2017, 04:19:51 PM |
|
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
|
|
|
|
pallas (OP)
Legendary
Offline
Activity: 2716
Merit: 1094
Black Belt Developer
|
|
July 11, 2017, 04:34:26 PM |
|
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.
|
|
|
|
maxim000
|
|
July 11, 2017, 04:55:17 PM Last edit: July 11, 2017, 06:22:10 PM by maxim000 |
|
seems as somebody launch pool - only 1/4 blocks in solo regarding yesterday
|
|
|
|
Sonew
Newbie
Offline
Activity: 9
Merit: 0
|
|
July 11, 2017, 07:09:46 PM |
|
Thank you Pallas,
I have firewall down and McAfee off too,will try again.
On Bter.com, on the XCN deposit page, the address at the top of page with QR code...... Is this the address to receive cryptonite to my online platform ? (Or for to awallet ? )
Thank you
|
|
|
|
|