1 2016-03-17T00:04:04 *** herzmeister has quit IRC
2 2016-03-17T00:04:13 *** RoboTeddy has quit IRC
3 2016-03-17T00:05:31 *** stqism has quit IRC
4 2016-03-17T00:06:00 *** herzmeister has joined #bitcoin-dev
5 2016-03-17T00:06:49 *** rodarmor has quit IRC
6 2016-03-17T00:06:49 *** GreenIsMyPepper has quit IRC
7 2016-03-17T00:07:55 *** rodarmor has joined #bitcoin-dev
8 2016-03-17T00:08:45 *** Dizzle has quit IRC
9 2016-03-17T00:08:46 *** GreenIsMyPepper has joined #bitcoin-dev
10 2016-03-17T00:09:31 *** blueness has joined #bitcoin-dev
11 2016-03-17T00:20:20 *** Cory has quit IRC
12 2016-03-17T00:21:48 *** belcher has quit IRC
13 2016-03-17T00:22:00 *** Cory has joined #bitcoin-dev
14 2016-03-17T00:22:53 *** PaulCapestany has quit IRC
15 2016-03-17T00:23:48 *** PaulCapestany has joined #bitcoin-dev
16 2016-03-17T00:29:47 *** wallet42 has quit IRC
17 2016-03-17T00:35:11 *** belcher has joined #bitcoin-dev
18 2016-03-17T00:41:39 *** Belxjander has quit IRC
19 2016-03-17T00:45:52 *** Belxjander has joined #bitcoin-dev
20 2016-03-17T00:47:24 *** herzmeister has quit IRC
21 2016-03-17T00:55:52 *** moa has quit IRC
22 2016-03-17T00:59:31 *** herzmeister has joined #bitcoin-dev
23 2016-03-17T01:00:28 *** RoboTeddy has joined #bitcoin-dev
24 2016-03-17T01:02:07 *** Belxjander has quit IRC
25 2016-03-17T01:03:50 *** Belxjander has joined #bitcoin-dev
26 2016-03-17T01:05:07 *** RoboTeddy has quit IRC
27 2016-03-17T01:12:24 *** stalled has quit IRC
28 2016-03-17T01:20:59 *** Ylbam has quit IRC
29 2016-03-17T01:28:15 *** blueness has quit IRC
30 2016-03-17T01:29:54 *** NielsvG has quit IRC
31 2016-03-17T01:32:59 *** CheckDavid has joined #bitcoin-dev
32 2016-03-17T01:37:39 *** priidu has quit IRC
33 2016-03-17T01:45:43 *** droark has quit IRC
34 2016-03-17T01:50:35 *** stalled has joined #bitcoin-dev
35 2016-03-17T01:53:25 *** TheSeven has quit IRC
36 2016-03-17T01:54:41 *** TheSeven has joined #bitcoin-dev
37 2016-03-17T02:01:22 *** RoboTeddy has joined #bitcoin-dev
38 2016-03-17T02:05:59 *** RoboTeddy has quit IRC
39 2016-03-17T02:10:09 *** wallet42 has joined #bitcoin-dev
40 2016-03-17T02:13:25 *** realz has joined #bitcoin-dev
41 2016-03-17T02:15:23 *** agricocb has joined #bitcoin-dev
42 2016-03-17T02:16:10 *** realz_ has quit IRC
43 2016-03-17T02:16:40 *** realz_ has joined #bitcoin-dev
44 2016-03-17T02:18:34 *** realz has quit IRC
45 2016-03-17T02:19:39 *** CheckDavid has quit IRC
46 2016-03-17T02:19:39 *** PaulCapestany has quit IRC
47 2016-03-17T02:19:40 *** jtimon has quit IRC
48 2016-03-17T02:19:40 *** slackircbridge has quit IRC
49 2016-03-17T02:19:41 *** aknix has quit IRC
50 2016-03-17T02:19:42 *** Nothing4You has quit IRC
51 2016-03-17T02:19:42 *** nowan has quit IRC
52 2016-03-17T02:19:42 *** IngCr3at1on has quit IRC
53 2016-03-17T02:19:43 *** Arnavion has quit IRC
54 2016-03-17T02:19:43 *** iinaj has quit IRC
55 2016-03-17T02:19:44 *** NicolasDorier has quit IRC
56 2016-03-17T02:19:44 *** wangbus has quit IRC
57 2016-03-17T02:21:27 *** Belxjander has quit IRC
58 2016-03-17T02:22:56 *** Belxjander has joined #bitcoin-dev
59 2016-03-17T02:25:14 *** CheckDavid has joined #bitcoin-dev
60 2016-03-17T02:25:14 *** PaulCapestany has joined #bitcoin-dev
61 2016-03-17T02:25:14 *** jtimon has joined #bitcoin-dev
62 2016-03-17T02:25:14 *** slackircbridge has joined #bitcoin-dev
63 2016-03-17T02:25:14 *** aknix has joined #bitcoin-dev
64 2016-03-17T02:25:14 *** Nothing4You has joined #bitcoin-dev
65 2016-03-17T02:25:14 *** nowan has joined #bitcoin-dev
66 2016-03-17T02:25:14 *** IngCr3at1on has joined #bitcoin-dev
67 2016-03-17T02:25:14 *** Arnavion has joined #bitcoin-dev
68 2016-03-17T02:25:14 *** iinaj has joined #bitcoin-dev
69 2016-03-17T02:25:14 *** NicolasDorier has joined #bitcoin-dev
70 2016-03-17T02:25:14 *** wangbus has joined #bitcoin-dev
71 2016-03-17T02:25:43 *** CheckDavid has quit IRC
72 2016-03-17T02:25:43 *** PaulCapestany has quit IRC
73 2016-03-17T02:25:43 *** Nothing4You has quit IRC
74 2016-03-17T02:26:21 *** PaulCapestany has joined #bitcoin-dev
75 2016-03-17T02:28:06 *** Nothing4You has joined #bitcoin-dev
76 2016-03-17T02:30:00 *** CheckDavid has joined #bitcoin-dev
77 2016-03-17T02:31:08 *** markus-k_ has joined #bitcoin-dev
78 2016-03-17T02:32:58 *** johnwhitton has quit IRC
79 2016-03-17T02:33:49 *** johnwhitton has joined #bitcoin-dev
80 2016-03-17T02:34:06 *** markus-k has quit IRC
81 2016-03-17T02:34:13 *** johnwhitton has quit IRC
82 2016-03-17T02:36:27 *** realz has joined #bitcoin-dev
83 2016-03-17T02:36:33 *** johnwhitton has joined #bitcoin-dev
84 2016-03-17T02:37:47 *** hashtag_ has quit IRC
85 2016-03-17T02:39:25 *** realz_ has quit IRC
86 2016-03-17T02:41:17 *** belcher has quit IRC
87 2016-03-17T02:41:42 *** johnwhitton has quit IRC
88 2016-03-17T02:44:08 *** Ahmed90 has quit IRC
89 2016-03-17T02:49:09 *** johnwhitton has joined #bitcoin-dev
90 2016-03-17T02:51:00 *** jl2012 has quit IRC
91 2016-03-17T02:51:42 *** st0opkid has quit IRC
92 2016-03-17T02:56:48 *** OMDPrebel has joined #bitcoin-dev
93 2016-03-17T03:00:37 *** wumpus has quit IRC
94 2016-03-17T03:01:53 *** RoboTeddy has joined #bitcoin-dev
95 2016-03-17T03:02:50 *** wumpus has joined #bitcoin-dev
96 2016-03-17T03:06:03 *** achow101 has quit IRC
97 2016-03-17T03:06:30 *** RoboTeddy has quit IRC
98 2016-03-17T03:09:23 *** realz_ has joined #bitcoin-dev
99 2016-03-17T03:13:04 *** realz has quit IRC
100 2016-03-17T03:14:17 *** blueness has joined #bitcoin-dev
101 2016-03-17T03:14:30 *** johnwhitton has quit IRC
102 2016-03-17T03:21:49 *** Subo1977 has joined #bitcoin-dev
103 2016-03-17T03:22:24 *** Delta_ has quit IRC
104 2016-03-17T03:23:22 *** blueness has quit IRC
105 2016-03-17T03:24:39 *** wallet42 has quit IRC
106 2016-03-17T03:28:21 *** rnvk has joined #bitcoin-dev
107 2016-03-17T03:30:28 *** hashtag_ has joined #bitcoin-dev
108 2016-03-17T03:30:43 *** wizkid057 has quit IRC
109 2016-03-17T03:34:13 *** Belxjander has quit IRC
110 2016-03-17T03:35:00 *** wizkid057 has joined #bitcoin-dev
111 2016-03-17T03:35:30 *** BashCo has joined #bitcoin-dev
112 2016-03-17T03:38:14 *** BashCo_ has quit IRC
113 2016-03-17T03:42:10 *** Belxjander has joined #bitcoin-dev
114 2016-03-17T03:42:23 *** blueness has joined #bitcoin-dev
115 2016-03-17T03:55:15 *** mrkent has quit IRC
116 2016-03-17T03:55:22 *** blueness has quit IRC
117 2016-03-17T03:55:35 *** mrkent has joined #bitcoin-dev
118 2016-03-17T03:56:54 *** robink_ has quit IRC
119 2016-03-17T04:00:03 *** mrkent has quit IRC
120 2016-03-17T04:18:46 *** mol11111 has joined #bitcoin-dev
121 2016-03-17T04:19:54 *** moa has joined #bitcoin-dev
122 2016-03-17T04:20:55 *** Xanather has joined #bitcoin-dev
123 2016-03-17T04:21:11 *** moli has quit IRC
124 2016-03-17T04:21:57 *** realz has joined #bitcoin-dev
125 2016-03-17T04:24:49 *** realz_ has quit IRC
126 2016-03-17T04:25:20 *** MoALTz has quit IRC
127 2016-03-17T04:25:54 *** sysodaff has joined #bitcoin-dev
128 2016-03-17T04:27:30 *** robink_ has joined #bitcoin-dev
129 2016-03-17T04:30:04 *** sysodaff has quit IRC
130 2016-03-17T04:32:47 *** robink_ is now known as robink
131 2016-03-17T04:37:13 *** Belxjander has quit IRC
132 2016-03-17T04:37:57 *** Belxjander has joined #bitcoin-dev
133 2016-03-17T04:41:53 *** CheckDavid has quit IRC
134 2016-03-17T04:53:27 *** Newyorkadam has joined #bitcoin-dev
135 2016-03-17T04:54:17 *** realz_ has joined #bitcoin-dev
136 2016-03-17T04:57:34 *** realz has quit IRC
137 2016-03-17T04:59:56 *** realz has joined #bitcoin-dev
138 2016-03-17T05:01:35 *** OMDPrebel has quit IRC
139 2016-03-17T05:02:32 *** realz_ has quit IRC
140 2016-03-17T05:02:41 *** IngCr3at1on has quit IRC
141 2016-03-17T05:03:34 *** RoboTeddy has joined #bitcoin-dev
142 2016-03-17T05:08:14 *** RoboTeddy has quit IRC
143 2016-03-17T05:09:15 *** ThomasV has joined #bitcoin-dev
144 2016-03-17T05:18:58 *** kadoban has quit IRC
145 2016-03-17T05:20:33 *** Belxjander has quit IRC
146 2016-03-17T05:26:59 *** Newyorkadam has quit IRC
147 2016-03-17T05:28:01 *** wallet42 has joined #bitcoin-dev
148 2016-03-17T05:28:44 *** zooko has joined #bitcoin-dev
149 2016-03-17T05:28:44 *** priidu has joined #bitcoin-dev
150 2016-03-17T05:31:26 *** Belxjander has joined #bitcoin-dev
151 2016-03-17T05:42:27 *** priidu has quit IRC
152 2016-03-17T05:54:21 *** Xanather has quit IRC
153 2016-03-17T05:59:31 *** Diablo-D3 has quit IRC
154 2016-03-17T06:00:18 *** dermoth has quit IRC
155 2016-03-17T06:00:52 *** dermoth has joined #bitcoin-dev
156 2016-03-17T06:04:20 *** RoboTeddy has joined #bitcoin-dev
157 2016-03-17T06:04:31 *** ThomasV has quit IRC
158 2016-03-17T06:08:42 *** RoboTeddy has quit IRC
159 2016-03-17T06:10:02 *** DatBeeDoe has joined #bitcoin-dev
160 2016-03-17T06:10:42 *** Belxjander has quit IRC
161 2016-03-17T06:15:04 *** DatBeeDoe has quit IRC
162 2016-03-17T06:16:16 *** Belxjander has joined #bitcoin-dev
163 2016-03-17T06:20:51 *** Belxjander has quit IRC
164 2016-03-17T06:21:40 *** blueness has joined #bitcoin-dev
165 2016-03-17T06:22:17 *** Belxjander has joined #bitcoin-dev
166 2016-03-17T06:23:28 *** wallet42 has quit IRC
167 2016-03-17T06:27:50 *** ThomasV has joined #bitcoin-dev
168 2016-03-17T06:27:57 *** Diablo-D3 has joined #bitcoin-dev
169 2016-03-17T06:28:46 *** DougieBot5000 has quit IRC
170 2016-03-17T06:31:19 *** wallet42 has joined #bitcoin-dev
171 2016-03-17T06:32:42 *** Giszmo has quit IRC
172 2016-03-17T06:40:44 *** Belxjander has quit IRC
173 2016-03-17T06:40:51 *** ongolaBoy has joined #bitcoin-dev
174 2016-03-17T06:41:37 *** jtimon has quit IRC
175 2016-03-17T06:46:56 *** herzmeisterderw has joined #bitcoin-dev
176 2016-03-17T06:47:10 *** Belxjander has joined #bitcoin-dev
177 2016-03-17T06:51:00 *** herzmeister has quit IRC
178 2016-03-17T06:58:18 *** Belxjander has quit IRC
179 2016-03-17T07:01:27 *** Belxjander has joined #bitcoin-dev
180 2016-03-17T07:05:06 *** RoboTeddy has joined #bitcoin-dev
181 2016-03-17T07:06:43 *** Xanather has joined #bitcoin-dev
182 2016-03-17T07:09:13 *** RoboTeddy has quit IRC
183 2016-03-17T07:16:04 *** Belxjander has quit IRC
184 2016-03-17T07:21:58 *** Belxjander has joined #bitcoin-dev
185 2016-03-17T07:22:25 *** c-cex-yuriy has quit IRC
186 2016-03-17T07:23:33 *** Logicwax has quit IRC
187 2016-03-17T07:24:22 *** Logicwax has joined #bitcoin-dev
188 2016-03-17T07:26:22 *** wallet42 has quit IRC
189 2016-03-17T07:39:18 *** doppelgnubeard has joined #bitcoin-dev
190 2016-03-17T07:44:33 *** doppelgnubeard has quit IRC
191 2016-03-17T07:51:17 *** Palsson has joined #bitcoin-dev
192 2016-03-17T07:55:25 *** doppelgnubeard has joined #bitcoin-dev
193 2016-03-17T07:56:07 *** ThomasV has quit IRC
194 2016-03-17T07:58:02 *** doppelgnubeard has quit IRC
195 2016-03-17T08:04:41 *** doppelgnubeard has joined #bitcoin-dev
196 2016-03-17T08:05:48 *** RoboTeddy has joined #bitcoin-dev
197 2016-03-17T08:10:05 *** RoboTeddy has quit IRC
198 2016-03-17T08:10:50 *** doppelgnubeard has quit IRC
199 2016-03-17T08:18:47 *** Ylbam has joined #bitcoin-dev
200 2016-03-17T08:23:50 *** mrkent has joined #bitcoin-dev
201 2016-03-17T08:36:24 *** one_zero has quit IRC
202 2016-03-17T08:38:26 *** ThomasV has joined #bitcoin-dev
203 2016-03-17T08:40:53 *** gnubeard has quit IRC
204 2016-03-17T08:41:28 *** Krellan has quit IRC
205 2016-03-17T08:43:10 *** gnubeard has joined #bitcoin-dev
206 2016-03-17T08:44:01 *** zooko has quit IRC
207 2016-03-17T08:44:05 *** mountaingoat has quit IRC
208 2016-03-17T08:45:11 *** mountaingoat has joined #bitcoin-dev
209 2016-03-17T09:06:29 *** RoboTeddy has joined #bitcoin-dev
210 2016-03-17T09:11:03 *** RoboTeddy has quit IRC
211 2016-03-17T09:35:17 *** mrkent has quit IRC
212 2016-03-17T09:38:49 *** MoALTz_ has joined #bitcoin-dev
213 2016-03-17T09:40:56 *** MoALTz_ is now known as MoALTz
214 2016-03-17T09:42:12 *** herzmeisterderw has quit IRC
215 2016-03-17T09:42:37 *** herzmeister has joined #bitcoin-dev
216 2016-03-17T09:56:09 *** sword_smith has joined #bitcoin-dev
217 2016-03-17T09:57:14 *** wallet42 has joined #bitcoin-dev
218 2016-03-17T10:00:31 *** DatBeeDoe has joined #bitcoin-dev
219 2016-03-17T10:07:13 *** RoboTeddy has joined #bitcoin-dev
220 2016-03-17T10:11:42 *** RoboTeddy has quit IRC
221 2016-03-17T10:15:29 *** dlb76 has quit IRC
222 2016-03-17T10:19:58 *** dlb76 has joined #bitcoin-dev
223 2016-03-17T10:20:13 *** proslogion has joined #bitcoin-dev
224 2016-03-17T10:32:11 *** jl2012 has joined #bitcoin-dev
225 2016-03-17T10:33:52 *** damethos has joined #bitcoin-dev
226 2016-03-17T10:50:30 *** DatBeeDoe has quit IRC
227 2016-03-17T10:58:48 *** Xanather has quit IRC
228 2016-03-17T11:08:01 *** RoboTeddy has joined #bitcoin-dev
229 2016-03-17T11:12:49 *** RoboTeddy has quit IRC
230 2016-03-17T11:13:54 *** moa has quit IRC
231 2016-03-17T11:40:59 *** AaronvanW has quit IRC
232 2016-03-17T11:55:49 *** supasonic has quit IRC
233 2016-03-17T11:56:31 *** okae has joined #bitcoin-dev
234 2016-03-17T12:01:47 *** realz has quit IRC
235 2016-03-17T12:02:10 *** realz has joined #bitcoin-dev
236 2016-03-17T12:09:03 *** RoboTeddy has joined #bitcoin-dev
237 2016-03-17T12:14:03 *** RoboTeddy has quit IRC
238 2016-03-17T12:15:41 *** Burrito has joined #bitcoin-dev
239 2016-03-17T12:32:22 *** ThomasV has quit IRC
240 2016-03-17T12:35:02 *** agricocb has quit IRC
241 2016-03-17T12:38:16 *** TheAdversary has quit IRC
242 2016-03-17T12:40:12 *** jtimon has joined #bitcoin-dev
243 2016-03-17T12:41:13 *** TheAdversary has joined #bitcoin-dev
244 2016-03-17T12:42:03 *** Xanather has joined #bitcoin-dev
245 2016-03-17T12:48:23 *** c-cex-yuriy has joined #bitcoin-dev
246 2016-03-17T12:50:18 *** kadoban has joined #bitcoin-dev
247 2016-03-17T12:57:54 *** wallet42 has quit IRC
248 2016-03-17T13:06:31 *** Chris_Stewart_5 has joined #bitcoin-dev
249 2016-03-17T13:07:21 *** mnk has quit IRC
250 2016-03-17T13:25:26 *** rdymac has quit IRC
251 2016-03-17T13:26:39 *** stevenroose_ has quit IRC
252 2016-03-17T13:27:38 *** stevenroose_ has joined #bitcoin-dev
253 2016-03-17T13:28:32 *** stevenroose_ has quit IRC
254 2016-03-17T13:28:48 *** stevenroose_ has joined #bitcoin-dev
255 2016-03-17T13:30:21 *** stevenroose_ has quit IRC
256 2016-03-17T13:30:40 *** stevenroose_ has joined #bitcoin-dev
257 2016-03-17T13:38:31 *** stevenroose_ has quit IRC
258 2016-03-17T13:39:13 *** stevenroose_ has joined #bitcoin-dev
259 2016-03-17T13:40:17 *** G1lius has joined #bitcoin-dev
260 2016-03-17T13:40:25 *** stevenroose_ has quit IRC
261 2016-03-17T13:57:10 *** agricocb has joined #bitcoin-dev
262 2016-03-17T13:58:50 *** agricocb has joined #bitcoin-dev
263 2016-03-17T14:01:57 *** CheckDavid has joined #bitcoin-dev
264 2016-03-17T14:04:41 *** TomMc has joined #bitcoin-dev
265 2016-03-17T14:05:12 *** gigq has quit IRC
266 2016-03-17T14:10:16 *** RoboTeddy has joined #bitcoin-dev
267 2016-03-17T14:10:25 *** stevenroose_ has joined #bitcoin-dev
268 2016-03-17T14:10:43 *** Chris_Stewart_5 has quit IRC
269 2016-03-17T14:12:06 *** stevenroose_ has quit IRC
270 2016-03-17T14:13:08 *** stevenroose_ has joined #bitcoin-dev
271 2016-03-17T14:14:50 *** stevenroose_ is now known as gh
272 2016-03-17T14:14:58 *** stevenroose has quit IRC
273 2016-03-17T14:15:02 *** gh is now known as stevenroose
274 2016-03-17T14:15:14 *** RoboTeddy has quit IRC
275 2016-03-17T14:16:42 <stevenroose> question about the head-first mining proposed for Classic: the probabilistic property of mining makes it mostly harmless regarding verification speed, tx throughput, orphan rate...
276 2016-03-17T14:17:05 <stevenroose> but there is one thing that could influence in a not-very-desirable way: difficulty increases
277 2016-03-17T14:18:10 <stevenroose> An occasional extra empty block within the 30s after the previous one does no harm at the time it is broadcast, but it will eventually increase the difficulty somewhat
278 2016-03-17T14:19:14 <stevenroose> Since the main reason for head-first proposal was make mining better for small miners, a difficulty increase is somewhat counter-productive in that regard
279 2016-03-17T14:24:26 *** teslax has joined #bitcoin-dev
280 2016-03-17T14:24:38 *** Chris_Stewart_5 has joined #bitcoin-dev
281 2016-03-17T14:33:27 *** ThomasV has joined #bitcoin-dev
282 2016-03-17T14:54:08 *** damethos has quit IRC
283 2016-03-17T15:11:01 *** RoboTeddy has joined #bitcoin-dev
284 2016-03-17T15:15:34 *** RoboTeddy has quit IRC
285 2016-03-17T15:16:05 *** Giszmo has joined #bitcoin-dev
286 2016-03-17T15:20:46 *** DougieBot5000 has joined #bitcoin-dev
287 2016-03-17T15:23:29 <Chris_Stewart_5> Does anyone know what the equivalent data structure to CScriptNum is inside of python-bitcoinlib?
288 2016-03-17T15:23:38 <Chris_Stewart_5> link to CScriptNum inside of core: https://github.com/bitcoin/bitcoin/blob/93c85d458ac3e2c496c1a053e1f5925f55e29100/src/script/script.h#L195
289 2016-03-17T15:26:27 *** Aleph0 has quit IRC
290 2016-03-17T15:27:15 *** Aleph0 has joined #bitcoin-dev
291 2016-03-17T15:28:38 <wumpus> Chris_Stewart_5: bitcoin.core._bignum.bn2vch / vch2bn
292 2016-03-17T15:30:05 *** rdymac has joined #bitcoin-dev
293 2016-03-17T15:39:54 *** jps has joined #bitcoin-dev
294 2016-03-17T15:42:22 <Chris_Stewart_5> wumpus: I did the following
295 2016-03-17T15:42:27 <Chris_Stewart_5> >>> import bitcoin.core._bignum as b
296 2016-03-17T15:42:27 <Chris_Stewart_5> >>> b.bn2vch(0)
297 2016-03-17T15:42:29 <Chris_Stewart_5> ''
298 2016-03-17T15:42:45 <Chris_Stewart_5> is that actually right? ScriptNum should serialize to the empty string?
299 2016-03-17T15:43:12 <Chris_Stewart_5> try to emulate what this would serialize to in hex
300 2016-03-17T15:43:15 <Chris_Stewart_5> https://github.com/bitcoin/bitcoin/blob/605c17844ea32b6d237db6d83871164dc7d59dab/src/test/script_tests.cpp#L65
301 2016-03-17T15:45:31 <wumpus> yes, zero is an empty string
302 2016-03-17T15:45:57 <Chris_Stewart_5> thanks for the clarification
303 2016-03-17T15:46:09 <wumpus> it's a variable length number representation
304 2016-03-17T15:48:24 <Chris_Stewart_5> this? https://en.bitcoin.it/wiki/Protocol_documentation#Variable_length_integer
305 2016-03-17T15:48:48 <wumpus> not that one, a different one
306 2016-03-17T15:49:26 <wumpus> the one you linked is for the serialization format, not the number representation for scripts
307 2016-03-17T15:49:47 <wumpus> scripts are simply byte strings in the serialization format of transactions
308 2016-03-17T16:03:30 *** teslax has quit IRC
309 2016-03-17T16:07:22 *** johnwhitton has joined #bitcoin-dev
310 2016-03-17T16:08:05 *** Xanather has quit IRC
311 2016-03-17T16:11:57 *** RoboTeddy has joined #bitcoin-dev
312 2016-03-17T16:13:39 *** BashCo_ has joined #bitcoin-dev
313 2016-03-17T16:16:30 *** BashCo has quit IRC
314 2016-03-17T16:16:40 *** RoboTeddy has quit IRC
315 2016-03-17T16:28:54 *** markus-k_ has quit IRC
316 2016-03-17T16:39:23 *** Xanather has joined #bitcoin-dev
317 2016-03-17T16:40:52 *** mol11111 is now known as moli
318 2016-03-17T16:44:09 *** blueness has quit IRC
319 2016-03-17T16:45:49 *** supasonic has joined #bitcoin-dev
320 2016-03-17T16:54:22 *** doppelgnubeard has joined #bitcoin-dev
321 2016-03-17T16:56:51 *** BashCo has joined #bitcoin-dev
322 2016-03-17T16:59:16 *** BashCo_ has quit IRC
323 2016-03-17T17:09:23 <Chris_Stewart_5> So what is the difference between CScript() << CScriptNum(0) << CScriptNum(0) and just an empty CScript() if both of those CScriptNum(0) are being serialized to ''
324 2016-03-17T17:12:43 *** RoboTeddy has joined #bitcoin-dev
325 2016-03-17T17:17:16 *** RoboTeddy has quit IRC
326 2016-03-17T17:17:45 <wumpus> << CSctriptNum(x) will add a PUSH opcode to the script that pushes X
327 2016-03-17T17:17:51 <gavinandresen> An empty CScript is zero-length. the other is length two (two zero bytes).
328 2016-03-17T17:18:40 <Chris_Stewart_5> gavinandresen: The two zero bytes are push ops as wumpus was saying?
329 2016-03-17T17:20:54 <gavinandresen> yes, push-zero-bytes also known as OP_0 also known as 'the empty string' also known as OP_FALSE ....
330 2016-03-17T17:21:22 *** ThomasV has quit IRC
331 2016-03-17T17:21:44 *** mnk has joined #bitcoin-dev
332 2016-03-17T17:22:24 <wumpus> yes. So be aware, << for CScript is defined differently than << for normal serialization
333 2016-03-17T17:22:41 <wumpus> this has led many new developers astray
334 2016-03-17T17:23:06 <Chris_Stewart_5> so if the script really looks like CScript(OP_0, ScriptNum(0), OP_0, ScriptNum(0)) which then serializes to "00" + '' + "00" + '' -> "0000"?
335 2016-03-17T17:24:59 <wumpus> the script would look like OP_0 OP_0. No need for any values in between, OP_0 is the operation that pushes a fixed value (the empty string)
336 2016-03-17T17:26:50 <wumpus> there are various classes of push opcodes, << automatically selects the most space-efficient one
337 2016-03-17T17:27:58 <wumpus> which happens to be OP_0 for the empty string, but would be OP_PUSHDATA1 0x4c <0x4c bytes> for >=0x4c <0x100 bytes
338 2016-03-17T17:28:33 <instagibbs> O, is that why
339 2016-03-17T17:28:56 *** blueness has joined #bitcoin-dev
340 2016-03-17T17:29:03 <Chris_Stewart_5> ok, if this script were to be serialized though for TransactionSignatureSerialization, the OP_0's would be serialized according to this documentation right
341 2016-03-17T17:29:10 <Chris_Stewart_5> https://en.bitcoin.it/wiki/Script#Constants
342 2016-03-17T17:31:49 *** Palsson has quit IRC
343 2016-03-17T17:32:02 <Chris_Stewart_5> also I didn't realize you needed the OP_PUSHDATA1 to push the 0x4c onto the stack, wouldn't the interpreter automatically do that? Its been awhile since I looked at code to how these are parsed
344 2016-03-17T17:32:14 <wumpus> Chris_Stewart_5: yes, script numbers are constants
345 2016-03-17T17:32:17 *** Ahmed90 has joined #bitcoin-dev
346 2016-03-17T17:32:49 <wumpus> (or at least, are constants if they're pushed into a script literally)
347 2016-03-17T17:38:21 *** teslax has joined #bitcoin-dev
348 2016-03-17T17:39:30 *** mnk has quit IRC
349 2016-03-17T17:39:54 *** huseby has joined #bitcoin-dev
350 2016-03-17T17:43:26 *** Xanather has quit IRC
351 2016-03-17T17:44:40 *** btcdrak has quit IRC
352 2016-03-17T17:44:59 *** btcdrak has joined #bitcoin-dev
353 2016-03-17T17:45:37 *** okae has quit IRC
354 2016-03-17T17:46:20 *** BashCo has quit IRC
355 2016-03-17T17:47:20 *** BashCo has joined #bitcoin-dev
356 2016-03-17T17:48:39 <kanzure> remote code execution vulnerability in git http://seclists.org/oss-sec/2016/q1/645
357 2016-03-17T17:53:00 *** wallet42 has joined #bitcoin-dev
358 2016-03-17T17:54:40 *** BashCo has quit IRC
359 2016-03-17T17:55:24 <wumpus> ugh
360 2016-03-17T17:56:28 *** blueness has quit IRC
361 2016-03-17T17:57:40 *** MrHodl has joined #bitcoin-dev
362 2016-03-17T17:57:48 *** catcow has quit IRC
363 2016-03-17T17:58:07 *** catcow has joined #bitcoin-dev
364 2016-03-17T17:58:51 *** droark has joined #bitcoin-dev
365 2016-03-17T17:59:33 *** wallet42 has quit IRC
366 2016-03-17T18:00:08 *** achow101 has joined #bitcoin-dev
367 2016-03-17T18:02:25 *** c-cex-yuriy has quit IRC
368 2016-03-17T18:03:29 *** droark has quit IRC
369 2016-03-17T18:04:00 *** droark has joined #bitcoin-dev
370 2016-03-17T18:05:55 *** hsmiths has quit IRC
371 2016-03-17T18:07:13 *** hsmiths has joined #bitcoin-dev
372 2016-03-17T18:10:34 *** ongolaBoy has quit IRC
373 2016-03-17T18:10:48 *** iv3c has joined #bitcoin-dev
374 2016-03-17T18:13:06 *** mrkent has joined #bitcoin-dev
375 2016-03-17T18:13:19 *** RoboTeddy has joined #bitcoin-dev
376 2016-03-17T18:17:57 *** RoboTeddy has quit IRC
377 2016-03-17T18:20:05 *** blueness has joined #bitcoin-dev
378 2016-03-17T18:25:05 *** priidu has joined #bitcoin-dev
379 2016-03-17T18:27:46 <Chris_Stewart_5> is there an easy way to run individual test files inside of bitcoin?
380 2016-03-17T18:27:59 <Chris_Stewart_5> I've tried doign something like this, however I'm not super literate with c++/boost
381 2016-03-17T18:28:01 <Chris_Stewart_5> g++ script_tests.cpp -DSTAND_ALONE -lboost_unit_test_framework -o test1
382 2016-03-17T18:40:09 <wumpus> I don't know about individual tests, but you can certainly run individual test suites
383 2016-03-17T18:40:49 *** achow101 has quit IRC
384 2016-03-17T18:41:12 <wumpus> ./test_bitcoin -t script_tests
385 2016-03-17T18:46:15 *** shurnormal has joined #bitcoin-dev
386 2016-03-17T18:49:54 <wumpus> this works too, you can run one test: ./test_bitcoin -t script_tests/script_IsPushOnly_on_invalid_scripts
387 2016-03-17T18:50:07 *** treehug88 has joined #bitcoin-dev
388 2016-03-17T18:51:57 <Chris_Stewart_5> sweet, that is exactly what I was looking for.
389 2016-03-17T18:52:21 *** achow101 has joined #bitcoin-dev
390 2016-03-17T18:53:16 <Chris_Stewart_5> Does that automatically recompile your test file if you modifed it or does it need to be recompiled manually
391 2016-03-17T18:54:13 *** mrkent_ has joined #bitcoin-dev
392 2016-03-17T18:55:22 *** n0n0 has joined #bitcoin-dev
393 2016-03-17T18:56:24 *** mrkent has quit IRC
394 2016-03-17T18:57:32 <wumpus> no, you still need to run make test_bitcoin
395 2016-03-17T18:57:48 <wumpus> C/C++ executables never automatically recompile themselves
396 2016-03-17T19:01:25 *** realz_ has joined #bitcoin-dev
397 2016-03-17T19:02:13 <Chris_Stewart_5> I get an error saying it cannot find chainparamsbase.h, does this need to be run in a specific directory? I tried running it inside of tests/ which appears to have a Makefile with test_bitcoin defined
398 2016-03-17T19:05:04 *** realz has quit IRC
399 2016-03-17T19:07:15 *** iv3c has quit IRC
400 2016-03-17T19:10:40 *** aidanh has quit IRC
401 2016-03-17T19:11:27 *** ploopkazoo has quit IRC
402 2016-03-17T19:12:03 <wumpus> should just work
403 2016-03-17T19:12:26 <wumpus> just do 'cd src/test; make'
404 2016-03-17T19:13:34 *** G1lius has quit IRC
405 2016-03-17T19:13:52 *** ploopkazoo has joined #bitcoin-dev
406 2016-03-17T19:14:58 *** aidanh has joined #bitcoin-dev
407 2016-03-17T19:19:09 *** mrkent has joined #bitcoin-dev
408 2016-03-17T19:20:03 *** mrkent_ has quit IRC
409 2016-03-17T19:27:13 *** hybridsole has joined #bitcoin-dev
410 2016-03-17T19:35:35 *** meLon has joined #bitcoin-dev
411 2016-03-17T19:35:57 *** realz has joined #bitcoin-dev
412 2016-03-17T19:38:17 *** realz_ has quit IRC
413 2016-03-17T19:41:53 *** CheckDavid has quit IRC
414 2016-03-17T19:50:33 *** realz_ has joined #bitcoin-dev
415 2016-03-17T19:50:46 *** ThomasV has joined #bitcoin-dev
416 2016-03-17T19:52:15 *** markus-k has joined #bitcoin-dev
417 2016-03-17T19:54:04 *** realz has quit IRC
418 2016-03-17T19:59:59 *** schmidty has quit IRC
419 2016-03-17T20:02:36 *** schmidty has joined #bitcoin-dev
420 2016-03-17T20:06:43 *** n0n0 has quit IRC
421 2016-03-17T20:14:34 *** RoboTeddy has joined #bitcoin-dev
422 2016-03-17T20:19:14 *** RoboTeddy has quit IRC
423 2016-03-17T20:33:47 *** doppelgnubeard has quit IRC
424 2016-03-17T20:45:25 *** realz has joined #bitcoin-dev
425 2016-03-17T20:48:02 *** realz_ has quit IRC
426 2016-03-17T20:53:03 *** english- has joined #bitcoin-dev
427 2016-03-17T21:14:05 *** realz has quit IRC
428 2016-03-17T21:14:31 *** realz has joined #bitcoin-dev
429 2016-03-17T21:15:46 *** RoboTeddy has joined #bitcoin-dev
430 2016-03-17T21:20:01 *** RoboTeddy has quit IRC
431 2016-03-17T21:24:14 *** english- has quit IRC
432 2016-03-17T21:35:00 *** markus-k has quit IRC
433 2016-03-17T21:38:45 *** belcher has joined #bitcoin-dev
434 2016-03-17T21:39:33 *** Newyorkadam has joined #bitcoin-dev
435 2016-03-17T21:44:00 *** blueness has quit IRC
436 2016-03-17T21:48:13 *** markus-k has joined #bitcoin-dev
437 2016-03-17T21:48:24 *** treehug88 has quit IRC
438 2016-03-17T21:52:16 *** MrHodl has quit IRC
439 2016-03-17T21:53:34 *** realz has quit IRC
440 2016-03-17T21:55:55 *** realz has joined #bitcoin-dev
441 2016-03-17T22:05:32 *** dabb has quit IRC
442 2016-03-17T22:10:23 *** dabb has joined #bitcoin-dev
443 2016-03-17T22:11:55 *** realz__ has joined #bitcoin-dev
444 2016-03-17T22:15:04 *** realz has quit IRC
445 2016-03-17T22:15:56 *** realz has joined #bitcoin-dev
446 2016-03-17T22:16:26 *** RoboTeddy has joined #bitcoin-dev
447 2016-03-17T22:16:54 *** realz__ has quit IRC
448 2016-03-17T22:17:56 *** dabb has quit IRC
449 2016-03-17T22:21:10 *** RoboTeddy has quit IRC
450 2016-03-17T22:21:34 *** dabb has joined #bitcoin-dev
451 2016-03-17T22:27:29 *** realz_ has joined #bitcoin-dev
452 2016-03-17T22:28:22 *** meZee has quit IRC
453 2016-03-17T22:29:15 *** meZee has joined #bitcoin-dev
454 2016-03-17T22:29:18 *** ThomasV has quit IRC
455 2016-03-17T22:31:03 *** realz has quit IRC
456 2016-03-17T22:34:34 *** blueness has joined #bitcoin-dev
457 2016-03-17T22:34:49 *** jps has quit IRC
458 2016-03-17T22:39:37 *** CheckDavid has joined #bitcoin-dev
459 2016-03-17T22:39:59 *** herzmeister has quit IRC
460 2016-03-17T22:40:23 *** herzmeister has joined #bitcoin-dev
461 2016-03-17T22:41:52 *** forrestv has quit IRC
462 2016-03-17T22:47:05 *** Newyorkadam has quit IRC
463 2016-03-17T22:47:34 *** forrestv has joined #bitcoin-dev
464 2016-03-17T22:48:58 *** moa has joined #bitcoin-dev
465 2016-03-17T22:49:12 *** markus-k has quit IRC
466 2016-03-17T22:52:41 *** agricocb has quit IRC
467 2016-03-17T22:59:14 *** Newyorkadam has joined #bitcoin-dev
468 2016-03-17T23:00:34 *** DougieBot5000 has quit IRC
469 2016-03-17T23:05:27 *** rdymac has quit IRC
470 2016-03-17T23:12:12 *** ThomasV has joined #bitcoin-dev
471 2016-03-17T23:17:09 *** RoboTeddy has joined #bitcoin-dev
472 2016-03-17T23:21:28 *** RoboTeddy has quit IRC
473 2016-03-17T23:23:49 *** Burrito has quit IRC
474 2016-03-17T23:30:12 *** Chris_Stewart_5 has quit IRC
475 2016-03-17T23:33:04 *** c-cex-yuriy has joined #bitcoin-dev
476 2016-03-17T23:35:16 *** realz_ has quit IRC
477 2016-03-17T23:37:16 *** DougieBot5000 has joined #bitcoin-dev
478 2016-03-17T23:43:28 *** one_zero has joined #bitcoin-dev
479 2016-03-17T23:51:33 *** ThomasV has quit IRC