Re: [Bitcoin-development] Detecting OP_EVAL scriptPubKeys that are to you

2011-10-26 Thread Gavin Andresen
On Wed, Oct 26, 2011 at 4:58 AM, Michael Grønager wrote: > I think it is a very important feature to be able to extract transaction > to/from you only from your private keys. Why? If somebody is sending me bitcoins, then they'll have to get either an address or one or more public keys from me. O

Re: [Bitcoin-development] Detecting OP_EVAL scriptPubKeys that are to you

2011-10-26 Thread Gregory Maxwell
On Wed, Oct 26, 2011 at 4:58 AM, Michael Grønager wrote: > I think it is a very important feature to be able to extract transaction > to/from you only from your private keys. In the standard transactions this is > easily accomplished - in the case you only want to find the addr to tx > mapping:

Re: [Bitcoin-development] Detecting OP_EVAL scriptPubKeys that are to you

2011-10-26 Thread Michael Grønager
I think it is a very important feature to be able to extract transaction to/from you only from your private keys. In the standard transactions this is easily accomplished - in the case you only want to find the addr to tx mapping: vector > > vSolution; if (!Solver(scriptPubKey, vSolution))