1 2016-03-15T00:20:03  *** Belxjander has quit IRC
  2 2016-03-15T00:20:58  *** belcher has joined #bitcoin-dev
  3 2016-03-15T00:21:16  *** Belxjander has joined #bitcoin-dev
  4 2016-03-15T00:22:03  *** kermit has joined #bitcoin-dev
  5 2016-03-15T00:22:42  <belcher> is there an accepted method for SPV/thin-wallets to have access to the estimatefee method from core? im thinking about writing a wallet that sync's with bip37 bloom filters only to your own node running on your own hardware, but im not sure how such a wallet would estimatefee
  6 2016-03-15T00:22:53  *** CheckDavid has joined #bitcoin-dev
  7 2016-03-15T00:23:37  *** RoboTeddy has joined #bitcoin-dev
  8 2016-03-15T00:24:04  *** okae has quit IRC
  9 2016-03-15T00:24:11  *** herzmeister has quit IRC
 10 2016-03-15T00:24:59  *** herzmeister has joined #bitcoin-dev
 11 2016-03-15T00:28:13  *** RoboTeddy has quit IRC
 12 2016-03-15T00:30:54  *** trixisowned has quit IRC
 13 2016-03-15T00:32:24  *** c-cex-yuriy has quit IRC
 14 2016-03-15T00:38:17  *** Belxjander has quit IRC
 15 2016-03-15T00:42:12  *** Belxjander has joined #bitcoin-dev
 16 2016-03-15T00:45:05  <belcher> i wonder if in the long term, a new method can be added to the p2p protocol that exposed estimatefee
 17 2016-03-15T00:47:08  *** nelisky has joined #bitcoin-dev
 18 2016-03-15T00:49:44  *** agricocb has joined #bitcoin-dev
 19 2016-03-15T00:49:50  *** tunafizz has quit IRC
 20 2016-03-15T00:50:24  <wallet42> belcher: the problem here really is how to trust other nodes.
 21 2016-03-15T00:50:42  <belcher> of course, miners especially have an incentive to lie
 22 2016-03-15T00:50:54  <belcher> but my specific situation, ill only connect to my own node on my own hardware
 23 2016-03-15T00:51:01  <belcher> for full privacy, security, trustlessness and so on
 24 2016-03-15T00:58:03  *** AaronvanW has quit IRC
 25 2016-03-15T01:07:40  *** TomMc has quit IRC
 26 2016-03-15T01:10:23  *** ThomasV has quit IRC
 27 2016-03-15T01:10:59  *** Ylbam has quit IRC
 28 2016-03-15T01:19:41  *** TomMc has joined #bitcoin-dev
 29 2016-03-15T01:22:00  *** Belxjander has quit IRC
 30 2016-03-15T01:24:14  *** RoboTeddy has joined #bitcoin-dev
 31 2016-03-15T01:24:53  *** Belxjander has joined #bitcoin-dev
 32 2016-03-15T01:28:43  *** RoboTeddy has quit IRC
 33 2016-03-15T01:40:09  *** blackwraith has quit IRC
 34 2016-03-15T01:45:18  *** molz has quit IRC
 35 2016-03-15T01:45:58  *** mol11111 has joined #bitcoin-dev
 36 2016-03-15T01:46:25  *** mol11111 is now known as moli
 37 2016-03-15T01:47:42  *** Eris72 has joined #bitcoin-dev
 38 2016-03-15T01:55:39  *** TheSeven has quit IRC
 39 2016-03-15T01:56:35  *** realz has joined #bitcoin-dev
 40 2016-03-15T01:56:47  *** TheSeven has joined #bitcoin-dev
 41 2016-03-15T01:59:13  *** wallet42 has quit IRC
 42 2016-03-15T02:10:31  *** supasonic has quit IRC
 43 2016-03-15T02:10:50  *** realz_ has joined #bitcoin-dev
 44 2016-03-15T02:15:08  *** realz has quit IRC
 45 2016-03-15T02:15:28  *** kermit has quit IRC
 46 2016-03-15T02:16:13  <Luke-Jr> belcher: some authenticated protocol would be desirable for that kind of use case. right now, it basically requires Tor :/
 47 2016-03-15T02:16:36  <belcher> Luke-Jr or ssh tunnel or simply routing in your own home network
 48 2016-03-15T02:16:59  *** Chris_Stewart_5 has quit IRC
 49 2016-03-15T02:17:12  <belcher> bitcoin 0.12 automatically creates a .onion so its even more convenient
 50 2016-03-15T02:17:18  <Luke-Jr> I assume my home network is insecure. :p
 51 2016-03-15T02:17:33  <Luke-Jr> only if Tor is running ;)
 52 2016-03-15T02:17:35  <belcher> really? ok i guess so
 53 2016-03-15T02:17:43  <belcher> well even so, theres no estimatefee
 54 2016-03-15T02:17:55  <belcher> you have to query a web api i think
 55 2016-03-15T02:18:30  <Luke-Jr> you could tunnel the REST or JSON-RPC API
 56 2016-03-15T02:18:58  <belcher> yes
 57 2016-03-15T02:19:10  *** kermit has joined #bitcoin-dev
 58 2016-03-15T02:19:11  <belcher> someone said so on #bitcoin, i suppose thats what ill do
 59 2016-03-15T02:19:27  <belcher> its slightly less convieniant setting it all up, but not much can be done about that :)
 60 2016-03-15T02:24:01  *** supasonic has joined #bitcoin-dev
 61 2016-03-15T02:24:27  *** TomMc has quit IRC
 62 2016-03-15T02:24:29  *** belcher has quit IRC
 63 2016-03-15T02:25:07  *** RoboTeddy has joined #bitcoin-dev
 64 2016-03-15T02:29:37  *** RoboTeddy has quit IRC
 65 2016-03-15T02:31:30  *** paxtoncamaro91_ has joined #bitcoin-dev
 66 2016-03-15T02:37:33  *** nelisky has quit IRC
 67 2016-03-15T02:40:20  *** paxtoncamaro91_ is now known as madpax
 68 2016-03-15T02:44:04  *** blueness has quit IRC
 69 2016-03-15T02:46:53  *** c-cex-yuriy has joined #bitcoin-dev
 70 2016-03-15T02:49:19  *** Belxjander has quit IRC
 71 2016-03-15T02:49:45  *** sh_smith has joined #bitcoin-dev
 72 2016-03-15T02:52:07  *** Belxjander has joined #bitcoin-dev
 73 2016-03-15T02:53:55  *** Ahmed90 has quit IRC
 74 2016-03-15T03:05:50  *** achow101 has quit IRC
 75 2016-03-15T03:09:18  *** Belxjander has quit IRC
 76 2016-03-15T03:09:31  *** Giszmo has quit IRC
 77 2016-03-15T03:16:57  *** Belxjander has joined #bitcoin-dev
 78 2016-03-15T03:23:32  *** Subo1977 has joined #bitcoin-dev
 79 2016-03-15T03:25:58  *** RoboTeddy has joined #bitcoin-dev
 80 2016-03-15T03:26:49  *** Delta_ has quit IRC
 81 2016-03-15T03:30:44  *** RoboTeddy has quit IRC
 82 2016-03-15T03:37:56  *** Belxjander has quit IRC
 83 2016-03-15T03:43:09  *** Belxjander has joined #bitcoin-dev
 84 2016-03-15T03:47:30  *** johnwhitton has quit IRC
 85 2016-03-15T03:51:50  *** thurmyt3 has joined #bitcoin-dev
 86 2016-03-15T04:01:52  *** CheckDavid has quit IRC
 87 2016-03-15T04:04:15  *** Belxjander has quit IRC
 88 2016-03-15T04:05:16  *** Belxjander has joined #bitcoin-dev
 89 2016-03-15T04:12:10  *** realz__ has joined #bitcoin-dev
 90 2016-03-15T04:13:43  *** kermit has quit IRC
 91 2016-03-15T04:15:26  *** realz_ has quit IRC
 92 2016-03-15T04:18:45  *** Belxjander has quit IRC
 93 2016-03-15T04:21:21  *** Belxjander has joined #bitcoin-dev
 94 2016-03-15T04:21:33  *** wallet42 has joined #bitcoin-dev
 95 2016-03-15T04:26:31  *** RoboTeddy has joined #bitcoin-dev
 96 2016-03-15T04:31:04  *** Belxjander has quit IRC
 97 2016-03-15T04:31:19  *** RoboTeddy has quit IRC
 98 2016-03-15T04:32:41  *** Belxjander has joined #bitcoin-dev
 99 2016-03-15T04:32:59  *** doppelgnubeard has joined #bitcoin-dev
100 2016-03-15T04:46:30  *** realz_ has joined #bitcoin-dev
101 2016-03-15T04:50:04  *** realz__ has quit IRC
102 2016-03-15T04:52:27  *** Eris72 has quit IRC
103 2016-03-15T05:11:52  *** realz_ has quit IRC
104 2016-03-15T05:12:15  *** realz has joined #bitcoin-dev
105 2016-03-15T05:24:05  *** realz_ has joined #bitcoin-dev
106 2016-03-15T05:25:40  *** Belxjander has quit IRC
107 2016-03-15T05:27:25  *** RoboTeddy has joined #bitcoin-dev
108 2016-03-15T05:27:58  *** realz has quit IRC
109 2016-03-15T05:29:32  *** ThomasV has joined #bitcoin-dev
110 2016-03-15T05:31:34  *** RoboTeddy has quit IRC
111 2016-03-15T05:31:43  *** Belxjander has joined #bitcoin-dev
112 2016-03-15T05:49:55  *** ThomasV has quit IRC
113 2016-03-15T06:06:23  *** gigq has quit IRC
114 2016-03-15T06:06:34  *** Belxjander has quit IRC
115 2016-03-15T06:07:18  *** gigq has joined #bitcoin-dev
116 2016-03-15T06:11:17  *** realz has joined #bitcoin-dev
117 2016-03-15T06:14:00  *** paveljanik has quit IRC
118 2016-03-15T06:14:04  *** realz_ has quit IRC
119 2016-03-15T06:14:10  *** Belxjander has joined #bitcoin-dev
120 2016-03-15T06:14:28  *** realz_ has joined #bitcoin-dev
121 2016-03-15T06:17:33  *** realz has quit IRC
122 2016-03-15T06:19:39  *** TheAdversary has quit IRC
123 2016-03-15T06:25:04  *** Krellan has joined #bitcoin-dev
124 2016-03-15T06:25:43  *** Belxjander has quit IRC
125 2016-03-15T06:28:15  *** RoboTeddy has joined #bitcoin-dev
126 2016-03-15T06:28:22  *** blueness has joined #bitcoin-dev
127 2016-03-15T06:28:56  *** Belxjander has joined #bitcoin-dev
128 2016-03-15T06:32:52  *** RoboTeddy has quit IRC
129 2016-03-15T06:48:05  *** ThomasV has joined #bitcoin-dev
130 2016-03-15T06:57:37  *** Belxjander has quit IRC
131 2016-03-15T07:00:45  *** DougieBot5000 has quit IRC
132 2016-03-15T07:03:58  *** Belxjander has joined #bitcoin-dev
133 2016-03-15T07:04:30  *** Ylbam has joined #bitcoin-dev
134 2016-03-15T07:08:27  *** Palsson has joined #bitcoin-dev
135 2016-03-15T07:24:39  *** PaulCapestany has quit IRC
136 2016-03-15T07:28:54  *** RoboTeddy has joined #bitcoin-dev
137 2016-03-15T07:29:23  *** PaulCapestany has joined #bitcoin-dev
138 2016-03-15T07:33:37  *** RoboTeddy has quit IRC
139 2016-03-15T07:42:54  *** Belxjander has quit IRC
140 2016-03-15T07:45:56  *** realz_ is now known as realz
141 2016-03-15T07:47:45  *** ongolaBoy has joined #bitcoin-dev
142 2016-03-15T07:49:48  *** Belxjander has joined #bitcoin-dev
143 2016-03-15T07:59:12  *** BashCo has quit IRC
144 2016-03-15T08:03:44  *** Belxjander has quit IRC
145 2016-03-15T08:10:31  *** Belxjander has joined #bitcoin-dev
146 2016-03-15T08:21:01  *** Belxjander has quit IRC
147 2016-03-15T08:23:14  *** realz_ has joined #bitcoin-dev
148 2016-03-15T08:25:33  *** TheAdversary has joined #bitcoin-dev
149 2016-03-15T08:27:04  *** realz has quit IRC
150 2016-03-15T08:27:21  *** realz has joined #bitcoin-dev
151 2016-03-15T08:27:56  *** Belxjander has joined #bitcoin-dev
152 2016-03-15T08:28:46  *** realz_ has quit IRC
153 2016-03-15T08:29:49  *** RoboTeddy has joined #bitcoin-dev
154 2016-03-15T08:31:17  *** edcba has quit IRC
155 2016-03-15T08:34:03  *** RoboTeddy has quit IRC
156 2016-03-15T08:36:32  *** BashCo has joined #bitcoin-dev
157 2016-03-15T08:42:38  *** okae has joined #bitcoin-dev
158 2016-03-15T08:46:34  *** ThomasV has quit IRC
159 2016-03-15T08:47:45  *** Belxjander has quit IRC
160 2016-03-15T08:50:19  *** one_zero has quit IRC
161 2016-03-15T08:55:32  *** JackH has joined #bitcoin-dev
162 2016-03-15T08:55:48  *** Belxjander has joined #bitcoin-dev
163 2016-03-15T08:59:45  *** xenog has quit IRC
164 2016-03-15T09:03:24  *** ThomasKeller has joined #bitcoin-dev
165 2016-03-15T09:12:34  *** Belxjander has quit IRC
166 2016-03-15T09:15:10  *** Belxjander has joined #bitcoin-dev
167 2016-03-15T09:20:49  *** fkhan_ has quit IRC
168 2016-03-15T09:26:06  *** supasonic has quit IRC
169 2016-03-15T09:27:44  *** Belxjander has quit IRC
170 2016-03-15T09:28:36  *** weems has quit IRC
171 2016-03-15T09:29:03  *** weems has joined #bitcoin-dev
172 2016-03-15T09:30:04  *** Starduster has joined #bitcoin-dev
173 2016-03-15T09:30:10  *** xeroc has joined #bitcoin-dev
174 2016-03-15T09:30:30  *** RoboTeddy has joined #bitcoin-dev
175 2016-03-15T09:34:04  *** fkhan_ has joined #bitcoin-dev
176 2016-03-15T09:34:54  *** RoboTeddy has quit IRC
177 2016-03-15T09:36:04  *** Belxjander has joined #bitcoin-dev
178 2016-03-15T09:57:34  *** CheckDavid has joined #bitcoin-dev
179 2016-03-15T09:58:59  *** kadoban has quit IRC
180 2016-03-15T10:05:26  *** jtimon has quit IRC
181 2016-03-15T10:06:12  *** bliljerk101 has joined #bitcoin-dev
182 2016-03-15T10:27:57  *** Belxjander has quit IRC
183 2016-03-15T10:29:16  *** nelisky has joined #bitcoin-dev
184 2016-03-15T10:30:21  *** Belxjander has joined #bitcoin-dev
185 2016-03-15T10:31:17  *** RoboTeddy has joined #bitcoin-dev
186 2016-03-15T10:32:34  *** pooler_ has quit IRC
187 2016-03-15T10:33:34  *** Palsson has quit IRC
188 2016-03-15T10:34:41  *** pooler_ has joined #bitcoin-dev
189 2016-03-15T10:35:36  *** Palsson has joined #bitcoin-dev
190 2016-03-15T10:35:58  *** RoboTeddy has quit IRC
191 2016-03-15T10:49:52  *** ThomasV has joined #bitcoin-dev
192 2016-03-15T10:57:47  *** sysodaff has joined #bitcoin-dev
193 2016-03-15T11:03:33  *** MoALTz has joined #bitcoin-dev
194 2016-03-15T11:27:06  *** Belxjander has quit IRC
195 2016-03-15T11:27:16  *** paveljanik has joined #bitcoin-dev
196 2016-03-15T11:27:37  *** ThomasV has quit IRC
197 2016-03-15T11:28:31  *** sysodaff has quit IRC
198 2016-03-15T11:30:35  *** Belxjander has joined #bitcoin-dev
199 2016-03-15T11:32:05  *** RoboTeddy has joined #bitcoin-dev
200 2016-03-15T11:36:55  *** RoboTeddy has quit IRC
201 2016-03-15T11:37:04  *** ongolaBoy has quit IRC
202 2016-03-15T11:38:12  *** sh_smith has quit IRC
203 2016-03-15T11:38:57  *** ongolaBoy has joined #bitcoin-dev
204 2016-03-15T11:40:06  *** sysodaff has joined #bitcoin-dev
205 2016-03-15T11:41:41  *** mnk has quit IRC
206 2016-03-15T11:42:07  *** p15x has quit IRC
207 2016-03-15T11:44:58  *** sysodaff has quit IRC
208 2016-03-15T11:53:34  *** agricocb has quit IRC
209 2016-03-15T12:00:22  *** agricocb has joined #bitcoin-dev
210 2016-03-15T12:11:57  *** p15x has joined #bitcoin-dev
211 2016-03-15T12:32:10  *** ongolaBoy has quit IRC
212 2016-03-15T12:32:40  *** RoboTeddy has joined #bitcoin-dev
213 2016-03-15T12:34:13  *** ongolaBoy has joined #bitcoin-dev
214 2016-03-15T12:37:04  *** RoboTeddy has quit IRC
215 2016-03-15T12:37:06  *** BashCo_ has joined #bitcoin-dev
216 2016-03-15T12:38:25  *** cfields_ has quit IRC
217 2016-03-15T12:39:53  *** BashCo has quit IRC
218 2016-03-15T12:49:17  *** Giszmo has joined #bitcoin-dev
219 2016-03-15T12:56:03  *** Iriez has quit IRC
220 2016-03-15T12:56:35  *** Belxjander has quit IRC
221 2016-03-15T12:56:53  *** Chris_Stewart_5 has joined #bitcoin-dev
222 2016-03-15T12:58:26  *** Belxjander has joined #bitcoin-dev
223 2016-03-15T13:01:15  *** Chris_Stewart_5 has quit IRC
224 2016-03-15T13:04:15  *** Palsson has quit IRC
225 2016-03-15T13:04:29  *** ThomasV has joined #bitcoin-dev
226 2016-03-15T13:05:53  *** Palsson has joined #bitcoin-dev
227 2016-03-15T13:13:57  *** Chris_Stewart_5 has joined #bitcoin-dev
228 2016-03-15T13:14:17  *** Xanather has joined #bitcoin-dev
229 2016-03-15T13:20:07  *** proslogion has joined #bitcoin-dev
230 2016-03-15T13:23:52  *** agricocb has quit IRC
231 2016-03-15T13:33:25  *** RoboTeddy has joined #bitcoin-dev
232 2016-03-15T13:37:45  *** RoboTeddy has quit IRC
233 2016-03-15T13:38:21  *** agricocb has joined #bitcoin-dev
234 2016-03-15T13:39:47  <dgenr8> tor is anonymous, not authenticated
235 2016-03-15T13:43:03  <dgenr8> a rough but trustable measure of fees/kb would be (coinbase amount - block reward) / blocksize in KB.  1000 KB is not a bad estimate for blocksize nowadays.
236 2016-03-15T13:44:49  <instagibbs> miners may stuff the ballot, so to speak, and would be undetectable
237 2016-03-15T13:44:50  <helo> can't miners artificially boost coinbase amount by creating (but not broadcasting) transactions that pay large fees?
238 2016-03-15T13:47:20  <dgenr8> that's too risky for a miner unless they have a really big %
239 2016-03-15T13:49:51  *** AaronvanW has joined #bitcoin-dev
240 2016-03-15T14:07:01  <instagibbs> dgenr8, you mean for reorgs?
241 2016-03-15T14:07:14  <instagibbs> s/reorgs/stales ?
242 2016-03-15T14:10:13  *** jtimon has joined #bitcoin-dev
243 2016-03-15T14:11:35  <Chris_Stewart_5> What are the r,s values of an empty ECDSA signature? 0,0?
244 2016-03-15T14:12:55  *** TomMc has joined #bitcoin-dev
245 2016-03-15T14:13:14  <dgenr8> instagibbs: i just mean miners can only pay themselves in their own blocks, much more difficult than a node just spitting out false fee estimates.
246 2016-03-15T14:13:51  <instagibbs> dgenr8, no argument it's a "better" estimate than randomly querying what appear to be nodes
247 2016-03-15T14:14:39  <dgenr8> it does appear that today, either method seems pretty good
248 2016-03-15T14:14:51  <instagibbs> might change if we encourage such behavior
249 2016-03-15T14:17:30  <dgenr8> and there's always the threat of miners moving fees OOB
250 2016-03-15T14:20:09  *** zooko has joined #bitcoin-dev
251 2016-03-15T14:26:08  *** proslogion has quit IRC
252 2016-03-15T14:26:38  *** proslogion has joined #bitcoin-dev
253 2016-03-15T14:28:35  *** jaclupi has quit IRC
254 2016-03-15T14:29:53  *** proslogion has quit IRC
255 2016-03-15T14:30:21  *** proslogion has joined #bitcoin-dev
256 2016-03-15T14:34:12  *** RoboTeddy has joined #bitcoin-dev
257 2016-03-15T14:38:52  *** RoboTeddy has quit IRC
258 2016-03-15T14:42:12  *** Dizzle has joined #bitcoin-dev
259 2016-03-15T15:02:24  *** c-cex-yuriy has quit IRC
260 2016-03-15T15:13:57  *** JackH has quit IRC
261 2016-03-15T15:14:47  *** DougieBot5000 has joined #bitcoin-dev
262 2016-03-15T15:34:57  *** RoboTeddy has joined #bitcoin-dev
263 2016-03-15T15:35:21  *** nelisky has quit IRC
264 2016-03-15T15:39:13  *** RoboTeddy has quit IRC
265 2016-03-15T15:46:11  *** kermit has joined #bitcoin-dev
266 2016-03-15T15:49:06  *** supasonic has joined #bitcoin-dev
267 2016-03-15T16:12:20  *** trixisowned has joined #bitcoin-dev
268 2016-03-15T16:32:06  *** BashCo_ has quit IRC
269 2016-03-15T16:35:43  *** RoboTeddy has joined #bitcoin-dev
270 2016-03-15T16:35:57  *** sto0pkid has quit IRC
271 2016-03-15T16:36:21  *** sto0pkid has joined #bitcoin-dev
272 2016-03-15T16:40:19  *** zooko has quit IRC
273 2016-03-15T16:40:35  *** RoboTeddy has quit IRC
274 2016-03-15T16:41:53  *** CheckDavid has quit IRC
275 2016-03-15T16:46:37  *** cfields has joined #bitcoin-dev
276 2016-03-15T16:47:04  *** Ahmed90 has joined #bitcoin-dev
277 2016-03-15T16:51:40  *** Squidicuz has joined #bitcoin-dev
278 2016-03-15T16:52:29  *** BashCo has joined #bitcoin-dev
279 2016-03-15T16:52:32  *** markus-k has joined #bitcoin-dev
280 2016-03-15T16:58:37  *** Palsson has quit IRC
281 2016-03-15T17:00:12  *** Xanather has quit IRC
282 2016-03-15T17:18:43  *** murch has joined #bitcoin-dev
283 2016-03-15T17:18:47  *** proslogion has quit IRC
284 2016-03-15T17:19:18  *** proslogion has joined #bitcoin-dev
285 2016-03-15T17:20:01  *** xeroc has quit IRC
286 2016-03-15T17:22:44  *** markus-k has quit IRC
287 2016-03-15T17:23:09  *** markus-k has joined #bitcoin-dev
288 2016-03-15T17:23:13  *** TomMc has quit IRC
289 2016-03-15T17:25:02  *** kadoban has joined #bitcoin-dev
290 2016-03-15T17:25:36  *** trixisowned has quit IRC
291 2016-03-15T17:26:07  *** st0opkid has joined #bitcoin-dev
292 2016-03-15T17:29:13  *** proslogion has quit IRC
293 2016-03-15T17:29:42  *** proslogion has joined #bitcoin-dev
294 2016-03-15T17:29:48  *** sto0pkid has quit IRC
295 2016-03-15T17:36:30  *** RoboTeddy has joined #bitcoin-dev
296 2016-03-15T17:36:50  *** proslogion has quit IRC
297 2016-03-15T17:37:14  *** proslogion has joined #bitcoin-dev
298 2016-03-15T17:37:37  *** murch has quit IRC
299 2016-03-15T17:38:36  *** murch has joined #bitcoin-dev
300 2016-03-15T17:41:11  *** RoboTeddy has quit IRC
301 2016-03-15T17:41:40  *** herzmeister has quit IRC
302 2016-03-15T17:42:23  *** herzmeister has joined #bitcoin-dev
303 2016-03-15T17:50:27  *** TomMc has joined #bitcoin-dev
304 2016-03-15T17:51:00  *** BashCo_ has joined #bitcoin-dev
305 2016-03-15T17:53:05  *** BashCo has quit IRC
306 2016-03-15T17:58:24  *** p15x has quit IRC
307 2016-03-15T17:59:27  *** sh_smith has joined #bitcoin-dev
308 2016-03-15T18:03:36  *** Krellan has quit IRC
309 2016-03-15T18:05:09  *** proslogion has quit IRC
310 2016-03-15T18:08:18  *** slackircbridge has quit IRC
311 2016-03-15T18:12:23  *** slackircbridge has joined #bitcoin-dev
312 2016-03-15T18:15:28  *** wallet42 has quit IRC
313 2016-03-15T18:18:01  *** xeroc has joined #bitcoin-dev
314 2016-03-15T18:22:27  *** supasonic has quit IRC
315 2016-03-15T18:30:29  *** dermoth has joined #bitcoin-dev
316 2016-03-15T18:31:07  *** ongolaBoy has quit IRC
317 2016-03-15T18:37:14  *** RoboTeddy has joined #bitcoin-dev
318 2016-03-15T18:41:11  *** supasonic has joined #bitcoin-dev
319 2016-03-15T18:41:57  *** RoboTeddy has quit IRC
320 2016-03-15T18:48:57  *** proslogion has joined #bitcoin-dev
321 2016-03-15T18:57:33  *** ThomasV has quit IRC
322 2016-03-15T19:03:31  *** Beef has quit IRC
323 2016-03-15T19:07:23  *** Beef has joined #bitcoin-dev
324 2016-03-15T19:13:06  *** Belxjander has quit IRC
325 2016-03-15T19:18:07  *** Belxjander has joined #bitcoin-dev
326 2016-03-15T19:22:24  *** TomMc has quit IRC
327 2016-03-15T19:24:19  *** Dizzle has quit IRC
328 2016-03-15T19:26:07  *** Newyorkadam has joined #bitcoin-dev
329 2016-03-15T19:32:13  <Chris_Stewart_5> This test case includes a empty pubkey checking this very long signature, correct?
330 2016-03-15T19:32:15  <Chris_Stewart_5> ["0x4a 0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0 CHECKSIG NOT", "", "Overly long signature is correctly encoded"]
331 2016-03-15T19:32:23  <Chris_Stewart_5> it's from script_valid.json
332 2016-03-15T19:33:50  *** herzmeister has quit IRC
333 2016-03-15T19:34:18  *** herzmeister has joined #bitcoin-dev
334 2016-03-15T19:35:31  *** supasonic has quit IRC
335 2016-03-15T19:35:32  *** TomMc has joined #bitcoin-dev
336 2016-03-15T19:35:57  *** supasonic has joined #bitcoin-dev
337 2016-03-15T19:38:07  *** RoboTeddy has joined #bitcoin-dev
338 2016-03-15T19:39:55  *** agricocb has quit IRC
339 2016-03-15T19:42:33  *** RoboTeddy has quit IRC
340 2016-03-15T19:46:29  *** achow101 has joined #bitcoin-dev
341 2016-03-15T19:55:39  *** realz_ has joined #bitcoin-dev
342 2016-03-15T19:57:53  <waxwing> Chris_Stewart_5: 0,0 is not a valid signature fwiw
343 2016-03-15T19:59:30  *** realz has quit IRC
344 2016-03-15T20:02:32  <Chris_Stewart_5> waxwing: Yeah I figured that out, with the next problem a Bitcoinj ECKey cannot be created from an empty byte array (from OP_0)
345 2016-03-15T20:03:49  <Chris_Stewart_5> actually bouncy castle cannot decode the EC Point which makes sense if they are just trying to decode an empty byte array... not sure how Bitcoin core handles elliptic curve keys that are created from empty byte arrays
346 2016-03-15T20:06:45  <waxwing> i know nothing about Core, but i guess that line in script_valid.json is just testing the first part of the encoding, i.e. the length byte at the start
347 2016-03-15T20:07:57  *** yawnson has joined #bitcoin-dev
348 2016-03-15T20:12:52  <Chris_Stewart_5> Thanks for the help waxwing
349 2016-03-15T20:16:34  *** agricocb has joined #bitcoin-dev
350 2016-03-15T20:19:02  *** priidu has joined #bitcoin-dev
351 2016-03-15T20:21:15  <Chris_Stewart_5> waxwing: That 0x000.....0000 is equivalent to 0x00 right?
352 2016-03-15T20:21:37  <kadoban> No, it's a stack item with however many zero bytes in it
353 2016-03-15T20:22:43  <Chris_Stewart_5> kadoban: I'm referring to when it is evaluated from the OP_CHECKSIG
354 2016-03-15T20:23:32  <Chris_Stewart_5> at that point, it is a digital signature isn't it?
355 2016-03-15T20:23:35  <waxwing> i guess OP_CHECKSIG reads it expecting a DER encoded signature. which of course that one isn't :)
356 2016-03-15T20:23:48  *** realz_ is now known as realz
357 2016-03-15T20:24:28  <kadoban> Chris_Stewart_5: Yeah I'm not really sure what OP_CHECKSIG is actually expecting or … what it's supposed to do on nonsense.
358 2016-03-15T20:25:15  <Chris_Stewart_5> waxwing: Ok thats what I thought but i'm not super familiar with DER encoding but from what i read I didn't think that was valid. I'm wondering if Bitcoin Core just automatically marks the tx as invalid as soon as it sees that the signature isn't a DER encoded
359 2016-03-15T20:25:18  <waxwing> all the others are (30) (signature?) , (length),(02) <- means integer iirc etc.
360 2016-03-15T20:25:51  <Chris_Stewart_5> instead of failing at runtime, which bitcoinj does
361 2016-03-15T20:26:43  <waxwing> failing at runtime? oh. sounds exciting :)
362 2016-03-15T20:27:11  <Chris_Stewart_5> specifially   at org.bitcoinj.core.ECKey$ECDSASignature.decodeFromDER(ECKey.java:593)
363 2016-03-15T20:27:18  <Chris_Stewart_5> which make sense now i guess
364 2016-03-15T20:27:47  <kadoban> Chris_Stewart_5: Well you said this was from the valid test-cases right? So this script is supposed to succeed (get marked as valid)
365 2016-03-15T20:28:01  <Chris_Stewart_5> kadoban: the script has a OP_NOT at the end
366 2016-03-15T20:28:27  <Chris_Stewart_5> So I think i'm conflating failing at runtime and the script failing (which is expected)
367 2016-03-15T20:28:44  <kadoban> Chris_Stewart_5: Yes, but that means the script is continuing to that point, which is different from "automatically marks the tx as invalid", which is more like what OP_RETURN does (nothing after that can make it succeed)
368 2016-03-15T20:30:05  <arubi> I think the purpose of this being in -valid is deprecated?  it's also in "script_invalid.json"
369 2016-03-15T20:30:12  *** murch has quit IRC
370 2016-03-15T20:30:18  <arubi> '"DERSIG", "Overly long signature is incorrectly encoded for DERSIG"'
371 2016-03-15T20:30:32  <arubi> I mean, I guess it was valid until some point..
372 2016-03-15T20:30:44  <kadoban> Err, it's in both? That doesn't seem to make much sense. There must be context of some kind?
373 2016-03-15T20:30:57  <arubi> pre strict-der?
374 2016-03-15T20:30:59  <Chris_Stewart_5> arubi: Can you link the line on github?
375 2016-03-15T20:31:08  <arubi> I mean, it should verify until some point, right?
376 2016-03-15T20:31:25  <arubi> Chris_Stewart_5, src/test/data/script_invalid.json:526
377 2016-03-15T20:31:27  <waxwing> my guess is that Core doesn't want that kind of thing to be valid since it's a vector for stuffing up the blockchain? *warning no idea..." :)
378 2016-03-15T20:31:50  <arubi> Chris_Stewart_5, well, at least on my pull it is.  it's pretty new, should still be there
379 2016-03-15T20:33:52  <Chris_Stewart_5> online for anyone that wants to see
380 2016-03-15T20:33:54  <Chris_Stewart_5> https://github.com/bitcoin/bitcoin/blob/master/src/test/data/script_invalid.json#L550
381 2016-03-15T20:34:13  *** proslogion has quit IRC
382 2016-03-15T20:35:01  <Chris_Stewart_5> arubi: What do you mean by 'being -valid is deprecated'?
383 2016-03-15T20:35:08  *** proslogion has joined #bitcoin-dev
384 2016-03-15T20:35:46  <Chris_Stewart_5> and was there a recent BIP that enforces strict der encoding?
385 2016-03-15T20:35:49  *** agricocb has quit IRC
386 2016-03-15T20:36:04  <waxwing> Chris_Stewart_5: yeah but that was about enforcing low-S values
387 2016-03-15T20:36:15  <waxwing> because r,-s works as well as r, s
388 2016-03-15T20:36:23  <arubi> Chris_Stewart_5, I'm mostly guessing here,  I think these type of signatures (garbage) used to be valid until bip 66 was enforced
389 2016-03-15T20:36:48  <waxwing> hmm maybe yeah .. i think low S was bip62 and 66 covered some more things
390 2016-03-15T20:36:55  <arubi> right
391 2016-03-15T20:37:13  <Chris_Stewart_5> i thought BIP 66 was sipa's attempt to remove tx malleability that failed.. am i thinking of another bip?
392 2016-03-15T20:37:24  <waxwing> Chris_Stewart_5: yes that's right. same issue.
393 2016-03-15T20:38:13  <arubi> there's only one (replay-able) form to a signature now, that /is/ helping with malleability somewhat
394 2016-03-15T20:38:14  <waxwing> i think arubi's right in as much as a total length of 73 is enforced. but wasn't bip66 dropped or something?
395 2016-03-15T20:38:33  <Chris_Stewart_5> i think bip66 was dropped
396 2016-03-15T20:38:41  <arubi> ..? really?  that's news to me
397 2016-03-15T20:38:45  <Chris_Stewart_5> I think most of the work was surpassed by segwit
398 2016-03-15T20:38:53  *** RoboTeddy has joined #bitcoin-dev
399 2016-03-15T20:38:54  <Chris_Stewart_5> or fixed by segwit
400 2016-03-15T20:38:59  <waxwing> basically the encoding is 30 (length of the rest) 02 (length of r) [00] r 02 (length of s) s
401 2016-03-15T20:39:13  <waxwing> the [00] is if the value is > 80 hex
402 2016-03-15T20:39:19  <waxwing> oh i forgot the [00] for the s
403 2016-03-15T20:39:28  <Chris_Stewart_5> basically this right? https://crypto.stackexchange.com/questions/1795/how-can-i-convert-a-der-ecdsa-signature-to-asn-1
404 2016-03-15T20:39:34  <waxwing> basically the encoding is 30 (length of the rest) 02 (length of r) [00] r 02 (length of s)[00] s
405 2016-03-15T20:40:13  <waxwing> Chris_Stewart_5: yes except for the extra 00 if the first byte of r/s is > 80 hex
406 2016-03-15T20:41:32  <waxwing> meh it's here anyway: https://github.com/bitcoin/bips/blob/master/bip-0062.mediawiki#der-encoding
407 2016-03-15T20:41:42  <waxwing> forgot sighash type at end :)
408 2016-03-15T20:42:03  <arubi> oh, so bip 62 is withdrawn, not 66, right?
409 2016-03-15T20:42:29  <arubi> yea, pull request is merged and everything
410 2016-03-15T20:43:23  <Chris_Stewart_5> had them backwards I guess :-)
411 2016-03-15T20:43:27  *** RoboTeddy has quit IRC
412 2016-03-15T20:44:42  <waxwing> oh i see. yeah same rules are in 66.
413 2016-03-15T20:45:15  <Chris_Stewart_5> so basically the script_valid.json file is out of date? Is that what I can conclude?
414 2016-03-15T20:46:43  <arubi> Chris_Stewart_5, I'll rephrase.  I think it still should be there, as the chains must have transactions pre bip66 that act like this "checksig not" script
415 2016-03-15T20:47:30  <arubi> so, it should be there "but warn" pre bip66 block validation, and both be in _invalid.json for post bip66 block validation, but this time error, and not warn
416 2016-03-15T20:47:52  <arubi> note, I'm still mostly guessing
417 2016-03-15T20:48:11  <arubi> s/chains/chain
418 2016-03-15T20:49:04  *** afk11 has quit IRC
419 2016-03-15T20:50:24  <Chris_Stewart_5> arubi: I think I understand what you are saying, how is this signature encoded then? Is this called like an non-strict DER encoded signature? Or just a generic ECDSA signature?
420 2016-03-15T20:50:43  <Chris_Stewart_5> because what you said about validation pre and post BIP66 makes sense
421 2016-03-15T20:50:58  *** afk11 has joined #bitcoin-dev
422 2016-03-15T20:51:20  <arubi> Chris_Stewart_5, I'd try looking at how an older version of openssl would parse it
423 2016-03-15T20:52:07  <Chris_Stewart_5> arubi: Ok, thanks so much for the help! I appreciate it
424 2016-03-15T20:52:42  <arubi> I think that's what was used in core back then?  I'm not too sure..  I don't know how this would be sanely parsed :(   welcome Chris_Stewart_5, maybe someone more knowledgeable will see your question and correct some stuff I said
425 2016-03-15T20:53:25  *** markus-k has quit IRC
426 2016-03-15T20:54:47  *** Newyorkadam has quit IRC
427 2016-03-15T20:58:21  *** treehug88 has joined #bitcoin-dev
428 2016-03-15T20:59:19  *** clopez has quit IRC
429 2016-03-15T21:04:02  *** clopez has joined #bitcoin-dev
430 2016-03-15T21:15:05  *** Newyorkadam has joined #bitcoin-dev
431 2016-03-15T21:21:02  *** CheckDavid has joined #bitcoin-dev
432 2016-03-15T21:29:38  *** treehug88 has quit IRC
433 2016-03-15T21:36:13  *** cnnx has joined #bitcoin-dev
434 2016-03-15T21:36:24  <cnnx> Luke-Jr: i guess you would be here too then :)
435 2016-03-15T21:39:33  *** RoboTeddy has joined #bitcoin-dev
436 2016-03-15T21:44:01  *** RoboTeddy has quit IRC
437 2016-03-15T21:48:12  *** sh_smith has quit IRC
438 2016-03-15T21:59:21  *** Newyorkadam has quit IRC
439 2016-03-15T21:59:40  *** Newyorkadam has joined #bitcoin-dev
440 2016-03-15T22:00:30  *** moa has joined #bitcoin-dev
441 2016-03-15T22:03:51  *** Newyorkadam has quit IRC
442 2016-03-15T22:08:00  *** sword_smith has quit IRC
443 2016-03-15T22:10:52  *** Palsson has joined #bitcoin-dev
444 2016-03-15T22:20:53  *** BashCo has joined #bitcoin-dev
445 2016-03-15T22:23:37  *** Palsson has quit IRC
446 2016-03-15T22:23:42  *** BashCo_ has quit IRC
447 2016-03-15T22:30:46  *** herzmeister has quit IRC
448 2016-03-15T22:31:11  *** herzmeister has joined #bitcoin-dev
449 2016-03-15T22:32:04  *** TomMc has quit IRC
450 2016-03-15T22:36:28  *** herzmeister has quit IRC
451 2016-03-15T22:38:18  *** herzmeister has joined #bitcoin-dev
452 2016-03-15T22:40:20  *** RoboTeddy has joined #bitcoin-dev
453 2016-03-15T22:44:34  *** RoboTeddy has quit IRC
454 2016-03-15T22:50:10  *** DougieBot5000 has quit IRC
455 2016-03-15T22:51:05  *** GAit has joined #bitcoin-dev
456 2016-03-15T22:51:46  *** doppelgnubeard has quit IRC
457 2016-03-15T22:55:58  *** one_zero has joined #bitcoin-dev
458 2016-03-15T23:09:17  *** arubi has quit IRC
459 2016-03-15T23:16:36  *** arubi has joined #bitcoin-dev
460 2016-03-15T23:19:14  *** ThomasV has joined #bitcoin-dev
461 2016-03-15T23:25:28  *** wallet42 has joined #bitcoin-dev
462 2016-03-15T23:26:21  *** wallet42 has quit IRC
463 2016-03-15T23:27:18  *** wallet42 has joined #bitcoin-dev
464 2016-03-15T23:27:55  *** wallet42 has quit IRC
465 2016-03-15T23:28:18  *** wallet42 has joined #bitcoin-dev
466 2016-03-15T23:28:18  *** DougieBot5000 has joined #bitcoin-dev
467 2016-03-15T23:28:23  *** yawnson has quit IRC
468 2016-03-15T23:29:16  *** Belxjander has quit IRC
469 2016-03-15T23:31:49  *** Belxjander has joined #bitcoin-dev
470 2016-03-15T23:32:12  *** yawnson has joined #bitcoin-dev
471 2016-03-15T23:37:31  *** yawnson has quit IRC
472 2016-03-15T23:38:07  *** yawnson has joined #bitcoin-dev
473 2016-03-15T23:41:15  *** RoboTeddy has joined #bitcoin-dev
474 2016-03-15T23:41:16  *** wallet42 has quit IRC
475 2016-03-15T23:42:04  *** Raziel has quit IRC
476 2016-03-15T23:45:18  *** Raziel has joined #bitcoin-dev
477 2016-03-15T23:45:49  *** RoboTeddy has quit IRC
478 2016-03-15T23:46:26  *** instagibbs has quit IRC
479 2016-03-15T23:52:36  *** instagibbs has joined #bitcoin-dev
480 2016-03-15T23:54:28  *** ThomasV has quit IRC
481 2016-03-15T23:57:37  *** yawnson has quit IRC
482 2016-03-15T23:59:09  *** kadoban has quit IRC