1 2019-08-21T00:06:20  *** ddustin has quit IRC
  2 2019-08-21T00:21:26  *** rafalcpp has joined #bitcoin-dev
  3 2019-08-21T00:22:31  *** rafalcpp_ has quit IRC
  4 2019-08-21T00:38:31  *** elichai2 has quit IRC
  5 2019-08-21T01:15:05  *** liberiga has joined #bitcoin-dev
  6 2019-08-21T01:24:24  *** frank1e has quit IRC
  7 2019-08-21T01:24:52  *** elichai2 has joined #bitcoin-dev
  8 2019-08-21T01:42:37  *** ap4lmtree has quit IRC
  9 2019-08-21T01:58:58  *** Belxjander has quit IRC
 10 2019-08-21T02:01:22  *** Belxjander has joined #bitcoin-dev
 11 2019-08-21T02:13:10  *** Dean_Guss has joined #bitcoin-dev
 12 2019-08-21T02:18:59  *** binary01 has joined #bitcoin-dev
 13 2019-08-21T02:28:23  *** Diablo-D3 has quit IRC
 14 2019-08-21T02:29:11  *** Diablo-D3 has joined #bitcoin-dev
 15 2019-08-21T02:29:16  <binary01>  hello, i am trying to make a small python script to verify a btc block. for some reason my hash is not matching the block hash. does anyone know what i am doing wrong? https://pastebin.com/ZpLrV71a
 16 2019-08-21T02:38:48  *** Diablo-D3 has quit IRC
 17 2019-08-21T02:39:38  *** Diablo-D3 has joined #bitcoin-dev
 18 2019-08-21T02:45:45  <achow101> binary01: you're hashing the hex strings for the block header, not the bytes themselves
 19 2019-08-21T02:46:13  <achow101> you need to take your hex strings, turn them into the actual byte values the represent, and hash those
 20 2019-08-21T02:46:21  <achow101> you can do that using binascii.unhexlify
 21 2019-08-21T02:49:03  *** Diablo-D3 has quit IRC
 22 2019-08-21T02:49:24  *** liberiga has quit IRC
 23 2019-08-21T02:50:06  *** Diablo-D3 has joined #bitcoin-dev
 24 2019-08-21T02:58:07  *** ap4lmtree has joined #bitcoin-dev
 25 2019-08-21T03:02:22  *** bitdex has quit IRC
 26 2019-08-21T03:33:48  *** Qatz has quit IRC
 27 2019-08-21T03:38:39  *** fatalhalt has joined #bitcoin-dev
 28 2019-08-21T03:39:12  *** Qatz has joined #bitcoin-dev
 29 2019-08-21T03:43:46  *** fatalhalt has quit IRC
 30 2019-08-21T03:50:56  *** fatalhalt has joined #bitcoin-dev
 31 2019-08-21T04:15:48  *** liberiga has joined #bitcoin-dev
 32 2019-08-21T04:36:44  *** liberiga has quit IRC
 33 2019-08-21T04:45:33  *** fatalhalt has quit IRC
 34 2019-08-21T04:58:31  *** elichai2 has quit IRC
 35 2019-08-21T05:02:06  *** afk11 has quit IRC
 36 2019-08-21T05:02:29  *** afk11 has joined #bitcoin-dev
 37 2019-08-21T05:13:22  *** Diablo-D3 has quit IRC
 38 2019-08-21T05:20:03  *** Diablo-D3 has joined #bitcoin-dev
 39 2019-08-21T05:20:18  *** Dean_Guss has quit IRC
 40 2019-08-21T05:21:59  *** Dean_Guss has joined #bitcoin-dev
 41 2019-08-21T05:29:35  *** Diablo-D3 has quit IRC
 42 2019-08-21T05:30:13  *** rafalcpp_ has joined #bitcoin-dev
 43 2019-08-21T05:30:20  *** rafalcpp has quit IRC
 44 2019-08-21T05:30:33  *** Diablo-D3 has joined #bitcoin-dev
 45 2019-08-21T06:10:02  *** rh0nj has quit IRC
 46 2019-08-21T06:10:42  *** rafalcpp has joined #bitcoin-dev
 47 2019-08-21T06:10:56  *** rafalcpp_ has quit IRC
 48 2019-08-21T06:11:08  *** rh0nj has joined #bitcoin-dev
 49 2019-08-21T06:23:50  *** Dean_Guss has quit IRC
 50 2019-08-21T06:24:40  *** Dean_Guss has joined #bitcoin-dev
 51 2019-08-21T06:42:45  <binary01> achow101, on line 37 i run the entire concatenated string through unhexlify before hashing. it that not right?
 52 2019-08-21T06:43:39  *** rafalcpp_ has joined #bitcoin-dev
 53 2019-08-21T06:43:48  *** rafalcpp has quit IRC
 54 2019-08-21T06:58:28  *** rafalcpp has joined #bitcoin-dev
 55 2019-08-21T06:58:47  *** rafalcpp_ has quit IRC
 56 2019-08-21T07:13:47  *** Diablo-D3 has quit IRC
 57 2019-08-21T07:20:49  *** Diablo-D3 has joined #bitcoin-dev
 58 2019-08-21T07:30:11  *** Diablo-D3 has quit IRC
 59 2019-08-21T07:31:10  *** Diablo-D3 has joined #bitcoin-dev
 60 2019-08-21T07:31:37  *** marcoagner has joined #bitcoin-dev
 61 2019-08-21T07:54:44  *** realz has quit IRC
 62 2019-08-21T08:06:16  *** rafalcpp_ has joined #bitcoin-dev
 63 2019-08-21T08:06:28  *** rafalcpp has quit IRC
 64 2019-08-21T08:12:35  *** Guyver2 has joined #bitcoin-dev
 65 2019-08-21T08:22:18  *** ap4lmtree- has joined #bitcoin-dev
 66 2019-08-21T08:25:22  *** ap4lmtree has quit IRC
 67 2019-08-21T08:34:19  *** setpill has joined #bitcoin-dev
 68 2019-08-21T08:51:36  *** DiabloD3 has joined #bitcoin-dev
 69 2019-08-21T08:52:33  *** Diablo-D3 has quit IRC
 70 2019-08-21T08:52:34  *** DiabloD3 is now known as Diablo-D3
 71 2019-08-21T09:00:42  *** Diablo-D3 has quit IRC
 72 2019-08-21T09:01:39  *** Diablo-D3 has joined #bitcoin-dev
 73 2019-08-21T09:08:17  *** ghtdak has joined #bitcoin-dev
 74 2019-08-21T09:19:05  *** ghtdak has quit IRC
 75 2019-08-21T09:23:46  *** ghtdak has joined #bitcoin-dev
 76 2019-08-21T09:49:31  *** Chris_Stewart_5 has joined #bitcoin-dev
 77 2019-08-21T10:31:16  <sanket1729> looking for simple " easy to understand and explain" implementation (could be inefficient/non-constant time etc)  of secp256k1 in python3. Any leads?
 78 2019-08-21T10:34:37  *** ghtdak has quit IRC
 79 2019-08-21T10:40:06  *** rafalcpp has joined #bitcoin-dev
 80 2019-08-21T10:41:10  *** rafalcpp_ has quit IRC
 81 2019-08-21T10:54:45  *** mauz555 has quit IRC
 82 2019-08-21T11:10:19  *** Diablo-D3 has quit IRC
 83 2019-08-21T11:11:24  *** Diablo-D3 has joined #bitcoin-dev
 84 2019-08-21T11:21:14  *** Diablo-D3 has quit IRC
 85 2019-08-21T11:22:00  *** Diablo-D3 has joined #bitcoin-dev
 86 2019-08-21T11:26:19  *** Dean_Guss has quit IRC
 87 2019-08-21T11:31:29  *** Diablo-D3 has quit IRC
 88 2019-08-21T11:32:16  *** Diablo-D3 has joined #bitcoin-dev
 89 2019-08-21T11:32:22  *** adhux0x0f0x3f has quit IRC
 90 2019-08-21T11:39:04  *** Guyver2 has quit IRC
 91 2019-08-21T11:55:02  *** Chris_Stewart_5 has quit IRC
 92 2019-08-21T11:56:15  *** Chris_Stewart_5 has joined #bitcoin-dev
 93 2019-08-21T11:58:44  *** DTZUZO has quit IRC
 94 2019-08-21T12:17:37  *** realz has joined #bitcoin-dev
 95 2019-08-21T12:37:31  *** Giszmo has joined #bitcoin-dev
 96 2019-08-21T12:39:03  *** lightlike has joined #bitcoin-dev
 97 2019-08-21T12:40:02  *** rafalcpp has quit IRC
 98 2019-08-21T12:40:21  *** rafalcpp has joined #bitcoin-dev
 99 2019-08-21T12:51:26  *** ghtdak has joined #bitcoin-dev
100 2019-08-21T13:08:14  *** realzies has joined #bitcoin-dev
101 2019-08-21T13:08:38  *** elichai2 has joined #bitcoin-dev
102 2019-08-21T13:12:04  *** realz has quit IRC
103 2019-08-21T13:13:02  *** ghtdak has quit IRC
104 2019-08-21T13:21:19  *** ghtdak has joined #bitcoin-dev
105 2019-08-21T13:22:45  *** csknk has joined #bitcoin-dev
106 2019-08-21T13:27:45  *** lightlike has left #bitcoin-dev
107 2019-08-21T13:40:03  *** Giszmo has quit IRC
108 2019-08-21T13:58:13  *** rafalcpp_ has joined #bitcoin-dev
109 2019-08-21T14:00:15  *** rafalcpp has quit IRC
110 2019-08-21T14:14:57  *** elichai2 has quit IRC
111 2019-08-21T14:14:58  *** moneyball has quit IRC
112 2019-08-21T14:14:58  *** graingert has quit IRC
113 2019-08-21T14:15:19  *** zivl has quit IRC
114 2019-08-21T14:15:24  *** Lightsword has quit IRC
115 2019-08-21T14:15:50  *** petezz4 has quit IRC
116 2019-08-21T14:15:59  *** zivl has joined #bitcoin-dev
117 2019-08-21T14:16:15  *** profmac has quit IRC
118 2019-08-21T14:16:16  *** wbnns has quit IRC
119 2019-08-21T14:16:16  *** michagogo has quit IRC
120 2019-08-21T14:16:16  *** NicolasDorier has quit IRC
121 2019-08-21T14:16:16  *** aspect_ has quit IRC
122 2019-08-21T14:16:41  *** Qatz has quit IRC
123 2019-08-21T14:16:42  *** helo has quit IRC
124 2019-08-21T14:17:21  *** agricocb has quit IRC
125 2019-08-21T14:17:46  *** Lightsword has joined #bitcoin-dev
126 2019-08-21T14:17:53  *** Qatz has joined #bitcoin-dev
127 2019-08-21T14:18:12  *** cybrNaut has quit IRC
128 2019-08-21T14:18:27  *** helo has joined #bitcoin-dev
129 2019-08-21T14:18:59  *** petezz4 has joined #bitcoin-dev
130 2019-08-21T14:19:04  *** wbnns has joined #bitcoin-dev
131 2019-08-21T14:19:23  *** elichai2 has joined #bitcoin-dev
132 2019-08-21T14:19:38  *** michagogo has joined #bitcoin-dev
133 2019-08-21T14:21:40  *** realzies has quit IRC
134 2019-08-21T14:22:33  *** graingert has joined #bitcoin-dev
135 2019-08-21T14:25:32  *** NicolasDorier has joined #bitcoin-dev
136 2019-08-21T14:25:32  *** aspect_ has joined #bitcoin-dev
137 2019-08-21T14:25:56  *** profmac has joined #bitcoin-dev
138 2019-08-21T14:26:18  *** moneyball has joined #bitcoin-dev
139 2019-08-21T14:26:55  *** marcoagn1 has joined #bitcoin-dev
140 2019-08-21T14:27:57  *** marcoagner has quit IRC
141 2019-08-21T14:28:41  *** profmac has quit IRC
142 2019-08-21T14:29:02  *** profmac has joined #bitcoin-dev
143 2019-08-21T14:31:11  <adiabat> sanket1729: There is one; I think it's from sipa and it's like 30 lines, but I can't seem to find it now
144 2019-08-21T14:31:34  <adiabat> (sorry if that's not too helpful, but the thing you're looking for exists!)
145 2019-08-21T14:33:09  *** NicolasDorier has quit IRC
146 2019-08-21T14:33:22  *** NicolasDorier has joined #bitcoin-dev
147 2019-08-21T14:34:01  *** profmac has quit IRC
148 2019-08-21T14:35:19  *** cncr04s has quit IRC
149 2019-08-21T14:38:35  *** agricocb has joined #bitcoin-dev
150 2019-08-21T14:40:28  *** agricocb has quit IRC
151 2019-08-21T14:42:07  *** Karyon has quit IRC
152 2019-08-21T14:43:20  *** cncr04s has joined #bitcoin-dev
153 2019-08-21T14:49:31  *** profmac has joined #bitcoin-dev
154 2019-08-21T14:58:58  *** rafalcpp has joined #bitcoin-dev
155 2019-08-21T14:59:13  *** rafalcpp_ has quit IRC
156 2019-08-21T15:00:28  *** Guyver2 has joined #bitcoin-dev
157 2019-08-21T15:14:03  *** ghtdak has quit IRC
158 2019-08-21T15:23:05  *** bugs_ has joined #bitcoin-dev
159 2019-08-21T15:25:10  <achow101> binary01: ah, I hadn't noticed that, sorry. On further inspection, the issue is actually with your version number. It's supposed to be 00000020 as in big endian it is 0x20000000, not 2.
160 2019-08-21T15:26:37  *** rafalcpp has quit IRC
161 2019-08-21T15:36:14  *** alferz has joined #bitcoin-dev
162 2019-08-21T15:41:20  *** setpill has quit IRC
163 2019-08-21T15:45:28  *** Karyon has joined #bitcoin-dev
164 2019-08-21T15:48:28  *** alferz has quit IRC
165 2019-08-21T15:56:53  *** realz has joined #bitcoin-dev
166 2019-08-21T15:59:04  *** RazielZ has joined #bitcoin-dev
167 2019-08-21T16:02:33  *** realzies has joined #bitcoin-dev
168 2019-08-21T16:02:34  *** realz has quit IRC
169 2019-08-21T16:26:58  *** realzies has quit IRC
170 2019-08-21T16:45:44  *** tripleslash has quit IRC
171 2019-08-21T16:46:49  *** tripleslash has joined #bitcoin-dev
172 2019-08-21T16:51:48  *** Chris_Stewart_5 has quit IRC
173 2019-08-21T16:52:23  *** csknk has joined #bitcoin-dev
174 2019-08-21T16:59:12  *** afk11 has quit IRC
175 2019-08-21T17:00:05  *** afk11 has joined #bitcoin-dev
176 2019-08-21T17:01:36  *** rafalcpp has joined #bitcoin-dev
177 2019-08-21T17:52:08  *** rafalcpp has quit IRC
178 2019-08-21T17:52:24  *** rafalcpp has joined #bitcoin-dev
179 2019-08-21T17:53:13  *** ghtdak has joined #bitcoin-dev
180 2019-08-21T18:04:16  *** Karyon has quit IRC
181 2019-08-21T18:12:33  *** rafalcpp has quit IRC
182 2019-08-21T18:13:10  *** rafalcpp has joined #bitcoin-dev
183 2019-08-21T18:29:12  *** Karyon has joined #bitcoin-dev
184 2019-08-21T18:46:25  *** bitwinery has joined #bitcoin-dev
185 2019-08-21T18:47:29  *** bitwinery has quit IRC
186 2019-08-21T18:47:57  *** bitwinery has joined #bitcoin-dev
187 2019-08-21T18:52:24  *** realz has joined #bitcoin-dev
188 2019-08-21T18:57:04  *** realz has quit IRC
189 2019-08-21T19:06:17  *** ghtdak has quit IRC
190 2019-08-21T19:12:06  *** realz has joined #bitcoin-dev
191 2019-08-21T19:15:29  *** csknk has quit IRC
192 2019-08-21T19:20:02  *** realz has quit IRC
193 2019-08-21T19:25:35  *** ghtdak has joined #bitcoin-dev
194 2019-08-21T19:28:48  *** rafalcpp has quit IRC
195 2019-08-21T19:28:54  *** rafalcpp has joined #bitcoin-dev
196 2019-08-21T19:31:23  *** ghtdak has quit IRC
197 2019-08-21T19:50:27  *** Chris_Stewart_5 has joined #bitcoin-dev
198 2019-08-21T21:00:52  *** bitwinery has quit IRC
199 2019-08-21T21:04:38  *** Guyver2 has quit IRC
200 2019-08-21T21:04:44  *** rafalcpp_ has joined #bitcoin-dev
201 2019-08-21T21:05:00  *** rafalcpp has quit IRC
202 2019-08-21T21:32:14  *** adhux0x0f0x3f has joined #bitcoin-dev
203 2019-08-21T21:46:40  *** cybrNaut has joined #bitcoin-dev
204 2019-08-21T21:59:43  *** bugs_ has quit IRC
205 2019-08-21T22:06:30  *** rafalcpp has joined #bitcoin-dev
206 2019-08-21T22:06:43  *** rafalcpp_ has quit IRC
207 2019-08-21T22:14:22  *** Sentineo has joined #bitcoin-dev
208 2019-08-21T22:25:15  *** rafalcpp_ has joined #bitcoin-dev
209 2019-08-21T22:25:40  *** rafalcpp has quit IRC
210 2019-08-21T22:32:25  *** marcoagn1 has quit IRC
211 2019-08-21T22:37:52  *** Chris_Stewart_5 has quit IRC
212 2019-08-21T23:22:17  *** teward has quit IRC
213 2019-08-21T23:47:08  *** rafalcpp has joined #bitcoin-dev
214 2019-08-21T23:47:22  *** rafalcpp_ has quit IRC
215 2019-08-21T23:53:21  *** agricocb has joined #bitcoin-dev