1 2013-01-10 00:00:09 <etotheipi_> (of course, only if they're valid)
 2 2013-01-10 00:00:10 <etotheipi_> (of course, only if they're valid)
 3 2013-01-10 00:00:28 <deano> Oh, haha, yea I guess it could get in that way, so long as the miner accepts such a script
 4 2013-01-10 00:00:55 <etotheipi_> I'd say just about all the strange scripts on main-net are the miners themselves messing around
 5 2013-01-10 00:02:05 <deano> I was writing a bitcoin client, and so far I only included the standard 2 scripts... and I'm choking on that one... the first nonstandard script I've ran into beyond one that had a no-op in it
 6 2013-01-10 00:02:06 <deano> I was writing a bitcoin client, and so far I only included the standard 2 scripts... and I'm choking on that one... the first nonstandard script I've ran into beyond one that had a no-op in it
 7 2013-01-10 00:02:29 <etotheipi_> deano, it depends what you're trying to do with your application
 8 2013-01-10 00:02:37 <etotheipi_> in Armory, I just ignore non-standard scripts
 9 2013-01-10 00:02:38 <deano> I mean only included the ability to evaluate the standard 2 scripts
10 2013-01-10 00:02:39 <deano> I mean only included the ability to evaluate the standard 2 scripts
11 2013-01-10 00:03:05 <etotheipi_> if you are using Armory, you're using standard scripts... if you have a non-standard script, then you created it manually and know how to redeem it manually
12 2013-01-10 00:03:13 <sipa> etotheipi_: not sure if you were simplifying or not, but script evaluation is not just concatenate + run
13 2013-01-10 00:03:55 <deano> My plan was to be able to validate every coin output amount in every transaction... so I kinda want to be able to verify every script
14 2013-01-10 00:03:56 <deano> My plan was to be able to validate every coin output amount in every transaction... so I kinda want to be able to verify every script
15 2013-01-10 00:04:19 <etotheipi_> then listen to sipa :)  I don't do full script validation in Armory
16 2013-01-10 00:04:20 <deano> I don't want to just "trust the network" that the coin amounts are correct
17 2013-01-10 00:04:20 <etotheipi_> then listen to sipa :)  I don't do full script validation in Armory
18 2013-01-10 00:04:21 <deano> I don't want to just "trust the network" that the coin amounts are correct
19 2013-01-10 00:04:37 <etotheipi_> I leave it to my bitcoind/bitcoin-qt gateway to do that for me
20 2013-01-10 00:04:38 <etotheipi_> I leave it to my bitcoind/bitcoin-qt gateway to do that for me
21 2013-01-10 00:06:17 <deano> sipa: what were you implying there is beyond concat & run?
22 2013-01-10 00:06:18 <deano> sipa: what were you implying there is beyond concat & run?
23 2013-01-10 00:06:53 <sipa> it used to be thatbway, in very early versions
24 2013-01-10 00:06:54 <sipa> it used to be thatbway, in very early versions
25 2013-01-10 00:07:19 <sipa> but then someone discovered they could just put OP_RETURN in the input scriot
26 2013-01-10 00:07:20 <sipa> but then someone discovered they could just put OP_RETURN in the input scriot
27 2013-01-10 00:07:35 <sipa> and have it return true for every output
28 2013-01-10 00:07:36 <sipa> and have it return true for every output
29 2013-01-10 00:07:51 <etotheipi_> oh, I didn't know about OP_RETURN
30 2013-01-10 00:07:53 <sipa> so it was changed to two separate executions
31 2013-01-10 00:08:11 <sipa> first the input script, then the output script
32 2013-01-10 00:08:28 <sipa> the second execution inheriting the stack left bybthe first
33 2013-01-10 00:09:07 <deano> ok, good, that is what I have in my code right now.
34 2013-01-10 00:09:23 <etotheipi_> OP_RETURN seems like a pretty egregious operator
35 2013-01-10 00:09:24 <etotheipi_> OP_RETURN seems like a pretty egregious operator
36 2013-01-10 00:12:05 <deano> sipa, in my client that I've been working on, I only implimented a few of the script operations: DUP, EQUALVERIFY, CODESEPERATOR, CHECKSIG, CHECKSIGVERIFY, CHECKMULTISIG, CHECKMULTISIGVERIFY, the hashes, and NOP.  How many of the non-standard other operations have people used out of sillyness?
37 2013-01-10 00:12:06 <deano> sipa, in my client that I've been working on, I only implimented a few of the script operations: DUP, EQUALVERIFY, CODESEPERATOR, CHECKSIG, CHECKSIGVERIFY, CHECKMULTISIG, CHECKMULTISIGVERIFY, the hashes, and NOP.  How many of the non-standard other operations have people used out of sillyness?
38 2013-01-10 00:14:20 <etotheipi_> deano, I created a list of them on the old testnet
39 2013-01-10 00:14:21 <etotheipi_> deano, I created a list of them on the old testnet
40 2013-01-10 00:14:29 <etotheipi_> they used everything
41 2013-01-10 00:14:30 <etotheipi_> they used everything
42 2013-01-10 00:15:01 <deano> nice.  punks.  etotheipi, where is this old testnet?
43 2013-01-10 00:15:02 <deano> nice.  punks.  etotheipi, where is this old testnet?
44 2013-01-10 00:15:10 <etotheipi_> https://bitcointalk.org/index.php?topic=50523.0
45 2013-01-10 00:15:57 <etotheipi_> I guess it's not a real unit-test to run those scripts, but satoshi client deemed them all valid, so you should be able to run them
46 2013-01-10 00:15:58 <etotheipi_> I guess it's not a real unit-test to run those scripts, but satoshi client deemed them all valid, so you should be able to run them