1 2015-10-13T00:00:40  <dhill> can someone run decodescript 6a5451 on bitcoin core tip (last 7 days or so)
   2 2015-10-13T00:02:09  <petertodd> 9~
   3 2015-10-13T00:02:15  <petertodd> dhill: one sec
   4 2015-10-13T00:02:24  <dhill> yes, with your nulldata changes
   5 2015-10-13T00:02:31  <dhill> is that nonstandard or nulldata
   6 2015-10-13T00:02:56  <petertodd> dhill: nulldata
   7 2015-10-13T00:03:10  *** Texploit has joined #bitcoin-dev
   8 2015-10-13T00:03:12  <petertodd> dhill: numeric pushes are nulldata
   9 2015-10-13T00:03:22  <petertodd> dhill: I mean, like OP_1, OP_4, etc.
  10 2015-10-13T00:03:24  <dhill> sweet, so my tests are good
  11 2015-10-13T00:03:45  <dhill> it was nonstandard before your changes, yes?
  12 2015-10-13T00:03:45  *** Ogig has quit IRC
  13 2015-10-13T00:03:50  <petertodd> dhill: yup
  14 2015-10-13T00:03:55  <dhill> nice
  15 2015-10-13T00:04:08  <petertodd> dhill: well, at least if you had two of them, one numeric constant push was standard for obscure reasons
  16 2015-10-13T00:04:16  *** Texploit has quit IRC
  17 2015-10-13T00:04:21  *** Ogig has joined #bitcoin-dev
  18 2015-10-13T00:05:03  *** btc_panhandler has quit IRC
  19 2015-10-13T00:06:43  *** patcon has quit IRC
  20 2015-10-13T00:06:45  *** meLon has quit IRC
  21 2015-10-13T00:08:16  *** meLon has joined #bitcoin-dev
  22 2015-10-13T00:14:01  *** bendavenport has quit IRC
  23 2015-10-13T00:27:40  *** antizionist__ has quit IRC
  24 2015-10-13T00:32:06  *** idosedthekoolaid has joined #bitcoin-dev
  25 2015-10-13T00:33:42  *** airbreather has joined #bitcoin-dev
  26 2015-10-13T00:34:14  *** Ylbam has quit IRC
  27 2015-10-13T00:42:19  *** jtimon has quit IRC
  28 2015-10-13T00:43:42  *** nadio has quit IRC
  29 2015-10-13T00:43:54  *** nadio has joined #bitcoin-dev
  30 2015-10-13T00:43:54  *** nadio has joined #bitcoin-dev
  31 2015-10-13T00:45:07  *** alpalp has joined #bitcoin-dev
  32 2015-10-13T00:48:09  *** stapler117 has quit IRC
  33 2015-10-13T00:50:01  *** rnvk has joined #bitcoin-dev
  34 2015-10-13T00:50:15  *** stapler117 has joined #bitcoin-dev
  35 2015-10-13T00:50:26  *** DougieBot5000 has joined #bitcoin-dev
  36 2015-10-13T00:54:54  *** wraithm has joined #bitcoin-dev
  37 2015-10-13T00:56:45  *** rnvk has quit IRC
  38 2015-10-13T00:59:50  *** wraithm has quit IRC
  39 2015-10-13T01:04:28  *** jl2012_ has joined #bitcoin-dev
  40 2015-10-13T01:05:04  *** jl2012 has quit IRC
  41 2015-10-13T01:06:31  *** Texploit has joined #bitcoin-dev
  42 2015-10-13T01:07:23  *** jamesob has quit IRC
  43 2015-10-13T01:10:44  *** Texploit has quit IRC
  44 2015-10-13T01:17:49  *** tlrobinson_ has joined #bitcoin-dev
  45 2015-10-13T01:17:54  *** AaronvanW has quit IRC
  46 2015-10-13T01:18:46  *** tlrobinson_ has quit IRC
  47 2015-10-13T01:20:35  *** tlrobinson has quit IRC
  48 2015-10-13T01:21:11  *** brson has quit IRC
  49 2015-10-13T01:28:37  *** nwilcox has quit IRC
  50 2015-10-13T01:29:39  *** rolandnsharp has quit IRC
  51 2015-10-13T01:29:58  *** rolandnsharp has joined #bitcoin-dev
  52 2015-10-13T01:32:17  *** Burrito has joined #bitcoin-dev
  53 2015-10-13T01:34:44  *** aburan28 has joined #bitcoin-dev
  54 2015-10-13T01:35:14  *** EdBosher has joined #bitcoin-dev
  55 2015-10-13T01:37:24  *** stapler117 is now known as stapler_werk
  56 2015-10-13T01:38:37  *** Texploit has joined #bitcoin-dev
  57 2015-10-13T01:39:46  *** sword_smith has quit IRC
  58 2015-10-13T01:40:30  *** sword_smith has joined #bitcoin-dev
  59 2015-10-13T01:45:14  *** belcher has quit IRC
  60 2015-10-13T01:46:02  *** rnvk has joined #bitcoin-dev
  61 2015-10-13T01:46:08  *** rnvk has left #bitcoin-dev
  62 2015-10-13T01:46:22  *** Cryo has joined #bitcoin-dev
  63 2015-10-13T01:46:22  *** Cryo has joined #bitcoin-dev
  64 2015-10-13T01:57:26  *** Dr-G has quit IRC
  65 2015-10-13T01:57:26  *** Dr-G2 has joined #bitcoin-dev
  66 2015-10-13T02:01:00  *** bedeho has quit IRC
  67 2015-10-13T02:02:18  *** d_t has quit IRC
  68 2015-10-13T02:05:17  *** notj has joined #bitcoin-dev
  69 2015-10-13T02:09:50  *** Ogig has quit IRC
  70 2015-10-13T02:10:39  *** saivann has quit IRC
  71 2015-10-13T02:11:55  *** notj has quit IRC
  72 2015-10-13T02:12:35  *** d_t has joined #bitcoin-dev
  73 2015-10-13T02:12:39  *** d_t has quit IRC
  74 2015-10-13T02:13:12  *** d_t has joined #bitcoin-dev
  75 2015-10-13T02:16:34  *** notj has joined #bitcoin-dev
  76 2015-10-13T02:17:19  *** Jaume has joined #bitcoin-dev
  77 2015-10-13T02:18:43  *** notj has quit IRC
  78 2015-10-13T02:21:21  *** notj has joined #bitcoin-dev
  79 2015-10-13T02:29:38  *** notj has quit IRC
  80 2015-10-13T02:29:49  *** blackjid has quit IRC
  81 2015-10-13T02:30:14  *** blackjid has joined #bitcoin-dev
  82 2015-10-13T02:30:36  *** Subo1977 has joined #bitcoin-dev
  83 2015-10-13T02:32:30  *** Subo1977_ has quit IRC
  84 2015-10-13T02:35:45  *** notj has joined #bitcoin-dev
  85 2015-10-13T02:38:44  *** Texploit has quit IRC
  86 2015-10-13T02:39:26  *** notj has quit IRC
  87 2015-10-13T02:46:05  *** Texploit has joined #bitcoin-dev
  88 2015-10-13T02:49:13  *** pooler has quit IRC
  89 2015-10-13T02:53:56  *** bedeho has joined #bitcoin-dev
  90 2015-10-13T02:54:31  *** roconnor has joined #bitcoin-dev
  91 2015-10-13T02:54:32  *** c0rw1n is now known as c0rw|zZz
  92 2015-10-13T02:59:38  *** moli has joined #bitcoin-dev
  93 2015-10-13T03:00:01  *** notj has joined #bitcoin-dev
  94 2015-10-13T03:01:33  *** pooler has joined #bitcoin-dev
  95 2015-10-13T03:02:39  *** molly has quit IRC
  96 2015-10-13T03:18:27  *** notj has quit IRC
  97 2015-10-13T03:18:54  *** sparetire_ has quit IRC
  98 2015-10-13T03:29:07  *** molly has joined #bitcoin-dev
  99 2015-10-13T03:30:53  *** TheSeven has quit IRC
 100 2015-10-13T03:31:06  *** [7] has joined #bitcoin-dev
 101 2015-10-13T03:32:19  *** moli has quit IRC
 102 2015-10-13T03:39:05  *** moli has joined #bitcoin-dev
 103 2015-10-13T03:41:59  *** molly has quit IRC
 104 2015-10-13T03:42:00  *** c-cex-yuriy has quit IRC
 105 2015-10-13T03:44:01  *** tripleslash has joined #bitcoin-dev
 106 2015-10-13T03:49:29  *** romonster has quit IRC
 107 2015-10-13T03:49:37  *** romonster has joined #bitcoin-dev
 108 2015-10-13T03:51:59  *** opal has joined #bitcoin-dev
 109 2015-10-13T03:54:22  *** _tmh has joined #bitcoin-dev
 110 2015-10-13T03:55:07  *** Jaume has quit IRC
 111 2015-10-13T03:55:34  *** Jaume has joined #bitcoin-dev
 112 2015-10-13T03:57:06  *** molly has joined #bitcoin-dev
 113 2015-10-13T03:59:59  *** moli has quit IRC
 114 2015-10-13T04:01:00  *** Jaume__ has joined #bitcoin-dev
 115 2015-10-13T04:01:54  *** NewLiberty has joined #bitcoin-dev
 116 2015-10-13T04:02:08  *** opal has left #bitcoin-dev
 117 2015-10-13T04:02:41  *** NewLiberty_ has joined #bitcoin-dev
 118 2015-10-13T04:04:23  *** Jaume has quit IRC
 119 2015-10-13T04:19:38  *** baldur has quit IRC
 120 2015-10-13T04:21:09  *** baldur has joined #bitcoin-dev
 121 2015-10-13T04:27:38  *** EdBosher has quit IRC
 122 2015-10-13T04:30:10  *** dustinm has quit IRC
 123 2015-10-13T04:35:38  *** dustinm has joined #bitcoin-dev
 124 2015-10-13T04:40:00  *** MRW has quit IRC
 125 2015-10-13T04:40:27  *** n0n0__ has joined #bitcoin-dev
 126 2015-10-13T04:41:23  *** [7] has quit IRC
 127 2015-10-13T04:41:50  *** romonster has quit IRC
 128 2015-10-13T04:42:01  *** romonster has joined #bitcoin-dev
 129 2015-10-13T04:42:27  *** [lewellyn] has quit IRC
 130 2015-10-13T04:43:44  *** TheSeven has joined #bitcoin-dev
 131 2015-10-13T04:46:51  *** MRW has joined #bitcoin-dev
 132 2015-10-13T04:48:49  *** lewellyn has joined #bitcoin-dev
 133 2015-10-13T04:50:05  *** Jaume__ has quit IRC
 134 2015-10-13T04:50:46  *** roconnor has quit IRC
 135 2015-10-13T04:53:16  *** CodeShark_ has joined #bitcoin-dev
 136 2015-10-13T04:58:08  *** nivah has joined #bitcoin-dev
 137 2015-10-13T04:58:35  *** CodeShark has quit IRC
 138 2015-10-13T04:58:42  *** CodeShark_ has quit IRC
 139 2015-10-13T04:58:52  *** CodeShark has joined #bitcoin-dev
 140 2015-10-13T04:59:38  *** romonster has quit IRC
 141 2015-10-13T04:59:55  *** Texploit has quit IRC
 142 2015-10-13T05:01:33  *** lewellyn has quit IRC
 143 2015-10-13T05:03:34  *** missmogg has quit IRC
 144 2015-10-13T05:06:09  *** romonster has joined #bitcoin-dev
 145 2015-10-13T05:07:27  *** Guest45978 has quit IRC
 146 2015-10-13T05:08:17  *** pigeons has joined #bitcoin-dev
 147 2015-10-13T05:08:41  *** pigeons is now known as Guest60571
 148 2015-10-13T05:11:17  *** romonster has quit IRC
 149 2015-10-13T05:12:18  *** _tmh has quit IRC
 150 2015-10-13T05:13:31  *** publius1888 has quit IRC
 151 2015-10-13T05:13:38  *** publius1788 has joined #bitcoin-dev
 152 2015-10-13T05:16:00  *** aburan28 has quit IRC
 153 2015-10-13T05:19:07  *** jmcn_ has quit IRC
 154 2015-10-13T05:19:38  *** n0n0__ has quit IRC
 155 2015-10-13T05:20:49  *** jmcn has joined #bitcoin-dev
 156 2015-10-13T05:23:11  *** _yoy_ has joined #bitcoin-dev
 157 2015-10-13T05:24:25  *** neozaru has joined #bitcoin-dev
 158 2015-10-13T05:24:59  *** YoY has quit IRC
 159 2015-10-13T05:35:02  *** hardyred has quit IRC
 160 2015-10-13T05:35:07  *** rsuty_ has joined #bitcoin-dev
 161 2015-10-13T05:36:13  *** d_t has quit IRC
 162 2015-10-13T05:37:02  *** majurg has joined #bitcoin-dev
 163 2015-10-13T05:37:14  *** YoY has joined #bitcoin-dev
 164 2015-10-13T05:40:59  *** _yoy_ has quit IRC
 165 2015-10-13T05:44:57  *** d_t has joined #bitcoin-dev
 166 2015-10-13T05:45:06  *** Beef has quit IRC
 167 2015-10-13T05:46:05  *** cubicearth has joined #bitcoin-dev
 168 2015-10-13T05:46:58  *** romonster has joined #bitcoin-dev
 169 2015-10-13T05:47:06  *** Beef has joined #bitcoin-dev
 170 2015-10-13T05:49:49  *** lewellyn has joined #bitcoin-dev
 171 2015-10-13T05:53:51  *** missmogg has joined #bitcoin-dev
 172 2015-10-13T05:54:15  *** supasonic has quit IRC
 173 2015-10-13T05:59:03  *** ThomasV has joined #bitcoin-dev
 174 2015-10-13T06:01:51  *** Ducky- has joined #bitcoin-dev
 175 2015-10-13T06:04:40  *** Ylbam has joined #bitcoin-dev
 176 2015-10-13T06:09:38  *** mjerr has joined #bitcoin-dev
 177 2015-10-13T06:23:14  *** stonecoldpat1 has joined #bitcoin-dev
 178 2015-10-13T06:24:02  *** altgribble` has joined #bitcoin-dev
 179 2015-10-13T06:24:31  *** pepesza has joined #bitcoin-dev
 180 2015-10-13T06:24:48  *** jl2012 has joined #bitcoin-dev
 181 2015-10-13T06:25:32  *** altgribble has quit IRC
 182 2015-10-13T06:25:32  *** Apocalyptic has quit IRC
 183 2015-10-13T06:25:32  *** jl2012_ has quit IRC
 184 2015-10-13T06:25:33  *** jrick_ has quit IRC
 185 2015-10-13T06:25:33  *** Keefe has quit IRC
 186 2015-10-13T06:25:33  *** stonecoldpat has quit IRC
 187 2015-10-13T06:25:33  *** Subo1977 has quit IRC
 188 2015-10-13T06:25:33  *** shurnormal has quit IRC
 189 2015-10-13T06:25:34  *** OxADADA has quit IRC
 190 2015-10-13T06:25:34  *** DrHaribo has quit IRC
 191 2015-10-13T06:25:34  *** mm_1 has quit IRC
 192 2015-10-13T06:25:34  *** arhuaco has quit IRC
 193 2015-10-13T06:25:34  *** RBecker has quit IRC
 194 2015-10-13T06:25:43  *** Subo1977 has joined #bitcoin-dev
 195 2015-10-13T06:25:44  *** rdymac has joined #bitcoin-dev
 196 2015-10-13T06:26:09  *** jrick has joined #bitcoin-dev
 197 2015-10-13T06:26:12  *** DrHaribo has joined #bitcoin-dev
 198 2015-10-13T06:26:12  *** DrHaribo has joined #bitcoin-dev
 199 2015-10-13T06:26:23  *** rnvk has joined #bitcoin-dev
 200 2015-10-13T06:26:42  *** RBecker has joined #bitcoin-dev
 201 2015-10-13T06:26:50  *** Apocalyptic has joined #bitcoin-dev
 202 2015-10-13T06:26:58  *** OxADADA has joined #bitcoin-dev
 203 2015-10-13T06:27:07  *** shurnormal has joined #bitcoin-dev
 204 2015-10-13T06:27:09  *** Keefe has joined #bitcoin-dev
 205 2015-10-13T06:27:29  *** arhuaco has joined #bitcoin-dev
 206 2015-10-13T06:27:35  *** mm_1 has joined #bitcoin-dev
 207 2015-10-13T06:30:27  *** EdBosher has joined #bitcoin-dev
 208 2015-10-13T06:31:24  *** majurg has quit IRC
 209 2015-10-13T06:33:05  *** pepesza_ has joined #bitcoin-dev
 210 2015-10-13T06:35:35  *** NewLiberty_ has quit IRC
 211 2015-10-13T06:35:39  *** pepesza has quit IRC
 212 2015-10-13T06:36:14  *** neozaru has quit IRC
 213 2015-10-13T06:37:48  *** Dr-G2 has quit IRC
 214 2015-10-13T06:43:47  *** stapler_werk is now known as stapler117
 215 2015-10-13T06:55:05  *** _tmh has joined #bitcoin-dev
 216 2015-10-13T06:59:40  *** Guest73396 has joined #bitcoin-dev
 217 2015-10-13T07:00:22  *** antizionist__ has joined #bitcoin-dev
 218 2015-10-13T07:02:24  *** SteamPoweredH has quit IRC
 219 2015-10-13T07:08:48  *** ThomasV has quit IRC
 220 2015-10-13T07:10:38  *** DougieBot5000 has quit IRC
 221 2015-10-13T07:23:18  *** Klumben has quit IRC
 222 2015-10-13T07:26:22  *** damethos has joined #bitcoin-dev
 223 2015-10-13T07:27:06  *** paulo_ has joined #bitcoin-dev
 224 2015-10-13T07:27:50  <paulo_> if I wanted to write an altcoin from scratch with just the bare essentials, is there anything I should be wary of?
 225 2015-10-13T07:28:08  <paulo_> I have a mostly complete understanding of how bitcoin works
 226 2015-10-13T07:28:34  *** StormDev has joined #bitcoin-dev
 227 2015-10-13T07:28:43  <midnightmagic> paulo_: Yes, altcoins are offtopic in a good chunk of the #bitcoin* hierarchy.
 228 2015-10-13T07:28:56  <paulo_> but stuff like spam protection and security edge cases are where i'm lacking
 229 2015-10-13T07:29:38  <paulo_> oh ok. thanks though
 230 2015-10-13T07:30:24  *** dkog has quit IRC
 231 2015-10-13T07:32:20  *** rsuty_ has quit IRC
 232 2015-10-13T07:32:32  *** rsuty_ has joined #bitcoin-dev
 233 2015-10-13T07:35:28  *** Dr-G has joined #bitcoin-dev
 234 2015-10-13T07:36:31  *** dkog has joined #bitcoin-dev
 235 2015-10-13T07:38:33  *** NewLiberty has quit IRC
 236 2015-10-13T07:40:03  *** ParadoxSpiral has joined #bitcoin-dev
 237 2015-10-13T07:40:47  *** ParadoxSpiral_ has quit IRC
 238 2015-10-13T07:42:11  *** trippysalmon has joined #bitcoin-dev
 239 2015-10-13T07:45:19  *** Palsson has joined #bitcoin-dev
 240 2015-10-13T07:45:42  *** AtashiCon has quit IRC
 241 2015-10-13T07:45:52  *** SteamPoweredH has joined #bitcoin-dev
 242 2015-10-13T07:50:01  *** gill3s has joined #bitcoin-dev
 243 2015-10-13T07:51:34  *** Steam_Powered_H has joined #bitcoin-dev
 244 2015-10-13T07:51:51  *** SteamPoweredH has quit IRC
 245 2015-10-13T07:54:20  *** AtashiCon has joined #bitcoin-dev
 246 2015-10-13T07:55:50  *** CoinMuncher has joined #bitcoin-dev
 247 2015-10-13T07:57:20  *** Grouver has joined #bitcoin-dev
 248 2015-10-13T07:57:53  *** ThomasV has joined #bitcoin-dev
 249 2015-10-13T07:59:26  *** IAmNotDorian has joined #bitcoin-dev
 250 2015-10-13T08:00:03  *** tarantillo_ has quit IRC
 251 2015-10-13T08:00:20  *** tarantillo_ has joined #bitcoin-dev
 252 2015-10-13T08:03:29  *** Grouver has quit IRC
 253 2015-10-13T08:06:18  *** Grouver has joined #bitcoin-dev
 254 2015-10-13T08:08:13  *** IAmNotDorian has quit IRC
 255 2015-10-13T08:08:20  *** IAmNotDorian has joined #bitcoin-dev
 256 2015-10-13T08:08:55  *** d_t has quit IRC
 257 2015-10-13T08:09:17  *** damethos has quit IRC
 258 2015-10-13T08:13:23  *** fanquake has joined #bitcoin-dev
 259 2015-10-13T08:15:10  *** kadoban has quit IRC
 260 2015-10-13T08:30:51  *** melvster has quit IRC
 261 2015-10-13T08:36:46  *** fanquake1 has joined #bitcoin-dev
 262 2015-10-13T08:40:04  *** n0n0__ has joined #bitcoin-dev
 263 2015-10-13T08:41:38  *** Keefe_ has joined #bitcoin-dev
 264 2015-10-13T08:41:46  *** sneak has quit IRC
 265 2015-10-13T08:44:57  *** melvster has joined #bitcoin-dev
 266 2015-10-13T08:45:52  *** fanquake has quit IRC
 267 2015-10-13T08:45:52  *** Keefe has quit IRC
 268 2015-10-13T08:57:01  *** Steam_Powered_H has quit IRC
 269 2015-10-13T08:57:28  *** SteamPoweredH has joined #bitcoin-dev
 270 2015-10-13T09:03:45  *** AaronvanW has joined #bitcoin-dev
 271 2015-10-13T09:10:47  *** rdymac has quit IRC
 272 2015-10-13T09:21:13  *** one_zero has quit IRC
 273 2015-10-13T09:22:27  *** damethos has joined #bitcoin-dev
 274 2015-10-13T09:28:59  *** moa has joined #bitcoin-dev
 275 2015-10-13T09:29:35  *** Guest73396 has quit IRC
 276 2015-10-13T09:30:43  *** Arnavion has quit IRC
 277 2015-10-13T09:31:12  *** AtashiCon has quit IRC
 278 2015-10-13T09:32:23  *** AtashiCon has joined #bitcoin-dev
 279 2015-10-13T09:32:31  *** Arnavion has joined #bitcoin-dev
 280 2015-10-13T09:41:39  *** Steam_Powered_H has joined #bitcoin-dev
 281 2015-10-13T09:41:51  *** SteamPoweredH has quit IRC
 282 2015-10-13T09:51:21  *** bedeho has quit IRC
 283 2015-10-13T09:51:34  *** CheckDavid has joined #bitcoin-dev
 284 2015-10-13T09:53:51  *** nsh has quit IRC
 285 2015-10-13T09:58:08  *** binaryFateCloud has joined #bitcoin-dev
 286 2015-10-13T10:00:21  *** binaryFateCloud has quit IRC
 287 2015-10-13T10:00:42  *** binaryFateCloud has joined #bitcoin-dev
 288 2015-10-13T10:03:12  *** nsh has joined #bitcoin-dev
 289 2015-10-13T10:04:58  *** prosody has quit IRC
 290 2015-10-13T10:05:58  *** prosody has joined #bitcoin-dev
 291 2015-10-13T10:19:42  *** rdymac has joined #bitcoin-dev
 292 2015-10-13T10:20:15  *** c-cex-yuriy has joined #bitcoin-dev
 293 2015-10-13T10:24:42  *** melvster has quit IRC
 294 2015-10-13T10:28:08  *** Belxjander has quit IRC
 295 2015-10-13T10:29:38  *** EdBosher has quit IRC
 296 2015-10-13T10:30:07  *** Belxjander has joined #bitcoin-dev
 297 2015-10-13T10:35:29  *** benrcole has joined #bitcoin-dev
 298 2015-10-13T10:35:57  *** AtashiCon has quit IRC
 299 2015-10-13T10:36:06  *** Arnavion has quit IRC
 300 2015-10-13T10:37:09  *** AtashiCon has joined #bitcoin-dev
 301 2015-10-13T10:37:19  *** Arnavion has joined #bitcoin-dev
 302 2015-10-13T10:38:15  *** dgenr8 has quit IRC
 303 2015-10-13T10:38:39  *** dgenr8 has joined #bitcoin-dev
 304 2015-10-13T10:38:57  *** melvster has joined #bitcoin-dev
 305 2015-10-13T10:42:36  *** _tmh has quit IRC
 306 2015-10-13T10:42:36  *** benrcole has quit IRC
 307 2015-10-13T10:42:41  *** ThomasV has quit IRC
 308 2015-10-13T10:42:52  *** benrcole has joined #bitcoin-dev
 309 2015-10-13T10:47:40  *** Palsson has quit IRC
 310 2015-10-13T10:55:32  *** allah_ has joined #bitcoin-dev
 311 2015-10-13T10:56:59  *** allah has joined #bitcoin-dev
 312 2015-10-13T11:02:53  *** c0rw|zZz is now known as c0rw1n
 313 2015-10-13T11:03:24  *** Palsson has joined #bitcoin-dev
 314 2015-10-13T11:13:07  *** JWU42 has quit IRC
 315 2015-10-13T11:27:33  *** copumpkin has joined #bitcoin-dev
 316 2015-10-13T11:30:23  *** ss1891 has joined #bitcoin-dev
 317 2015-10-13T11:32:40  *** JWU42 has joined #bitcoin-dev
 318 2015-10-13T11:32:55  *** StormDev has quit IRC
 319 2015-10-13T11:33:21  *** StormDev has joined #bitcoin-dev
 320 2015-10-13T11:39:50  *** copumpkin has quit IRC
 321 2015-10-13T11:44:25  *** EdBosher has joined #bitcoin-dev
 322 2015-10-13T11:49:16  *** ThomasV has joined #bitcoin-dev
 323 2015-10-13T12:01:50  *** jtimon has joined #bitcoin-dev
 324 2015-10-13T12:02:32  *** airbreather has quit IRC
 325 2015-10-13T12:03:26  *** agricocb has quit IRC
 326 2015-10-13T12:08:41  *** cryptapus_ has joined #bitcoin-dev
 327 2015-10-13T12:08:41  *** cryptapus_ has joined #bitcoin-dev
 328 2015-10-13T12:09:28  *** nelisky has joined #bitcoin-dev
 329 2015-10-13T12:11:02  *** porquilho has joined #bitcoin-dev
 330 2015-10-13T12:17:06  *** moli has joined #bitcoin-dev
 331 2015-10-13T12:19:59  *** molly has quit IRC
 332 2015-10-13T12:21:11  *** wjh has left #bitcoin-dev
 333 2015-10-13T12:24:06  *** akrmn has quit IRC
 334 2015-10-13T12:27:41  *** akrmn has joined #bitcoin-dev
 335 2015-10-13T12:31:16  *** Syntax360 has left #bitcoin-dev
 336 2015-10-13T12:34:54  *** Guest73396 has joined #bitcoin-dev
 337 2015-10-13T12:35:48  *** mjerr has quit IRC
 338 2015-10-13T12:35:50  *** agricocb has joined #bitcoin-dev
 339 2015-10-13T12:36:19  *** tawster_ has joined #bitcoin-dev
 340 2015-10-13T12:38:42  *** rnvk has quit IRC
 341 2015-10-13T12:39:03  *** rnvk has joined #bitcoin-dev
 342 2015-10-13T12:41:39  *** nivah has quit IRC
 343 2015-10-13T12:42:46  *** ss1891 has quit IRC
 344 2015-10-13T12:45:21  *** leakypat has joined #bitcoin-dev
 345 2015-10-13T12:48:37  *** Texploit has joined #bitcoin-dev
 346 2015-10-13T12:49:34  *** leakypat has quit IRC
 347 2015-10-13T12:49:37  *** Dr-G has quit IRC
 348 2015-10-13T12:56:38  *** airbreather has joined #bitcoin-dev
 349 2015-10-13T12:58:27  *** Dr-G has joined #bitcoin-dev
 350 2015-10-13T12:58:27  *** Dr-G has joined #bitcoin-dev
 351 2015-10-13T13:00:08  *** ThomasV has quit IRC
 352 2015-10-13T13:07:00  *** InternetFriend has joined #bitcoin-dev
 353 2015-10-13T13:07:38  *** InternetFriend has quit IRC
 354 2015-10-13T13:09:24  *** InternetFriend has joined #bitcoin-dev
 355 2015-10-13T13:09:34  *** Steam_Powered_H has quit IRC
 356 2015-10-13T13:10:01  *** SteamPoweredH has joined #bitcoin-dev
 357 2015-10-13T13:11:40  *** benrcole has quit IRC
 358 2015-10-13T13:17:36  *** benrcole has joined #bitcoin-dev
 359 2015-10-13T13:17:54  *** pooler has quit IRC
 360 2015-10-13T13:20:09  *** Tebbo has quit IRC
 361 2015-10-13T13:24:24  *** nelisky has quit IRC
 362 2015-10-13T13:26:47  *** rnvk has left #bitcoin-dev
 363 2015-10-13T13:28:14  *** tantalum has joined #bitcoin-dev
 364 2015-10-13T13:29:13  *** ThomasKeller has quit IRC
 365 2015-10-13T13:29:48  *** ThomasKeller has joined #bitcoin-dev
 366 2015-10-13T13:32:11  *** ThomasV has joined #bitcoin-dev
 367 2015-10-13T13:35:03  *** InternetFriend has quit IRC
 368 2015-10-13T13:36:07  *** pooler has joined #bitcoin-dev
 369 2015-10-13T13:36:43  *** mjerr has joined #bitcoin-dev
 370 2015-10-13T13:37:05  *** InternetFriend has joined #bitcoin-dev
 371 2015-10-13T13:37:56  *** Palsson has quit IRC
 372 2015-10-13T13:41:06  *** mjerr has quit IRC
 373 2015-10-13T13:41:40  *** InternetFriend has quit IRC
 374 2015-10-13T13:43:07  *** AaronvanW has quit IRC
 375 2015-10-13T13:44:09  *** paulo_ has quit IRC
 376 2015-10-13T13:45:10  *** InternetFriend has joined #bitcoin-dev
 377 2015-10-13T13:47:52  *** InternetFriend has quit IRC
 378 2015-10-13T13:48:59  *** sparetire_ has joined #bitcoin-dev
 379 2015-10-13T13:49:33  *** Palsson has joined #bitcoin-dev
 380 2015-10-13T13:51:24  *** InternetFriend has joined #bitcoin-dev
 381 2015-10-13T13:53:23  *** CheckDavid has quit IRC
 382 2015-10-13T13:55:50  *** roconnor has joined #bitcoin-dev
 383 2015-10-13T13:56:34  *** nelisky has joined #bitcoin-dev
 384 2015-10-13T13:57:35  *** InternetFriend has quit IRC
 385 2015-10-13T13:59:14  *** Texploit has quit IRC
 386 2015-10-13T13:59:50  *** AaronvanW has joined #bitcoin-dev
 387 2015-10-13T14:01:20  *** mjerr has joined #bitcoin-dev
 388 2015-10-13T14:03:26  *** zooko has joined #bitcoin-dev
 389 2015-10-13T14:04:57  *** btc_panhandler has joined #bitcoin-dev
 390 2015-10-13T14:10:09  *** zooko has quit IRC
 391 2015-10-13T14:11:15  *** damethos has quit IRC
 392 2015-10-13T14:11:43  *** jcv has quit IRC
 393 2015-10-13T14:15:15  *** jcv has joined #bitcoin-dev
 394 2015-10-13T14:15:57  *** roconnor has quit IRC
 395 2015-10-13T14:16:41  *** CheckDavid has joined #bitcoin-dev
 396 2015-10-13T14:19:24  *** binaryFateCloud has quit IRC
 397 2015-10-13T14:19:45  *** binaryFateCloud has joined #bitcoin-dev
 398 2015-10-13T14:20:51  *** Jaume has joined #bitcoin-dev
 399 2015-10-13T14:22:29  *** notj has joined #bitcoin-dev
 400 2015-10-13T14:24:16  *** zooko has joined #bitcoin-dev
 401 2015-10-13T14:29:33  *** DougieBot5000 has joined #bitcoin-dev
 402 2015-10-13T14:30:20  *** Texploit has joined #bitcoin-dev
 403 2015-10-13T14:34:26  *** damethos has joined #bitcoin-dev
 404 2015-10-13T14:39:06  *** SteamPoweredH has quit IRC
 405 2015-10-13T14:39:19  *** SteamPoweredH has joined #bitcoin-dev
 406 2015-10-13T14:39:59  *** DatBeeDoe has joined #bitcoin-dev
 407 2015-10-13T14:42:36  *** DatBeeDoe has quit IRC
 408 2015-10-13T14:43:15  *** lysobit has quit IRC
 409 2015-10-13T14:44:40  *** Guyver2 has joined #bitcoin-dev
 410 2015-10-13T14:51:09  *** InternetFriend has joined #bitcoin-dev
 411 2015-10-13T14:52:39  *** fkhan has quit IRC
 412 2015-10-13T14:54:02  *** nwilcox has joined #bitcoin-dev
 413 2015-10-13T14:54:03  *** nelisky has quit IRC
 414 2015-10-13T14:55:19  *** tawster_ is now known as tawar
 415 2015-10-13T14:57:28  *** notj has quit IRC
 416 2015-10-13T14:57:59  *** MrHodl has joined #bitcoin-dev
 417 2015-10-13T14:58:41  *** YoY has quit IRC
 418 2015-10-13T14:58:56  *** fanquake1 has quit IRC
 419 2015-10-13T15:01:08  *** InternetFriend has quit IRC
 420 2015-10-13T15:01:51  *** bsm1175321 has joined #bitcoin-dev
 421 2015-10-13T15:02:36  *** Palsson has quit IRC
 422 2015-10-13T15:02:47  *** d_t has joined #bitcoin-dev
 423 2015-10-13T15:03:22  *** InternetFriend has joined #bitcoin-dev
 424 2015-10-13T15:04:56  *** owlhooter has quit IRC
 425 2015-10-13T15:05:18  *** fkhan has joined #bitcoin-dev
 426 2015-10-13T15:08:02  *** karelk has quit IRC
 427 2015-10-13T15:08:43  *** InternetFriend has quit IRC
 428 2015-10-13T15:09:56  *** damethos has quit IRC
 429 2015-10-13T15:10:24  *** damethos has joined #bitcoin-dev
 430 2015-10-13T15:11:54  *** InternetFriend has joined #bitcoin-dev
 431 2015-10-13T15:12:38  *** benrcole has quit IRC
 432 2015-10-13T15:13:13  *** shurnormal_ has joined #bitcoin-dev
 433 2015-10-13T15:13:59  *** shurnormal has quit IRC
 434 2015-10-13T15:18:01  *** SteamPoweredH has quit IRC
 435 2015-10-13T15:18:26  *** SteamPoweredH has joined #bitcoin-dev
 436 2015-10-13T15:25:20  *** noobfikt has quit IRC
 437 2015-10-13T15:26:35  *** zooko has quit IRC
 438 2015-10-13T15:28:19  *** StormDev has quit IRC
 439 2015-10-13T15:28:56  *** ItSANgo has quit IRC
 440 2015-10-13T15:35:49  *** c0rw1n is now known as c0rw|away
 441 2015-10-13T15:36:41  *** ItSANgo has joined #bitcoin-dev
 442 2015-10-13T15:37:02  *** closer has quit IRC
 443 2015-10-13T15:37:19  *** CodeShark_ has joined #bitcoin-dev
 444 2015-10-13T15:37:48  *** closer has joined #bitcoin-dev
 445 2015-10-13T15:38:39  *** CodeShark_ has quit IRC
 446 2015-10-13T15:38:50  *** CodeShark_ has joined #bitcoin-dev
 447 2015-10-13T15:39:01  *** CodeShark has quit IRC
 448 2015-10-13T15:39:09  *** CodeShark_ has quit IRC
 449 2015-10-13T15:39:19  *** CodeShark has joined #bitcoin-dev
 450 2015-10-13T15:39:30  *** paveljanik has joined #bitcoin-dev
 451 2015-10-13T15:39:31  *** paveljanik has quit IRC
 452 2015-10-13T15:39:31  *** paveljanik has joined #bitcoin-dev
 453 2015-10-13T15:40:32  *** nelisky has joined #bitcoin-dev
 454 2015-10-13T15:41:07  *** SteamPoweredH has quit IRC
 455 2015-10-13T15:41:44  *** SteamPoweredH has joined #bitcoin-dev
 456 2015-10-13T15:43:25  *** copumpkin has joined #bitcoin-dev
 457 2015-10-13T15:47:29  *** SteamPoweredH has quit IRC
 458 2015-10-13T15:48:00  *** SteamPoweredH has joined #bitcoin-dev
 459 2015-10-13T15:54:15  *** IAmNotDorian has quit IRC
 460 2015-10-13T15:54:37  *** noobfikt has joined #bitcoin-dev
 461 2015-10-13T15:55:03  *** pooler has quit IRC
 462 2015-10-13T15:56:35  *** Dr-G has quit IRC
 463 2015-10-13T15:58:19  *** trippysalmon has quit IRC
 464 2015-10-13T15:59:08  *** pooler has joined #bitcoin-dev
 465 2015-10-13T15:59:08  *** pooler has joined #bitcoin-dev
 466 2015-10-13T15:59:15  *** zooko has joined #bitcoin-dev
 467 2015-10-13T15:59:17  *** owlhooter has joined #bitcoin-dev
 468 2015-10-13T15:59:39  *** KutmasteR has joined #bitcoin-dev
 469 2015-10-13T16:03:37  *** Dr-G has joined #bitcoin-dev
 470 2015-10-13T16:03:37  *** Dr-G has joined #bitcoin-dev
 471 2015-10-13T16:04:06  *** nwilcox has quit IRC
 472 2015-10-13T16:08:30  *** zooko has quit IRC
 473 2015-10-13T16:09:44  *** Guest60571 has quit IRC
 474 2015-10-13T16:10:13  *** K1773R has quit IRC
 475 2015-10-13T16:10:18  *** zooko has joined #bitcoin-dev
 476 2015-10-13T16:10:25  *** K1773R has joined #bitcoin-dev
 477 2015-10-13T16:12:34  *** brson has joined #bitcoin-dev
 478 2015-10-13T16:16:29  *** YoY has joined #bitcoin-dev
 479 2015-10-13T16:17:26  *** nowan has quit IRC
 480 2015-10-13T16:19:02  *** Cocodude has joined #bitcoin-dev
 481 2015-10-13T16:19:19  *** InternetFriend has quit IRC
 482 2015-10-13T16:20:19  <Cocodude> This is almost certainly a dumym question, but why do we have LOCK()s on what appear to be const read-only functions like CWallet::IsMine ?
 483 2015-10-13T16:22:19  *** pigeons has joined #bitcoin-dev
 484 2015-10-13T16:22:26  <cfields> Cocodude: other functions touch class vars, looks like mapWallet in that case.
 485 2015-10-13T16:22:42  *** pigeons is now known as Guest16175
 486 2015-10-13T16:23:23  *** CheckDavid has quit IRC
 487 2015-10-13T16:23:47  <Cocodude> cfields: Ah right, I'll look a little deeper, thanks
 488 2015-10-13T16:24:35  <Cocodude> I'm looking into parallelising something but it's looking to be pretty tricky
 489 2015-10-13T16:24:43  <cfields> Cocodude: locking isn't related to changing a var. The question is: can variables in this function change values in another thread while i'm looking at them here?
 490 2015-10-13T16:25:27  *** nowan has joined #bitcoin-dev
 491 2015-10-13T16:25:29  <cfields> er, isn't related to const'ness, i should say
 492 2015-10-13T16:26:30  <Cocodude> My const, I really meant "no side effects", but I didn't look into the mapWallet stuff (I have no idea what that does yet)
 493 2015-10-13T16:27:51  *** jamesob has joined #bitcoin-dev
 494 2015-10-13T16:31:11  *** Guest73396 has quit IRC
 495 2015-10-13T16:31:53  *** idosedthekoolaid has quit IRC
 496 2015-10-13T16:32:27  *** InternetFriend has joined #bitcoin-dev
 497 2015-10-13T16:32:57  *** BashCo has quit IRC
 498 2015-10-13T16:36:31  *** SteamPoweredH has quit IRC
 499 2015-10-13T16:37:03  *** SteamPoweredH has joined #bitcoin-dev
 500 2015-10-13T16:37:50  <KutmasteR> the creator of the Ledger wallet in here at all? Couple questions
 501 2015-10-13T16:38:22  *** kristofferR has joined #bitcoin-dev
 502 2015-10-13T16:39:39  *** Krellan has quit IRC
 503 2015-10-13T16:43:26  *** Krellan has joined #bitcoin-dev
 504 2015-10-13T16:44:27  *** nwilcox has joined #bitcoin-dev
 505 2015-10-13T16:46:21  *** zooko has quit IRC
 506 2015-10-13T16:50:14  *** OneFixt has quit IRC
 507 2015-10-13T16:50:23  *** Grouver has quit IRC
 508 2015-10-13T16:52:03  *** zooko has joined #bitcoin-dev
 509 2015-10-13T16:53:54  *** neozaru has joined #bitcoin-dev
 510 2015-10-13T16:55:31  *** OneFixt has joined #bitcoin-dev
 511 2015-10-13T17:03:36  *** bedeho has joined #bitcoin-dev
 512 2015-10-13T17:07:15  *** maaku has quit IRC
 513 2015-10-13T17:07:36  *** maaku has joined #bitcoin-dev
 514 2015-10-13T17:08:00  *** maaku is now known as Guest18208
 515 2015-10-13T17:08:54  *** Fusselwurm has joined #bitcoin-dev
 516 2015-10-13T17:09:20  *** bendavenport has joined #bitcoin-dev
 517 2015-10-13T17:13:53  *** Guest18208 has quit IRC
 518 2015-10-13T17:15:59  *** supasonic has joined #bitcoin-dev
 519 2015-10-13T17:18:50  *** Emzy has joined #bitcoin-dev
 520 2015-10-13T17:23:35  *** bedeho has quit IRC
 521 2015-10-13T17:26:30  *** kadoban has joined #bitcoin-dev
 522 2015-10-13T17:34:53  *** kgk has joined #bitcoin-dev
 523 2015-10-13T17:41:59  *** cyphase has quit IRC
 524 2015-10-13T17:42:35  *** sporkman has joined #bitcoin-dev
 525 2015-10-13T17:43:35  *** InternetFriend has quit IRC
 526 2015-10-13T17:43:59  *** ThomasV has quit IRC
 527 2015-10-13T17:45:37  *** Cocodude has left #bitcoin-dev
 528 2015-10-13T17:47:39  *** Klumben has joined #bitcoin-dev
 529 2015-10-13T17:50:40  *** maaku__ has joined #bitcoin-dev
 530 2015-10-13T17:51:26  *** maaku__ is now known as maaku
 531 2015-10-13T17:52:59  *** pepesza_ has quit IRC
 532 2015-10-13T17:54:09  *** dev141 has joined #bitcoin-dev
 533 2015-10-13T17:58:21  *** zooko has quit IRC
 534 2015-10-13T18:00:16  *** dev141 has quit IRC
 535 2015-10-13T18:01:32  *** InternetFriend has joined #bitcoin-dev
 536 2015-10-13T18:03:08  *** dev141 has joined #bitcoin-dev
 537 2015-10-13T18:04:30  *** CoinMuncher has quit IRC
 538 2015-10-13T18:04:51  *** missmogg has quit IRC
 539 2015-10-13T18:09:20  *** damethos has quit IRC
 540 2015-10-13T18:10:07  *** Grouver has joined #bitcoin-dev
 541 2015-10-13T18:17:42  *** Texploit has quit IRC
 542 2015-10-13T18:17:45  *** lewellyn has quit IRC
 543 2015-10-13T18:18:01  *** d_t has quit IRC
 544 2015-10-13T18:18:16  *** Texploit has joined #bitcoin-dev
 545 2015-10-13T18:18:29  *** Texploit has quit IRC
 546 2015-10-13T18:18:58  *** Texploit has joined #bitcoin-dev
 547 2015-10-13T18:23:44  *** lewellyn has joined #bitcoin-dev
 548 2015-10-13T18:23:46  *** InternetFriend has quit IRC
 549 2015-10-13T18:23:48  *** Texploit has quit IRC
 550 2015-10-13T18:24:11  *** d_t has joined #bitcoin-dev
 551 2015-10-13T18:25:39  *** tawar has quit IRC
 552 2015-10-13T18:28:12  *** maaku_ has quit IRC
 553 2015-10-13T18:28:36  *** lewellyn has quit IRC
 554 2015-10-13T18:28:44  *** InternetFriend has joined #bitcoin-dev
 555 2015-10-13T18:30:53  *** gill3s has quit IRC
 556 2015-10-13T18:31:42  *** missmogg has joined #bitcoin-dev
 557 2015-10-13T18:32:35  *** maaku_ has joined #bitcoin-dev
 558 2015-10-13T18:34:30  *** lewellyn has joined #bitcoin-dev
 559 2015-10-13T18:34:37  *** missmogg_ has joined #bitcoin-dev
 560 2015-10-13T18:34:55  *** romonster has quit IRC
 561 2015-10-13T18:35:27  <andytoshi> OxADADA: replying to your -wizards stuff here
 562 2015-10-13T18:35:45  <andytoshi> OxADADA: my library is https://github.com/apoelstra/rust-bitcoin which is actively maintained
 563 2015-10-13T18:36:04  <OxADADA> andytoshi: thx
 564 2015-10-13T18:36:06  <andytoshi> OxADADA: the wallet that exposed the script-tracing stuff over RPC is https://github.com/apoelstra/wizards-wallet and pretty-much needs to be rewritten
 565 2015-10-13T18:36:29  *** gielbier has quit IRC
 566 2015-10-13T18:37:14  <OxADADA> ah, you're Andrew  Poelstra, we just read your Altcoin treasise in my bitcoin class ;p
 567 2015-10-13T18:37:18  <andytoshi> OxADADA: documentation for the lib is at https://www.wpsoftware.net/rustdoc/bitcoin/ ... looks like i forgot to put that in the github readme
 568 2015-10-13T18:37:25  <andytoshi> o.O really? where?
 569 2015-10-13T18:37:30  <OxADADA> MIT
 570 2015-10-13T18:37:43  *** Texploit has joined #bitcoin-dev
 571 2015-10-13T18:37:48  <andytoshi> wow, i'm pretty flattered by that :P
 572 2015-10-13T18:37:51  <OxADADA> andytoshi: http://blockchain.media.mit.edu/syllabus.html
 573 2015-10-13T18:37:57  <OxADADA> its on the syllabus
 574 2015-10-13T18:39:07  <OxADADA> neat.
 575 2015-10-13T18:39:18  <andytoshi> very neat
 576 2015-10-13T18:39:29  *** tawar has joined #bitcoin-dev
 577 2015-10-13T18:40:45  <OxADADA> thx, i'll check those projects out.
 578 2015-10-13T18:42:10  *** Texploit has quit IRC
 579 2015-10-13T18:45:08  *** Texploit has joined #bitcoin-dev
 580 2015-10-13T18:45:46  *** tawar has quit IRC
 581 2015-10-13T18:46:48  *** brson has quit IRC
 582 2015-10-13T18:47:29  *** gielbier has joined #bitcoin-dev
 583 2015-10-13T18:47:50  *** malduron has quit IRC
 584 2015-10-13T18:48:15  <andytoshi> please do. pull requests are welcome for the library. for the wallet i dunno what to do about it, if you are actually interested in fixing it you should probably just fork it and take over
 585 2015-10-13T18:48:41  *** malduron has joined #bitcoin-dev
 586 2015-10-13T18:48:50  *** Guest16175 has quit IRC
 587 2015-10-13T18:50:30  *** cryptapus_ has quit IRC
 588 2015-10-13T18:51:21  *** Texploit_ has joined #bitcoin-dev
 589 2015-10-13T18:52:18  *** btc_panhandler has quit IRC
 590 2015-10-13T18:52:20  *** Texploit_ has quit IRC
 591 2015-10-13T18:52:45  *** Texploit_ has joined #bitcoin-dev
 592 2015-10-13T18:54:11  *** Texploit has quit IRC
 593 2015-10-13T18:56:25  *** pigeons has joined #bitcoin-dev
 594 2015-10-13T18:56:27  *** shurnormal_ has quit IRC
 595 2015-10-13T18:56:48  *** pigeons is now known as Guest78786
 596 2015-10-13T18:58:17  *** mjerr has quit IRC
 597 2015-10-13T18:58:24  *** dev141 has quit IRC
 598 2015-10-13T18:59:32  *** dev141 has joined #bitcoin-dev
 599 2015-10-13T18:59:35  *** porquilho has quit IRC
 600 2015-10-13T19:00:26  *** InternetFriend has quit IRC
 601 2015-10-13T19:00:47  *** rdymac has quit IRC
 602 2015-10-13T19:01:27  *** CheckDavid has joined #bitcoin-dev
 603 2015-10-13T19:01:48  *** dev141 has quit IRC
 604 2015-10-13T19:02:11  *** tawar has joined #bitcoin-dev
 605 2015-10-13T19:02:56  *** InternetFriend has joined #bitcoin-dev
 606 2015-10-13T19:03:19  *** ParadoxSpiral has quit IRC
 607 2015-10-13T19:05:23  *** noobfikt has quit IRC
 608 2015-10-13T19:05:56  *** malduron has quit IRC
 609 2015-10-13T19:07:19  *** malduron has joined #bitcoin-dev
 610 2015-10-13T19:07:48  *** ThomasV has joined #bitcoin-dev
 611 2015-10-13T19:09:09  *** InternetFriend has quit IRC
 612 2015-10-13T19:11:13  *** bendavenport has quit IRC
 613 2015-10-13T19:11:30  *** bendavenport has joined #bitcoin-dev
 614 2015-10-13T19:11:49  *** shurnormal_ has joined #bitcoin-dev
 615 2015-10-13T19:12:54  *** Jaume__ has joined #bitcoin-dev
 616 2015-10-13T19:14:46  *** Jaume has quit IRC
 617 2015-10-13T19:17:17  *** noobfikt has joined #bitcoin-dev
 618 2015-10-13T19:22:48  *** castorsky has joined #bitcoin-dev
 619 2015-10-13T19:23:27  *** tawar has quit IRC
 620 2015-10-13T19:24:14  *** InternetFriend has joined #bitcoin-dev
 621 2015-10-13T19:25:13  *** InternetFriend has quit IRC
 622 2015-10-13T19:29:10  *** InternetFriend has joined #bitcoin-dev
 623 2015-10-13T19:30:38  *** brson has joined #bitcoin-dev
 624 2015-10-13T19:32:12  *** btc_panhandler has joined #bitcoin-dev
 625 2015-10-13T19:39:01  *** tawar has joined #bitcoin-dev
 626 2015-10-13T19:41:07  *** SteamPoweredH has quit IRC
 627 2015-10-13T19:41:15  *** SteamPoweredH has joined #bitcoin-dev
 628 2015-10-13T19:42:39  <castorsky> hi, I write software which need verify btc payment. For example check(payment, "0.3BTC")  returned true if payment is valid, or false if not. It is possibly?
 629 2015-10-13T19:43:06  *** btc_panhandler_ has joined #bitcoin-dev
 630 2015-10-13T19:43:11  <castorsky> without blockchain
 631 2015-10-13T19:43:36  *** btc_panhandler has quit IRC
 632 2015-10-13T19:43:37  *** btc_panhandler_ is now known as btc_panhandler
 633 2015-10-13T19:46:22  *** SteamPoweredH has quit IRC
 634 2015-10-13T19:46:30  *** SteamPoweredH has joined #bitcoin-dev
 635 2015-10-13T19:46:49  *** Palsson has joined #bitcoin-dev
 636 2015-10-13T19:47:18  *** PaulCapestany has quit IRC
 637 2015-10-13T19:47:51  *** Cocodude has joined #bitcoin-dev
 638 2015-10-13T19:48:06  <Cocodude> Hello again. Question about locks and wallets again.
 639 2015-10-13T19:49:05  <Cocodude> In wallet.cpp, in IsMine, there's a mutex lock. I don't see why it's there though as I don't think we're changing anything (even pointers / iterators) to do with the mapWallet. Am I missing something?
 640 2015-10-13T19:49:12  *** molly has joined #bitcoin-dev
 641 2015-10-13T19:49:22  <jonasschnelli> Cocodude: which line?
 642 2015-10-13T19:49:30  *** nwilcox has quit IRC
 643 2015-10-13T19:49:50  <jonasschnelli> Do you mean: LOCK(cs_wallet);
 644 2015-10-13T19:50:07  <Cocodude> jonasschnelli: Yes
 645 2015-10-13T19:50:12  <jonasschnelli> https://github.com/bitcoin/bitcoin/blob/master/src/wallet/wallet.cpp#L793
 646 2015-10-13T19:50:37  <jonasschnelli> The lock is there because we are reading from mapWallet
 647 2015-10-13T19:51:02  *** Dizzle has joined #bitcoin-dev
 648 2015-10-13T19:51:05  <jonasschnelli> Cocodude: reading also needs the lock
 649 2015-10-13T19:51:21  <Cocodude> jonasschnelli: Oh yes, in case it changes in another thread
 650 2015-10-13T19:52:01  <jonasschnelli> Cocodude: Right.
 651 2015-10-13T19:52:19  *** moli has quit IRC
 652 2015-10-13T19:52:38  *** moa has quit IRC
 653 2015-10-13T19:52:48  <Cocodude> I'm changing something in the initialisation section (regarding scanning) where I think there won't be any writing to the mapWallet, or at least I might be able to work around things, so I may write an alternate IsMine
 654 2015-10-13T19:52:59  *** PaulCapestany has joined #bitcoin-dev
 655 2015-10-13T19:53:47  *** brson has quit IRC
 656 2015-10-13T19:54:01  *** brson has joined #bitcoin-dev
 657 2015-10-13T19:55:09  *** zooko has joined #bitcoin-dev
 658 2015-10-13T19:55:12  *** jps has joined #bitcoin-dev
 659 2015-10-13T19:56:01  <Cocodude> Actually, this might be harder than I thought. It looks like anything involving the wallet is pretty hard to parallelise
 660 2015-10-13T19:57:17  <jonasschnelli> Cocodude: The wallet works fine with multiple threads accessing it. The locking is suboptimal.
 661 2015-10-13T20:00:00  *** ericmuyser has quit IRC
 662 2015-10-13T20:00:20  <Cocodude> Will investigate further and see what can be done. Thanks.
 663 2015-10-13T20:03:00  *** moa has joined #bitcoin-dev
 664 2015-10-13T20:04:33  *** moa has left #bitcoin-dev
 665 2015-10-13T20:04:53  *** malduron has quit IRC
 666 2015-10-13T20:05:26  *** moa has joined #bitcoin-dev
 667 2015-10-13T20:07:35  <Cocodude> jonasschnelli: Just bouncing this off you - is there any possibility that I could change the locks on the wallet to require a shared mutex (reads) or unique mutex (writes)?
 668 2015-10-13T20:10:07  <jonasschnelli> Cocodude: Not sure. Try it. :)
 669 2015-10-13T20:10:23  <Cocodude> Great, will do
 670 2015-10-13T20:11:15  <Cocodude> Do we use shared mutexes anywhere in core at all?
 671 2015-10-13T20:11:28  <Cocodude> I can't see anything in sync.h
 672 2015-10-13T20:12:15  *** belcher has joined #bitcoin-dev
 673 2015-10-13T20:13:07  <jonasschnelli> logdb, a new file backend for the/a wallet uses it: https://github.com/jonasschnelli/bitcoin/commit/d810c6fde476f2177c92b41675f1b4da2be5e20d
 674 2015-10-13T20:13:27  <jonasschnelli> (untested code)
 675 2015-10-13T20:13:38  <jonasschnelli> Its the only place i'm aware of.
 676 2015-10-13T20:13:48  <jonasschnelli> but it's not in bitcoin-core master
 677 2015-10-13T20:14:45  <Cocodude> Interesting. OK, thanks. On the face of it, it looks near trivial to use shared mutexes actually, and some new SLOCK(x) analogies to LOCK(x) could quite easily be created... in theory
 678 2015-10-13T20:15:37  *** moli has joined #bitcoin-dev
 679 2015-10-13T20:16:13  *** Elglobo has quit IRC
 680 2015-10-13T20:16:50  <cfields> Cocodude: iirc, that's been rejected in the past due to the overhead of boost's implementation
 681 2015-10-13T20:18:06  *** Elglobo has joined #bitcoin-dev
 682 2015-10-13T20:18:11  *** Elglobonoob has joined #bitcoin-dev
 683 2015-10-13T20:18:13  <Cocodude> cfields: Shame, that puts a dampner on that plan
 684 2015-10-13T20:18:21  *** nwilcox has joined #bitcoin-dev
 685 2015-10-13T20:18:39  *** molly has quit IRC
 686 2015-10-13T20:19:50  *** MrHodl has quit IRC
 687 2015-10-13T20:20:28  *** InternetFriend has quit IRC
 688 2015-10-13T20:20:53  <jtimon> have we decided on consensus code moving towards C++11 or C ?
 689 2015-10-13T20:21:20  * jtimon prefers plain C
 690 2015-10-13T20:23:27  * jtimon is thinking about the use of std::map in #6816
 691 2015-10-13T20:28:37  *** InternetFriend has joined #bitcoin-dev
 692 2015-10-13T20:32:53  *** LeMiner has quit IRC
 693 2015-10-13T20:33:37  <andytoshi> i strongly prefer C, but i'm barely involved with core so that's all i'll say on that
 694 2015-10-13T20:34:39  *** InternetFriend has quit IRC
 695 2015-10-13T20:35:29  *** LeMiner has joined #bitcoin-dev
 696 2015-10-13T20:35:52  <jtimon> I mean, libsecp is also in C, it makes a lot of sense to me
 697 2015-10-13T20:35:54  *** InternetFriend has joined #bitcoin-dev
 698 2015-10-13T20:36:08  *** rnvk has joined #bitcoin-dev
 699 2015-10-13T20:36:18  *** rnvk has left #bitcoin-dev
 700 2015-10-13T20:36:28  *** LeMiner has quit IRC
 701 2015-10-13T20:37:36  <jtimon> I'm asking because we should have this clear when making any type of changes to consensus code (sometimes it will be "free" (review and/or test-wise) to move it in one or another direction)
 702 2015-10-13T20:37:45  *** InternetFriend has quit IRC
 703 2015-10-13T20:38:11  <jtimon> although is specially annoying to not know this when making refactors
 704 2015-10-13T20:38:32  <CodeShark> I don't think changing the language is what's most important (or most practical) right now
 705 2015-10-13T20:38:41  *** n0n0__ has quit IRC
 706 2015-10-13T20:39:15  <CodeShark> the main problem that needs solving is fixing dependency issues and disentangling stuff
 707 2015-10-13T20:39:23  <jtimon> but concretely in the context of #6816, if we know we're moving to C++11, std::map is great, if we plan to move to C, we may as well just to waht we would do in C directly instead
 708 2015-10-13T20:40:03  <jtimon> agree with it not being a priority, we don't want to do that in the short term due to the risks involved anyway
 709 2015-10-13T20:40:37  <jtimon> but knowing where we are going seems important to me
 710 2015-10-13T20:40:57  <CodeShark> I have no intention of sacrificing my classes and templates in the near future ;)
 711 2015-10-13T20:41:08  <CodeShark> range-based loops and lambdas would be great, too
 712 2015-10-13T20:41:31  *** castorsky has quit IRC
 713 2015-10-13T20:41:37  *** LeMiner has joined #bitcoin-dev
 714 2015-10-13T20:41:47  <CodeShark> the way I see it, once it's disentangled, reimplementing it in language X is pretty much mechanical stuff
 715 2015-10-13T20:41:53  <CodeShark> whatever X may bee
 716 2015-10-13T20:41:55  <CodeShark> *be
 717 2015-10-13T20:42:12  <CodeShark> but C++ is what we'll probably be most productive in right now
 718 2015-10-13T20:42:35  <jtimon> CodeShark I'm not talking about Bitcoin Core, just the consensus code, it is my understanding that we are clearly moving towards C++11 with the non-consensus code, the only thing that it's not clear it's the long term future of libconsensus
 719 2015-10-13T20:42:50  <CodeShark> I don't think we need to commit to that yet
 720 2015-10-13T20:42:50  <zooko> I'd like to know the answer to this, because of our maintenance of a code-fork for Zcoin.
 721 2015-10-13T20:42:56  *** InternetFriend has joined #bitcoin-dev
 722 2015-10-13T20:43:10  <zooko> Yeah, I guess we can live without knowing the answer, but maybe if we did know we could make our patches more appealing to you.
 723 2015-10-13T20:43:46  <jtimon> CodeShark: the parts of the consensus code that currently depend on C++ features are very small
 724 2015-10-13T20:43:55  <CodeShark> the most pressing issue is not the packaging of a C library...but the disentangling of dependencies and isolation of critical paths
 725 2015-10-13T20:44:11  <CodeShark> at least that's how I see it
 726 2015-10-13T20:45:14  <CodeShark> and a gradual code reorganization is also desirable - but if we do it all at once we're going to make things very hard for others
 727 2015-10-13T20:45:33  <jtimon> CodeShark: and I agree with that, but answering this question as soon as possible will not delay the disentangling in any way
 728 2015-10-13T20:45:52  <jtimon> uncertainty on this issue makes things harder for ourselves and others
 729 2015-10-13T20:46:13  *** Cocodude has left #bitcoin-dev
 730 2015-10-13T20:46:18  *** jps has quit IRC
 731 2015-10-13T20:46:48  <jtimon> cfields already got some nits for removing boost_foreach and I was doing the same for consensus code, for example
 732 2015-10-13T20:47:40  <CodeShark> boost_foreach is an extra dependency...but at least it's a stable dependency, so it isn't what I'm most concerned about
 733 2015-10-13T20:47:50  <CodeShark> I'd much rather use C++11 range-based loops
 734 2015-10-13T20:47:57  <jtimon> in the same sense, it may not make sense to introduce c++ features alike std::map in new consensus features right now if we know we eventually want the consensus code to be C
 735 2015-10-13T20:48:00  <CodeShark> but to me this is a minor issue
 736 2015-10-13T20:48:18  <CodeShark> to me these issues are primarily stylistic
 737 2015-10-13T20:48:24  <CodeShark> not fundamental
 738 2015-10-13T20:48:27  <jtimon> because we know consensus code it's hard to change once deployed
 739 2015-10-13T20:48:58  <CodeShark> fundamental is, for instance, the entanglement of network code with consensus structures with the wallet
 740 2015-10-13T20:49:23  <jtimon> it would be orders of magnitude easier to remove the std::map dependency in #6816 now than it will be once the code is deployed in bitcoin main
 741 2015-10-13T20:49:48  <zooko> I'd like to know what the intent/plan/policy is with regard to disentangling network from consensus, and with regard to dependencies, and I'd also like to know what the intent/plan/policy is for C++ vs C.
 742 2015-10-13T20:52:13  <jtimon> zooko I'm preparing a document (with pictures, since CodeShark sked for them) with a plan for disentangling the consensus code first, then completing libconsensus' API, and finally having Bitcoin Core use libconsensus' C API directly instead of using a git subtree
 743 2015-10-13T20:53:02  *** karelk has joined #bitcoin-dev
 744 2015-10-13T20:53:23  <jtimon> but the question of whether libconsensus will eventually be implemented in C++11 or C is orthogonal to this document (although it is a very important question in practice IMO)
 745 2015-10-13T20:55:35  <zooko> *nod*
 746 2015-10-13T21:02:19  *** nwilcox has quit IRC
 747 2015-10-13T21:02:24  *** InternetFriend has quit IRC
 748 2015-10-13T21:03:13  <CodeShark> 6816 has no external dependencies, jtimon, other than chain.h and the standard libs
 749 2015-10-13T21:03:21  <CodeShark> so changing std::map is a very simple change
 750 2015-10-13T21:03:39  *** moa has quit IRC
 751 2015-10-13T21:03:45  <CodeShark> it's just replacing one well-tested container with presumably another well-tested container
 752 2015-10-13T21:04:38  <CodeShark> what makes changes to consensus code very risky is the intermixing of abstraction layers and the use of unstable dependencies
 753 2015-10-13T21:06:08  *** Grouver has quit IRC
 754 2015-10-13T21:06:13  <jtimon> I agree with you, but some people think (not unreasonably) that ANY change to consensus code is risky (no matter how unoffensive it looks)
 755 2015-10-13T21:07:44  <CodeShark> I've purposely encapsulated all std::map operations inside the class interface to avoid any such difficulties (though I still expose std::set)
 756 2015-10-13T21:08:00  <CodeShark> although std::set is even easier to reimplement from scratch if need be
 757 2015-10-13T21:08:18  <jtimon> you are using its iterators as well
 758 2015-10-13T21:08:26  *** copumpkin has quit IRC
 759 2015-10-13T21:08:29  <CodeShark> only inside the class implementation
 760 2015-10-13T21:08:39  <jtimon> I mean, don't change anything before we have an answer to this
 761 2015-10-13T21:09:06  *** kgk has quit IRC
 762 2015-10-13T21:09:56  <jtimon> your PR is just another example, I've been pushing for this discussion since I discovered the plan wasn't C for libconsensus C++11 for everything else (which for some reason I assumed)
 763 2015-10-13T21:10:23  <CodeShark> I'd even be happy disentangling main.cpp without moving anything to other source files, to be honest ;)
 764 2015-10-13T21:10:52  <jtimon> that's why I say the disentangling is orthogonal to this discussion
 765 2015-10-13T21:11:04  <CodeShark> of course, we do need to reorganize the code - but I think the approach of doing it little bits at a time is more practical
 766 2015-10-13T21:11:18  <jtimon> this is most relevant when creating new consensus functionality (like you're doing)
 767 2015-10-13T21:11:53  <CodeShark> a libconsensus with a C interface and other language bindings would be nice...but is not super critical right now
 768 2015-10-13T21:12:12  <CodeShark> at least that's how I see it
 769 2015-10-13T21:12:22  <jtimon> the implementation is also orthogonal from the API and bindings
 770 2015-10-13T21:12:23  <jamesob> what's the impetus to move away from c++? simplicity? just curious
 771 2015-10-13T21:12:23  *** molly has joined #bitcoin-dev
 772 2015-10-13T21:12:41  <CodeShark> separating mempool stuff from, say, block tree management and the block index IS critical
 773 2015-10-13T21:13:13  <jtimon> jamesob: that's a good question that I may not be the best person to answer it
 774 2015-10-13T21:13:47  <CodeShark> jamesob: some people like to have a C interface for greater compatibility with more projects
 775 2015-10-13T21:14:01  <jamesob> oh, that makes sense
 776 2015-10-13T21:14:06  <jamesob> wider portability
 777 2015-10-13T21:14:20  <CodeShark> and some think C code is easier to check for correctness (although I think well-written C++ is far easier for a human to review)
 778 2015-10-13T21:14:33  <jtimon> apparently C has more tools for static analysis and it's also simpler (specially when it comes to compilers and behaving exactly in the same way in different target machines)
 779 2015-10-13T21:15:06  <jamesob> CodeShark agree on the latter point for most cases
 780 2015-10-13T21:15:12  <jtimon> CodeShark: jamesob is asking about C implementation, not C API (currently libconsensus has C++ implementation and C API)
 781 2015-10-13T21:15:39  *** moli has quit IRC
 782 2015-10-13T21:15:59  *** kgk has joined #bitcoin-dev
 783 2015-10-13T21:16:08  <jamesob> is a "C API" just a header file with signatures that're all compatible with a C compiler?
 784 2015-10-13T21:16:14  <CodeShark> yes
 785 2015-10-13T21:16:31  <jtimon> jamesob: you may want to ask in #secp256k1 why libsecp256k1 is written in C instead of C++ and you may get better answers
 786 2015-10-13T21:16:53  <CodeShark> that's different, though, jtimon, because that's largely about performance
 787 2015-10-13T21:16:58  *** copumpkin has joined #bitcoin-dev
 788 2015-10-13T21:17:04  <CodeShark> well, it's not completely different
 789 2015-10-13T21:17:16  <jamesob> jtimon gotcha. I think the issue of wider potential use sounds compelling.
 790 2015-10-13T21:17:18  <CodeShark> but some parts of libsecp256k1 are written in in-line assembly
 791 2015-10-13T21:17:34  <jamesob> but human-reviewability is pretty huge too ;)
 792 2015-10-13T21:17:45  <jtimon> if it was my decision, it would be written in rpython (compilable to C, see pypy) and C for low level functions (ie for libsecp256k1)
 793 2015-10-13T21:17:56  <cfields> CodeShark: fwiw, i started to complain about the chain.h dependency, but ultimately decided not to for now
 794 2015-10-13T21:17:57  *** malduron has joined #bitcoin-dev
 795 2015-10-13T21:18:15  <cfields> i think it would be easy-ish to avoid, and would make that code consensus-friendly
 796 2015-10-13T21:18:28  *** Fusselwurm has quit IRC
 797 2015-10-13T21:18:32  <CodeShark> cfields: I wasn't too happy about that either...but I have other plans for the block index
 798 2015-10-13T21:19:04  <cfields> CodeShark: good, that's why i decided not to bother. a crippled wrapper would be ugly, but a general solution would be much appreciated
 799 2015-10-13T21:19:35  <jtimon> CodeShark: if I understand the issues involved correctly is more about provable correctness than about performance
 800 2015-10-13T21:19:45  <CodeShark> in this instance yes
 801 2015-10-13T21:19:51  <CodeShark> in the case of libsecp256k1 both are important
 802 2015-10-13T21:20:20  <CodeShark> in the case of 6818, we're FAR from the performance bottleneck
 803 2015-10-13T21:20:51  <CodeShark> we can afford to be far less efficient than theoretically possible
 804 2015-10-13T21:20:56  <jtimon> well, we should probably also consider performance when deciding for libconsensus' future
 805 2015-10-13T21:21:16  *** cyphase has joined #bitcoin-dev
 806 2015-10-13T21:21:33  <CodeShark> I do consider performance - it's just that there are some places where performance is far more critical
 807 2015-10-13T21:21:41  *** Yoghur114 has joined #bitcoin-dev
 808 2015-10-13T21:21:45  *** copumpkin has quit IRC
 809 2015-10-13T21:21:47  <CodeShark> i.e. tight loops that run for many iterations
 810 2015-10-13T21:21:48  <jtimon> and I would prefer to chose asap for the whole library instead of ad-hoc for each concrete case
 811 2015-10-13T21:22:46  <jtimon> if we decide for C++11, that's fine too, but I would like to know asap (and I think it will be productive for review that we know asap too)
 812 2015-10-13T21:23:24  <CodeShark> I don't think it's going to happen that way, jtimon - we will not be seeing a wholesale reimplementation of the consensus code in C in the very near term
 813 2015-10-13T21:24:59  <CodeShark> or even reimplementation in C++ for that matter ;)
 814 2015-10-13T21:25:23  <jtimon> CodeShark: I believe it will only happen (and this applies to both migrating to C++11 or C) in a very slow way while doing other changes (and maybe refactors if we know before libconsensus is complete), which is partly why I think it's important that we know where we are going asap
 815 2015-10-13T21:25:35  <zooko> CodeShark: I think there's a difference between asking whether we should ultimately head toward C++ or head toward C, vs. suggesting that we start rewriting things in order to change the implementation now.
 816 2015-10-13T21:25:53  <jtimon> I wouldn't call it a reimplementation, though, it would be just a slow migration
 817 2015-10-13T21:26:06  <zooko> CodeShark: it kind of sounds like you don't want to commit to an ultimate destination because you don't want that to encourage people to do unnecessary or disruptive work now.
 818 2015-10-13T21:26:07  *** nwilcox has joined #bitcoin-dev
 819 2015-10-13T21:26:59  <CodeShark> that's partly it...but more than that I don't think this is a fundamental architectural issue
 820 2015-10-13T21:27:06  <CodeShark> to me it's primarily stylistic
 821 2015-10-13T21:27:33  <jtimon> I agreed this is not a fundamental architectural priority
 822 2015-10-13T21:28:06  *** neozaru has quit IRC
 823 2015-10-13T21:28:16  <zooko> Style is important to me, because I'd like to contribute patches with a better chance of acceptance, and because I'd like to have a better prediction of what sorts of changes will be made upstream that we'll have to accomodate.
 824 2015-10-13T21:28:30  *** nsh has quit IRC
 825 2015-10-13T21:28:39  <jtimon> but at some point we will have to decide for one of those two (stay on an old C++ implementation is not an option), what better time than before doing all the disentangling?
 826 2015-10-13T21:29:01  <CodeShark> with a layered, modular codebase, different parts could be written in different languages for all I really care ;)
 827 2015-10-13T21:29:34  <jamesob> as long as that's not done purely for variety's sake :)
 828 2015-10-13T21:29:40  <CodeShark> haha
 829 2015-10-13T21:30:01  <CodeShark> I'm a pragmatist - whatever code people will be working on, they should be working on using whatever tools help them be the most productive
 830 2015-10-13T21:30:26  <jtimon> CodeShark: with a layered, modular codebase, we still have to decide between C++11 and C for libconsensus eventually
 831 2015-10-13T21:30:50  <CodeShark> I say let's do both :p
 832 2015-10-13T21:30:55  <CodeShark> lol
 833 2015-10-13T21:31:01  <jtimon> being a pragmatist, you should agree with me asap it's the best time to decide on that
 834 2015-10-13T21:31:20  <jtimon> even if you consider it just "style"
 835 2015-10-13T21:31:42  <CodeShark> nah, I say let that evolve...and let's focus on architecture and be conservative on style
 836 2015-10-13T21:32:00  <jtimon> but it's not, the stability of libconsensus will depend on some C++11 or C compilers respectively
 837 2015-10-13T21:32:33  *** Lightsword has quit IRC
 838 2015-10-13T21:32:55  <CodeShark> once we solve the dependency issues, we can always reimplement pieces of it without affecting anyone els
 839 2015-10-13T21:32:56  <jtimon> given that libconsensus has a C API anyway, I don't see any advantage in moving to C++11 instead of C
 840 2015-10-13T21:33:12  <jamesob> jtimon readability
 841 2015-10-13T21:33:17  <jtimon> reimplementation of consensus code is always risky
 842 2015-10-13T21:33:36  <jtimon> jamesob I'm a strong readability advocate
 843 2015-10-13T21:34:33  <jtimon> and for libconsensus, I don't think C hurts redability (people reading this need to be able to think about what machines will do at the lowest level)
 844 2015-10-13T21:34:45  <CodeShark> point is with a proper architecture we can always rigorously test pieces and cover pretty much all cases of interest...and the interface can remain the same
 845 2015-10-13T21:35:03  <CodeShark> so nobody else outside that unit is really affected as long as the behavior doesn't change
 846 2015-10-13T21:36:01  <CodeShark> we can always write a C wrapper, then reimplement it in C later on...
 847 2015-10-13T21:36:10  <jtimon> "we can always rigorously test pieces" I'm afraid that's easier said than done
 848 2015-10-13T21:36:30  <jtimon> that's why "provably correct" techniques are so interseting for consensus code
 849 2015-10-13T21:36:40  <CodeShark> anyhow, we're bikeshedding :p
 850 2015-10-13T21:37:17  <jtimon> CodeShark: I disagree: with a layered, modular codebase, we still have to decide between C++11 and C for libconsensus eventually (stay on an old C++ implementation is not an option)
 851 2015-10-13T21:37:31  <jtimon> for Bitcoin Core we've already decided: C++11
 852 2015-10-13T21:38:01  <CodeShark> the units I write I would prefer to write in C++11 - but I'm not opposed to also using units written in C (i.e. libsecp256k1)
 853 2015-10-13T21:38:56  <jtimon> CodeShark: exactly, libconsensus is in the middle but it has to move either to the libsecp256k1 or to the Bitcoin Core side
 854 2015-10-13T21:38:56  *** Texploit_ has quit IRC
 855 2015-10-13T21:39:02  <CodeShark> why?
 856 2015-10-13T21:39:11  *** Texploit has joined #bitcoin-dev
 857 2015-10-13T21:39:20  *** noobfikt has quit IRC
 858 2015-10-13T21:39:21  <jtimon> because "stay on an old C++ implementation is not an option"
 859 2015-10-13T21:40:44  <jtimon> I would probably be happier deciding for C++11 now than deciding for C (my preference) 5 years from now
 860 2015-10-13T21:41:43  *** nsh has joined #bitcoin-dev
 861 2015-10-13T21:42:20  <CodeShark> I'm not even entirely convinced that libconsensus is where we want to end up - why shouldn't consensus be, say, a runtime service?
 862 2015-10-13T21:42:35  *** nwilcox has quit IRC
 863 2015-10-13T21:42:48  <CodeShark> but I don't think we need to decide that now
 864 2015-10-13T21:42:49  <jtimon> (by then I bet C++ will have more "provable correctness" tools)
 865 2015-10-13T21:43:55  *** eki5bvu7njh has joined #bitcoin-dev
 866 2015-10-13T21:45:08  <CodeShark> in any case, if what we're after is provability perhaps we should be looking into Coq or other interactive theorem provers
 867 2015-10-13T21:45:27  <jtimon> we "don't have to decide" anything "now", but when making changes to the codebase that affect almost everyone working with the same code, it really helps to know as much as possible about the future
 868 2015-10-13T21:45:50  <CodeShark> C and C++ are both rather unsafe languages in many respects
 869 2015-10-13T21:46:24  <CodeShark> C++ lets you at least encapsulate all the low-level pointer arithmetic stuff, though
 870 2015-10-13T21:46:28  <jtimon> CodeShark: that actually may be interesting for "script2.0", but probably belongs more to #wizards
 871 2015-10-13T21:46:45  <jamesob> yeah, I'd argue C++ is harder to be unsafe with
 872 2015-10-13T21:47:16  <gavinandresen> who is the “customer” for libconsensus?  You should ask them, whoever they are, if they’d prefer C or C++.
 873 2015-10-13T21:47:32  <jtimon> disclaimer I usually prefer high level languages for specifications, like python (or rpython)
 874 2015-10-13T21:48:03  <jtimon> gavinandresen: the first "customer" of libconsensus is Bitcoin Core itself
 875 2015-10-13T21:48:18  <CodeShark> C and C++ are both fairly portable, integrate tightly with OSes, and can provide language bindings to pretty much any VHLL
 876 2015-10-13T21:48:32  <jtimon> Bitcoin Core can evolve faster once the consensus code is encapsulated
 877 2015-10-13T21:48:44  *** Apexseals has quit IRC
 878 2015-10-13T21:48:50  <jtimon> which is the most riskier part to modify
 879 2015-10-13T21:49:30  <gavinandresen> mmmm…. my engineering-manager spidey sense is tingling.  “Just give us six months to rip things apart and we’ll save WEEKS of work in the future!”
 880 2015-10-13T21:49:31  <CodeShark> gavinandresen: I think *we're* the immediate customer for libconsensus :)
 881 2015-10-13T21:49:45  <CodeShark> this is to make our jobs easier, first and foremost
 882 2015-10-13T21:49:59  <gavinandresen> Ok, as a potential customer of libconsensus I’d vote for C++, then.
 883 2015-10-13T21:50:01  <jamesob> "easier" sounds like C++
 884 2015-10-13T21:50:08  <zooko> If "bikeshedding" means this isn't an important question, I disagree.
 885 2015-10-13T21:50:23  <jtimon> gavinandresen: alternative implementations, say libbitcoin or bitcoinj would also be great users for libconsensus, since they would remove the "consensus bugs" risks by running exaclty the same consensus code
 886 2015-10-13T21:50:39  <gavinandresen> mmm.  I don’t think libbitcoin or bitcoinj are interested, though.
 887 2015-10-13T21:51:13  <zooko> I'm a "customer" of libconsensus.
 888 2015-10-13T21:51:26  <gavinandresen> zooko: cool, what do you want?
 889 2015-10-13T21:51:27  <zooko> Although actually I'd have to ask my engineering team for their preferences on that question, if you wanted to know.
 890 2015-10-13T21:52:21  *** tawar has quit IRC
 891 2015-10-13T21:52:30  <zooko> My own preference is C instead of C++, but I would defer to my chief engineer or a consensus of my other engineers.
 892 2015-10-13T21:52:52  <CodeShark> zooko: would you be ok with a C API even if the internals are written in C++?
 893 2015-10-13T21:52:53  <zooko> But most of all my preference is, as jtimon is saying, that it helps to know what the plan/policy/future is.
 894 2015-10-13T21:53:04  <gavinandresen> zooko: a little document from your engineering team with “this is the API we wish we had” would be nifty.
 895 2015-10-13T21:53:26  *** btcdrak has quit IRC
 896 2015-10-13T21:53:34  <zooko> CodeShark, gavinandresen: I was talking about being a "customer" in the sense of maintaining patches against the implementation, contributing patches, doing security audits of the implementation, etc., not in terms of API.
 897 2015-10-13T21:53:40  <gavinandresen> There was a /r/programming article on “README-driven development” that I thought was good, and reflects how I tend to design APIs—  figure out the code I want to write, then make the API match that.
 898 2015-10-13T21:53:54  *** ebfull has joined #bitcoin-dev
 899 2015-10-13T21:53:57  <zooko> Yeah, I like that approach for APIs.
 900 2015-10-13T21:54:03  *** earthris1 has joined #bitcoin-dev
 901 2015-10-13T21:54:37  <jtimon> gavinandresen: I think they should be interested in not having unnecessary consensus bugs, sometimes people say "the implementation is the specification" for consensus code, but Bitcoin Core has many more things than consensus code, so it is also a political issue to separate them
 902 2015-10-13T21:54:40  <gavinandresen> There’s a lot of bad API design from premature optimization or over-generalization....
 903 2015-10-13T21:55:00  <zooko> Yeah.
 904 2015-10-13T21:55:19  <gavinandresen> jtimon: “meh” — we’ve got a thriving wallet ecosystem, a whole separate mining software stack....
 905 2015-10-13T21:55:55  <gavinandresen> … and multiple implementations of the consensus code that keep consensus pretty well.
 906 2015-10-13T21:56:55  <jtimon> gavinandresen: wouldn't a library that just (and only) checks the consensus rules (and nothing else Bitcoin Core does) help with such a new stack trend?
 907 2015-10-13T21:57:26  *** Texploit has quit IRC
 908 2015-10-13T21:58:12  *** btcdrak has joined #bitcoin-dev
 909 2015-10-13T21:58:21  <gavinandresen> jtimon: maybe… but just using bitcoind as an “edge router” works pretty well.
 910 2015-10-13T21:58:52  <gavinandresen> The only reason to have a separate library is if performance is an issue, but I don’t see applications where that is a problem (we’re not talking millions of transactions per second)
 911 2015-10-13T21:58:59  <jtimon> many people run bitcoin core in the edges of their internal network precisely because their own libraries aren't walways able to strictly follow consensus rules, running libconsensus behind their own ruby or java libraries could remove that need and increase the diversity at the network level
 912 2015-10-13T21:59:08  <phantomcircuit> gavinandresen, at the very least the library work jtimon has been doing makes it significantly easier to fuzz core
 913 2015-10-13T21:59:16  <phantomcircuit> it would all be worth it for that alone
 914 2015-10-13T21:59:36  <gavinandresen> better testing is always a good thing
 915 2015-10-13T22:00:24  <gavinandresen> … so focusing on unit tests for all the stuff that isn’t easily unit-testable would be excellent.
 916 2015-10-13T22:00:51  *** iv3c has joined #bitcoin-dev
 917 2015-10-13T22:01:21  <gavinandresen> I agree that thorough tests for the consensus code would DEFINITELY accelerate development.
 918 2015-10-13T22:01:37  <jtimon> well, having a single folder for all the consensus code may not help with testing directly, but it would greatly help with review and with patches proposed (less people would unarvertidly make their patches consensus-risky)
 919 2015-10-13T22:02:06  <gavinandresen> okey dokey
 920 2015-10-13T22:04:16  *** floopflo` has joined #bitcoin-dev
 921 2015-10-13T22:05:10  *** floopflorg has quit IRC
 922 2015-10-13T22:05:21  *** nwilcox has joined #bitcoin-dev
 923 2015-10-13T22:05:21  *** ThomasV has quit IRC
 924 2015-10-13T22:05:57  *** Palsson has quit IRC
 925 2015-10-13T22:06:57  *** Lightsword has joined #bitcoin-dev
 926 2015-10-13T22:08:15  <nwilcox> Hi. I missed a bit of the conversation about implementation language for consensus critical code.
 927 2015-10-13T22:08:32  <nwilcox> Any outcome?
 928 2015-10-13T22:08:43  *** dw1 has joined #bitcoin-dev
 929 2015-10-13T22:08:51  <CodeShark> yes, we decided to use brainf!$@
 930 2015-10-13T22:09:37  <jamesob> brainf!$@.js
 931 2015-10-13T22:10:30  *** eki5bvu7njh has quit IRC
 932 2015-10-13T22:11:11  *** moa has joined #bitcoin-dev
 933 2015-10-13T22:11:13  <nwilcox> You've got to be kidding. jsfuck is much more widely supported.
 934 2015-10-13T22:11:46  <zooko> lol
 935 2015-10-13T22:12:12  *** Emcy_ has quit IRC
 936 2015-10-13T22:13:03  <nwilcox> I hope people are leaning towards C over C++(11).
 937 2015-10-13T22:15:20  *** nelisky_ has joined #bitcoin-dev
 938 2015-10-13T22:16:35  *** nelisky has quit IRC
 939 2015-10-13T22:16:35  *** nelisky_ is now known as nelisky
 940 2015-10-13T22:17:19  *** won9 has joined #bitcoin-dev
 941 2015-10-13T22:19:23  *** bsm1175321 has quit IRC
 942 2015-10-13T22:22:56  *** Guest6754 has quit IRC
 943 2015-10-13T22:23:29  *** grs has joined #bitcoin-dev
 944 2015-10-13T22:23:52  *** grs is now known as Guest93670
 945 2015-10-13T22:25:43  *** zooko has quit IRC
 946 2015-10-13T22:27:19  *** moa has left #bitcoin-dev
 947 2015-10-13T22:28:10  *** eki5bvu7njh has joined #bitcoin-dev
 948 2015-10-13T22:28:34  *** Guyver2 has quit IRC
 949 2015-10-13T22:29:19  *** Emcy has joined #bitcoin-dev
 950 2015-10-13T22:29:19  *** Emcy has joined #bitcoin-dev
 951 2015-10-13T22:31:37  *** moa has joined #bitcoin-dev
 952 2015-10-13T22:32:18  <jcorgan> make it LLVM intermediate representation
 953 2015-10-13T22:33:33  *** zooko has joined #bitcoin-dev
 954 2015-10-13T22:36:57  *** DougieBot5000 has quit IRC
 955 2015-10-13T22:37:11  *** moli has joined #bitcoin-dev
 956 2015-10-13T22:37:54  *** Emzy has quit IRC
 957 2015-10-13T22:39:59  *** molly has quit IRC
 958 2015-10-13T22:43:28  *** chris13243 has joined #bitcoin-dev
 959 2015-10-13T22:47:12  *** _chuy_12 has joined #bitcoin-dev
 960 2015-10-13T22:47:57  *** btc_panhandler has quit IRC
 961 2015-10-13T22:50:27  *** agricocb has quit IRC
 962 2015-10-13T22:51:18  *** Texploit has joined #bitcoin-dev
 963 2015-10-13T22:52:53  *** moa has quit IRC
 964 2015-10-13T22:54:18  *** iv3c has quit IRC
 965 2015-10-13T22:57:47  *** chris13243 has quit IRC
 966 2015-10-13T22:58:32  *** Dizzle has quit IRC
 967 2015-10-13T22:59:30  *** malduron has quit IRC
 968 2015-10-13T23:03:11  *** malduron has joined #bitcoin-dev
 969 2015-10-13T23:12:52  *** nelisky has quit IRC
 970 2015-10-13T23:16:49  *** eki5bvu7njh has quit IRC
 971 2015-10-13T23:20:38  *** DougieBot5000 has joined #bitcoin-dev
 972 2015-10-13T23:20:43  *** grs has joined #bitcoin-dev
 973 2015-10-13T23:21:07  *** grs is now known as Guest2779
 974 2015-10-13T23:21:53  <jtimon> good to hear more voices in favor of C over C++11 (again, just for the consensus code)
 975 2015-10-13T23:22:09  *** agricocb has joined #bitcoin-dev
 976 2015-10-13T23:22:15  *** Yoghur114 has quit IRC
 977 2015-10-13T23:23:01  <jtimon> if I'm interpreting jcorgan correctly
 978 2015-10-13T23:23:04  *** Lightsword has quit IRC
 979 2015-10-13T23:23:48  *** zooko` has joined #bitcoin-dev
 980 2015-10-13T23:25:26  *** zooko has quit IRC
 981 2015-10-13T23:32:04  *** c0rw|away is now known as c0rw1n
 982 2015-10-13T23:33:56  *** Lightsword has joined #bitcoin-dev
 983 2015-10-13T23:34:16  *** mom36963 has joined #bitcoin-dev
 984 2015-10-13T23:37:31  *** brson has quit IRC
 985 2015-10-13T23:46:32  *** mom36963 has left #bitcoin-dev
 986 2015-10-13T23:48:04  *** one_zero has joined #bitcoin-dev
 987 2015-10-13T23:48:16  *** cubicearth has quit IRC
 988 2015-10-13T23:50:36  *** sporkman has quit IRC
 989 2015-10-13T23:51:04  *** bendavenport has quit IRC
 990 2015-10-13T23:51:11  *** bendavenport has joined #bitcoin-dev
 991 2015-10-13T23:51:21  *** zooko` has quit IRC
 992 2015-10-13T23:51:34  *** brson has joined #bitcoin-dev
 993 2015-10-13T23:51:49  *** Texploit has quit IRC
 994 2015-10-13T23:56:30  *** Sporklin2 has joined #bitcoin-dev
 995 2015-10-13T23:57:07  *** Sporklin has quit IRC
 996 2015-10-13T23:57:14  *** Sporklin2 is now known as Sporklin
 997 2015-10-13T23:57:18  *** Texploit has joined #bitcoin-dev
 998 2015-10-13T23:58:08  <Luke-Jr> +1 for carefully-written C. probably the ideal would be a custom language specifically for consensus systems, though.
 999 2015-10-13T23:58:46  <Luke-Jr> warren: I wonder if in addition to -dev and -discuss MLs, if a -support ML would be good to have.
1000 2015-10-13T23:59:36  *** nym has joined #bitcoin-dev