1 2017-05-23T00:16:30  *** matrix1233 has joined #bitcoin-dev
  2 2017-05-23T00:27:26  *** Belxjander has joined #bitcoin-dev
  3 2017-05-23T00:30:01  *** Belxjander has quit IRC
  4 2017-05-23T00:30:12  *** Bjander has joined #bitcoin-dev
  5 2017-05-23T00:30:32  *** Bjander is now known as Belxjander
  6 2017-05-23T00:31:38  *** rafaeldelucena has quit IRC
  7 2017-05-23T00:40:56  *** impulse has quit IRC
  8 2017-05-23T00:42:03  *** Belxjander has quit IRC
  9 2017-05-23T00:44:35  *** Belxjander has joined #bitcoin-dev
 10 2017-05-23T00:54:16  *** CheckDavid has quit IRC
 11 2017-05-23T00:59:02  <midnightmagic> lol
 12 2017-05-23T00:59:07  *** `mist has quit IRC
 13 2017-05-23T01:14:05  *** Belxjander has quit IRC
 14 2017-05-23T01:20:36  *** Belxjander has joined #bitcoin-dev
 15 2017-05-23T02:02:09  *** subo_ has joined #bitcoin-dev
 16 2017-05-23T02:05:35  *** subo has quit IRC
 17 2017-05-23T02:10:06  *** goatpig has quit IRC
 18 2017-05-23T02:25:12  *** impulse has joined #bitcoin-dev
 19 2017-05-23T02:36:51  <ryan-c> anyone know how to craft a transaction spending a non-standard redeemScript?
 20 2017-05-23T02:44:28  *** coin_trader has quit IRC
 21 2017-05-23T02:45:09  *** msbrogli has joined #bitcoin-dev
 22 2017-05-23T02:49:03  <ryan-c> argh
 23 2017-05-23T02:49:16  <ryan-c> why did my testnet daemon derp up the chain?
 24 2017-05-23T02:49:23  <msbrogli> I was looking at miner.cpp and it seems that the tx selection algorithm is not optimal, since it selects the ones with higher freerate. It seems to be an optimization problem equivalent to the knapsack 0/1 problem. Does it make sense? I will develop the algorithm. I’m just checking before coding.
 25 2017-05-23T02:50:30  <ryan-c> msbrogli: yes, it's the knapsack problem
 26 2017-05-23T02:51:06  <msbrogli> Do you know why it has not been implemented yet?
 27 2017-05-23T02:53:36  <ryan-c> msbrogli: I think the current algorithm is "good enough"
 28 2017-05-23T02:54:01  *** Belxjander has quit IRC
 29 2017-05-23T02:54:05  <ryan-c> someone wrote about it here https://freedom-to-tinker.com/2014/10/27/bitcoin-mining-is-np-hard/
 30 2017-05-23T02:54:39  <ryan-c> you might be able to get an extra 1% out of a block maybe
 31 2017-05-23T02:54:44  <ryan-c> probably not even that
 32 2017-05-23T02:54:53  <ryan-c> probably not even 0.01%
 33 2017-05-23T02:56:14  *** Belxjander has joined #bitcoin-dev
 34 2017-05-23T02:58:18  <msbrogli> ryan-c: I’ll take a read. I also found some discussions about it at Github. Thanks!!
 35 2017-05-23T02:59:07  *** subo has joined #bitcoin-dev
 36 2017-05-23T02:59:58  <ryan-c> msbrogli: have fun
 37 2017-05-23T03:02:33  *** subo_ has quit IRC
 38 2017-05-23T03:04:08  *** janko33 has joined #bitcoin-dev
 39 2017-05-23T03:04:59  *** matrix1233 has quit IRC
 40 2017-05-23T03:08:27  *** Belxjander has quit IRC
 41 2017-05-23T03:08:38  *** justan0theruser has joined #bitcoin-dev
 42 2017-05-23T03:09:29  *** janko33_ has joined #bitcoin-dev
 43 2017-05-23T03:10:07  *** ThomasV has joined #bitcoin-dev
 44 2017-05-23T03:10:48  *** justanotheruser has quit IRC
 45 2017-05-23T03:13:15  *** janko33 has quit IRC
 46 2017-05-23T03:14:08  *** Belxjander has joined #bitcoin-dev
 47 2017-05-23T03:27:43  *** msbrogli has quit IRC
 48 2017-05-23T03:28:35  *** Belxjander has quit IRC
 49 2017-05-23T03:35:03  *** Belxjander has joined #bitcoin-dev
 50 2017-05-23T03:59:04  *** matrix1233 has joined #bitcoin-dev
 51 2017-05-23T04:03:44  *** matrix1233 has quit IRC
 52 2017-05-23T04:19:08  *** JackH has quit IRC
 53 2017-05-23T04:21:33  *** kristoff_ has joined #bitcoin-dev
 54 2017-05-23T04:22:48  *** kristofferR has quit IRC
 55 2017-05-23T04:23:35  *** flyingkiwi has quit IRC
 56 2017-05-23T04:23:48  *** bincap has quit IRC
 57 2017-05-23T04:24:19  *** bincap has joined #bitcoin-dev
 58 2017-05-23T04:26:53  *** flyingkiwi has joined #bitcoin-dev
 59 2017-05-23T04:36:11  *** [7] has quit IRC
 60 2017-05-23T04:36:42  *** TheSeven has joined #bitcoin-dev
 61 2017-05-23T04:53:30  *** matrix1233 has joined #bitcoin-dev
 62 2017-05-23T04:58:23  *** matrix1233 has quit IRC
 63 2017-05-23T05:09:14  *** conman has left #bitcoin-dev
 64 2017-05-23T05:15:58  *** stalled has quit IRC
 65 2017-05-23T05:25:02  *** janko33_ has quit IRC
 66 2017-05-23T05:30:20  *** stalled has joined #bitcoin-dev
 67 2017-05-23T05:47:44  *** matrix1233 has joined #bitcoin-dev
 68 2017-05-23T05:52:03  *** matrix1233 has quit IRC
 69 2017-05-23T06:02:04  *** Belxjander has quit IRC
 70 2017-05-23T06:04:04  *** ThomasV has quit IRC
 71 2017-05-23T06:10:30  *** Belxjander has joined #bitcoin-dev
 72 2017-05-23T06:24:26  *** Belxjander has quit IRC
 73 2017-05-23T06:27:55  *** anon616 has quit IRC
 74 2017-05-23T06:31:06  *** anon616 has joined #bitcoin-dev
 75 2017-05-23T06:31:36  *** Belxjander has joined #bitcoin-dev
 76 2017-05-23T06:34:56  *** ineb has quit IRC
 77 2017-05-23T06:36:02  *** ineb has joined #bitcoin-dev
 78 2017-05-23T06:41:39  *** matrix1233 has joined #bitcoin-dev
 79 2017-05-23T06:43:23  *** marcoagner has quit IRC
 80 2017-05-23T06:46:37  *** matrix1233 has quit IRC
 81 2017-05-23T06:48:37  *** epopt has quit IRC
 82 2017-05-23T06:50:49  *** BashCo has quit IRC
 83 2017-05-23T06:55:26  *** marcoagner has joined #bitcoin-dev
 84 2017-05-23T07:01:11  *** Belxjander has quit IRC
 85 2017-05-23T07:01:56  *** ThomasV has joined #bitcoin-dev
 86 2017-05-23T07:08:05  *** Belxjander has joined #bitcoin-dev
 87 2017-05-23T07:10:55  *** paveljanik has quit IRC
 88 2017-05-23T07:12:25  *** BashCo has joined #bitcoin-dev
 89 2017-05-23T07:17:34  *** dgenr8 has quit IRC
 90 2017-05-23T07:17:48  *** RazielZ has joined #bitcoin-dev
 91 2017-05-23T07:17:59  *** dgenr8 has joined #bitcoin-dev
 92 2017-05-23T07:18:09  *** DougieBot5000_ has joined #bitcoin-dev
 93 2017-05-23T07:20:56  *** Raziel has quit IRC
 94 2017-05-23T07:21:08  *** Belxjander has quit IRC
 95 2017-05-23T07:21:24  *** DougieBot5000 has quit IRC
 96 2017-05-23T07:23:38  *** nazarewk has joined #bitcoin-dev
 97 2017-05-23T07:27:32  *** Belxjander has joined #bitcoin-dev
 98 2017-05-23T07:28:01  *** d9b4bef9 has quit IRC
 99 2017-05-23T07:29:07  *** d9b4bef9 has joined #bitcoin-dev
100 2017-05-23T07:31:21  *** cncr04s has quit IRC
101 2017-05-23T07:33:01  *** btcdrak has joined #bitcoin-dev
102 2017-05-23T07:35:10  *** btcdrak has quit IRC
103 2017-05-23T07:35:46  *** matrix1233 has joined #bitcoin-dev
104 2017-05-23T07:36:52  *** cncr04s has joined #bitcoin-dev
105 2017-05-23T07:39:28  *** ThomasV has quit IRC
106 2017-05-23T07:40:29  *** matrix1233 has quit IRC
107 2017-05-23T07:45:17  *** McJuicy has quit IRC
108 2017-05-23T07:46:10  *** bigreddmachine has joined #bitcoin-dev
109 2017-05-23T07:51:16  *** bigreddmachine has quit IRC
110 2017-05-23T07:56:41  *** stalled has quit IRC
111 2017-05-23T08:02:43  *** ongolaBoy has joined #bitcoin-dev
112 2017-05-23T08:09:21  *** stalled has joined #bitcoin-dev
113 2017-05-23T08:15:06  *** ThomasV has joined #bitcoin-dev
114 2017-05-23T08:17:47  *** JackH has joined #bitcoin-dev
115 2017-05-23T08:22:42  *** afk11 has joined #bitcoin-dev
116 2017-05-23T08:24:52  *** jtimon has quit IRC
117 2017-05-23T08:29:51  *** matrix1233 has joined #bitcoin-dev
118 2017-05-23T08:30:08  *** iv3c has quit IRC
119 2017-05-23T08:34:25  *** matrix1233 has quit IRC
120 2017-05-23T08:36:31  *** Bjander has joined #bitcoin-dev
121 2017-05-23T08:39:28  *** Belxjander has quit IRC
122 2017-05-23T08:39:29  *** Bjander is now known as Belxjander
123 2017-05-23T08:42:52  *** Belxjander has quit IRC
124 2017-05-23T08:43:17  *** Belxjander has joined #bitcoin-dev
125 2017-05-23T08:45:03  *** czaanja_ has joined #bitcoin-dev
126 2017-05-23T08:46:04  *** fweno84 has quit IRC
127 2017-05-23T08:48:03  *** makr has quit IRC
128 2017-05-23T08:48:03  *** s7r has quit IRC
129 2017-05-23T08:48:23  *** s7r has joined #bitcoin-dev
130 2017-05-23T08:52:13  *** Belxjander has quit IRC
131 2017-05-23T08:57:52  *** BashCo has quit IRC
132 2017-05-23T08:59:16  *** Belxjander has joined #bitcoin-dev
133 2017-05-23T09:02:55  *** BashCo has joined #bitcoin-dev
134 2017-05-23T09:10:34  *** Belxjander has quit IRC
135 2017-05-23T09:12:36  *** Belxjander has joined #bitcoin-dev
136 2017-05-23T09:24:33  *** afk11 has quit IRC
137 2017-05-23T09:24:45  *** afk11 has joined #bitcoin-dev
138 2017-05-23T09:48:11  *** bigreddmachine has joined #bitcoin-dev
139 2017-05-23T09:52:51  *** bigreddmachine has quit IRC
140 2017-05-23T09:56:00  *** matrix1233 has joined #bitcoin-dev
141 2017-05-23T10:13:26  *** Guyver2 has joined #bitcoin-dev
142 2017-05-23T10:17:27  *** Belxjander has quit IRC
143 2017-05-23T10:18:09  *** airbreather_ has joined #bitcoin-dev
144 2017-05-23T10:21:13  *** airbreather has quit IRC
145 2017-05-23T10:22:52  *** Belxjander has joined #bitcoin-dev
146 2017-05-23T10:29:01  *** fweno84 has joined #bitcoin-dev
147 2017-05-23T10:30:47  *** meLon has quit IRC
148 2017-05-23T10:38:03  *** makr has joined #bitcoin-dev
149 2017-05-23T10:46:38  *** Belxjander has quit IRC
150 2017-05-23T10:48:14  *** Belxjander has joined #bitcoin-dev
151 2017-05-23T10:48:14  *** matrix1233 has quit IRC
152 2017-05-23T10:48:43  *** bigreddmachine has joined #bitcoin-dev
153 2017-05-23T10:49:15  *** matrix1233 has joined #bitcoin-dev
154 2017-05-23T10:53:41  *** bigreddmachine has quit IRC
155 2017-05-23T10:58:25  *** fweno84 has left #bitcoin-dev
156 2017-05-23T11:11:13  *** Belxjander has quit IRC
157 2017-05-23T11:11:45  *** Belxjander has joined #bitcoin-dev
158 2017-05-23T11:11:52  *** coin_trader has joined #bitcoin-dev
159 2017-05-23T11:11:56  *** ThomasV has quit IRC
160 2017-05-23T11:25:58  *** coin_trader has quit IRC
161 2017-05-23T11:26:10  *** matrix1233 has quit IRC
162 2017-05-23T11:26:50  *** matrix1233 has joined #bitcoin-dev
163 2017-05-23T11:27:09  *** coin_trader has joined #bitcoin-dev
164 2017-05-23T11:34:33  *** czaanja_ has quit IRC
165 2017-05-23T11:41:18  *** jtimon has joined #bitcoin-dev
166 2017-05-23T11:46:43  *** Belxjander has quit IRC
167 2017-05-23T11:52:26  *** Belxjander has joined #bitcoin-dev
168 2017-05-23T12:11:13  *** Belxjander has quit IRC
169 2017-05-23T12:11:49  *** BlueMatt has quit IRC
170 2017-05-23T12:11:49  *** phantomcircuit has quit IRC
171 2017-05-23T12:12:23  *** pepesza has quit IRC
172 2017-05-23T12:12:24  *** ageis has quit IRC
173 2017-05-23T12:12:25  *** meLon has joined #bitcoin-dev
174 2017-05-23T12:12:56  *** pepesza has joined #bitcoin-dev
175 2017-05-23T12:14:16  *** ThomasV has joined #bitcoin-dev
176 2017-05-23T12:14:19  *** BlueMatt has joined #bitcoin-dev
177 2017-05-23T12:14:22  *** ageis has joined #bitcoin-dev
178 2017-05-23T12:14:25  *** phantomcircuit has joined #bitcoin-dev
179 2017-05-23T12:17:00  *** Belxjander has joined #bitcoin-dev
180 2017-05-23T12:27:36  *** agricocb has quit IRC
181 2017-05-23T12:35:32  *** Belxjander has quit IRC
182 2017-05-23T12:41:39  *** Belxjander has joined #bitcoin-dev
183 2017-05-23T12:46:29  *** janko33 has joined #bitcoin-dev
184 2017-05-23T12:47:28  *** agricocb has joined #bitcoin-dev
185 2017-05-23T12:48:54  *** bigreddmachine has joined #bitcoin-dev
186 2017-05-23T12:49:23  *** goatpig has joined #bitcoin-dev
187 2017-05-23T12:50:30  *** agricocb has joined #bitcoin-dev
188 2017-05-23T12:56:05  *** janko33_ has joined #bitcoin-dev
189 2017-05-23T12:57:12  *** BashCo has quit IRC
190 2017-05-23T12:59:01  *** janko33 has quit IRC
191 2017-05-23T13:02:10  *** BashCo has joined #bitcoin-dev
192 2017-05-23T13:02:28  *** Belxjander has quit IRC
193 2017-05-23T13:03:23  *** Belxjander has joined #bitcoin-dev
194 2017-05-23T13:08:26  *** iv3c has joined #bitcoin-dev
195 2017-05-23T13:15:42  *** oleganza has joined #bitcoin-dev
196 2017-05-23T13:19:24  *** oleganza has quit IRC
197 2017-05-23T13:20:05  *** matrix1233 has quit IRC
198 2017-05-23T13:20:56  *** czaanja_ has joined #bitcoin-dev
199 2017-05-23T13:24:29  <luke-jr> kallewoof: https://github.com/bitcoin/bips/pull/538 please either do the file rename & README update, or allow me to push to your branch
200 2017-05-23T13:29:57  *** Belxjander has quit IRC
201 2017-05-23T13:35:53  *** Belxjander has joined #bitcoin-dev
202 2017-05-23T13:44:27  *** matrix1233 has joined #bitcoin-dev
203 2017-05-23T13:50:28  *** matrix1233 has quit IRC
204 2017-05-23T13:59:55  *** bugs_ has joined #bitcoin-dev
205 2017-05-23T14:00:03  *** ThomasV has quit IRC
206 2017-05-23T14:01:15  <ryan-c> Hey, can anyone point me at an example of how to construct a transaction to spend a an output to a non-standard p2sh script?
207 2017-05-23T14:03:39  *** nazarewk has quit IRC
208 2017-05-23T14:03:57  <ryan-c> luke-jr: Hey, I don't suppose you can help me with this?
209 2017-05-23T14:05:26  *** matrix1233 has joined #bitcoin-dev
210 2017-05-23T14:07:05  *** matrix1233 has joined #bitcoin-dev
211 2017-05-23T14:12:35  *** matrix1233 has quit IRC
212 2017-05-23T14:30:14  *** ineb has quit IRC
213 2017-05-23T14:35:33  *** Belxjander has quit IRC
214 2017-05-23T14:39:53  *** epopt has joined #bitcoin-dev
215 2017-05-23T14:42:25  *** Belxjander has joined #bitcoin-dev
216 2017-05-23T15:07:21  *** Belxjander has quit IRC
217 2017-05-23T15:13:15  *** Belxjander has joined #bitcoin-dev
218 2017-05-23T15:18:30  *** paveljanik has joined #bitcoin-dev
219 2017-05-23T15:22:51  *** bigreddmachine has quit IRC
220 2017-05-23T15:24:46  *** bigreddmachine has joined #bitcoin-dev
221 2017-05-23T15:30:47  *** Belxjander has quit IRC
222 2017-05-23T15:30:58  *** matrix1233 has joined #bitcoin-dev
223 2017-05-23T15:34:59  *** BashCo has quit IRC
224 2017-05-23T15:35:23  *** BashCo has joined #bitcoin-dev
225 2017-05-23T15:36:40  *** Belxjander has joined #bitcoin-dev
226 2017-05-23T15:42:18  *** bigreddmachine has quit IRC
227 2017-05-23T15:47:28  *** Belxjander has quit IRC
228 2017-05-23T15:49:07  *** abpa has joined #bitcoin-dev
229 2017-05-23T15:49:24  *** bigreddmachine has joined #bitcoin-dev
230 2017-05-23T15:49:32  *** Belxjander has joined #bitcoin-dev
231 2017-05-23T15:54:05  *** Belxjander has quit IRC
232 2017-05-23T16:02:18  *** czaanja_ has quit IRC
233 2017-05-23T16:05:05  *** matrix1233 has quit IRC
234 2017-05-23T16:06:03  *** bigreddmachine has quit IRC
235 2017-05-23T16:08:21  *** ineb has joined #bitcoin-dev
236 2017-05-23T16:13:08  *** ineb has quit IRC
237 2017-05-23T16:15:22  <BlueMatt> abpa: heh, suhas is not a fan
238 2017-05-23T16:15:26  <ryan-c> luke-jr: can you give me some help with p2sh transactions?
239 2017-05-23T16:15:31  <abpa> BlueMatt cest la vie
240 2017-05-23T16:15:35  *** BashCo has quit IRC
241 2017-05-23T16:16:00  <BlueMatt> i think its more a question of how agressive you want to be...certainly suhas is right that there are better ways we can go about segwit activation (even under uasf), but most of them require waiting for the timeout first
242 2017-05-23T16:16:23  <luke-jr> I disagree those ways are better
243 2017-05-23T16:16:35  <luke-jr> it leaves too much uncertainty for Segwit
244 2017-05-23T16:16:41  <BlueMatt> that a way which does not orphan any existing unmodified miners is not better?
245 2017-05-23T16:16:47  <abpa> It's kind of a circular argument, it's aggressive because of lack of support which is lacking because of how aggressive it is
246 2017-05-23T16:16:49  <BlueMatt> I think thats certainly better from a technical perspective
247 2017-05-23T16:17:00  <luke-jr> there is no such thing as unmodified miners ;)
248 2017-05-23T16:17:15  <abpa> Jihan clearly promises a chain split regardless
249 2017-05-23T16:17:16  <BlueMatt> abpa: only kinda, i mean there is a difference between lack of support and whether miners will, by default, mine blocks which are invalid under the proposed fork
250 2017-05-23T16:17:29  <BlueMatt> eg non-segwit miners can keep mining after segwit and will mine perfectly valid blocks
251 2017-05-23T16:17:36  <BlueMatt> which is a super nice feature
252 2017-05-23T16:17:38  <abpa> I just want some UASF, 148 or 149 or whatever
253 2017-05-23T16:18:07  <luke-jr> BlueMatt: until someone mines one malicious block, then they all follow it
254 2017-05-23T16:18:14  <abpa> Lightsword did specify that this is similar behavior to the previous soft forks that target on versioning
255 2017-05-23T16:18:45  <BlueMatt> indeed, but if you have a simple majority of miners it is much safer for miners
256 2017-05-23T16:18:56  <abpa> I do concede that a 149 style fork is "stickier" since you have the naive miners swinging to whichever side has the 50%+
257 2017-05-23T16:19:05  <luke-jr> BlueMatt: not much safer, no.
258 2017-05-23T16:19:28  <BlueMatt> to your point, luke-jr, about uncertainty, indeed, the reason I'm ok with the Lightsword proposal is because I do, personally, see the arguments about uncertainty in the ecosystem as an issue
259 2017-05-23T16:19:40  <BlueMatt> but its a question of how critical an issue you actually think things are
260 2017-05-23T16:19:50  <luke-jr> BIP 148's style is arguably safer since the non-enforcing miners get compelled to update sooner
261 2017-05-23T16:20:24  <BlueMatt> i very strongly disagree with that sentiment
262 2017-05-23T16:21:56  *** Guyver2 has quit IRC
263 2017-05-23T16:23:02  <BlueMatt> we have historically *never* taken a position that miners should be "compelled" to upgrade, if you want to compell miners, it should be by the market not wanting to pay them for their coins, not encouraging other miners to orphan them in ways that are super agressive...the Lightsword sits ok with me cause there is still a lock-in and reasonable threshold, plus the "upgrade" doesnt require segwit, only setting the version bit appropriately
264 2017-05-23T16:23:30  <BlueMatt> but, indeed, even that is a bit agressive, and I can certainly understand sdaftuar's position on it
265 2017-05-23T16:23:34  * BlueMatt -> lunch
266 2017-05-23T16:32:48  *** czaanja_ has joined #bitcoin-dev
267 2017-05-23T16:34:17  *** BashCo has joined #bitcoin-dev
268 2017-05-23T16:34:26  <Lightsword> BlueMatt, yeah I don’t really see it being fundamentally different from previous ISM forks
269 2017-05-23T17:00:12  *** WaywardSon has joined #bitcoin-dev
270 2017-05-23T17:00:57  *** ongolaBoy has quit IRC
271 2017-05-23T17:03:15  *** Wayward has quit IRC
272 2017-05-23T17:03:15  *** WaywardSon is now known as Wayward
273 2017-05-23T17:15:35  *** coin_trader has quit IRC
274 2017-05-23T17:20:48  *** bigreddmachine has joined #bitcoin-dev
275 2017-05-23T17:22:10  *** dionyziz has joined #bitcoin-dev
276 2017-05-23T17:35:51  *** cncr04s has quit IRC
277 2017-05-23T17:37:11  *** waxwing has quit IRC
278 2017-05-23T17:40:47  *** BCBot has quit IRC
279 2017-05-23T17:42:10  *** cncr04s has joined #bitcoin-dev
280 2017-05-23T17:48:25  *** bigreddmachine has quit IRC
281 2017-05-23T17:48:41  *** impulse has quit IRC
282 2017-05-23T17:49:04  *** matrix1233 has joined #bitcoin-dev
283 2017-05-23T17:51:05  *** czaanja_ has quit IRC
284 2017-05-23T17:51:20  *** nazarewk has joined #bitcoin-dev
285 2017-05-23T17:54:28  *** matrix1233 has quit IRC
286 2017-05-23T17:58:50  *** meLon has quit IRC
287 2017-05-23T17:59:00  *** LeMiner has joined #bitcoin-dev
288 2017-05-23T18:02:23  *** waxwing has joined #bitcoin-dev
289 2017-05-23T18:05:57  *** meLon has joined #bitcoin-dev
290 2017-05-23T18:16:06  *** ongolaBoy has joined #bitcoin-dev
291 2017-05-23T18:20:09  *** ohhopi has joined #bitcoin-dev
292 2017-05-23T18:20:28  *** ohhopi has left #bitcoin-dev
293 2017-05-23T18:20:44  *** bigreddmachine has joined #bitcoin-dev
294 2017-05-23T18:27:35  *** fatalhalt has quit IRC
295 2017-05-23T18:30:46  *** fatalhalt has joined #bitcoin-dev
296 2017-05-23T18:31:28  *** slimeball is now known as slimeball_
297 2017-05-23T18:31:30  *** slimeball_ is now known as slimeball__
298 2017-05-23T18:31:32  *** slimeball__ is now known as slimeball___
299 2017-05-23T18:31:34  *** slimeball___ is now known as slimeball____
300 2017-05-23T18:31:36  *** slimeball____ is now known as slimeball_____
301 2017-05-23T18:35:14  *** slimeball_____ has quit IRC
302 2017-05-23T18:36:34  *** bigreddmachine has quit IRC
303 2017-05-23T18:39:21  *** slimeball has joined #bitcoin-dev
304 2017-05-23T18:40:08  *** clopez has joined #bitcoin-dev
305 2017-05-23T18:43:25  *** iv3c has quit IRC
306 2017-05-23T18:43:57  *** iv3c has joined #bitcoin-dev
307 2017-05-23T18:53:04  *** Giszmo has quit IRC
308 2017-05-23T18:53:43  *** bigreddmachine has joined #bitcoin-dev
309 2017-05-23T18:54:03  *** Giszmo has joined #bitcoin-dev
310 2017-05-23T18:56:03  *** nazarewk has quit IRC
311 2017-05-23T18:59:43  *** bigreddmachine has quit IRC
312 2017-05-23T19:03:22  *** ThomasV has joined #bitcoin-dev
313 2017-05-23T19:06:30  *** meLon has quit IRC
314 2017-05-23T19:07:03  *** slimeball is now known as balance
315 2017-05-23T19:07:18  *** balance is now known as slimeball
316 2017-05-23T19:08:37  *** meLon has joined #bitcoin-dev
317 2017-05-23T19:25:12  *** arubi has quit IRC
318 2017-05-23T19:25:38  *** arubi has joined #bitcoin-dev
319 2017-05-23T19:30:00  <BlueMatt> Lightsword: well there is a reason we dont use ISM anymore :p
320 2017-05-23T19:51:28  *** BCBot has joined #bitcoin-dev
321 2017-05-23T20:10:22  *** matrix1233 has joined #bitcoin-dev
322 2017-05-23T20:15:04  *** matrix1233 has quit IRC
323 2017-05-23T20:19:47  *** Giszmo has quit IRC
324 2017-05-23T20:24:19  *** fatalhalt has quit IRC
325 2017-05-23T20:28:17  *** fatalhalt has joined #bitcoin-dev
326 2017-05-23T20:31:12  *** belcher has joined #bitcoin-dev
327 2017-05-23T20:33:06  *** matrix1233 has joined #bitcoin-dev
328 2017-05-23T20:40:44  *** Giszmo has joined #bitcoin-dev
329 2017-05-23T20:46:28  <arubi> ryan-c, got that tx eventually?
330 2017-05-23T20:48:28  *** matrix1233 has quit IRC
331 2017-05-23T20:48:54  *** belcher has quit IRC
332 2017-05-23T20:55:38  *** agricocb has quit IRC
333 2017-05-23T21:06:49  <ryan-c> arubi: yeah, i did
334 2017-05-23T21:07:10  <arubi> ah nice :)
335 2017-05-23T21:07:20  <ryan-c> arubi: I found some code from petertodd from python-bitcoinlib that i was able to modify to spend the output
336 2017-05-23T21:07:41  <arubi> cool, can you tell what the script was?
337 2017-05-23T21:08:32  <ryan-c> <pubkey> <four byte nonce> OP_DROP OP_CHECKSIG
338 2017-05-23T21:09:56  <arubi> okay, so what's the nonce for?
339 2017-05-23T21:10:09  <ryan-c> purely to make the hash different
340 2017-05-23T21:10:33  <ryan-c> experimenting with ways to generate lots of valid p2sh addresses at high speed
341 2017-05-23T21:10:59  <ryan-c> vanity addresses are one possible use (i know some people here hate them...)
342 2017-05-23T21:11:28  <arubi> hehe yea :),  so you're using one key 2^32 times then?
343 2017-05-23T21:11:56  <ryan-c> cycling through nonces until i get one that gives me an interesting p2sh address
344 2017-05-23T21:12:19  <ryan-c> don't have to generate a new key per address
345 2017-05-23T21:12:57  <arubi> mhm, well that would really stand out as a spend on the chain if anything
346 2017-05-23T21:13:03  <ryan-c> yes, it would
347 2017-05-23T21:13:17  <ryan-c> a 1-of-2 would be less obvious
348 2017-05-23T21:14:02  <arubi> yep, or some non activated op_csv \ cltv
349 2017-05-23T21:14:23  <arubi> that's pretty much standard and only costs you one more byte for the op.  you'd use DROP anyway
350 2017-05-23T21:14:44  <ryan-c> that gives five bytes to twiddle at the beginning of the second sha256 block
351 2017-05-23T21:15:19  <ryan-c> is there a "standard" form for csv/cltv?
352 2017-05-23T21:15:42  <ryan-c> you could generate times in the past with cltv
353 2017-05-23T21:15:45  <arubi> <pubkey> <4 byte value> <cltv\csv> <drop> <checksig> would work
354 2017-05-23T21:15:57  <arubi> or just use some sequence that doesn't activate it
355 2017-05-23T21:16:07  *** agricocb has joined #bitcoin-dev
356 2017-05-23T21:16:14  <arubi> or version 1 transactions for op_csv, that would deactivate it altogether
357 2017-05-23T21:16:46  <ryan-c> yeah, i'm writing a tool which will just insert the nonce (probably support 1 to 8 bytes) into a template
358 2017-05-23T21:16:58  *** rafaeldelucena has joined #bitcoin-dev
359 2017-05-23T21:17:01  <ryan-c> so whatever script would work
360 2017-05-23T21:17:37  <arubi> well bignum is 5 bytes maximum, so csv\cltv wouldn't work with that value (not that it matters if they don't execute)
361 2017-05-23T21:19:07  <ryan-c> the example cltv transaction i saw was <4 byte value> <cltv> <dup> <hash160> <pkh> <equalverify> <checksig>
362 2017-05-23T21:19:47  <ryan-c> yeah, it depends what one is doing
363 2017-05-23T21:19:57  <arubi> right so here it'd fail before everything starts if cltv isn't satisfied.  I think using csv is better anyway
364 2017-05-23T21:20:24  <arubi> still need to re-read the bips though, maybe some caveats I'm forgetting
365 2017-05-23T21:20:45  <ryan-c> i think if one wants to be sneaky, 1-of-2 is the way to go, otherwise just inserting the nonce somewhere and dropping it is fine
366 2017-05-23T21:21:03  <ryan-c> 1-of-2 also avoids needing a custom tool to spend
367 2017-05-23T21:21:08  <arubi> right
368 2017-05-23T21:21:23  <arubi> bleh I'm ignoring the fact that csv\cltv have to be satisfied
369 2017-05-23T21:21:23  <ryan-c> since the bitcoin rpc api doesn't seem to be able to deal with signing a non-standard p2sh transaction
370 2017-05-23T21:21:49  <ryan-c> cltv seems easier to satisfy because you can set the time in the past
371 2017-05-23T21:22:00  <arubi> yea
372 2017-05-23T21:22:38  <ryan-c> has to be above 500,000,000 and then below the current time, which is like 30 bits to play with
373 2017-05-23T21:23:29  <arubi> but still, why use vanity addresses?
374 2017-05-23T21:23:54  <arubi> or maybe it's not for daily use
375 2017-05-23T21:23:57  <ryan-c> arubi: They're fun?
376 2017-05-23T21:24:06  <arubi> ok, good enough :)
377 2017-05-23T21:24:13  <ryan-c> arubi: I have one that is 1<all lowercase>
378 2017-05-23T21:24:21  <arubi> yep, I saw that one
379 2017-05-23T21:25:11  <ryan-c> have it on my keybase profile, and sometimes use it to make "hey dumbass, i have your private key" transactions
380 2017-05-23T21:25:51  <arubi> sounds fun, oh you could write the first vanity generator for bech32, for segwit!
381 2017-05-23T21:26:03  <ryan-c> i might
382 2017-05-23T21:27:09  <ryan-c> I've mostly been working on some further research involving cracking different stuff brainflayer (i submitted a talk about this for bsideslv in july)
383 2017-05-23T21:27:30  *** meLon has quit IRC
384 2017-05-23T21:27:42  <ryan-c> The p2sh vanity generator will be a good thing to learn some GPU programming on.
385 2017-05-23T21:28:22  <arubi> neat.  I'm looking for that talk
386 2017-05-23T21:28:58  <ryan-c> the funny thing about bech32 is it's actually pretty quick to grind out a bitcoin address that matches ^[1-9A-Z]+$ allowing for smaller QR codes
387 2017-05-23T21:29:27  <abpa> ryan-c that is cool
388 2017-05-23T21:29:34  *** meLon has joined #bitcoin-dev
389 2017-05-23T21:29:34  <ryan-c> but i think the switch to using error correcting codes rather than a checksum is *fantastic*
390 2017-05-23T21:34:24  <arubi> oh man it's late..  night!
391 2017-05-23T21:34:40  <ryan-c> arubi: europe?
392 2017-05-23T21:34:50  <arubi> ME
393 2017-05-23T21:34:54  <ryan-c> ah
394 2017-05-23T21:42:10  *** ongolaBoy has quit IRC
395 2017-05-23T21:54:56  *** bugs_ has quit IRC
396 2017-05-23T22:11:49  *** ThomasV has quit IRC
397 2017-05-23T22:19:56  *** janko33_ has quit IRC
398 2017-05-23T22:24:48  *** ribasushi has quit IRC
399 2017-05-23T22:26:23  *** ThomasV has joined #bitcoin-dev
400 2017-05-23T22:29:57  *** eragmus has joined #bitcoin-dev
401 2017-05-23T22:32:18  *** ribasushi has joined #bitcoin-dev
402 2017-05-23T22:33:05  *** ThomasV has quit IRC
403 2017-05-23T22:34:38  *** twistedline has quit IRC
404 2017-05-23T22:35:27  *** twistedline has joined #bitcoin-dev
405 2017-05-23T23:06:37  *** musalbas has quit IRC
406 2017-05-23T23:07:20  *** airbreather_ has quit IRC
407 2017-05-23T23:10:47  *** airbreather has joined #bitcoin-dev
408 2017-05-23T23:21:38  *** musalbas has joined #bitcoin-dev
409 2017-05-23T23:28:48  *** rafaeldelucena has quit IRC
410 2017-05-23T23:32:34  *** oleganza has joined #bitcoin-dev
411 2017-05-23T23:38:42  *** oleganza has quit IRC
412 2017-05-23T23:57:18  *** abpa has quit IRC