1 2017-04-11T00:16:06 *** cyphase has joined #bitcoin-dev
2 2017-04-11T00:26:55 *** oleganza has quit IRC
3 2017-04-11T00:39:31 *** lnovy has joined #bitcoin-dev
4 2017-04-11T00:44:30 *** chainey has joined #bitcoin-dev
5 2017-04-11T01:16:57 *** matrix1233 has quit IRC
6 2017-04-11T01:50:49 *** Burrito has quit IRC
7 2017-04-11T01:53:06 *** matrix1233 has joined #bitcoin-dev
8 2017-04-11T01:57:44 *** matrix1233 has quit IRC
9 2017-04-11T02:00:07 *** dermoth has quit IRC
10 2017-04-11T02:00:55 *** dermoth has joined #bitcoin-dev
11 2017-04-11T02:09:23 *** subo_ has joined #bitcoin-dev
12 2017-04-11T02:13:41 *** subo has quit IRC
13 2017-04-11T02:15:23 *** agricocb has joined #bitcoin-dev
14 2017-04-11T02:21:00 *** goatpig has quit IRC
15 2017-04-11T02:28:27 *** Giszmo has quit IRC
16 2017-04-11T02:32:05 *** goksinen has joined #bitcoin-dev
17 2017-04-11T02:36:40 *** justanotheruser has quit IRC
18 2017-04-11T02:47:30 *** matrix1233 has joined #bitcoin-dev
19 2017-04-11T02:51:32 *** matrix1233 has quit IRC
20 2017-04-11T02:54:49 *** Fr4n has quit IRC
21 2017-04-11T03:09:13 *** justanotheruser has joined #bitcoin-dev
22 2017-04-11T03:27:54 *** abpa has joined #bitcoin-dev
23 2017-04-11T03:28:44 *** abpa has quit IRC
24 2017-04-11T03:41:31 *** matrix1233 has joined #bitcoin-dev
25 2017-04-11T03:46:08 *** matrix1233 has quit IRC
26 2017-04-11T03:46:08 *** n1ce has joined #bitcoin-dev
27 2017-04-11T04:08:01 *** oleganza has joined #bitcoin-dev
28 2017-04-11T04:17:10 *** iv3c has quit IRC
29 2017-04-11T04:26:34 *** janko33 has joined #bitcoin-dev
30 2017-04-11T04:32:03 *** goksinen has quit IRC
31 2017-04-11T04:35:40 *** matrix1233 has joined #bitcoin-dev
32 2017-04-11T04:39:59 *** matrix1233 has quit IRC
33 2017-04-11T04:45:10 *** jtimon has quit IRC
34 2017-04-11T04:53:06 *** TheSeven has quit IRC
35 2017-04-11T04:53:31 *** TheSeven has joined #bitcoin-dev
36 2017-04-11T05:13:42 *** matrix1233 has joined #bitcoin-dev
37 2017-04-11T05:13:46 *** DigiByteDev has joined #bitcoin-dev
38 2017-04-11T05:18:22 *** matrix1233 has quit IRC
39 2017-04-11T05:27:52 *** ongolaBoy has joined #bitcoin-dev
40 2017-04-11T05:43:10 *** mol has quit IRC
41 2017-04-11T05:45:38 *** moli_ has joined #bitcoin-dev
42 2017-04-11T05:51:40 *** paveljanik has quit IRC
43 2017-04-11T05:53:19 *** oleganza has quit IRC
44 2017-04-11T05:54:28 *** blueness has quit IRC
45 2017-04-11T05:57:44 *** MoALTz has joined #bitcoin-dev
46 2017-04-11T06:16:20 *** matrix1233 has joined #bitcoin-dev
47 2017-04-11T06:23:27 *** ThomasV has joined #bitcoin-dev
48 2017-04-11T06:29:46 *** forrestv has quit IRC
49 2017-04-11T06:32:50 *** forrestv has joined #bitcoin-dev
50 2017-04-11T06:34:22 *** samlewis has joined #bitcoin-dev
51 2017-04-11T06:36:16 <samlewis> Anyone around that has a reasonable understanding of asicboost? I've read through the paper and the 20% efficiency gain that is spouted everywhere seems grossly overstated.. it might just be that I don't understand the power of asics though, would love to talk it through.
52 2017-04-11T06:56:23 *** moli_ has quit IRC
53 2017-04-11T06:58:11 *** moli_ has joined #bitcoin-dev
54 2017-04-11T07:00:56 *** BashCo has quit IRC
55 2017-04-11T07:01:43 *** BashCo has joined #bitcoin-dev
56 2017-04-11T07:04:40 *** kexkey has quit IRC
57 2017-04-11T07:06:17 *** BashCo has quit IRC
58 2017-04-11T07:20:33 *** BashCo has joined #bitcoin-dev
59 2017-04-11T07:25:33 *** MoALTz has quit IRC
60 2017-04-11T07:33:17 *** mol has joined #bitcoin-dev
61 2017-04-11T07:33:48 *** matrix1233 has quit IRC
62 2017-04-11T07:37:29 *** moli_ has quit IRC
63 2017-04-11T08:06:14 *** brianhoffman has quit IRC
64 2017-04-11T08:23:32 *** matrix1233 has joined #bitcoin-dev
65 2017-04-11T08:28:21 *** matrix1233 has quit IRC
66 2017-04-11T08:45:06 *** DigiByteDev has quit IRC
67 2017-04-11T08:59:17 *** blueness has joined #bitcoin-dev
68 2017-04-11T09:10:29 *** lnovy has quit IRC
69 2017-04-11T09:16:17 *** nazarewk has joined #bitcoin-dev
70 2017-04-11T09:17:59 *** matrix1233 has joined #bitcoin-dev
71 2017-04-11T09:22:10 *** matrix1233 has quit IRC
72 2017-04-11T09:27:41 *** ThomasV has quit IRC
73 2017-04-11T09:33:05 *** ThomasV has joined #bitcoin-dev
74 2017-04-11T09:34:29 *** blueness has quit IRC
75 2017-04-11T09:41:43 *** blueness has joined #bitcoin-dev
76 2017-04-11T09:45:25 *** weedcoder has joined #bitcoin-dev
77 2017-04-11T09:45:38 *** lnovy has joined #bitcoin-dev
78 2017-04-11T10:06:24 *** blueness has quit IRC
79 2017-04-11T10:12:06 *** matrix1233 has joined #bitcoin-dev
80 2017-04-11T10:16:21 *** matrix1233 has quit IRC
81 2017-04-11T10:16:57 *** JackH has joined #bitcoin-dev
82 2017-04-11T10:24:47 *** chainey has quit IRC
83 2017-04-11T10:26:17 *** kristofferR has quit IRC
84 2017-04-11T10:28:16 *** kristofferR has joined #bitcoin-dev
85 2017-04-11T10:29:02 *** d9b4bef9 has quit IRC
86 2017-04-11T10:29:46 *** kristofferR has quit IRC
87 2017-04-11T10:30:16 *** d9b4bef9 has joined #bitcoin-dev
88 2017-04-11T10:30:32 *** kristofferR has joined #bitcoin-dev
89 2017-04-11T10:33:16 *** wasi has quit IRC
90 2017-04-11T10:34:28 *** kristofferR has quit IRC
91 2017-04-11T10:37:21 *** kristofferR has joined #bitcoin-dev
92 2017-04-11T10:43:48 *** blueness has joined #bitcoin-dev
93 2017-04-11T10:57:15 *** matrix1233 has joined #bitcoin-dev
94 2017-04-11T11:02:21 *** Fr4n has joined #bitcoin-dev
95 2017-04-11T11:22:12 *** To7 has quit IRC
96 2017-04-11T11:30:02 *** blueness has quit IRC
97 2017-04-11T11:31:31 *** samlewis has quit IRC
98 2017-04-11T11:35:23 *** brianhoffman has joined #bitcoin-dev
99 2017-04-11T11:42:48 *** matrix1233 has quit IRC
100 2017-04-11T11:49:36 <instagibbs> http://www.mit.edu/~jlrubin//public/pdfs/Asicboost.pdf is a pretty decent explainer
101 2017-04-11T11:52:18 *** goatpig has joined #bitcoin-dev
102 2017-04-11T11:54:38 *** contrapumpkin has quit IRC
103 2017-04-11T11:59:28 *** matrix1233 has joined #bitcoin-dev
104 2017-04-11T12:12:22 *** agricocb has quit IRC
105 2017-04-11T12:26:42 *** kristofferR has quit IRC
106 2017-04-11T12:31:42 *** agricocb has joined #bitcoin-dev
107 2017-04-11T12:36:29 *** null_radix has quit IRC
108 2017-04-11T12:37:44 *** null_radix has joined #bitcoin-dev
109 2017-04-11T12:38:18 *** null_radix has quit IRC
110 2017-04-11T12:38:23 *** Chris_Stewart_5 has joined #bitcoin-dev
111 2017-04-11T12:40:23 *** comboy has joined #bitcoin-dev
112 2017-04-11T12:40:38 *** contrapumpkin has joined #bitcoin-dev
113 2017-04-11T12:40:44 *** null_radix has joined #bitcoin-dev
114 2017-04-11T12:43:14 *** jtimon has joined #bitcoin-dev
115 2017-04-11T12:43:33 *** kristofferR has joined #bitcoin-dev
116 2017-04-11T12:56:41 *** iv3c has joined #bitcoin-dev
117 2017-04-11T13:03:39 *** jn has joined #bitcoin-dev
118 2017-04-11T13:06:53 <comboy> do I understand correctly that sighash type is extracted as the last byte of the signature? and that it can have like 6 different values? if so why there's a lot of big integeres as sighash type here: https://raw.githubusercontent.com/bitcoin/bitcoin/master/src/test/data/sighash.json ?
119 2017-04-11T13:09:57 *** Fr4n has quit IRC
120 2017-04-11T13:12:00 *** d9b4bef9 has quit IRC
121 2017-04-11T13:19:03 <jonasschnelli> comboy: the sighash-type is appended to the sighash-serialized tx... its a uint32 (4 bytes)
122 2017-04-11T13:20:09 <jonasschnelli> that's done before hashing (the appending)
123 2017-04-11T13:20:12 <comboy> jonasschnelli: right, but if it's a single byte, how can it ever be more than 255 in reality?
124 2017-04-11T13:20:13 *** matrix1233 has quit IRC
125 2017-04-11T13:20:31 <jonasschnelli> comboy: it's not a single byte.. it's 4 bytes.
126 2017-04-11T13:20:45 <jonasschnelli> But I guess we currently support 4 different bits
127 2017-04-11T13:20:55 <comboy> jonasschnelli: you are appending it as 4 bytes, but you take it from the last byte of the sig, right?
128 2017-04-11T13:20:55 <jonasschnelli> SIGHASH_ALL, SIGHASH_NONE, SIGHASH_SINGLE, SIGHASH_ANYONECANPAY
129 2017-04-11T13:21:22 *** matrix1233 has joined #bitcoin-dev
130 2017-04-11T13:21:22 <jonasschnelli> comboy: no.. I'm not aware that it would have something to do with the sig
131 2017-04-11T13:22:09 <comboy> https://github.com/bitcoin/bitcoin/blob/8152d3fe57a991e9088d0b9d261d2b10936f45a9/src/script/interpreter.cpp#L118
132 2017-04-11T13:22:12 <jonasschnelli> 1. serialize the tx for sighash (some special serialisation), append the sighash-type uin32t, double_sha256 and -> hash for ecdsa
133 2017-04-11T13:22:24 *** Fr4n has joined #bitcoin-dev
134 2017-04-11T13:24:05 <comboy> here it says 1-byte, can it come from anywhere else?
135 2017-04-11T13:24:59 <jonasschnelli> hmm... checking...
136 2017-04-11T13:27:04 <jonasschnelli> comboy: Oh. Yes. I was looking at the compact signatures... the broadcasted DER encoded signatures have a single SIGHASH-TYPE byte at the end.
137 2017-04-11T13:28:37 <jonasschnelli> https://github.com/bitcoin/bitcoin/blob/8152d3fe57a991e9088d0b9d261d2b10936f45a9/src/script/sign.cpp#L34
138 2017-04-11T13:29:34 <jonasschnelli> comboy: the SignatureHash hashes over the serilaized tx and the sighash-type (4bytes),... but the DER encoded signatures have a 1byte sig-hash-type at the end
139 2017-04-11T13:30:08 <comboy> right, so even though we append it as 4 bytes, the sighash value is always a single byte value, correct?
140 2017-04-11T13:31:19 <jonasschnelli> comboy: Yes. Correct,... BIP66 and the DER encoding can't handle more.
141 2017-04-11T13:31:29 <jonasschnelli> The sighash can internally handle 32 bits.
142 2017-04-11T13:31:40 <comboy> jonasschnelli: so then we are back to my original question
143 2017-04-11T13:32:27 <jonasschnelli> let me check...
144 2017-04-11T13:32:59 <jonasschnelli> The test you have linked above is only the sighash test... that test has nothing to do with DER encoding (the last 1 byte)
145 2017-04-11T13:33:09 <jonasschnelli> It only cover how the tx gets hased before signing
146 2017-04-11T13:33:15 <jonasschnelli> There it's always 4 bytes
147 2017-04-11T13:34:36 <comboy> right.. but why test inputs that can never appear in reality and the fact that they can be currently present is only because of specifics of the current implementation? I'm not talking about signing, I understand there's 4 bytes there, maybe we'll use them one day maybe not, I'm just talking about this test data
148 2017-04-11T13:35:31 <jonasschnelli> yes... this is indeed strange
149 2017-04-11T13:36:22 <comboy> jonasschnelli: ok iif you find it's strange that's reassuring, I thought that maybe I'm understanding something wrong
150 2017-04-11T13:36:42 <jonasschnelli> comboy: I'm looking now into this... I guess there is a reason why
151 2017-04-11T13:37:40 <comboy> jonasschnelli: thanks, need to go afk for now but thanks for your time
152 2017-04-11T13:38:03 <jonasschnelli> np... will response here if I have found something
153 2017-04-11T13:41:32 *** Chris_Stewart_5 has quit IRC
154 2017-04-11T14:07:52 *** weedcoder has quit IRC
155 2017-04-11T14:21:49 *** bugs_ has joined #bitcoin-dev
156 2017-04-11T14:24:35 *** matrix1233 has quit IRC
157 2017-04-11T14:27:14 *** coin_trader has joined #bitcoin-dev
158 2017-04-11T14:30:52 *** Joseph__ has joined #bitcoin-dev
159 2017-04-11T14:32:52 *** NewLiberty has quit IRC
160 2017-04-11T14:33:13 *** NewLiberty_ has quit IRC
161 2017-04-11T14:33:43 *** NewLiberty has joined #bitcoin-dev
162 2017-04-11T15:00:00 *** matrix1233 has joined #bitcoin-dev
163 2017-04-11T15:00:33 *** MoALTz has joined #bitcoin-dev
164 2017-04-11T15:19:10 *** lnovy has quit IRC
165 2017-04-11T15:30:53 *** kexkey has joined #bitcoin-dev
166 2017-04-11T15:36:29 *** lnovy has joined #bitcoin-dev
167 2017-04-11T15:37:24 *** To7 has joined #bitcoin-dev
168 2017-04-11T15:37:33 *** Fr4n has quit IRC
169 2017-04-11T15:38:32 *** janko33_ has joined #bitcoin-dev
170 2017-04-11T15:40:52 *** janko33 has quit IRC
171 2017-04-11T15:42:02 *** lnovy has quit IRC
172 2017-04-11T15:44:41 *** kexkey has quit IRC
173 2017-04-11T15:46:34 *** abpa has joined #bitcoin-dev
174 2017-04-11T15:49:02 *** lnovy has joined #bitcoin-dev
175 2017-04-11T15:50:12 *** Fr4n has joined #bitcoin-dev
176 2017-04-11T15:58:04 *** Chris_Stewart_5 has joined #bitcoin-dev
177 2017-04-11T16:19:58 <arubi> I think hybrid pubkeys don't have to adhere to strictder ?
178 2017-04-11T16:20:15 <arubi> might be able to use the extended range with that
179 2017-04-11T16:20:43 *** starkness has joined #bitcoin-dev
180 2017-04-11T16:22:47 *** Guyver2 has joined #bitcoin-dev
181 2017-04-11T16:33:21 *** paveljanik has joined #bitcoin-dev
182 2017-04-11T16:38:42 *** oleganza has joined #bitcoin-dev
183 2017-04-11T16:56:10 *** starkness has quit IRC
184 2017-04-11T16:58:01 *** starkness has joined #bitcoin-dev
185 2017-04-11T16:59:33 *** Chris_Stewart_5 has quit IRC
186 2017-04-11T17:05:40 *** matrix1233 has quit IRC
187 2017-04-11T17:08:32 *** nazarewk has quit IRC
188 2017-04-11T17:10:01 *** d9b4bef9 has joined #bitcoin-dev
189 2017-04-11T17:12:04 *** matrix1233 has joined #bitcoin-dev
190 2017-04-11T17:14:52 *** ThomasV has quit IRC
191 2017-04-11T17:15:16 *** BashCo has quit IRC
192 2017-04-11T17:15:51 *** BashCo has joined #bitcoin-dev
193 2017-04-11T17:17:10 *** jtimon has quit IRC
194 2017-04-11T17:20:10 *** BashCo has quit IRC
195 2017-04-11T17:29:57 *** airbreather__ has quit IRC
196 2017-04-11T17:41:04 *** priidu has joined #bitcoin-dev
197 2017-04-11T17:45:57 *** lnovy has quit IRC
198 2017-04-11T17:53:03 *** moli_ has joined #bitcoin-dev
199 2017-04-11T17:55:08 *** Fr4n has quit IRC
200 2017-04-11T17:55:40 *** mol has quit IRC
201 2017-04-11T18:03:23 *** matrix1233 has quit IRC
202 2017-04-11T18:07:52 *** Fr4n has joined #bitcoin-dev
203 2017-04-11T18:16:34 *** starkness has quit IRC
204 2017-04-11T18:18:27 *** ongolaBoy has quit IRC
205 2017-04-11T18:31:43 *** lnovy has joined #bitcoin-dev
206 2017-04-11T19:02:56 *** lnovy has quit IRC
207 2017-04-11T19:06:43 *** matrix1233 has joined #bitcoin-dev
208 2017-04-11T19:08:02 *** jtimon has joined #bitcoin-dev
209 2017-04-11T19:17:53 *** e4xit has joined #bitcoin-dev
210 2017-04-11T19:20:10 *** lnovy has joined #bitcoin-dev
211 2017-04-11T19:21:50 *** BashCo has joined #bitcoin-dev
212 2017-04-11T19:24:49 *** weedcoder has joined #bitcoin-dev
213 2017-04-11T19:29:43 *** weedcoder has quit IRC
214 2017-04-11T19:44:06 *** Fr4n has quit IRC
215 2017-04-11T19:57:20 *** Fr4n has joined #bitcoin-dev
216 2017-04-11T19:58:34 *** |Clown| has quit IRC
217 2017-04-11T20:04:08 *** ThomasV has joined #bitcoin-dev
218 2017-04-11T20:16:56 *** e4xit has quit IRC
219 2017-04-11T20:23:17 *** zrts_ has joined #bitcoin-dev
220 2017-04-11T20:23:20 *** Fr4n has quit IRC
221 2017-04-11T20:31:03 *** janko33__ has joined #bitcoin-dev
222 2017-04-11T20:34:16 *** janko33_ has quit IRC
223 2017-04-11T20:37:08 *** Fr4n has joined #bitcoin-dev
224 2017-04-11T20:38:37 *** ThomasV has quit IRC
225 2017-04-11T20:42:26 *** BashCo has quit IRC
226 2017-04-11T20:52:48 *** blackwraith has joined #bitcoin-dev
227 2017-04-11T20:53:07 *** agricocb has quit IRC
228 2017-04-11T20:53:52 *** priidu has quit IRC
229 2017-04-11T21:06:41 *** MoALTz has quit IRC
230 2017-04-11T21:12:10 *** Fr4n has quit IRC
231 2017-04-11T21:18:10 *** |Clown| has joined #bitcoin-dev
232 2017-04-11T21:25:27 *** Fr4n has joined #bitcoin-dev
233 2017-04-11T21:29:45 *** janko33__ has quit IRC
234 2017-04-11T21:43:32 *** bugs_ has quit IRC
235 2017-04-11T21:59:11 *** Guyver2 has quit IRC
236 2017-04-11T22:02:05 *** agricocb has joined #bitcoin-dev
237 2017-04-11T22:05:54 *** emucode has joined #bitcoin-dev
238 2017-04-11T22:09:53 *** d9b4bef9 has quit IRC
239 2017-04-11T22:11:00 *** d9b4bef9 has joined #bitcoin-dev
240 2017-04-11T22:12:44 *** |Clown| is now known as Guest72397
241 2017-04-11T22:12:46 *** |Clown| has joined #bitcoin-dev
242 2017-04-11T22:14:24 *** Guest72397 has quit IRC
243 2017-04-11T22:22:52 *** subo_ has quit IRC
244 2017-04-11T22:24:01 *** subo has joined #bitcoin-dev
245 2017-04-11T22:32:33 *** hsmiths has quit IRC
246 2017-04-11T22:43:17 *** blackwraith has quit IRC
247 2017-04-11T22:44:27 *** blueness has joined #bitcoin-dev
248 2017-04-11T23:14:18 *** blueness has quit IRC
249 2017-04-11T23:23:28 *** blueness has joined #bitcoin-dev
250 2017-04-11T23:33:33 *** Tiraspol has joined #bitcoin-dev
251 2017-04-11T23:36:25 *** hsmiths has joined #bitcoin-dev
252 2017-04-11T23:41:22 <comboy> re this test file, I guess it was just completely randomly generated, including these integers, scripts there don't make any sense just some randnom opcodes e.g. ""OP_CHECKSIG 2 OP_CHECKSIG OP_VERIF OP_CHECKSIG OP_VERIF OP_CHECKSIG 1", it's not testing any edge cases or anything
253 2017-04-11T23:43:23 <comboy> I guess it still is of some use, although alternative implementations which include it hoping to match bitcoin core behavior may be a bit dissapointed
254 2017-04-11T23:57:38 *** abpa has quit IRC