1 2017-12-22T00:02:23 *** djoot has quit IRC
2 2017-12-22T00:14:35 *** intcat has quit IRC
3 2017-12-22T00:16:09 *** intcat has joined #bitcoin-dev
4 2017-12-22T00:17:08 *** robinak has quit IRC
5 2017-12-22T00:17:27 *** robink has joined #bitcoin-dev
6 2017-12-22T00:27:25 *** Randolf has joined #bitcoin-dev
7 2017-12-22T00:31:42 *** intcat has quit IRC
8 2017-12-22T00:32:56 *** intcat has joined #bitcoin-dev
9 2017-12-22T00:33:06 *** robink has quit IRC
10 2017-12-22T00:33:38 *** robinak has joined #bitcoin-dev
11 2017-12-22T00:41:39 *** cornben has joined #bitcoin-dev
12 2017-12-22T00:42:37 *** POJO has quit IRC
13 2017-12-22T00:43:14 *** jb55 has joined #bitcoin-dev
14 2017-12-22T00:45:50 *** robinak has quit IRC
15 2017-12-22T00:47:55 *** robinak has joined #bitcoin-dev
16 2017-12-22T00:54:38 *** jb55 has quit IRC
17 2017-12-22T00:57:04 *** blyat_ has joined #bitcoin-dev
18 2017-12-22T01:00:17 *** blyat__ has quit IRC
19 2017-12-22T01:02:45 *** dabura667 has joined #bitcoin-dev
20 2017-12-22T01:13:45 *** Chris_Stewart_5 has joined #bitcoin-dev
21 2017-12-22T01:15:43 *** intcat has quit IRC
22 2017-12-22T01:16:52 *** intcat has joined #bitcoin-dev
23 2017-12-22T01:19:05 *** blackwraith has quit IRC
24 2017-12-22T01:27:39 *** intcat has quit IRC
25 2017-12-22T01:29:02 *** intcat has joined #bitcoin-dev
26 2017-12-22T01:45:19 *** Victor_sueca has quit IRC
27 2017-12-22T01:46:32 *** Victor_sueca has joined #bitcoin-dev
28 2017-12-22T01:48:27 *** Kozuch has quit IRC
29 2017-12-22T01:48:38 *** agricocb has joined #bitcoin-dev
30 2017-12-22T01:49:25 *** Murch has quit IRC
31 2017-12-22T01:50:24 *** agricocb has quit IRC
32 2017-12-22T02:00:52 *** belcher has quit IRC
33 2017-12-22T02:02:34 *** priidu has joined #bitcoin-dev
34 2017-12-22T02:04:17 *** Giszmo has quit IRC
35 2017-12-22T02:07:54 *** blackwraith has joined #bitcoin-dev
36 2017-12-22T02:09:26 *** Chris_Stewart_5 has quit IRC
37 2017-12-22T02:10:09 *** priidu has quit IRC
38 2017-12-22T02:15:53 *** Giszmo has joined #bitcoin-dev
39 2017-12-22T02:22:08 *** blackwraith has quit IRC
40 2017-12-22T02:24:38 *** intcat has quit IRC
41 2017-12-22T02:26:25 *** intcat has joined #bitcoin-dev
42 2017-12-22T02:31:04 *** dviola has quit IRC
43 2017-12-22T02:38:24 *** cornben1 has joined #bitcoin-dev
44 2017-12-22T02:38:25 *** cornben1 has quit IRC
45 2017-12-22T02:40:35 *** intcat has quit IRC
46 2017-12-22T02:41:37 *** cornben has quit IRC
47 2017-12-22T02:41:44 *** intcat has joined #bitcoin-dev
48 2017-12-22T02:50:24 *** cornben has joined #bitcoin-dev
49 2017-12-22T02:58:38 *** cornben1 has joined #bitcoin-dev
50 2017-12-22T02:58:40 *** cornben1 has quit IRC
51 2017-12-22T03:00:35 *** Randolf has quit IRC
52 2017-12-22T03:01:05 *** cornben has quit IRC
53 2017-12-22T03:02:08 *** blyat__ has joined #bitcoin-dev
54 2017-12-22T03:04:42 *** intcat has quit IRC
55 2017-12-22T03:05:03 *** blyat_ has quit IRC
56 2017-12-22T03:05:53 *** intcat has joined #bitcoin-dev
57 2017-12-22T03:08:41 *** intcat has quit IRC
58 2017-12-22T03:09:51 *** intcat has joined #bitcoin-dev
59 2017-12-22T03:10:31 *** intcat has quit IRC
60 2017-12-22T03:10:42 *** cornben has joined #bitcoin-dev
61 2017-12-22T03:10:43 *** cornben has quit IRC
62 2017-12-22T03:11:37 *** intcat has joined #bitcoin-dev
63 2017-12-22T03:18:42 *** cornben has joined #bitcoin-dev
64 2017-12-22T03:18:43 *** cornben has quit IRC
65 2017-12-22T03:26:46 *** cornben has joined #bitcoin-dev
66 2017-12-22T03:26:48 *** cornben has quit IRC
67 2017-12-22T03:27:17 *** cornben has joined #bitcoin-dev
68 2017-12-22T03:27:19 *** cornben has quit IRC
69 2017-12-22T03:33:45 *** subo has joined #bitcoin-dev
70 2017-12-22T03:37:57 *** subo_ has quit IRC
71 2017-12-22T03:39:15 *** cornben has joined #bitcoin-dev
72 2017-12-22T03:45:06 *** Randolf has joined #bitcoin-dev
73 2017-12-22T03:53:40 *** Chris_Stewart_5 has joined #bitcoin-dev
74 2017-12-22T04:18:08 *** Chris_Stewart_5 has quit IRC
75 2017-12-22T04:19:12 *** intcat has quit IRC
76 2017-12-22T04:19:19 *** syde has quit IRC
77 2017-12-22T04:19:34 *** Syde has joined #bitcoin-dev
78 2017-12-22T04:20:00 *** intcat has joined #bitcoin-dev
79 2017-12-22T04:23:42 *** intcat has quit IRC
80 2017-12-22T04:24:55 *** intcat has joined #bitcoin-dev
81 2017-12-22T04:31:57 *** intcat has quit IRC
82 2017-12-22T04:33:16 *** intcat has joined #bitcoin-dev
83 2017-12-22T04:36:15 *** iv3c has quit IRC
84 2017-12-22T04:49:05 *** Belxjander has quit IRC
85 2017-12-22T04:56:15 *** Belxjander has joined #bitcoin-dev
86 2017-12-22T05:06:07 *** TheSeven has quit IRC
87 2017-12-22T05:10:43 *** intcat has quit IRC
88 2017-12-22T05:11:52 *** intcat has joined #bitcoin-dev
89 2017-12-22T05:15:33 *** cornben1 has joined #bitcoin-dev
90 2017-12-22T05:18:21 *** cornben has quit IRC
91 2017-12-22T05:23:39 *** intcat has quit IRC
92 2017-12-22T05:24:54 *** intcat has joined #bitcoin-dev
93 2017-12-22T05:41:58 *** blyat__ has quit IRC
94 2017-12-22T05:43:49 *** murr4y has quit IRC
95 2017-12-22T05:52:31 *** Syde has quit IRC
96 2017-12-22T06:06:39 *** Bosma has joined #bitcoin-dev
97 2017-12-22T06:14:37 *** TheSeven has joined #bitcoin-dev
98 2017-12-22T06:15:47 *** Belxjander has quit IRC
99 2017-12-22T06:17:47 *** Belxjander has joined #bitcoin-dev
100 2017-12-22T06:25:21 *** intcat has quit IRC
101 2017-12-22T06:25:58 *** Giszmo has quit IRC
102 2017-12-22T06:26:30 *** intcat has joined #bitcoin-dev
103 2017-12-22T06:29:18 *** damons is now known as damons_is_away
104 2017-12-22T06:30:48 *** intcat has quit IRC
105 2017-12-22T06:32:00 *** intcat has joined #bitcoin-dev
106 2017-12-22T06:34:10 *** cornben has joined #bitcoin-dev
107 2017-12-22T06:35:43 *** cornben1 has quit IRC
108 2017-12-22T07:02:11 *** Cogito_Ergo_Sum has joined #bitcoin-dev
109 2017-12-22T07:06:44 *** intcat has quit IRC
110 2017-12-22T07:07:54 *** intcat has joined #bitcoin-dev
111 2017-12-22T07:13:43 *** intcat has quit IRC
112 2017-12-22T07:14:39 *** intcat has joined #bitcoin-dev
113 2017-12-22T07:19:40 *** Victor_sueca has quit IRC
114 2017-12-22T07:21:03 *** Victor_sueca has joined #bitcoin-dev
115 2017-12-22T07:25:08 *** realzies has quit IRC
116 2017-12-22T07:25:54 *** realz has joined #bitcoin-dev
117 2017-12-22T07:27:52 *** dabura667 has quit IRC
118 2017-12-22T07:28:55 *** dabura667 has joined #bitcoin-dev
119 2017-12-22T07:31:47 *** surj has joined #bitcoin-dev
120 2017-12-22T08:05:11 *** POJO has joined #bitcoin-dev
121 2017-12-22T08:09:41 *** intcat has quit IRC
122 2017-12-22T08:10:43 *** intcat has joined #bitcoin-dev
123 2017-12-22T08:17:18 *** POJO has quit IRC
124 2017-12-22T08:17:40 *** POJO has joined #bitcoin-dev
125 2017-12-22T08:21:12 *** ongolaBoy has joined #bitcoin-dev
126 2017-12-22T08:29:39 *** intcat has quit IRC
127 2017-12-22T08:30:52 *** intcat has joined #bitcoin-dev
128 2017-12-22T08:36:47 *** surj has quit IRC
129 2017-12-22T08:49:00 *** Mottengrotte has joined #bitcoin-dev
130 2017-12-22T08:57:07 *** Mottengrotte_ has joined #bitcoin-dev
131 2017-12-22T08:59:13 *** Mottengrotte has quit IRC
132 2017-12-22T09:02:08 *** gnugnu has joined #bitcoin-dev
133 2017-12-22T09:09:42 *** |Clown| is now known as Guest94485
134 2017-12-22T09:09:45 *** |Clown| has joined #bitcoin-dev
135 2017-12-22T09:15:09 *** czaanja_ has joined #bitcoin-dev
136 2017-12-22T09:15:41 *** klex85 has joined #bitcoin-dev
137 2017-12-22T09:20:55 <arubi> is brianddk \ Dan Bryant around? interested in what's going to be in scope of this signmessage bip : https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2017-December/015452.html
138 2017-12-22T09:23:26 *** Victor_sueca has quit IRC
139 2017-12-22T09:24:42 *** Victor_sueca has joined #bitcoin-dev
140 2017-12-22T09:24:47 *** intcat has quit IRC
141 2017-12-22T09:25:57 *** intcat has joined #bitcoin-dev
142 2017-12-22T09:43:58 *** one_zero has quit IRC
143 2017-12-22T09:49:51 *** Belxjander has quit IRC
144 2017-12-22T09:52:33 *** Belxjander has joined #bitcoin-dev
145 2017-12-22T09:53:20 *** Mottengrotte_ has quit IRC
146 2017-12-22T09:53:28 *** Mottengrotte_ has joined #bitcoin-dev
147 2017-12-22T09:54:57 *** jpe_g has quit IRC
148 2017-12-22T09:56:42 *** intcat has quit IRC
149 2017-12-22T09:57:39 *** intcat has joined #bitcoin-dev
150 2017-12-22T10:03:13 *** rubensayshi has joined #bitcoin-dev
151 2017-12-22T10:07:07 *** Mottengrotte_ has quit IRC
152 2017-12-22T10:07:31 *** Mottengrotte_ has joined #bitcoin-dev
153 2017-12-22T10:14:41 *** intcat has quit IRC
154 2017-12-22T10:15:19 *** Kozuch has joined #bitcoin-dev
155 2017-12-22T10:16:50 *** intcat has joined #bitcoin-dev
156 2017-12-22T10:17:47 *** cotix has quit IRC
157 2017-12-22T10:24:47 *** jpe_g has joined #bitcoin-dev
158 2017-12-22T10:26:57 *** Belxjander has quit IRC
159 2017-12-22T10:28:17 *** POJO has quit IRC
160 2017-12-22T10:29:05 *** Belxjander has joined #bitcoin-dev
161 2017-12-22T10:31:02 *** POJO has joined #bitcoin-dev
162 2017-12-22T10:44:09 *** realzies has joined #bitcoin-dev
163 2017-12-22T10:44:47 *** POJO has quit IRC
164 2017-12-22T10:46:59 *** realz has quit IRC
165 2017-12-22T10:47:22 *** dabura667 has quit IRC
166 2017-12-22T11:08:51 *** wxss has quit IRC
167 2017-12-22T11:09:27 *** Victor_sueca has quit IRC
168 2017-12-22T11:10:41 *** Victor_sueca has joined #bitcoin-dev
169 2017-12-22T11:15:52 *** wxss has joined #bitcoin-dev
170 2017-12-22T11:35:48 *** SopaXorzTaker has joined #bitcoin-dev
171 2017-12-22T11:47:52 *** umarucchi has joined #bitcoin-dev
172 2017-12-22T11:53:05 *** POJO has joined #bitcoin-dev
173 2017-12-22T11:55:24 *** firemanxbr is now known as firemanxbr|lunch
174 2017-12-22T12:05:25 *** ghost43 has quit IRC
175 2017-12-22T12:05:49 *** ghost43 has joined #bitcoin-dev
176 2017-12-22T12:22:55 *** andrelam has quit IRC
177 2017-12-22T12:38:25 *** umarucchi has quit IRC
178 2017-12-22T12:43:17 *** pkx2 has joined #bitcoin-dev
179 2017-12-22T12:58:38 *** firemanxbr|lunch is now known as firemanxbr
180 2017-12-22T13:05:24 *** CheckDavid has joined #bitcoin-dev
181 2017-12-22T13:06:21 *** contrapumpkin has quit IRC
182 2017-12-22T13:06:31 *** realz has joined #bitcoin-dev
183 2017-12-22T13:09:41 *** realzies has quit IRC
184 2017-12-22T13:17:31 *** contrapumpkin has joined #bitcoin-dev
185 2017-12-22T13:31:31 *** Victor_sueca has quit IRC
186 2017-12-22T13:33:08 *** Victor_sueca has joined #bitcoin-dev
187 2017-12-22T13:43:32 *** czaanja_ has quit IRC
188 2017-12-22T13:47:38 *** POJO has quit IRC
189 2017-12-22T13:55:45 *** netpilot has quit IRC
190 2017-12-22T14:05:51 *** Giszmo has joined #bitcoin-dev
191 2017-12-22T14:12:21 *** Belxjander has quit IRC
192 2017-12-22T14:16:07 *** Chris_Stewart_5 has joined #bitcoin-dev
193 2017-12-22T14:18:28 *** Belxjander has joined #bitcoin-dev
194 2017-12-22T14:20:33 *** murr4y has joined #bitcoin-dev
195 2017-12-22T14:20:41 *** iv3c has joined #bitcoin-dev
196 2017-12-22T14:38:14 *** realz has quit IRC
197 2017-12-22T14:38:35 *** realz has joined #bitcoin-dev
198 2017-12-22T14:56:59 *** jb55 has joined #bitcoin-dev
199 2017-12-22T14:57:09 *** jb55 has quit IRC
200 2017-12-22T14:57:25 *** jb55 has joined #bitcoin-dev
201 2017-12-22T15:05:50 *** meshcollider has quit IRC
202 2017-12-22T15:09:53 *** jb55 has quit IRC
203 2017-12-22T15:11:45 *** Chris_Stewart_5 has quit IRC
204 2017-12-22T15:13:56 *** justanotheruser has quit IRC
205 2017-12-22T15:15:15 *** agricocb has joined #bitcoin-dev
206 2017-12-22T15:25:47 *** POJO has joined #bitcoin-dev
207 2017-12-22T15:28:03 *** AndBobsYourUncle has quit IRC
208 2017-12-22T15:43:56 *** Mottengrotte_ has quit IRC
209 2017-12-22T15:49:05 *** Chris_Stewart_5 has joined #bitcoin-dev
210 2017-12-22T15:52:09 *** nazarewk has joined #bitcoin-dev
211 2017-12-22T15:53:00 *** Victor_sueca has quit IRC
212 2017-12-22T15:54:11 *** Victor_sueca has joined #bitcoin-dev
213 2017-12-22T16:02:44 *** agricocb has quit IRC
214 2017-12-22T16:02:58 *** SopaXorzTaker has quit IRC
215 2017-12-22T16:03:25 *** SopaXorzTaker has joined #bitcoin-dev
216 2017-12-22T16:08:46 *** pergaminho has joined #bitcoin-dev
217 2017-12-22T16:14:18 *** CheckDavid has quit IRC
218 2017-12-22T16:15:06 *** jb55 has joined #bitcoin-dev
219 2017-12-22T16:19:04 *** pergaminho has quit IRC
220 2017-12-22T16:21:09 *** _kk22kk_ has joined #bitcoin-dev
221 2017-12-22T16:21:11 *** dconroy has joined #bitcoin-dev
222 2017-12-22T16:32:24 *** pabelanger has joined #bitcoin-dev
223 2017-12-22T16:33:16 *** nazarewk has quit IRC
224 2017-12-22T16:45:53 *** Randolf has quit IRC
225 2017-12-22T16:45:58 *** Murch has joined #bitcoin-dev
226 2017-12-22T16:53:01 *** _kk22kk_ has quit IRC
227 2017-12-22T17:00:24 *** IngCr3at1on has joined #bitcoin-dev
228 2017-12-22T17:06:20 *** CheckDavid has joined #bitcoin-dev
229 2017-12-22T17:07:04 *** damons_is_away is now known as damons
230 2017-12-22T17:22:22 *** one_zero has joined #bitcoin-dev
231 2017-12-22T17:25:26 *** DTZUZO has quit IRC
232 2017-12-22T17:26:47 *** one_zero has joined #bitcoin-dev
233 2017-12-22T17:31:27 *** jrick has quit IRC
234 2017-12-22T17:31:45 *** DSidH has joined #bitcoin-dev
235 2017-12-22T17:32:07 <DSidH> I am having some trouble in creating the standard P2SH tx given in BIP16
236 2017-12-22T17:32:30 <DSidH> explained here https://bitcoin.stackexchange.com/q/66197/2075
237 2017-12-22T17:32:35 <DSidH> any help will be appreciated
238 2017-12-22T17:32:53 <DSidH> getting this error in sendrawtransaction -> 16: mandatory-script-verify-flag-failed (Signature must be zero for failed CHECK(MULTI)SIG operation)
239 2017-12-22T17:33:25 <arubi> seems like you're getting the correct script
240 2017-12-22T17:33:29 <arubi> just wrong signature
241 2017-12-22T17:33:37 *** Giszmo has quit IRC
242 2017-12-22T17:33:54 <DSidH> the script is [pubKey] [OP_CHECKSIG]
243 2017-12-22T17:34:15 <arubi> what are you signing exactly?
244 2017-12-22T17:34:22 <arubi> the actual midstate
245 2017-12-22T17:34:58 <DSidH> I created the tx as follows: Create unsigned transactions with all scriptSigs empty For each input to sign, set its scriptSig to redeemScript: 21039F53E45F8F18B8ED294378BDA342EFF69B2053DEBF27FBEDE7D2D6BD84BE6235AC, keeping other scriptSigs to empty. Serialize the new tx and append SIGHASHALL bytes (0x01) in little endian 4 bytes Double Sha256 above and sign resulting value. Add one byte 0x01 to signature to indicate SIGHASH_ALL. L
246 2017-12-22T17:35:24 *** Victor_sueca has quit IRC
247 2017-12-22T17:35:26 <DSidH> the scriptSig as: [0x00] [{sigSize, sig}] [{pubKeySize, pubKey}] [OP_CHECKSIG]
248 2017-12-22T17:35:42 <arubi> yea I know how to do that, but did you get?
249 2017-12-22T17:35:59 <DSidH> I am not 100% sure what the temp scriptSig to use for signing
250 2017-12-22T17:36:20 <DSidH> so I am using the orig redeemScript
251 2017-12-22T17:36:34 <DSidH> from what I understood after searching online
252 2017-12-22T17:36:39 <arubi> oh that can't be right
253 2017-12-22T17:36:40 <arubi> "txid": "e434a13cac79dc3d26e7279bff05c0f071a2df03e2ba6ca13c88f0e82dca9998",
254 2017-12-22T17:36:40 <arubi> "vout": 0,
255 2017-12-22T17:36:40 <arubi> "scriptSig": {
256 2017-12-22T17:36:40 <arubi> "asm": "0 3045022100d51f8d9bfeb7bc6108facaae131dcf875493a1768a55310fcfaec7848a37e679022074eddfef1b3b64348a7d4436e0bdfcff639c5051701758d5dea6172675c62098[ALL] 039f53e45f8f18b8ed294378bda342eff69b2053debf27fbede7d2d6bd84be6235 OP_CHECKSIG"
257 2017-12-22T17:36:41 *** Victor_sueca has joined #bitcoin-dev
258 2017-12-22T17:36:57 <arubi> there's a checksig op in scriptsig? that's not gonna work
259 2017-12-22T17:37:10 <DSidH> I tried with and without :P
260 2017-12-22T17:37:18 <arubi> if you want the redeemscript threre, you need to push the serialization of it
261 2017-12-22T17:37:19 <DSidH> last attempt was to add checksig
262 2017-12-22T17:37:36 <DSidH> so I need to add that many bytes to push
263 2017-12-22T17:37:42 <DSidH> lemme try that
264 2017-12-22T17:42:08 *** jb55 has quit IRC
265 2017-12-22T17:43:49 *** Skirmant has quit IRC
266 2017-12-22T17:50:52 <DSidH> arubi: I am getting a different error now: 64: non-mandatory-script-verify-flag (unknown error)
267 2017-12-22T17:51:33 <DSidH> here is raw tx -> https://pastebin.com/raw/1jTAnA3v
268 2017-12-22T17:52:42 <arubi> that means that the redeemscript is wrong
269 2017-12-22T17:53:52 <DSidH> hmm what am I doing wrong? is there any example of bip16 [pubkey] [OP_CHECKSIG] .. its described here https://github.com/bitcoin/bips/blob/master/bip-0016.mediawiki
270 2017-12-22T17:54:05 <DSidH> but I could not find examples anywhere
271 2017-12-22T17:54:10 <arubi> I'm looking into it
272 2017-12-22T17:55:08 <arubi> looks correct, lemme see
273 2017-12-22T17:55:55 *** herma48852 has joined #bitcoin-dev
274 2017-12-22T18:01:03 <arubi> now it's even weirder. I can verify your transaction on a local regtest node, but testnet fails with the same error you're getting
275 2017-12-22T18:01:07 <arubi> looking :)
276 2017-12-22T18:01:43 <DSidH> ok if I can narrow it down to signature it will be helpful, as long as the rest of the tx is proper
277 2017-12-22T18:02:26 <arubi> oh
278 2017-12-22T18:03:05 <arubi> no wait, yea the signatures are good
279 2017-12-22T18:03:37 <arubi> you know what let me double check for policy stuff.. I might have turned everything off on regtest
280 2017-12-22T18:04:06 *** andrelam has joined #bitcoin-dev
281 2017-12-22T18:04:30 <DSidH> I am also checking for high s values
282 2017-12-22T18:04:48 <arubi> doesn't look like s is high
283 2017-12-22T18:15:57 <DSidH> could it be something to with sighash_type? like I may be setting it when its not needed
284 2017-12-22T18:16:09 *** jrick has joined #bitcoin-dev
285 2017-12-22T18:18:20 <arubi> what are you setting?
286 2017-12-22T18:18:31 <arubi> seems like 'ALL'
287 2017-12-22T18:18:47 <arubi> can you just post the actual thing that you're hashing for signage? :)
288 2017-12-22T18:19:33 <arubi> ah nevermind, the signatures are good
289 2017-12-22T18:20:32 <arubi> looking into the sigs..
290 2017-12-22T18:20:36 <DSidH> nvm I tried removing and it gave invalid sig
291 2017-12-22T18:20:47 <DSidH> so seems flafs are good. I am setting sighash_all
292 2017-12-22T18:20:56 <DSidH> flags*
293 2017-12-22T18:21:23 <arubi> right that's what you should set really
294 2017-12-22T18:22:08 <arubi> yea sigs are okay, checked outside of core too
295 2017-12-22T18:24:06 *** damons has quit IRC
296 2017-12-22T18:24:32 *** damons has joined #bitcoin-dev
297 2017-12-22T18:29:30 <arubi> the transaction is good when not in context of testnet, at least least it seems that way.. fwiw https://pastebin.com/raw/th6je4Ly . I'm still looking, this is interesting :)
298 2017-12-22T18:30:29 *** Randolf has joined #bitcoin-dev
299 2017-12-22T18:31:15 *** Randolf has quit IRC
300 2017-12-22T18:37:53 <arubi> oh wait
301 2017-12-22T18:38:06 <arubi> no, sorry, just different sig
302 2017-12-22T18:38:16 <arubi> (not sure how you came up with the k values)
303 2017-12-22T18:39:46 <arubi> oh DSidH
304 2017-12-22T18:39:56 <arubi> you have an extra 0x00 byte at the beginning of scriptsig
305 2017-12-22T18:40:26 *** Syde has joined #bitcoin-dev
306 2017-12-22T18:40:29 <DSidH> 1 min checkin
307 2017-12-22T18:41:23 <DSidH> I thought that was by design. that we have to put OP_0
308 2017-12-22T18:41:32 *** ongolaBoy has quit IRC
309 2017-12-22T18:41:46 <arubi> only on checkmultisig you need that
310 2017-12-22T18:42:05 *** POJO has quit IRC
311 2017-12-22T18:42:06 <DSidH> arubi: oh ! :)
312 2017-12-22T18:42:13 <DSidH> thanks the tx was sent !
313 2017-12-22T18:42:18 <arubi> well, almost any dumb value works, but 0 is used. cheers :)
314 2017-12-22T18:42:30 <DSidH> well I learned a lot though.. ty
315 2017-12-22T18:42:42 <arubi> and I learned that 0x00 is easy to miss
316 2017-12-22T18:45:01 <arubi> DSidH, you don't mind that I answered the se post right :)
317 2017-12-22T18:45:47 <arubi> oh you know what, I answered as if you posted this error 64 issue
318 2017-12-22T18:47:33 <arubi> fixing..
319 2017-12-22T18:50:33 <DSidH> no problem. Please do answer
320 2017-12-22T18:51:16 <DSidH> now I can move on to segwit :)
321 2017-12-22T18:51:18 <arubi> answered and added the reason why it worked on my regtest node
322 2017-12-22T18:51:34 <arubi> segwit is so much better, you'll see
323 2017-12-22T18:52:22 <DSidH> also accepted. I'll clean up the question in a bit
324 2017-12-22T18:52:45 <arubi> sweet
325 2017-12-22T18:59:58 *** contrapumpkin is now known as Social-Justice-D
326 2017-12-22T19:00:19 *** Social-Justice-D is now known as King-of-SJW
327 2017-12-22T19:00:37 *** meshcollider has joined #bitcoin-dev
328 2017-12-22T19:01:13 *** King-of-SJW is now known as contrapumpkin
329 2017-12-22T19:07:38 *** dagronmaster has quit IRC
330 2017-12-22T19:10:14 *** StopAndDecrypt has joined #bitcoin-dev
331 2017-12-22T19:10:55 *** StopAndDecrypt_ has quit IRC
332 2017-12-22T19:12:35 *** Kozuch has quit IRC
333 2017-12-22T19:12:57 *** photonclock_ has quit IRC
334 2017-12-22T19:13:10 *** photonclock_ has joined #bitcoin-dev
335 2017-12-22T19:18:39 *** contrapumpkin is now known as sn0wflake
336 2017-12-22T19:25:01 *** CheckDavid has quit IRC
337 2017-12-22T19:28:23 *** realzies has joined #bitcoin-dev
338 2017-12-22T19:28:58 *** sn0wflake is now known as c0ntrapumpkin
339 2017-12-22T19:31:11 *** realz has quit IRC
340 2017-12-22T19:43:51 *** Victor_sueca has quit IRC
341 2017-12-22T19:45:04 *** Victor_sueca has joined #bitcoin-dev
342 2017-12-22T19:49:56 *** sinasafaee-rad has joined #bitcoin-dev
343 2017-12-22T19:50:16 <sinasafaee-rad> hi everyone
344 2017-12-22T19:51:14 *** sinasafaee-rad has quit IRC
345 2017-12-22T19:58:25 *** Kozuch has joined #bitcoin-dev
346 2017-12-22T20:01:12 *** justanotheruser has joined #bitcoin-dev
347 2017-12-22T20:10:44 *** Chris_Stewart_5 has quit IRC
348 2017-12-22T20:18:27 *** Belxjander has quit IRC
349 2017-12-22T20:19:58 *** meLon has quit IRC
350 2017-12-22T20:20:17 *** meLon has joined #bitcoin-dev
351 2017-12-22T20:20:48 *** Belxjander has joined #bitcoin-dev
352 2017-12-22T20:22:04 *** dviola has joined #bitcoin-dev
353 2017-12-22T20:22:26 *** Dagronmaster has joined #bitcoin-dev
354 2017-12-22T20:24:00 *** SopaXorzTaker has quit IRC
355 2017-12-22T20:24:22 *** jb55 has joined #bitcoin-dev
356 2017-12-22T20:26:34 *** POJO has joined #bitcoin-dev
357 2017-12-22T20:29:04 *** justanotheruser has quit IRC
358 2017-12-22T20:35:02 *** jb55 has quit IRC
359 2017-12-22T20:40:26 *** justanotheruser has joined #bitcoin-dev
360 2017-12-22T20:59:22 *** jb55 has joined #bitcoin-dev
361 2017-12-22T21:01:33 <DSidH> From segwit developer guide:
362 2017-12-22T21:01:39 <DSidH> Please note that for a P2SH-P2WPKH, the scriptCode is always 26 bytes including the leading size byte, as 0x1976a914{20-byte keyhash}88ac, NOT the redeemScript nor scriptPubKey
363 2017-12-22T21:01:44 <DSidH> what exactly is scriptCode?
364 2017-12-22T21:05:59 <DSidH> nvm: think this explains it https://bitcoin.stackexchange.com/a/57997/2075
365 2017-12-22T21:16:11 *** jb55 has quit IRC
366 2017-12-22T21:17:36 *** realazthat has joined #bitcoin-dev
367 2017-12-22T21:20:33 *** realzies has quit IRC
368 2017-12-22T21:20:51 *** justanotheruser has quit IRC
369 2017-12-22T21:29:56 *** Victor_sueca has quit IRC
370 2017-12-22T21:31:13 *** Victor_sueca has joined #bitcoin-dev
371 2017-12-22T21:40:22 *** meshcollider has quit IRC
372 2017-12-22T21:56:20 *** realazthat has quit IRC
373 2017-12-22T22:07:19 *** Randolf has joined #bitcoin-dev
374 2017-12-22T22:14:13 *** cornben1 has joined #bitcoin-dev
375 2017-12-22T22:14:14 *** cornben1 has quit IRC
376 2017-12-22T22:16:23 *** cornben has quit IRC
377 2017-12-22T22:18:14 *** POJO has quit IRC
378 2017-12-22T22:20:13 *** fynn has joined #bitcoin-dev
379 2017-12-22T22:25:01 *** fynn has quit IRC
380 2017-12-22T22:26:11 *** cornben has joined #bitcoin-dev
381 2017-12-22T22:26:12 *** cornben has quit IRC
382 2017-12-22T22:34:05 *** cornben has joined #bitcoin-dev
383 2017-12-22T22:34:06 *** cornben has quit IRC
384 2017-12-22T22:35:12 *** pkx2 has quit IRC
385 2017-12-22T22:49:27 *** Chris_Stewart_5 has joined #bitcoin-dev
386 2017-12-22T22:54:23 *** airbreather_ has joined #bitcoin-dev
387 2017-12-22T22:56:35 *** Randolf has quit IRC
388 2017-12-22T22:57:13 *** airbreather has quit IRC
389 2017-12-22T23:07:08 *** znull has left #bitcoin-dev
390 2017-12-22T23:12:30 *** luke-jr has quit IRC
391 2017-12-22T23:19:40 *** luke-jr has joined #bitcoin-dev
392 2017-12-22T23:22:02 <Sentineo> why is offset for diff 1 calculated as 0xffff * 2**208 ? What does that 'offset' mean
393 2017-12-22T23:22:05 <Sentineo> here?
394 2017-12-22T23:23:03 <Sentineo> https://en.bitcoin.it/wiki/Difficulty ... it ks giving me a headache ;)
395 2017-12-22T23:30:48 *** laudiacay has joined #bitcoin-dev
396 2017-12-22T23:31:05 *** Chris_Stewart_5 has quit IRC
397 2017-12-22T23:31:06 <laudiacay> hiya where are good bitcoin APIs?
398 2017-12-22T23:31:36 <laudiacay> i wanna be able to fetch transaction prices
399 2017-12-22T23:43:15 *** Cogito_Ergo_Sum has quit IRC