Bitcoin Forum
May 26, 2024, 05:58:19 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 [252] 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 »
5021  Bitcoin / Development & Technical Discussion / Re: Current state of Bitcoin on: October 11, 2012, 09:44:54 PM
adjusted just to get more profit, like what idiot slush is doing with Stratum protocol
while at the same time pissing on GBT.
Slush is both intelligent and thoughtful and cares about what happens with Bitcoin. I've never seen him do anything for a quick buck.  Your unkind words here are unjustified and just make you look foolish.
5022  Bitcoin / Development & Technical Discussion / Re: Pruning - Is anyone working on its implementation? on: October 11, 2012, 08:24:20 PM
@sipa, may i ask :
will UltraPrune survive from large reorg ?
Yes, barring implementation bugs it behaves just like a normal node externally.
5023  Bitcoin / Development & Technical Discussion / Re: Current state of Bitcoin on: October 10, 2012, 11:01:38 PM
Solo mining is pointless because of Moore's law - if you are mining off a single GPU the rate of technological change will outstrip your ability to get the 50btc  bounty even once. You can calculate it today based on the equipment you have today at the current difficultly - it will report in the next year you may get 50btc if you are lucky (based on today's values). But during the next year the difficulty will increase and processing power will increase so it will take you 3 years and then 10 and then 50 years.  You may as well buy lottery tickets.
As a solo minor you will be forever chasing it, because of the increasing difficulty and the relative decreasing power of your hardware.

Wow. I'm really disappointed to see this misinformation still being promoted. It is completely untrue.  It's perfectly possible to solo mine and solve a block with your very first hash operation— just unlikely.   Assuming an idealized zero latency zero fee pool your expected return is the same either way.  With real pools its somewhat lower compared to a well maintained local node solo mining (although that may be something of a stretch, the reference client has some scalability / stability issues that make maintaining it harder than should be, but we're working on that).

Sequential trials of N months each isnt the right way to think about this. There are sequential trials— but they're happening billions of times a second, one for each hash operation.   A better mental model is to imagining forking off 2 million copies of the universe, a million solo mining, and a million pool mining. After any span of time the average of each of the groups would be the same (minnus pool fees and stales from latency to the pool, and differential maintenance quality in each), but the distribution would be different: in each of the pool universes you'd have a similar amount of coins, while in the solo universes some of you would have nothing, some would have the expected, some would have an enormous amount more than expected, but the over expected would match up with the under expected and the result is the expected average.

Or you you can think about it as choosing between two lotteries to play, one has a 1/1000 odds and pays out $0.98 (2% fee) for each win, and the other has a 1/1000000 odds and pays out $1000 for each win. Playing the lotteries cost the same, and you can play them thousands of times a day. Sometime in the future the relative odds will change but the payouts will stay matched. Which lottery do you prefer to play?     If not getting $.98 right away would make you die of dehydration then the pool is a clear win... otherwise it just depends on your relative risk tolerance and how you value your time. If the risk reduction and time savings doesn't justify the pools fees and hazard to bitcoin security (even if just theoretical: FUD hurts bitcoin too) for you then you should prefer to solo-mine.  (Or P2Pool!)

Difficulty changes don't make a bit of difference in this.  If you instead think about hash rate in terms of percentage of the total you can pretty much ignore the difficulty changes entirely.  
5024  Bitcoin / Pools / Re: [3100 GH] BTC Guild - Pure PPS Merged Mining - Stratum+Variable Diff ASIC Ready on: October 10, 2012, 10:49:09 PM
The payout minimum will not be lowered any time soon.  If it does, there will be a fee attached to requesting such a small payout, because I will not be the one paying the transaction fee in order to send somebody a payout that is worth less than $1.
As a long time user of Bitcoin and a developer: Thank you for taking a firm position against making dust payouts. Blockchain bloat is no one's friend, and tiny outputs will likely never get spent— meaning they'll bloat the txout set perpetually.
5025  Bitcoin / Development & Technical Discussion / Re: Current state of Bitcoin on: October 10, 2012, 07:03:14 PM
2. In my opinion, the most likely reason that so much hash power ignores the call to avoid centralized pools is that the hash power is one or a few botnets whose operators, for whatever reason, choose to use particular pool(s) as a business decision and consider decentralization a lower priority.  
I've seen fairly little evidence that the botnets are especially big factors (especially since many of the pools will block them when discovered), though they're something of a factor.

There are a great deal of other factors though.  Mining is— once established— passive income. As long as their GPU keeps spitting out coin many people are not in a rush to mess with what works.

There also has been (and continues) to be a widespread misunderstanding of mining: a lot of people fervently believe that mining is like a race: the fastest wins almost always, and they expect a non-linear increase in returns from being in the biggest pool.

Some of the larger pools have used tools like google adwords to promote themselves in the past too— with high fees that smaller pools an decenteralized services can't collect they can afford more marketing and polishing work.

This subject is a concern— but we're much better off now than where we were a year ago.  And the concerns are somewhat overstating the risk. Miners can and do switch pools pretty quickly (e.g. automatically), and more recently developed miners like BFGminer have checks which can automatically detect some kinds of pool treachery. "no one here or anywhere else can prove me that dozens of computers contributing more than 51% of network processing power is better", doesn't of pols is not the same as "dozens of computers contributing more than 51% of network processing power"


5026  Bitcoin / Development & Technical Discussion / Re: Handle much larger MH/s rigs : simply increase the nonce size on: October 10, 2012, 02:22:06 PM
Its not misdesign, its trade-off. The 32 bit nonce is old design, probably it looked great when only CPUs where doing mining, but right now it looks like a bottleneck.
It doesn't not look like a bottleneck. It provides a factor of four billion in reduction in whatever serial task exists outside of that. I have yet to see any evidence that it's a bottleneck.
5027  Bitcoin / Development & Technical Discussion / Re: Double-spending with 6 confirmations on: October 10, 2012, 02:15:59 PM
This is very simular to a speculation of how MyBitcoin, which required only 1 confirmation, was hacked with only 1 pre-mined block instead of 2 as required for a normal withholding attack: White Paper, section 11
As an aside, many people searched and none could find an orphaned block in their storage (bitcoin stores all blocks lost in reorgs) which contained a double spend against the main chain, making their claimed attack vector very unlikely. Moreover they refused to provide a copy of their blockchain file, which would have conclusively proved the attack. In light of this I believe it's far more likely that they gambled away or just outright stole the funds.

In any case, Bitcoin "takes advantage of the nature of information being easy to spread but hard to stifle"— you only need one honest connection to resist this kind of attack, and the attack can't be performed against reasonable client software that enforces a reasonable number of confirmations without a considerable cost in producing doomed blocks.
5028  Bitcoin / Development & Technical Discussion / Re: Handle much larger MH/s rigs : simply increase the nonce size on: October 09, 2012, 03:41:32 PM
kano is right. I did encounter this bandwidth issue, its somehow the same annoyance for hardware developers as it was diff1 and multi GHs miners network bandwidth consumption for pool operators. Unfortunately, solving hardware bandwidth issues is not as simple as a workaround in software, most of the time it requires changing design and adding extra costs.
Then don't mis-design your hardware in the first place. Seriously, if you can't do the small bit of multiplication to figure out what your bandwidth requirements will be then you _have no business making mining hardware_, operating pools, etc... Nothing suggested avoids changing design and adding costs. At best the suggestions externalize cost on future bitcoin users.
5029  Bitcoin / Development & Technical Discussion / Re: Handle much larger MH/s rigs : simply increase the nonce size on: October 09, 2012, 02:17:47 PM
Quote
So ... where is extra nonce referred to in the original Bitcoin document by Satoshi? Oh it isn't.
The same place scripts are referenced as well as locktime and nbits.
Quote it - coz it isn't there.
Have even ever read "Bitcoin: A Peer-to-Peer Electronic Cash System"?
I embedded the quote steganographically in the wooshing sound you heard as you read my response.

… The paper was written something like a year before the publication of the system. It covers the core concepts but omits things such as the script system, which is easily the most complicated part of a full node implementation. Since the paper covers _very_ little of the actual implementation, including a number of critical design decisions (I provided some examples of uncovered things), it would have been surprising if it _had_ mentioned extranonce.

Quote
Yes I guess for someone like you it is difficult to only associate BIP 22 with the thread title.
I'm not sure how you could associate the thread title with BIP 34 or 35, but that confusion is (in your opinion) 'having a clue'
Because:
(1) None of them were about ASIC mining. So I had to assume you were confused, and given that you are confused all bets are off.
(2) BIP 22 is primarily documenting (and cleaning up) an API we've had since long before 0.7; we merged it from forrestv in Septemberish 2011. So your talk about new in 0.7 more or less precluded it.
5030  Bitcoin / Development & Technical Discussion / Re: Handle much larger MH/s rigs : simply increase the nonce size on: October 06, 2012, 04:16:00 PM
Oh that's right, GBT related changes didn't happen in bitcoind - I forgot.
HUH? GBT is a rename of the poorly named getmemorypool which we've had for a long time— much longer than anyone was talking about 1TH/s mining devices— it's used by pool daemons and p2pool. Mostly for dynamic coinbase creation (e.g. to do fancy payouts) and because bitcoind coinbase creation is somewhat slow (it's synchronous, single threaded, and basically completely unoptimized).  The changes made in 0.7 beyond the rename were some extra fields to remove a potential DOS attack where some of the limits couldn't be properly enforced when the caller does dynamic transaction selection, support for the height in the coinbase, and some general cleanups to make it more 'designed' than accreted. BIP 22 makes no mention of 'asic', nor do the pull requests for the changes, and I don't believe asics _ever_ came up in discussion related to it around the reference client's development.

To the extent that GBT is useful for higher speed miners getmemorypool was absolutely as useful.

Quote
So ... where is extra nonce referred to in the original Bitcoin document by Satoshi? Oh it isn't.
The same place scripts are referenced as well as locktime and nbits.

Quote
There were that many BIPs added in 0.7.0 that you couldn't work out which one I was referring to?
It's awfully hard to work out what you're talking about when you haven't the foggiest clue about what you're talking about yourself.
5031  Bitcoin / Development & Technical Discussion / Re: Handle much larger MH/s rigs : simply increase the nonce size on: October 06, 2012, 02:33:31 PM
So if nonce size isn't too small - why are we changing bitcoin at all to support ASIC?

We are not and have not.

Quote
Why is this stupid BIP in 0.7.0 that's been forced on everyone, that also removed functionality from bitcoind, necessary?

Wtf are you talking about.

Quote
Why have people called sticking more junk in the coinbase an 'extra' nonce? What? They gave it the wrong name?
The current nonce is big enough? It's not necessary?

Extranonce has been part of the design since day one. It was the only way to make your coinbase transactions have unique IDs other than constantly changing to a new public key whenever you update the candidate block. It's fundamental and is required for things independent of the nonce size.

Quote
Coz when you get a block header to hash, you can only hash 2^32 times before needing to change it.
Why does that restriction exist?

A _4 billion to 1_ work factor is pretty reasonable. There are a couple tradeoffs here. Header size is utterly critical for SPV nodes of various kinds, and even adding a single byte to the header increases the size by 1.25%. Having too much workfactor ratio between header only work and block update work encourages miners to build devices which never process transactions: Cheaper to just build a constant root with no transactions and increment the header until you solve a block. On a fresh design I may have given a bit more space to nonce, sure. But there is no need to change it now.

Quote
It's gonna work fine without any changes right?
Oh ... no, that's not correct Tongue

Yes, in fact it will.

Quote
Yes I know the soft fork in April was done badly, but just because it was fucked up then, doesn't mean soft or hard forks can't be done.

Huh? The P2SH deployment went pretty smoothly.  About the only bad thing that came out of it was that we discovered Bitcoin had a bug in handling large reorgs with lots of transactions.  Timed less well— with large miners unable to reorg because of it— this could have been pretty fatal for the network. But since it only really impacted non-mining nodes (plus the tiny minority of non-updated miners) due to fork being invalid P2SH it was harmless. It's very fortunate, because I'm not sure we would have discovered that BDB issue even by now wthout it.

Quote
Where IS the restriction at the moment?

That we're not permitted to throw you into a volcano.

5032  Economy / Scam Accusations / Re: Nefario on: October 06, 2012, 04:31:46 AM
GLBSE should have been a black market operation, no offense. The fact that the founder is known and visible and that the exchange is centralized is a big red flag.
Thats no magic bullet.  It may be protective against "omg regulators exist; PANIC!" ... but it greatly increases exposure to  "Hm. Think I'll just take everyone's funds."

"securely anonymous" identity is cheap... and it must be cheap if anonymity is to be functionally available for people... so an operator of such a venue could just open up a second supposedly independently run clone and when people start to trust the second a bit they just pop the first and vanish with the funds. People then switch to the second, and they quitely spin up a third. etc.

The better advice is don't skirt laws when you're not pre-prepaired to deal with the consequences; and don't put your funds with obvious centralization targets which aren't at least making comforting sounds about their legal status.  (I've cautioned people about various webwallets which offer secondary services like "mixing" and gambling frontends as risk factors— asset seizure for these other things will give you a bad day none the less).
5033  Bitcoin / Development & Technical Discussion / Re: Handle much larger MH/s rigs : simply increase the nonce size on: October 06, 2012, 02:47:07 AM
Not the whole field, just take a couple of bytes from it. 2 bytes is more than enough for version information... Smiley
It's ridiculous, completely unnecessary, and craps on one of our very few backwards compatible upgrade mechanisms. Backwards compatibility means we may need to put some data there in the future— since even incrementing the version can't change the layout without creating a hard fork. Perhaps worst of all, it's simply tasteless. Tongue The version field? really. yuck.

Even a fairly slow computer can do extra-nonce advancing for many TH/s, esp once considering a few bits of ntime rolling— well, at least if someone doesn't insist on writing their SHA256 in javascript or other ultra slow interpenetrated language... And all these TH/s are not free. If someone can't manage a modest CPU or two per hundred thousand dollars in mining asics then they have a financial management problem that no amount of protocol fiddling can fix. Certainly it's not healthy for the network to encourage miners which are so CPU starved they can't even afford to update their coinbases enough to keep up with their hardware even given the ~2^48 work reduction that they get from nonce plus ntime rolling.

As far as communications goes, presumably people engineering products that cost as much as a nice car are smart enough to not use lawnmower wheels on it when it needs tank treads. If they aren't then I feel bad for their customers for all the other bits of the design they'll get wrong. But since its totally unprecedented that some mining hardware maker would produce a horribly mismatched design which did something daft like provide their hardware with a fraction of the required power supply we should have nothing to worry about…
5034  Bitcoin / Development & Technical Discussion / Re: Transaction script with block height as condition on: October 06, 2012, 02:09:10 AM
Yes, he is correct. So it is possible to incorporate the idea of nLockTime into script? For example:

1. The coin can be spent by 2-by-2 multisig with key E and key U at ANY TIME
2. If block height >= x, the coin can be spent by key U. The 2-by-2 multisig, however, is still a vaild way to spend the coin.
Validating that use of height is actually stateless in script would be horrific and more or less intractable. If script were designed so that there was a table of redemption options which had their own lock time then it could have been done... but alas.

It's no big deal in any case:

You are selling me your car. We decide to use a 2-of-2 escrow.  But I'm afraid you'll hold up the funds if the deal falls through.

I compute the payment into the escrow and sign it. But I do not announce it yet.  I also compute a transaction spending the escrow transaction and paying it all back to me with the locktime set some months from now.  I sign that transaction.  I give it to you (along with the txout its spending but not the whole payment). You can look at it and confirm that it is indeed unlocked until whenever, so sign it and give it back.  Then I announce the payment into the escrow. You don't need height in scripts to get refund timeouts. QED.
5035  Bitcoin / Hardware / Re: 400 BTC BOUNTY OFFERED FOR OPEN SOURCE BITSTREAM THAT IS FASTER THAN TLM on: October 05, 2012, 11:20:54 PM
I wonder if it would be beneficial to throw the 400(+ ?) BTC bounty into one bitcoin address visible by the community.
Personally, I wish I had the time to devote to this project.

Or into a multisig escrow.  If people are interested in that I can help set it up, and would be willing to act as an arbitrator for its disbursement.
5036  Bitcoin / Development & Technical Discussion / Re: New Attack Vector on: October 05, 2012, 04:43:44 AM
Now that this is well known, I have to point out the following:

Transaction malleability has been known and discussed many times— including padding and other encoding differences. Is there some reason that you believe the s-flip to have distinct implications from all of the other signature encoding differences?

The understood risk of this in prior discussions has primarily been that troublemakers could create confusion by changing the transaction ID of confirmed transactions to be something different than the transaction participants were expecting (so, e.g. they'd see two transactions doing the same thing, one which never confirms). There is a secondary risk that parasites could 'hijack' other people's transaction to pay the way to embed data in the blockchain for them.

Quote
I believe the originator wouldn't recognise the flipped transaction has spent his coins.

In the reference client the spent-ness of candidate inputs when drafting a transaction are checked with IsSpent(), the txid of the spending transaction should be irrelevant. Can you elaborate on what you're thinking here?
5037  Bitcoin / Development & Technical Discussion / Re: Contingency plans for a 51% attack on: October 04, 2012, 04:41:06 PM
For it to be an 'attack' the blocks have to be blank, and not contain any tx. Therefore every block the number of confirms goes down one.
This is confused.
Fixed it a bit.

It's just more clearly confused now.  The confirmation count is the number of blocks following when the transaction was initially confirmed. Every block implicitly confirms all prior in its chain because you couldn't have creates that block without processing all prior ones. Leaving transactions out has nothing to do with it... the effect of leaving transactions out is only that new transactions won't start getting confirmations.
5038  Bitcoin / Development & Technical Discussion / Re: Contingency plans for a 51% attack on: October 04, 2012, 04:17:17 PM
For it to be an 'attack' the blocks have to be blank, and not contain any tx. Therefore every block the number of confirms goes down one.
This is confused.
5039  Other / Beginners & Help / Re: network terahash goes up, but not the price of btc on: October 04, 2012, 03:47:33 AM
Price of BTC goes up -> More people mine -> Network hashrate goes up
Price of BTC goes down -> Miners take a break, give up, go back to playing games, etc. -> Network hashrate goes down

Yep. Moreover, the price has already gone up. GPU mining is loopy profitable again... rate is still catching back up, no doubt tempered by expectations of incoming asics.
5040  Bitcoin / Development & Technical Discussion / Re: Blocking the time warp attack on: October 03, 2012, 11:57:08 AM
It's hard to imagine there ever being a 24 hour gap in practice, but just in case, miners should cap timestamp at GetMedianTimePast() + 24 hours. (this part wouldn't require universal miner support, just enough to push through 2 blocks)
I haven't considered if your newly proposed rule is sufficient yet or if it's otherwise dangerous.  But it's deployment would be a fork risk unless it had super-majority miner support. Otherwise an attacker could intentionally split the network.

Two ways:
(1) If there is an unlikely moderately long gap between the median and now (5 blocks in 24 hours) he can just directly mine one block with a violating timestamp.
(2) Since you're already postulating majority hashpower attackers, one could replace the end of the chain with a violating chunk.

Quote
We shouldn't rely too much on it being harder. The minimum 51% attack currently requires 22Thash. Time warp might require 44Thash to pull off. Someone having 22Thash is unlikely, but 44Thash isn't much less likely than 22Thash. Someone with the ability to get 22Thash could probably get 44Thash too.

The chaos from a time warp attack could be an order of magnitude greater. Much more than the additional difficulty of pulling it off.
I wasn't saying that it isn't a concern, I was just cautioning against overstating it.  I'm not sure about the "order of magnitude worse" part— at the very start it's going to undo four weeks of transactions. That there is also a bunch of new coin created just increases the incentive to for the collective users of bitcoin to voluntarily kill the fork by checkpointing against it at its start point four weeks ago.

Getting a conservative rule in that kills these but which has hopefully never been violated by the mainnet would still be a good idea.  If nothing else the timewarp complicates explaining the security model of Bitcoin.  ("…such an attack can only do X/Y, except for this bug, also allowing Z but doing that is much harder than a simple overpowering…")

Pages: « 1 ... 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 [252] 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!