Pages:
Author

Topic: [ANN] LuckyCoin LKY | Lucky Blocks | Fast | Fun | Fair - page 35. (Read 113581 times)

member
Activity: 102
Merit: 10

It seems this pool is eating the extra reward of the lucky block (block with reward > 88)
 Sad

http://lky.allpoolz.com/

I checked my payout from each block (including those lucky block), the amount of payout for me is more or less the same, no matter the block reward is 88 or much larger. Where did the extra reward go?

Did anyone from here aware of this?
hero member
Activity: 518
Merit: 500
Where do you edit that code? I'll compile it on linux and test it right away, have 10Mh to throw at it so should be tested within an hour.
hero member
Activity: 630
Merit: 500
Bitgoblin
Well, you could look ahead if the next block will get a big reward and skip mining all the others.
Yes you can do that.
sr. member
Activity: 406
Merit: 250
The cryptocoin watcher
Well, you could look ahead if the next block will get a big reward and skip mining all the others.
hero member
Activity: 630
Merit: 500
Bitgoblin
That being said, I didn't check if the function gets really called successfully when checking a block, so it might have botched badly. But I strongly doubt that.
I think this coin is slightly above "crap", mind, only it's not the utter and total crap it would have been if this function didn't work as expected.
But looking at how the GetBlockValue function has been written, apparently the author isn't a great developer.
It contains two noob mistakes: (1) duplicated code, and (2) mixes tab and space indentation.
This fact alone is enough to be VERY wary of any code he has written. As if the fact of him being anonymous wasn't enough.
full member
Activity: 168
Merit: 100
Difficulty just updated?
hero member
Activity: 630
Merit: 500
Bitgoblin
Why wouldn't this work? I'd try it but don't want to screw around trying to compile this on Windows.

Code:
int static generateMTRandom(unsigned int s, int range)
{
    return 50001;
}

(you don't need the first 3 lines, and you could have simply did what I quoted here)

It shouldn't work because that function should get called not only by the miner, but also by every host once they receive the block: if the reward doesn't match, the block should be discarded as invalid.

Otherwise you could do this very same trick with Bitcoin itself.

That being said, I didn't check if the function gets really called successfully when checking a block, so it might have botched badly. But I strongly doubt that.
I think this coin is slightly above "crap", mind, only it's not the utter and total crap it would have been if this function didn't work as expected.
full member
Activity: 122
Merit: 100
I changed the function at launch to just give me 5888 coins.  Found two blocks, both rejected by the network.  Nope, can't cheat it this way. Smiley

To be fair, I found a whole lot of blocks at launch, all rejected by network...
hero member
Activity: 826
Merit: 1001
@Bit_John
this idiot uses a simple random number generator to determie block rewards. guess what happens when i remove that and just return max block reward instead?

i will be posting an altered client that gets 5k coin rewards every time, in the next hour or so. this coin is trash and needs to die.

Actually that doesn't look possible:

Code:
		const char* cseed = prevHash.ToString().substr(8,7).c_str();
long seed = hex2long(cseed);

int rand = generateMTRandom(seed, 100000);

if(rand > 30000 && rand < 35001)
nSubsidy = 188 * COIN;
else if(rand > 70000 && rand < 71001)
nSubsidy = 588 * COIN;
else if(rand > 50000 && rand < 50011)
nSubsidy = 5888 * COIN;

The seed is based on the previous hash, hence it might be open to some kind of attacks, but "just changing the function" should not work.
Unless he botched badly block verification, of course.

I changed the function at launch to just give me 5888 coins.  Found two blocks, both rejected by the network.  Nope, can't cheat it this way. Smiley

glad it got tested
sr. member
Activity: 252
Merit: 250
this idiot uses a simple random number generator to determie block rewards. guess what happens when i remove that and just return max block reward instead?

i will be posting an altered client that gets 5k coin rewards every time, in the next hour or so. this coin is trash and needs to die.

Actually that doesn't look possible:

Code:
		const char* cseed = prevHash.ToString().substr(8,7).c_str();
long seed = hex2long(cseed);

int rand = generateMTRandom(seed, 100000);

if(rand > 30000 && rand < 35001)
nSubsidy = 188 * COIN;
else if(rand > 70000 && rand < 71001)
nSubsidy = 588 * COIN;
else if(rand > 50000 && rand < 50011)
nSubsidy = 5888 * COIN;

The seed is based on the previous hash, hence it might be open to some kind of attacks, but "just changing the function" should not work.
Unless he botched badly block verification, of course.

I changed the function at launch to just give me 5888 coins.  Found two blocks, both rejected by the network.  Nope, can't cheat it this way. Smiley
full member
Activity: 122
Merit: 100
Why wouldn't this work? I'd try it but don't want to screw around trying to compile this on Windows.

Code:
int static generateMTRandom(unsigned int s, int range)
{
    random::mt19937 gen(s);
    random::uniform_int_distribution<> dist(1, range);
    // return dist(gen);
    return 50001;
}
hero member
Activity: 630
Merit: 500
Bitgoblin
this idiot uses a simple random number generator to determie block rewards. guess what happens when i remove that and just return max block reward instead?

i will be posting an altered client that gets 5k coin rewards every time, in the next hour or so. this coin is trash and needs to die.

Actually that doesn't look possible:

Code:
		const char* cseed = prevHash.ToString().substr(8,7).c_str();
long seed = hex2long(cseed);

int rand = generateMTRandom(seed, 100000);

if(rand > 30000 && rand < 35001)
nSubsidy = 188 * COIN;
else if(rand > 70000 && rand < 71001)
nSubsidy = 588 * COIN;
else if(rand > 50000 && rand < 50011)
nSubsidy = 5888 * COIN;

The seed is based on the previous hash, hence it might be open to some kind of attacks, but "just changing the function" should not work.
Unless he botched badly block verification, of course.
hero member
Activity: 630
Merit: 500
Bitgoblin
Required reading reg. LuckyCoin (and most/all other alt coins launched in the last weeks):
http://www.legitcoinage.com/?p=27
Redirects here but it's a 404 :/
sr. member
Activity: 339
Merit: 250

In the case of the p2pool:

cgminer --scrypt -o next.afraid.org:8116 -u yourLKYaddress -p . --queue 0 -s 1

statistics available here: http://next.afraid.org:8116. This pool use a PPLNS payout scheme, and is stratum enabled.


The PPLNS windows is set to 1 hour, so you will get the expected payout after only a few blocks found. Anyway, the default configuration is around 24H. You have to mine days and night to reach the expected value, not fair at all...


This server is always as effective, no orphan, and the payout is there. If you are looking for a reliable pool, it is there.

As far as I'm concerned, this server:  next.afraid.org:8116 is fine. If you are looking for a pool, this is the right one.

Block explorer enabled on the second node:  pool.afraid.org:8116

Server fully reliable and well connected - no orphan.
member
Activity: 103
Merit: 10
By the looks of it, http://lky.allpoolz.com has it six 188 coin blocks so far.

nice, did you get any 588 blocks?   Wink

i got one
hero member
Activity: 714
Merit: 510
member
Activity: 90
Merit: 10

In the case of the p2pool:

cgminer --scrypt -o next.afraid.org:8116 -u yourLKYaddress -p . --queue 0 -s 1

statistics available here: http://next.afraid.org:8116. This pool use a PPLNS payout scheme, and is stratum enabled.


The PPLNS windows is set to 1 hour, so you will get the expected payout after only a few blocks found. Anyway, the default configuration is around 24H. You have to mine days and night to reach the expected value, not fair at all...


This server is always as effective, no orphan, and the payout is there. If you are looking for a reliable pool, it is there.

As far as I'm concerned, this server:  next.afraid.org:8116 is fine. If you are looking for a pool, this is the right one.
full member
Activity: 126
Merit: 100
GPUDude
Found our first few blocks! Need some more hash power though.

Feel free to point your miners at my pool, link in signature.
member
Activity: 81
Merit: 10
By the looks of it, http://lky.allpoolz.com has it six 188 coin blocks so far.
And how is this refflected in payouts?

The blocks contains 88 coins, this is the result of a buggy software...
member
Activity: 81
Merit: 10

In the case of the p2pool:

cgminer --scrypt -o next.afraid.org:8116 -u yourLKYaddress -p . --queue 0 -s 1

statistics available here: http://next.afraid.org:8116. This pool use a PPLNS payout scheme, and is stratum enabled.


The PPLNS windows is set to 1 hour, so you will get the expected payout after only a few blocks found. Anyway, the default configuration is around 24H. You have to mine days and night to reach the expected value, not fair at all...


This server is always as effective, no orphan, and the payout is there. If you are looking for a reliable pool, it is there.
Pages:
Jump to: