1 2014-09-04 00:00:09 nsh has quit (Changing host)
   2 2014-09-04 00:00:09 nsh has joined
   3 2014-09-04 00:00:29 <uiop> (i haven't looked at code of CompareTo) i'd be surprised if a function reducible to memcmp is faster than __builtin_memcmp (unless it's written directly using human-creativity-level sse>=3)
   4 2014-09-04 00:01:29 <kdomanski_> sipa: unfortunately, I'm too lazy
   5 2014-09-04 00:01:59 <sipa> good
   6 2014-09-04 00:02:19 <uiop> if this is a i-care-enough-to-handwrite-asm function, i'd start by looking at the arch-specific implems of mem{cpy,cmp}/etc in glibc
   7 2014-09-04 00:02:47 <Luke-Jr> lewellyn: I don't see a problem at all.
   8 2014-09-04 00:02:58 <sipa> uiop: nope; a few % gain at the most
   9 2014-09-04 00:03:13 <Luke-Jr> uiop: glibc memcpy is broken on Haswell ;p
  10 2014-09-04 00:04:46 <kdomanski_> uiop: I think the time would be much better spent paying off the technical debt in other weird places of this codebase, which are many ;]
  11 2014-09-04 00:04:50 mapppum has joined
  12 2014-09-04 00:06:12 <uiop> Luke-Jr: if you're not passing it overlapping memory, https://sourceware.org/bugzilla/describecomponents.cgi?product=glibc :)
  13 2014-09-04 00:07:04 <Luke-Jr> uiop: No, it segfaults 100% of the time
  14 2014-09-04 00:07:35 grubles has quit (Quit: Leaving)
  15 2014-09-04 00:07:53 <Luke-Jr> uiop: I'd report it, but I don't really have time to investigate *why*
  16 2014-09-04 00:08:18 <Luke-Jr> I presume the fact that nobody else has reported it means it only affects x86_32
  17 2014-09-04 00:08:24 yeshuah__ has quit (Ping timeout: 272 seconds)
  18 2014-09-04 00:08:40 <uiop> Luke-Jr: i'd be very surprised if this is a glibc bug
  19 2014-09-04 00:08:46 <Luke-Jr> (although IIRC I did see a Qt bugreport on a similar nature)
  20 2014-09-04 00:08:54 yeshuah__ has joined
  21 2014-09-04 00:09:02 <Luke-Jr> uiop: it's trying to use SSSE3 when it segfaults
  22 2014-09-04 00:09:05 <uiop> Luke-Jr: oh, are you sure it wasn't an "illegal instruction" bug
  23 2014-09-04 00:09:11 <Luke-Jr> yes
  24 2014-09-04 00:09:18 KawalGrover has quit (Ping timeout: 245 seconds)
  25 2014-09-04 00:09:22 <Luke-Jr> either Haswell's SSSE3 is broken, or glibc is using it in an unsupported way
  26 2014-09-04 00:09:27 <Luke-Jr> (maybe unaligned?)
  27 2014-09-04 00:09:51 jebus911 has quit (Ping timeout: 272 seconds)
  28 2014-09-04 00:10:06 aljosa has quit (Ping timeout: 272 seconds)
  29 2014-09-04 00:10:40 <Luke-Jr> … or there's some obscure POSIX rule requiring memcpy to be aligned, but I find that unlikely O.o\
  30 2014-09-04 00:10:52 drArtemis has quit (Remote host closed the connection)
  31 2014-09-04 00:11:15 <uiop> ah, possibly (movdqa/etc assume aligned, but can't recall eventual signal linux translates that into). but not sure how that would happen differently on i386 than x86_64
  32 2014-09-04 00:11:18 drArtemis has joined
  33 2014-09-04 00:11:32 jebus911 has joined
  34 2014-09-04 00:11:53 aljosa has joined
  35 2014-09-04 00:11:57 <uiop> probably some combination-of-code-on-a-multiarch-system-resulting-in-ridiculousness-segfault or something
  36 2014-09-04 00:12:10 <Luke-Jr> uiop: I suspect the stack is "more" aligned on x86_64 ABI
  37 2014-09-04 00:12:18 <Luke-Jr> my system isn't multiarch
  38 2014-09-04 00:12:26 DougieBot5000 has joined
  39 2014-09-04 00:12:30 <Luke-Jr> well, except the kernel - that's 64-bit
  40 2014-09-04 00:12:49 <uiop> that sounds like a not un-plausible theory
  41 2014-09-04 00:13:05 sebicas has joined
  42 2014-09-04 00:13:09 <sipa> kdomanski_: https://github.com/sipa/bitcoin/tree/fastmap
  43 2014-09-04 00:13:26 <sipa> kdomanski_: replaces mapBlockIndex with an unordered map, and uses memcmp for equality/inequality
  44 2014-09-04 00:13:43 fanquake_ has joined
  45 2014-09-04 00:14:18 <gmaxwell> sipa: sorry, I should have just given you my patch for that, would have saved you some typing in changing all those typedefs.
  46 2014-09-04 00:14:46 ahbritto has joined
  47 2014-09-04 00:15:20 <sipa> gmaxwell: it's 2am; what else would i be doing now? :p
  48 2014-09-04 00:15:37 drArtemis has quit (Ping timeout: 252 seconds)
  49 2014-09-04 00:15:38 jcv_ has joined
  50 2014-09-04 00:15:50 justanotheruser has joined
  51 2014-09-04 00:16:40 <jrick> I thought std::unordered_map was a thing? why use boost?
  52 2014-09-04 00:16:54 <sipa> jrick: c++11
  53 2014-09-04 00:16:55 <gmaxwell> jrick: it's a C++11 (or 14?) thing.
  54 2014-09-04 00:16:59 <jrick> oh
  55 2014-09-04 00:17:15 <gmaxwell> the boost thing is functionally equal, so it can be changed directly when the codebase someday becomes C++11.
  56 2014-09-04 00:17:22 imfaust has joined
  57 2014-09-04 00:17:23 erska_ has joined
  58 2014-09-04 00:17:26 brocktice has joined
  59 2014-09-04 00:17:33 <sipa> the boost implementation was even changed to the std one, once it was standardized
  60 2014-09-04 00:17:42 dooglus has joined
  61 2014-09-04 00:17:42 dooglus has quit (Changing host)
  62 2014-09-04 00:17:42 dooglus has joined
  63 2014-09-04 00:17:49 brocktice is now known as Guest82804
  64 2014-09-04 00:18:02 Rippleflip_ has joined
  65 2014-09-04 00:18:04 T19EL_ has joined
  66 2014-09-04 00:18:04 Keefe_ has joined
  67 2014-09-04 00:18:06 <jrick> libstdc++?
  68 2014-09-04 00:18:07 mpmcsweeney has quit (Remote host closed the connection)
  69 2014-09-04 00:18:13 waxwing__ has joined
  70 2014-09-04 00:18:22 djackallstar has quit (Ping timeout: 243 seconds)
  71 2014-09-04 00:18:22 jcv has quit (Ping timeout: 243 seconds)
  72 2014-09-04 00:18:22 sebicas_ has quit (Ping timeout: 243 seconds)
  73 2014-09-04 00:18:22 fanquake has quit (Ping timeout: 243 seconds)
  74 2014-09-04 00:18:23 Keefe has quit (Ping timeout: 243 seconds)
  75 2014-09-04 00:18:23 erska has quit (Ping timeout: 243 seconds)
  76 2014-09-04 00:18:23 Guest31554 has quit (Ping timeout: 243 seconds)
  77 2014-09-04 00:18:25 justanot1eruser has quit (Ping timeout: 255 seconds)
  78 2014-09-04 00:18:25 joesmoe has quit (Ping timeout: 255 seconds)
  79 2014-09-04 00:18:25 Internet13 has quit (Ping timeout: 255 seconds)
  80 2014-09-04 00:18:26 ahbritto__ has quit (Ping timeout: 255 seconds)
  81 2014-09-04 00:18:26 jgarzik has quit (Ping timeout: 255 seconds)
  82 2014-09-04 00:18:26 Guest53956 has quit (Ping timeout: 255 seconds)
  83 2014-09-04 00:18:26 dooglus_ has quit (Ping timeout: 255 seconds)
  84 2014-09-04 00:18:26 Rippleflip has quit (Ping timeout: 255 seconds)
  85 2014-09-04 00:18:26 T19EL has quit (Ping timeout: 255 seconds)
  86 2014-09-04 00:18:26 nsh has quit (Ping timeout: 255 seconds)
  87 2014-09-04 00:18:26 shesek has quit (Ping timeout: 255 seconds)
  88 2014-09-04 00:18:27 knotwork__ has quit (Ping timeout: 255 seconds)
  89 2014-09-04 00:18:27 waxwing has quit (Ping timeout: 255 seconds)
  90 2014-09-04 00:18:27 viic has quit (Ping timeout: 255 seconds)
  91 2014-09-04 00:18:27 go1111111 has quit (Ping timeout: 255 seconds)
  92 2014-09-04 00:18:29 nsh has joined
  93 2014-09-04 00:18:29 nsh has quit (Changing host)
  94 2014-09-04 00:18:29 nsh has joined
  95 2014-09-04 00:18:30 fanquake_ is now known as fanquake
  96 2014-09-04 00:18:32 <sipa> libstdc++ is GCC's implementation of the C++ standard library
  97 2014-09-04 00:18:34 mpmcsweeney has joined
  98 2014-09-04 00:18:38 go1111111 has joined
  99 2014-09-04 00:18:42 <jrick> right
 100 2014-09-04 00:18:45 <sipa> or is it apple's?
 101 2014-09-04 00:18:52 execut3 has joined
 102 2014-09-04 00:18:53 <jrick> that's libc++ iirc
 103 2014-09-04 00:19:00 <sipa> right
 104 2014-09-04 00:19:15 jgarzik has joined
 105 2014-09-04 00:19:16 viic has joined
 106 2014-09-04 00:19:41 Internet13 has joined
 107 2014-09-04 00:19:44 joesmoe has joined
 108 2014-09-04 00:19:53 knotwork__ has joined
 109 2014-09-04 00:20:18 <phantomcircuit> gmaxwell, didn't you say the unordered map didn't really help?
 110 2014-09-04 00:20:22 mapppum has quit (Remote host closed the connection)
 111 2014-09-04 00:20:56 <sipa> not for memory usage; and likely not much for performance either
 112 2014-09-04 00:21:03 <sipa> but hey; the code becomes cleaner too
 113 2014-09-04 00:21:16 <gmaxwell> You can .reserve now too.
 114 2014-09-04 00:22:02 <sipa> won't do that much, i think
 115 2014-09-04 00:22:11 <gmaxwell> didn't.
 116 2014-09-04 00:22:35 <sipa> as that only allocates the actual hashmap, not the actual entries (which are independently allocated)
 117 2014-09-04 00:22:45 djackallstar has joined
 118 2014-09-04 00:22:47 <sipa> and certainly not the CBlockIndex objects
 119 2014-09-04 00:23:03 mpmcsweeney has quit (Ping timeout: 245 seconds)
 120 2014-09-04 00:23:06 <gmaxwell> sipa: I thought about making mapBlockIndex an unordered map of CBlockIndex instead of CBlockIndex* (thus avoiding a bunch of randomly timed allocations, perhaps) but it required too many changes to justify for just an expirement.
 121 2014-09-04 00:23:29 <gmaxwell> ah, scratch the "avoiding" part too then I guess!
 122 2014-09-04 00:23:30 <sipa> gmaxwell: i've been wanting to do that too; if anything, it would save us a few MB of malloc overhead
 123 2014-09-04 00:23:36 <kdomanski_> sipa: I'd change <string.h> to <cstring> and use memcpy on operator{<,>,>=} as well
 124 2014-09-04 00:23:42 <sipa> kdomanski_: can't
 125 2014-09-04 00:23:43 Eiii has joined
 126 2014-09-04 00:23:49 <kdomanski_> huh?
 127 2014-09-04 00:23:52 <gmaxwell> sipa: yep. Also fragmentation.
 128 2014-09-04 00:24:06 <kdomanski_> sipa: which part?
 129 2014-09-04 00:24:17 <sipa> kdomanski_: memcmp does "big endian" comparison
 130 2014-09-04 00:24:31 <gmaxwell> kdomanski_: memcmp is byte oritended. The numbers are LE bigints.
 131 2014-09-04 00:24:38 <sipa> kdomanski_: uint256's operator< _must_ obey to mathematical integer ordering for PoW
 132 2014-09-04 00:24:40 <gmaxwell> for POW the order matters greatly.
 133 2014-09-04 00:24:44 Pan0ram1x has joined
 134 2014-09-04 00:24:59 <kdomanski_> sipa: oh, I thought they were BE
 135 2014-09-04 00:25:08 <sipa> kdomanski_: x86 is LE
 136 2014-09-04 00:25:32 <sipa> and the uint32_t inside uint256 are also LE ordered
 137 2014-09-04 00:25:44 <gmaxwell> I suppose we could swizzle the values in memory so memcmp worked.
 138 2014-09-04 00:26:03 super3 has joined
 139 2014-09-04 00:26:12 <sipa> that would break the ability to do fast arithmetic
 140 2014-09-04 00:26:15 <phantomcircuit> gmaxwell, plz2not
 141 2014-09-04 00:26:24 <phantomcircuit> :P
 142 2014-09-04 00:27:07 <gmaxwell> sipa: but we don't do any arithmetic on them outside of POW checking, IIRC.
 143 2014-09-04 00:27:35 <sipa> gmaxwell: i believe that
 144 2014-09-04 00:27:48 <sipa> actually no; we also use it for comparing chainwork
 145 2014-09-04 00:27:55 <kdomanski_> gmaxwell: I don't think the benefit is worth messing with it
 146 2014-09-04 00:28:02 <gmaxwell> chainwork compares to itself, not block hashes.
 147 2014-09-04 00:28:37 <sipa> gmaxwell: true, but chainwork also needs arithmetic compatible with that comparison
 148 2014-09-04 00:28:41 grubles has joined
 149 2014-09-04 00:29:13 <gmaxwell> true enough.
 150 2014-09-04 00:30:18 cagedwisdom has joined
 151 2014-09-04 00:32:06 moa has quit (Quit: Leaving.)
 152 2014-09-04 00:32:21 <sipa> kdomanski_: github's input sanitization is funny
 153 2014-09-04 00:32:34 <sipa> i get an email from you with "How about instead?"
 154 2014-09-04 00:34:01 WeCluster has quit (Ping timeout: 276 seconds)
 155 2014-09-04 00:35:13 <kdomanski_> that's because i wrote "How about <cstring> instead?" instead of "How about \<cstring> instead?"
 156 2014-09-04 00:35:34 <sipa> ah, you actually can escape it?
 157 2014-09-04 00:35:38 <kdomanski_> then I edited
 158 2014-09-04 00:35:40 <teward> sipa, yeah you can
 159 2014-09-04 00:36:14 benrcole has quit (Quit: Leaving.)
 160 2014-09-04 00:36:50 llllllllll has quit ()
 161 2014-09-04 00:36:59 WeCluster has joined
 162 2014-09-04 00:37:29 <uiop> if you guys are talking about comparing arrays of uint256's, that would be an excellent candidate for custom sse. <sketch>could use pcmpgtX/similar, movmaskY, then something-appropriate</sketch>
 163 2014-09-04 00:37:37 kdomanski__ has joined
 164 2014-09-04 00:38:11 <uiop> could completely eliminate all branches (other than the loop backedge)
 165 2014-09-04 00:38:45 <gmaxwell> I don't think we ever actually do that.
 166 2014-09-04 00:38:48 <uiop> *that is, eliminate the "if(..) break;" equivalent part of loop
 167 2014-09-04 00:38:59 <uiop> gmaxwell: ah, too bad
 168 2014-09-04 00:40:14 <uiop> **err, you could elim *some* branch, though i can't quite pin down a generic all-applicable way to describe which
 169 2014-09-04 00:40:20 kdomanski_ has quit (Ping timeout: 264 seconds)
 170 2014-09-04 00:40:31 kdomanski__ is now known as kdomanski
 171 2014-09-04 00:41:31 zeiris has quit (Ping timeout: 250 seconds)
 172 2014-09-04 00:41:43 wallet42 has joined
 173 2014-09-04 00:43:06 <uiop> ***oh, right. scratch that. the gain wouldn't be elim of a branch (you can already only have one in this case), what you would gain would be doing N=4 (or 2 or 8, depending) comparisons in parallel, thus needing current_num_iterations/N to do comparison (which gmaxwell points out, you don't actually do anyways, so this is just me being anal :)
 174 2014-09-04 00:43:59 <uiop> (so roughly an Nx speedup)
 175 2014-09-04 00:45:37 zeiris has joined
 176 2014-09-04 00:46:12 <uiop> this sort of ninja sse comparison code is currently beyond gcc's abilities (which is not that surprising actually, since to achieve it gcc would need to transform NON-sse-like-branchless-comparison-code into it, which seems pretty nontrivial, even at second or third glance)
 177 2014-09-04 00:46:59 kdomanski_ has joined
 178 2014-09-04 00:48:58 jMyles has quit (Ping timeout: 272 seconds)
 179 2014-09-04 00:50:32 kdomanski has quit (Ping timeout: 264 seconds)
 180 2014-09-04 00:51:03 <phantomcircuit> gmaxwell, github's caching is overly aggressive
 181 2014-09-04 00:51:19 <phantomcircuit> afaict they blindly set cache timeout values on assets which should be using etags
 182 2014-09-04 00:51:27 MolokoBot has joined
 183 2014-09-04 00:51:51 ak__ has quit (Read error: Connection reset by peer)
 184 2014-09-04 00:51:52 akstunt600 has quit (Read error: Connection reset by peer)
 185 2014-09-04 00:52:45 akstunt600 has joined
 186 2014-09-04 00:52:50 ak__ has joined
 187 2014-09-04 00:54:48 MolokoDesk has quit (Ping timeout: 245 seconds)
 188 2014-09-04 00:57:28 Eiii has quit (Ping timeout: 255 seconds)
 189 2014-09-04 00:57:55 zeiris has quit (Ping timeout: 255 seconds)
 190 2014-09-04 00:58:18 Eiii has joined
 191 2014-09-04 00:58:18 Eiii has quit (Changing host)
 192 2014-09-04 00:58:18 Eiii has joined
 193 2014-09-04 00:58:23 Pan0ram1x has quit (Ping timeout: 255 seconds)
 194 2014-09-04 00:58:23 viic has quit (Ping timeout: 255 seconds)
 195 2014-09-04 00:58:23 go1111111 has quit (Ping timeout: 255 seconds)
 196 2014-09-04 00:58:23 nsh has quit (Ping timeout: 255 seconds)
 197 2014-09-04 00:58:55 viic has joined
 198 2014-09-04 00:59:43 zeiris has joined
 199 2014-09-04 01:03:47 Pan0ram1x has joined
 200 2014-09-04 01:04:04 Pan0ram1x is now known as Guest582
 201 2014-09-04 01:05:10 unkn-error has quit (Read error: Connection reset by peer)
 202 2014-09-04 01:06:13 unkn-error has joined
 203 2014-09-04 01:06:13 unkn-error has quit (Changing host)
 204 2014-09-04 01:06:13 unkn-error has joined
 205 2014-09-04 01:10:17 rdponticelli has joined
 206 2014-09-04 01:10:52 nsh has joined
 207 2014-09-04 01:10:55 go1111111 has joined
 208 2014-09-04 01:12:49 Guest43181 has quit (Ping timeout: 260 seconds)
 209 2014-09-04 01:12:51 unkn-error has quit (Read error: Connection reset by peer)
 210 2014-09-04 01:15:01 Raziel has quit (Ping timeout: 252 seconds)
 211 2014-09-04 01:19:32 jordandotdev has joined
 212 2014-09-04 01:21:26 Namworld has joined
 213 2014-09-04 01:23:13 ionstorm has joined
 214 2014-09-04 01:25:01 aquarat has quit (Read error: Connection reset by peer)
 215 2014-09-04 01:25:52 mapppum has joined
 216 2014-09-04 01:26:23 torsthaldo has quit (Quit: Leaving.)
 217 2014-09-04 01:27:46 crunk-juice has joined
 218 2014-09-04 01:27:53 aquarat has joined
 219 2014-09-04 01:33:48 soheil has quit (Remote host closed the connection)
 220 2014-09-04 01:33:50 crunk-juice has quit (Remote host closed the connection)
 221 2014-09-04 01:40:47 <lewellyn> screw noriega. mussolini was more effective.
 222 2014-09-04 01:41:02 erasmospunk has joined
 223 2014-09-04 01:41:31 bsm117532 has quit (Ping timeout: 268 seconds)
 224 2014-09-04 01:42:25 <lewellyn> Luke-Jr: problem with what?
 225 2014-09-04 01:42:42 <Luke-Jr> lewellyn: anything around the licensing
 226 2014-09-04 01:45:14 akstunt600 has quit (Read error: Connection reset by peer)
 227 2014-09-04 01:45:14 ak__ has quit (Read error: Connection reset by peer)
 228 2014-09-04 01:45:53 ak__ has joined
 229 2014-09-04 01:46:07 akstunt600 has joined
 230 2014-09-04 01:46:31 justanotheruser has quit (Ping timeout: 245 seconds)
 231 2014-09-04 01:46:32 rdponticelli has quit (Ping timeout: 264 seconds)
 232 2014-09-04 01:47:18 wallet42 has quit (Quit: Leaving.)
 233 2014-09-04 01:48:08 erasmospunk has quit (Ping timeout: 245 seconds)
 234 2014-09-04 01:51:17 villainousgonzo has joined
 235 2014-09-04 01:51:27 villainousgonzo has quit (Remote host closed the connection)
 236 2014-09-04 01:51:46 crunk-juice has joined
 237 2014-09-04 01:57:52 weilu has joined
 238 2014-09-04 01:59:02 Dr-G2 has joined
 239 2014-09-04 02:01:13 darsie has quit (Ping timeout: 252 seconds)
 240 2014-09-04 02:02:31 groglogic has joined
 241 2014-09-04 02:02:50 Dr-G has quit (Ping timeout: 264 seconds)
 242 2014-09-04 02:03:11 groglogic has quit (Client Quit)
 243 2014-09-04 02:03:44 grubles has quit (Quit: Leaving)
 244 2014-09-04 02:05:24 sahlhoff has joined
 245 2014-09-04 02:05:42 christop1e is now known as christophe
 246 2014-09-04 02:07:27 imton has quit (Ping timeout: 252 seconds)
 247 2014-09-04 02:07:27 Application has quit (Ping timeout: 252 seconds)
 248 2014-09-04 02:08:24 devrandom has joined
 249 2014-09-04 02:10:02 drArtemis has joined
 250 2014-09-04 02:12:39 drArtemis has quit (Remote host closed the connection)
 251 2014-09-04 02:13:06 drArtemis has joined
 252 2014-09-04 02:17:21 viic has quit (Ping timeout: 252 seconds)
 253 2014-09-04 02:17:38 drArtemis has quit (Ping timeout: 245 seconds)
 254 2014-09-04 02:18:25 drArtemis has joined
 255 2014-09-04 02:19:03 theorbtwo has quit (Ping timeout: 240 seconds)
 256 2014-09-04 02:20:20 wallet42 has joined
 257 2014-09-04 02:20:47 mpmcsweeney has joined
 258 2014-09-04 02:21:55 viic has joined
 259 2014-09-04 02:22:08 wallet42 has quit (Client Quit)
 260 2014-09-04 02:22:41 T19EL_ has quit (Ping timeout: 260 seconds)
 261 2014-09-04 02:23:29 T19EL has joined
 262 2014-09-04 02:24:15 <lewellyn> Luke-Jr: what's the reference for that highlight? i lack context?
 263 2014-09-04 02:24:40 theorbtwo has joined
 264 2014-09-04 02:25:11 drArtemis has quit (Remote host closed the connection)
 265 2014-09-04 02:25:37 drArtemis has joined
 266 2014-09-04 02:29:43 drArtemis has quit (Ping timeout: 245 seconds)
 267 2014-09-04 02:29:49 execut3 has quit (Ping timeout: 252 seconds)
 268 2014-09-04 02:31:08 netg_ has joined
 269 2014-09-04 02:31:13 netg_ has quit (Client Quit)
 270 2014-09-04 02:32:04 one_zero has joined
 271 2014-09-04 02:32:09 Application has joined
 272 2014-09-04 02:33:08 aschildbach_ has joined
 273 2014-09-04 02:34:06 aschildbach has quit (Ping timeout: 272 seconds)
 274 2014-09-04 02:34:38 devrandom has quit (Ping timeout: 264 seconds)
 275 2014-09-04 02:36:10 ItSANgo has quit (Quit: Leaving...)
 276 2014-09-04 02:38:05 BNCatDIGISHELL has quit (Ping timeout: 250 seconds)
 277 2014-09-04 02:38:17 netg_ has joined
 278 2014-09-04 02:38:27 Raccoon has quit (Ping timeout: 260 seconds)
 279 2014-09-04 02:38:31 akstunt600 has quit (Read error: Connection reset by peer)
 280 2014-09-04 02:38:32 ak__ has quit (Read error: Connection reset by peer)
 281 2014-09-04 02:38:37 one_zero has quit ()
 282 2014-09-04 02:38:50 devrandom has joined
 283 2014-09-04 02:39:22 ak__ has joined
 284 2014-09-04 02:39:41 akstunt600 has joined
 285 2014-09-04 02:41:53 one_zero has joined
 286 2014-09-04 02:43:26 drArtemis has joined
 287 2014-09-04 02:43:39 atgreen has quit (Remote host closed the connection)
 288 2014-09-04 02:44:32 drArtemis has quit (Remote host closed the connection)
 289 2014-09-04 02:44:58 drArtemis has joined
 290 2014-09-04 02:45:38 shesek has joined
 291 2014-09-04 02:46:46 Namworld has quit ()
 292 2014-09-04 02:46:54 devrandom has quit (Quit: leaving)
 293 2014-09-04 02:47:46 BNCatDIGISHELL has joined
 294 2014-09-04 02:48:33 pen has quit (Ping timeout: 245 seconds)
 295 2014-09-04 02:48:45 atgreen has joined
 296 2014-09-04 02:49:01 Raccoon has joined
 297 2014-09-04 02:49:33 drArtemis has quit (Ping timeout: 240 seconds)
 298 2014-09-04 02:51:22 drArtemis has joined
 299 2014-09-04 02:57:45 Subo1977_ has joined
 300 2014-09-04 02:58:23 mpmcsweeney is now known as mpm_
 301 2014-09-04 02:59:14 Subo1977 has quit (Ping timeout: 264 seconds)
 302 2014-09-04 03:01:31 justanotheruser has joined
 303 2014-09-04 03:01:48 drArtemis has quit (Remote host closed the connection)
 304 2014-09-04 03:02:15 drArtemis has joined
 305 2014-09-04 03:02:36 RoboTeddy has quit (Ping timeout: 272 seconds)
 306 2014-09-04 03:02:55 W0rmDr1nk has quit (Ping timeout: 268 seconds)
 307 2014-09-04 03:05:28 WeCluster has quit (Ping timeout: 276 seconds)
 308 2014-09-04 03:06:25 Guest43181 has joined
 309 2014-09-04 03:07:14 drArtemis has quit (Ping timeout: 268 seconds)
 310 2014-09-04 03:07:17 drArtemi_ has joined
 311 2014-09-04 03:08:06 WeCluster has joined
 312 2014-09-04 03:08:49 drArtemi_ has quit (Remote host closed the connection)
 313 2014-09-04 03:09:15 drArtemis has joined
 314 2014-09-04 03:09:49 RoboTeddy has joined
 315 2014-09-04 03:13:33 drArtemis has quit (Ping timeout: 245 seconds)
 316 2014-09-04 03:15:39 W0rmDr1nk has joined
 317 2014-09-04 03:16:33 TheSeven has quit (Ping timeout: 272 seconds)
 318 2014-09-04 03:17:19 TheSeven has joined
 319 2014-09-04 03:17:57 imagegami has joined
 320 2014-09-04 03:19:19 ItSANgo has joined
 321 2014-09-04 03:20:43 pen has joined
 322 2014-09-04 03:21:11 Guest43181 has quit (Ping timeout: 246 seconds)
 323 2014-09-04 03:26:19 Guest43181 has joined
 324 2014-09-04 03:27:33 HostFat has quit (Read error: Connection reset by peer)
 325 2014-09-04 03:31:52 akstunt600 has quit (Read error: Connection reset by peer)
 326 2014-09-04 03:31:52 ak__ has quit (Read error: Connection reset by peer)
 327 2014-09-04 03:32:32 ak__ has joined
 328 2014-09-04 03:34:52 akstunt600 has joined
 329 2014-09-04 03:35:18 mrkent has joined
 330 2014-09-04 03:40:33 antizionist__ has quit (Quit: Connection closed for inactivity)
 331 2014-09-04 03:42:44 kgk_ has joined
 332 2014-09-04 03:44:58 erasmospunk has joined
 333 2014-09-04 03:47:11 jMyles has joined
 334 2014-09-04 03:49:31 crunk-juice has quit (Remote host closed the connection)
 335 2014-09-04 03:50:08 crunk-juice has joined
 336 2014-09-04 03:50:33 erasmospunk has quit (Ping timeout: 260 seconds)
 337 2014-09-04 03:53:33 MolokoBot is now known as MolokoDesk
 338 2014-09-04 03:55:11 crunk-juice has quit (Ping timeout: 272 seconds)
 339 2014-09-04 03:57:22 ericmuyser has joined
 340 2014-09-04 03:57:33 nullbyte has quit (Ping timeout: 260 seconds)
 341 2014-09-04 04:04:10 kermit has quit (Quit: Leaving.)
 342 2014-09-04 04:04:33 kermit has joined
 343 2014-09-04 04:05:46 bedeho has joined
 344 2014-09-04 04:07:18 stapler117 has quit (Ping timeout: 245 seconds)
 345 2014-09-04 04:07:49 cbeams has joined
 346 2014-09-04 04:09:09 stapler117 has joined
 347 2014-09-04 04:12:38 cbeams has quit (Ping timeout: 245 seconds)
 348 2014-09-04 04:15:44 mrkent has quit (Ping timeout: 264 seconds)
 349 2014-09-04 04:24:09 hmsimha has joined
 350 2014-09-04 04:25:13 akstunt600 has quit (Read error: Connection reset by peer)
 351 2014-09-04 04:25:13 ak__ has quit (Read error: Connection reset by peer)
 352 2014-09-04 04:25:22 crunk-juice has joined
 353 2014-09-04 04:26:06 ak__ has joined
 354 2014-09-04 04:26:19 akstunt600 has joined
 355 2014-09-04 04:28:50 ebfull has quit (Quit: cya)
 356 2014-09-04 04:29:04 ebfull has joined
 357 2014-09-04 04:31:06 kgk_ has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
 358 2014-09-04 04:31:37 DoctorBTC has quit (Ping timeout: 260 seconds)
 359 2014-09-04 04:31:44 kgk_ has joined
 360 2014-09-04 04:32:18 ericmuys_ has joined
 361 2014-09-04 04:32:36 kgk_ has quit (Client Quit)
 362 2014-09-04 04:33:00 ericmuyser has quit (Read error: Connection reset by peer)
 363 2014-09-04 04:38:19 cadaver has joined
 364 2014-09-04 04:40:01 crunk-juice has quit (Remote host closed the connection)
 365 2014-09-04 04:44:23 Guest43181 has quit (Ping timeout: 252 seconds)
 366 2014-09-04 04:55:20 MolokoDesk has quit (Ping timeout: 264 seconds)
 367 2014-09-04 05:00:06 jMyles has quit (Remote host closed the connection)
 368 2014-09-04 05:09:53 Aido has quit (Ping timeout: 260 seconds)
 369 2014-09-04 05:16:04 johnsoft has quit (Ping timeout: 240 seconds)
 370 2014-09-04 05:16:58 weilu_ has joined
 371 2014-09-04 05:17:05 johnsoft has joined
 372 2014-09-04 05:18:30 akstunt600 has quit (Read error: Connection reset by peer)
 373 2014-09-04 05:18:30 ak__ has quit (Read error: Connection reset by peer)
 374 2014-09-04 05:19:10 ak__ has joined
 375 2014-09-04 05:19:23 akstunt600 has joined
 376 2014-09-04 05:19:51 toffoo has joined
 377 2014-09-04 05:20:41 weilu has quit (Ping timeout: 272 seconds)
 378 2014-09-04 05:26:22 toffoo has quit (Read error: Connection timed out)
 379 2014-09-04 05:26:23 ThomasV has joined
 380 2014-09-04 05:26:33 paveljanik has joined
 381 2014-09-04 05:26:50 toffoo has joined
 382 2014-09-04 05:30:06 cadaver has quit (Read error: Connection reset by peer)
 383 2014-09-04 05:30:26 MolokoDesk has joined
 384 2014-09-04 05:30:30 cadaver has joined
 385 2014-09-04 05:30:37 Guest23543 has joined
 386 2014-09-04 05:30:55 ThomasV has quit (Ping timeout: 268 seconds)
 387 2014-09-04 05:33:29 Starduster_ has quit (Ping timeout: 246 seconds)
 388 2014-09-04 05:36:16 b-itcoinssg has joined
 389 2014-09-04 05:36:23 <earlz> If you have a signed transaction.. Will the hash of the transaction be the same in block X, if it later is orphaned and appears in block Y?
 390 2014-09-04 05:38:12 <Luke-Jr> not necessarily
 391 2014-09-04 05:38:22 MoALTz has quit (Quit: Leaving)
 392 2014-09-04 05:38:23 <Luke-Jr> it might not be the same in block X
 393 2014-09-04 05:38:39 <earlz> Well, I mean is it /possible/ for the hash to be the same
 394 2014-09-04 05:39:13 <Luke-Jr> sure
 395 2014-09-04 05:39:16 <Luke-Jr> often is
 396 2014-09-04 05:39:47 <earlz> ok.. I still don't completely understand transaction malleability heh
 397 2014-09-04 05:40:15 MolokoBot has joined
 398 2014-09-04 05:40:24 <Luke-Jr> earlz: basically any transaction can be modified without making it invalid, so long as the recipients remain the same
 399 2014-09-04 05:40:43 <Luke-Jr> earlz: mining it just locks it to a specific hash in that blockchain
 400 2014-09-04 05:41:45 <earlz> so what exactly is signed then
 401 2014-09-04 05:43:04 banghouse has quit (Ping timeout: 240 seconds)
 402 2014-09-04 05:43:45 <gmaxwell> earlz: on a normal transaction the whole transaction is signed, but obviously the signature itself cannot be signed.
 403 2014-09-04 05:43:59 MolokoDesk has quit (Ping timeout: 246 seconds)
 404 2014-09-04 05:47:36 davec has quit (Read error: No route to host)
 405 2014-09-04 05:47:38 <earlz> but how would the signature be modified? Like what can be changed in a transaction while keeping the singature valid?
 406 2014-09-04 05:49:10 <Luke-Jr> earlz: think numbers. add leading zeros.
 407 2014-09-04 05:49:16 WeCluster has quit (Ping timeout: 276 seconds)
 408 2014-09-04 05:49:18 <Luke-Jr> that's one obvious way
 409 2014-09-04 05:50:48 WeCluster has joined
 410 2014-09-04 05:53:46 <earlz> mmm..
 411 2014-09-04 05:54:01 <earlz> Everything has to keep the same semantics then at least
 412 2014-09-04 05:54:09 <gmaxwell> yes, does exactly the same thing.
 413 2014-09-04 05:55:07 tombtc has quit (Quit: quit)
 414 2014-09-04 05:57:22 <Luke-Jr> bitcoin would be so much easier if we just used the hash of the scriptPubKey as the input :P
 415 2014-09-04 05:57:26 <Luke-Jr> (and txid)
 416 2014-09-04 05:59:34 <gmaxwell> Luke-Jr: can't prevent duplicate transaction ids if you do that.
 417 2014-09-04 05:59:48 ionstorm has quit (Remote host closed the connection)
 418 2014-09-04 05:59:50 <Luke-Jr> gmaxwell: prevent why? ;)
 419 2014-09-04 06:00:16 easye` has quit (Quit: ERC Version 5.3 (IRC client for Emacs))
 420 2014-09-04 06:00:20 <Luke-Jr> I guess there's some DoSes that might be possible
 421 2014-09-04 06:00:20 <gmaxwell> man, and some people think mutability screws up accounting, ... good luck with duplicate txids!
 422 2014-09-04 06:00:38 <Luke-Jr> gmaxwell: no duplicate txids if addresses are used once ;)
 423 2014-09-04 06:00:44 easye has joined
 424 2014-09-04 06:09:32 davec has joined
 425 2014-09-04 06:11:51 akstunt600 has quit (Read error: Connection reset by peer)
 426 2014-09-04 06:11:51 ak__ has quit (Read error: Connection reset by peer)
 427 2014-09-04 06:12:44 ak__ has joined
 428 2014-09-04 06:12:48 akstunt600 has joined
 429 2014-09-04 06:13:43 erasmospunk has joined
 430 2014-09-04 06:15:19 RagnarDanneskjol has joined
 431 2014-09-04 06:15:57 weilu_ has quit (Read error: Connection reset by peer)
 432 2014-09-04 06:17:06 weilu has joined
 433 2014-09-04 06:18:31 WeCluster has quit (Ping timeout: 276 seconds)
 434 2014-09-04 06:19:17 DoctorBTC has joined
 435 2014-09-04 06:19:33 Guest41625 is now known as PsychoticBoy
 436 2014-09-04 06:20:22 Fistful_of_coins has joined
 437 2014-09-04 06:21:55 sahlhoff has quit (Quit: sahlhoff)
 438 2014-09-04 06:22:32 cadaver has quit (Quit: cadaver)
 439 2014-09-04 06:23:01 serialbandicoot has joined
 440 2014-09-04 06:23:30 benrcole has joined
 441 2014-09-04 06:27:25 benrcole1 has joined
 442 2014-09-04 06:28:22 serialbandicoot has quit (Quit: serialbandicoot)
 443 2014-09-04 06:28:44 DougieBot5000 has quit (Quit: Leaving)
 444 2014-09-04 06:31:31 benrcole has quit (Ping timeout: 276 seconds)
 445 2014-09-04 06:34:23 weilu has quit (Ping timeout: 246 seconds)
 446 2014-09-04 06:34:23 Belxjander has quit (Read error: Connection reset by peer)
 447 2014-09-04 06:35:22 weilu has joined
 448 2014-09-04 06:38:20 erasmospunk has quit (Remote host closed the connection)
 449 2014-09-04 06:47:08 benrcole has joined
 450 2014-09-04 06:51:40 benrcole1 has quit (Ping timeout: 276 seconds)
 451 2014-09-04 06:55:27 abossard has joined
 452 2014-09-04 06:58:24 banghouse has joined
 453 2014-09-04 07:01:14 mpm_ has quit (Remote host closed the connection)
 454 2014-09-04 07:01:23 mpm_ has joined
 455 2014-09-04 07:02:00 mpm_ has quit (Remote host closed the connection)
 456 2014-09-04 07:02:36 mpm_ has joined
 457 2014-09-04 07:02:44 ArthurNumbanumba has quit (Ping timeout: 246 seconds)
 458 2014-09-04 07:05:09 akstunt600 has quit (Read error: Connection reset by peer)
 459 2014-09-04 07:05:09 ak__ has quit (Read error: Connection reset by peer)
 460 2014-09-04 07:05:23 da2ce7 has joined
 461 2014-09-04 07:05:48 ak__ has joined
 462 2014-09-04 07:06:02 akstunt600 has joined
 463 2014-09-04 07:06:25 CoinHeavy has joined
 464 2014-09-04 07:06:53 mpm_ has quit (Ping timeout: 245 seconds)
 465 2014-09-04 07:08:06 doopers has quit ()
 466 2014-09-04 07:08:34 iugfhvybu has quit (Ping timeout: 240 seconds)
 467 2014-09-04 07:10:11 jrklein has joined
 468 2014-09-04 07:10:31 ThomasV has joined
 469 2014-09-04 07:10:59 jrklein_ has quit (Ping timeout: 260 seconds)
 470 2014-09-04 07:11:11 Zifre_ has quit (Remote host closed the connection)
 471 2014-09-04 07:11:51 CryptoXim has quit (Ping timeout: 264 seconds)
 472 2014-09-04 07:12:10 shesek has quit (Ping timeout: 260 seconds)
 473 2014-09-04 07:16:33 ArthurNumbanumba has joined
 474 2014-09-04 07:16:45 CryptoXim has joined
 475 2014-09-04 07:16:59 weilu_ has joined
 476 2014-09-04 07:17:01 weilu has quit (Ping timeout: 276 seconds)
 477 2014-09-04 07:17:49 drArtemis has joined
 478 2014-09-04 07:17:50 damethos has joined
 479 2014-09-04 07:19:30 msvb-lab has joined
 480 2014-09-04 07:19:55 Belxjander has joined
 481 2014-09-04 07:20:06 nowan_ has joined
 482 2014-09-04 07:20:38 nowan has quit (Ping timeout: 245 seconds)
 483 2014-09-04 07:21:30 weilu has joined
 484 2014-09-04 07:21:59 iugfhvybu has joined
 485 2014-09-04 07:22:14 weilu_ has quit (Read error: No route to host)
 486 2014-09-04 07:22:21 drArtemis has quit (Remote host closed the connection)
 487 2014-09-04 07:22:48 drArtemis has joined
 488 2014-09-04 07:23:01 cbeams has joined
 489 2014-09-04 07:23:01 cbeams has quit (Changing host)
 490 2014-09-04 07:23:01 cbeams has joined
 491 2014-09-04 07:23:18 cbeams has quit (Client Quit)
 492 2014-09-04 07:27:28 drArtemis has quit (Ping timeout: 268 seconds)
 493 2014-09-04 07:29:02 rfreeman_w has joined
 494 2014-09-04 07:30:24 banghouse3 has joined
 495 2014-09-04 07:30:29 Apexseals has quit (Ping timeout: 252 seconds)
 496 2014-09-04 07:30:44 banghouse has quit (Ping timeout: 246 seconds)
 497 2014-09-04 07:31:10 JZavala has quit (Ping timeout: 268 seconds)
 498 2014-09-04 07:31:40 banghouse3 is now known as banghouse
 499 2014-09-04 07:35:07 Eiii has quit ()
 500 2014-09-04 07:37:06 weilu_ has joined
 501 2014-09-04 07:37:14 weilu_ has quit (Read error: Connection reset by peer)
 502 2014-09-04 07:37:29 RoboTeddy has quit (Ping timeout: 272 seconds)
 503 2014-09-04 07:38:01 weilu_ has joined
 504 2014-09-04 07:38:06 MolokoBox has joined
 505 2014-09-04 07:38:08 weilu has quit (Read error: Connection reset by peer)
 506 2014-09-04 07:39:04 xenog has joined
 507 2014-09-04 07:40:50 derbumi has joined
 508 2014-09-04 07:41:03 robbak has quit (Quit: Konversation terminated!)
 509 2014-09-04 07:41:28 MolokoBot has quit (Ping timeout: 245 seconds)
 510 2014-09-04 07:41:29 jMyles has joined
 511 2014-09-04 07:41:34 derbumi has quit (Client Quit)
 512 2014-09-04 07:42:16 ThomasV has quit (Ping timeout: 268 seconds)
 513 2014-09-04 07:42:34 weilu_ has quit (Ping timeout: 240 seconds)
 514 2014-09-04 07:42:57 derbumi has joined
 515 2014-09-04 07:44:16 serialbandicoot has joined
 516 2014-09-04 07:44:44 bedeho has quit (Ping timeout: 268 seconds)
 517 2014-09-04 07:47:04 b-itcoinssg has quit (Quit: Connection closed for inactivity)
 518 2014-09-04 07:47:42 imfaust has quit (Read error: Connection reset by peer)
 519 2014-09-04 07:48:09 imfaust has joined
 520 2014-09-04 07:49:48 joseph has quit (Ping timeout: 245 seconds)
 521 2014-09-04 07:51:28 xenog has quit (Ping timeout: 245 seconds)
 522 2014-09-04 07:51:45 serialbandicoot has quit (Ping timeout: 264 seconds)
 523 2014-09-04 07:51:49 serialbandicoot_ has joined
 524 2014-09-04 07:51:58 wetryh has joined
 525 2014-09-04 07:52:19 vmatekole has joined
 526 2014-09-04 07:52:24 cbeams has joined
 527 2014-09-04 07:52:24 cbeams has quit (Changing host)
 528 2014-09-04 07:52:24 cbeams has joined
 529 2014-09-04 07:53:11 kdomanski_ has quit (Read error: Connection reset by peer)
 530 2014-09-04 07:54:45 wetryh has quit (Client Quit)
 531 2014-09-04 07:56:51 Informerop has quit (Ping timeout: 264 seconds)
 532 2014-09-04 07:58:03 kdomanski_ has joined
 533 2014-09-04 07:58:31 akstunt600 has quit (Read error: Connection reset by peer)
 534 2014-09-04 07:58:31 ak__ has quit (Read error: Connection reset by peer)
 535 2014-09-04 07:59:22 ak__ has joined
 536 2014-09-04 07:59:36 akstunt600 has joined
 537 2014-09-04 08:01:06 derbumi_ has joined
 538 2014-09-04 08:01:11 derbumi has quit (Ping timeout: 246 seconds)
 539 2014-09-04 08:01:11 derbumi_ is now known as derbumi
 540 2014-09-04 08:02:50 mapppum has quit (Remote host closed the connection)
 541 2014-09-04 08:05:05 t7 has joined
 542 2014-09-04 08:06:15 tarantillo_1 has quit (Remote host closed the connection)
 543 2014-09-04 08:06:33 tarantillo_ has joined
 544 2014-09-04 08:07:41 RoboTeddy has joined
 545 2014-09-04 08:08:30 weilu has joined
 546 2014-09-04 08:09:46 weilu has quit (Read error: No route to host)
 547 2014-09-04 08:10:25 weilu has joined
 548 2014-09-04 08:11:20 gambler has joined
 549 2014-09-04 08:11:33 Informerop has joined
 550 2014-09-04 08:13:32 Quanttek_ has joined
 551 2014-09-04 08:13:32 Quanttek has joined
 552 2014-09-04 08:13:34 cagedwisdom has quit (Ping timeout: 240 seconds)
 553 2014-09-04 08:15:00 weilu has quit (Ping timeout: 260 seconds)
 554 2014-09-04 08:16:13 msvb-lab has quit (Remote host closed the connection)
 555 2014-09-04 08:16:24 linuxnewb2 has quit (Quit: linuxnewb2)
 556 2014-09-04 08:20:06 JackH has joined
 557 2014-09-04 08:20:11 vactov has joined
 558 2014-09-04 08:23:59 bedeho has joined
 559 2014-09-04 08:25:49 gotboompah has quit (Remote host closed the connection)
 560 2014-09-04 08:26:13 lclc has joined
 561 2014-09-04 08:27:31 rubensayshi has joined
 562 2014-09-04 08:27:36 serialbandicoot_ has quit (Quit: serialbandicoot_)
 563 2014-09-04 08:30:23 serialbandicoot has joined
 564 2014-09-04 08:32:25 W0rmDr1nk has quit (Ping timeout: 276 seconds)
 565 2014-09-04 08:35:50 graingert has joined
 566 2014-09-04 08:35:54 hearn has joined
 567 2014-09-04 08:36:12 graingert is now known as Guest58601
 568 2014-09-04 08:40:46 serialbandicoot has quit (Read error: Connection reset by peer)
 569 2014-09-04 08:44:56 damethos has quit (Quit: Bye)
 570 2014-09-04 08:45:33 CheckDavid has joined
 571 2014-09-04 08:47:55 serialbandicoot has joined
 572 2014-09-04 08:48:07 damethos has joined
 573 2014-09-04 08:48:08 serialbandicoot has quit (Client Quit)
 574 2014-09-04 08:48:59 weilu has joined
 575 2014-09-04 08:49:32 Raziel has joined
 576 2014-09-04 08:51:47 Plasmastar has quit (Ping timeout: 260 seconds)
 577 2014-09-04 08:51:51 akstunt600 has quit (Read error: Connection reset by peer)
 578 2014-09-04 08:51:51 ak__ has quit (Read error: Connection reset by peer)
 579 2014-09-04 08:52:40 akstunt600 has joined
 580 2014-09-04 08:52:57 ak__ has joined
 581 2014-09-04 08:53:11 go1111111 has quit (Ping timeout: 268 seconds)
 582 2014-09-04 08:54:03 timothy has joined
 583 2014-09-04 08:55:47 RoboTedd_ has joined
 584 2014-09-04 08:55:49 derbumi has quit (Quit: derbumi)
 585 2014-09-04 08:58:53 RoboTeddy has quit (Ping timeout: 245 seconds)
 586 2014-09-04 08:59:07 damethos has quit (Remote host closed the connection)
 587 2014-09-04 08:59:33 jMyles has quit (Ping timeout: 264 seconds)
 588 2014-09-04 09:00:32 shesek has joined
 589 2014-09-04 09:00:38 CoinHeavy has quit (Quit: CoinHeavy)
 590 2014-09-04 09:00:39 Quanttek_ has quit (Read error: Connection reset by peer)
 591 2014-09-04 09:00:59 Quanttek_ has joined
 592 2014-09-04 09:01:26 Plasmastar has joined
 593 2014-09-04 09:01:39 W0rmDr1nk has joined
 594 2014-09-04 09:02:29 rdymac has quit (Excess Flood)
 595 2014-09-04 09:02:33 xenog has joined
 596 2014-09-04 09:02:43 Quanttek_ has quit (Remote host closed the connection)
 597 2014-09-04 09:03:26 Quanttek has quit (Remote host closed the connection)
 598 2014-09-04 09:03:46 Quanttek has joined
 599 2014-09-04 09:06:31 rdymac has joined
 600 2014-09-04 09:06:55 Quanttek has quit (Remote host closed the connection)
 601 2014-09-04 09:09:55 serialbandicoot has joined
 602 2014-09-04 09:10:15 dgenr8 has quit (Read error: Connection reset by peer)
 603 2014-09-04 09:10:39 dgenr8 has joined
 604 2014-09-04 09:12:55 xenog has quit (Quit: Leaving.)
 605 2014-09-04 09:13:25 Quanttek has joined
 606 2014-09-04 09:13:31 derbumi has joined
 607 2014-09-04 09:13:53 xenog has joined
 608 2014-09-04 09:15:15 wallet42 has joined
 609 2014-09-04 09:15:16 wallet42 has quit (Changing host)
 610 2014-09-04 09:15:16 wallet42 has joined
 611 2014-09-04 09:15:21 xenog has quit (Client Quit)
 612 2014-09-04 09:17:02 xenog has joined
 613 2014-09-04 09:17:33 bedouin has quit (Ping timeout: 272 seconds)
 614 2014-09-04 09:18:10 Belxjander has quit (Quit: Exit())
 615 2014-09-04 09:19:57 bedouin_ has joined
 616 2014-09-04 09:20:22 go1111111 has joined
 617 2014-09-04 09:20:27 Keefe_ is now known as Keefe
 618 2014-09-04 09:20:38 warptangent has quit (Quit: No Ping reply in 180 seconds.)
 619 2014-09-04 09:20:44 neozaru has joined
 620 2014-09-04 09:22:03 toffoo has quit ()
 621 2014-09-04 09:23:03 warptangent has joined
 622 2014-09-04 09:23:41 CoinHeavy has joined
 623 2014-09-04 09:30:25 <aphorise> */*-
 624 2014-09-04 09:31:02 banghouse has quit (Remote host closed the connection)
 625 2014-09-04 09:32:02 joss_ has joined
 626 2014-09-04 09:32:38 derbumi has quit (Quit: derbumi)
 627 2014-09-04 09:34:14 Grouver has joined
 628 2014-09-04 09:35:33 ThomasV has joined
 629 2014-09-04 09:36:50 Belxjander has joined
 630 2014-09-04 09:37:01 ValiantThor has quit (Read error: Connection reset by peer)
 631 2014-09-04 09:37:28 ValiantThor has joined
 632 2014-09-04 09:39:21 CoinHeavy has quit (Quit: CoinHeavy)
 633 2014-09-04 09:40:11 fcw has joined
 634 2014-09-04 09:41:43 <fcw> Hello. Somebody can tell me where I can put a bugreport for Bitcoin Core 0.9.2.1?
 635 2014-09-04 09:42:15 <fcw> It is not a severe bug, only a annoying bug.
 636 2014-09-04 09:42:30 <gmaxwell> fcw: https://github.com/bitcoin/bitcoin/issues/
 637 2014-09-04 09:42:42 <fcw> Thank
 638 2014-09-04 09:45:23 akstunt600 has quit (Read error: Connection reset by peer)
 639 2014-09-04 09:46:14 akstunt600 has joined
 640 2014-09-04 09:46:34 torsthaldo has joined
 641 2014-09-04 09:47:46 cbeams has quit (Remote host closed the connection)
 642 2014-09-04 09:48:21 cbeams has joined
 643 2014-09-04 09:51:06 cbeams_ has joined
 644 2014-09-04 09:51:24 cbeams has quit (Read error: Connection reset by peer)
 645 2014-09-04 09:51:47 mappum has quit (Read error: Connection reset by peer)
 646 2014-09-04 09:57:51 HANTI is now known as hanti
 647 2014-09-04 09:58:41 AaronvanW has joined
 648 2014-09-04 09:59:42 derbumi has joined
 649 2014-09-04 10:03:25 robonerd has quit (Ping timeout: 276 seconds)
 650 2014-09-04 10:05:08 robonerd has joined
 651 2014-09-04 10:05:16 robonerd has quit (Changing host)
 652 2014-09-04 10:05:16 robonerd has joined
 653 2014-09-04 10:05:31 msvb-lab has joined
 654 2014-09-04 10:06:12 iugfhvybu has quit (Read error: Connection reset by peer)
 655 2014-09-04 10:06:18 fcw has quit (Quit: fcw)
 656 2014-09-04 10:10:18 cbeams_ is now known as cbeams
 657 2014-09-04 10:10:19 cbeams has quit (Changing host)
 658 2014-09-04 10:10:19 cbeams has joined
 659 2014-09-04 10:11:06 msvb-lab has quit (Quit: msvb-lab)
 660 2014-09-04 10:11:22 msvb-lab has joined
 661 2014-09-04 10:13:14 ArthurNumbanumba has quit (Ping timeout: 255 seconds)
 662 2014-09-04 10:13:50 ArthurNumba2 has quit (Ping timeout: 276 seconds)
 663 2014-09-04 10:14:29 kuzz0 has quit ()
 664 2014-09-04 10:15:05 droid has joined
 665 2014-09-04 10:15:11 droid has quit (Client Quit)
 666 2014-09-04 10:17:25 oola has joined
 667 2014-09-04 10:20:14 rfreeman_w has left ("Leaving")
 668 2014-09-04 10:20:27 oola is now known as rozahn
 669 2014-09-04 10:20:40 rozahn has quit (Client Quit)
 670 2014-09-04 10:20:59 MolokoBot has joined
 671 2014-09-04 10:21:07 rozahn has joined
 672 2014-09-04 10:21:53 rozahn has quit (Client Quit)
 673 2014-09-04 10:22:19 kuzz0 has joined
 674 2014-09-04 10:23:27 JackH has quit (Quit: JackH)
 675 2014-09-04 10:23:28 Guest58601 has quit (Quit: Ex-Chat)
 676 2014-09-04 10:23:45 graingert has joined
 677 2014-09-04 10:24:34 MolokoBox has quit (Ping timeout: 240 seconds)
 678 2014-09-04 10:24:44 bedeho has quit (Ping timeout: 260 seconds)
 679 2014-09-04 10:25:34 ArthurNumba2 has joined
 680 2014-09-04 10:26:09 derbumi has quit (Quit: derbumi)
 681 2014-09-04 10:27:09 ArthurNumbanumba has joined
 682 2014-09-04 10:27:25 derbumi has joined
 683 2014-09-04 10:36:38 waxwing__ is now known as waxwing
 684 2014-09-04 10:36:57 msvb-lab has quit (Quit: msvb-lab)
 685 2014-09-04 10:37:46 Zarutian has joined
 686 2014-09-04 10:38:39 ak__ has quit (Read error: Connection reset by peer)
 687 2014-09-04 10:39:08 Adrao has joined
 688 2014-09-04 10:39:25 ak__ has joined
 689 2014-09-04 10:43:21 darsie has joined
 690 2014-09-04 10:48:31 MolokoBot has quit (Ping timeout: 268 seconds)
 691 2014-09-04 10:48:52 serialbandicoot has quit (Quit: serialbandicoot)
 692 2014-09-04 10:54:54 msvb-lab has joined
 693 2014-09-04 11:03:45 paveljanik has quit (Ping timeout: 264 seconds)
 694 2014-09-04 11:04:27 benrcole has quit (Quit: Leaving.)
 695 2014-09-04 11:10:21 darsie has left ("Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is")
 696 2014-09-04 11:10:31 derbumi has quit (Quit: derbumi)
 697 2014-09-04 11:14:07 benrcole has joined
 698 2014-09-04 11:15:47 W0rmDr1nk has quit (Ping timeout: 255 seconds)
 699 2014-09-04 11:20:27 hearn has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
 700 2014-09-04 11:24:47 Guest23543 has quit ()
 701 2014-09-04 11:24:51 oujh has joined
 702 2014-09-04 11:25:24 benrcole has quit (Quit: Leaving.)
 703 2014-09-04 11:29:17 roy has joined
 704 2014-09-04 11:31:04 Grouver has quit (Ping timeout: 245 seconds)
 705 2014-09-04 11:31:36 banghouse has joined
 706 2014-09-04 11:31:49 gdm85 has quit (Ping timeout: 272 seconds)
 707 2014-09-04 11:31:49 ak__ has quit (Read error: Connection reset by peer)
 708 2014-09-04 11:31:49 akstunt600 has quit (Read error: Connection reset by peer)
 709 2014-09-04 11:31:54 jordandotdev has quit (Quit: Connection closed for inactivity)
 710 2014-09-04 11:32:40 ak__ has joined
 711 2014-09-04 11:32:46 akstunt600 has joined
 712 2014-09-04 11:33:05 W0rmDr1nk has joined
 713 2014-09-04 11:36:37 banghouse has quit (Ping timeout: 268 seconds)
 714 2014-09-04 11:39:31 benrcole has joined
 715 2014-09-04 11:41:58 cbeams has quit (Remote host closed the connection)
 716 2014-09-04 11:43:01 cbeams has joined
 717 2014-09-04 11:44:00 gdm85 has joined
 718 2014-09-04 11:45:24 JackH has joined
 719 2014-09-04 11:47:39 m0gliE has quit (Ping timeout: 272 seconds)
 720 2014-09-04 11:48:29 MolokoBot has joined
 721 2014-09-04 11:49:26 crunk-juice has joined
 722 2014-09-04 11:52:16 mkarrer_ has joined
 723 2014-09-04 11:53:13 Clown has joined
 724 2014-09-04 11:53:14  has quit (Clown|!~clown@unaffiliated/clown/x-0272709|Killed (sinisalo.freenode.net (Nickname regained by services)))
 725 2014-09-04 11:53:14 Clown is now known as |Clown|
 726 2014-09-04 11:53:21 MolokoBot has quit (Ping timeout: 272 seconds)
 727 2014-09-04 11:53:53 igrigorik_ has joined
 728 2014-09-04 11:54:38 altgribble` has joined
 729 2014-09-04 11:54:46 vespaper_ has joined
 730 2014-09-04 11:55:13 luke-jr_ has joined
 731 2014-09-04 11:55:15 BCBot` has joined
 732 2014-09-04 11:55:17 luke-jr_ has quit (Changing host)
 733 2014-09-04 11:55:17 luke-jr_ has joined
 734 2014-09-04 11:55:49 EasyAt_ has joined
 735 2014-09-04 11:55:56 dugo_ has joined
 736 2014-09-04 11:56:05 astRocre1p has joined
 737 2014-09-04 11:56:07 damethos has joined
 738 2014-09-04 11:56:23 Dagger2 has joined
 739 2014-09-04 11:56:32 codice_ has joined
 740 2014-09-04 11:56:40 gwollon has joined
 741 2014-09-04 11:56:51 Krellan_ has joined
 742 2014-09-04 11:56:53 jcv_ has quit (Quit: leaving)
 743 2014-09-04 11:57:07 jcv has joined
 744 2014-09-04 11:57:10 nsh- has quit (Ping timeout: 260 seconds)
 745 2014-09-04 11:57:10 dlb76 has quit (Ping timeout: 260 seconds)
 746 2014-09-04 11:57:11 mkarrer has quit (Ping timeout: 260 seconds)
 747 2014-09-04 11:57:11 nezZario has quit (Ping timeout: 260 seconds)
 748 2014-09-04 11:57:11 unbalanced_ has quit (Ping timeout: 260 seconds)
 749 2014-09-04 11:57:12 igrigorik has quit (Ping timeout: 260 seconds)
 750 2014-09-04 11:57:12 codice has quit (Ping timeout: 260 seconds)
 751 2014-09-04 11:57:12 altgribble has quit (Ping timeout: 260 seconds)
 752 2014-09-04 11:57:12 z33and000h has quit (Ping timeout: 260 seconds)
 753 2014-09-04 11:57:12 hopey has quit (Ping timeout: 260 seconds)
 754 2014-09-04 11:57:13 Krellan has quit (Ping timeout: 260 seconds)
 755 2014-09-04 11:57:13 EasyAt has quit (Ping timeout: 260 seconds)
 756 2014-09-04 11:57:14 gwillen has quit (Ping timeout: 260 seconds)
 757 2014-09-04 11:57:14 Dagger has quit (Ping timeout: 260 seconds)
 758 2014-09-04 11:57:14 SynSynBTC has quit (Ping timeout: 260 seconds)
 759 2014-09-04 11:57:15 BCBot has quit (Read error: Connection reset by peer)
 760 2014-09-04 11:57:15 dugo has quit (Ping timeout: 260 seconds)
 761 2014-09-04 11:57:15 Luke-Jr has quit (Ping timeout: 260 seconds)
 762 2014-09-04 11:57:16 dstien has quit (Ping timeout: 260 seconds)
 763 2014-09-04 11:57:16 vespaper has quit (Ping timeout: 260 seconds)
 764 2014-09-04 11:57:17 z33and000h has joined
 765 2014-09-04 11:57:17 hopey has joined
 766 2014-09-04 11:57:17 z33and000h is now known as xiando
 767 2014-09-04 11:57:17 dstien has joined
 768 2014-09-04 11:57:17 SynSynAway has joined
 769 2014-09-04 11:57:18 nsh- has joined
 770 2014-09-04 11:57:40 igrigorik_ is now known as igrigorik
 771 2014-09-04 11:58:29 oujh has quit (Ping timeout: 246 seconds)
 772 2014-09-04 11:58:49 ThomasV has quit (Ping timeout: 268 seconds)
 773 2014-09-04 11:59:10 one_zero has quit ()
 774 2014-09-04 11:59:10 unbalanced has joined
 775 2014-09-04 11:59:47 paveljanik has joined
 776 2014-09-04 12:00:08 netg2 has joined
 777 2014-09-04 12:05:23 derbumi has joined
 778 2014-09-04 12:07:37 oujh has joined
 779 2014-09-04 12:08:18 hearn has joined
 780 2014-09-04 12:08:58 crunk-juice has quit (Remote host closed the connection)
 781 2014-09-04 12:10:49 mrkent has joined
 782 2014-09-04 12:11:41 crunk-ju_ has joined
 783 2014-09-04 12:11:48 postpre has quit (Read error: Connection reset by peer)
 784 2014-09-04 12:12:14 postpre has joined
 785 2014-09-04 12:14:04 hmsimha has quit (Ping timeout: 240 seconds)
 786 2014-09-04 12:21:34 ionstorm has joined
 787 2014-09-04 12:22:11 cbeams has quit (Remote host closed the connection)
 788 2014-09-04 12:22:38 cbeams has joined
 789 2014-09-04 12:25:09 ak__ has quit (Read error: Connection reset by peer)
 790 2014-09-04 12:25:09 akstunt600 has quit (Read error: Connection reset by peer)
 791 2014-09-04 12:25:58 akstunt600 has joined
 792 2014-09-04 12:26:14 ak__ has joined
 793 2014-09-04 12:27:02 roy has quit (Quit: Leaving)
 794 2014-09-04 12:27:10 imton has joined
 795 2014-09-04 12:27:12 Grouver has joined
 796 2014-09-04 12:27:12 hmsimha has joined
 797 2014-09-04 12:27:19 cbeams has quit (Ping timeout: 245 seconds)
 798 2014-09-04 12:28:05 cbeams has joined
 799 2014-09-04 12:28:17 crunk-ju_ has quit (Remote host closed the connection)
 800 2014-09-04 12:29:51 cbeams has quit (Remote host closed the connection)
 801 2014-09-04 12:30:59 Namworld has joined
 802 2014-09-04 12:31:00 davispuh has joined
 803 2014-09-04 12:31:43 ThomasV has joined
 804 2014-09-04 12:31:50 ValicekB has quit (Ping timeout: 260 seconds)
 805 2014-09-04 12:32:49 ItSANgo has quit (Quit: Leaving...)
 806 2014-09-04 12:35:52 benrcole has quit (Quit: Leaving.)
 807 2014-09-04 12:37:39 erasmospunk has joined
 808 2014-09-04 12:37:57 cbeams has joined
 809 2014-09-04 12:38:19 bedeho has joined
 810 2014-09-04 12:40:11 ValicekB has joined
 811 2014-09-04 12:42:12 ItSANgo has joined
 812 2014-09-04 12:45:38 rdymac has quit (Excess Flood)
 813 2014-09-04 12:48:10 agricocb has quit (Quit: Leaving.)
 814 2014-09-04 12:48:58 copain_reac has joined
 815 2014-09-04 12:49:23 hmsimha has quit (Ping timeout: 255 seconds)
 816 2014-09-04 12:52:31 rdymac has joined
 817 2014-09-04 12:53:41 jjlikonem has quit (Quit: Page closed)
 818 2014-09-04 12:57:25 Cray-on has joined
 819 2014-09-04 12:58:59 lifeofcray has quit (Ping timeout: 245 seconds)
 820 2014-09-04 13:00:01 lifeofcray has joined
 821 2014-09-04 13:00:18 YoY_ has quit (Read error: Connection reset by peer)
 822 2014-09-04 13:00:47 YoY has joined
 823 2014-09-04 13:01:22 rdponticelli has joined
 824 2014-09-04 13:03:18 antizionist__ has joined
 825 2014-09-04 13:04:11 Cray-on has quit (Ping timeout: 268 seconds)
 826 2014-09-04 13:06:16 agricocb has joined
 827 2014-09-04 13:06:38 gambler has quit (Remote host closed the connection)
 828 2014-09-04 13:07:44 inian has joined
 829 2014-09-04 13:08:41 W0rmDr1nk has quit (Ping timeout: 276 seconds)
 830 2014-09-04 13:09:01 inian has quit (Client Quit)
 831 2014-09-04 13:10:36 YoY has quit (Ping timeout: 246 seconds)
 832 2014-09-04 13:15:44 Malakai33 has joined
 833 2014-09-04 13:18:28 akstunt600 has quit (Read error: Connection reset by peer)
 834 2014-09-04 13:18:29 ak__ has quit (Read error: Connection reset by peer)
 835 2014-09-04 13:18:55 nullbyte has joined
 836 2014-09-04 13:18:55 nullbyte has quit (Changing host)
 837 2014-09-04 13:18:55 nullbyte has joined
 838 2014-09-04 13:19:08 Starduster has joined
 839 2014-09-04 13:19:18 ak__ has joined
 840 2014-09-04 13:19:32 akstunt600 has joined
 841 2014-09-04 13:20:45 imton has quit (Quit: imton)
 842 2014-09-04 13:22:12 cbeams has quit (Remote host closed the connection)
 843 2014-09-04 13:22:23 imton has joined
 844 2014-09-04 13:22:33 imton has quit (Client Quit)
 845 2014-09-04 13:22:49 dabura667 has joined
 846 2014-09-04 13:23:05 weilu has quit (Read error: Connection reset by peer)
 847 2014-09-04 13:23:14 mpm_ has joined
 848 2014-09-04 13:23:52 weilu has joined
 849 2014-09-04 13:25:38 cbeams has joined
 850 2014-09-04 13:25:59 YoY has joined
 851 2014-09-04 13:26:12 grubles has joined
 852 2014-09-04 13:28:02 cbeams has quit (Remote host closed the connection)
 853 2014-09-04 13:28:11 damethos has quit (Ping timeout: 276 seconds)
 854 2014-09-04 13:32:03 erasmospunk has quit (Remote host closed the connection)
 855 2014-09-04 13:32:46 banghouse has joined
 856 2014-09-04 13:32:56 cbeams has joined
 857 2014-09-04 13:32:56 cbeams has quit (Changing host)
 858 2014-09-04 13:32:56 cbeams has joined
 859 2014-09-04 13:33:55 fanquake has quit (Quit: fanquake)
 860 2014-09-04 13:35:03 astRocre1p is now known as nezZario
 861 2014-09-04 13:35:19 imfaust has quit (Ping timeout: 272 seconds)
 862 2014-09-04 13:35:26 daybyter has joined
 863 2014-09-04 13:35:39 Eiii has joined
 864 2014-09-04 13:37:14 banghouse has quit (Ping timeout: 245 seconds)
 865 2014-09-04 13:37:53 copain_reac has quit (Remote host closed the connection)
 866 2014-09-04 13:38:44 benrcole has joined
 867 2014-09-04 13:43:47 benrcole has quit (Ping timeout: 276 seconds)
 868 2014-09-04 13:43:58 benrcole has joined
 869 2014-09-04 13:48:35 ribasushi has quit (Ping timeout: 268 seconds)
 870 2014-09-04 13:48:50 atgreen has quit (Ping timeout: 260 seconds)
 871 2014-09-04 13:51:03 ribasushi has joined
 872 2014-09-04 13:52:27 imfaust has joined
 873 2014-09-04 13:54:05 mrkent has quit (Read error: Connection reset by peer)
 874 2014-09-04 13:54:44 mrkent has joined
 875 2014-09-04 14:02:06 ericmuyser has joined
 876 2014-09-04 14:02:22 Eiii has quit ()
 877 2014-09-04 14:03:56 ericmuys_ has quit (Ping timeout: 276 seconds)
 878 2014-09-04 14:05:50 <jgarzik> http://rocksdb.org/
 879 2014-09-04 14:06:11 <jgarzik> Supposedly this is faster than leveldb, for datasets that do not fit 100% in memory
 880 2014-09-04 14:06:46 <jgarzik> I imagine most of our database fits in page cache...
 881 2014-09-04 14:08:06 KawalGrover has joined
 882 2014-09-04 14:08:23 benrcole has quit (Quit: Leaving.)
 883 2014-09-04 14:08:47 copain_reac has joined
 884 2014-09-04 14:10:46 pen has quit (Ping timeout: 260 seconds)
 885 2014-09-04 14:11:27 <kinlo> created by facebook, I assume they know what they are talking about....
 886 2014-09-04 14:11:48 akstunt600 has quit (Read error: Connection reset by peer)
 887 2014-09-04 14:11:48 ak__ has quit (Read error: Connection reset by peer)
 888 2014-09-04 14:12:37 akstunt600 has joined
 889 2014-09-04 14:12:52 imagegami1 has joined
 890 2014-09-04 14:12:53 ak__ has joined
 891 2014-09-04 14:13:25 copain_reac has quit (Ping timeout: 260 seconds)
 892 2014-09-04 14:14:04 jayne_ has joined
 893 2014-09-04 14:14:20 comboy has joined
 894 2014-09-04 14:16:53 dnanini_ has joined
 895 2014-09-04 14:17:01 nullbyte_ has joined
 896 2014-09-04 14:17:25 nullbyte_ is now known as Guest71925
 897 2014-09-04 14:19:57 fuzion24_ has joined
 898 2014-09-04 14:20:13 kindoge_ has joined
 899 2014-09-04 14:20:13 DEREK has joined
 900 2014-09-04 14:20:15 Pan0ram1x has joined
 901 2014-09-04 14:20:19 Adohgg_ has joined
 902 2014-09-04 14:20:27 Pan0ram1x is now known as Guest95624
 903 2014-09-04 14:21:18 TheLordOfTime has joined
 904 2014-09-04 14:21:51 mr_burdell_ has joined
 905 2014-09-04 14:21:53 joeykrim_ has joined
 906 2014-09-04 14:22:17 mr_burdell_ has quit (Client Quit)
 907 2014-09-04 14:22:40 banghouse has joined
 908 2014-09-04 14:23:19 fuzion24_ is now known as fuzion24
 909 2014-09-04 14:23:19 kindoge_ is now known as kindoge
 910 2014-09-04 14:23:19 Adohgg_ is now known as Adohgg
 911 2014-09-04 14:23:19 Adohgg has quit (Changing host)
 912 2014-09-04 14:24:18 Adohgg has joined
 913 2014-09-04 14:24:18 dgenr8 has joined
 914 2014-09-04 14:26:38 erasmospunk has joined
 915 2014-09-04 14:26:44 pablog has joined
 916 2014-09-04 14:27:39 kjj has joined
 917 2014-09-04 14:27:49 gavinandresen has joined
 918 2014-09-04 14:28:06 Guest78271 has quit (Quit: leaving)
 919 2014-09-04 14:28:15 otoburb has joined
 920 2014-09-04 14:28:25 otoburb has quit (Changing host)
 921 2014-09-04 14:28:25 otoburb has joined
 922 2014-09-04 14:28:38 johntramp has joined
 923 2014-09-04 14:32:27 altoz has joined
 924 2014-09-04 14:32:34 easye has quit (Read error: Connection reset by peer)
 925 2014-09-04 14:33:44 easye has joined
 926 2014-09-04 14:38:45 mr_burdell has joined
 927 2014-09-04 14:39:43 grubles has joined
 928 2014-09-04 14:39:43 nullbyte has joined
 929 2014-09-04 14:39:43 17SAA4HMN has joined
 930 2014-09-04 14:39:43 imagegami has joined
 931 2014-09-04 14:39:43 17SAA4CDJ has joined
 932 2014-09-04 14:39:43 Guest582 has joined
 933 2014-09-04 14:39:43 JWU42 has joined
 934 2014-09-04 14:39:43 17SAA33G8 has joined
 935 2014-09-04 14:39:43 17SAA3ZLQ has joined
 936 2014-09-04 14:39:43 teward has joined
 937 2014-09-04 14:39:43 HM has joined
 938 2014-09-04 14:39:43 kjj_ has joined
 939 2014-09-04 14:39:45 grubles has quit (Max SendQ exceeded)
 940 2014-09-04 14:39:45 17SAA33G8 has quit (Max SendQ exceeded)
 941 2014-09-04 14:39:45 teward has quit (Max SendQ exceeded)
 942 2014-09-04 14:39:45 trixisowned has joined
 943 2014-09-04 14:39:45 JWU_42 has joined
 944 2014-09-04 14:39:46 JWU_42 has quit (Changing host)
 945 2014-09-04 14:39:46 JWU_42 has joined
 946 2014-09-04 14:39:50 nullbyte has quit (Ping timeout: 244 seconds)
 947 2014-09-04 14:40:01 17SAA4HMN has quit (Ping timeout: 244 seconds)
 948 2014-09-04 14:40:09 imagegami has quit (Ping timeout: 244 seconds)
 949 2014-09-04 14:40:10 17SAA4CDJ has quit (Ping timeout: 244 seconds)
 950 2014-09-04 14:40:10 Guest582 has quit (Ping timeout: 244 seconds)
 951 2014-09-04 14:40:17 JWU42 has quit (Ping timeout: 244 seconds)
 952 2014-09-04 14:40:22 17SAA3ZLQ has quit (Ping timeout: 244 seconds)
 953 2014-09-04 14:40:34 HM has quit (Ping timeout: 244 seconds)
 954 2014-09-04 14:40:37 kjj_ has quit (Ping timeout: 244 seconds)
 955 2014-09-04 14:40:45 Graet has joined
 956 2014-09-04 14:40:45 HM_ has joined
 957 2014-09-04 14:40:45 tcatm has quit (Read error: Connection reset by peer)
 958 2014-09-04 14:40:58 alferz has joined
 959 2014-09-04 14:40:58 alferz has quit (Changing host)
 960 2014-09-04 14:40:58 alferz has joined
 961 2014-09-04 14:41:27 easye has quit (Read error: Connection reset by peer)
 962 2014-09-04 14:42:27 crunk-juice has joined
 963 2014-09-04 14:42:52 tcatm has joined
 964 2014-09-04 14:43:10 crunk-juice has quit (Remote host closed the connection)
 965 2014-09-04 14:43:24 DougieBot5000 has joined
 966 2014-09-04 14:44:45 cbeams has quit (Remote host closed the connection)
 967 2014-09-04 14:45:16 crunk-juice has joined
 968 2014-09-04 14:45:17 cbeams has joined
 969 2014-09-04 14:46:23 hanti is now known as HANTI
 970 2014-09-04 14:47:40 derbumi has quit (Quit: derbumi)
 971 2014-09-04 14:48:08 KawalGrover has quit (Ping timeout: 276 seconds)
 972 2014-09-04 14:48:12 trixisowned has quit (Read error: Connection timed out)
 973 2014-09-04 14:48:38 trixisowned has joined
 974 2014-09-04 14:49:49 cbeams has quit (Ping timeout: 260 seconds)
 975 2014-09-04 14:52:08 drArtemis has joined
 976 2014-09-04 14:53:03 bkbk has joined
 977 2014-09-04 14:53:46 ericmuys_ has joined
 978 2014-09-04 14:55:45 stickyfingers has quit (Ping timeout: 272 seconds)
 979 2014-09-04 14:56:54 hearn has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
 980 2014-09-04 14:57:09 drArtemis has quit (Ping timeout: 264 seconds)
 981 2014-09-04 14:57:18 stickyfingers has joined
 982 2014-09-04 14:57:19 ericmuyser has quit (Ping timeout: 245 seconds)
 983 2014-09-04 14:58:18 w1zman has joined
 984 2014-09-04 15:02:26 <wumpus> jgarzik: bitcoin's database usage is pretty atypical in that everything that is read is usually written too, and it has large batches... but if it's not too hard to plug it in, it'd be worth a benchmark of course
 985 2014-09-04 15:03:59 <jgarzik> wumpus, "everything that is read is usually writte too" -- can you elaborate?
 986 2014-09-04 15:04:36 <wumpus> well in the utxo set, an entry is read and usually marked as spent and written again
 987 2014-09-04 15:05:08 akstunt600 has quit (Read error: Connection reset by peer)
 988 2014-09-04 15:05:08 ak__ has quit (Read error: Connection reset by peer)
 989 2014-09-04 15:05:15 Informerop has quit (Ping timeout: 264 seconds)
 990 2014-09-04 15:05:17 <jgarzik> wumpus, sure, but the database is hit (read) a few times to determine spendability, before that write
 991 2014-09-04 15:05:57 ak__ has joined
 992 2014-09-04 15:06:11 akstunt600 has joined
 993 2014-09-04 15:06:11 rfreeman_w has joined
 994 2014-09-04 15:06:34 <wumpus> but entries that are read before eventually being written again are rare
 995 2014-09-04 15:06:38 Informerop has joined
 996 2014-09-04 15:07:06 <wumpus> of course it is read first, then it is cached, and eventually flushed back in a write
 997 2014-09-04 15:07:21 <sipa> there are 3 layers: disk, leveldb's cache, application cache
 998 2014-09-04 15:07:33 <wumpus> the block database has different behavior, but is much less interesting here
 999 2014-09-04 15:08:08 <sipa> the block database is write-only
1000 2014-09-04 15:08:18 <sipa> except when you use txindex
1001 2014-09-04 15:08:23 <wumpus> right
1002 2014-09-04 15:08:34 weilu has quit (Read error: Connection reset by peer)
1003 2014-09-04 15:09:10 weilu has joined
1004 2014-09-04 15:09:30 copain_reac has joined
1005 2014-09-04 15:09:44 hearn has joined
1006 2014-09-04 15:10:32 <wumpus> but entries that are read before eventually being written again are rare <- ehh, I mean, entries that are read, but *not* written back eventually
1007 2014-09-04 15:10:50 derbumi has joined
1008 2014-09-04 15:10:58 gotboompah has joined
1009 2014-09-04 15:11:03 <sipa> inputs for mempool transactions that don't confirm
1010 2014-09-04 15:11:06 <wumpus> this is also the mistake I made when implementing a LRU read cache in CCoinsView.... a read cache is useless
1011 2014-09-04 15:11:16 <sipa> wumpus: no, it's not useless
1012 2014-09-04 15:11:17 <wumpus> (well, mostly)
1013 2014-09-04 15:11:25 <sipa> you just don't see its effect in a reindex test
1014 2014-09-04 15:11:33 <sipa> but it's certainly relevant for a block relay speed test
1015 2014-09-04 15:11:57 <sipa> which is arguably more important for the network, actually - just harder to benchmark
1016 2014-09-04 15:12:08 Subo1977 has joined
1017 2014-09-04 15:12:09 <wumpus> well I mean at the application level; the disk cache at the OS level and the cache at the DB level takes care there too
1018 2014-09-04 15:12:54 <sipa> if it has to hit (spinning) disk, you lose 10ms at least
1019 2014-09-04 15:12:56 <wumpus> even for block relay I'm not so sure; we'll have seen all those transactions previously, so they'll probably be still in the write cache
1020 2014-09-04 15:13:26 <wumpus> (as it's implemented right now everything ends up in the write cache)
1021 2014-09-04 15:13:40 <sipa> well yes, there only exists one cache
1022 2014-09-04 15:13:49 <sipa> but as you implemented it, those would be in the read cache
1023 2014-09-04 15:13:59 <wumpus> anyhow, it may be that it would have helped in some other benchmark
1024 2014-09-04 15:14:45 copain_reac has quit (Ping timeout: 272 seconds)
1025 2014-09-04 15:14:51 Subo1977_ has quit (Ping timeout: 264 seconds)
1026 2014-09-04 15:15:36 torokun has joined
1027 2014-09-04 15:15:54 <wumpus> what bothered me about the current implementation is that if you read an utxo entry just to look at it, it is still written back in the next flush, even if it didn't change... but it seems pretty ok  for the behavior we really have
1028 2014-09-04 15:16:26 <wumpus> (something like a getutxo P2P command may change that, though... thinking about it)
1029 2014-09-04 15:16:51 pen has joined
1030 2014-09-04 15:16:54 <sipa> wumpus: #4834 fixes that too (in a simpler way), but i don't understand why it fails pulltester
1031 2014-09-04 15:19:31 torokun has quit (Remote host closed the connection)
1032 2014-09-04 15:19:45 john_z has joined
1033 2014-09-04 15:20:32 sdaftuar has joined
1034 2014-09-04 15:20:34 cbeams has joined
1035 2014-09-04 15:20:48 CheckDavid has quit (Quit: Connection closed for inactivity)
1036 2014-09-04 15:21:27 rdponticelli has quit (Ping timeout: 264 seconds)
1037 2014-09-04 15:22:33 <wumpus> not sure it's much simpler than what I did :)
1038 2014-09-04 15:22:35 john_z_ has quit (Ping timeout: 276 seconds)
1039 2014-09-04 15:23:08 <sipa> oh, i don't mean the code; it does more too (removing spent unwritten entries from the cache)
1040 2014-09-04 15:23:15 <wumpus> can't see anything obviously wrong with it though
1041 2014-09-04 15:23:26 <sipa> but conceptually, just keeping a dirty flag rather than having two independent caches
1042 2014-09-04 15:25:01 <wumpus> makes sense as long as the expiration policy for either is the same
1043 2014-09-04 15:25:41 derbumi has quit (Quit: derbumi)
1044 2014-09-04 15:26:04 <sipa> heh; it's still "dump everything when grown too large" - i'm just trying to optimize memory usage here, not performance
1045 2014-09-04 15:26:16 <sipa> s/dump/drop/
1046 2014-09-04 15:26:50 Soligor has quit (Ping timeout: 250 seconds)
1047 2014-09-04 15:26:52 <wumpus> unknown location(0): fatal error in "CreateNewBlock_validity": memory access violation at address: 0xffffffe1: no mapping at fault address    .. it's not even a "normal" null derefence
1048 2014-09-04 15:27:36 <sipa> that looks like a 32-bit address
1049 2014-09-04 15:28:18 <hearn> subtraction from null to find metadata before the block, perhaps
1050 2014-09-04 15:28:54 <wumpus> or a dangling pointer, or use-after-free, ... C++ sucks :p
1051 2014-09-04 15:29:31 Soligor has joined
1052 2014-09-04 15:29:31 <hearn> have you ever considered switching memory management to use the boehm gc?
1053 2014-09-04 15:29:40 <wumpus> no
1054 2014-09-04 15:29:43 <hearn> it's something i was thinking about lately as a way to reduce risk of changes.
1055 2014-09-04 15:29:54 <hearn> i.e. eliminate memory leaks and double frees, use after frees
1056 2014-09-04 15:30:02 <sipa> i think we've had surprisingly few memory related problems in bitcoind, actually
1057 2014-09-04 15:30:09 <sipa> compared to my experience with C projects before
1058 2014-09-04 15:30:11 <wumpus> sipa: agreed
1059 2014-09-04 15:30:13 <hearn> yes because the way satoshi wrote it, there's hardly any dynamic memory allocation
1060 2014-09-04 15:30:18 <hearn> it's all RAII
1061 2014-09-04 15:30:29 <hearn> unfortunately as the code becomes more optimised and multi-threaded that becomes harder to maintain.
1062 2014-09-04 15:30:38 <wumpus> bitcoind has less strange memory issues than any C/C++ project I've worked on before, so at least that's on the right track
1063 2014-09-04 15:30:39 <hearn> introducing threads, caches, etc, all introduce the risk of problems.
1064 2014-09-04 15:31:18 dlb76 has joined
1065 2014-09-04 15:31:30 <hearn> the good thing is, because it's written in that "modern" c++ style , load on a GCd heap would be very low
1066 2014-09-04 15:31:47 t7 has quit (Quit: home time)
1067 2014-09-04 15:31:58 <wumpus> I really wouldn't want to add a dependency on a GC to bitcoind
1068 2014-09-04 15:32:00 <sipa> i don't like GCs because they introduce runtime indeterminism
1069 2014-09-04 15:32:11 mrkent has quit (Ping timeout: 268 seconds)
1070 2014-09-04 15:32:13 <hearn> indeterminism? you mean in terms of time?
1071 2014-09-04 15:32:17 CheckDavid has joined
1072 2014-09-04 15:32:26 <timothy> garbage collectors are useless if you know how to code :)
1073 2014-09-04 15:32:35 <sipa> latency when the GC runs, memory spikes, ...
1074 2014-09-04 15:32:43 <wumpus> if we go that far, I'd rather just switch to a garbage collected language like Java or Go :-)
1075 2014-09-04 15:32:44 <hearn> malloc introduces random latency as well
1076 2014-09-04 15:32:51 <sipa> fair enough
1077 2014-09-04 15:33:03 <hearn> if you want hard-real time performance, i don't think we can get that in an app like bitcoind
1078 2014-09-04 15:33:04 <wumpus> timothy: I hate statements like that, really
1079 2014-09-04 15:33:15 <wumpus> 'C is useless if you know how to write assembly!' :p
1080 2014-09-04 15:33:19 <sipa> C++ is also useless when you know assebly
1081 2014-09-04 15:33:22 <sipa> lol
1082 2014-09-04 15:33:23 <wumpus> HAH
1083 2014-09-04 15:33:25 <hearn> timothy: and airbags are useless if you know how to drive, hard hats are useless if you remember to look upwards, etc ...
1084 2014-09-04 15:33:38 <timothy> lol
1085 2014-09-04 15:34:02 <wumpus> only people with too much time on their hands AND overestimate their own preciseness of working think like that 
1086 2014-09-04 15:34:06 <hearn> smart programmers find every way to eliminate entire classes of errors when possible. that's basically how we make progress ... find ways to eliminate groups of bugs at once, this lets us build more complicated software, and up we go
1087 2014-09-04 15:34:17 <daybyter> wumpus: you use java for bitcoin stuff?
1088 2014-09-04 15:34:30 <hearn> the nice thing about the boehm GC is that it's drop in for C++ and you can keep the delete statements, if you like.
1089 2014-09-04 15:34:34 <wumpus> daybyter: not me, but many people do
1090 2014-09-04 15:34:35 <hearn> or remove them
1091 2014-09-04 15:34:42 <daybyter> I do...
1092 2014-09-04 15:34:47 <hearn> however it does not require much in the way of code changes.
1093 2014-09-04 15:35:06 <hearn> quite a few large, well known programs use GC'd C++ so it's not as bizarre as it sounds
1094 2014-09-04 15:35:21 <hearn> for example the Unreal Engine uses a GCd core heap, even though it's a game with hard latency requirements (gotta hit that frame rate)
1095 2014-09-04 15:35:24 <hearn> Inkscape as well
1096 2014-09-04 15:36:02 <hearn> there's another flip side - GC can make some kinds of concurrent data structures a lot easier to write.
1097 2014-09-04 15:36:05 W0rmDr1nk has joined
1098 2014-09-04 15:36:30 <timothy> btw I don't like the usage of garbage collectors in critical/security code
1099 2014-09-04 15:36:32 derbumi has joined
1100 2014-09-04 15:36:33 <wumpus> hearn, are you trying to sell us something? :P
1101 2014-09-04 15:37:03 <hearn> i'm interested in ways to drive down the risk of code changes, as that's kind of paralysing the project at the moment. memory management vulnerabilities is obviously one problem that's plagued C++ apps since forever.
1102 2014-09-04 15:37:22 <wumpus> timothy:  I don't see what security has to do with them?
1103 2014-09-04 15:37:26 <hearn> bitcoin has done pretty well, but it's inevitable that at some point a double free or use after free somewhere
1104 2014-09-04 15:37:44 <hearn> timothy: it's the opposite, GC makes code more secure. just go look at how many exploits are based on memory management bugs.
1105 2014-09-04 15:37:58 <wumpus> timothy: for hard real-time code I'd agree, but bitcoin is far from that
1106 2014-09-04 15:38:04 <hearn> GC + automatic bounds checking are the best things that ever happened for computer security, by far.
1107 2014-09-04 15:38:07 Zarutian has quit (Quit: Zarutian)
1108 2014-09-04 15:38:18 <wumpus> timothy: I wouldn't want my pacemaker to go to sleep for a few minutes to sweep memory :P
1109 2014-09-04 15:38:20 <timothy> and what about boehm GC bugs? :P
1110 2014-09-04 15:38:23 <sipa> wumpus: not real-time code, but we do have unusual resource constraints
1111 2014-09-04 15:38:45 <timothy> you have to trust a third-party library
1112 2014-09-04 15:38:48 <hearn> it's a rather old and mature codebase. i haven't heard of boehm GC bugs ever introducing exploits.
1113 2014-09-04 15:38:52 <sipa> timothy: we have to trust g++ too
1114 2014-09-04 15:39:00 <sipa> and the linux kernel
1115 2014-09-04 15:39:01 <timothy> and openssl, infact ...
1116 2014-09-04 15:39:05 <timothy> :P
1117 2014-09-04 15:39:07 <sipa> don't mention openssl
1118 2014-09-04 15:39:26 Soligor has quit (Ping timeout: 260 seconds)
1119 2014-09-04 15:39:26 <timothy> more code means more bug, imho
1120 2014-09-04 15:39:42 <hearn> the one possibility for problems is that gc in c++ is conservative. if you can create an integer that looks like a pointer, it can pin that object in memory
1121 2014-09-04 15:39:46 <sipa> timothy: that's a very simplistic view
1122 2014-09-04 15:39:55 <hearn> on 64 bit systems with randomized heaps that's probably very difficult. on 32 bit without aslr not sure ...
1123 2014-09-04 15:40:17 banghouse has quit (Remote host closed the connection)
1124 2014-09-04 15:41:01 lclc has quit (Quit: Konversation terminated!)
1125 2014-09-04 15:41:03 <wumpus> hearn: that's what has always scared me about GC in languages without pointer tagging
1126 2014-09-04 15:41:29 <sipa> boehm even avoids memory locations to which an integer-that-looks-like-a-pointer points, afaik
1127 2014-09-04 15:41:33 <hearn> in practice it doesn't seem to cause problems. i mean, i've never heard of this actually causing problems in real apps because the list of conditions needed to get a false positive is pretty high
1128 2014-09-04 15:41:45 viic has quit (Ping timeout: 272 seconds)
1129 2014-09-04 15:41:55 <hearn> it has to be within the heap, it has to be aligned, it has to point to an actual allocated piece of data, etc
1130 2014-09-04 15:42:32 <hearn> integers that look the same as heap addresses are rare, in most apps. for bitcoin, the only risk i can see is that someone manages to create a protocol message that contains a pointer-like item ... but again, modern systems should all be randomizing the address space
1131 2014-09-04 15:42:33 <wumpus> not that pinning an object is usually a very big problem, but it just feels wrong to me that similar-looking data can influence things
1132 2014-09-04 15:42:50 <hearn> so it'd be really tough to do that reliably. and on 64 bit forget it
1133 2014-09-04 15:42:51 <wumpus> especially if you have data that is controlled by external parties (ie read from disk or network)
1134 2014-09-04 15:42:55 <sipa> compile-time garbage collection ftw!
1135 2014-09-04 15:43:05 llllllllll has joined
1136 2014-09-04 15:43:20 <hearn> i think it'd be worth it, at least to experiment.
1137 2014-09-04 15:43:45 <wumpus> it makes it too much like voodoo... now we have this bit pattern, and even though we never interpret it as pointer, magically it influences the program!
1138 2014-09-04 15:43:52 Soligor has joined
1139 2014-09-04 15:44:08 <hearn> you can also tell the GC not to scan certain areas.
1140 2014-09-04 15:44:19 <wumpus> so IMO, if you want garbage collection, use a proper garbage collected language
1141 2014-09-04 15:44:28 <hearn> for example it is quite simple to mark any data deserialized from the network as non-scanned.
1142 2014-09-04 15:45:45 SarahStein has joined
1143 2014-09-04 15:46:12 <wumpus> (microsoft actually tried C++ with pointer tagging, as 'managed C++', no idea where that went though, not that we can use it anyway...)
1144 2014-09-04 15:47:27 <hearn> it was quite successful
1145 2014-09-04 15:47:37 <hearn> (on windows)
1146 2014-09-04 15:48:16 <wumpus> hearn: sure, it's interesting and if you want to experiment with it, you're welcome, but unless it really solves a problem that we have I don't see it being merged any time soon
1147 2014-09-04 15:49:25 <wumpus> and if it allows removing say half of the code it becomes interesting :-)
1148 2014-09-04 15:49:36 <jrick> adding a gc to c++ doesn't instantly solve all your dangling pointers
1149 2014-09-04 15:49:37 <wumpus> but we already have a lot of automated memory management using RAII
1150 2014-09-04 15:50:10 <hearn> i see it more as preventing problems we may have but don't know about yet, or may introduce in future.
1151 2014-09-04 15:50:15 Guest43181 has joined
1152 2014-09-04 15:50:23 <hearn> after all this conversation started because you are debugging some kind of memory management problem
1153 2014-09-04 15:50:25 <sipa> i think it will more cause us to not problems :)
1154 2014-09-04 15:50:30 <sipa> *see
1155 2014-09-04 15:51:38 <wumpus> hearn: yes, but it's the first time in ages that this happens, and it's in unmerged, hardly tested and mostly unreviewed code
1156 2014-09-04 15:52:16 <wumpus> it's not as we spent hours per day chasing obscure memory issues, at least that we don't have in common with the kernel
1157 2014-09-04 15:52:41 <wumpus> jrick: a gc will do nothing against dangling pointers
1158 2014-09-04 15:53:17 <jrick> right, you need escape analysis
1159 2014-09-04 15:53:50 <sipa> we hardly do manual new/free anyway
1160 2014-09-04 15:53:55 <wumpus> capability-based addresing :)
1161 2014-09-04 15:55:19 <hearn> GC is supposed to prevent dangling pointers
1162 2014-09-04 15:55:26 <hearn> unless you're using the term differently to how i usually see it used
1163 2014-09-04 15:55:27 viic has joined
1164 2014-09-04 15:55:42 <jrick> hearn: only if the language performs escape analysis and punts the pointed to object to the heap
1165 2014-09-04 15:55:49 <hearn> because by definition you cannot have a dangling pointer - the GC will not free the memory it points to until it becomes unreachable.
1166 2014-09-04 15:56:00 <hearn> what are you talking about? escape analysis has nothing to do with GC
1167 2014-09-04 15:56:22 <hearn> you're talking about pointers onto the stack, here?
1168 2014-09-04 15:56:27 <jrick> yes
1169 2014-09-04 15:56:30 <hearn> where someone returns a pointer to their local stack frame and then returns?
1170 2014-09-04 15:56:33 <jrick> sure
1171 2014-09-04 15:56:49 <hearn> yes, but modern compilers warn about that or treat it as an error. that's not a mistake that's easy to make at all.
1172 2014-09-04 15:57:23 <hearn> (well not in c++ anyway)
1173 2014-09-04 15:57:25 <wumpus> hearn: compilers aren't very smart in that, for example try returning a pointer to part of an object on the stack
1174 2014-09-04 15:58:18 <jrick> rust fixes this without needing a gc by adding lifetimes to the type system
1175 2014-09-04 15:58:20 <wumpus> or assigning a pointer to an object on the stack to something passed in, instead of returning it, c++ has lots of ways to shoot yourself in the foot
1176 2014-09-04 15:58:29 akstunt600 has quit (Read error: Connection reset by peer)
1177 2014-09-04 15:58:30 ak__ has quit (Read error: Connection reset by peer)
1178 2014-09-04 15:58:55 copain_reac has joined
1179 2014-09-04 15:59:15 akstunt600 has joined
1180 2014-09-04 15:59:20 <hearn> yes, pointers are risky.
1181 2014-09-04 15:59:24 ak__ has joined
1182 2014-09-04 15:59:43 * daybyter likes java....no pointers...
1183 2014-09-04 16:00:11 <hearn> java is full of pointers. you just aren't allowed to do arithmetic with them
1184 2014-09-04 16:00:18 <hearn> along with other misc restrictions that make them safe
1185 2014-09-04 16:00:27 tombtc has joined
1186 2014-09-04 16:00:33 <wumpus> right, you're not allowed to use them as arrays, that helps a lot :-)
1187 2014-09-04 16:00:46 <hearn> they also always point into the heap
1188 2014-09-04 16:00:54 <hearn> or rather, if they don't, that's hidden from the programmer
1189 2014-09-04 16:01:02 <hearn> (modern jvms do stack allocation)
1190 2014-09-04 16:01:06 <daybyter> java is good for old senile coders...
1191 2014-09-04 16:01:42 <sipa> please
1192 2014-09-04 16:01:53 <jrick> http://is.gd/oBvs4q <- attempting a dangling pointer in rust
1193 2014-09-04 16:02:34 Zarutian has joined
1194 2014-09-04 16:02:37 <wumpus> hehe <anon>:7:14: 7:15 error: `i` does not live long enough
1195 2014-09-04 16:02:47 copain_reac has quit (Client Quit)
1196 2014-09-04 16:02:53 <wumpus> is that watertight? or can you still cheat it into causing segmentation faults?
1197 2014-09-04 16:03:15 <jrick> you can cheat it with an unsafe {} block
1198 2014-09-04 16:03:55 <wumpus> at least you have to use the word unsafe
1199 2014-09-04 16:05:04 imfaust has quit (Ping timeout: 240 seconds)
1200 2014-09-04 16:05:34 <wumpus> so you know where to concentrate code review
1201 2014-09-04 16:05:41 <hearn> interestingly you *can* do unsafe memory management in java. there's a class called Unsafe that lets you do raw memcpys, atomic compare/sets, manual allocation of memory blocks etc. but i don't know many apps that use it.
1202 2014-09-04 16:06:46 <wumpus> and when you've fixed memory issues.. there's still integer overflows as a source of unexpected behavior
1203 2014-09-04 16:07:37 <hearn> yes. i have been trying to convince the developers of the kotlin language to make all arithmetic checked by default. but that's not something you can easily fix in C++ given how much software relies on it
1204 2014-09-04 16:08:42 rfreeman_w has quit (Quit: Leaving)
1205 2014-09-04 16:09:38 sahlhoff has joined
1206 2014-09-04 16:09:40 rfreeman_w has joined
1207 2014-09-04 16:09:45 <kdomanski_> sipa: your patch seems to have cut CompareTo calls in half
1208 2014-09-04 16:10:02 <daybyter> my biggest problem is the BigDecimal syntax in java...looks ugly...
1209 2014-09-04 16:12:11 abossard has quit (Quit: abossard)
1210 2014-09-04 16:12:58 jMyles has joined
1211 2014-09-04 16:13:13 agricocb has quit (Quit: Leaving.)
1212 2014-09-04 16:14:48 joeykrim_ is now known as joeykrim
1213 2014-09-04 16:17:24 bkbk has quit ()
1214 2014-09-04 16:17:41 PK has joined
1215 2014-09-04 16:18:40 <wumpus> sipa: hey, it passed now
1216 2014-09-04 16:18:50 <sipa> wumpus: i removed the last commit, sadly
1217 2014-09-04 16:18:58 <sipa> wanted to find out which commit broke things
1218 2014-09-04 16:19:46 <wumpus> sipa: oh!
1219 2014-09-04 16:20:11 <wumpus> sipa: do you still have the last commit available? I was going to test it on a 32-bit system
1220 2014-09-04 16:20:43 rdponticelli has joined
1221 2014-09-04 16:21:45 hearn has quit (Ping timeout: 260 seconds)
1222 2014-09-04 16:21:54 weilu_ has joined
1223 2014-09-04 16:22:31 <sipa> wumpus: just pushed it again
1224 2014-09-04 16:23:25 <wumpus> looks like github immediately removes unreferenced commits, I still knew the commit id, but couldn't pull it before you pushed it again to a branch
1225 2014-09-04 16:23:49 hearn has joined
1226 2014-09-04 16:24:07 <sipa> i'm actually trying to run the tests myself on the jenkins machine now
1227 2014-09-04 16:25:14 weilu has quit (Ping timeout: 245 seconds)
1228 2014-09-04 16:25:39 rfreeman_w has quit (Ping timeout: 264 seconds)
1229 2014-09-04 16:26:26 <wumpus> no errors detected...
1230 2014-09-04 16:26:51 JackH has quit (Quit: JackH)
1231 2014-09-04 16:27:27 Lexa has quit (Ping timeout: 264 seconds)
1232 2014-09-04 16:29:11 Grouver has quit (Quit: Leaving)
1233 2014-09-04 16:29:13 banghouse has joined
1234 2014-09-04 16:30:32 devrandom has joined
1235 2014-09-04 16:30:40 sahlhoff has left ()
1236 2014-09-04 16:30:45 rfreeman_w has joined
1237 2014-09-04 16:32:26 TheLordOfTime is now known as teward
1238 2014-09-04 16:33:59 <sipa> ok, reproduced
1239 2014-09-04 16:34:04 Lexa has joined
1240 2014-09-04 16:34:10 erasmospunk has quit (Remote host closed the connection)
1241 2014-09-04 16:37:17 derbumi has quit (Quit: derbumi)
1242 2014-09-04 16:37:56 derbumi has joined
1243 2014-09-04 16:38:29 shack4 has joined
1244 2014-09-04 16:39:02 <sipa> seems like a corrupted unordered_map; it's inside ::find that it segfaults...
1245 2014-09-04 16:39:11 shack4 has left ()
1246 2014-09-04 16:39:16 <wumpus> I've tested on ubuntu 12.04 32 bit x86 and Debian GNU/Linux jessie/sid 32 bit arm, no issues in tests
1247 2014-09-04 16:39:27 <sipa> seems pulltester is 10.04 64 bit
1248 2014-09-04 16:39:37 <sipa> older boost, presumably
1249 2014-09-04 16:39:46 <sipa> i hope we didn't hit another boost::unordered_map bug
1250 2014-09-04 16:40:07 <wumpus> well on my 64-bit system I couldn't reproduce either
1251 2014-09-04 16:40:15 paveljanik has quit (Ping timeout: 255 seconds)
1252 2014-09-04 16:40:18 <wumpus> I don't hope so either... :/
1253 2014-09-04 16:41:07 buZz has quit (Read error: Connection reset by peer)
1254 2014-09-04 16:41:25 buZz has joined
1255 2014-09-04 16:41:49 buZz is now known as Guest50501
1256 2014-09-04 16:42:22 MiningBuddy has joined
1257 2014-09-04 16:43:32 MiningBuddy has quit (Client Quit)
1258 2014-09-04 16:44:29 kermit has quit (Quit: Leaving.)
1259 2014-09-04 16:44:38 cosmon has joined
1260 2014-09-04 16:45:29 Guest50501 is now known as buZz
1261 2014-09-04 16:47:42 derbumi has quit (Quit: derbumi)
1262 2014-09-04 16:48:27 Subo1977 has quit (Ping timeout: 264 seconds)
1263 2014-09-04 16:49:57 agricocb has joined
1264 2014-09-04 16:50:45 Subo1977 has joined
1265 2014-09-04 16:51:05 MiningBuddy has joined
1266 2014-09-04 16:51:05 MiningBuddy has quit (Changing host)
1267 2014-09-04 16:51:05 MiningBuddy has joined
1268 2014-09-04 16:51:06 derbumi has joined
1269 2014-09-04 16:51:48 akstunt600 has quit (Read error: Connection reset by peer)
1270 2014-09-04 16:51:48 ak__ has quit (Read error: Connection reset by peer)
1271 2014-09-04 16:52:10 derbumi has quit (Client Quit)
1272 2014-09-04 16:52:35 ak__ has joined
1273 2014-09-04 16:52:47 akstunt600 has joined
1274 2014-09-04 16:52:50 erasmospunk has joined
1275 2014-09-04 16:53:48 derbumi has joined
1276 2014-09-04 16:54:20 MiningBuddy has quit (Client Quit)
1277 2014-09-04 16:54:50 MiningBuddy has joined
1278 2014-09-04 16:55:21 cbeams has quit (Ping timeout: 260 seconds)
1279 2014-09-04 16:56:02 derbumi has quit (Client Quit)
1280 2014-09-04 16:56:29 derbumi has joined
1281 2014-09-04 16:58:23 ahbritto_ has quit (Read error: Connection reset by peer)
1282 2014-09-04 16:58:52 hearn has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1283 2014-09-04 16:59:01 ahbritto_ has joined
1284 2014-09-04 16:59:04 AaronvanW has quit (Remote host closed the connection)
1285 2014-09-04 16:59:48 erasmospunk has quit (Remote host closed the connection)
1286 2014-09-04 17:00:39 ahbritto_ has quit (Read error: Connection reset by peer)
1287 2014-09-04 17:01:19 ahbritto_ has joined
1288 2014-09-04 17:01:20 kermit has joined
1289 2014-09-04 17:01:53 weilu_ has quit (Remote host closed the connection)
1290 2014-09-04 17:03:16 luktgf has joined
1291 2014-09-04 17:03:16 derbumi has quit (Quit: derbumi)
1292 2014-09-04 17:03:47 agricocb has quit (Quit: Leaving.)
1293 2014-09-04 17:05:05 ahbritto_ has quit (Read error: Connection reset by peer)
1294 2014-09-04 17:05:22 weilu has joined
1295 2014-09-04 17:05:40 <andytoshi> are there any wallets who have implemented RFC6979 deterministic sigs? i am curious what decisions they made for message hash and HMAC hash
1296 2014-09-04 17:05:46 ahbritto_ has joined
1297 2014-09-04 17:05:55 oujh has quit (Ping timeout: 268 seconds)
1298 2014-09-04 17:06:23 jayne_ is now known as jayne
1299 2014-09-04 17:06:40 l_l_l_l_l has quit (Ping timeout: 252 seconds)
1300 2014-09-04 17:07:28 timothy has quit (Remote host closed the connection)
1301 2014-09-04 17:09:37 weilu has quit (Read error: No route to host)
1302 2014-09-04 17:10:04 weilu has joined
1303 2014-09-04 17:10:16 daybyter has quit (Quit: Konversation terminated!)
1304 2014-09-04 17:12:26 drArtemis has joined
1305 2014-09-04 17:13:28 <andytoshi> ah, electrum did, they just used regular (not doubled) SHA256
1306 2014-09-04 17:13:48 <andytoshi> and used the sha256d(msg) as the input to the deterministic nonce gen
1307 2014-09-04 17:14:15 weilu has quit (Read error: No route to host)
1308 2014-09-04 17:14:44 weilu has joined
1309 2014-09-04 17:15:27 <gmaxwell> weird choices.
1310 2014-09-04 17:16:00 <gmaxwell> oh I misread that, well not that weird.
1311 2014-09-04 17:16:02 <andytoshi> well, most crypto libs don't have sha256d, and they want you to pass a hash fn to the deterministic sign function (it doesn't choose for you)
1312 2014-09-04 17:16:21 <andytoshi> so either you implement their interface for your sha256d, or you just pass it the existing sha256
1313 2014-09-04 17:16:49 drArtemis has quit (Remote host closed the connection)
1314 2014-09-04 17:17:00 ahbritto_ has quit (Read error: Connection reset by peer)
1315 2014-09-04 17:17:08 erasmospunk has joined
1316 2014-09-04 17:17:16 drArtemis has joined
1317 2014-09-04 17:18:10 ahbritto_ has joined
1318 2014-09-04 17:18:53 weilu has quit (Read error: No route to host)
1319 2014-09-04 17:19:06 Starduster has quit (Ping timeout: 246 seconds)
1320 2014-09-04 17:19:27 weilu has joined
1321 2014-09-04 17:19:36 l_l_l_l_l has joined
1322 2014-09-04 17:19:51 <gmaxwell> while talking to sipa I think I'd expressed a preference for using HMAC-SHA512, in that any code implementing BIP32 has it anyways... though perhaps there is a complaint to be raised about truncating its output.
1323 2014-09-04 17:21:49 <gmaxwell> the hmac-sha256^2 that the RFC arguably prefers you use is kinda excessively weird.
1324 2014-09-04 17:21:57 drArtemis has quit (Ping timeout: 268 seconds)
1325 2014-09-04 17:22:19 <gmaxwell> And it's not a MUST.  It's actually important to be consistent in this, since we'd want to verify implementations are working right.
1326 2014-09-04 17:22:21 erasmospunk has quit (Ping timeout: 264 seconds)
1327 2014-09-04 17:22:31 <andytoshi> rust-crypto has a generic HMAC, i can use any hash i want :P. my feeling was HMAC-SHA512 too because of bip32
1328 2014-09-04 17:22:40 <andytoshi> but if other wallets have developed a convention then i'll do that
1329 2014-09-04 17:22:48 Dyaheon- has quit ()
1330 2014-09-04 17:23:20 <andytoshi> truncation is in the RFC, it's assumed to happen because apparently a lot of EC groups have weird orders
1331 2014-09-04 17:23:34 weilu has quit (Read error: No route to host)
1332 2014-09-04 17:24:02 weilu has joined
1333 2014-09-04 17:25:18 <andytoshi> i was going to make my nonce-generator generic (it is going in the rust secp256k1 bindings) but i can't genericize over the hash size and allocating is a nogo
1334 2014-09-04 17:26:00 <gmaxwell> really this should move into libsecp256k1, the current interface is unsafe for mortals.
1335 2014-09-04 17:26:17 <gmaxwell> It's not there yet due to the lack of internal hash functions.
1336 2014-09-04 17:26:25 <andytoshi> the rust interface is much nicer :)
1337 2014-09-04 17:27:07 HostFat has joined
1338 2014-09-04 17:28:17 cbeams has joined
1339 2014-09-04 17:28:17 cbeams has quit (Changing host)
1340 2014-09-04 17:28:17 cbeams has joined
1341 2014-09-04 17:28:36 weilu has quit (Read error: No route to host)
1342 2014-09-04 17:28:52 weilu has joined
1343 2014-09-04 17:29:05 W0rmDr1nk has quit (Ping timeout: 240 seconds)
1344 2014-09-04 17:31:23 soheil has joined
1345 2014-09-04 17:31:29 <andytoshi> i think armory uses random nonces, the c++ code is tangley but it creates a prng and gives it to the signer object..
1346 2014-09-04 17:32:02 hearn has joined
1347 2014-09-04 17:32:17 weilu has quit (Read error: No route to host)
1348 2014-09-04 17:33:03 weilu has joined
1349 2014-09-04 17:33:12 <andytoshi> so my feeling is there is no convention, i should use HMAC-SHA512
1350 2014-09-04 17:33:15 <andytoshi> sipa, gmaxwell: ^
1351 2014-09-04 17:34:32 weilu has quit (Read error: No route to host)
1352 2014-09-04 17:34:39 <sipa> sgtm
1353 2014-09-04 17:34:44 t7 has joined
1354 2014-09-04 17:35:06 weilu has joined
1355 2014-09-04 17:37:24 paveljanik has joined
1356 2014-09-04 17:39:24 weilu has quit (Read error: Connection reset by peer)
1357 2014-09-04 17:39:26 weilu_ has joined
1358 2014-09-04 17:40:57 sporkman has quit ()
1359 2014-09-04 17:41:05 graingert has quit (Ping timeout: 240 seconds)
1360 2014-09-04 17:41:41 sporkman has joined
1361 2014-09-04 17:43:57 e4xit has joined
1362 2014-09-04 17:44:17 caktux has quit (Remote host closed the connection)
1363 2014-09-04 17:44:49 KawalGrover has joined
1364 2014-09-04 17:45:07 akstunt600 has quit (Read error: Connection reset by peer)
1365 2014-09-04 17:45:07 ak__ has quit (Read error: Connection reset by peer)
1366 2014-09-04 17:45:26 weilu_ has quit (Ping timeout: 260 seconds)
1367 2014-09-04 17:45:27 caktux has joined
1368 2014-09-04 17:45:53 akstunt600 has joined
1369 2014-09-04 17:46:09 ak__ has joined
1370 2014-09-04 17:47:37 Dyaheon has joined
1371 2014-09-04 17:51:42 weilu has joined
1372 2014-09-04 17:52:00 BrainOverfl0w has quit (Ping timeout: 250 seconds)
1373 2014-09-04 17:55:42 weilu has quit (Read error: No route to host)
1374 2014-09-04 17:56:05 hearn has quit (Ping timeout: 240 seconds)
1375 2014-09-04 17:56:11 weilu has joined
1376 2014-09-04 17:56:53 mrkent has joined
1377 2014-09-04 17:56:53 mrkent has quit (Changing host)
1378 2014-09-04 17:56:53 mrkent has joined
1379 2014-09-04 17:57:04 hearn has joined
1380 2014-09-04 17:58:37 BrainOverfl0w has joined
1381 2014-09-04 17:59:30 KawalGrover has quit (Quit: KawalGrover)
1382 2014-09-04 17:59:42 KawalGrover has joined
1383 2014-09-04 18:00:02 brson has joined
1384 2014-09-04 18:00:35 weilu has quit (Read error: No route to host)
1385 2014-09-04 18:00:46 Grouver has joined
1386 2014-09-04 18:00:51 weilu has joined
1387 2014-09-04 18:04:27 CoinHeavy has joined
1388 2014-09-04 18:05:05 weilu has quit (Read error: No route to host)
1389 2014-09-04 18:05:31 weilu has joined
1390 2014-09-04 18:08:21 e4xit_ has joined
1391 2014-09-04 18:09:25 derbumi has joined
1392 2014-09-04 18:10:05 weilu has quit (Ping timeout: 240 seconds)
1393 2014-09-04 18:10:09 e4xit has quit (Ping timeout: 245 seconds)
1394 2014-09-04 18:10:09 e4xit_ is now known as e4xit
1395 2014-09-04 18:10:15 weilu has joined
1396 2014-09-04 18:10:23 hearn has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1397 2014-09-04 18:10:50 mrkent has quit (Ping timeout: 272 seconds)
1398 2014-09-04 18:11:00 cbeams has quit (Remote host closed the connection)
1399 2014-09-04 18:11:01 GM0127 has joined
1400 2014-09-04 18:11:38 phoenix54 has quit (Remote host closed the connection)
1401 2014-09-04 18:11:42 cbeams has joined
1402 2014-09-04 18:12:43 jzk has joined
1403 2014-09-04 18:12:49 ma11011s has joined
1404 2014-09-04 18:14:22 weilu has quit (Read error: No route to host)
1405 2014-09-04 18:14:33 KawalGrover has quit (Ping timeout: 264 seconds)
1406 2014-09-04 18:14:49 Hans-Martin has joined
1407 2014-09-04 18:14:52 weilu has joined
1408 2014-09-04 18:15:22 sahlhoff has joined
1409 2014-09-04 18:15:25 cbeams_ has joined
1410 2014-09-04 18:16:22 cbeams has quit (Read error: Connection reset by peer)
1411 2014-09-04 18:16:39 Starduster has joined
1412 2014-09-04 18:17:21 <Eliel> gmaxwell: truncating hash function output is bad?
1413 2014-09-04 18:17:49 saivann_ has joined
1414 2014-09-04 18:19:05 weilu has quit (Ping timeout: 240 seconds)
1415 2014-09-04 18:19:31 cbeams_ has quit (Remote host closed the connection)
1416 2014-09-04 18:19:31 weilu has joined
1417 2014-09-04 18:19:56 netg2 has quit (Quit: WeeChat 1.1-dev)
1418 2014-09-04 18:20:42 saivann has quit (Ping timeout: 246 seconds)
1419 2014-09-04 18:20:47 abossard has joined
1420 2014-09-04 18:21:14 RazielZ has joined
1421 2014-09-04 18:22:26 Raziel has quit (Ping timeout: 252 seconds)
1422 2014-09-04 18:23:13 xenog has quit (Quit: Leaving.)
1423 2014-09-04 18:23:33 phoenix54 has joined
1424 2014-09-04 18:23:38 weilu has quit (Read error: No route to host)
1425 2014-09-04 18:24:08 weilu has joined
1426 2014-09-04 18:24:14 kermit has quit (Quit: Leaving.)
1427 2014-09-04 18:25:52 RazielZ has quit (Client Quit)
1428 2014-09-04 18:27:18 Plasmastar has quit (Ping timeout: 272 seconds)
1429 2014-09-04 18:28:49 weilu_ has joined
1430 2014-09-04 18:28:59 weilu has quit (Ping timeout: 245 seconds)
1431 2014-09-04 18:29:08 dabura667 has quit (Quit: Leaving)
1432 2014-09-04 18:30:22 Plasmastar has joined
1433 2014-09-04 18:32:16 sahlhoff has quit (Quit: sahlhoff)
1434 2014-09-04 18:32:59 weilu_ has quit (Read error: No route to host)
1435 2014-09-04 18:33:21 WeCluster has joined
1436 2014-09-04 18:33:27 <ma11011s> When people like O’Brien say things like: “Before we know it bitcoin is going to be critical to our lives the way the Internet or mobile communication is critical”. I hope this reaches all of you and realize you are doing a fantastic job. I am learning that bitcoin has huge potential and lights up this dark world. Thank you all.
1437 2014-09-04 18:33:28 weilu has joined
1438 2014-09-04 18:33:44 mappum has joined
1439 2014-09-04 18:33:50 kermit has joined
1440 2014-09-04 18:36:24 <cfields> michagogo: around?
1441 2014-09-04 18:37:06 <sipa> wumpus: fixed!
1442 2014-09-04 18:37:19 Insti has quit (Ping timeout: 245 seconds)
1443 2014-09-04 18:37:34 <sipa> wumpus: map1.find(...) != map2.end() ... seems to work on newer boost, but not on older boost
1444 2014-09-04 18:37:46 weilu has quit (Read error: No route to host)
1445 2014-09-04 18:38:11 weilu has joined
1446 2014-09-04 18:38:28 akstunt600 has quit (Read error: Connection reset by peer)
1447 2014-09-04 18:38:28 ak__ has quit (Read error: Connection reset by peer)
1448 2014-09-04 18:38:44 Raziel has joined
1449 2014-09-04 18:39:13 ak__ has joined
1450 2014-09-04 18:39:26 akstunt600 has joined
1451 2014-09-04 18:40:02 <cfields> sipa: yikes!
1452 2014-09-04 18:41:09 vmatekol_ has joined
1453 2014-09-04 18:41:35 rubensayshi has quit (Ping timeout: 240 seconds)
1454 2014-09-04 18:42:26 weilu has quit (Read error: No route to host)
1455 2014-09-04 18:42:50 weilu has joined
1456 2014-09-04 18:42:54 WeCluster has quit (Quit: WeCluster)
1457 2014-09-04 18:43:34 lclc has joined
1458 2014-09-04 18:43:58 vmatekole has quit (Ping timeout: 268 seconds)
1459 2014-09-04 18:44:01 CoinHeavy has quit (Quit: CoinHeavy)
1460 2014-09-04 18:45:30 grubles has joined
1461 2014-09-04 18:46:08 KawalGrover has joined
1462 2014-09-04 18:46:53 RoboTedd_ has quit (Remote host closed the connection)
1463 2014-09-04 18:47:03 weilu has quit (Read error: No route to host)
1464 2014-09-04 18:47:29 weilu has joined
1465 2014-09-04 18:47:31 RoboTeddy has joined
1466 2014-09-04 18:47:43 Aido has joined
1467 2014-09-04 18:51:40 weilu has quit (Read error: No route to host)
1468 2014-09-04 18:52:10 weilu has joined
1469 2014-09-04 18:52:57 Application has quit (Remote host closed the connection)
1470 2014-09-04 18:53:47 HANTI is now known as hanti
1471 2014-09-04 18:55:53 <michagogo> cfields: ish
1472 2014-09-04 18:55:55 <michagogo> Why?
1473 2014-09-04 18:56:13 <michagogo> (Going through a tunnel atm, messages may be delayed)
1474 2014-09-04 18:56:21 weilu has quit (Read error: No route to host)
1475 2014-09-04 18:57:11 weilu has joined
1476 2014-09-04 18:57:37 <andytoshi> any ideas for how i can build a test corpus for RFC6979 nonces with secp256k1 and HMAC-SHA512?
1477 2014-09-04 18:57:46 <andytoshi> i guess, openssl at the prompt..
1478 2014-09-04 18:58:07 <cfields> michagogo: it'd be great if you could give #4727 a try now, I'm satisfied with it
1479 2014-09-04 18:58:23 <andytoshi> grr, why doesn't the openssl prompt support variables
1480 2014-09-04 18:58:36 <michagogo> cfields: link?
1481 2014-09-04 18:58:54 <cfields> michagogo: https://github.com/bitcoin/bitcoin/pull/4727
1482 2014-09-04 19:00:13 <michagogo> Thanks. Don't think I'll get around to it tonight (it's 10 PM and I'm not home yet), but I'll open it in a tab for when I can
1483 2014-09-04 19:00:26 <cfields> np. thanks
1484 2014-09-04 19:01:03 cagedwisdom has joined
1485 2014-09-04 19:01:22 weilu has quit (Read error: No route to host)
1486 2014-09-04 19:01:24 banghouse has quit (Remote host closed the connection)
1487 2014-09-04 19:01:35 bedeho has quit (Ping timeout: 240 seconds)
1488 2014-09-04 19:01:41 weilu has joined
1489 2014-09-04 19:02:33 alferz has quit (Ping timeout: 264 seconds)
1490 2014-09-04 19:04:21 e4xit_ has joined
1491 2014-09-04 19:05:43 weilu has quit (Read error: No route to host)
1492 2014-09-04 19:06:10 weilu has joined
1493 2014-09-04 19:06:35 pablog has quit (Quit: pablog)
1494 2014-09-04 19:07:29 e4xit has quit (Ping timeout: 276 seconds)
1495 2014-09-04 19:09:11 Application has joined
1496 2014-09-04 19:09:37 Subo1977 has quit (Remote host closed the connection)
1497 2014-09-04 19:10:50 weilu has quit (Ping timeout: 252 seconds)
1498 2014-09-04 19:11:04 Subo1977 has joined
1499 2014-09-04 19:11:05 weilu has joined
1500 2014-09-04 19:11:58 e4xit has joined
1501 2014-09-04 19:13:00 <cfields> sipa: are there any operand size constraints i can assume when implementing secp256k1_num_mul ?
1502 2014-09-04 19:13:28 <sipa> cfields: inputs at most 256 bits; output at most 512 bits
1503 2014-09-04 19:15:04 <cfields> sipa: thanks. I guess the more accurate question: any operations where a single input can be >256bit ?
1504 2014-09-04 19:15:15 weilu has quit (Read error: No route to host)
1505 2014-09-04 19:15:25 e4xit_ has quit (Ping timeout: 268 seconds)
1506 2014-09-04 19:15:35 phoenix54 has quit (Quit: phoenix54)
1507 2014-09-04 19:15:37 weilu has joined
1508 2014-09-04 19:17:02 <sipa> cfields: yes, division
1509 2014-09-04 19:17:07 <sipa> cfields: and shifts
1510 2014-09-04 19:17:29 <sipa> though #21 removes division entirely...
1511 2014-09-04 19:17:33 * sipa is tempted to merge it
1512 2014-09-04 19:18:08 phoenix54 has joined
1513 2014-09-04 19:18:19 <gmaxwell> should just figure out why it isn't faster. It should be faster.
1514 2014-09-04 19:18:33 <sipa> yup
1515 2014-09-04 19:18:53 <cfields> sipa: great, thanks.
1516 2014-09-04 19:19:08 W0rmDr1nk has joined
1517 2014-09-04 19:19:37 trixisowned is now known as cokea
1518 2014-09-04 19:19:41 cokea is now known as trixisowned
1519 2014-09-04 19:19:48 <kdomanski_> sipa: is there a specific compiler targeted on OSX?
1520 2014-09-04 19:19:59 weilu has quit (Read error: No route to host)
1521 2014-09-04 19:20:19 <sipa> kdomanski_: ask cfields
1522 2014-09-04 19:20:22 weilu has joined
1523 2014-09-04 19:20:29 <kdomanski_> cfields: is there a specific compiler targeted on OSX?
1524 2014-09-04 19:21:42 <cfields> kdomanski_: any should work.
1525 2014-09-04 19:21:55 mappum has left ("Leaving")
1526 2014-09-04 19:22:14 <cfields> kdomanski_: releases use clang 3.2 and 10.7sdk, but they're actually cross-built from Linux
1527 2014-09-04 19:23:16 w1zman has quit ()
1528 2014-09-04 19:24:30 weilu has quit (Read error: No route to host)
1529 2014-09-04 19:24:59 weilu has joined
1530 2014-09-04 19:26:39 <sipa> gmaxwell: it's strange that even the microbenchmark (his test which runs the split 10x instead of once) is only 1.8x times faster
1531 2014-09-04 19:26:47 hmsimha has joined
1532 2014-09-04 19:27:03 <sipa> i'd expected a few multiplications and shifts to be at least an order of magnitude less work than a division
1533 2014-09-04 19:28:55 <melvster> anyone know, is redeemScript optional in a normal P2SH signrawtransaction command?
1534 2014-09-04 19:29:08 weilu has quit (Read error: No route to host)
1535 2014-09-04 19:29:16 agricocb has joined
1536 2014-09-04 19:29:38 weilu has joined
1537 2014-09-04 19:29:41 <gmaxwell> melvster: IIRC it's only optional if the p2sh was addmultisiged.
1538 2014-09-04 19:29:53 <melvster> gmaxwell: ah ok thanks
1539 2014-09-04 19:30:51 saulimus has joined
1540 2014-09-04 19:31:23 derbumi has quit (Quit: derbumi)
1541 2014-09-04 19:31:42 <sipa> melvster: apparently, it's required if you specify your own private keys
1542 2014-09-04 19:31:46 ak__ has quit (Read error: Connection reset by peer)
1543 2014-09-04 19:31:46 akstunt600 has quit (Read error: Connection reset by peer)
1544 2014-09-04 19:32:01 <sipa> or if your own wallet doesn't know about it, of course
1545 2014-09-04 19:32:13 <melvster> sipa: ah right, yes I'm adding a privatekey array
1546 2014-09-04 19:32:30 akstunt600 has joined
1547 2014-09-04 19:32:39 <melvster> and it normally looks like 76a914  XXXX 88ac?
1548 2014-09-04 19:32:47 ak__ has joined
1549 2014-09-04 19:33:03 Grouver has quit (Read error: Connection reset by peer)
1550 2014-09-04 19:33:33 <gmaxwell> sipa: hm. this isn't the implementation I expected this to use, this is just an approximation. Is it increasing the weight of the split?
1551 2014-09-04 19:34:12 <sipa> gmaxwell: i haven't checked the math; peter claimed that it is very close or equal to the previous implementation
1552 2014-09-04 19:34:12 weilu has quit (Ping timeout: 246 seconds)
1553 2014-09-04 19:34:21 Arnavion has quit (Disconnected by services)
1554 2014-09-04 19:34:21 weilu has joined
1555 2014-09-04 19:34:27 Arnavion has joined
1556 2014-09-04 19:35:24 <sipa> melvster: that looks like a normal pay-to-pubkey-hash script
1557 2014-09-04 19:35:55 <gmaxwell> exact division should be possible with less work given a modular multiply large enough to contain the whole range of numbers.
1558 2014-09-04 19:36:57 AtashiCon has quit (Ping timeout: 240 seconds)
1559 2014-09-04 19:37:33 AtashiCon has joined
1560 2014-09-04 19:37:35 Grouver has joined
1561 2014-09-04 19:37:38 <gmaxwell> Here is the citation, http://dl.acm.org/citation.cfm?id=1078059
1562 2014-09-04 19:37:40 codice_ is now known as codice
1563 2014-09-04 19:38:09 peper has quit (Ping timeout: 245 seconds)
1564 2014-09-04 19:38:35 peper has joined
1565 2014-09-04 19:39:04 weilu_ has joined
1566 2014-09-04 19:39:28 weilu has quit (Ping timeout: 268 seconds)
1567 2014-09-04 19:40:05 gwollon has quit (Ping timeout: 268 seconds)
1568 2014-09-04 19:40:14 dub has quit (Ping timeout: 245 seconds)
1569 2014-09-04 19:40:33 phantomcircuit has quit (Ping timeout: 240 seconds)
1570 2014-09-04 19:40:37 gwillen has joined
1571 2014-09-04 19:40:40 phantomcircuit has joined
1572 2014-09-04 19:40:58 <kanzure> here's a copy http://libgen.org/scimag/get.php?doi=10.1109%2FARITH.2005.31
1573 2014-09-04 19:41:06 <kanzure> (maybe)
1574 2014-09-04 19:41:34 dub has joined
1575 2014-09-04 19:43:14 weilu_ has quit (Read error: No route to host)
1576 2014-09-04 19:43:40 rfreeman_w has quit (Ping timeout: 264 seconds)
1577 2014-09-04 19:43:41 weilu has joined
1578 2014-09-04 19:44:04 sahlhoff has joined
1579 2014-09-04 19:46:35 RagnarDanneskjol has quit (Ping timeout: 240 seconds)
1580 2014-09-04 19:48:05 haigent has quit (Ping timeout: 240 seconds)
1581 2014-09-04 19:48:07 Insti has joined
1582 2014-09-04 19:48:12 haigent has joined
1583 2014-09-04 19:48:29 weilu has quit (Ping timeout: 245 seconds)
1584 2014-09-04 19:48:31 weilu_ has joined
1585 2014-09-04 19:52:40 weilu_ has quit (Read error: No route to host)
1586 2014-09-04 19:53:07 weilu has joined
1587 2014-09-04 19:53:39 rfreeman_w has joined
1588 2014-09-04 19:57:19 weilu has quit (Read error: No route to host)
1589 2014-09-04 19:57:49 weilu has joined
1590 2014-09-04 19:58:54 jchp has quit (Ping timeout: 245 seconds)
1591 2014-09-04 19:59:25 weilu has quit (Read error: No route to host)
1592 2014-09-04 19:59:48 weilu has joined
1593 2014-09-04 20:01:04 gavinandresen has quit (Quit: gavinandresen)
1594 2014-09-04 20:03:54 weilu has quit (Read error: No route to host)
1595 2014-09-04 20:04:22 weilu has joined
1596 2014-09-04 20:09:05 weilu has quit (Ping timeout: 240 seconds)
1597 2014-09-04 20:09:11 weilu has joined
1598 2014-09-04 20:10:14 Cryo has joined
1599 2014-09-04 20:10:17 Cryo has quit (Changing host)
1600 2014-09-04 20:10:17 Cryo has joined
1601 2014-09-04 20:10:33 crunk-juice has quit (Read error: Connection reset by peer)
1602 2014-09-04 20:10:34 jchp has joined
1603 2014-09-04 20:11:04 crunk-juice has joined
1604 2014-09-04 20:13:15 weilu has quit (Read error: No route to host)
1605 2014-09-04 20:13:44 weilu has joined
1606 2014-09-04 20:16:30 Grouver has quit (Quit:  Try HydraIRC -> http://www.hydrairc.com <-)
1607 2014-09-04 20:17:52 weilu has quit (Read error: No route to host)
1608 2014-09-04 20:18:21 weilu has joined
1609 2014-09-04 20:21:27 jiffe has quit (Quit: WeeChat 0.3.7)
1610 2014-09-04 20:21:39 <earlz> About how many Mb does the blockchain grow per day?
1611 2014-09-04 20:22:20 <sipa> at most 144; in practice, a lot less
1612 2014-09-04 20:22:42 weilu has quit (Read error: No route to host)
1613 2014-09-04 20:23:16 <sipa> more like 40
1614 2014-09-04 20:23:16 weilu has joined
1615 2014-09-04 20:24:51 <earlz> seems impressive it's even that much heh
1616 2014-09-04 20:25:08 ak__ has quit (Read error: Connection reset by peer)
1617 2014-09-04 20:25:08 akstunt600 has quit (Read error: Connection reset by peer)
1618 2014-09-04 20:25:10 <earlz> depends on transaction volume and if people are using spammy transactions I assume
1619 2014-09-04 20:25:51 ak__ has joined
1620 2014-09-04 20:26:00 <gmaxwell> if my memory is right, x*6703903964971298549787012499102923063764718340290819503008439308526751771896327640541599575278636139300276022332033768607092378473081058686667373266012970 >> 767 will yield the exactly rounded integer divison of x by the group order, so long as x fits in 512 bits. Though there are other ways with less expansion.
1621 2014-09-04 20:26:04 akstunt600 has joined
1622 2014-09-04 20:26:52 <gmaxwell> (well, may be other ways, I'm not sure, and don't have access to the paper I want.)
1623 2014-09-04 20:27:20 weilu has quit (Read error: No route to host)
1624 2014-09-04 20:27:48 weilu has joined
1625 2014-09-04 20:28:55 Grouver has joined
1626 2014-09-04 20:32:04 weilu has quit (Read error: No route to host)
1627 2014-09-04 20:32:28 weilu has joined
1628 2014-09-04 20:34:14 pen has quit (Read error: Connection reset by peer)
1629 2014-09-04 20:34:32 pen has joined
1630 2014-09-04 20:36:51 Nothing4You has quit (Quit: Gone...)
1631 2014-09-04 20:37:05 weilu has quit (Ping timeout: 240 seconds)
1632 2014-09-04 20:37:12 weilu has joined
1633 2014-09-04 20:37:46 <gmaxwell> oh darn, only correct under 2^256. hm. I'm forgetting some step.
1634 2014-09-04 20:38:37 <sipa> you just tried all numbers up to 2^256+1? :p
1635 2014-09-04 20:39:46 PK has quit ()
1636 2014-09-04 20:40:24 wallet42 has quit (Remote host closed the connection)
1637 2014-09-04 20:40:57 <gmaxwell> no, tried  order*n  order*n-1 and order*n+1  for a few hundred million random points.
1638 2014-09-04 20:41:00 Nothing4You has joined
1639 2014-09-04 20:41:23 <gmaxwell> and its fine so long as my points are under 2^256.
1640 2014-09-04 20:41:43 Cryo has quit (Quit: Leaving)
1641 2014-09-04 20:41:48 weilu_ has joined
1642 2014-09-04 20:41:59 <gmaxwell> The procedure, if followed correctly(!), is completely exact for its whole operating range.
1643 2014-09-04 20:42:12 weilu has quit (Ping timeout: 272 seconds)
1644 2014-09-04 20:42:53 CoinHeavy has joined
1645 2014-09-04 20:43:05 <gmaxwell> GCC does the same optimization on integers.
1646 2014-09-04 20:43:09 MolokoBot has joined
1647 2014-09-04 20:44:40 altgribble has joined
1648 2014-09-04 20:44:44 altgribble` has quit (Ping timeout: 245 seconds)
1649 2014-09-04 20:44:51 linuxnewb2 has joined
1650 2014-09-04 20:44:51 linuxnewb2 has quit (Changing host)
1651 2014-09-04 20:44:51 linuxnewb2 has joined
1652 2014-09-04 20:46:04 weilu_ has quit (Read error: No route to host)
1653 2014-09-04 20:46:30 weilu has joined
1654 2014-09-04 20:47:57 wallet42 has joined
1655 2014-09-04 20:48:10 RoboTeddy has quit (Ping timeout: 264 seconds)
1656 2014-09-04 20:48:32 altgribble has quit (Remote host closed the connection)
1657 2014-09-04 20:48:46 altgribble has joined
1658 2014-09-04 20:50:49 CheckDavid has quit (Quit: Connection closed for inactivity)
1659 2014-09-04 20:50:56 weilu has quit (Ping timeout: 252 seconds)
1660 2014-09-04 20:51:33 weilu has joined
1661 2014-09-04 20:55:34 weilu has quit (Ping timeout: 245 seconds)
1662 2014-09-04 20:56:11 AaronvanW has joined
1663 2014-09-04 20:56:21 lclc has quit (Quit: Konversation terminated!)
1664 2014-09-04 20:56:34 altgribble has quit (Remote host closed the connection)
1665 2014-09-04 20:56:48 altgribble has joined
1666 2014-09-04 20:57:02 Quanttek has quit (Ping timeout: 250 seconds)
1667 2014-09-04 20:57:36 wazdrisa33 has joined
1668 2014-09-04 21:00:44 altgribble` has joined
1669 2014-09-04 21:01:29 altgribble has quit (Ping timeout: 268 seconds)
1670 2014-09-04 21:01:56 altgribble` is now known as altgribble
1671 2014-09-04 21:01:59 banghouse has joined
1672 2014-09-04 21:03:14 <kdomanski_> it would appear that GCC optimises the bit-checking loop in base_uint::bits() to use x86 instruction that does exactly the same thing, since replacing the loop with a proper builtin doesn't shave any CPU time there
1673 2014-09-04 21:07:05 banghouse has quit (Ping timeout: 276 seconds)
1674 2014-09-04 21:08:25 cotix has joined
1675 2014-09-04 21:08:57 kindoge has joined
1676 2014-09-04 21:09:05 wallet42 has quit (Quit: Leaving.)
1677 2014-09-04 21:11:00 wallet42 has joined
1678 2014-09-04 21:11:36 KawalGrover has quit (Ping timeout: 255 seconds)
1679 2014-09-04 21:12:34 RoboTeddy has joined
1680 2014-09-04 21:12:40 <gmaxwell> kdomanski_: hm? we tested this before and the CLZ was faster.
1681 2014-09-04 21:12:47 <gmaxwell> (IIRC)
1682 2014-09-04 21:13:19 <sipa> it may depend on the compiler version of course
1683 2014-09-04 21:13:22 rdymac has quit (Excess Flood)
1684 2014-09-04 21:13:26 soheil has quit (Remote host closed the connection)
1685 2014-09-04 21:13:36 <gmaxwell> Google stinks, I can't find that pull req.
1686 2014-09-04 21:13:46 <gmaxwell> It might have been at some optimization level it didn't matter.
1687 2014-09-04 21:14:09 <gmaxwell> but I've never seen GCC emit clz for something like that.
1688 2014-09-04 21:14:21 justin_____ has joined
1689 2014-09-04 21:14:31 Tonykai33 has joined
1690 2014-09-04 21:14:59 <gmaxwell> Darn, discussion about the various optimizations mostly doesn't appear to be here. https://github.com/bitcoin/bitcoin/pull/4076#issuecomment-41463413
1691 2014-09-04 21:15:30 <sipa> i don't think that i ever published those
1692 2014-09-04 21:15:46 <gmaxwell> I know I measured it too— I gave a number there.
1693 2014-09-04 21:15:51 <sipa> ah
1694 2014-09-04 21:16:49 Malakai33 has quit (Ping timeout: 245 seconds)
1695 2014-09-04 21:18:01 rdymac has joined
1696 2014-09-04 21:18:27 ak__ has quit (Read error: Connection reset by peer)
1697 2014-09-04 21:18:27 akstunt600 has quit (Read error: Connection reset by peer)
1698 2014-09-04 21:19:24 ak__ has joined
1699 2014-09-04 21:19:31 soheil has joined
1700 2014-09-04 21:19:37 akstunt600 has joined
1701 2014-09-04 21:20:16 rdponticelli has quit (Ping timeout: 264 seconds)
1702 2014-09-04 21:21:15 <kdomanski_> gmaxwell: weird, I get similiar results with clz
1703 2014-09-04 21:21:18 rdponticelli has joined
1704 2014-09-04 21:21:41 <gmaxwell> kdomanski_: O2 or O3? and is this a real benchmark or valgrind?  did you look at the ASM output to see what it was emitting?
1705 2014-09-04 21:21:56 <kdomanski_> gmaxwell: valgrind
1706 2014-09-04 21:22:19 <kdomanski_> O2
1707 2014-09-04 21:22:25 <gmaxwell> oh, well god knows what valgrind counts as the cost for the CLZ.
1708 2014-09-04 21:22:37 <kdomanski_> I see
1709 2014-09-04 21:23:13 GM0127 has quit (Ping timeout: 260 seconds)
1710 2014-09-04 21:24:55 ThomasV has quit (Ping timeout: 268 seconds)
1711 2014-09-04 21:25:48 wallet42 has quit (Quit: Leaving.)
1712 2014-09-04 21:26:09 Tonykai33 has quit (Quit: Leaving)
1713 2014-09-04 21:26:22 kermit has quit (Quit: Leaving.)
1714 2014-09-04 21:27:32 ThomasV has joined
1715 2014-09-04 21:27:37 kermit has joined
1716 2014-09-04 21:28:40 ebfull has quit (Quit: cya)
1717 2014-09-04 21:29:51 IrishGringo has joined
1718 2014-09-04 21:39:21 Starduster has quit ()
1719 2014-09-04 21:41:16 ionstorm has quit (Remote host closed the connection)
1720 2014-09-04 21:41:48 msvb-lab has quit (Quit: msvb-lab)
1721 2014-09-04 21:49:56 btiefert3 has quit (Read error: Connection reset by peer)
1722 2014-09-04 21:51:59 weilu has joined
1723 2014-09-04 21:52:24 da2ce7 has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1724 2014-09-04 21:53:17 KawalGrover has joined
1725 2014-09-04 21:54:01 paveljanik has quit (Ping timeout: 260 seconds)
1726 2014-09-04 21:56:05 AnoAnon has joined
1727 2014-09-04 21:56:11 weilu has quit (Read error: No route to host)
1728 2014-09-04 21:56:20 <gmaxwell> sipa: good job on 4670  it considerably decreased the minimum memory usage.
1729 2014-09-04 21:56:36 AnoAnon has quit (Read error: Connection reset by peer)
1730 2014-09-04 21:56:40 weilu has joined
1731 2014-09-04 21:56:54 <sipa> sure you don't mean another PR?
1732 2014-09-04 21:57:11 <gmaxwell> oops 4834
1733 2014-09-04 21:58:10 Apexseals has joined
1734 2014-09-04 22:00:08 <gmaxwell> sipa: good thing you merged 4838, now I can doubt its safty. :P
1735 2014-09-04 22:00:36 ShawnLeary has quit (Ping timeout: 252 seconds)
1736 2014-09-04 22:00:42 <sipa> hmm?
1737 2014-09-04 22:01:18 jchp has quit (Ping timeout: 268 seconds)
1738 2014-09-04 22:01:20 weilu_ has joined
1739 2014-09-04 22:01:26 <gmaxwell> sipa: CBlockIndex->phashBlock gets set to a pointer to the key in the map.
1740 2014-09-04 22:01:30 weilu has quit (Ping timeout: 245 seconds)
1741 2014-09-04 22:01:35 <gmaxwell> Can that get moved?
1742 2014-09-04 22:01:39 <sipa> no
1743 2014-09-04 22:02:00 <gmaxwell> K.
1744 2014-09-04 22:02:17 <sipa> key/value are never moved, they are individually allocated together with a linked list pointer to the other elements in the same bucket
1745 2014-09-04 22:02:27 <sipa> the hashtable only contains a pointer to the first element
1746 2014-09-04 22:02:46 <sipa> and the iterator is a pointer into the hashtable, so that can get invalidated on rehash
1747 2014-09-04 22:03:36 ShawnLeary has joined
1748 2014-09-04 22:03:41 <gmaxwell> Glad you checked, I realized I didn't check on the basis of "if it can get moved; it'll probably just explode" which is fine for testing but not for being merged. :)
1749 2014-09-04 22:04:11 <sipa> gmaxwell: ideally, for the block index, i think we have a vector of CBlockIndex entries, and a sparse hash map for mapping block hashes to indexes into that vector
1750 2014-09-04 22:04:24 <sipa> which means 2 allocated regions total
1751 2014-09-04 22:05:04 <gmaxwell> oh I didn't think to do that. I tried to make an unordered map of CBlockIndex— so it would be allocated inline and could be reserved) but there was just too much to change for an expirement.
1752 2014-09-04 22:05:30 <gmaxwell> normal vector allocation policy may be kind of unwelcome for us for that, IIRC vectors can have up to 2x overhead even on large objects.
1753 2014-09-04 22:05:36 weilu_ has quit (Read error: No route to host)
1754 2014-09-04 22:05:41 Hans-Martin has quit (Remote host closed the connection)
1755 2014-09-04 22:05:46 <sipa> it would also mean that instead of CBlockIndex* you could just use the vector index (which can be 32-bit integer, reducing the size of some data structures further)
1756 2014-09-04 22:06:03 weilu has joined
1757 2014-09-04 22:06:42 <gmaxwell> actually, an in a a/b test 4670 only reduced memory usage in the minimum configuration slightly.
1758 2014-09-04 22:06:42 spinza has quit (Read error: Connection reset by peer)
1759 2014-09-04 22:07:15 <sipa> you mean 4834?
1760 2014-09-04 22:07:37 <gmaxwell> yes
1761 2014-09-04 22:07:48 <sipa> it should mostly decrease the frequency of database writes to disk
1762 2014-09-04 22:08:00 <sipa> and total I/O to disk
1763 2014-09-04 22:08:09 <gmaxwell> well I'm testing a kind of silly configuration, dbcache=4
1764 2014-09-04 22:09:35 <sipa> so it would probably write to disk after every block
1765 2014-09-04 22:10:15 weilu has quit (Ping timeout: 245 seconds)
1766 2014-09-04 22:10:23 JimDowJo2es is now known as jimdowjones
1767 2014-09-04 22:10:43 weilu has joined
1768 2014-09-04 22:11:46 akstunt600 has quit (Read error: Connection reset by peer)
1769 2014-09-04 22:11:47 ak__ has quit (Read error: Connection reset by peer)
1770 2014-09-04 22:12:27 ma11011s has quit (Quit: Page closed)
1771 2014-09-04 22:12:29 ak__ has joined
1772 2014-09-04 22:12:40 akstunt600 has joined
1773 2014-09-04 22:14:44 jchp has joined
1774 2014-09-04 22:14:51 weilu has quit (Read error: No route to host)
1775 2014-09-04 22:14:59 <gmaxwell> only ~32 uses of new in the codebase.
1776 2014-09-04 22:15:28 weilu has joined
1777 2014-09-04 22:15:58 kindoge is now known as radicalpi_
1778 2014-09-04 22:16:05 radicalpi_ is now known as kindoge
1779 2014-09-04 22:17:33 kindoge is now known as radicallifeofpi
1780 2014-09-04 22:17:41 <cotix> only 32? Is that low on purpose?
1781 2014-09-04 22:17:51 jgarzik is now known as home_jg
1782 2014-09-04 22:18:24 radicallifeofpi is now known as kindoge
1783 2014-09-04 22:19:00 <sipa> yes
1784 2014-09-04 22:19:54 <gmaxwell> cotix: Modern C++ memory management should seldom/never.
1785 2014-09-04 22:21:01 <cfields> gmaxwell: the real question then is how many deletes? :)
1786 2014-09-04 22:21:22 <sipa> 31.
1787 2014-09-04 22:21:23 <sipa> Dang.
1788 2014-09-04 22:21:41 WeCluster has joined
1789 2014-09-04 22:22:20 Application has quit (Ping timeout: 245 seconds)
1790 2014-09-04 22:23:35 crunk-juice has quit (Remote host closed the connection)
1791 2014-09-04 22:24:04 WeCluster has quit (Remote host closed the connection)
1792 2014-09-04 22:25:04 <cfields> heh
1793 2014-09-04 22:26:49 t7 has quit (Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140715214327])
1794 2014-09-04 22:26:52 <gmaxwell> 51 ... thanks to error branches.
1795 2014-09-04 22:27:13 IrishGringo has quit (Ping timeout: 268 seconds)
1796 2014-09-04 22:27:19 <sipa> i assume that half of them could be replaced by a unique_ptr
1797 2014-09-04 22:27:21 Qatz has quit (Ping timeout: 240 seconds)
1798 2014-09-04 22:28:04 <sipa> or maybe all
1799 2014-09-04 22:28:36 justanotheruser has quit (Ping timeout: 272 seconds)
1800 2014-09-04 22:29:22 Qatz has joined
1801 2014-09-04 22:29:52 rfreeman_w has quit (Ping timeout: 264 seconds)
1802 2014-09-04 22:30:27 spinza has joined
1803 2014-09-04 22:30:51 drArtemis has joined
1804 2014-09-04 22:31:25 belcher has joined
1805 2014-09-04 22:31:25 belcher has quit (Changing host)
1806 2014-09-04 22:31:25 belcher has joined
1807 2014-09-04 22:32:24 howdypartner_ has joined
1808 2014-09-04 22:35:57 weilu has quit (Read error: No route to host)
1809 2014-09-04 22:36:16 weilu has joined
1810 2014-09-04 22:38:04 jMyles has quit (Ping timeout: 245 seconds)
1811 2014-09-04 22:38:09 wallet42 has joined
1812 2014-09-04 22:39:08 Application has joined
1813 2014-09-04 22:40:28 weilu has quit (Read error: Connection reset by peer)
1814 2014-09-04 22:40:54 weilu has joined
1815 2014-09-04 22:40:54 Grouver has quit (Quit:  HydraIRC -> http://www.hydrairc.com <- *I* use it, so it must be good!)
1816 2014-09-04 22:41:01 Starduster has joined
1817 2014-09-04 22:42:10 howdypartner_ has quit (Quit: Page closed)
1818 2014-09-04 22:43:56 RAM518 has joined
1819 2014-09-04 22:45:04 weilu has quit (Read error: No route to host)
1820 2014-09-04 22:45:34 weilu has joined
1821 2014-09-04 22:46:14 stonemessenger has joined
1822 2014-09-04 22:46:17 stonemessenger has quit (Excess Flood)
1823 2014-09-04 22:46:57 ThomasV has quit (Ping timeout: 268 seconds)
1824 2014-09-04 22:49:00 AaronvanW has quit (Ping timeout: 245 seconds)
1825 2014-09-04 22:49:00 sdamashek has quit (Ping timeout: 245 seconds)
1826 2014-09-04 22:49:00 cysm has quit (Ping timeout: 252 seconds)
1827 2014-09-04 22:49:48 weilu has quit (Read error: No route to host)
1828 2014-09-04 22:49:59 tombtc has quit (Quit: quit)
1829 2014-09-04 22:50:12 jMyles has joined
1830 2014-09-04 22:50:18 weilu has joined
1831 2014-09-04 22:50:50 rfreeman_w has joined
1832 2014-09-04 22:51:36 Zarutian has quit (Quit: Zarutian)
1833 2014-09-04 22:52:31 mapppum has joined
1834 2014-09-04 22:54:34 weilu has quit (Read error: No route to host)
1835 2014-09-04 22:54:58 weilu has joined
1836 2014-09-04 22:55:08 banghouse has joined
1837 2014-09-04 22:55:46 KawalGrover has quit (Quit: KawalGrover)
1838 2014-09-04 22:57:36 ThomasV has joined
1839 2014-09-04 22:57:48 JZavala has joined
1840 2014-09-04 22:59:10 weilu has quit (Read error: No route to host)
1841 2014-09-04 22:59:35 drArtemis has quit (Ping timeout: 240 seconds)
1842 2014-09-04 22:59:37 weilu has joined
1843 2014-09-04 23:01:12 DougieBot5000 has quit (Quit: Leaving)
1844 2014-09-04 23:02:26 Guest61713 is now known as Sabbie
1845 2014-09-04 23:02:30 amazingdeveloper has joined
1846 2014-09-04 23:02:33 Sabbie has quit (Changing host)
1847 2014-09-04 23:02:33 Sabbie has joined
1848 2014-09-04 23:05:09 akstunt600 has quit (Read error: Connection reset by peer)
1849 2014-09-04 23:05:10 ak__ has quit (Read error: Connection reset by peer)
1850 2014-09-04 23:06:05 ak__ has joined
1851 2014-09-04 23:06:15 akstunt600 has joined
1852 2014-09-04 23:08:04 amazingdeveloper has quit (Remote host closed the connection)
1853 2014-09-04 23:08:08 Sabbie is now known as sabbie
1854 2014-09-04 23:10:54 weilu has quit (Read error: No route to host)
1855 2014-09-04 23:11:12 <gmaxwell> I like that someone wrote this whole article on zeroing memory, http://www.daemonology.net/blog/2014-09-04-how-to-zero-a-buffer.html only to have a comment point out that his recommended technique gets optimized out.
1856 2014-09-04 23:11:20 weilu has joined
1857 2014-09-04 23:11:37 Guest43181 has quit (Ping timeout: 268 seconds)
1858 2014-09-04 23:15:22 <luke-jr_> gmaxwell: casting to volatile might help
1859 2014-09-04 23:15:28 ThomasV has quit (Ping timeout: 272 seconds)
1860 2014-09-04 23:15:40 erasmospunk has joined
1861 2014-09-04 23:15:42 weilu has quit (Read error: No route to host)
1862 2014-09-04 23:16:00 weilu has joined
1863 2014-09-04 23:16:56 cotix has quit (Remote host closed the connection)
1864 2014-09-04 23:17:37 <sipa> luke-jr_: read tfa :)
1865 2014-09-04 23:18:06 <gmaxwell> luke-jr_: thats what it does, and the comment points out that devirtualization passes can still see through it.
1866 2014-09-04 23:19:08 <gmaxwell> the article ends with "There's just one catch: We've been solving the wrong problem" and a to be continued, presumably he's going to show that your data can end up in other random places (e.g. splattered all over the stack even if you never stored it there)
1867 2014-09-04 23:19:11 HostFat has quit (Quit: Leaving)
1868 2014-09-04 23:20:18 weilu has quit (Ping timeout: 246 seconds)
1869 2014-09-04 23:20:41 weilu has joined
1870 2014-09-04 23:22:05 <luke-jr_> "The C standard states that accesses to volatile objects are part of the unalterable observable behaviour — but it says nothing about accesses via lvalue expressions with volatile types." <-- types aren't objects? O.o
1871 2014-09-04 23:23:16 mapppum has quit (Remote host closed the connection)
1872 2014-09-04 23:24:48 weilu has quit (Read error: No route to host)
1873 2014-09-04 23:25:20 weilu has joined
1874 2014-09-04 23:26:38 <gwillen> gmaxwell: that's not just any someone, either, that's colin percival, openbsd security officer
1875 2014-09-04 23:26:55 derbumi has joined
1876 2014-09-04 23:27:13 <gwillen> if _he_ can't get it working...
1877 2014-09-04 23:27:40 <gwillen> (excuse me, _free_bsd, not openbsd.)
1878 2014-09-04 23:29:47 weilu has quit (Read error: No route to host)
1879 2014-09-04 23:30:02 weilu has joined
1880 2014-09-04 23:30:47 <sipa> gwillen: that name rings a bell
1881 2014-09-04 23:31:36 <sipa> ah, the scrypt author?
1882 2014-09-04 23:32:40 <gwillen> yeah, that sounds right
1883 2014-09-04 23:32:47 <gwillen> also runs Tarsnap, and is cperciva on HN
1884 2014-09-04 23:33:38 derbumi has quit (Quit: derbumi)
1885 2014-09-04 23:34:44 weilu_ has joined
1886 2014-09-04 23:35:00 weilu has quit (Ping timeout: 246 seconds)
1887 2014-09-04 23:36:03 neozaru has quit (Remote host closed the connection)
1888 2014-09-04 23:38:53 weilu_ has quit (Read error: No route to host)
1889 2014-09-04 23:39:14 <gmaxwell> gwillen: well my prior conclusion was that all these things are doombed because the C standards only promise the behavior of the C abstract machine, and the C abstract machine says nothing about memory after you're not longer using it. It would be perfectly valid for the compiler to detect your more secret of secrets and always use them to fill all deallocated memory. :P
1890 2014-09-04 23:39:24 weilu has joined
1891 2014-09-04 23:39:38 <gmaxwell> So at best you can do a best effort, check that it's okay on your current toolchain, and make no promises.
1892 2014-09-04 23:39:41 <gwillen> gmaxwell: yuuuuup.
1893 2014-09-04 23:40:25 zone117x has quit (Ping timeout: 260 seconds)
1894 2014-09-04 23:41:11 zone117x has joined
1895 2014-09-04 23:41:37 Gyps has joined
1896 2014-09-04 23:41:58 fanquake has joined
1897 2014-09-04 23:42:20 IrishGringo has joined
1898 2014-09-04 23:43:33 weilu has quit (Read error: No route to host)
1899 2014-09-04 23:44:01 weilu has joined
1900 2014-09-04 23:46:42 <sipa> gmaxwell: and format your hard drive when you read uninitialized memory?
1901 2014-09-04 23:47:08 <gmaxwell> s/your hard drive/the entire universe/
1902 2014-09-04 23:47:11 <luke-jr_> :P
1903 2014-09-04 23:48:05 weilu has quit (Ping timeout: 240 seconds)
1904 2014-09-04 23:48:33 <gmaxwell> Reindex is 110 blocks per second at height 220k now... I'm pretty sure if I dig back to my logs from early 2013 I can find some place where it was 10 blocks/s or so.
1905 2014-09-04 23:48:42 weilu has joined
1906 2014-09-04 23:49:11 DougieBot5000 has joined
1907 2014-09-04 23:49:50 <phantomcircuit> gmaxwell, compile library with -O0 which contains a single function to zero memory
1908 2014-09-04 23:50:16 <sipa> gmaxwell: you accidentally pressed your 'turbo' button?
1909 2014-09-04 23:50:21 <phantomcircuit> technically not guaranteed to always work correctly... but very unlikely not to
1910 2014-09-04 23:50:40 <sipa> phantomcircuit: LTO ftw
1911 2014-09-04 23:50:46 <dhill> explicit_bzero
1912 2014-09-04 23:50:49 <gmaxwell> there are lots of things that work until they don't... yea, sipa took my retort. :P
1913 2014-09-04 23:50:57 <sipa> dhill: yup
1914 2014-09-04 23:51:07 <phantomcircuit> sipa, heh
1915 2014-09-04 23:51:29 <gwillen> if you don't mind taking a performance hit, you could declare all your sensitive storage volatile
1916 2014-09-04 23:51:36 <gwillen> (not just cast it to volatile when you're trying to clear it)
1917 2014-09-04 23:51:40 <gmaxwell> dhill: There is still no guarantee there. The compiler may have spilled your confidential data onto the stack in other areas which are already free and which you cannot access anymore.
1918 2014-09-04 23:51:42 <gwillen> then the compiler is obligated to obey, I believe
1919 2014-09-04 23:52:08 <gwillen> ah, yes, well, I don't think there's ever a rule that the compiler can't copy your sensitive data elsewhere
1920 2014-09-04 23:52:18 <gwillen> we need a 'sensitive' storage class
1921 2014-09-04 23:52:53 weilu has quit (Read error: No route to host)
1922 2014-09-04 23:52:59 <sipa> have the compiler encrypt all data in memory, and throw away the (randomly generated) key when data goes out of scope :p
1923 2014-09-04 23:53:07 <phantomcircuit> gwillen, i actually have a build which just calls mlockall()
1924 2014-09-04 23:53:09 <phantomcircuit> but that's cheating
1925 2014-09-04 23:53:20 weilu has joined
1926 2014-09-04 23:53:27 mapppum has joined
1927 2014-09-04 23:53:29 <sipa> memset(1, 0, ~0)
1928 2014-09-04 23:53:54 agricocb has quit (Ping timeout: 246 seconds)
1929 2014-09-04 23:54:09 <gmaxwell> gwillen: Its sort of hopless on a general purpose machine. What happens when you fault into the kernel and it saves off the registers.   Have you see the tresor (tresor runs encryption securely outside of ram) stuff?
1930 2014-09-04 23:54:23 <gwillen> I haven't looked at it, no
1931 2014-09-04 23:54:39 <gmaxwell> Basically you remove some registers from the ISA.. and keep your keys there.
1932 2014-09-04 23:54:58 * gwillen nods
1933 2014-09-04 23:55:08 <gwillen> I've heard of using the x86 debug registers for key storage
1934 2014-09-04 23:55:18 <gmaxwell> bluematt's host runs that way— yea, using the debug registers.
1935 2014-09-04 23:56:29 <BlueMatt> they're really the only option on x86
1936 2014-09-04 23:56:39 <BlueMatt> unless you want to break one of the simd sets
1937 2014-09-04 23:56:56 <BlueMatt> and gdb doesnt even usually use them by default anyway, so...they're never really used
1938 2014-09-04 23:57:35 weilu has quit (Read error: No route to host)
1939 2014-09-04 23:58:04 weilu has joined
1940 2014-09-04 23:58:21 <gmaxwell> BlueMatt: x86 fpu stack?  I believe you can make it off limits so it'll fault on access.
1941 2014-09-04 23:58:23 akstunt600 has quit (Read error: Connection reset by peer)
1942 2014-09-04 23:58:24 ak__ has quit (Read error: Connection reset by peer)
1943 2014-09-04 23:58:55 ebfull has joined
1944 2014-09-04 23:59:08 ak__ has joined
1945 2014-09-04 23:59:20 akstunt600 has joined
1946 2014-09-04 23:59:28 hmsimha has quit (Read error: Connection reset by peer)
1947 2014-09-04 23:59:34 crunk-juice has joined
1948 2014-09-04 23:59:48 <BlueMatt> gmaxwell: hmm, maybe, never looked at that one actually
1949 2014-09-04 23:59:58 <BlueMatt> gmaxwell: in any case, debug regs are free, other things are at least sometimes used