Pages:
Author

Topic: [ANN][YAC] yacoin: yet another altcoin. START is now. - page 67. (Read 346717 times)

legendary
Activity: 2324
Merit: 1125
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 Smiley
legendary
Activity: 1064
Merit: 1000
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"   Wink

Here is where it's calculated in the source
Code:
// 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.
sr. member
Activity: 308
Merit: 250
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.
legendary
Activity: 1484
Merit: 1005
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"   Wink

Here is where it's calculated in the source
Code:
// 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).
sr. member
Activity: 378
Merit: 250
I only had 8 connections when I hit my block so it is possible.
legendary
Activity: 2772
Merit: 1028
Duelbits.com
op definitely knows what to do to mine this with gpu/in masses and you can bet, he mined loads of them,lol
full member
Activity: 182
Merit: 100
fml
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?
legendary
Activity: 1190
Merit: 1000
www.bitcointrading.com
YLPc7bLQdTLqhvJWVfbFjMX49DmJ5o7oWP

if people are passin' 'em around it would be cool to have some YAC's Smiley
full member
Activity: 182
Merit: 100
fml
People, if you are stuck at 8 connections, it's because you need to open the port on your router. This has been said, many, many times. If you look, someone even made a step by step tutorial, on how to do it. Knowledge is power...
legendary
Activity: 1190
Merit: 1000
www.bitcointrading.com
estimate global hashrate?
legendary
Activity: 2324
Merit: 1125
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!
member
Activity: 112
Merit: 10
well ive been mining this bugger for 10 hours and have 345 coins so far, this is on an 8350 @ 4.6 running all 8 threads.

Tons of orphans. This is my shortcut for those interested:-

E:\Mining\YaCoin\yacoin-qt.exe -datadir=E:\Mining\YaCoin\Data -gen -genproclimit=8 yacoin-qt -gen -addnode=82.211.30.212 -addnode=78.21.9.49 -addnode=81.202.104.33 -addnode=5.9.86.98 -addnode=27.19.201.168 -addnode=13.28.12.51 -addnode=176.9.41.201

How many connections?

-MarkM-


I had 8 connections until i forwarded the ports and now i have 25 connections and growing fast.
legendary
Activity: 1064
Merit: 1000
So, instead of getting raped by GPU farms, we are now getting raped by multi-CPU server farms Huh

No, just the CPUs on GPU farms. Smiley

Probably you're getting raped by GPU farms, too.  You don't need to change the kernel from cgminer or reaper all that much to GPU mine this coin right now, and at the current value of N I would wager that most GPUs get 1000+ KH/s.

Wrong... it isn't using standard scrypt algo... you can mine with gpu but non of your shares will be accepted by the network.

I'm aware it's running block header hashes with keccak and chacha20 -- but all you need to do is port them to GPU kernel that comes with cgminer/reaper.
https://github.com/ckolivas/cgminer/blob/master/scrypt130302.cl

The keccak/chacha20 implementation he took from scrypt-jane is here
https://github.com/floodyberry/scrypt-jane/blob/master/code/scrypt-jane-hash_keccak.h
https://github.com/floodyberry/scrypt-jane/blob/master/code/scrypt-jane-mix_chacha.h

Edit: You need to play with the lookup_gap and thread_concurrency to get the best performance, too.

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"   Wink
legendary
Activity: 1190
Merit: 1000
www.bitcointrading.com
Are there any other flags you guys are using to mine?

yeah, this important flag:    -stop_mining_***_orphans_and_stop_putting_immature-48YAC_on_my_screen_for_10_seconds_to_then_just_dissapear

+1 I forgot to use that flag!  Thx! Wink
legendary
Activity: 2940
Merit: 1090
Using a (well connected) local socks proxy, but if I restart I go back to 2 connections and it slowly builds up. Will this ever get me more than 8 conns?

Only if you have incoming port for people to reach out to connect to you. If you are using a proxy I guess you'd need a reverse proxy to do that, or something?

-MarkM-
full member
Activity: 182
Merit: 100
"moneysupply" : 1,545,669

1,553,425.

Market price for this coin should be targeted right around Devcoin.

Still a very long way to go to catch up with FeatherCoin, ChinaCoin and PPCoin.

I think we're about a quarter the money supply of Feathercoin.
legendary
Activity: 2940
Merit: 1090
well ive been mining this bugger for 10 hours and have 345 coins so far, this is on an 8350 @ 4.6 running all 8 threads.

Tons of orphans. This is my shortcut for those interested:-

E:\Mining\YaCoin\yacoin-qt.exe -datadir=E:\Mining\YaCoin\Data -gen -genproclimit=8 yacoin-qt -gen -addnode=82.211.30.212 -addnode=78.21.9.49 -addnode=81.202.104.33 -addnode=5.9.86.98 -addnode=27.19.201.168 -addnode=13.28.12.51 -addnode=176.9.41.201

How many connections?

-MarkM-
full member
Activity: 182
Merit: 100
Still 0 blocks...

Here too, 9 orphans, 0 blocks. Is this a "normal" rate? Smiley

Edit, 10 orphans

Restart your YAC wallet until you get 8+ connections and stop whinning. If you are connected to just 8 nodes, chance to get just orphans is massive.

Using a (well connected) local socks proxy, but if I restart I go back to 2 connections and it slowly builds up. Will this ever get me more than 8 conns?
sr. member
Activity: 336
Merit: 250
That's it. I quit. Not a single block after many hours of mining with multiple CPUs.

If there are some lucky miners, I would be very happy if you would send me some YACs  Cheesy

YJMJm6fUqCfrvscdckUGgYTFPctXySYJPr

Thanks and bye.
legendary
Activity: 2772
Merit: 1028
Duelbits.com
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
Pages:
Jump to: