Bitcoin Forum
May 06, 2024, 09:50:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 [52] 53 54 55 56 57 58 59 60 61 62 63 »
1021  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [CGA] Cryptographic Anomaly - The Elusive Coin on: February 23, 2014, 09:04:37 PM
Yeah but you can't choose when to complete a block can you? In my understanding, (I'm only looking into these things since today so forgive me if i'm being stupid) you could indeed vary nTime but therefore you would have to have solved the hash already, then send it in when the difficulty would change so that the next block would create an anomaly. To do so you would need immense hash power to beat not only everyone who tries to solve the block, but also beat the exact time you need for the next block to be an anomaly too.

nTime IS when you completed the block.  So yes, you definitely can choose.  and nTime is part of calculating the hash.  No need to actually submit a block at a specific time, just vary nTime as needed.

Please PM me this code so I can determine if I need to make a fix.
The code is in your own client - just call getBlockValue ?
1022  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [CGA] Cryptographic Anomaly - The Elusive Coin on: February 23, 2014, 08:50:59 PM
What I don't understand is how would you determine the next difficulty so that you know whether or not you create an anomaly. And more important how could you influence the difficulty? It's still completely random when someone will solve a block, so therefore it would be completely random what the next difficulty would be. You can calculate an estimate of this but  theoretically it could take forever. Could you help me, what don't I understand?
You don't need to determine the next difficulty, Anomalies are based on the _current_ difficulty, which becomes evident when you read the source code (and it seems, the OP in this thread even says that pretty clearly).  Basically, (anomaly? yes/no) is determined from height_of_block and difficulty_of_finding_THAT_block.  Not difficulty of finding the following block.

You can influence difficulty by abusing KGW.  If you look into how KGW works, it's entirely based on nTime - block discovery time as a unix timestamp.  Thing is, nTime is very flexible - you can specify at least + or - 100 seconds and it will be accepted by the network.  There is nothing random about nTime - it's chosen by the miner... and nTime is "when" someone solved the block
1023  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [CGA] Cryptographic Anomaly - The Elusive Coin on: February 23, 2014, 08:48:29 PM
If someone had enough hashing power to build off their own chain (aka, 51% of the network; or using selfish-mining principles, as little as 30% of the network), they could predict the nTime required on the next block that would result in the following block being an anomaly.  Using this system, and by only building on your own chain, you could cause EVERY block to be an anomaly.  A would-be attacker (say, multi-pool), could mine the network, orphaning everyone else's blocks, and get a payout on every block at the same time.

Furthermore, there is absolutely no reason to mine worthless blocks (non-anomaly) - if you wanted to mine CGA, it makes the most sense to mine litecoin (for example) until the next block is an anomaly, and then switch to CGA, switching back as soon as a block is found by the network and the next block is not an anomaly.  The diff is low enough that solo-mining would likely find this fairly effective and profitable.

If pools, or someone solo-mining felt like it, they could also pick nTimes selectively and cause the following block to always be an anomaly (wouldn't necessarily benefit them, but would significantly increase the number of anomalies that occur).


If you have this code I would like to see it. What you explained still requires someone to solve the 0 blocks... The probability of a block EVER generating an anomaly is at the most 1/3. So someone has to solve those 2 other blocks before you can even think about generating an anomaly. Once the difficulty is over 3 then the probability is 1/diff so you would still need to solve the 0 blocks. You can't just have everyone skip over them and make "more" anomalies... that is impossible.
True, at diff < 3, only every third block can be an anomaly.  This in and of itself is pretty amusingly exploitable by miners - again, why would you mine the obviously worthless blocks?  Let someone else (a fool it seems) waste their hashing power on the 0 reward blocks.  A smart pool operator would know this too - and would be redirecting their hashing power to another coin (with or without telling their miners).  If you can't find a valuable block anyway, then why bother - you can simply _say_ you found a worthless block once and a while, meanwhile keeping the litecoin or dogecoin or whatever you are also mining for yourself.

If diff > 3, then every block can be an anomaly, and therefore all an attacker needs to do is raise the difficulty above 3 while holding 51% of the hashing power (setting the difficulty as desired would be fairly easy - again by abusing KGW and nTime), to ensure every block is an anomaly.

Anyway, I would honestly prefer this coin succeed.  I have made it pretty clear how to selectively mine this coin at this point, and I decided I would prefer not to release the few lines of code required to predict the next block.  CGA seems like a neat idea - what brought me here is that I was considering mining it, but as I usually do, I dug thru the source code first.  Which brought me to this conversation now.

I do hope this coin could succeed, but unless a huge change is made to the protocol, at some point, someone definitely will exploit this huge flaw.
1024  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [CGA] Cryptographic Anomaly - The Elusive Coin on: February 23, 2014, 08:11:50 PM
Okay... so the code I threw together seems to suggest s4w3d0ff led me a bit astray... (and he seems to be leading everyone astray by talking about 50% mining power still leaving you with a coin-flip probability of finding a block...)

Unless I missed something (quite sure I did not), every block appears to be predictable - anomalies occur based on the CURRENT difficulty and the CURRENT block height... not the upcoming difficulty.  So there is no prediction or calculation of nTime required to determine the value of future blocks.  My testing indicates that you can reliably predict if the next block is an anomaly or not, every time, just by calling GetBlockValue from a newly created API function, using block height as a param.  No fancy code is required, and KGW doesn't even come into play here.  Anybody should be able to add a "isNextAnomaly" function to the daemon quite easily.

This means 2 things:

If someone had enough hashing power to build off their own chain (aka, 51% of the network; or using selfish-mining principles, as little as 30% of the network), they could predict the nTime required on the next block that would result in the following block being an anomaly.  Using this system, and by only building on your own chain, you could cause EVERY block to be an anomaly.  A would-be attacker (say, multi-pool), could mine the network, orphaning everyone else's blocks, and get a payout on every block at the same time.

Furthermore, there is absolutely no reason to mine worthless blocks (non-anomaly) - if you wanted to mine CGA, it makes the most sense to mine litecoin (for example) until the next block is an anomaly, and then switch to CGA, switching back as soon as a block is found by the network and the next block is not an anomaly.  The diff is low enough that solo-mining would likely find this fairly effective and profitable.

If pools, or someone solo-mining felt like it, they could also pick nTimes selectively and cause the following block to always be an anomaly (wouldn't necessarily benefit them, but would significantly increase the number of anomalies that occur).

so can you not restrict connections to pools that don't allow for that? Is there no a way to restrict multipools for connecting? Or at least force them to mine for a certain period before a payout.
I am sure I read somewhere that some pools you only get your full expected return after 2 weeks of mining there?
Just trying to help for obvious reasons Wink
Simply put - no.  If I have the longest chain, it must be accepted by the network.  Adding restrictions around this essentially destroys the openness of the protocol, and would require some form of centralization (defeating the purpose of crypto-currencies and proof of work design).
1025  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [CGA] Cryptographic Anomaly - The Elusive Coin on: February 23, 2014, 06:49:14 PM
Panic selling it seems. Sometimes it would be nice if someone thinks they have found a "trick" to keep to private messages with devs.
Why? This is well known stuff... if a dev doesn't know this about their own code, then there is certainly an issue.

Anyone can find this out by reading the source code and running a few simple tests.
1026  Alternate cryptocurrencies / Pools (Altcoins) / Re: [ANN][POOL] Profit switching pool - wafflepool.com on: February 23, 2014, 06:24:51 PM
Queue payout style system sounds smart to me.  And I also agree that a fee increase would be warranted, should this be implemented.
1027  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [CGA] Cryptographic Anomaly - The Elusive Coin on: February 23, 2014, 05:59:06 PM
Please consider communicating this (your findings and your tests) directly to s4w3d0ff and myself so that we have a chance to possibly fix it before you release it into the wild. We're both in the IRC (#cganomaly @ freenode), though he is currently AFK. You can also message us via bitcointalk if you prefer. If we are able to release a fix before the general public has access to it, there may be a reward for you.
Read 1 page back - I talked about this with s4w3d0ff in this thread yesterday.

I highly doubt there _is_ a fix possible, at least without significant changes to the system.  When you are hashing a block, part of that of what you are hashing is transactions - one of those transactions if the "pay me for this block".  Unless you re-write the entire protocol to handle this differently, I see no easy way to make the reward unpredictable.  Every "random" block reward coin suffers from this - Doge, Lotto, Moon, Leaf, etc.  However, in the case of CGA, it seems potentially devastating (if it catches on, who is going to mine a block they know is worthless?).  And you have to presume something this obvious is going to catch on.

Now would this also allow control of a network then by skipping the 0 blocks and forcing the 0 blocks that carry tx fees to poof?
Not quite sure what you mean.  It could allow someone with enough hashing power to 51% the network and cause ALL blocks to be an anomaly.  Or it could allow a smaller miner to predict if half the blocks will be 0 or 1, and then intentionally cause the other half of blocks to be 1 ALWAYS.
1028  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][RON] SwansonCoin [KGW] ** Launched! ** CryptoRush ** on: February 23, 2014, 05:52:43 PM
Dev, you could have made a solid coin and probably had a solid community as well if you weren't so greedy!! It's a shame the coin name and logo had to be wasted.. Damn shame.
Well, let's wait and see.  Normally I would agree, but the dev seems legitimately intent on holding these funds and using them for development and coin advancement.  I would have preferred 0% premine, or something more reasonable like .5%, because it requires no trust.  But at this point, I highly doubt the dev is going to dump on the market.
1029  Alternate cryptocurrencies / Pools (Altcoins) / Re: [ANN][POOL] Profit switching pool - wafflepool.com on: February 23, 2014, 05:50:06 PM
The occasional delay is not the problem here... but having some guys paid while other not!!!  If you are running a business and pay half of your employees, I can guaranty you that you'll have to deal with a strike the next day.  I just try to say that every miner should be treated the same way, without randomly picking people or something like that!  If only 50% can be paid you delay the payout for everyone or pay everyone a half payout.  It's just accounting.

Anyway, thanks for the payout, and I'm looking forward for the final explanation from cryptsy, they so often have issues that they become expert in justifications and other excuses.
I simply do not understand your logic... I would be saying the same thing if I got paid or not, which is 'as long as I get paid eventually...'.  Somehow I think you wouldn't be bitching if you were one of the people that got a payout.

Anyway, PW isn't running a business paying employees.  He's paying contractors - and lots of companies delay paying certain contractors for whatever reason.  So you're analogy doesn't hold water, sorry.
1030  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [CGA] Cryptographic Anomaly - The Elusive Coin on: February 23, 2014, 05:37:01 PM
Wow!!! Now that you have found the flaw... Can you please help us with an idea on a fix?  This coin is more original than the other 99% out there, imho !!!
As far as I know, there is no proven way to make a block reward not predictable and not miner selectable at the same time.

It might be possible to use the discovered blockhash to choose reward, but that would likely require some significant changes to the underlying protocol.
1031  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [CGA] Cryptographic Anomaly - The Elusive Coin on: February 23, 2014, 05:27:55 PM
FYI: If have been digging into CGA code a bit more, and if my tests are successful today, I plan to release code that will allow predicting and forcing anomalies on CGA.

It will look like this:
- An odd # block is found.  The script can immediately tell you if the next block is an anomaly or not.
- An even # block is found.  The script can immediately tell you what nTime values to use to GUARANTEE the next block is an anomaly.

So we can all use this to our advantage?  Even if there are a few miners on the network then what are my chances?  Or is this strictly for multipools?
More so to simply show that this coin design is (unfortunately) inherently flawed.  I am sure there are already people exploiting this 'anomaly' (oh, pun lol).
1032  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [CGA] Cryptographic Anomaly - The Elusive Coin on: February 23, 2014, 05:08:27 PM
FYI: If have been digging into CGA code a bit more, and if my tests are successful today, I plan to release code that will allow predicting and forcing anomalies on CGA.

It will look like this:
- An odd # block is found.  The script can immediately tell you if the next block is an anomaly or not.
- An even # block is found.  The script can immediately tell you what nTime values to use to GUARANTEE the next block is an anomaly.
1033  Alternate cryptocurrencies / Pools (Altcoins) / Re: [ANN][POOL] Profit switching pool - wafflepool.com on: February 23, 2014, 04:55:11 PM
I have no problem with an occasional delayed payout - PoolWaffle always comes thru.

That said, I would be happy to see the fee raised a bit - to maybe 1.5% or 2%.  Seems more then fair, and still the lowest I have seen (specifically when nobody offers a truly comparable service right now). PW having more $ on hand to potentially expand operations, handle late payments, or whatever, just sounds like a decent idea.

Poolwaffle any chance you could start posting these tidbits on the reddit as well, I know it is a pain having to post on a hundred sites but would be great to not have to read 40 messages just to see what's happening. Sorry to be a bother.

Reddit is way more annoying to following, IMO.  It takes a whopping few minutes a day to scan thru the new posts in this thread, and keeps everything centralized.  I am glad PW keeps his communication here - I am sure it kills less of his time.
1034  Alternate cryptocurrencies / Pools (Altcoins) / Re: [ANN][POOL] Profit switching pool - wafflepool.com on: February 23, 2014, 07:39:12 AM
I'm pretty sure payouts are still being done manually.

Also, if it was done according to the miner list, which lists miners only by the largest worker, not total hashrate, that could explain things, though I don't agree it makes much sense.
I doubt "manual" means actually entering numbers manually lol... more like "manually running a script".

And I would presume it would run by largest balances first, but who knows - could be any given sort order, but based on me receiving a payout, I'm guessing it has something to do with those higher up the chain.  Or maybe it was just random.  Who knows.

Anyway, PoolWaffle obviously still has the "Note: Payouts are slightly delayed" on the site for a reason - I am sure everything will be cleared up in around 12 hours.
1035  Alternate cryptocurrencies / Pools (Altcoins) / Re: [ANN][POOL] Profit switching pool - wafflepool.com on: February 23, 2014, 07:34:55 AM
If you look at the global stats page, you'll see that a payout occurred at around 3 AM, but not all miners have apparently been paid!  Why paying some and not others instead of making it proportional since we are all waiting since yesterday?  Anyway, it's not fairplay!!!
Just a guess, but I bet the larger miners got paid, although this wasn't intentional.  Looks like a bunch of coins got exchanged at the same time as cryptsy finally sent the bitcoin payment, payment went out, but because there was so much exchanged balance sitting on cryptsy, there wasn't enough to pay everyone.  I highly doubt this was intentional - payout script probably ran and cleared people's balances until there was no BTC left.

Logical a payout script would start at the top and work down (simple sort order), so smaller miners accidentally not getting a payout does make sense.

Anyway, it really shouldn't matter - everyone will get paid tomorrow, and then you can just smile about a much bigger then average 1-time payout.
1036  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [CGA] Cryptographic Anomaly - The Elusive Coin on: February 23, 2014, 07:27:28 AM
Aww you may be right... I see this as kinda "over the top" tho...
Heh, it's what the 40MH/s+ on the big profitability switching pools do to all the variable rate coins.  I just find it interesting that the hashrate on CGA seems so steady given this.  But maybe it's not - I think I'll try running some stats calculations tomorrow to determine if there is a potential difference in the discovery rate of anomaly blocks vs non-anomaly blocks - I have a feeling it'll be statistically significant.
1037  Alternate cryptocurrencies / Pools (Altcoins) / Re: [ANN][POOL] Profit switching pool - wafflepool.com on: February 23, 2014, 07:24:18 AM
HERE'S MY INFO PHZI-

1AxpUz56WxDwfnQCZLQLbCYrdnuXxSuzdD
<snip>

According to that you were last paid at the same time everyone else was.
Actually, I got a payout at 2014-02-23 02:xx.  So that does seem a bit weird.

Anyway, just hang in there Clocker, you'll get a payout tomorrow I am sure.  Seems like some payouts just got delayed or something because of all the issues.

I've been around here for a long time, and sometimes the payouts are late, but they always seem to come thru.  (PoolWaffle kinda rocks that way Wink.

---

@PoolWaffle:  Have you ever looked at [CGA] Cryptographic Anomaly?

I was just reading thru the source, and realizing that it looks like you could intentionally cause all of your blocks to be worth 1 coin (most blocks are worth 0, some are worth 1), by picking your nTime carefully.  It is definitely low diff, but seems valuable enough that it might be worth throwing some hash at briefly and dumping on the markets.
1038  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [CGA] Cryptographic Anomaly - The Elusive Coin on: February 23, 2014, 07:18:43 AM
But no the diff doesn't change every block... every 2 blocks, so yes you could still "try" and raise your odds by hopping... but that just seems unreasonable.
Hm... well, might have to play a bit with this tomorrow.  To me, it seems there is a sure way to ensure you're never mining a worthless block.  Which then seems like it would make those people mining the worthless blocks nothing short of fools.  I also presume it's likely someone else has already figured this out.

At a minimum at least, you could tell if every 2nd block is worth mining or not, and if not, mine Litecoin or something instead of wasting your hashes on a worthless CGA block.
1039  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [CGA] Cryptographic Anomaly - The Elusive Coin on: February 23, 2014, 07:14:05 AM
That isn't necessarily how KGW works (it kind of "averages" the time between blocks) but what I'm getting at is that as soon as you calculate which block will generate an anomaly, you would have to be "lucky" enough to jump in at the right time and solve the block. But since everyone is trying to solve that block... your odds are slim. And lets say you aren't the only one trying to do this... Now your odds have gotten even worst. This forces miners to stay in the network and solve the reward-less blocks, for it actually raises their odds.

See the edit to my last post, since you have a fair bit of play with nTime, and from my quick analysis of KGW, it seems you could make EVERY block you find an anomaly.

The only unknown variable to calculate the diff of the next block seems to be nTime...

I will have to dig into that tomorrow.

Also, as far as "hopping on" only for valuable blocks - that's exactly what smart multi-pools do with Doge, Leaf, Moon, Lotto, etc... since all of their block rewards are seeded from the previous block hash, and are therefore predictable before the block is mined.  Based on design, you either have to known the BlockValue before hand, or else it is likely possible to choose what block value suits you - I have yet to figure or see out a way around that, which is what brought me to think about CGA.
1040  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [CGA] Cryptographic Anomaly - The Elusive Coin on: February 23, 2014, 07:01:03 AM
And so you know EXACTLY what the net hash rate is going to be and how long it will take to solve the next block, thus predicting the new difficulty BEFORE the coin can. I'd like to know how.... And if you could... You should make a pool that has 100% profitability for CGA...
Ah I see, so you're relying on KGW to change the diff every block and therefore make the diff input to fmod(block, diff) unpredictable.

Interesting point there tho... I will have to dig into KGW a bit more - is it based on ntime or broadcast time?  If I recall correctly, it's purely based on nTime differences (but I could be totally wrong).
If nTime based, then you could calculate the nTime required on the next block to produce an anomaly, and use that nTime, no?

Edit:

Yup... it definitely looks that way - so... here's what I'm thinking:

Kimoto's gravity well uses:
Code:
PastRateActualSeconds = BlockLastSolved->GetBlockTime() - BlockReading->GetBlockTime();

As it's key adjustment variable... now, given that GetBlockTime is:

Code:
 int64 GetBlockTime() const
    {
        return (int64)nTime;
    }

That means unless I am missing something, it should be possible to make EVERY block you mine an anomaly by carefully selecting the nTime you use on your block.  Mind you, this is a rather quick thought and I definitely could be missing something.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 [52] 53 54 55 56 57 58 59 60 61 62 63 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!