1 2017-11-20T00:07:32  *** Newyorkadam has joined #bitcoin-dev
  2 2017-11-20T00:14:27  *** jtimon has quit IRC
  3 2017-11-20T00:50:28  *** DougieBot5000_ has joined #bitcoin-dev
  4 2017-11-20T00:50:45  *** DougieBot5000 has quit IRC
  5 2017-11-20T00:50:45  *** DougieBot5000_ is now known as DougieBot5000
  6 2017-11-20T00:55:58  *** one_zero has joined #bitcoin-dev
  7 2017-11-20T00:56:53  *** dabura667 has joined #bitcoin-dev
  8 2017-11-20T01:05:01  *** POJO has quit IRC
  9 2017-11-20T01:05:37  *** POJO has joined #bitcoin-dev
 10 2017-11-20T01:06:14  *** oleganza has joined #bitcoin-dev
 11 2017-11-20T01:08:52  *** justanotheruser has quit IRC
 12 2017-11-20T01:09:10  *** uvarovserge has quit IRC
 13 2017-11-20T01:24:46  *** justanotheruser has joined #bitcoin-dev
 14 2017-11-20T01:34:51  *** oleganza has joined #bitcoin-dev
 15 2017-11-20T01:43:59  *** sh_smith has quit IRC
 16 2017-11-20T01:47:59  *** wxss has quit IRC
 17 2017-11-20T01:58:21  *** Skirmant has quit IRC
 18 2017-11-20T02:36:38  *** sh_smith has joined #bitcoin-dev
 19 2017-11-20T02:37:19  *** POJO has quit IRC
 20 2017-11-20T02:48:31  *** Belxjander has quit IRC
 21 2017-11-20T02:49:56  *** Belxjander has joined #bitcoin-dev
 22 2017-11-20T02:55:20  *** oleganza has quit IRC
 23 2017-11-20T02:56:08  *** oleganza has joined #bitcoin-dev
 24 2017-11-20T02:58:41  *** Belxjander has quit IRC
 25 2017-11-20T03:05:08  *** Belxjander has joined #bitcoin-dev
 26 2017-11-20T03:08:16  *** _yoy_ has quit IRC
 27 2017-11-20T03:15:51  *** subo has joined #bitcoin-dev
 28 2017-11-20T03:19:41  *** subo_ has quit IRC
 29 2017-11-20T03:20:31  *** dconroy has joined #bitcoin-dev
 30 2017-11-20T03:28:23  *** dconroy has quit IRC
 31 2017-11-20T03:30:24  *** dconroy has joined #bitcoin-dev
 32 2017-11-20T03:39:39  *** DougieBot5000_ has joined #bitcoin-dev
 33 2017-11-20T03:40:08  *** DougieBot5000 is now known as Guest15457
 34 2017-11-20T03:40:09  *** DougieBot5000_ is now known as DougieBot5000
 35 2017-11-20T03:53:14  *** justanotheruser has quit IRC
 36 2017-11-20T04:04:52  *** dconroy has quit IRC
 37 2017-11-20T04:06:12  *** Belxjander has quit IRC
 38 2017-11-20T04:07:44  *** Belxjander has joined #bitcoin-dev
 39 2017-11-20T04:09:21  *** ula has quit IRC
 40 2017-11-20T04:21:12  *** justanotheruser has joined #bitcoin-dev
 41 2017-11-20T04:24:01  *** Belxjander has quit IRC
 42 2017-11-20T04:26:16  *** Belxjander has joined #bitcoin-dev
 43 2017-11-20T04:47:00  *** l4ng1t has joined #bitcoin-dev
 44 2017-11-20T04:56:44  *** meshcollider has quit IRC
 45 2017-11-20T05:01:17  *** dviola has quit IRC
 46 2017-11-20T05:05:19  *** DougieBot5000 has quit IRC
 47 2017-11-20T05:06:31  *** iv3c has quit IRC
 48 2017-11-20T05:06:35  *** TheSeven has quit IRC
 49 2017-11-20T05:13:13  *** TheSeven has joined #bitcoin-dev
 50 2017-11-20T05:38:57  *** Belxjander has quit IRC
 51 2017-11-20T05:40:52  *** Belxjander has joined #bitcoin-dev
 52 2017-11-20T05:49:47  *** l4ng1t has quit IRC
 53 2017-11-20T05:53:37  *** Belxjander has quit IRC
 54 2017-11-20T05:54:41  *** l4ng1t has joined #bitcoin-dev
 55 2017-11-20T05:54:59  *** Belxjander has joined #bitcoin-dev
 56 2017-11-20T05:57:00  *** meZee has quit IRC
 57 2017-11-20T05:57:21  *** meZee has joined #bitcoin-dev
 58 2017-11-20T06:01:32  *** TheSeven has quit IRC
 59 2017-11-20T06:02:18  *** TheSeven has joined #bitcoin-dev
 60 2017-11-20T06:05:12  *** meZee has quit IRC
 61 2017-11-20T06:06:26  *** meZee has joined #bitcoin-dev
 62 2017-11-20T06:06:27  *** Belxjander has quit IRC
 63 2017-11-20T06:11:57  *** mspier has quit IRC
 64 2017-11-20T06:12:14  *** Belxjander has joined #bitcoin-dev
 65 2017-11-20T06:21:32  *** Belxjander has quit IRC
 66 2017-11-20T06:23:55  *** Belxjander has joined #bitcoin-dev
 67 2017-11-20T06:28:21  *** meZee has quit IRC
 68 2017-11-20T06:28:43  *** meZee has joined #bitcoin-dev
 69 2017-11-20T06:28:45  *** jb55 has joined #bitcoin-dev
 70 2017-11-20T06:31:09  *** meZee has quit IRC
 71 2017-11-20T06:32:10  *** meZee has joined #bitcoin-dev
 72 2017-11-20T06:35:50  *** damons has joined #bitcoin-dev
 73 2017-11-20T06:37:49  *** meZee has quit IRC
 74 2017-11-20T06:38:10  *** meZee has joined #bitcoin-dev
 75 2017-11-20T06:43:06  *** meZee has quit IRC
 76 2017-11-20T06:43:30  *** meZee has joined #bitcoin-dev
 77 2017-11-20T07:08:06  *** damons has quit IRC
 78 2017-11-20T07:37:57  *** one_zero has quit IRC
 79 2017-11-20T07:38:37  *** POJO has joined #bitcoin-dev
 80 2017-11-20T07:39:03  *** DougieBot5000 has joined #bitcoin-dev
 81 2017-11-20T07:39:52  *** stalled has quit IRC
 82 2017-11-20T07:43:59  *** POJO has quit IRC
 83 2017-11-20T07:48:37  *** POJO has joined #bitcoin-dev
 84 2017-11-20T08:05:21  *** JackH has quit IRC
 85 2017-11-20T08:09:52  *** stalled has joined #bitcoin-dev
 86 2017-11-20T08:12:22  *** Belxjander has quit IRC
 87 2017-11-20T08:12:30  *** Mottengrotte has joined #bitcoin-dev
 88 2017-11-20T08:15:30  *** dakk has joined #bitcoin-dev
 89 2017-11-20T08:18:58  *** Belxjander has joined #bitcoin-dev
 90 2017-11-20T08:19:56  *** JackH has joined #bitcoin-dev
 91 2017-11-20T08:24:01  *** POJO has quit IRC
 92 2017-11-20T08:24:39  *** POJO has joined #bitcoin-dev
 93 2017-11-20T08:34:44  *** Belxjander has quit IRC
 94 2017-11-20T08:34:50  *** one_zero has joined #bitcoin-dev
 95 2017-11-20T08:36:18  *** ongolaBoy has joined #bitcoin-dev
 96 2017-11-20T08:39:37  *** Belxjander has joined #bitcoin-dev
 97 2017-11-20T08:40:08  *** POJO has quit IRC
 98 2017-11-20T08:47:41  *** czaanja_ has joined #bitcoin-dev
 99 2017-11-20T09:01:18  *** meshcollider has joined #bitcoin-dev
100 2017-11-20T09:05:05  *** Belxjander has quit IRC
101 2017-11-20T09:07:08  *** Belxjander has joined #bitcoin-dev
102 2017-11-20T09:16:18  *** one_zero has quit IRC
103 2017-11-20T09:25:48  *** dviola has joined #bitcoin-dev
104 2017-11-20T09:25:52  *** Belxjander has quit IRC
105 2017-11-20T09:28:09  *** Belxjander has joined #bitcoin-dev
106 2017-11-20T09:28:46  *** txter has joined #bitcoin-dev
107 2017-11-20T09:38:36  *** melik has quit IRC
108 2017-11-20T09:39:24  *** POJO has joined #bitcoin-dev
109 2017-11-20T09:44:17  *** Belxjander has quit IRC
110 2017-11-20T09:46:40  *** Belxjander has joined #bitcoin-dev
111 2017-11-20T09:52:21  *** one_zero has joined #bitcoin-dev
112 2017-11-20T09:56:43  *** pergaminho has quit IRC
113 2017-11-20T09:57:28  *** pergaminho has joined #bitcoin-dev
114 2017-11-20T10:02:44  *** Belxjander has quit IRC
115 2017-11-20T10:09:18  *** Belxjander has joined #bitcoin-dev
116 2017-11-20T10:25:21  *** Belxjander has quit IRC
117 2017-11-20T10:32:17  *** Belxjander has joined #bitcoin-dev
118 2017-11-20T10:44:49  *** RazielZ has joined #bitcoin-dev
119 2017-11-20T10:45:00  *** tombusby has quit IRC
120 2017-11-20T10:48:01  *** Raziel has quit IRC
121 2017-11-20T10:57:12  *** Guyver2 has joined #bitcoin-dev
122 2017-11-20T10:59:23  *** POJO has quit IRC
123 2017-11-20T11:23:27  *** Skirmant has joined #bitcoin-dev
124 2017-11-20T11:29:47  *** elgatonoir has quit IRC
125 2017-11-20T11:39:40  *** RazielZ is now known as Raziel
126 2017-11-20T11:44:57  *** jtimon has joined #bitcoin-dev
127 2017-11-20T11:45:17  *** wxss has joined #bitcoin-dev
128 2017-11-20T12:10:39  *** Belxjander has quit IRC
129 2017-11-20T12:13:20  *** Belxjander has joined #bitcoin-dev
130 2017-11-20T12:25:35  *** dabura667 has quit IRC
131 2017-11-20T12:25:37  *** Cogito_Ergo_Sum has joined #bitcoin-dev
132 2017-11-20T12:54:24  *** Hamm has joined #bitcoin-dev
133 2017-11-20T12:57:15  *** ula has joined #bitcoin-dev
134 2017-11-20T13:24:37  *** justanotheruser has quit IRC
135 2017-11-20T13:24:52  *** justanotheruser has joined #bitcoin-dev
136 2017-11-20T13:28:51  *** SopaXorzTaker has joined #bitcoin-dev
137 2017-11-20T13:38:09  *** arubi has quit IRC
138 2017-11-20T13:41:57  *** qrest has joined #bitcoin-dev
139 2017-11-20T13:42:12  *** qrestlove has quit IRC
140 2017-11-20T13:45:06  *** agricocb has quit IRC
141 2017-11-20T14:07:02  *** agricocb has joined #bitcoin-dev
142 2017-11-20T14:09:16  *** agricocb has quit IRC
143 2017-11-20T14:09:45  *** dakk has quit IRC
144 2017-11-20T14:10:17  *** agricocb has joined #bitcoin-dev
145 2017-11-20T14:11:43  *** Belxjander has quit IRC
146 2017-11-20T14:12:43  *** devbaka has quit IRC
147 2017-11-20T14:14:00  *** Belxjander has joined #bitcoin-dev
148 2017-11-20T14:39:09  *** dviola has quit IRC
149 2017-11-20T14:44:26  *** arubi has joined #bitcoin-dev
150 2017-11-20T14:44:42  *** qrest has quit IRC
151 2017-11-20T14:51:25  *** iv3c has joined #bitcoin-dev
152 2017-11-20T14:54:12  *** POJO has joined #bitcoin-dev
153 2017-11-20T14:57:27  *** qrest has joined #bitcoin-dev
154 2017-11-20T15:20:32  *** JackH has quit IRC
155 2017-11-20T15:23:21  *** Chris_Stewart_5 has joined #bitcoin-dev
156 2017-11-20T15:51:58  *** Belxjander has quit IRC
157 2017-11-20T15:52:38  *** Belxjander has joined #bitcoin-dev
158 2017-11-20T16:01:09  *** Dizzle has joined #bitcoin-dev
159 2017-11-20T16:02:51  *** JackH has joined #bitcoin-dev
160 2017-11-20T16:03:26  *** Murch has joined #bitcoin-dev
161 2017-11-20T16:12:48  *** ongolaBoy has quit IRC
162 2017-11-20T16:19:46  *** meshcollider has quit IRC
163 2017-11-20T16:25:05  *** Belxjander has quit IRC
164 2017-11-20T16:26:10  *** Belxjander has joined #bitcoin-dev
165 2017-11-20T16:35:12  *** jb55 has quit IRC
166 2017-11-20T16:38:22  *** damons has joined #bitcoin-dev
167 2017-11-20T16:51:54  *** Hamm has quit IRC
168 2017-11-20T17:01:56  *** txter has quit IRC
169 2017-11-20T17:04:02  *** Mottengrotte has quit IRC
170 2017-11-20T17:13:07  *** Jakuza has quit IRC
171 2017-11-20T17:35:24  *** one_zero has quit IRC
172 2017-11-20T17:39:35  *** jb55 has joined #bitcoin-dev
173 2017-11-20T17:43:37  *** one_zero has joined #bitcoin-dev
174 2017-11-20T17:51:35  *** jtimon has quit IRC
175 2017-11-20T18:00:02  *** jtimon has joined #bitcoin-dev
176 2017-11-20T18:05:20  <Chris_Stewart_5> Is there any parent pub key -> child pub key test case vectors anywhere?
177 2017-11-20T18:05:23  <Chris_Stewart_5> for BIP32
178 2017-11-20T18:06:32  <arubi> Chris_Stewart_5, I made my own, it's using the vectors from the bip https://github.com/fivepiece/btc-bash-ng/blob/master/bitcoin/bips/.tests/test_bip32.sh
179 2017-11-20T18:07:05  <Chris_Stewart_5> arubi: The bip doesn't have any test vectors for parent pub -> child pub does it? Or am I missing them?
180 2017-11-20T18:07:22  <arubi> it doesn't, I just produced the public path
181 2017-11-20T18:07:57  <arubi> so I'm just checking the public path derivation vs the neutering of the xprv
182 2017-11-20T18:10:08  <Chris_Stewart_5> So Neuter essentially derives CExtKey -> CExtPubKey
183 2017-11-20T18:10:11  <Chris_Stewart_5> no child derivation
184 2017-11-20T18:10:21  <Chris_Stewart_5> arubi:
185 2017-11-20T18:10:36  <arubi> right it's just to turn an xprv to xpub
186 2017-11-20T18:10:50  <arubi> really just replace the magic and key
187 2017-11-20T18:11:07  <Chris_Stewart_5> Hmm yes, I have something wrong in my implementation. I've been trying to write a property for the relationship we talked about last week
188 2017-11-20T18:11:46  <Chris_Stewart_5> parent priv -> child priv @ i -> ext pub @ i
189 2017-11-20T18:11:57  <Chris_Stewart_5> and parent priv -> ext pub -> child pub @ i
190 2017-11-20T18:12:32  <arubi> right, so the neuter function N() can be applied at any point in the path if from that point on all derivation is public
191 2017-11-20T18:13:06  <Chris_Stewart_5> what do you mean by 'all derivation is public'?
192 2017-11-20T18:13:28  <Chris_Stewart_5> you mean we haven't generated any child priv keys?
193 2017-11-20T18:13:57  <arubi> what I mean, you can only go from parent xpub to child xpub if the child has a non-hardened index
194 2017-11-20T18:14:09  <Chris_Stewart_5> ah ok
195 2017-11-20T18:14:56  <arubi> so in your example, both are possible if the last child has index at [0,2^32-1]
196 2017-11-20T18:15:33  <Chris_Stewart_5> isn't it 2^31?
197 2017-11-20T18:15:56  <arubi> no that's the first hardened index
198 2017-11-20T18:16:24  <Chris_Stewart_5> hmm so the last child can be hardened, but no intermediate child?
199 2017-11-20T18:16:45  <arubi> for a path of only public derivation, yes
200 2017-11-20T18:21:22  *** oleganza has joined #bitcoin-dev
201 2017-11-20T18:35:12  *** Skirmant has quit IRC
202 2017-11-20T18:42:22  *** Skirmant has joined #bitcoin-dev
203 2017-11-20T18:54:27  *** bule has joined #bitcoin-dev
204 2017-11-20T19:45:58  *** pergaminho has quit IRC
205 2017-11-20T19:46:10  *** oleganza has quit IRC
206 2017-11-20T19:46:58  *** oleganza has joined #bitcoin-dev
207 2017-11-20T19:54:45  *** asdasd_ has joined #bitcoin-dev
208 2017-11-20T19:54:49  <asdasd_> hello
209 2017-11-20T19:56:49  <asdasd_> i need an app legit for mining bitcoin on android is it possible ?
210 2017-11-20T19:57:08  <arubi> Chris_Stewart_5, "hmm so the last child can be hardened, but no intermediate child?" , I read that wrong, the last child can be hardened or not, and also any intermediate child.  for public derivation of a path, all children have to be non hardened
211 2017-11-20T19:57:28  *** jb55 has quit IRC
212 2017-11-20T19:58:27  *** dcousens has quit IRC
213 2017-11-20T19:59:08  <arubi> Chris_Stewart_5,
214 2017-11-20T19:59:08  <arubi>                 xprv     xpub
215 2017-11-20T19:59:08  <arubi>    [0, 2^31-1]  yes      yes
216 2017-11-20T19:59:08  <arubi> [2^31, 2^32-1]  yes      no
217 2017-11-20T19:59:08  <arubi> if you're using xprvs, you can derive whichever path.  if you're using xpubs, you can only derive a path of non hardened indexes
218 2017-11-20T19:59:32  *** dcousens has joined #bitcoin-dev
219 2017-11-20T20:01:20  *** SopaXorzTaker has quit IRC
220 2017-11-20T20:01:54  *** iv3c has quit IRC
221 2017-11-20T20:02:55  *** iv3c has joined #bitcoin-dev
222 2017-11-20T20:09:41  *** czaanja_ has quit IRC
223 2017-11-20T20:10:38  *** iv3c has quit IRC
224 2017-11-20T20:10:58  *** iv3c has joined #bitcoin-dev
225 2017-11-20T20:14:02  *** bule has quit IRC
226 2017-11-20T20:19:49  *** Giszmo has quit IRC
227 2017-11-20T20:22:35  *** Belxjander has quit IRC
228 2017-11-20T20:29:23  *** Belxjander has joined #bitcoin-dev
229 2017-11-20T20:35:43  *** Giszmo has joined #bitcoin-dev
230 2017-11-20T20:43:57  *** Belxjander has quit IRC
231 2017-11-20T20:44:56  <Chris_Stewart_5> arubi: So here is the specific test case
232 2017-11-20T20:44:58  <Chris_Stewart_5> https://github.com/Christewart/bitcoin-s-core/blob/208481def7ade3080c7e319002075b0750d848ec/src/test/scala/org/bitcoins/core/crypto/ExtKeySpec.scala#L18
233 2017-11-20T20:45:20  <Chris_Stewart_5> Look at the 'path1' and 'path2' values
234 2017-11-20T20:45:41  <Chris_Stewart_5> That passes, but it should *not* be possible to do 'path2' derivation with a hardened index right?
235 2017-11-20T20:46:29  *** Belxjander has joined #bitcoin-dev
236 2017-11-20T20:47:46  <arubi> Chris_Stewart_5, correct
237 2017-11-20T20:50:15  *** oleganza has quit IRC
238 2017-11-20T20:51:42  <Chris_Stewart_5> arubi: Also, on the BIP32 definition there is this sentence: "In case parse256(IL) ≥ n or Ki is the point at infinity, the resulting key is invalid, and one should proceed with the next value for i."
239 2017-11-20T20:52:05  <Chris_Stewart_5> That only should happen iff i < (1 << 31) right?
240 2017-11-20T20:52:28  <Chris_Stewart_5> because once we increment i above (1<<31) it will trivially fail
241 2017-11-20T20:53:01  <arubi> yes that's true, but very unlikely to be an issue right :)
242 2017-11-20T20:53:17  <Chris_Stewart_5> sure. Just making sure I am understanding the definition
243 2017-11-20T20:53:29  <arubi> that's how I read it too
244 2017-11-20T20:53:58  <Chris_Stewart_5> do you know of any key/index pairs that would trigger this?
245 2017-11-20T20:54:02  <Chris_Stewart_5> so i can write a test case
246 2017-11-20T20:54:12  <Chris_Stewart_5> having the point at infinity
247 2017-11-20T20:54:40  <Chris_Stewart_5> or parse256(IL) >= n
248 2017-11-20T20:55:50  <arubi> hmm
249 2017-11-20T20:57:34  <arubi> no I don't think you can set something like that up
250 2017-11-20T20:58:38  <Chris_Stewart_5> well there has to be *theoretical examples* otherwise they wouldn't have put the clause there i guess
251 2017-11-20T20:59:56  <arubi> you'll have to set it up so the returned value from the hmac function is either very specific in its 32 left bytes or to cancel the parent key
252 2017-11-20T21:01:57  <Chris_Stewart_5> hmm i might try asking in wizards if anyone there has a concrete example
253 2017-11-20T21:02:16  <arubi> I'll be lurking :)
254 2017-11-20T21:07:28  <asdasd_> is it possible to hack bitcoin? :D
255 2017-11-20T21:09:04  *** jb55 has joined #bitcoin-dev
256 2017-11-20T21:10:55  <asdasd_> I mean the wallet
257 2017-11-20T21:12:09  *** dviola has joined #bitcoin-dev
258 2017-11-20T21:12:29  <sturles> There are lots of different bitcoin wallets.  Some have been hackable, e.g. through bad RNG and address reuse.
259 2017-11-20T21:13:17  <asdasd_> and the bitcoin network?
260 2017-11-20T21:13:26  <asdasd_> is hackable?
261 2017-11-20T21:14:05  <asdasd_> https://bitcoin.org/en/alerts
262 2017-11-20T21:18:47  <Chris_Stewart_5> asdasd_: #bitcoin is probably best for answers to those
263 2017-11-20T21:19:09  <asdasd_> no man the topic says this channel.
264 2017-11-20T21:19:40  <asdasd_> "discussion about the Bitcoin network"
265 2017-11-20T21:22:57  *** snee is now known as Dr-Gesus
266 2017-11-20T21:29:46  <Chris_Stewart_5> arubi: Looks like you were right :-)
267 2017-11-20T21:29:59  <arubi> :)
268 2017-11-20T21:40:50  *** bule has joined #bitcoin-dev
269 2017-11-20T21:43:59  *** POJO has quit IRC
270 2017-11-20T21:44:49  *** txter has joined #bitcoin-dev
271 2017-11-20T21:47:28  *** Dizzle has quit IRC
272 2017-11-20T21:52:32  *** satwo has joined #bitcoin-dev
273 2017-11-20T21:52:44  *** Guyver2 has quit IRC
274 2017-11-20T21:55:36  *** Dizzle has joined #bitcoin-dev
275 2017-11-20T22:01:44  *** JackH has quit IRC
276 2017-11-20T22:02:17  *** JackH has joined #bitcoin-dev
277 2017-11-20T22:13:18  *** meshcollider has joined #bitcoin-dev
278 2017-11-20T22:29:51  *** Chris_Stewart_5 has quit IRC
279 2017-11-20T22:30:03  *** damons has quit IRC
280 2017-11-20T22:31:21  *** da2ce7 has quit IRC
281 2017-11-20T22:32:43  *** txter has quit IRC
282 2017-11-20T22:33:43  *** da2ce7 has joined #bitcoin-dev
283 2017-11-20T22:47:08  *** oleganza has joined #bitcoin-dev
284 2017-11-20T22:54:28  *** Giszmo has quit IRC
285 2017-11-20T23:06:48  *** agricocb has quit IRC
286 2017-11-20T23:14:38  *** Cogito_Ergo_Sum has quit IRC
287 2017-11-20T23:28:45  *** oleganza has quit IRC
288 2017-11-20T23:30:58  *** oleganza has joined #bitcoin-dev
289 2017-11-20T23:40:21  *** oleganza has quit IRC
290 2017-11-20T23:42:18  *** Dizzle has quit IRC
291 2017-11-20T23:48:35  *** oleganza has joined #bitcoin-dev
292 2017-11-20T23:59:57  *** Giszmo has joined #bitcoin-dev