FiatKiller
|
|
May 08, 2013, 08:17:50 PM |
|
I only had 8 connections when I hit my block so it is possible.
|
|
|
|
tacotime
Legendary
Offline
Activity: 1484
Merit: 1005
|
|
May 08, 2013, 08:18:23 PM |
|
I also believe the OP may be a bit BIP incompliant. I do not see an RPC command or a Field in getwork - getworkex or getblocktemplate that gives the current Nfactor. I may be wrong and missed it, but withholding vital mining information from RPC is ,shall we say "dirty pool" Here is where it's calculated in the source // yacoin: increasing Nfactor gradually const unsigned char minNfactor = 4; const unsigned char maxNfactor = 30;
unsigned char GetNfactor(int64 nTimestamp) { int l = 0;
if (nTimestamp <= nChainStartTime) return 4;
int64 s = nTimestamp - nChainStartTime; while ((s >> 1) > 3) { l += 1; s >>= 1; }
s &= 3;
int n = (l * 170 + s * 25 - 2320) / 100;
if (n < 0) n = 0;
if (n > 255) printf("GetNfactor(%d) - something wrong(n == %d)\n", nTimestamp, n);
unsigned char N = (unsigned char)n; //printf("GetNfactor: %d -> %d %d : %d / %d\n", nTimestamp - nChainStartTime, l, s, n, min(max(N, minNfactor), maxNfactor));
return min(max(N, minNfactor), maxNfactor); } Note that "N factor" means 2^N, so minimum is N=16. But it doesn't really matter what N is, you can just keep increasing the lookup_gap on higher N values and I think you still will get 5-10x better GPU performance (particularly once you offload onto DDR3 memory with the CPU, when N > 1024 or N factor is > 10; you're outside of the L2 cache at that point and the DDR3 is slooooow in comparison to GDDR5 so you should see at least 10x performance I would guess).
|
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
|
|
|
ymer
|
|
May 08, 2013, 08:20:55 PM |
|
you all might check your conf files, I've copie a version from somewhere where it used rcpallowip and not rpcallowip
Please post a copy of your config file. Right now is this but before it was with wrong spelled rcp/rpc, I've found about it actually in your orphan thread. addnode=82.211.30.212 addnode=78.21.9.49 addnode=76.115.8.101 addnode=124.149.56.205 addnode=178.130.36.81 addnode=82.6.77.126 addnode=106.187.55.212 addnode=81.202.104.33 addnode=84.200.17.178 addnode=88.204.169.242 rpcuser=user rpcpassword=x rpcallowip=127.0.0.1 rpcallowip=192.168.1.2 rpcallowip=192.168.1.3 rpcpallowip=192.168.1.4 rpcport=8108 port=7688 daemon=1 server=1 gen=0 If you are using that you are actualy not mining because gen=0 means no mining! You need all those lines only if you are using extrenal miner. I used that config and it works, I think that when you launch it from the command prompt specifying gen=1 it overrides the config file settings.
|
|
|
|
dreamwatcher
Legendary
Offline
Activity: 1064
Merit: 1000
|
|
May 08, 2013, 08:22:05 PM |
|
I also believe the OP may be a bit BIP incompliant. I do not see an RPC command or a Field in getwork - getworkex or getblocktemplate that gives the current Nfactor. I may be wrong and missed it, but withholding vital mining information from RPC is ,shall we say "dirty pool" Here is where it's calculated in the source // yacoin: increasing Nfactor gradually const unsigned char minNfactor = 4; const unsigned char maxNfactor = 30;
unsigned char GetNfactor(int64 nTimestamp) { int l = 0;
if (nTimestamp <= nChainStartTime) return 4;
int64 s = nTimestamp - nChainStartTime; while ((s >> 1) > 3) { l += 1; s >>= 1; }
s &= 3;
int n = (l * 170 + s * 25 - 2320) / 100;
if (n < 0) n = 0;
if (n > 255) printf("GetNfactor(%d) - something wrong(n == %d)\n", nTimestamp, n);
unsigned char N = (unsigned char)n; //printf("GetNfactor: %d -> %d %d : %d / %d\n", nTimestamp - nChainStartTime, l, s, n, min(max(N, minNfactor), maxNfactor));
return min(max(N, minNfactor), maxNfactor); } Yep, I saw that, I have it pasted to a note sheet along with other snipets. I guess I am going to make a patch and add an rpc command to get the Nfactor.
|
|
|
|
wachtwoord
Legendary
Offline
Activity: 2338
Merit: 1136
|
|
May 08, 2013, 08:22:48 PM |
|
Even with the port forwarded on my router I can't seem to connect to more than 8 peers.
Oh and a shout out to those that send donated to me. Thanks!
May be a silly question, but is your Windows Firewall turned on? Nope and my third party firewall (bundled with F-secure anti-virus) is disabled as well. Thanks for trying
|
|
|
|
Adamlm
|
|
May 08, 2013, 08:32:06 PM |
|
>12 hours and already >22000 blocks, database size ca. 50 MB. I wonder what it will be like in one year.. of course if YAC will be alive
|
|
|
|
jdebunt
Legendary
Offline
Activity: 1596
Merit: 1010
|
|
May 08, 2013, 08:32:50 PM |
|
just got my 12th block for 47.67 YAC, woohoo
|
|
|
|
seleme
Legendary
Offline
Activity: 2772
Merit: 1028
Duelbits.com
|
|
May 08, 2013, 08:34:27 PM |
|
you all might check your conf files, I've copie a version from somewhere where it used rcpallowip and not rpcallowip
Please post a copy of your config file. Right now is this but before it was with wrong spelled rcp/rpc, I've found about it actually in your orphan thread. addnode=82.211.30.212 addnode=78.21.9.49 addnode=76.115.8.101 addnode=124.149.56.205 addnode=178.130.36.81 addnode=82.6.77.126 addnode=106.187.55.212 addnode=81.202.104.33 addnode=84.200.17.178 addnode=88.204.169.242 rpcuser=user rpcpassword=x rpcallowip=127.0.0.1 rpcallowip=192.168.1.2 rpcallowip=192.168.1.3 rpcpallowip=192.168.1.4 rpcport=8108 port=7688 daemon=1 server=1 gen=0 If you are using that you are actualy not mining because gen=0 means no mining! You need all those lines only if you are using extrenal miner. I used that config and it works, I think that when you launch it from the command prompt specifying gen=1 it overrides the config file settings. yep, gen=1 when launching gives me generate=true in getmininginfo
|
|
|
|
megablue
|
|
May 08, 2013, 08:34:47 PM |
|
The nfactor thing is quite easily ported, I had made the nFactor worked with cgminer, however i have no experience dealing with opencl and nor do i speak scrypt (or keccak, chacha) fluently.
|
LTC: LQx367oQtbwsc7Ygf9S1B6E1d9LuGk7v11
|
|
|
wachtwoord
Legendary
Offline
Activity: 2338
Merit: 1136
|
|
May 08, 2013, 08:35:22 PM |
|
Even with the port forwarded on my router I can't seem to connect to more than 8 peers.
Oh and a shout out to those that send donated to me. Thanks!
May be a silly question, but is your Windows Firewall turned on? Nope and my third party firewall (bundled with F-secure anti-virus) is disabled as well. Thanks for trying If you are using Win binary downloaded from MEGA, keep on restarting YAC wallet until it connects to 8+ remote nodes. It might take a few tries but it worked for me. 50 connections now and slowly going up but still not even 1 orphan, LOL, I guess mining with 10 kHashes is already a history. Lol I got 2 orphans already but my hasrate is above yours (somewhere between 18k and 120k). I restarted it 10 times now and never get above 8 connections. Which is really weird as I have 10 connections defined in my yacoin.conf already: addnode=82.211.30.212 addnode=78.21.9.49 addnode=76.115.8.101 addnode=124.149.56.205 addnode=178.130.36.81 addnode=82.6.77.126 addnode=106.187.55.212 addnode=81.202.104.33 addnode=84.200.17.178 addnode=88.204.169.242 rpcuser=user rpcpassword=x rpcallowip=127.0.0.1 rpcallowip=192.168.1.2 rpcallowip=192.168.1.3 rpcpallowip=192.168.1.4 rpcport=8108 port=7688 daemon=1 server=1 gen=1
(I know the rpcallows are redundant for me)
|
|
|
|
jdebunt
Legendary
Offline
Activity: 1596
Merit: 1010
|
|
May 08, 2013, 08:36:36 PM |
|
just got my 12th block for 47.67 YAC, woohoo What OS? What CPU? How many hashes wallet reports with gethashespersec? OS : Windows 7 CPU : intel i5 2500 k cpu @ 3.30 ghz Hash rate with gethashespersec : 67180
|
|
|
|
nerdcustoms
|
|
May 08, 2013, 08:36:45 PM |
|
I believe a lot of it has to do with luck. My 32 core opteron setup has had 13 orphans 0 blocks, and my i5 670 (dual core /w hyperthreading) has 2 blocks/2 orphans in 3 hours of mining. Or it could be that the 3.4ghz clock rapes the opterons and that's why . Who knows? Compare the numbers of connections that they have, maybe? -MarkM- Both have 8 connections each. How would I increase the number of connections?
|
|
|
|
seleme
Legendary
Offline
Activity: 2772
Merit: 1028
Duelbits.com
|
|
May 08, 2013, 08:37:35 PM |
|
connection were important back then when we were getting orphans, now when we don't get anything they mean nothing.
|
|
|
|
Gamesfreak13563
|
|
May 08, 2013, 08:37:48 PM |
|
I'm sure it's been answered but how do you see mining statistics?
|
|
|
|
dykast
Newbie
Offline
Activity: 59
Merit: 0
|
|
May 08, 2013, 08:38:45 PM |
|
The nfactor thing is quite easily ported, I had made the nFactor worked with cgminer, however i have no experience dealing with opencl and nor do i speak scrypt (or keccak, chacha) fluently. Non programmer butting in. Are any of you actually mining on gpu's at this point or are you just brainstorming what you can do to compile it so it should work?
|
|
|
|
KrLos
|
|
May 08, 2013, 08:39:07 PM |
|
mining for 12 hours in my Phenom II x4 955 in 2 cores, NO OC...
9 blocks, 2 stales -> 673 YAKs.
|
|
|
|
Hmoobyaj87
Newbie
Offline
Activity: 24
Merit: 0
|
|
May 08, 2013, 08:40:07 PM |
|
I'm LOL'ing so hard now.. My i3 haven't found a block in 2 hrs and my i7 found 3 orphaned blocks, checked my laptop with the pentium dual-core at 2.20ghz and it mined a blocked... and the i7 has 61 active connections compared to 8 on the laptop
|
|
|
|
markm
Legendary
Offline
Activity: 2996
Merit: 1121
|
|
May 08, 2013, 08:40:30 PM |
|
Even with the port forwarded on my router I can't seem to connect to more than 8 peers.
Oh and a shout out to those that send donated to me. Thanks!
Check the machine's own native firewall, maybe? -MarkM-
|
|
|
|
wachtwoord
Legendary
Offline
Activity: 2338
Merit: 1136
|
|
May 08, 2013, 08:42:07 PM |
|
Even with the port forwarded on my router I can't seem to connect to more than 8 peers.
Oh and a shout out to those that send donated to me. Thanks!
Check the machine's own native firewall, maybe? -MarkM- All firewalls are disabled (Windows, F-Secure and the port is forwarded to the correct internal ip in the router)
|
|
|
|
relm9
|
|
May 08, 2013, 08:42:55 PM |
|
My luck has ran out it seems, hit 6 orphans in a row this past hour.
|
|
|
|
|