1 2016-08-07T00:02:37  *** okae has quit IRC
  2 2016-08-07T00:05:50  *** Ylbam has quit IRC
  3 2016-08-07T00:09:07  *** splix has joined #bitcoin-dev
  4 2016-08-07T00:13:50  *** splix has quit IRC
  5 2016-08-07T00:20:08  *** cyphase has quit IRC
  6 2016-08-07T00:27:45  *** Belkaar has quit IRC
  7 2016-08-07T00:28:28  *** blueness has quit IRC
  8 2016-08-07T00:29:37  *** cyphase has joined #bitcoin-dev
  9 2016-08-07T00:30:11  *** Belkaar has joined #bitcoin-dev
 10 2016-08-07T00:38:07  *** spudowiar has joined #bitcoin-dev
 11 2016-08-07T00:53:53  *** herzmeister has quit IRC
 12 2016-08-07T00:54:18  *** herzmeister has joined #bitcoin-dev
 13 2016-08-07T01:10:16  *** jordandotdev has quit IRC
 14 2016-08-07T01:26:20  *** domwoe has joined #bitcoin-dev
 15 2016-08-07T01:39:31  *** jtimon has quit IRC
 16 2016-08-07T01:57:11  *** netzin has joined #bitcoin-dev
 17 2016-08-07T01:57:11  *** netzin is now known as nets1n
 18 2016-08-07T01:59:47  *** blueness has joined #bitcoin-dev
 19 2016-08-07T02:10:00  *** splix has joined #bitcoin-dev
 20 2016-08-07T02:14:42  *** splix has quit IRC
 21 2016-08-07T02:18:28  *** belcher has quit IRC
 22 2016-08-07T02:29:29  *** realz has joined #bitcoin-dev
 23 2016-08-07T02:30:55  *** Subo1977 has joined #bitcoin-dev
 24 2016-08-07T02:34:32  *** Delta_ has quit IRC
 25 2016-08-07T02:42:39  *** nets1n has quit IRC
 26 2016-08-07T02:43:16  *** nets1n has joined #bitcoin-dev
 27 2016-08-07T02:44:12  *** aalex has quit IRC
 28 2016-08-07T02:47:43  *** nets1n has quit IRC
 29 2016-08-07T02:48:33  *** aalex has joined #bitcoin-dev
 30 2016-08-07T03:15:04  *** baldur has quit IRC
 31 2016-08-07T03:51:54  *** ThomasV has joined #bitcoin-dev
 32 2016-08-07T03:53:14  *** stoopkid has joined #bitcoin-dev
 33 2016-08-07T04:00:42  *** domwoe has quit IRC
 34 2016-08-07T04:43:32  *** janko33 has joined #bitcoin-dev
 35 2016-08-07T05:13:03  *** CheckDavid has quit IRC
 36 2016-08-07T05:17:16  *** blueness has quit IRC
 37 2016-08-07T05:18:38  *** ThomasV has quit IRC
 38 2016-08-07T05:20:12  *** blueness has joined #bitcoin-dev
 39 2016-08-07T05:20:19  *** stoopkid has quit IRC
 40 2016-08-07T05:22:54  *** blueness has quit IRC
 41 2016-08-07T05:23:30  *** stoopkid has joined #bitcoin-dev
 42 2016-08-07T05:24:52  *** twistedline_ has quit IRC
 43 2016-08-07T05:28:45  *** st0opkid has joined #bitcoin-dev
 44 2016-08-07T05:31:04  *** Chris_Stewart_5 has quit IRC
 45 2016-08-07T05:31:37  *** stoopkid has quit IRC
 46 2016-08-07T05:38:39  *** twistedline_ has joined #bitcoin-dev
 47 2016-08-07T05:39:19  *** aalex has quit IRC
 48 2016-08-07T05:43:32  *** aalex has joined #bitcoin-dev
 49 2016-08-07T05:50:13  *** herzmeister has quit IRC
 50 2016-08-07T06:00:30  *** ThomasV has joined #bitcoin-dev
 51 2016-08-07T06:02:55  *** robink has quit IRC
 52 2016-08-07T06:05:54  *** robink_ has joined #bitcoin-dev
 53 2016-08-07T06:09:11  *** herzmeister has joined #bitcoin-dev
 54 2016-08-07T06:10:12  *** sto0pkid has joined #bitcoin-dev
 55 2016-08-07T06:13:33  *** st0opkid has quit IRC
 56 2016-08-07T06:26:53  *** stoopkid has joined #bitcoin-dev
 57 2016-08-07T06:29:27  *** sto0pkid has quit IRC
 58 2016-08-07T06:30:11  *** btcdrak has quit IRC
 59 2016-08-07T06:34:11  *** nets1n has joined #bitcoin-dev
 60 2016-08-07T06:38:02  *** btcdrak has joined #bitcoin-dev
 61 2016-08-07T07:11:38  *** st0opkid has joined #bitcoin-dev
 62 2016-08-07T07:11:49  *** stoopkid has quit IRC
 63 2016-08-07T07:21:39  *** one_zero has quit IRC
 64 2016-08-07T07:29:47  *** jtimon has joined #bitcoin-dev
 65 2016-08-07T07:32:07  *** sto0pkid has joined #bitcoin-dev
 66 2016-08-07T07:35:35  *** st0opkid has quit IRC
 67 2016-08-07T07:50:35  *** [7] has quit IRC
 68 2016-08-07T07:50:45  *** TheSeven has joined #bitcoin-dev
 69 2016-08-07T07:54:04  *** ThomasV has quit IRC
 70 2016-08-07T08:10:53  *** MoALTz has joined #bitcoin-dev
 71 2016-08-07T08:12:48  *** blueness has joined #bitcoin-dev
 72 2016-08-07T08:13:10  *** paveljanik has quit IRC
 73 2016-08-07T08:22:09  *** ThomasV has joined #bitcoin-dev
 74 2016-08-07T08:42:20  *** TheAdversary has quit IRC
 75 2016-08-07T08:42:26  *** Hasimir has quit IRC
 76 2016-08-07T08:50:08  *** btcdrak has quit IRC
 77 2016-08-07T08:52:22  *** robink_ has quit IRC
 78 2016-08-07T08:54:08  *** st0opkid has joined #bitcoin-dev
 79 2016-08-07T08:57:53  *** sto0pkid has quit IRC
 80 2016-08-07T08:59:18  *** btcdrak has joined #bitcoin-dev
 81 2016-08-07T09:00:00  *** spudowiar has quit IRC
 82 2016-08-07T09:04:19  *** Giszmo has joined #bitcoin-dev
 83 2016-08-07T09:04:55  *** nets1n has quit IRC
 84 2016-08-07T09:14:39  *** ThomasV has quit IRC
 85 2016-08-07T09:18:19  *** jtimon has quit IRC
 86 2016-08-07T09:24:52  *** stoopkid has joined #bitcoin-dev
 87 2016-08-07T09:27:51  *** st0opkid has quit IRC
 88 2016-08-07T09:29:06  *** ThomasV has joined #bitcoin-dev
 89 2016-08-07T09:35:09  *** st0opkid has joined #bitcoin-dev
 90 2016-08-07T09:37:13  *** robink_ has joined #bitcoin-dev
 91 2016-08-07T09:37:52  *** stoopkid has quit IRC
 92 2016-08-07T09:40:07  *** TheAdversary has joined #bitcoin-dev
 93 2016-08-07T10:02:50  *** BashCo has joined #bitcoin-dev
 94 2016-08-07T10:03:10  *** robink_ has quit IRC
 95 2016-08-07T10:05:37  *** robink_ has joined #bitcoin-dev
 96 2016-08-07T10:05:43  *** nets1n has joined #bitcoin-dev
 97 2016-08-07T10:11:36  *** nets1n has quit IRC
 98 2016-08-07T10:12:25  *** BashCo has quit IRC
 99 2016-08-07T10:13:41  *** ThomasV has quit IRC
100 2016-08-07T10:16:42  *** BashCo has joined #bitcoin-dev
101 2016-08-07T10:21:19  *** herzmeister has quit IRC
102 2016-08-07T10:21:46  *** herzmeister has joined #bitcoin-dev
103 2016-08-07T10:29:28  *** BashCo has quit IRC
104 2016-08-07T10:40:00  *** arubi has quit IRC
105 2016-08-07T10:40:57  *** arubi has joined #bitcoin-dev
106 2016-08-07T10:57:09  *** belcher has joined #bitcoin-dev
107 2016-08-07T10:58:06  *** ThomasV has joined #bitcoin-dev
108 2016-08-07T11:02:31  *** nazarewk has joined #bitcoin-dev
109 2016-08-07T11:04:33  *** aalex has quit IRC
110 2016-08-07T11:08:34  *** aalex has joined #bitcoin-dev
111 2016-08-07T11:11:07  *** TheAdversary has quit IRC
112 2016-08-07T11:27:57  *** cyphase has quit IRC
113 2016-08-07T11:28:40  *** cyphase has joined #bitcoin-dev
114 2016-08-07T11:30:08  *** btcdrak has quit IRC
115 2016-08-07T11:31:43  *** Processus42 has joined #bitcoin-dev
116 2016-08-07T12:04:09  *** nazarewk has quit IRC
117 2016-08-07T12:05:41  *** nazarewk has joined #bitcoin-dev
118 2016-08-07T12:18:28  *** nazarewk has quit IRC
119 2016-08-07T12:20:05  *** nazarewk has joined #bitcoin-dev
120 2016-08-07T12:34:44  *** aalex has quit IRC
121 2016-08-07T12:38:31  *** aalex has joined #bitcoin-dev
122 2016-08-07T13:14:05  *** btcdrak has joined #bitcoin-dev
123 2016-08-07T14:06:17  *** Chris_Stewart_5 has joined #bitcoin-dev
124 2016-08-07T14:28:34  *** cjd has left #bitcoin-dev
125 2016-08-07T14:41:19  *** ThomasV has quit IRC
126 2016-08-07T15:04:27  *** Kexkey has joined #bitcoin-dev
127 2016-08-07T15:19:21  *** BashCo has joined #bitcoin-dev
128 2016-08-07T15:46:54  *** Kexkey has quit IRC
129 2016-08-07T15:48:09  *** ribasushi has quit IRC
130 2016-08-07T15:54:06  *** ribasushi has joined #bitcoin-dev
131 2016-08-07T15:56:01  *** nazarewk has quit IRC
132 2016-08-07T15:56:28  *** TheAdversary has joined #bitcoin-dev
133 2016-08-07T15:57:21  *** Hasimir has joined #bitcoin-dev
134 2016-08-07T15:59:56  *** CheckDavid has joined #bitcoin-dev
135 2016-08-07T16:02:44  *** morcos has quit IRC
136 2016-08-07T16:02:45  *** nazarewk has joined #bitcoin-dev
137 2016-08-07T16:23:17  *** jtimon has joined #bitcoin-dev
138 2016-08-07T16:25:58  *** trixisowned has joined #bitcoin-dev
139 2016-08-07T16:49:38  *** trixisowned has quit IRC
140 2016-08-07T16:52:16  *** OMDPrebel has joined #bitcoin-dev
141 2016-08-07T17:21:17  *** blueness has quit IRC
142 2016-08-07T17:23:39  *** blueness has joined #bitcoin-dev
143 2016-08-07T17:42:40  *** Emcy_ has quit IRC
144 2016-08-07T17:46:00  *** nets1n has joined #bitcoin-dev
145 2016-08-07T17:46:56  *** ThomasV has joined #bitcoin-dev
146 2016-08-07T18:01:23  *** nets1n has quit IRC
147 2016-08-07T18:02:47  *** nets1n has joined #bitcoin-dev
148 2016-08-07T18:03:03  *** CheckDavid has quit IRC
149 2016-08-07T18:10:37  *** ribasushi has quit IRC
150 2016-08-07T18:15:48  *** ribasushi has joined #bitcoin-dev
151 2016-08-07T18:19:01  *** nets1n has quit IRC
152 2016-08-07T18:40:21  *** nets1n has joined #bitcoin-dev
153 2016-08-07T18:42:55  *** cybrNaut has joined #bitcoin-dev
154 2016-08-07T18:43:32  *** Chris_Stewart_5 has quit IRC
155 2016-08-07T19:09:07  *** wizkid057 has quit IRC
156 2016-08-07T19:09:12  *** wizkidO57 has joined #bitcoin-dev
157 2016-08-07T19:09:19  *** wizkidO57 is now known as wizkid057
158 2016-08-07T19:10:38  *** wizkidO57 has joined #bitcoin-dev
159 2016-08-07T19:10:44  *** wizkidO57 is now known as wizkid057
160 2016-08-07T19:19:52  *** PaulCapestany has quit IRC
161 2016-08-07T19:23:49  *** PaulCapestany has joined #bitcoin-dev
162 2016-08-07T19:25:30  *** nets1n has quit IRC
163 2016-08-07T19:40:03  *** nets1n has joined #bitcoin-dev
164 2016-08-07T19:42:37  *** nets1n has quit IRC
165 2016-08-07T19:43:22  *** nets1n has joined #bitcoin-dev
166 2016-08-07T19:49:42  *** nets1n has quit IRC
167 2016-08-07T19:51:10  *** nets1n has joined #bitcoin-dev
168 2016-08-07T20:07:22  *** oneeman has joined #bitcoin-dev
169 2016-08-07T20:15:24  *** hsmiths has joined #bitcoin-dev
170 2016-08-07T20:15:41  *** hsmiths has left #bitcoin-dev
171 2016-08-07T20:25:52  *** nazarewk has quit IRC
172 2016-08-07T20:28:21  *** whphhg has quit IRC
173 2016-08-07T20:29:24  *** whphhg_ has joined #bitcoin-dev
174 2016-08-07T20:30:38  *** whphhg_ is now known as whphhg
175 2016-08-07T20:43:07  *** kaidou has joined #bitcoin-dev
176 2016-08-07T20:44:37  *** Ylbam has joined #bitcoin-dev
177 2016-08-07T20:45:04  *** HostFat has quit IRC
178 2016-08-07T20:49:16  *** splix has joined #bitcoin-dev
179 2016-08-07T20:53:39  *** splix has quit IRC
180 2016-08-07T20:57:40  *** nets1n has quit IRC
181 2016-08-07T20:58:41  *** janko33 has quit IRC
182 2016-08-07T21:04:40  *** oneeman has quit IRC
183 2016-08-07T21:18:39  *** agricocb has quit IRC
184 2016-08-07T21:20:35  *** spudowiar has joined #bitcoin-dev
185 2016-08-07T21:22:25  *** nets1n has joined #bitcoin-dev
186 2016-08-07T21:24:38  *** nets1n has quit IRC
187 2016-08-07T21:32:04  *** justanotheruser has quit IRC
188 2016-08-07T21:33:07  *** justanotheruser has joined #bitcoin-dev
189 2016-08-07T21:33:15  *** CheckDavid has joined #bitcoin-dev
190 2016-08-07T21:43:01  *** MoALTz has quit IRC
191 2016-08-07T21:43:08  *** nets1n has joined #bitcoin-dev
192 2016-08-07T21:48:34  *** ThomasV has quit IRC
193 2016-08-07T22:07:39  *** Chris_Stewart_5 has joined #bitcoin-dev
194 2016-08-07T22:10:01  *** Raziel has quit IRC
195 2016-08-07T22:12:04  *** jtimon has quit IRC
196 2016-08-07T22:19:52  *** p2me has joined #bitcoin-dev
197 2016-08-07T22:33:24  <p2me> hey, i've got a question regarding P2SH, any help?
198 2016-08-07T22:41:45  *** one_zero has joined #bitcoin-dev
199 2016-08-07T22:50:16  *** splix has joined #bitcoin-dev
200 2016-08-07T22:54:58  *** splix has quit IRC
201 2016-08-07T23:01:38  *** Giszmo has quit IRC
202 2016-08-07T23:06:39  <jl2012> p2me: just ask what you want to ask. People will answer when they see it
203 2016-08-07T23:12:24  <p2me> sure. i've been trying to learn more about bitcoin on the protocol level. i understand how the normal p2pkh stuff goes but p2sh is really confusing me.
204 2016-08-07T23:13:19  <p2me> the pubkeyscript = OP_HASH160 [20-byte-hash-value] OP_EQUAL
205 2016-08-07T23:14:43  <p2me> this seems only to ask for a hash of the redeem script with no mention of actually checking whether the redeem script itself returns true.
206 2016-08-07T23:15:52  <p2me> i know modern clients only accept 4 "standard" scripts and if they recognized a P2SH transaction validate the redeem script itself + the hash
207 2016-08-07T23:17:23  <p2me> but to an old client (which accepted non-standard scripts), wouldn't the hash alone be enough to spend the coins? could that client also mine the block or what would happen?
208 2016-08-07T23:36:33  <achow101> p2me: no, it asks for something which hashes to the specified 20 byte hash. This something is the redeemscript.
209 2016-08-07T23:38:27  <p2me> oops, worded that badly
210 2016-08-07T23:38:50  <p2me> right - it asks for something which when hashed = [20-byte-hash-value]
211 2016-08-07T23:39:26  <p2me> which is the redeem script, but where does it then check that the redeem script (along with the sigs you usually provide) actually validates?
212 2016-08-07T23:40:52  <p2me> if you had for example, 2 of 3 multisig in p2sh scriptsig would look like: <sig> <sig> <redeemscript>
213 2016-08-07T23:42:00  <p2me> why wouldn't JUST <redeemscript> work? specifically if you broadcast this tx to old nodes which handled non-standard scripts
214 2016-08-07T23:43:50  <warren> p2me: old nodes that don't understand P2SH you mean?
215 2016-08-07T23:44:01  <p2me> right
216 2016-08-07T23:46:18  <warren> p2me: In general soft-forks work by narrowing what is considered to be valid in newer software.  Violations of new rules wouldn't be mined into blocks or verified by newer software following the new rules.  Old software might consider violations of new rules that it doesn't know about to be "valid" but it would fail to confirm on the longest chain that they follow.
217 2016-08-07T23:47:17  <warren> Not sure if that makes sense.
218 2016-08-07T23:51:41  <p2me> is that invalidating specific to P2SH? i heard you could get "non-standard" scripts onto the blockchain if an older node managed to mine them
219 2016-08-07T23:55:03  <p2me> like, i could send coins to pubkeyscript "solve 5+5" if i mined the block myself. new nodes wouldn't relay it because it's not 1 of the 4 standard tx types but they'd still validate it if it was in a block
220 2016-08-07T23:57:12  <p2me> (the "solve 5+5" example being a raw pubkeyscript, NOT a P2SH), like these things: https://medium.com/@alcio/a-look-at-bitcoin-non-standard-outputs-c97f65cccbb6#.p5x22lm9x