Bitcoin Forum
July 12, 2024, 01:21:55 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 [399] 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 »
7961  Bitcoin / Development & Technical Discussion / Re: Looking at Three Systems (poor hash rates on a Xeon) on: November 20, 2010, 09:52:22 PM
It sounds like you actually only have two physical cores, and you're including the virtual hyper-threading cores. This has different effects on different architectures.
7962  Bitcoin / Development & Technical Discussion / Re: Potential vulnerability of hash function? on: November 20, 2010, 07:16:14 PM
In a worst-case situation, would the whole chain have to be restarted with a new genesis block, or do you think some algorithm from some arbitrary block number, say block 200000, would require the new hashing/cryptographically securing algorithm?

The chain will never be restarted.

SHA-256 is very strong.  It's not like the incremental step from MD5 to SHA1.  It can last several decades unless there's some massive breakthrough attack.

If SHA-256 became completely broken, I think we could come to some agreement about what the honest block chain was before the trouble started, lock that in and continue from there with a new hash function.

If the hash breakdown came gradually, we could transition to a new hash in an orderly way.  The software would be programmed to start using a new hash after a certain block number.  Everyone would have to upgrade by that time.  The software could save the new hash of all the old blocks to make sure a different block with the same old hash can't be used.
7963  Bitcoin / Development & Technical Discussion / Re: Potential vulnerability of hash function? on: November 20, 2010, 07:02:09 PM
It depends on how the the SHA-256 algorithm is broken.  If somebody creates a quantum computer with 400 qubits and is able to create any arbitrary SHA-256 hash with any other prefix or expected "proof of work" with a Big O(1) level of difficulty, Bitcoins as a program would simply be screwed and potentially attacked as if somebody just brought on a million new machines into the network.

I did say "almost all cases". That would affect non-Bitcoin things, too. It'd be a case where everyone using SHA-256 is screwed.
7964  Bitcoin / Development & Technical Discussion / Re: Potential vulnerability of hash function? on: November 20, 2010, 06:52:40 AM
"Breaking" Bitcoin's non-standard use of SHA-256 means finding a way of creating a proof-of-work hash without doing all of the normal hashing work. But in almost all cases, you would still have to do some non-negligible amount of work. All this does is make hashing quicker for you, and this is a problem that can be solved with difficulty adjustments.

"Breaking" SHA-256 is exactly like creating a new computer chip that can do hashing 20x faster per watt than everyone else.
7965  Bitcoin / Development & Technical Discussion / Re: Recent floods by MrBurns (17yhRAYKJvVmBh14HMxYRHp2Z4erWgk1ne) on: November 20, 2010, 06:30:04 AM
This statement from the documentation is simply incorrect.  When you sen transactions, you don't know in advance that "they're going to have to pay a transaction fee" or even how much it might be.

When I wrote that there were no custom miners and only one set of rules. I updated it:
Quote
Whoever sends the transaction is often able to guess what the appropriate fee will be based on their own fee rules. If Bitcoin believes the fee will be non-zero, it will not allow you to send the transaction without the calculated fee.
7966  Bitcoin / Bitcoin Discussion / Re: Why Are You Sold On Bitcoins? on: November 20, 2010, 05:48:40 AM
I've had a long-term interest in distributed systems such as Gnutella and Tor. I also support Austrian economics and anarcho-capitalism. Bitcoin is basically an exact match for my interests.

I know that Bitcoin will work because I understand both its technology and its economics.
7967  Bitcoin / Development & Technical Discussion / Re: Potential vulnerability of hash function? on: November 20, 2010, 05:32:09 AM
If you find some way of hashing faster, the generating difficulty will just get higher. You might control the network's CPU power for a while, but if you can figure out a SHA-256 shortcut, everyone else will, too.
7968  Bitcoin / Development & Technical Discussion / Re: Recent floods by MrBurns (17yhRAYKJvVmBh14HMxYRHp2Z4erWgk1ne) on: November 20, 2010, 02:04:46 AM
It is an interesting aspect of Bitcoins and needs to be documented elsewhere.  I'll see what I can do on that end.

http://www.bitcoin.org/wiki/doku.php?id=transaction_fee
7969  Bitcoin / Development & Technical Discussion / Re: Rethinking Bitcoins on: November 20, 2010, 01:48:36 AM
I don't see how the currency would collapse if 50 BTC keep being created "forever".  It is a matter of sinks and sources, just like you find in most MMORPGs.

Reality has limited resources. Video games do not.
7970  Bitcoin / Development & Technical Discussion / Re: Transaction / spam flood attack currently under way on: November 19, 2010, 08:07:30 PM
What happens to the transactions that don't make it into the current block?

The network forgets about them over time. Queued transactions are forgotten when Bitcoin shuts down (or when it crashes because it's using too much memory...). The attacker probably won't rebroadcast their spam transactions, but real users will.

Quote
Will this create a de facto situation where TX fee is required for "normal" bitcoin users?

Yes. This has always been inevitable.

Quote
Would it make sense to introduce a consensus blacklist, of abusive bitcoin addresses? ie. miners could -- at their discretion -- simply drop TX's with the blacklisted addresses.

This would be easy to bypass unless you also follow a transaction's history, and if you do that the attacker can "infect" people by sending them bitcoins.
7971  Bitcoin / Bitcoin Discussion / Re: an introduction portal web site for total bitcoin newbies on: November 19, 2010, 07:49:26 PM
Quote
"* The system includes the capability to add a tiny fee to any transaction for super-fast processing.  However, almost all users consider the use of that feature unnecessary.  And, it would normally be no more than US $0.01  Also, it is completely OPTIONAL, and always will be."

Is that technically accurate?

Probably soon every transaction will require at least a 0.01 fee to clear in a reasonable time.
7972  Bitcoin / Bitcoin Discussion / Re: What will keep transaction fees up? on: November 19, 2010, 05:54:27 PM
Very nice explanation, Theymos. Can you comment on "max block size" in the future? Is it likely to stay the same for all time? If not how will it be increased?

It's a backward-incompatible change. Everyone needs to change at once or we'll have network fragmentation.

Probably the increase will work like this: after it is determined with great certainty that the network actually can handle bigger blocks, Satoshi will set the larger size limit to take effect at some block number. If an overwhelming number of people accept this change, the generators will also have to change if they want their coins to remain valuable.

It might also work in reverse, where almost all generators decide to reduce (or raise) the max block size. If clients want to have any real protection from double-spending, they also need to switch.

The limit needs to increase at some point if Bitcoin is to become mainstream. 1MB is not an awful lot of transactions, so not increasing it would raise fees to unreasonable levels.
7973  Bitcoin / Bitcoin Discussion / Re: What will keep transaction fees up? on: November 19, 2010, 05:35:07 PM
There is a small cost to adding a new transaction. You have to store the transaction until it is spent, validate the transaction, and recompute part of the Merkle tree for the block. There will also be big network, disk, and electricity costs for generating blocks.

Block size limitations indicate that the network is unanimously willing and able to download, upload, and store blocks of that size every 10 minutes. It will probably stay at the current 1MB until Bitcoin has a solid backbone of generators. Then it can increase rapidly.

Some generators will set fees to the minimum, and some will set fees to the highest profitable level in the hope of raising it further. Most will be set somewhere in the middle. The generators will be saying, "We want to be paid on average this much," and the users will be saying, "We will pay only this much on average." This creates a really nice effect: your transaction will almost always clear eventually, but more fee = more speed.

The "minimum fee" for a generator will usually be the fee that causes the most fee-transactions to be included in the block. Volunteers or people who feel that the generation reward is enough might have a minimum fee of 0. This will happen less and less in the future, though, because costs will rise, inherent rewards will be reduced, and you'll therefore want to create blocks with at least some non-free transactions.

If the network overcharges, competitors will come in that claim the leftover transactions. If the network undercharges (a high-fee transaction exists, but it is not included in a block in favor of a cheaper one), competitors will come in with proper fee-based prioritization.

When the coins generated per block is low, users may not be willing to pay enough for generators to ever be profitable. Transactions will be really slow in this case, and the users will hopefully change their minds. If they don't, the least efficient generators will leave, the difficulty will be reduced, and generation will be profitable again. The users will be saying, "I'm not paying for that much CPU power! Reduce it."
7974  Bitcoin / Development & Technical Discussion / Re: determine valid bitcoin address on: November 19, 2010, 04:10:23 PM
Here's my PHP version:
http://pastebin.com/vmRQC7ha

I have a web interface to that:
http://theymos.ath.cx:64150/q/checkaddress
7975  Bitcoin / Bitcoin Discussion / Re: Bitcoin safe box on: November 18, 2010, 08:58:20 PM
In other words, there isn't any way to "claim" a coin without spending it, is there?

Right. An coin/output can be referenced/claimed/spent one time.
7976  Bitcoin / Development & Technical Discussion / Re: bitcoin mobile phone specification? on: November 18, 2010, 08:55:55 PM
I see a few options for learning about your transactions:
- Have the sender give you the transaction hash, and then use getdata
- Download (and then discard) all new blocks
- Use IP transactions (hopefully with some sort of authentication). Maybe using a built-in system like Tor's hidden services.

"Polltx" would be really bad for anonymity. Even people who are not paranoid would probably have a problem with the information divulged there.
7977  Bitcoin / Bitcoin Discussion / Re: Bitcoin safe box on: November 18, 2010, 07:45:00 PM
Functionally, yes.  But more than one address cannot "own" the same coins in the blockchain, because the blockchain only records settled transactions.  A special transaction that could have multiple claims must remain outside of the blockchain until someone actually claims it, I believe. 

No; it's possible to create a transaction with a script that allows claim by any listed transactions. This is valid and would be included in the block chain.

There's even a special command in Bitcoin's scripting system that does this: OP_CHECKMULTISIG.
7978  Bitcoin / Bitcoin Discussion / Re: Government vs Bitcoin ? on: November 18, 2010, 07:32:06 PM
Sounds like you would be trusting that the peer that sent you the relevant transactions to your new transaction to not be sending you a doctored set.

Not at all. The transactions form a hash tree, and the root of this tree is in the block header. The headers, of course, are verified through the Bitcoin proof-of-work block chain system. The attacker would have to break SHA-256 in order to give you fake transactions.

Quote
Does the protocol permit a lightweight client to download a specific block from a random peer, or does it have to download them in order?

Yes. You can also request specific transactions by hash, which would be useful in this scheme. If two lightweight clients are dealing with each other, they might want to rely on the network to provide the transactions required for the Merkle tree.
7979  Economy / Economics / Re: When to "move the decimal points" ? on: November 18, 2010, 07:23:49 PM
I think Pecunix allows you to transfer 0.0001 GAU, so I would add another decimal of allowed precision when 0.01 BTC is worth more than 0.0001 GAU (pretty soon, if prices keep rising).

The decimal should be moved when transfers over 1 BTC are less than 1% of all real transactions. So probably not for a long time.
7980  Bitcoin / Development & Technical Discussion / Re: Transactions with identical hashes on: November 18, 2010, 03:01:48 PM
Theymos, are there other such generations?

On the main network:
http://theymos.ath.cx:64150/bbe/block/00000000000a4d0a398161ffc163c503763b1f4360639393e0e4c8e300e0caec
http://theymos.ath.cx:64150/bbe/block/00000000000743f190a18c5577a3c2d2a1f610ae9601ac046a38084ccb7cd721

On the test network:
http://theymos.ath.cx:64150/testnet/bbe/block/000000005c1f1c3665e253edf5ec4c05f7e61727c198648396410ace8f66a13f
http://theymos.ath.cx:64150/testnet/bbe/block/000000002c4e72e2210e634360d4121ea67192d7f14603c5dc9bcc2083bb6eaf
http://theymos.ath.cx:64150/testnet/bbe/block/000000003b2f59295ed671a4a7c33e605835584fa6c578aadb077787dc7b96f1
Pages: « 1 ... 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 [399] 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!