1 2017-12-05T00:01:41  *** POJO has quit IRC
  2 2017-12-05T00:02:41  *** jb55 has quit IRC
  3 2017-12-05T00:04:37  *** intcat has quit IRC
  4 2017-12-05T00:05:51  *** intcat has joined #bitcoin-dev
  5 2017-12-05T00:09:36  *** deego has joined #bitcoin-dev
  6 2017-12-05T00:10:10  <deego> can you/how do you rescan without having to restart the client?
  7 2017-12-05T00:10:33  <deego> (I don't see a rescan option in bitcoin-cli help)
  8 2017-12-05T00:12:00  <gevs> oh my god i think i found the keys
  9 2017-12-05T00:12:12  *** IngCr3at1on has joined #bitcoin-dev
 10 2017-12-05T00:12:55  <gevs> for each cosigner mnemonic => bip39 seed => bip32 hd key => derive m/44'/0'/0'/0/2 and now i have the 3 public keys that you meant earlier
 11 2017-12-05T00:16:44  *** intcat has quit IRC
 12 2017-12-05T00:17:31  *** jeremias has quit IRC
 13 2017-12-05T00:19:17  *** intcat has joined #bitcoin-dev
 14 2017-12-05T00:20:09  <gevs> arubi: gevs, that is the exact redeemscript : 522102109c754588a5e6de512a68b0e82fa8ed6520f5fd57f6b41315e3d3c2b8f92ac2210318e0167d697e9366f17c2e83ac21c7e66ecc9427884d083887c8d3b6aa3857d8210350bc7cb1f4632c42ad092b1b825beea81ad4a663fa1c365c95d09ff44a11f30353ae
 15 2017-12-05T00:20:10  <gevs> <arubi> it's a 2-of-3 with pubkeys 02109c754588a5e6de512a68b0e82fa8ed6520f5fd57f6b41315e3d3c2b8f92ac2 0318e0167d697e9366f17c2e83ac21c7e66ecc9427884d083887c8d3b6aa3857d8 0350bc7cb1f4632c42ad092b1b825beea81ad4a663fa1c365c95d09ff44a11f303
 16 2017-12-05T00:20:54  <gevs> never mind my bad
 17 2017-12-05T00:23:33  *** jb55 has joined #bitcoin-dev
 18 2017-12-05T00:24:54  <gevs> aoutch - i was exactly where i have to be ^^ except that the bitcoin-php wrapper that i use may not accept non-standard transaction im creating lol
 19 2017-12-05T00:26:00  <gevs> i just found out, when i try to *sign only* the raw transaction payload provided by shmali in the btt thread - i come back to an error i have had before, the library cant sign my OP_RETURN output and it says "scriptPubKey not supported"
 20 2017-12-05T00:36:54  *** jb55 has quit IRC
 21 2017-12-05T00:37:48  *** uebera|| has quit IRC
 22 2017-12-05T00:37:50  *** TheSeven has quit IRC
 23 2017-12-05T00:38:50  *** uebera|| has joined #bitcoin-dev
 24 2017-12-05T00:39:12  *** TheSeven has joined #bitcoin-dev
 25 2017-12-05T00:40:59  *** WindChimes has joined #bitcoin-dev
 26 2017-12-05T00:41:16  *** WindChimes has left #bitcoin-dev
 27 2017-12-05T00:41:18  *** WindChimes has joined #bitcoin-dev
 28 2017-12-05T00:41:25  *** dcousens has joined #bitcoin-dev
 29 2017-12-05T00:41:58  *** uebera|| has quit IRC
 30 2017-12-05T00:42:56  *** uebera|| has joined #bitcoin-dev
 31 2017-12-05T00:53:17  *** jb55 has joined #bitcoin-dev
 32 2017-12-05T00:53:26  *** rngkll has quit IRC
 33 2017-12-05T00:55:45  *** dabura667 has joined #bitcoin-dev
 34 2017-12-05T00:59:13  *** jb55 has quit IRC
 35 2017-12-05T01:06:02  *** womantis has quit IRC
 36 2017-12-05T01:09:43  *** tyranny has joined #bitcoin-dev
 37 2017-12-05T01:10:53  <tyranny> what c++ toolkit to use for implementing thin wallet (lightweight)  for my pet project? libbitcoin is for full node, as far as  understood
 38 2017-12-05T01:11:57  *** womantis has joined #bitcoin-dev
 39 2017-12-05T01:17:05  <cncr04s> we don't need a pet app running over bitcoin, already have enough transactions
 40 2017-12-05T01:22:39  *** intcat has quit IRC
 41 2017-12-05T01:23:31  *** intcat has joined #bitcoin-dev
 42 2017-12-05T01:26:17  *** Belxjander has quit IRC
 43 2017-12-05T01:27:43  *** Belxjander has joined #bitcoin-dev
 44 2017-12-05T01:27:44  <mlz> lol
 45 2017-12-05T01:28:34  <tyranny> cncr04s: it will use test net, that's why it's toy educational project
 46 2017-12-05T01:29:26  <mlz> he thinks you're going to run many dumb kitties over bitcoin :D
 47 2017-12-05T01:31:49  <tyranny> mlz: not answered the question though /sigh
 48 2017-12-05T01:32:18  <mlz> i have no clue, wait for the geeks to wake up
 49 2017-12-05T01:33:01  <tyranny> mlz: i mean the other dude, not you ;)
 50 2017-12-05T01:33:18  <mlz> oh sorry lol
 51 2017-12-05T01:33:58  <gevs> OH
 52 2017-12-05T01:34:02  <gevs> MY GOODNESS
 53 2017-12-05T01:34:49  <gevs>     0 => 'OP_HASH160 666e5e7041cd7a9df7075d2f3fc79b6d53df7963 OP_EQUAL',
 54 2017-12-05T01:35:29  <gevs> i reproduced the hell of a hash  :D noiicceee awesome help here arubi !! thank you very much
 55 2017-12-05T01:36:46  *** realz has joined #bitcoin-dev
 56 2017-12-05T01:39:45  *** realzies has quit IRC
 57 2017-12-05T01:39:52  <gevs> elligius wont broadcast my transaction and smartbit pushtx tells me "Missing inputs"
 58 2017-12-05T01:40:09  <gevs> but my signing part is definitely right now. so very much thanks :+1:
 59 2017-12-05T01:43:31  *** WindChimes has quit IRC
 60 2017-12-05T01:56:41  *** cdecker has quit IRC
 61 2017-12-05T01:56:42  <gevs> uho ok i may have done wrong sending some money of this account earlier haha - my input contains 200000 satoshis but i have spent some, so im going to add a new input (i think im geting this right, lets hope im back here with a big smile in an hour or so :P)
 62 2017-12-05T01:57:28  *** Belxjander has quit IRC
 63 2017-12-05T01:57:33  *** arubi has quit IRC
 64 2017-12-05T01:59:37  *** cdecker has joined #bitcoin-dev
 65 2017-12-05T01:59:38  *** Hamm has joined #bitcoin-dev
 66 2017-12-05T01:59:52  *** arubi has joined #bitcoin-dev
 67 2017-12-05T02:00:15  *** Belxjander has joined #bitcoin-dev
 68 2017-12-05T02:09:41  *** intcat has quit IRC
 69 2017-12-05T02:10:33  *** intcat has joined #bitcoin-dev
 70 2017-12-05T02:14:29  *** Murch has quit IRC
 71 2017-12-05T02:14:56  *** intcat has quit IRC
 72 2017-12-05T02:15:44  *** intcat has joined #bitcoin-dev
 73 2017-12-05T02:21:34  *** DTZUZO has quit IRC
 74 2017-12-05T02:21:59  *** Chris_Stewart_5 has joined #bitcoin-dev
 75 2017-12-05T02:25:03  *** POJO has joined #bitcoin-dev
 76 2017-12-05T02:29:09  <gevs> ok that input has a different hash though
 77 2017-12-05T02:29:33  <gevs> (im forced to use a different input than the one we have been trying to use... because earlier i sent money out of that address ^^)
 78 2017-12-05T02:30:04  *** TheSeven has quit IRC
 79 2017-12-05T02:30:04  <gevs> so - now the hash im trying to reproduce is vout=1 in : https://api.smartbit.com.au/v1/blockchain/tx/517a0ad4bf4cc423ce578f043a13e98d405902c08b1bfcac92b199ba3fd2cc39
 80 2017-12-05T02:30:04  <gevs> GET
 81 2017-12-05T02:30:17  *** realzies has joined #bitcoin-dev
 82 2017-12-05T02:31:26  *** TheSeven has joined #bitcoin-dev
 83 2017-12-05T02:33:05  *** realz has quit IRC
 84 2017-12-05T02:49:29  *** DTZUZO has joined #bitcoin-dev
 85 2017-12-05T03:07:32  *** MrBar has quit IRC
 86 2017-12-05T03:08:48  *** Hamm has quit IRC
 87 2017-12-05T03:18:50  *** intcat has quit IRC
 88 2017-12-05T03:19:13  *** DTZUZO has quit IRC
 89 2017-12-05T03:19:51  *** DTZUZO has joined #bitcoin-dev
 90 2017-12-05T03:20:57  *** intcat has joined #bitcoin-dev
 91 2017-12-05T03:23:30  *** Chris_Stewart_5 has quit IRC
 92 2017-12-05T03:27:06  *** jb55 has joined #bitcoin-dev
 93 2017-12-05T03:28:08  *** DTZUZO has quit IRC
 94 2017-12-05T03:29:21  *** DTZUZO has joined #bitcoin-dev
 95 2017-12-05T03:40:46  *** Hamm has joined #bitcoin-dev
 96 2017-12-05T03:44:07  *** dviola has quit IRC
 97 2017-12-05T03:49:54  *** DTZUZO has quit IRC
 98 2017-12-05T03:54:01  *** subo has joined #bitcoin-dev
 99 2017-12-05T03:58:11  <gevs> i figured my inputs are fine now since i reproduce the 666 hash in there. working out how my signed transaction must be exactly still.
100 2017-12-05T03:58:23  *** subo_ has quit IRC
101 2017-12-05T04:02:26  *** jtimon has quit IRC
102 2017-12-05T04:08:21  *** dgenr8 has quit IRC
103 2017-12-05T04:09:07  *** dgenr8 has joined #bitcoin-dev
104 2017-12-05T04:10:41  *** Belxjander has quit IRC
105 2017-12-05T04:10:44  *** intcat has quit IRC
106 2017-12-05T04:11:37  *** intcat has joined #bitcoin-dev
107 2017-12-05T04:11:54  *** Belxjander has joined #bitcoin-dev
108 2017-12-05T04:19:41  *** iv3c has quit IRC
109 2017-12-05T04:24:14  *** POJO has quit IRC
110 2017-12-05T04:27:09  *** Victorsueca has quit IRC
111 2017-12-05T04:28:24  *** Victorsueca has joined #bitcoin-dev
112 2017-12-05T04:36:35  *** Belxjander has quit IRC
113 2017-12-05T04:38:25  *** Belxjander has joined #bitcoin-dev
114 2017-12-05T04:39:31  <jb55> has anyone made any blockchain parsers that compile and are actively maintained? I want to do some basic analysis on blocks/txs and RPC is pretty slow for that
115 2017-12-05T04:46:20  *** brianhoffman has quit IRC
116 2017-12-05T04:46:39  *** brianhoffman has joined #bitcoin-dev
117 2017-12-05T04:48:00  *** bule has joined #bitcoin-dev
118 2017-12-05T04:48:56  *** bule2 has quit IRC
119 2017-12-05T05:06:29  *** TheSeven has quit IRC
120 2017-12-05T05:07:40  *** intcat has quit IRC
121 2017-12-05T05:08:20  <eck> for the rpc messages or what?
122 2017-12-05T05:08:33  *** intcat has joined #bitcoin-dev
123 2017-12-05T05:16:07  *** TheSeven has joined #bitcoin-dev
124 2017-12-05T05:16:24  *** bule has quit IRC
125 2017-12-05T05:16:47  *** bule has joined #bitcoin-dev
126 2017-12-05T05:16:59  *** laudiacay has quit IRC
127 2017-12-05T05:17:08  *** Belxjander has quit IRC
128 2017-12-05T05:18:18  *** laudiacay has joined #bitcoin-dev
129 2017-12-05T05:21:26  *** TheSeven has quit IRC
130 2017-12-05T05:23:32  *** Belxjander has joined #bitcoin-dev
131 2017-12-05T05:26:01  <jb55> just the whole round trip between http -> blocks -> json, would rather access them directly.
132 2017-12-05T05:26:41  <jb55> to do stuff like output every single distinct script in the blockchain, etc. very quickly.
133 2017-12-05T05:27:19  *** laudiacay has quit IRC
134 2017-12-05T05:31:41  *** intcat has quit IRC
135 2017-12-05T05:32:12  *** tyranny has quit IRC
136 2017-12-05T05:32:25  *** intcat has joined #bitcoin-dev
137 2017-12-05T05:33:14  *** Belxjander has quit IRC
138 2017-12-05T05:35:02  *** Belxjander has joined #bitcoin-dev
139 2017-12-05T05:44:35  <fishtop> jb55: have you given a go at writing your own? it's a pretty quick process tog et one up and running
140 2017-12-05T05:45:28  <jb55> fishtop: I will if there isn't one readily available
141 2017-12-05T05:47:34  <fishtop> have you looked at john ratcliff's?
142 2017-12-05T05:47:49  <jb55> fishtop: yeah but it looks windows specific
143 2017-12-05T05:48:09  <jb55> I guess I could try fixing it. maybe it's worth writing my own for learning purposes 🤔
144 2017-12-05T05:48:36  <fishtop> it's a good exercise to write your own. he has a great post about parsing the blockchain here http://codesuppository.blogspot.com/2014/01/how-to-parse-bitcoin-blockchain.html
145 2017-12-05T05:49:16  <jb55> ohh I remember there was a site that visualized the block format...
146 2017-12-05T05:59:52  <jb55> fishtop: this works too, thx!
147 2017-12-05T06:00:30  <jb55> but has the format changed since then...
148 2017-12-05T06:00:45  <jb55> looks simple enough
149 2017-12-05T06:24:40  *** TheSeven has joined #bitcoin-dev
150 2017-12-05T06:25:19  *** intcat has quit IRC
151 2017-12-05T06:26:10  *** intcat has joined #bitcoin-dev
152 2017-12-05T06:26:57  *** intcat has quit IRC
153 2017-12-05T06:30:31  *** intcat has joined #bitcoin-dev
154 2017-12-05T06:35:28  *** robink has quit IRC
155 2017-12-05T06:36:35  *** robinak has joined #bitcoin-dev
156 2017-12-05T06:37:49  *** altgribble` has quit IRC
157 2017-12-05T06:38:03  *** altgribble has joined #bitcoin-dev
158 2017-12-05T06:39:12  *** RBecker has quit IRC
159 2017-12-05T06:39:16  *** dcousens has quit IRC
160 2017-12-05T06:39:46  *** RBecker has joined #bitcoin-dev
161 2017-12-05T06:39:47  *** dcousens has joined #bitcoin-dev
162 2017-12-05T06:42:10  *** robinak is now known as robink
163 2017-12-05T06:54:20  *** Belxjander has quit IRC
164 2017-12-05T06:55:04  *** Belxjander has joined #bitcoin-dev
165 2017-12-05T07:08:44  *** Belxjander has quit IRC
166 2017-12-05T07:14:30  *** Belxjander has joined #bitcoin-dev
167 2017-12-05T07:14:51  *** intcat has quit IRC
168 2017-12-05T07:15:13  *** jb55 has quit IRC
169 2017-12-05T07:15:42  *** intcat has joined #bitcoin-dev
170 2017-12-05T07:17:36  *** intcat has quit IRC
171 2017-12-05T07:22:24  *** intcat has joined #bitcoin-dev
172 2017-12-05T07:26:49  *** ongolaBoy has joined #bitcoin-dev
173 2017-12-05T07:37:47  *** POJO has joined #bitcoin-dev
174 2017-12-05T07:42:17  *** Cogito_Ergo_Sum has joined #bitcoin-dev
175 2017-12-05T07:44:50  *** Belxjander has quit IRC
176 2017-12-05T07:45:39  *** Belxjander has joined #bitcoin-dev
177 2017-12-05T08:00:33  *** POJO has quit IRC
178 2017-12-05T08:03:06  *** Mottengrotte has joined #bitcoin-dev
179 2017-12-05T08:04:59  *** realazthat has joined #bitcoin-dev
180 2017-12-05T08:08:08  *** realzies has quit IRC
181 2017-12-05T08:11:31  *** POJO has joined #bitcoin-dev
182 2017-12-05T08:20:30  *** meshcollider has quit IRC
183 2017-12-05T08:22:53  *** intcat has quit IRC
184 2017-12-05T08:23:57  *** intcat has joined #bitcoin-dev
185 2017-12-05T08:27:12  *** Mottengrotte_ has joined #bitcoin-dev
186 2017-12-05T08:30:55  *** Mottengrotte has quit IRC
187 2017-12-05T08:32:00  *** nazarewk has joined #bitcoin-dev
188 2017-12-05T08:34:52  *** bule has quit IRC
189 2017-12-05T08:42:26  *** rhavar has joined #bitcoin-dev
190 2017-12-05T08:44:51  *** one_zero has quit IRC
191 2017-12-05T08:45:11  *** sdfgsdfg has joined #bitcoin-dev
192 2017-12-05T08:56:37  *** Hamm has quit IRC
193 2017-12-05T08:57:08  *** Hamm has joined #bitcoin-dev
194 2017-12-05T09:02:10  *** Hamm has quit IRC
195 2017-12-05T09:04:09  *** POJO has quit IRC
196 2017-12-05T09:20:38  *** zshlyk has joined #bitcoin-dev
197 2017-12-05T09:23:56  *** intcat has quit IRC
198 2017-12-05T09:27:08  *** zshlyk has quit IRC
199 2017-12-05T09:31:00  *** czaanja_ has joined #bitcoin-dev
200 2017-12-05T09:32:06  *** zshlyk has joined #bitcoin-dev
201 2017-12-05T09:36:45  *** Hamm has joined #bitcoin-dev
202 2017-12-05T09:53:45  *** zshlyk has quit IRC
203 2017-12-05T09:54:00  *** caston has joined #bitcoin-dev
204 2017-12-05T09:54:13  *** RazielXYZ has joined #bitcoin-dev
205 2017-12-05T09:54:36  *** zshlyk has joined #bitcoin-dev
206 2017-12-05T09:55:57  *** RazielZ has quit IRC
207 2017-12-05T09:57:33  *** Victorsueca has quit IRC
208 2017-12-05T09:58:44  *** Victorsueca has joined #bitcoin-dev
209 2017-12-05T10:01:05  *** Hamm has quit IRC
210 2017-12-05T10:03:42  *** zshlyk has quit IRC
211 2017-12-05T10:05:08  *** zshlyk has joined #bitcoin-dev
212 2017-12-05T10:06:10  *** meshcollider has joined #bitcoin-dev
213 2017-12-05T10:07:45  *** zshlyk has quit IRC
214 2017-12-05T10:08:37  *** zshlyk has joined #bitcoin-dev
215 2017-12-05T10:08:43  *** MrBar has joined #bitcoin-dev
216 2017-12-05T10:09:24  <MrBar> why best hash always exists? it mathematically proven?
217 2017-12-05T10:09:43  <MrBar> what if at some point it just not exist?
218 2017-12-05T10:12:30  *** Hamm has joined #bitcoin-dev
219 2017-12-05T10:28:43  *** belcher has joined #bitcoin-dev
220 2017-12-05T10:41:22  *** Hamm has quit IRC
221 2017-12-05T10:55:29  *** esotericnonsense has quit IRC
222 2017-12-05T10:59:36  *** Hamm has joined #bitcoin-dev
223 2017-12-05T11:04:46  *** zshlyk has quit IRC
224 2017-12-05T11:05:10  *** POJO has joined #bitcoin-dev
225 2017-12-05T11:05:49  *** zshlyk has joined #bitcoin-dev
226 2017-12-05T11:08:00  *** fatalhalt has joined #bitcoin-dev
227 2017-12-05T11:12:46  <Sentineo> MrBar: there is no such thing as best hash
228 2017-12-05T11:13:05  <Sentineo> MrBar: there is a hash that is valid according to consensus
229 2017-12-05T11:13:23  <Sentineo> and there is way to tell which one has more "work" in case you need to compare them
230 2017-12-05T11:13:41  <Sentineo> by more work you simply look at the odds of finding that hash, the smaller the odd the better the hash in comparison
231 2017-12-05T11:14:13  <MrBar> but more zeros more good hash?
232 2017-12-05T11:15:45  <Sentineo> if you compare 2 blocks one has 64 leading zeros in the hash, the other 66 the 64 wins in that comparison
233 2017-12-05T11:16:09  <Sentineo> but that is not the way a fork is handled, the next block will tell and the cumulative work of the whole chain mined upon
234 2017-12-05T11:21:32  <MrBar> someone who find better hash is win?
235 2017-12-05T11:22:19  <Sentineo> lets bring this to #bitcoin, this is more a dev channel
236 2017-12-05T11:23:22  *** Victorsueca has quit IRC
237 2017-12-05T11:23:27  *** Victor_sueca has joined #bitcoin-dev
238 2017-12-05T11:24:33  <AndyS2> the cumulative work is calculated in a way that having many zeroes despite only needing a few does not increase the cumulative work above what was required, right?
239 2017-12-05T11:25:50  <AndyS2> would be kind of bad if someone finds a nearly all zero hash and that'd be considered the longest chain now despite another chain being 2-3 blocks longer
240 2017-12-05T11:30:41  <MrBar> there maybe some time to block ack
241 2017-12-05T11:31:19  <MrBar> consensus time window?
242 2017-12-05T11:32:19  <MrBar> at #bitcoin only stupid miners
243 2017-12-05T11:32:57  *** zshlyk has quit IRC
244 2017-12-05T11:33:33  *** zshlyk has joined #bitcoin-dev
245 2017-12-05T11:43:35  <Sentineo> AndyS2: the work in a block is iirc 2^256/Target, and log2 of it. Now it is computed for every block and the node keeps that info so it can do the cumulative part
246 2017-12-05T11:51:25  *** BashCo_ has joined #bitcoin-dev
247 2017-12-05T11:52:33  *** BashCo has quit IRC
248 2017-12-05T11:57:13  *** Victor_sueca is now known as Victorsueca
249 2017-12-05T11:58:12  *** Belxjander has quit IRC
250 2017-12-05T12:00:27  *** Belxjander has joined #bitcoin-dev
251 2017-12-05T12:06:43  *** zshlyk has quit IRC
252 2017-12-05T12:07:31  *** zshlyk has joined #bitcoin-dev
253 2017-12-05T12:15:58  *** meshcollider has quit IRC
254 2017-12-05T12:17:00  *** dabura667 has quit IRC
255 2017-12-05T12:24:22  *** SopaXorzTaker has joined #bitcoin-dev
256 2017-12-05T12:37:54  *** Belxjander has quit IRC
257 2017-12-05T12:40:00  *** Belxjander has joined #bitcoin-dev
258 2017-12-05T12:41:32  *** gevs has quit IRC
259 2017-12-05T12:46:25  *** gevs has joined #bitcoin-dev
260 2017-12-05T12:53:45  *** zshlyk has quit IRC
261 2017-12-05T12:54:36  *** zshlyk has joined #bitcoin-dev
262 2017-12-05T12:57:34  *** JackH has joined #bitcoin-dev
263 2017-12-05T13:05:02  *** zshlyk has quit IRC
264 2017-12-05T13:05:54  *** zshlyk has joined #bitcoin-dev
265 2017-12-05T13:07:17  *** antanst has joined #bitcoin-dev
266 2017-12-05T13:23:45  *** dafuq has quit IRC
267 2017-12-05T13:25:06  *** iv3c has joined #bitcoin-dev
268 2017-12-05T13:31:50  *** zshlyk has quit IRC
269 2017-12-05T13:32:45  *** zshlyk has joined #bitcoin-dev
270 2017-12-05T13:38:04  *** Chris_Stewart_5 has joined #bitcoin-dev
271 2017-12-05T13:55:20  *** caston has quit IRC
272 2017-12-05T13:56:01  *** Hamm has quit IRC
273 2017-12-05T14:05:32  *** sdfgsdfg has quit IRC
274 2017-12-05T14:12:02  *** esotericnonsense has joined #bitcoin-dev
275 2017-12-05T14:12:32  *** Chris_Stewart_5 has quit IRC
276 2017-12-05T14:14:53  *** nazarewk has quit IRC
277 2017-12-05T14:15:44  *** zshlyk has quit IRC
278 2017-12-05T14:16:38  *** zshlyk has joined #bitcoin-dev
279 2017-12-05T14:22:37  *** nazarewk has joined #bitcoin-dev
280 2017-12-05T14:25:14  *** esotericnonsense has quit IRC
281 2017-12-05T14:27:52  *** zshlyk has quit IRC
282 2017-12-05T14:28:44  *** zshlyk has joined #bitcoin-dev
283 2017-12-05T14:40:30  *** Victorsueca has quit IRC
284 2017-12-05T14:41:43  *** Victorsueca has joined #bitcoin-dev
285 2017-12-05T14:41:48  *** ghost43 has quit IRC
286 2017-12-05T14:46:59  *** ghost43 has joined #bitcoin-dev
287 2017-12-05T14:48:29  *** antanst has quit IRC
288 2017-12-05T14:51:41  *** Chris_Stewart_5 has joined #bitcoin-dev
289 2017-12-05T14:54:55  *** antanst has joined #bitcoin-dev
290 2017-12-05T14:57:11  *** Chris_Stewart_5 has quit IRC
291 2017-12-05T14:59:59  *** agricocb has quit IRC
292 2017-12-05T15:00:57  *** Belxjander has quit IRC
293 2017-12-05T15:05:50  *** Belxjander has joined #bitcoin-dev
294 2017-12-05T15:08:25  *** EPiSKiNG- has quit IRC
295 2017-12-05T15:09:22  <AndyS2> Sentineo: thank you :)
296 2017-12-05T15:10:16  *** EPiSKiNG- has joined #bitcoin-dev
297 2017-12-05T15:10:58  *** jtimon has joined #bitcoin-dev
298 2017-12-05T15:13:37  *** nazarewk has quit IRC
299 2017-12-05T15:24:37  *** agricocb has joined #bitcoin-dev
300 2017-12-05T15:26:21  *** agricocb has quit IRC
301 2017-12-05T15:27:18  *** agricocb has joined #bitcoin-dev
302 2017-12-05T15:27:44  *** zshlyk has quit IRC
303 2017-12-05T15:28:59  *** zshlyk has joined #bitcoin-dev
304 2017-12-05T15:30:11  *** ghost43 has quit IRC
305 2017-12-05T15:30:37  *** ghost43 has joined #bitcoin-dev
306 2017-12-05T15:35:36  *** ghost43 has quit IRC
307 2017-12-05T15:35:52  *** ghost43 has joined #bitcoin-dev
308 2017-12-05T15:36:27  *** antanst has quit IRC
309 2017-12-05T15:36:48  *** zshlyk has quit IRC
310 2017-12-05T15:37:33  *** zshlyk has joined #bitcoin-dev
311 2017-12-05T15:40:29  *** realazthat has quit IRC
312 2017-12-05T15:41:16  *** roidster has joined #bitcoin-dev
313 2017-12-05T15:41:23  *** realz has joined #bitcoin-dev
314 2017-12-05T15:42:24  *** dansmith_btc has joined #bitcoin-dev
315 2017-12-05T15:43:28  *** nazarewk has joined #bitcoin-dev
316 2017-12-05T15:44:12  *** dermoth has quit IRC
317 2017-12-05T15:44:32  <dansmith_btc> hi, i thought i saw somewhere there is an bitcoind option which allows to not verify the chain up to a certain block height. This is to speed up the initial download. Am I mistaken? is there any other option to achieve the same goal? I dont want to spend CPU cycles unnecessarily.
318 2017-12-05T15:44:41  *** dermoth has joined #bitcoin-dev
319 2017-12-05T15:49:34  *** tombusby has quit IRC
320 2017-12-05T15:50:15  *** tombusby has joined #bitcoin-dev
321 2017-12-05T15:52:25  *** damons has joined #bitcoin-dev
322 2017-12-05T15:53:57  *** Chris_Stewart_5 has joined #bitcoin-dev
323 2017-12-05T15:55:11  <instagibbs> dansmith_btc, "assumevalid" forgoes any signature checks until that blockhash, but still has to build the utxo set
324 2017-12-05T15:55:30  <instagibbs> fastest possible is just importing blocks/chainstate from another machine, although that's completely trusted solution naturally
325 2017-12-05T15:55:59  *** RazielZ has joined #bitcoin-dev
326 2017-12-05T15:58:57  *** RazielXYZ has quit IRC
327 2017-12-05T16:00:11  *** nazarewk has quit IRC
328 2017-12-05T16:01:58  *** nazarewk has joined #bitcoin-dev
329 2017-12-05T16:02:07  *** POJO has quit IRC
330 2017-12-05T16:13:34  *** POJO has joined #bitcoin-dev
331 2017-12-05T16:13:45  *** zshlyk has quit IRC
332 2017-12-05T16:14:36  *** zshlyk has joined #bitcoin-dev
333 2017-12-05T16:15:21  *** nazarewk has quit IRC
334 2017-12-05T16:17:16  *** nazarewk has joined #bitcoin-dev
335 2017-12-05T16:20:20  *** wraithm has joined #bitcoin-dev
336 2017-12-05T16:33:57  *** tombusby has quit IRC
337 2017-12-05T16:34:18  *** tombusby has joined #bitcoin-dev
338 2017-12-05T16:37:09  *** pavle_ has joined #bitcoin-dev
339 2017-12-05T16:37:56  <MrBar> only two days needed to download and verify blockchain
340 2017-12-05T16:39:13  *** dconroy has joined #bitcoin-dev
341 2017-12-05T16:40:01  *** JackH has quit IRC
342 2017-12-05T16:41:22  *** wxss has joined #bitcoin-dev
343 2017-12-05T16:48:44  *** zshlyk has quit IRC
344 2017-12-05T16:49:30  *** zshlyk has joined #bitcoin-dev
345 2017-12-05T16:52:32  *** pavle_ has quit IRC
346 2017-12-05T16:53:41  *** JackH has joined #bitcoin-dev
347 2017-12-05T16:53:46  *** earlz is now known as WowSuchEarlz
348 2017-12-05T16:55:16  *** nazarewk has quit IRC
349 2017-12-05T16:57:47  *** POJO has quit IRC
350 2017-12-05T17:02:09  *** POJO has joined #bitcoin-dev
351 2017-12-05T17:07:20  *** Mottengrotte_ has quit IRC
352 2017-12-05T17:11:08  *** zshlyk has quit IRC
353 2017-12-05T17:12:00  *** zshlyk has joined #bitcoin-dev
354 2017-12-05T17:12:40  <gevs> arubi, :( i changed input... and the newer input i use also specifies a new hash :( "665ea557807d7114aeee2f049d2a54b79e59a9e4", its not the 666 anymore, does it mean i have to reproduce that one instead of the 666 hash? because the 666 was maybe linked to that other input?
355 2017-12-05T17:12:59  *** bugs_ has joined #bitcoin-dev
356 2017-12-05T17:13:13  <gevs> because now i get error: RuntimeException : Redeem script fails to solve pay-to-script-hash      - which comes from the bitcoin php wrapper and seems to be clear about im failing to provide the right solution
357 2017-12-05T17:13:56  <gevs> so, since now i am referring to input "VOut 1" in: https://api.smartbit.com.au/v1/blockchain/tx/517a0ad4bf4cc423ce578f043a13e98d405902c08b1bfcac92b199ba3fd2cc39
358 2017-12-05T17:14:28  <gevs> im thinking now i need the 665 hash, please im so near to getting it all wrapped haha :) thanks for your great help up to here already :v
359 2017-12-05T17:18:18  <gevs> this redeem script error happens when i try to sign the transaction now
360 2017-12-05T17:20:13  *** tombusby has quit IRC
361 2017-12-05T17:21:20  <gevs> hold on i was passing the sign() method the outputscript of the P2sh. my bad.
362 2017-12-05T17:22:14  *** one_zero has joined #bitcoin-dev
363 2017-12-05T17:26:51  *** tombusby has joined #bitcoin-dev
364 2017-12-05T17:27:22  <arubi> doesn't seem like there's a tether op_return in that transaction gevs ?
365 2017-12-05T17:28:13  *** dviola has joined #bitcoin-dev
366 2017-12-05T17:28:47  <arubi> I mean sure, you need to redeem a script with the hash160 of 665EA557807D7114AEEE2F049D2A54B79E59A9E4 now, but that's just a normal transaction since the tether aren't in the input at all right?
367 2017-12-05T17:32:14  *** zshlyk has quit IRC
368 2017-12-05T17:33:03  *** zshlyk has joined #bitcoin-dev
369 2017-12-05T17:36:39  <gevs> yes
370 2017-12-05T17:36:45  <gevs> the tether is *not* in there
371 2017-12-05T17:36:56  <gevs> but thats what some other guy explained on the forum - doesnt need to be in the inputs
372 2017-12-05T17:37:07  <gevs> because Omni doesnt work with inputs/outputs - its a state machine instead
373 2017-12-05T17:37:23  <gevs> destination is:   the last output in the transaction which is not the sender
374 2017-12-05T17:37:28  <gevs> oh
375 2017-12-05T17:37:46  <gevs> >>>> sender is:   the first input in the transaction
376 2017-12-05T17:37:56  <gevs> now the first input doesnt contain the tether - is that what you mean ?
377 2017-12-05T17:38:02  <arubi> yep
378 2017-12-05T17:38:31  <arubi> well, the input you're redeeming doesn't have a transaction with a tether output sent to it
379 2017-12-05T17:38:42  <arubi> so not sure how omni tracks it
380 2017-12-05T17:39:23  <gevs> ha you must be right though
381 2017-12-05T17:40:00  <gevs> because that other guy from the forum was using another input, which has the address who owns tether
382 2017-12-05T17:40:32  <gevs> adding the input with the tether back would solve this no?
383 2017-12-05T17:40:37  <gevs> because i got signing right, i think it wouldnt hurt
384 2017-12-05T17:41:15  *** jb55 has joined #bitcoin-dev
385 2017-12-05T17:42:32  *** Murch has joined #bitcoin-dev
386 2017-12-05T17:42:48  *** BGL has quit IRC
387 2017-12-05T17:43:27  *** twistedline has quit IRC
388 2017-12-05T17:46:46  *** ongolaBoy has quit IRC
389 2017-12-05T17:47:04  *** twistedline has joined #bitcoin-dev
390 2017-12-05T17:47:53  <arubi> what was the path that you used for the keys eventually?
391 2017-12-05T17:54:08  *** dconroy has quit IRC
392 2017-12-05T17:58:31  *** WowSuchEarlz is now known as eWowSuchEarlz
393 2017-12-05T17:58:49  *** eWowSuchEarlz is now known as WowSuchEarlz
394 2017-12-05T18:04:55  *** dconroy has joined #bitcoin-dev
395 2017-12-05T18:05:12  *** ghost43 has quit IRC
396 2017-12-05T18:05:26  *** ghost43 has joined #bitcoin-dev
397 2017-12-05T18:06:38  *** DTZUZO has joined #bitcoin-dev
398 2017-12-05T18:09:58  *** dconroy has quit IRC
399 2017-12-05T18:10:12  *** zshlyk has quit IRC
400 2017-12-05T18:10:59  *** zshlyk has joined #bitcoin-dev
401 2017-12-05T18:15:32  *** Victorsueca has quit IRC
402 2017-12-05T18:16:44  *** Victorsueca has joined #bitcoin-dev
403 2017-12-05T18:24:32  *** Belxjander has quit IRC
404 2017-12-05T18:24:45  *** zshlyk has quit IRC
405 2017-12-05T18:25:33  *** zshlyk has joined #bitcoin-dev
406 2017-12-05T18:25:55  *** Belxjander has joined #bitcoin-dev
407 2017-12-05T18:31:47  *** IngCr3at1on has quit IRC
408 2017-12-05T18:37:14  *** realzies has joined #bitcoin-dev
409 2017-12-05T18:38:37  *** SopaXorzTaker has quit IRC
410 2017-12-05T18:39:56  *** realz has quit IRC
411 2017-12-05T18:53:32  *** devbaka has joined #bitcoin-dev
412 2017-12-05T18:54:11  *** BGL has joined #bitcoin-dev
413 2017-12-05T18:58:13  *** womantis has quit IRC
414 2017-12-05T19:07:45  *** zshlyk has quit IRC
415 2017-12-05T19:08:48  *** yoctopede has joined #bitcoin-dev
416 2017-12-05T19:10:08  *** DTZUZO has quit IRC
417 2017-12-05T19:15:11  *** roidster has quit IRC
418 2017-12-05T19:22:01  *** tombusby_ has joined #bitcoin-dev
419 2017-12-05T19:22:43  *** DTZUZO has joined #bitcoin-dev
420 2017-12-05T19:24:29  *** tombusby has quit IRC
421 2017-12-05T19:25:47  *** yoctopede has quit IRC
422 2017-12-05T19:26:33  *** yoctopede has joined #bitcoin-dev
423 2017-12-05T19:29:06  *** Dizzle has joined #bitcoin-dev
424 2017-12-05T19:32:08  <gevs> arubi, m/44'/0'/0'/0/2
425 2017-12-05T19:32:49  <gevs> sorry for the delay, i need a little sport in between hexadecimal numbers lol
426 2017-12-05T19:32:56  <arubi> no worries at all
427 2017-12-05T19:32:57  <gevs> *needed
428 2017-12-05T19:33:02  <arubi> so that was the root for the rest of the signers?
429 2017-12-05T19:33:05  <arubi> or just one of them?
430 2017-12-05T19:33:36  <gevs> no, for each cosigner i have to derive the bip39 seed with m/44'/0'/0'/0/2 to have the right keys
431 2017-12-05T19:33:40  <gevs> makes sense?
432 2017-12-05T19:33:51  <arubi> ah, so three different seeds
433 2017-12-05T19:33:59  <gevs> yes 3 different mnemonics i input
434 2017-12-05T19:34:06  <arubi> cool, gtk
435 2017-12-05T19:34:59  <gevs> the forum post says: mandatory-script-verify-flag-failed    comes from missing signatures though and i have also seen that this error is replace by "64: scriptpubkey" whenever i add a OP_EQUAL to the OP_RETURN output..
436 2017-12-05T19:35:10  <gevs> that thing with the OP_EQUAL might be a false guess of mine though
437 2017-12-05T19:35:18  <arubi> that's wrong
438 2017-12-05T19:36:19  <arubi> "64: scriptpubkey" -- probably entered it wrong, maybe invalid character, odd length
439 2017-12-05T19:36:53  <arubi> gevs, forget about the op return stuff for now
440 2017-12-05T19:36:53  <gevs> oh ok yeah then thats just because adding the OP_EQUAL, it fails validation of that output
441 2017-12-05T19:36:56  *** blackwind_123 has joined #bitcoin-dev
442 2017-12-05T19:37:00  <gevs> exactly yep forgetting
443 2017-12-05T19:37:06  <arubi> it makes 0 difference for the validity of your signature
444 2017-12-05T19:37:44  <arubi> not sure why you're trying to shove the hash160 of the same redeemscript that you're spending with back into the op return, isn't that like sending to yourself?
445 2017-12-05T19:38:57  <arubi> which software validates your transaction that's returning these errors?
446 2017-12-05T19:38:57  *** iv3c has quit IRC
447 2017-12-05T19:39:00  <arubi> is it bitcoin core?
448 2017-12-05T19:39:19  *** iv3c has joined #bitcoin-dev
449 2017-12-05T19:39:25  <gevs> those errors actually happen on broadcast
450 2017-12-05T19:39:26  <gevs> https://www.smartbit.com.au/api
451 2017-12-05T19:39:31  <gevs> using the PUSHTX from that url ^
452 2017-12-05T19:39:47  <gevs> i integrated it in my script so that it automatically tries to broadcast when i tell it to
453 2017-12-05T19:40:23  <gevs> so they probably are relayed through a bitcoin core yes - but im a little unsure - i found smartbit API just because it has lots of APIs integrated.
454 2017-12-05T19:41:16  <gevs> > not sure why you're trying to shove the hash160 of the same redeemscript that you're spending with back into the op return, isn't that like sending to yourself?
455 2017-12-05T19:41:32  <gevs> not trying to do that - the redeemscript is meant only to sign the inputs if i am not mistaken
456 2017-12-05T19:42:40  <gevs> why do you think im doing this? maybe i missed some part :$
457 2017-12-05T19:42:49  <arubi> what's currently the transaction that you're trying to spend?
458 2017-12-05T19:42:54  <arubi> use pastebin pls :)
459 2017-12-05T19:44:19  <arubi> I'm wondering because you said "whenever i add a OP_EQUAL to the OP_RETURN output."
460 2017-12-05T19:44:41  <arubi> to me that makes absolutely no sense :)
461 2017-12-05T19:45:00  <achow101> why are you adding an OP_EQUAL to an OP_RETURN script?
462 2017-12-05T19:45:10  <achow101> such a script will be a non standard output script and be rejected
463 2017-12-05T19:45:11  <arubi> that's not what's happening.  I'm almost positive
464 2017-12-05T19:45:51  <gevs> you mean the payload ?
465 2017-12-05T19:46:17  <arubi> well, just the op return stuff will at least assure us that you're not trying crazy stuff :)
466 2017-12-05T19:46:27  <achow101> gevs: what output are you spending and what does the spending transaction look like?
467 2017-12-05T19:46:51  <gevs> oh wait
468 2017-12-05T19:46:54  <arubi> it's tether achow101, the log is long
469 2017-12-05T19:46:59  <gevs> adding op_equal to op_return was just a debug test xD
470 2017-12-05T19:47:04  <arubi> pfft
471 2017-12-05T19:47:14  <gevs> sending you guys a pastebin with the payload
472 2017-12-05T19:47:36  <arubi> whatever you pass to the "here sign this" function is the best
473 2017-12-05T19:47:38  <achow101> arubi: oh, I didn't see the scrollback went back super far
474 2017-12-05T19:48:16  <arubi> yea I'm pretty curious about how this plays out.  never interacted with tether
475 2017-12-05T19:48:32  <arubi> or copay, or that other .io that was mentioned :)
476 2017-12-05T19:48:38  <gevs> https://pastebin.com/KdE55H2i
477 2017-12-05T19:48:43  <gevs> so there is a payload in there
478 2017-12-05T19:48:51  <gevs> and the decoded version of it in JSON just underneath :)
479 2017-12-05T19:50:38  <arubi> lol
480 2017-12-05T19:50:53  <gevs> so now im trying to spend input  517a0...  but it doesnt contain the address with tether
481 2017-12-05T19:50:53  <arubi> you're the same "wrong" again :)
482 2017-12-05T19:50:57  <gevs> so i will add back the tether
483 2017-12-05T19:51:01  <arubi> using the wrong redeemscript
484 2017-12-05T19:51:05  <gevs> yes sorry didnt add the tether thingy input yet
485 2017-12-05T19:51:06  <gevs> oh
486 2017-12-05T19:51:25  <gevs> ah yes, you mean the one that doesnt specify having tether? or someting else?
487 2017-12-05T19:52:18  <arubi> you've set your tx to redeem an input sent to 3B2JEDkAB9nSnvAj7ehPRCY1s13APLKnnd, which has hash160 665EA557807D7114AEEE2F049D2A54B79E59A9E4, with the redeemscript for 3B2d4gAe51A6yEPG9qAxRfKxdVA1Zfpq9R which hash hash160 666E5E7041CD7A9DF7075D2F3FC79B6D53DF7963
488 2017-12-05T19:52:28  <gevs> ok
489 2017-12-05T19:52:32  <gevs> yes :) thats what i understood
490 2017-12-05T19:52:33  <arubi> 3B2d4gAe51A6yEPG9qAxRfKxdVA1Zfpq9R has thwe the tether, 3B2JEDkAB9nSnvAj7ehPRCY1s13APLKnnd, does not
491 2017-12-05T19:52:35  <gevs> cool im following now :D
492 2017-12-05T19:53:15  <arubi> what's in the op_return data?
493 2017-12-05T19:53:47  <arubi> tether you want to send to 1Ajqkh2foqMGLRAe9YkS7mwMgsAEiAx3aM ?
494 2017-12-05T19:54:33  <gevs> yes exactly
495 2017-12-05T19:54:57  <gevs> and the other output with 25000 is to make sure i control the fee (and have the rest sent to that address)
496 2017-12-05T19:55:12  <arubi> alright, can you add an input to your transaction?  specifically it's 9141346500a45fb588e2ee2908583d9d2b0484b1941dcb0e50fbf9bf1e4e5b51:1 , and it should be before the one that's already there
497 2017-12-05T19:55:25  *** iv3c has quit IRC
498 2017-12-05T19:55:31  <arubi> also, you need to move the redeemscript from the input it is at now to this one that you're adding
499 2017-12-05T19:55:38  <gevs> adding it
500 2017-12-05T19:55:44  <gevs> ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
501 2017-12-05T19:55:45  *** iv3c has joined #bitcoin-dev
502 2017-12-05T19:55:48  <gevs> THATS WHAT I DIDNT GET
503 2017-12-05T19:55:50  <gevs> gimme 2 min
504 2017-12-05T19:55:57  <arubi> gl :)
505 2017-12-05T19:56:57  <gevs>  $transaction->spendOutpoint($secondInput, $outputScript);
506 2017-12-05T19:57:07  <gevs> secondInput being the NOT TETHER input
507 2017-12-05T19:57:20  <gevs> what outputscript should i use there then since it seems it shouldnt be the same?
508 2017-12-05T19:58:03  <gevs> never mind wait im leaving it blank for the first.
509 2017-12-05T19:59:27  *** Victorsueca has quit IRC
510 2017-12-05T20:00:25  <arubi> also gevs, don't use 4294967295 as the sequence number.  use 4294967293
511 2017-12-05T20:00:39  *** Victorsueca has joined #bitcoin-dev
512 2017-12-05T20:02:56  <arubi> the amounts in the outputs are also wrong.  you're losing a bunch of change.  is 143f5QPkc5mJurEr2kGPPoecJqkhvaQ2u2 your address ?
513 2017-12-05T20:09:48  *** iv3ct has joined #bitcoin-dev
514 2017-12-05T20:09:55  *** yoctopede has quit IRC
515 2017-12-05T20:10:39  *** yoctopede has joined #bitcoin-dev
516 2017-12-05T20:13:01  <gevs> yes
517 2017-12-05T20:13:12  <gevs> well "my"... bittrex btc wallet
518 2017-12-05T20:13:19  <gevs> and the other bittrex tether wallet
519 2017-12-05T20:13:21  *** iv3c has quit IRC
520 2017-12-05T20:13:23  *** yoctopede has quit IRC
521 2017-12-05T20:13:36  <gevs> out of disk storage on my laptop :'(( i cant use the omniwallet because i dont have enough space ..
522 2017-12-05T20:13:52  <gevs> <arubi> also gevs, don't use 4294967295 as the sequence number.  use 4294967293
523 2017-12-05T20:14:00  *** yoctopede has joined #bitcoin-dev
524 2017-12-05T20:14:07  <gevs> i dont do this- must be the lib itself, where should i look in the inputs somewhere?
525 2017-12-05T20:14:39  <arubi> don't bother if it's not exposed to you.  it's just setting RBF, not a requirement
526 2017-12-05T20:15:27  <arubi> you'll have to send change from the second input to somewhere.  currently it all goes to fees which is bad
527 2017-12-05T20:15:51  <gevs> first input has 2700 Sat and second input 134382 Sat
528 2017-12-05T20:16:00  <gevs> i spend 27500 Sat
529 2017-12-05T20:16:18  <gevs> hui thats a happy miner isnt it
530 2017-12-05T20:16:48  <gevs> (this is not the *real* scenario, thats why i have been careless about those amounts. looking into those more precisely too)
531 2017-12-05T20:17:15  <gevs> no matter how bad that sounds - it was actually wanted xD
532 2017-12-05T20:17:32  <gevs> copay tells me "high fees needed" ... so i thought high fees needed. :)
533 2017-12-05T20:17:45  <arubi> hehe ok :)  weird
534 2017-12-05T20:18:16  <arubi> I mean, that copay message
535 2017-12-05T20:18:22  <gevs> ok back to it - im going to add the input correctly and give you a new payload when im done
536 2017-12-05T20:18:28  <arubi> cool
537 2017-12-05T20:18:32  <gevs> oh yeah the copay message is probably because they detect something weird
538 2017-12-05T20:18:58  *** JackH has quit IRC
539 2017-12-05T20:19:33  <gevs> one thing arubi, the 2 inputs i will be producing will be different OP_HASH160 xxx values each right ?
540 2017-12-05T20:19:54  <gevs> because earlier when i simply added the input with my --input2="" argument (which i coded..) - it created a new input, with this exact same 666 hash.
541 2017-12-05T20:20:07  <gevs> but if i got you right, i must produce one input with 666 and one with 665
542 2017-12-05T20:20:27  <arubi> the input at 9141346500a45fb588e2ee2908583d9d2b0484b1941dcb0e50fbf9bf1e4e5b51:1 needs the 666.., the one currently encoded needs the 665..
543 2017-12-05T20:20:29  <gevs> respectively first input 666 - second input 665
544 2017-12-05T20:20:34  <arubi> yep :)
545 2017-12-05T20:21:11  <gevs> yep, bad i havent seen that 665 reproduced since im working on it :P might be a key i havent discovered yet haha probably something like 0/3 or so because it the next address, ill come back amazing answers thank you lots :)
546 2017-12-05T20:21:42  <arubi> oh, that's probably it
547 2017-12-05T20:21:55  *** JackH has joined #bitcoin-dev
548 2017-12-05T20:22:54  <gevs> yeah but go tell that my script xD
549 2017-12-05T20:22:57  <gevs> didnt foresee this one
550 2017-12-05T20:22:57  *** jb55 has quit IRC
551 2017-12-05T20:23:19  <gevs> haha now my setupKeys() is all for the dump :P no im exagerating, but yes i think this might be it i will check it out :)
552 2017-12-05T20:23:39  <gevs> makes perfect sense now
553 2017-12-05T20:26:45  <arubi> you know bitcoin core can pretty much beat any tool at raw transaction stuff?  you can use the bitcoin-tx utility to easily set up everything.  just feed it the private keys you can already derive
554 2017-12-05T20:27:04  <arubi> or, if you can feed a raw transaction to copay, you don't even need the keys.  just set it all up from there
555 2017-12-05T20:27:10  <waxwing> arubi, any tool except `bc`
556 2017-12-05T20:27:18  *** agricocb has quit IRC
557 2017-12-05T20:27:31  <arubi> man my scripts would've been done with this by now :)
558 2017-12-05T20:27:47  *** chainey has joined #bitcoin-dev
559 2017-12-05T20:31:26  <gevs> haha yeah, been learning so much at once that i found its best to keep the most in such command line i wrote myself
560 2017-12-05T20:31:36  <gevs> because at least i have some understanding of all this :)
561 2017-12-05T20:31:56  <gevs> i also waited about a good week before i posted a payload on the net :P trying to determine whether someone would hack my trransaction
562 2017-12-05T20:31:57  <gevs> haha
563 2017-12-05T20:32:08  <gevs> gotta feel respectful for all this knowledge :)
564 2017-12-05T20:35:54  <arubi> fwiw the txids are published on multiple boards by now (btctalk, se), now a publicly logged channel.  our debugging will live on forever :)
565 2017-12-05T20:37:54  *** POJO has quit IRC
566 2017-12-05T20:43:01  *** MrBar has quit IRC
567 2017-12-05T20:46:02  *** agricocb has joined #bitcoin-dev
568 2017-12-05T20:53:42  *** DTZUZO has quit IRC
569 2017-12-05T21:00:29  *** POJO has joined #bitcoin-dev
570 2017-12-05T21:02:49  *** yoctopede has quit IRC
571 2017-12-05T21:03:33  *** DTZUZO has joined #bitcoin-dev
572 2017-12-05T21:03:39  *** yoctopede has joined #bitcoin-dev
573 2017-12-05T21:26:44  *** yoctopede has quit IRC
574 2017-12-05T21:27:35  *** yoctopede has joined #bitcoin-dev
575 2017-12-05T21:29:10  *** dermoth has quit IRC
576 2017-12-05T21:32:46  *** jb55 has joined #bitcoin-dev
577 2017-12-05T21:33:20  *** wraithm has quit IRC
578 2017-12-05T21:33:47  *** Murch has quit IRC
579 2017-12-05T21:39:31  *** realzies has quit IRC
580 2017-12-05T21:39:58  *** realzies has joined #bitcoin-dev
581 2017-12-05T21:54:55  *** dqx has joined #bitcoin-dev
582 2017-12-05T21:56:35  *** Chris_Stewart_5 has quit IRC
583 2017-12-05T22:03:49  <gevs> arubi,
584 2017-12-05T22:04:10  <arubi> ya
585 2017-12-05T22:04:19  <gevs> is it possible for you to do your magic trick to find out which pub keys are needed for the 665 hash? i didnt quite get how you found out the right thing to pass to your magic command line pipes :P
586 2017-12-05T22:04:34  <gevs> i have extended my code a little to allow multiple signing derivation paths
587 2017-12-05T22:04:46  <gevs> would like to see if im on the right way with the 0/3 thought now :)
588 2017-12-05T22:05:03  <gevs> echo -n 522102109c754588a5e6de512a68b0e82fa8ed6520f5fd57f6b41315e3d3c2b8f92ac2210318e0167d697e9366f17c2e83ac21c7e66ecc9427884d083887c8d3b6aa3857d8210350bc7cb1f4632c42ad092b1b825beea81ad4a663fa1c365c95d09ff44a11f30353ae | xxd -r -p | sha256sum -b | xxd -r -p | openssl rmd160 -r
589 2017-12-05T22:05:05  <gevs> this magic trick
590 2017-12-05T22:05:12  <gevs> but for 665 if its somehow possible :?
591 2017-12-05T22:05:39  <arubi> I just got the redeemscript from the input at https://www.smartbit.com.au/tx/517a0ad4bf4cc423ce578f043a13e98d405902c08b1bfcac92b199ba3fd2cc39
592 2017-12-05T22:06:16  <arubi> you used one of the two inputs that were sent to 3B2d4gAe51A6yEPG9qAxRfKxdVA1Zfpq9R.  you can see that hex in the input
593 2017-12-05T22:06:50  <arubi> you did that spend using the copay wallet.  I just did `bitcoin-cli decodescript 522102109c754588a5e6de512a68b0e82fa8ed6520f5fd57f6b41315e3d3c2b8f92ac2210318e0167d697e9366f17c2e83ac21c7e66ecc9427884d083887c8d3b6aa3857d8210350bc7cb1f4632c42ad092b1b825beea81ad4a663fa1c365c95d09ff44a11f30353ae`
594 2017-12-05T22:07:08  *** Murch has joined #bitcoin-dev
595 2017-12-05T22:07:33  *** Victorsueca has quit IRC
596 2017-12-05T22:07:55  <arubi> if you were running bitcoin core, you could do `bitcoin-cli decodescript <that hex>` and see the pubkeys in prettyprint :)
597 2017-12-05T22:08:39  *** Murch has quit IRC
598 2017-12-05T22:08:45  *** Victorsueca has joined #bitcoin-dev
599 2017-12-05T22:10:25  <arubi> they're right there encoded in hex.  522102109c754588a5e6de512a68b0e82fa8ed6520f5fd57f6b41315e3d3c2b8f92ac2210318e0167d697e9366f17c2e83ac21c7e66ecc9427884d083887c8d3b6aa3857d8210350bc7cb1f4632c42ad092b1b825beea81ad4a663fa1c365c95d09ff44a11f30353ae`
600 2017-12-05T22:11:09  <gevs> ah ok :) great
601 2017-12-05T22:12:12  <gevs> yeah
602 2017-12-05T22:12:53  <gevs> so looking at that: https://api.smartbit.com.au/v1/blockchain/tx/9141346500a45fb588e2ee2908583d9d2b0484b1941dcb0e50fbf9bf1e4e5b51
603 2017-12-05T22:13:05  <gevs> input n 1
604 2017-12-05T22:13:15  *** Mottengrotte_ has joined #bitcoin-dev
605 2017-12-05T22:13:30  <gevs> and my second input is: https://api.smartbit.com.au/v1/blockchain/tx/517a0ad4bf4cc423ce578f043a13e98d405902c08b1bfcac92b199ba3fd2cc39
606 2017-12-05T22:13:39  *** Murch has joined #bitcoin-dev
607 2017-12-05T22:14:46  *** yoctopede has quit IRC
608 2017-12-05T22:15:22  *** Murch has quit IRC
609 2017-12-05T22:16:34  *** czaanja_ has quit IRC
610 2017-12-05T22:16:52  *** yoctopede has joined #bitcoin-dev
611 2017-12-05T22:16:53  *** Murch has joined #bitcoin-dev
612 2017-12-05T22:17:51  *** rhavar has quit IRC
613 2017-12-05T22:18:50  *** damons has quit IRC
614 2017-12-05T22:20:16  <gevs> yep so that input from 517 is the one with the 665 hash
615 2017-12-05T22:20:21  <gevs> n 1
616 2017-12-05T22:20:59  <gevs> is the output 1 maybe another part of that asm?
617 2017-12-05T22:21:38  <gevs> ah wait :) we got this redeemscript because i created this transaction
618 2017-12-05T22:31:08  *** arubi has quit IRC
619 2017-12-05T22:31:41  *** Belxjander has quit IRC
620 2017-12-05T22:33:01  *** POJO has quit IRC
621 2017-12-05T22:35:51  *** belcher_ has joined #bitcoin-dev
622 2017-12-05T22:35:53  *** arubi has joined #bitcoin-dev
623 2017-12-05T22:36:23  *** belcher_ has quit IRC
624 2017-12-05T22:37:31  *** realzies has quit IRC
625 2017-12-05T22:37:49  *** Belxjander has joined #bitcoin-dev
626 2017-12-05T22:37:56  *** realzies has joined #bitcoin-dev
627 2017-12-05T22:39:20  *** belcher has quit IRC
628 2017-12-05T22:55:40  *** arubi has quit IRC
629 2017-12-05T22:56:26  *** arubi has joined #bitcoin-dev
630 2017-12-05T22:57:06  *** dqx has quit IRC
631 2017-12-05T23:01:45  *** Cogito_Ergo_Sum has quit IRC
632 2017-12-05T23:07:30  *** meshcollider has joined #bitcoin-dev
633 2017-12-05T23:07:55  *** yoctopede has quit IRC
634 2017-12-05T23:08:44  *** yoctopede has joined #bitcoin-dev
635 2017-12-05T23:16:47  *** yoctopede has quit IRC
636 2017-12-05T23:17:37  *** yoctopede has joined #bitcoin-dev
637 2017-12-05T23:23:04  *** bugs_ has quit IRC
638 2017-12-05T23:25:11  *** ghost43 has quit IRC
639 2017-12-05T23:25:46  *** ghost43 has joined #bitcoin-dev
640 2017-12-05T23:28:15  <eck> when calculating the new difficulty, is the new difficulty calculated on the last block of the previous period, or the first block in the new period?
641 2017-12-05T23:36:27  *** Giszmo has quit IRC
642 2017-12-05T23:37:50  *** jb55 has quit IRC
643 2017-12-05T23:44:08  *** damons has joined #bitcoin-dev
644 2017-12-05T23:51:12  *** Giszmo has joined #bitcoin-dev
645 2017-12-05T23:56:21  *** jb55 has joined #bitcoin-dev