Bitcoin Forum
May 25, 2024, 02:19:17 PM *
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 »
681  Bitcoin / Bitcoin Technical Support / Re: /server and related doesn't work anymore with version 5 on: December 04, 2011, 12:51:14 PM
The new Qt-based client does not include an RPC client anymore, indeed. It can still function as an RPC server (-server), but for the client you need bitcoind.
682  Bitcoin / Development & Technical Discussion / Re: TransactionsEasyBinaryFormat.dat on: November 29, 2011, 04:57:03 PM
Bitcoin transaction do not have a "from" address - they have inputs (which themselves may have had a to address in the previous output).
683  Bitcoin / Bitcoin Discussion / Re: Observation: Hash rate growing again on: November 07, 2011, 03:59:16 PM
How are the charts at http://bitcoin.sipa.be/ calculated.

Is it just a function of the difficulty and the average block creation time over some period?

If so does anyone know how many blocks the average is over?

It is just a function of the difficulty and timestamps of found blocks. It's however more than just a windowed average.

I use an exponential window (so essentially, using all blocks ever, but those longer ago count significantly less), and perform some extrapolation by fitting a growing speed function through the data. The time factor for the exponential windows is listed in the graphs.
684  Bitcoin / Development & Technical Discussion / Re: How do I get an encrypted wallets' password hash? on: November 03, 2011, 04:31:17 PM
The encryption format in the wallet was specifically designed not to be crackable through rainbow attacks, so I'm afraid you're out of luck.
685  Bitcoin / Bitcoin Discussion / Re: Small transactions? on: October 24, 2011, 12:03:12 PM
Bitcoin is not intended for microtransactions. Since all transaction are publicly maintained and verified, this has a significant cost to the network. This is a price many consider worth it, in exchange for having a medium that has all the properties Bitcoin provides, but it is not neglectable.

If you want to do microtransactions (in the long term) over bitcoin, I believe third-party services will be required, which can perform such transaction with far smaller overhead internally.
686  Bitcoin / Development & Technical Discussion / Re: Protection against keyloggers on: October 12, 2011, 09:27:11 AM
Problem with encrypting wallet is that the user can take millions of guesses a second if they have stolen a copy of if off your computer.

The encryption mechanism in the bitcoin client uses key strengthening to make sure an attempt costs around 0.1s (on your own system). It's possible that the attacker has thousands of units of specialized hardware for cracking passwords, but in general he won't be able to take a million guesses a second.
687  Bitcoin / Development & Technical Discussion / Re: Request to remove getmemorypool before it gets beyond being a release candidate on: October 11, 2011, 02:24:10 PM
The size of the coinbase is limited to at most 100 bytes, and at least 2 bytes. This means that by using the 98 free bytes for merged mining or whatever purpose, the effect on the block chain is limited to 5 megabyte per year.
688  Bitcoin / Development & Technical Discussion / Re: OP_EVAL proposal on: October 07, 2011, 10:43:08 AM
There are a few different issues here.

The first is the initiation of transactions. The OP_EVAL proposal above implies an address type of the form Base58(XXX + v), corresponding to a txout <OP_DUP OP_HASH160 <XXX> OP_EQUAL OP_EVAL>. This seems to be the primary reason for advocating OP_EVAL, and I'm not sure it should be. It is very powerful, but I keep believing that secondary protocols that negotiate a transaction output are the way to go (see this proposal for an idea). There may be some legitimate advantages as well though; Gregory had an example where hashed OP_EVAL scripts could be used to increase anonymity in case of OR-based outputs.

The second is the introduction of a new script language. By retrofitting OP_NOP1 as OP_EVAL, it does not necessarily need a block chain fork, and we have the ability to modify the semantics of the language. This has massive possibilities, and should be dealt with very carefully. This is independent from the introduction of a new address type - a simple <<script2> OP_EVAL> txout script can be used, with <script2> a txout script obtained through any means. I did a proposal for improvements to the script language here, but much more discussion is necessary before we do such a thing. Casascius' idea of two conflicting transactions makes me worry though - that may be enough to not use the OP_NOP-based mechanism at all.



689  Bitcoin / Development & Technical Discussion / Re: Just entering the password once is not safe on: October 05, 2011, 11:14:30 AM
Yes, the interface isn't very good right now. However, the next Bitcoin release (0.5) will most likely use the new Qt user interface, which fixes a lot of problems (including the one mentioned here).
690  Bitcoin / Bitcoin Discussion / Re: Why is bitcoin proof of work parallelizable ? on: October 04, 2011, 10:21:03 PM
A non-parallelizable proof of work scheme has the consequence that nobody can become stronger than a, say, 4.5 GHz overclocked single core pentium. This is what we want.

And bitcoin gets taken over by a single botnet.
691  Bitcoin / Development & Technical Discussion / Re: OP_EVAL proposal on: October 04, 2011, 09:38:16 PM
As scripts inside OP_EVAL can have different semantics from the original, we can use it to short-circuit introduce a new version of the script language.

I've written a draft for a new version here: https://gist.github.com/1262449

Rationale for the changes:
  • Using the altstack for signatures avoids the need for bookkeeping on the stack in scripts that do complex checking (the altstack contains the data from scriptSig, the normal stack is used for evaluation)
  • Using ECDSA pubkey recovery, we avoid encoding public keys in the block chain
  • Low-level signature checking can be used to implement signed message checks in script, or more custom signature schemes
  • A shorthand operation for the most common case (send to address) makes normal scripts shorter
692  Bitcoin / Development & Technical Discussion / Re: PHP: how to calculate the transaction fee? on: October 04, 2011, 08:14:30 AM
What fee it calculates depends on what transaction outputs it decides to use to fund the new transaction, and (I could be wrong with this point) I don't believe it does so deterministically. So there certainly isn't a way to do it without all the information in wallet.dat, and that might not even be enough.

This is correct.

I believe the solution is providing an RPC call that creates a preliminary transaction (which isn't broadcast yet), but can be inspected. At this point, it can either be committed (broadcast) or reverted through another RPC call.
693  Bitcoin / Development & Technical Discussion / Re: Proposal: bitcoin payment protocol on: October 03, 2011, 01:00:36 PM
This is not about complex scripts - although I consider the ability to transparently support complex script an advantage (which is true for both this proposal and OP_DROP).

This is about realizing that a static txout template itself has limitations.

For example: if I am using a webpage to buy something, I am already using the http protocol. Why do I need to carry the burden of getting the transaction broadcast and accepted on the network, instead of just sending it to him? The payee is the one who 1) already has the network infrastructure in place and 2) cares about getting his money.
694  Bitcoin / Development & Technical Discussion / Proposal: bitcoin payment protocol on: October 03, 2011, 10:53:59 AM
Currently, addresses are the only well-supported way of initiating a bitcoin transaction. However, what bitcoin addresses are in practice is no more than a template for a txout script. In practice, such an address (typically a freshly-generated one) is communicated to the payer when a payment is requested, through a website, a QR code, e-mail, ...

If stop limiting ourselves to short strings to define a payment, a lot of possibilities open up. In the following gist i've written up a proposal for a full bitcoin payment protocol, that allows arbitrary scripts, makes the receiver responsible for getting the transaction accepted, optionally removes the burden of transaction fees from the payer, and allows easy tracking of actual individual payments.

https://gist.github.com/1237788

Comments, suggestions, ideas?
695  Bitcoin / Development & Technical Discussion / OP_EVAL proposal on: October 02, 2011, 11:03:02 AM
It seems I misunderstood part of the original suggestion.

Still, a few remarks:
  • OP_EVAL sounds like a very elegant way of increasing the script language's power, with some nice possibilities like explained above.
  • I agree we need to be extremely careful about this - the data accepted by a txout script being evaluates should always be protected by some form of hash script. One can argue that this is the responsibility of the sender to create a good script, though.
  • Enabling an operation like OP_EVAL implies removing the IsStandard() test, as it essentially allows any script to bypass the test anyway. I'm in favor of relaxing IsStandard() and enabling more operations, but we need solid unit tests to verify that all involved scripts/operations verify fine.
  • I do like the fact that using a hash-protected eval()ed script is not encouraged without the payee asking so (even if I know you have addresses A and B, there is no reason for me to expect that an OP_EVAL script with hash equal to the hash of script that checks for A AND B will be detected by your client as a spend to you
  • I don't like the fact that we're using a static string for even more complex txout templates, it risks accidental reuse, is impossible to refuse once the string is published, and is hard to track. IMHO, the right solution for cases were more complex scripts are wanted is directly negotiating them with the receiver.
696  Bitcoin / Bitcoin Discussion / Re: Impressive bitcoin one liners for non bitcoiners on: September 30, 2011, 10:51:43 AM
Bitcoin: mining our own business since 2009
697  Bitcoin / Development & Technical Discussion / Re: [PULL] Sign and verify message with bitcoin address and public key on: September 30, 2011, 10:49:32 AM
@ByteCoin: OpenSSL currently doesn't expose a way for setting the random factor k manually when signing, so it would require at least part of the signing algorithm to be reimplemented (a version of ecdsa_sign_setup). I'm not sure this is worth the effort - on the other hand, the key recovery algorithm is also implemented manually already.
698  Bitcoin / Development & Technical Discussion / Re: [PULL] Sign and verify message with bitcoin address and public key on: September 29, 2011, 01:38:33 PM
We currently sign the SHA256 hash of the message, after prefixing it with a fixed string. Would this theoretically not be vulnerable to a length-extension attack? If so, aren't we better of using HMAC-SHA256, or is that poinless without secret key?

Secondly, what do you suggest the ECDSA random value calculated from? Message + address? (a have a bit trouble following djb's paper - what does h stand for?)

EDIT: nevermind, it's derived from the hash of the message + private key
699  Bitcoin / Development & Technical Discussion / Re: Is blockexplorer's total bitcoins in existance accurate? on: September 28, 2011, 07:16:08 PM
Please explain what could be done in a script than couldn't be done if each client had a set of known methods to sign a transaction and a simple varint was included in a transaction to identify which method to use. At the moment scripts add a large amount of size to the block chain for little purpose.

Types of transactions we haven't thought of yet.

The script system is rather flexible, and allows us to add new types of transactions in the future, without requiring the entire network including miners to upgrade to a new version.
700  Bitcoin / Development & Technical Discussion / Re: Official Mac client on: September 28, 2011, 05:52:11 PM
Settings -> Encrypt Wallet...
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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!