1 2017-08-31T00:10:10  *** coin_trader has quit IRC
  2 2017-08-31T00:12:02  *** coin_trader has joined #bitcoin-dev
  3 2017-08-31T00:12:02  *** jtimon has quit IRC
  4 2017-08-31T00:12:34  *** jtimon has joined #bitcoin-dev
  5 2017-08-31T00:28:15  *** Belxjander has quit IRC
  6 2017-08-31T00:30:19  *** Belxjander has joined #bitcoin-dev
  7 2017-08-31T00:32:10  *** blackwraith has joined #bitcoin-dev
  8 2017-08-31T00:34:02  *** sausage_factory has quit IRC
  9 2017-08-31T00:40:14  *** blackwraith has quit IRC
 10 2017-08-31T00:55:43  *** meshcollider has quit IRC
 11 2017-08-31T00:57:43  *** JackH has quit IRC
 12 2017-08-31T00:58:17  *** dabura667 has joined #bitcoin-dev
 13 2017-08-31T00:58:34  *** kristofferR has joined #bitcoin-dev
 14 2017-08-31T01:14:43  *** uvarovserge has joined #bitcoin-dev
 15 2017-08-31T01:19:04  *** uvarovserge has quit IRC
 16 2017-08-31T01:20:05  *** uvarovserge has joined #bitcoin-dev
 17 2017-08-31T01:22:48  *** harai has quit IRC
 18 2017-08-31T01:48:55  *** [7] has quit IRC
 19 2017-08-31T01:49:49  *** TheSeven has joined #bitcoin-dev
 20 2017-08-31T01:53:31  *** nreefode has joined #bitcoin-dev
 21 2017-08-31T01:55:22  <nreefode> hi all. I am writing an RPC to get up to speed with bitcoin-core. At some point I would like to be generating an empty (but valid) new block. CreateNewBlock pulls things out of the mempool, yes?
 22 2017-08-31T01:57:09  <nreefode> I'm thinking I can add a flag to CreateNewBlock so that it does not call addPackageTxs, which it looks like is what's grabbing txs from the mempool
 23 2017-08-31T02:01:20  <nreefode> oh you know what, the docs for addPackageTxs explicitly say "we don't remove transactions from the mempool as we select them for block inclusion"
 24 2017-08-31T02:08:01  *** Giszmo has quit IRC
 25 2017-08-31T02:24:29  *** btcdrak has joined #bitcoin-dev
 26 2017-08-31T02:39:05  *** Giszmo has joined #bitcoin-dev
 27 2017-08-31T02:39:16  *** subo_ has joined #bitcoin-dev
 28 2017-08-31T02:43:12  *** subo has quit IRC
 29 2017-08-31T02:44:43  *** chjj has quit IRC
 30 2017-08-31T02:45:48  *** chainey has joined #bitcoin-dev
 31 2017-08-31T03:02:27  *** slimeball has quit IRC
 32 2017-08-31T03:06:40  *** nreefode has quit IRC
 33 2017-08-31T03:19:26  *** Chris_Stewart_5 has joined #bitcoin-dev
 34 2017-08-31T03:22:10  *** meshcollider has joined #bitcoin-dev
 35 2017-08-31T03:27:02  *** d9b4bef9 has quit IRC
 36 2017-08-31T03:28:08  *** d9b4bef9 has joined #bitcoin-dev
 37 2017-08-31T03:28:41  *** uvarovserge has quit IRC
 38 2017-08-31T03:35:41  *** Giszmo has quit IRC
 39 2017-08-31T03:38:13  *** justanotheruser has quit IRC
 40 2017-08-31T03:47:53  *** chjj has joined #bitcoin-dev
 41 2017-08-31T03:48:35  *** Giszmo has joined #bitcoin-dev
 42 2017-08-31T03:49:00  *** Chris_Stewart_5 has quit IRC
 43 2017-08-31T03:53:32  *** justanotheruser has joined #bitcoin-dev
 44 2017-08-31T03:54:41  *** Giszmo has quit IRC
 45 2017-08-31T03:55:05  *** Belxjander has quit IRC
 46 2017-08-31T03:56:34  *** Belxjander has joined #bitcoin-dev
 47 2017-08-31T04:05:23  *** TheSeven has quit IRC
 48 2017-08-31T04:06:45  *** TheSeven has joined #bitcoin-dev
 49 2017-08-31T04:07:34  *** janko33 has joined #bitcoin-dev
 50 2017-08-31T04:07:40  *** janko33 has quit IRC
 51 2017-08-31T04:07:43  *** arubi has joined #bitcoin-dev
 52 2017-08-31T04:14:19  *** ddustin has joined #bitcoin-dev
 53 2017-08-31T04:15:10  *** TheSeven has quit IRC
 54 2017-08-31T04:16:29  *** TheSeven has joined #bitcoin-dev
 55 2017-08-31T04:16:29  *** Giszmo has joined #bitcoin-dev
 56 2017-08-31T04:18:40  <esotericnonsense> hm.
 57 2017-08-31T04:18:41  * esotericnonsense is mucking around with wallet dev.
 58 2017-08-31T04:18:41  <esotericnonsense> my 'random source' has given me a bip39 seed with three subsequent words identical.
 59 2017-08-31T04:18:41  <esotericnonsense> :>
 60 2017-08-31T04:37:42  *** Belxjander has quit IRC
 61 2017-08-31T04:38:38  *** Belxjander has joined #bitcoin-dev
 62 2017-08-31T04:39:55  *** HostFat has joined #bitcoin-dev
 63 2017-08-31T04:46:30  *** chainey has quit IRC
 64 2017-08-31T04:50:41  *** justanotheruser has quit IRC
 65 2017-08-31T04:55:29  *** iv3ct has quit IRC
 66 2017-08-31T05:02:21  *** chjj has quit IRC
 67 2017-08-31T05:04:01  *** justanotheruser has joined #bitcoin-dev
 68 2017-08-31T05:06:28  *** justanotheruser has quit IRC
 69 2017-08-31T05:06:56  *** justanotheruser has joined #bitcoin-dev
 70 2017-08-31T05:09:06  *** chainey has joined #bitcoin-dev
 71 2017-08-31T05:14:01  *** chainey has quit IRC
 72 2017-08-31T05:16:22  *** Belxjander has quit IRC
 73 2017-08-31T05:23:02  *** Belxjander has joined #bitcoin-dev
 74 2017-08-31T05:44:19  *** Victor_sueca is now known as Victorsueca
 75 2017-08-31T05:50:49  *** HostFat_ has joined #bitcoin-dev
 76 2017-08-31T05:50:56  *** POJO has quit IRC
 77 2017-08-31T05:52:33  *** HostFat has quit IRC
 78 2017-08-31T06:06:41  *** swoup has joined #bitcoin-dev
 79 2017-08-31T06:12:34  *** harai has joined #bitcoin-dev
 80 2017-08-31T06:18:05  *** HostFat_ has quit IRC
 81 2017-08-31T06:19:44  *** DTZUZO has quit IRC
 82 2017-08-31T06:23:40  *** CheckDavid has joined #bitcoin-dev
 83 2017-08-31T06:31:29  *** coin_trader has quit IRC
 84 2017-08-31T06:47:07  *** czaanja_ has joined #bitcoin-dev
 85 2017-08-31T06:49:13  *** BashCo has quit IRC
 86 2017-08-31T06:55:43  *** meshcollider has quit IRC
 87 2017-08-31T06:57:38  *** Mottengrotte has joined #bitcoin-dev
 88 2017-08-31T07:06:58  *** SopaXorzTaker has joined #bitcoin-dev
 89 2017-08-31T07:14:17  *** BashCo has joined #bitcoin-dev
 90 2017-08-31T07:17:35  *** jtimon has quit IRC
 91 2017-08-31T07:32:21  *** dermoth has joined #bitcoin-dev
 92 2017-08-31T07:42:43  *** YoY has quit IRC
 93 2017-08-31T07:44:22  *** YoY has joined #bitcoin-dev
 94 2017-08-31T07:47:15  *** ddustin has quit IRC
 95 2017-08-31T07:47:31  *** ddustin has joined #bitcoin-dev
 96 2017-08-31T07:48:00  *** ddustin has quit IRC
 97 2017-08-31T07:48:33  *** ddustin has joined #bitcoin-dev
 98 2017-08-31T07:52:50  *** czaanja_ has quit IRC
 99 2017-08-31T07:59:18  *** xenog has joined #bitcoin-dev
100 2017-08-31T08:00:06  *** xenog has quit IRC
101 2017-08-31T08:03:55  *** xenog has joined #bitcoin-dev
102 2017-08-31T08:05:42  *** one_zero has quit IRC
103 2017-08-31T08:08:05  *** Belxjander has quit IRC
104 2017-08-31T08:12:03  *** DTZUZO has joined #bitcoin-dev
105 2017-08-31T08:14:22  *** Belxjander has joined #bitcoin-dev
106 2017-08-31T08:15:54  *** nazarewk has joined #bitcoin-dev
107 2017-08-31T08:21:50  *** djoot has joined #bitcoin-dev
108 2017-08-31T08:22:18  *** JackH has joined #bitcoin-dev
109 2017-08-31T08:30:21  *** Belxjander has quit IRC
110 2017-08-31T08:31:25  *** Belxjander has joined #bitcoin-dev
111 2017-08-31T08:33:18  *** Guyver2 has joined #bitcoin-dev
112 2017-08-31T08:41:17  *** Giszmo has quit IRC
113 2017-08-31T08:45:50  *** harai has quit IRC
114 2017-08-31T08:55:50  *** Giszmo has joined #bitcoin-dev
115 2017-08-31T08:56:05  *** JackH has quit IRC
116 2017-08-31T08:56:14  *** xenog has quit IRC
117 2017-08-31T08:57:27  *** harrigan has joined #bitcoin-dev
118 2017-08-31T09:00:38  *** harrigan has quit IRC
119 2017-08-31T09:13:47  *** justanotheruser has quit IRC
120 2017-08-31T09:15:30  *** justanotheruser has joined #bitcoin-dev
121 2017-08-31T09:17:10  *** Letze has joined #bitcoin-dev
122 2017-08-31T09:27:28  *** czaanja_ has joined #bitcoin-dev
123 2017-08-31T09:44:26  *** dakk has joined #bitcoin-dev
124 2017-08-31T09:47:46  *** harrigan has joined #bitcoin-dev
125 2017-08-31T09:52:35  *** CheckDavid has quit IRC
126 2017-08-31T10:07:23  *** JackH has joined #bitcoin-dev
127 2017-08-31T10:10:10  *** Belxjander has quit IRC
128 2017-08-31T10:16:05  *** Belxjander has joined #bitcoin-dev
129 2017-08-31T10:16:40  *** dabura667 has quit IRC
130 2017-08-31T10:25:56  *** ongolaBoy has joined #bitcoin-dev
131 2017-08-31T10:39:31  *** CheckDavid has joined #bitcoin-dev
132 2017-08-31T11:01:16  *** Belxjander has quit IRC
133 2017-08-31T11:07:49  *** Belxjander has joined #bitcoin-dev
134 2017-08-31T11:16:21  *** meshcollider_ has joined #bitcoin-dev
135 2017-08-31T11:18:10  *** SopaXorzTaker has quit IRC
136 2017-08-31T11:18:53  *** SopaXorzTaker has joined #bitcoin-dev
137 2017-08-31T11:26:04  *** sh_smith has quit IRC
138 2017-08-31T11:26:04  *** justan0theruser has joined #bitcoin-dev
139 2017-08-31T11:28:00  *** justanotheruser has quit IRC
140 2017-08-31T11:28:11  *** sh_smith has joined #bitcoin-dev
141 2017-08-31T11:32:07  *** coin_trader has joined #bitcoin-dev
142 2017-08-31T11:32:31  *** uvarovserge has joined #bitcoin-dev
143 2017-08-31T11:39:41  *** justan0theruser has quit IRC
144 2017-08-31T11:40:08  *** justanotheruser has joined #bitcoin-dev
145 2017-08-31T11:43:12  *** Giszmo has quit IRC
146 2017-08-31T11:44:50  *** Belxjander has quit IRC
147 2017-08-31T11:45:40  *** Belxjander has joined #bitcoin-dev
148 2017-08-31T11:46:34  *** airbreather has joined #bitcoin-dev
149 2017-08-31T12:00:54  *** Giszmo has joined #bitcoin-dev
150 2017-08-31T12:01:47  *** uvarovserge has quit IRC
151 2017-08-31T12:09:17  *** Mottengrotte has quit IRC
152 2017-08-31T12:11:11  *** Mottengrotte has joined #bitcoin-dev
153 2017-08-31T12:14:25  *** Mottengrotte has joined #bitcoin-dev
154 2017-08-31T12:32:55  *** Chris_Stewart_5 has joined #bitcoin-dev
155 2017-08-31T12:39:33  *** agricocb has quit IRC
156 2017-08-31T13:02:35  *** CheckDavid has quit IRC
157 2017-08-31T13:10:02  *** Dyaheon has quit IRC
158 2017-08-31T13:11:43  *** Dyaheon has joined #bitcoin-dev
159 2017-08-31T13:33:39  *** Chris_Stewart_5 has quit IRC
160 2017-08-31T13:35:05  *** Chris_Stewart_5 has joined #bitcoin-dev
161 2017-08-31T13:35:49  *** iv3c has joined #bitcoin-dev
162 2017-08-31T13:54:32  *** meshcollider_ has quit IRC
163 2017-08-31T14:06:02  *** MRW has quit IRC
164 2017-08-31T14:11:21  *** MRW has joined #bitcoin-dev
165 2017-08-31T14:11:38  *** bugs_ has joined #bitcoin-dev
166 2017-08-31T14:12:42  *** Belxjander has quit IRC
167 2017-08-31T14:13:56  *** Belxjander has joined #bitcoin-dev
168 2017-08-31T14:15:11  *** treehug88 has quit IRC
169 2017-08-31T14:16:39  *** treehug88 has joined #bitcoin-dev
170 2017-08-31T14:18:01  *** Chris_Stewart_5 has quit IRC
171 2017-08-31T14:22:47  *** treehug88 has quit IRC
172 2017-08-31T14:23:31  *** iv3c has quit IRC
173 2017-08-31T14:23:50  *** iv3c has joined #bitcoin-dev
174 2017-08-31T14:29:33  *** Chris_Stewart_5 has joined #bitcoin-dev
175 2017-08-31T14:39:52  *** esotericnonsense has quit IRC
176 2017-08-31T14:40:01  *** sturles has quit IRC
177 2017-08-31T14:40:01  *** Chris_Stewart_5 has quit IRC
178 2017-08-31T14:40:24  *** esotericnonsense has joined #bitcoin-dev
179 2017-08-31T14:45:12  *** DTZUZO has quit IRC
180 2017-08-31T14:47:35  *** adiabat has quit IRC
181 2017-08-31T14:53:40  *** Chris_Stewart_5 has joined #bitcoin-dev
182 2017-08-31T14:58:25  *** adiabat has joined #bitcoin-dev
183 2017-08-31T14:58:59  *** DTZUZO has joined #bitcoin-dev
184 2017-08-31T15:01:53  * esotericnonsense whacks his head against a wall
185 2017-08-31T15:02:29  <esotericnonsense> after multiple hours of trying to figure out why my bip32 derivation code is not working properly against the test vectors i decide to use a different base58 encoder
186 2017-08-31T15:02:45  <esotericnonsense> it was always fine
187 2017-08-31T15:03:18  *** sturles has joined #bitcoin-dev
188 2017-08-31T15:18:00  *** iv3c has quit IRC
189 2017-08-31T15:18:18  *** iv3c has joined #bitcoin-dev
190 2017-08-31T15:28:56  *** Chris_Stewart_5 has quit IRC
191 2017-08-31T15:32:17  *** DTZUZO has quit IRC
192 2017-08-31T15:39:13  *** Giszmo has quit IRC
193 2017-08-31T15:41:39  *** Chris_Stewart_5 has joined #bitcoin-dev
194 2017-08-31T15:51:01  *** airbreather has quit IRC
195 2017-08-31T15:51:38  *** Giszmo has joined #bitcoin-dev
196 2017-08-31T15:54:45  *** BashCo has quit IRC
197 2017-08-31T15:55:23  *** BashCo has joined #bitcoin-dev
198 2017-08-31T15:59:32  *** BashCo has quit IRC
199 2017-08-31T16:03:12  *** Mottengrotte has quit IRC
200 2017-08-31T16:03:56  *** dongcarl has joined #bitcoin-dev
201 2017-08-31T16:05:27  *** iv3c has quit IRC
202 2017-08-31T16:05:46  *** iv3c has joined #bitcoin-dev
203 2017-08-31T16:10:02  *** chjj has joined #bitcoin-dev
204 2017-08-31T16:14:48  *** BashCo has joined #bitcoin-dev
205 2017-08-31T16:15:07  *** epopt has quit IRC
206 2017-08-31T16:17:44  *** janko33 has joined #bitcoin-dev
207 2017-08-31T16:23:06  *** janko33_ has joined #bitcoin-dev
208 2017-08-31T16:24:03  *** gorums has joined #bitcoin-dev
209 2017-08-31T16:24:17  *** nazarewk has quit IRC
210 2017-08-31T16:24:40  *** dviola has joined #bitcoin-dev
211 2017-08-31T16:24:42  <dviola> hi
212 2017-08-31T16:24:45  *** ddustin has quit IRC
213 2017-08-31T16:25:11  <dviola> I see my initial sync is going a bit slow today, I'm getting connection refused and such
214 2017-08-31T16:25:32  <dviola> 2017-08-31 16:23:35 Peer=5 is stalling block download, disconnecting
215 2017-08-31T16:25:33  <dviola> 2017-08-31 16:23:35 connect() to [2001:0:5ef5:79fb:14be:388:93d8:4eaf]:8333 failed: Network is unreachable (101)
216 2017-08-31T16:25:46  <dviola> in the debug.log
217 2017-08-31T16:25:57  <dviola> is it possible my ISP is messing with me?
218 2017-08-31T16:26:01  *** janko33 has quit IRC
219 2017-08-31T16:28:30  *** iv3c has quit IRC
220 2017-08-31T16:28:50  *** iv3c has joined #bitcoin-dev
221 2017-08-31T16:30:15  <dviola> how do I know if my node is able to connect to other nodes?
222 2017-08-31T16:33:27  <dviola> I wonder if that time out is simply because my node can't be reached from outside
223 2017-08-31T16:56:09  *** SopaXorzTaker has quit IRC
224 2017-08-31T17:01:50  *** Chris_Stewart_5 has quit IRC
225 2017-08-31T17:02:51  *** abpa has joined #bitcoin-dev
226 2017-08-31T17:05:01  *** one_zero has joined #bitcoin-dev
227 2017-08-31T17:05:51  <dviola> looks like that was a connection to ipv6 and I can't use ipv6
228 2017-08-31T17:05:53  *** dviola has left #bitcoin-dev
229 2017-08-31T17:15:02  *** ddustin has joined #bitcoin-dev
230 2017-08-31T17:16:17  *** Chris_Stewart_5 has joined #bitcoin-dev
231 2017-08-31T17:31:09  *** one_zero has quit IRC
232 2017-08-31T17:32:36  *** harai has joined #bitcoin-dev
233 2017-08-31T17:41:35  *** Chris_Stewart_5 has quit IRC
234 2017-08-31T17:41:50  *** one_zero has joined #bitcoin-dev
235 2017-08-31T17:44:27  *** Murch has joined #bitcoin-dev
236 2017-08-31T17:44:28  *** Guyver2 has quit IRC
237 2017-08-31T17:46:57  *** nazarewk has joined #bitcoin-dev
238 2017-08-31T17:47:35  *** JackH has quit IRC
239 2017-08-31T17:49:42  *** DTZUZO has joined #bitcoin-dev
240 2017-08-31T17:50:14  *** ddustin has quit IRC
241 2017-08-31T17:52:26  *** ddustin has joined #bitcoin-dev
242 2017-08-31T17:57:20  *** harai has quit IRC
243 2017-08-31T17:59:57  *** kristofferR has quit IRC
244 2017-08-31T17:59:59  *** Chris_Stewart_5 has joined #bitcoin-dev
245 2017-08-31T18:00:00  *** rjak2 has joined #bitcoin-dev
246 2017-08-31T18:00:00  *** rjak has quit IRC
247 2017-08-31T18:00:15  *** chainey has joined #bitcoin-dev
248 2017-08-31T18:00:15  *** rjak2 is now known as rjak
249 2017-08-31T18:00:18  *** priidu has joined #bitcoin-dev
250 2017-08-31T18:00:21  *** JackH has joined #bitcoin-dev
251 2017-08-31T18:02:48  *** harai has joined #bitcoin-dev
252 2017-08-31T18:09:18  *** Emcy_ has quit IRC
253 2017-08-31T18:09:49  *** Emcy has joined #bitcoin-dev
254 2017-08-31T18:10:14  *** Emcy has quit IRC
255 2017-08-31T18:17:05  *** Emcy has joined #bitcoin-dev
256 2017-08-31T18:17:33  *** chainey has left #bitcoin-dev
257 2017-08-31T18:19:11  *** Giszmo has quit IRC
258 2017-08-31T18:19:44  *** ginseng has joined #bitcoin-dev
259 2017-08-31T18:29:34  *** asimplecoder has joined #bitcoin-dev
260 2017-08-31T18:29:39  <asimplecoder> hey
261 2017-08-31T18:29:43  <asimplecoder> anyone online?
262 2017-08-31T18:29:46  *** jtimon has joined #bitcoin-dev
263 2017-08-31T18:30:45  <asimplecoder> i need some help with bitcoind
264 2017-08-31T18:32:55  <adiabat> asimplecoder: people are online, just ask, preambles etc are generally ignored here
265 2017-08-31T18:34:07  *** Chris_Stewart_5 has quit IRC
266 2017-08-31T18:34:15  <asimplecoder> i cant be able to figure out how to use bitcoind's sendrawtransaction
267 2017-08-31T18:34:17  <asimplecoder> bitcoin-cli sendrawtransaction mysignedtransactioninhex allowhighfees=false error: Error parsing JSON:allowhighfees=false
268 2017-08-31T18:34:45  *** Giszmo has joined #bitcoin-dev
269 2017-08-31T18:35:55  <adiabat> I think if you want allowhighfees, just put a true at the end?
270 2017-08-31T18:36:25  <esotericnonsense> looking at bip32 - am I correct in understanding that a hardened public child key cannot be obtained from any public parent key or set of
271 2017-08-31T18:37:08  <esotericnonsense> that is to say that it can only be derived by knowing some private parent key, determining the hardened private child key and then obtaining the point
272 2017-08-31T18:37:39  <adiabat> asimplecoder: as in, don't say allowhighfees=false, just put false after the hex string
273 2017-08-31T18:37:47  <asimplecoder> if i put true at the end i get:
274 2017-08-31T18:37:48  <asimplecoder> error code: -25 error message: Missing inputs
275 2017-08-31T18:38:04  <asimplecoder> same as with false
276 2017-08-31T18:38:16  <adiabat> asimplecoder: same? that's a different error
277 2017-08-31T18:38:31  <adiabat> try decoderawtransaction to see what's wrong with the tx
278 2017-08-31T18:38:42  <esotericnonsense> e.g. m/0'/0/0' pub _cannot_ be obtained from m/0'/0 pub nor m/0' pub nor m pub
279 2017-08-31T18:38:51  <esotericnonsense> you need any of those as prv
280 2017-08-31T18:39:22  <esotericnonsense> (this logically follows from bip32 CKD's, just confirming that I haven't missed something)
281 2017-08-31T18:40:22  <asimplecoder> its nothing wrong with the transaction
282 2017-08-31T18:42:34  <asimplecoder> http://dpaste.com/2T4S9N4.txt
283 2017-08-31T18:42:39  <asimplecoder> check it out^
284 2017-08-31T18:44:55  <adiabat> the missing inputs error means the inputs your trying to spend aren't found
285 2017-08-31T18:45:18  <adiabat> so the tx in isolation may be well formed, but the txo it's spending is gone
286 2017-08-31T18:45:45  <asimplecoder> so it might have been gone throw?
287 2017-08-31T18:46:29  <adiabat> the vin:txid:0 is probably not a utxo, you can query that with getrawtransaction
288 2017-08-31T18:46:36  <adiabat> (if you have txindex=1)
289 2017-08-31T18:46:40  <arubi> esotericnonsense, right, leafs on the same branch aren't related at all in any way
290 2017-08-31T18:47:11  <asimplecoder> no it got the bitcoin on it
291 2017-08-31T18:47:12  *** belcher has quit IRC
292 2017-08-31T18:47:43  <arubi> and specifically hardened paths can not be derived from non hardened paths
293 2017-08-31T18:47:50  <adiabat> asimplecoder: as a guess, bitcoin txids are "backwards", in that if you're writing your own stuff, the bytes have to be reversed
294 2017-08-31T18:48:25  <asimplecoder> yupp its a custom script
295 2017-08-31T18:48:45  <arubi> you can only go forward if you know the private key at all, and can only go backwards with a private key and a non hardened xpub
296 2017-08-31T18:49:06  <adiabat> the txid in the hex string going into decoderawtransaction is backwards from the hex string you'll see from the json output
297 2017-08-31T18:49:11  <esotericnonsense> arubi: well you can go forward from pub to pub with pub, just not to a hardened child
298 2017-08-31T18:49:23  <asimplecoder> i tried to push and i got the error "Validation Error: Insufficient fee. Minimum fee is 1 sat/B."
299 2017-08-31T18:49:29  <arubi> yea, that's right.  on non hardened paths
300 2017-08-31T18:50:08  <arubi> sorry, can only go forwards to a hardened path*
301 2017-08-31T18:50:10  <adiabat> asimplecoder: reduce your output value a bit to up the fee
302 2017-08-31T18:50:11  <esotericnonsense> i'm unsure what you mean by on non hardened paths. it seems that i could go from pub m/0'/0 to pub m/0'/0/0 just fine.
303 2017-08-31T18:50:14  <esotericnonsense> yes, indeed
304 2017-08-31T18:50:28  <esotericnonsense> can only go forwards to a _non_hardened path :P
305 2017-08-31T18:50:41  <arubi> right, or a hardened path with knowing the xpub
306 2017-08-31T18:50:46  <arubi> errr
307 2017-08-31T18:50:47  <arubi> expriv
308 2017-08-31T18:51:07  <asimplecoder> whaaat "Parse: exception decoding Hex string: String index out of range: 381"
309 2017-08-31T18:51:54  <arubi> esotericnonsense, sorry, I'm only paying 20% attention, I'm confusing more than helping :)  I think you got it
310 2017-08-31T18:52:06  <esotericnonsense> lol
311 2017-08-31T18:52:34  <arubi> try to look into the private key + parent xpub exploit, it's pretty cool
312 2017-08-31T18:53:37  <arubi> as when a private key on a non hardened path is revealed, then you can derive parent xrpiv's until the non hardened path ends.  I think it's a cool way of applying bip32 stuff :)
313 2017-08-31T18:55:29  *** nazarewk has quit IRC
314 2017-08-31T18:55:30  *** czaanja_ has quit IRC
315 2017-08-31T18:56:45  <esotericnonsense> yeah, i've looked at that
316 2017-08-31T18:57:18  *** luke-jr has quit IRC
317 2017-08-31T18:58:24  <esotericnonsense> it seems interesting in that you can create a wallet that uses only hardened children, generating say the first 100 pub/priv when the parent is available, then removing the parent (or locking it behind a more secure encryption passphrase than the children)
318 2017-08-31T18:58:47  <esotericnonsense> you would only need to unlock the parent to generate more pub/priv
319 2017-08-31T19:00:16  <esotericnonsense> i suppose that actually you could just keep the parent encrypted (both pub and prv) and use non-hardened
320 2017-08-31T19:00:52  *** luke-jr has joined #bitcoin-dev
321 2017-08-31T19:01:26  <esotericnonsense> basically it's like having a non-HD wallet with a keypool, but the keypool can be refreshed deterministically, then again it would be easier to just use different parent paths for this sort of thing
322 2017-08-31T19:02:45  <asimplecoder> fucking hell error code: -25 error message: Missing inputs
323 2017-08-31T19:03:40  *** meshcollider has joined #bitcoin-dev
324 2017-08-31T19:09:53  <arubi> esotericnonsense, that's how core does it
325 2017-08-31T19:10:17  <arubi> it's hardened hd only, and you have to unlock the wallet when the keypool is depleted to generate more
326 2017-08-31T19:10:48  *** Chris_Stewart_5 has joined #bitcoin-dev
327 2017-08-31T19:11:05  <arubi> really you can just generate a huge amount the first time and keep encrypted forever, but it gets pretty bit quickly with private keys wrapped in secp256k1 asn.1 for each key :P
328 2017-08-31T19:12:00  <arubi> well maybe not quickly, iirc it's hundreds of megs at a million keys, which is actually 2 million because of the internal change
329 2017-08-31T19:14:36  <arubi> electrum uses non hardened derivation, different from core.  really most wallets use bip44 or now starting to use bip49 which are both public derivation
330 2017-08-31T19:16:38  *** belcher has joined #bitcoin-dev
331 2017-08-31T19:17:11  <esotericnonsense> yes, i'm looking in to bip44/49 now. wanted to cover bip32 first to understand how it works. have reimplemented bip32 in python, passing the vectors
332 2017-08-31T19:18:08  <arubi> awesome.  the newest added vector is due to a really nasty bugs some implementations had with a leading zero byte for private keys in the extended encoded, be sure to pass that ;)
333 2017-08-31T19:21:06  <esotericnonsense> yep, all checked out first time :)
334 2017-08-31T19:21:09  <esotericnonsense> (well, once I got any of them working)
335 2017-08-31T19:23:46  *** xenog has joined #bitcoin-dev
336 2017-08-31T19:25:07  *** ginseng has quit IRC
337 2017-08-31T19:26:01  <arubi> what are you using for ecc esotericnonsense ?
338 2017-08-31T19:26:40  <esotericnonsense> python-ecdsa, which seems quite slow. but this is kind of a toy for now.
339 2017-08-31T19:27:37  <esotericnonsense> (it is also slow because i don't optimize, I forget all previous results each time).
340 2017-08-31T19:27:39  *** ongolaBoy has quit IRC
341 2017-08-31T19:29:06  <arubi> cool, slow or not, if you're using it for exploring stuff, then the interesting bits are mostly interactive anyway :)
342 2017-08-31T19:29:41  <esotericnonsense> i did write the bits of ecdsa I needed for doing this years back but i've lost the code and it was horrendous anyway
343 2017-08-31T19:30:24  <arubi> heh yea, I wrote my own too.  still using it.  it's a lot slower than anything in python ever will be
344 2017-08-31T19:30:42  <arubi> mine is in gnu bc
345 2017-08-31T19:30:47  <esotericnonsense> lol
346 2017-08-31T19:30:49  <esotericnonsense> ???
347 2017-08-31T19:30:51  <esotericnonsense> :D
348 2017-08-31T19:31:09  <esotericnonsense> i could never get on with bc. i tried. always just use python interpreter whenever i need to do quick math stuff.
349 2017-08-31T19:31:27  <arubi> https://github.com/fivepiece/btc-bash-ng  and bash to tie stuff together :)
350 2017-08-31T19:31:31  * esotericnonsense doesn't even remember how he fell into python to begin with
351 2017-08-31T19:31:54  <esotericnonsense> awesome
352 2017-08-31T19:32:30  <arubi> cheers, if you need some exotic math stuff, I might have it.  if I don't, let me know, I love to implement cool stuff
353 2017-08-31T19:33:04  <arubi> it's not always 100% correct, but I try :P
354 2017-08-31T19:33:14  <esotericnonsense> i'm mostly doing this to aid my understanding of how wallets work and what a 'good' wallet storage format should look like
355 2017-08-31T19:33:33  <arubi> I guess I do too
356 2017-08-31T19:33:34  <esotericnonsense> after having a fun time trying to extract funds from a bitcoinj wallet, compiling tons of java shit just to get the keys out
357 2017-08-31T19:33:42  <arubi> wait I have something you'd like
358 2017-08-31T19:34:14  <arubi> https://gist.github.com/fivepiece/74b6f8bfa8816ee7e283d25a36947629 , core's wallet with keypool=0
359 2017-08-31T19:35:09  <arubi> I kinda want to dissect the wallet further, my real wish is it being able to use a 64 bytes value as the bip32 seed
360 2017-08-31T19:35:23  <arubi> as the input to the bip32 master xpriv rather
361 2017-08-31T19:36:00  <arubi> currently it's using one valid secp256k1 private key as the 32 bytes to the [hmac-sha512 "value" "Bitcoin seed"] thing
362 2017-08-31T19:36:48  <arubi> if it could be a 64 bytes value, then it could also be an output off a bip39 kdf, and I'd be able to get my core's private key on a hardware wallet! :D
363 2017-08-31T19:38:39  *** test123456 has joined #bitcoin-dev
364 2017-08-31T19:40:05  *** asimplecoder has quit IRC
365 2017-08-31T19:40:16  *** Dyaheon has quit IRC
366 2017-08-31T19:40:37  <arubi> brb, sorry, I try to drop this info onto anyone who has an interest in improving the wallet scheme.  I think the current "hey just change the constant" method is difficult.  already folks are asking wallet providers to be able to sign with a "segwit address"
367 2017-08-31T19:41:33  <arubi> what I mean is, this needs fixing.  it's getting to the point it's very hard to maintain..
368 2017-08-31T19:42:40  *** Dyaheon has joined #bitcoin-dev
369 2017-08-31T19:55:55  *** blackwraith has joined #bitcoin-dev
370 2017-08-31T19:57:33  *** priidu has quit IRC
371 2017-08-31T20:02:38  *** dongcarl has quit IRC
372 2017-08-31T20:12:11  *** chjj has quit IRC
373 2017-08-31T20:27:36  *** agricocb has joined #bitcoin-dev
374 2017-08-31T20:29:15  *** c40d9b0743a91f40 has joined #bitcoin-dev
375 2017-08-31T20:31:06  *** dermoth_ has joined #bitcoin-dev
376 2017-08-31T20:31:23  *** dermoth has quit IRC
377 2017-08-31T20:31:25  *** dermoth_ is now known as dermoth
378 2017-08-31T20:40:21  *** Chris_Stewart_5 has quit IRC
379 2017-08-31T20:52:28  *** test123456 has quit IRC
380 2017-08-31T20:53:21  *** xenog has quit IRC
381 2017-08-31T21:22:01  *** janko33_ has quit IRC
382 2017-08-31T21:25:41  <esotericnonsense> lessons in cryptography being full of footguns #229384583
383 2017-08-31T21:26:15  <esotericnonsense> https://github.com/petertodd/python-bitcoinlib/blob/master/bitcoin/core/key.py WARNING: This module does not mlock() secrets; your private keys may end up on disk in swap! Use with caution!
384 2017-08-31T21:26:15  <esotericnonsense> such an obvious possibility that I'd never even considered before
385 2017-08-31T21:29:20  <esotericnonsense> i think at least core and electrum now offer the ability to encrypt on boot (otherwise you end up with an unencrypted copy hitting the disk on first startup)
386 2017-08-31T21:29:42  <esotericnonsense> but that one seems to make securing electrum impossible unless there some magic c extension stuff
387 2017-08-31T21:31:05  *** luke-jr has quit IRC
388 2017-08-31T21:35:37  *** iv3c has quit IRC
389 2017-08-31T21:36:01  *** iv3c has joined #bitcoin-dev
390 2017-08-31T21:44:31  *** Dyaheon has quit IRC
391 2017-08-31T21:44:50  * esotericnonsense wonders if any implementations aside from core actually use mlock
392 2017-08-31T21:47:49  *** Dyaheon has joined #bitcoin-dev
393 2017-08-31T21:49:37  *** bugs_ has quit IRC
394 2017-08-31T21:53:36  *** Giszmo has quit IRC
395 2017-08-31T21:54:14  *** btcdrak has quit IRC
396 2017-08-31T21:57:48  *** harai has quit IRC
397 2017-08-31T22:00:01  *** c40d9b0743a91f40 has quit IRC
398 2017-08-31T22:04:45  *** gorums has quit IRC
399 2017-08-31T22:17:31  *** meshcollider has quit IRC
400 2017-08-31T22:20:27  *** c40d9b0743a91f40 has joined #bitcoin-dev
401 2017-08-31T22:23:17  *** Giszmo has joined #bitcoin-dev
402 2017-08-31T22:26:18  *** harai has joined #bitcoin-dev
403 2017-08-31T22:38:01  *** Giszmo has quit IRC
404 2017-08-31T22:38:48  *** blackwraith has quit IRC
405 2017-08-31T22:41:00  *** blackwraith has joined #bitcoin-dev
406 2017-08-31T22:44:52  *** harai has quit IRC
407 2017-08-31T22:46:28  *** airbreather has joined #bitcoin-dev
408 2017-08-31T22:55:56  *** luke-jr has joined #bitcoin-dev
409 2017-08-31T23:05:24  *** Giszmo has joined #bitcoin-dev
410 2017-08-31T23:07:51  *** JackH has quit IRC
411 2017-08-31T23:15:00  *** blackwraith has quit IRC
412 2017-08-31T23:15:21  *** JackH has joined #bitcoin-dev
413 2017-08-31T23:15:23  *** airbreather has quit IRC
414 2017-08-31T23:16:08  *** JackH has quit IRC
415 2017-08-31T23:17:14  *** JackH has joined #bitcoin-dev
416 2017-08-31T23:18:41  *** airbreather has joined #bitcoin-dev
417 2017-08-31T23:31:03  *** iv3c has quit IRC
418 2017-08-31T23:31:23  *** iv3c has joined #bitcoin-dev
419 2017-08-31T23:38:40  *** harai has joined #bitcoin-dev
420 2017-08-31T23:44:29  *** Belxjander has quit IRC
421 2017-08-31T23:45:05  *** Giszmo has quit IRC
422 2017-08-31T23:51:01  *** Dyaheon has quit IRC
423 2017-08-31T23:51:19  *** Belxjander has joined #bitcoin-dev
424 2017-08-31T23:52:58  *** Dyaheon has joined #bitcoin-dev
425 2017-08-31T23:55:44  *** O01eg has quit IRC
426 2017-08-31T23:57:29  *** Chris_Stewart_5 has joined #bitcoin-dev
427 2017-08-31T23:59:46  *** abpa has quit IRC