Bitcoin Forum
July 12, 2024, 01:34:53 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 [335] 336 337 338 339 340 341 342 343 344 345 346 347 348 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 ... 422 »
6681  Other / Off-topic / Re: Key-signing party! on: June 03, 2011, 04:18:00 AM
What is the difference between a PGP signature and a PGP Public key?  Is the signature a hash of the public key?  Also, why is Theymos' so damn long?  Different hash type? 

A signature verifies some data. That signature verifies that the text between "BEGIN PGP SIGNED MESSAGE" and "BEGIN PGP SIGNATURE" was actually written by me.

To verify my signature, you need my public key. If you want to send me an encrypted message, you also encrypt it to my public key.

That public key is long because it has lots of signatures. It's smaller if you remove the signatures:
http://theymos.com/theymos.txt
(This is the exact same public key.)
6682  Bitcoin / Development & Technical Discussion / Re: Design notes for sharing work between multiple independent chains on: June 03, 2011, 03:58:36 AM
The problems you outline presuppose that the miner is trying to include as many transactions as possible.

No. In my posts in this topic, I have always assumed that the miner will never include the transaction in his own blocks. I am only concerned here with what the miner will do with other blocks with transactions he can't verify.
6683  Other / Meta / Re: "The last posting from your IP was less than 5 seconds ago." on: June 03, 2011, 03:18:45 AM
This should now be fixed.
6684  Other / Meta / PM notifications fixed on: June 03, 2011, 02:19:10 AM
This has been frequently requested.

If you find these notifications annoying, be aware that you can disable them in your profile.
6685  Bitcoin / Bitcoin Technical Support / Re: Block explorer down ? on: June 03, 2011, 02:16:58 AM
Sorry, Linux crashed right after I went to sleep, and I didn't have panic_on_oops set, so it didn't restart.
6686  Other / Meta / Re: "The last posting from your IP was less than 5 seconds ago." on: June 02, 2011, 10:28:53 PM
I will look into this soon.
6687  Bitcoin / Development & Technical Discussion / Re: Design notes for sharing work between multiple independent chains on: June 02, 2011, 01:31:58 PM
Then I don't understand why people said in the demurrage fee thread that miners will forget transactions.

If storage ends up being really expensive (which I doubt), miners might use demurrage. I think it's a good solution for that (unlikely) case, in fact.

More than 50% of the miners need to agree before actually forgetting transactions, though. Otherwise you'll get the problems that I've described.
6688  Bitcoin / Bitcoin Discussion / Re: Block hash or block header hash? on: June 02, 2011, 06:32:05 AM
Block hash = block header hash.

A hash of the entire block is never made by Bitcoin, and no one uses such a hash for anything.

All of the block data is indirectly hashed through the hash tree. This is represented in the block hash.
6689  Bitcoin / Development & Technical Discussion / Re: Design notes for sharing work between multiple independent chains on: June 02, 2011, 04:48:35 AM
The miner could just ignore tx A since it doesn't add value to this tx.
Can he accept this transaction as good even if he doesn't have tx A?

The fee is not specified directly by the transaction. It is calculated by looking at the difference between input value (which is also not specified) and output value.

Ignoring the other problems with doing this, you could accept the transaction into your own blocks without knowing the exact fee, but you could not correctly verify other blocks that include the transaction. For all you know, the transaction you've forgotten permits a fee of 1000 BTC.

Quote
I would balance the risk of wasting hash power by accepting invalid blocks with the gain in hashing power for not bothering about old transactions.

You don't gain any hashing power. Only disk space, which is cheap.
6690  Bitcoin / Bitcoin Discussion / Re: 4chan takes a chance on you on: June 01, 2011, 09:19:25 PM
Neo-homosexuals?   

I believe the slang term is "newfag". Wink
6691  Other / Meta / Re: [Request] Marketplace for the German subforum / countrybased sub forums on: June 01, 2011, 09:05:56 PM
I will appoint a moderator for the German section, and then I will let them interpret community consensus in this matter.
6692  Bitcoin / Bitcoin Technical Support / Re: Lost Savings Wallet Addresses?! on: June 01, 2011, 06:07:08 PM
There is a bug where the creation of the first-ever address (with label "Your Address") does not trigger filling of the keypool. The keypool is only filled once the next address is created, and then it takes tens of minutes to fill completely.
6693  Bitcoin / Development & Technical Discussion / Re: A little technical information request... on: June 01, 2011, 06:20:08 AM
Can I manually generate a public/private key that corresponds to a given address

No.
6694  Bitcoin / Development & Technical Discussion / Re: A little technical information request... on: June 01, 2011, 05:30:01 AM
First - How can I get the public key of someone else's wallet?  Or better yet, can a public key be derived from an address?

It's listed on Bitcoin Block Explorer if it has ever been seen by the network. The full public key cannot be derived from the address alone, as the address is only a hash of the public key.

Quote
How can I generate an address based on that public key?  What mathematical calculations, hashes, encryption is being done behind the scenes?

Hash it with SHA-256, then hash that with RIPEMD-160. Then add a version and a checksum and convert it to base58.

Input the public key here:
http://blockexplorer.com/q/hashpubkey
And then input that page's output here:
http://blockexplorer.com/q/hashtoaddress

Here's my PHP code to do it (pubKeyToAddress):
http://pastebin.com/vmRQC7ha

Quote
Would an address still "work" even if it was not generated by the wallet owner's client?  In other words, if I had the public key of someone's wallet, and generated an address for them without them knowing, could I send them bitcoins to that newly generated address and they would receive them?

Yes. You'll get the same address. A particular public key always becomes the same address.
6695  Bitcoin / Bitcoin Discussion / Re: Keiser Report: Jon Matonis on BitCoin vs central bankers on: June 01, 2011, 02:22:16 AM
I don't think it was a very good interview. Matonis is a good speaker, but Keiser kept talking about unrelated things.

RT is not very reputable in my book, but it's good that Bitcoin is being covered by somewhat-mainstream sources.
6696  Bitcoin / Development & Technical Discussion / Re: Why transaction fee is so big? on: May 31, 2011, 10:05:11 PM
I'm a newbie here, but this sets off a red flag in my mind.  If bitcoins really take off and end up being used for micro-transactions all over, won't this occur more and more often?  It just seems to me that as time goes on bitcoins will get more and more "fragmented" and split into tiny chunks, such that when you do need to spend a large amount it's going to be a "lot of data".  

It seems that transaction fees will inexhaustibly increase without bound as time goes on and the data required just goes up and up.  Is there something I am missing that handles this issue?

Transactions can also be combined. This is what the OP did: he combined ~13 inputs into one output. If the recipient wants to send that same amount later, the transaction will only be about 220 bytes.
6697  Bitcoin / Development & Technical Discussion / Re: Design notes for sharing work between multiple independent chains on: May 31, 2011, 10:00:42 PM
I thought bitDNS would use one transaction output (with 0 value) for storing the the DNS data (the IP, the URL and whatever else is needed) and other output for "parking" some coins and "lock" the transaction, preventing it to be forgotten.

No. The 0-value output is used to store data. The other output is used to show ownership: you send this coin to transfer the domain. You also need to send the valued output for every new BitDNS command.

The valued output isn't necessary for "locking". A transaction can have just a 0-value output and still be "locked".

Our BitDNS spec wastes a lot of space because the 0-value transactions will exist forever. They can't ever be redeemed. But this is only necessary because our spec -- designed to work with current code -- writes the outputs in such a way that they are irredeemable. If script could be used freely, the 0-value outputs could both contain data and be redeemable. This was the original design, in fact, but IsStandard was created while we were writing it.

Quote
You want 0 value outputs to be remembered until the receiver sends them out?
Quote
What is the incentive for miners to remember 0 value outputs?

Miners must know all unspent transactions, or else they risk ending up in a situation where they need to verify a transaction but are unable to do so. If this ever happens, they will have to stop mining until they get the needed transaction, which might be difficult.

Quote
When they receive a transaction with an input that they don't know but that input doesn't add value to the transaction, they can just accept it as good.

Inputs don't state what its value is, so the miner can't know that it's a 0-value input if it can't see the associated output. It would be clear that no value is taken by the outputs, but you can't determine the fee, which is necessary for verifying blocks. (Rejecting transactions like this is also impossible for other reasons.)

Quote
Maybe they could take the risk of accepting blocks they cannot completely verify if that increases their hash rate.

Forgetting transactions will usually slow down mining somewhat, and sometimes it could cause very unprofitable things to happen.

Example:

You are using a client that forgets unspent 0-value transactions after a while. 10% of the network is also running that code. I create a block with a transaction that redeems a 0-value transaction, and most of the network builds on my block. If you reject my block, you are isolated from the network. If you reject my block initially, but start working on it later on, you've just wasted a ton of hashing work. If you accept my block blindly, and it turns out that the transaction is actually invalid later on, you've just wasted a ton of hashing work. Your best option is to immediately find the transaction being redeemed so you can verify it. First, you'll contact your peers to see if they have it. If they don't, you'll have to connect to more peers. Maybe you'll use an archiver service. This is a second or two of wasted hashing time per transaction you need to look up. An attacker might create lots of these transactions just to mess with you.

You actually end up giving up quite a bit of mining power for some disk space.

If your side has more than 50% of the network's computational power, your side can reject transactions with impunity for as long as it is in control.
6698  Bitcoin / Project Development / Re: Bitcoin Faucet Community Policing Project on: May 31, 2011, 06:24:58 PM
People turn the faucet off. It's clearly being drained by a bot

What makes you think so?
6699  Bitcoin / Bitcoin Technical Support / Re: Need help with OTC trading bot on IRC on #bitcoin-otc on: May 31, 2011, 05:55:56 PM
Install Gpg4win:
http://www.gpg4win.org/

This comes with a program called Kleopatra, which you should run. It's a good graphical interface to GPG, so you don't have to use the command line.

Copy the challenge string that gribble gives you, right click on Kleopatra's icon in the system tray, and click "Clipboard"->"OpenPGP-Sign". Then click "next" after choosing your key (probably it will already be correct). You will be prompted for your password. After entering it, the text in your clipboard will be changed to a signed version. So when you next paste text, you'll get the "PGP SIGNED MESSAGE" stuff. Upload this somewhere (Pastebin, for example) and give gribble the link.
6700  Bitcoin / Bitcoin Discussion / Re: How many connections are you seeing on your Bitcoin client? on: May 31, 2011, 05:12:31 PM
I've been seeing a lot more lately. Right now I have 117, and a few days ago it was at ~130.
Pages: « 1 ... 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 [335] 336 337 338 339 340 341 342 343 344 345 346 347 348 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 ... 422 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!