1 2012-03-21 00:01:29 Z0rZ0rZ0r has quit (Ping timeout: 249 seconds)
   2 2012-03-21 00:03:22 <sipa> gmaxwell: currently testing with -dbcache=900; 100k blocks in less than 100s !
   3 2012-03-21 00:04:04 smtmnyz has quit (Remote host closed the connection)
   4 2012-03-21 00:07:36 Transisto has joined
   5 2012-03-21 00:10:27 ternit has quit (Quit: Leaving)
   6 2012-03-21 00:12:37 splatster has joined
   7 2012-03-21 00:14:21 <DBordello> sipa and gmaxwell, is this syncing from the p2p network?
   8 2012-03-21 00:14:48 <gmaxwell> DBordello: no, but at the low end it doesn't matter. The p2p isn't the bottleneck.
   9 2012-03-21 00:15:03 <gmaxwell> DBordello: I managed a bit over a half hour onto a SSD from the p2p network.
  10 2012-03-21 00:15:22 <DBordello> gmaxwell, with a specially patched client?
  11 2012-03-21 00:15:26 <gmaxwell> sipa: crazy. Okay yea, so I guess it does matter. annoying.
  12 2012-03-21 00:15:32 <gmaxwell> DBordello: ramdisk, effectively.
  13 2012-03-21 00:15:48 <DBordello> gmaxwell, SSDs are great :)  I have a PCIe one
  14 2012-03-21 00:15:53 TheSeven has quit (Remote host closed the connection)
  15 2012-03-21 00:16:49 <sipa> gmaxwell: the effect is remarkably small; it will be 16 minutes for 160k blocks (with 900 MiB cache) instead of 18 minutes (with 25 MiB cache)
  16 2012-03-21 00:17:46 <gmaxwell> DBordello: a lot of SSDs have terribly slow writes and won't sync that quickly either.
  17 2012-03-21 00:17:47 josephcp has quit (Read error: Connection reset by peer)
  18 2012-03-21 00:18:01 da2ce7 has quit (2!~da2ce7@gateway/tor-sasl/da2ce7|Remote host closed the connection)
  19 2012-03-21 00:18:10 <gmaxwell> sipa: I wonder where the threshold is.. because 4mb seems not terribly fast here.
  20 2012-03-21 00:18:19 josephcp has joined
  21 2012-03-21 00:18:39 <gmaxwell> 03/20/12 23:19:43 -> 03/21/12 00:17:40 height=164946
  22 2012-03-21 00:18:46 <sipa> DBordello: my tests are syncing from a local file, with network delays you have to add the actual downloading time
  23 2012-03-21 00:19:02 <DBordello> sipa, right.  I guess might as will fix the slow step :)
  24 2012-03-21 00:19:07 <gmaxwell> so almost an hour to get to 164946 from a local node.
  25 2012-03-21 00:19:20 <gmaxwell> DBordello: yea, after this is sorted out we'll probably need to improve the network behavior next.
  26 2012-03-21 00:19:32 <DBordello> down to ~ 1 hour is a massive impreovement
  27 2012-03-21 00:19:37 <DBordello> improvement*
  28 2012-03-21 00:20:03 <sipa> DBordello: my test with 900 MiB cache will probably complete in 25-30 minutes
  29 2012-03-21 00:20:08 <sipa> on a laptop
  30 2012-03-21 00:20:11 <gmaxwell> DBordello: we knew it was possible.
  31 2012-03-21 00:20:28 <DBordello> Unless I am setup to compile on Windows, I probably can't test?
  32 2012-03-21 00:20:45 <sipa> DBordello: i'll make you a buil
  33 2012-03-21 00:20:58 <DBordello> sipa, that'd be fun :)
  34 2012-03-21 00:21:19 <sipa> (but not during the test)
  35 2012-03-21 00:21:42 <gmaxwell> trying 25mb now... lets see if its 4 vs 25 or just my spinning disk system not as fast as sipas lapdop.
  36 2012-03-21 00:22:40 <sipa> gmaxwell: spinning disk + gigabit + bitcoin p2p overhead vs my laptop's disk
  37 2012-03-21 00:22:58 <DBordello> sipa, fair enough
  38 2012-03-21 00:23:09 <sipa> 22 minutes for reaching the last checkpoint
  39 2012-03-21 00:23:16 <gmaxwell> oh wow.. nah.
  40 2012-03-21 00:23:17 <DBordello> are you guys just running two clients, one fully sync'd, and another trying to sync?
  41 2012-03-21 00:23:36 <gmaxwell> oops forgot to delete the chain. :)
  42 2012-03-21 00:23:40 <sipa> DBordello: gmaxwell is, i'm not (i have a patch that does an import of blocks from a local file)
  43 2012-03-21 00:23:50 <DBordello> ah, okay
  44 2012-03-21 00:24:00 <gmaxwell> DBordello: without changes thats ~as slow as plain p2p sync.
  45 2012-03-21 00:24:08 <gmaxwell> (well, changes or a ramdisk)
  46 2012-03-21 00:24:16 <DBordello> gmaxwell, interesting
  47 2012-03-21 00:24:25 <DBordello> I wouldn't mind seeing what this SSD can do with and without the changes
  48 2012-03-21 00:25:15 <sipa> devrandom: is there a way to override which git repository to fetch stuff from in gitian-builder?
  49 2012-03-21 00:29:22 <sipa> ok, full sync with 900 MiB cache: 28 minutes
  50 2012-03-21 00:29:42 da2ce7 has joined
  51 2012-03-21 00:30:10 <gribble> New news from bitcoinrss: luke-jr opened pull request 966 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/966>
  52 2012-03-21 00:33:14 andytoshi has joined
  53 2012-03-21 00:35:53 localhost has quit (Remote host closed the connection)
  54 2012-03-21 00:36:53 underscor has joined
  55 2012-03-21 00:37:06 pingdrive has joined
  56 2012-03-21 00:38:13 Cory has quit (Read error: Connection reset by peer)
  57 2012-03-21 00:39:16 <sipa> anyone know some ruby? :)
  58 2012-03-21 00:39:34 localhost has joined
  59 2012-03-21 00:40:26 <BlueMatt> devrandom: wrote gitian in it...
  60 2012-03-21 00:40:47 <sipa> BlueMatt: yes, that why i hilighted him above :)
  61 2012-03-21 00:40:57 <BlueMatt> ahhh...
  62 2012-03-21 00:41:14 <sipa> BlueMatt: i'd like to do something like -c bitcoin=[URL@]commit or so
  63 2012-03-21 00:41:20 <BlueMatt> sipa: to answer your question, its like the second line in the gitian yml file
  64 2012-03-21 00:41:29 <BlueMatt> at command line, no
  65 2012-03-21 00:42:01 <sipa> BlueMatt: i know that, but i prefer not needing to sed-patch the gitian descriptor just to build something that's in my own repository instead of the official one
  66 2012-03-21 00:42:22 <sipa> it looks trivial to implement, but i've never written a line of ruby
  67 2012-03-21 00:42:46 <BlueMatt> meh, its not hard to read...
  68 2012-03-21 00:43:00 Cory has joined
  69 2012-03-21 00:43:08 iocor has quit (Quit: Computer has gone to sleep.)
  70 2012-03-21 00:44:05 <sipa> reading is not the problenm
  71 2012-03-21 00:44:14 <gmaxwell> hm, to height 137549 23 minutes with 4mb, 17 minutes with 25mb.
  72 2012-03-21 00:44:27 <gmaxwell> seems to make more difference the later in the chain.
  73 2012-03-21 00:44:39 <BlueMatt> sipa: I had never read a line of C++ before writing the upnp mod, I had never read a line of ruby before fixing one or two bugs in gitian-builder...
  74 2012-03-21 00:44:43 <BlueMatt> sipa: just dive in ;)
  75 2012-03-21 00:45:26 TheSeven has joined
  76 2012-03-21 00:45:53 Nesetalis has quit (Ping timeout: 260 seconds)
  77 2012-03-21 00:45:55 <sipa> BlueMatt: already on it :p
  78 2012-03-21 00:46:04 <BlueMatt> now thats more like it :)
  79 2012-03-21 00:47:01 barmstrong has quit (Remote host closed the connection)
  80 2012-03-21 00:48:29 <sipa> ok, that was easy indeed
  81 2012-03-21 00:48:36 <BlueMatt> :)
  82 2012-03-21 00:48:47 <BlueMatt> pull request that too...
  83 2012-03-21 00:55:48 Cory has quit (Ping timeout: 260 seconds)
  84 2012-03-21 00:56:53 Cory has joined
  85 2012-03-21 00:57:16 <sipa> gmaxwell: i assume the working set is larger later on in the chain
  86 2012-03-21 00:57:47 Nesetalis has joined
  87 2012-03-21 00:58:05 <gmaxwell> sipa: not sure why the OS cache isn't taking care of most of that.
  88 2012-03-21 00:59:10 bluefirecorp1 has joined
  89 2012-03-21 00:59:20 <DBordello> sipa, your getalltransactions commit works great.  I am using it to check for "green" transactions (despite gmaxwell discouraging behaviour otherwise)
  90 2012-03-21 00:59:23 <DBordello> Thank you :)
  91 2012-03-21 00:59:25 bluefirecorp has quit (Read error: Connection reset by peer)
  92 2012-03-21 00:59:51 smtmnyz has joined
  93 2012-03-21 01:00:56 <BlueMatt> gmaxwell: yea, i think we need to barade jgarzik on that one, his caches are broken...
  94 2012-03-21 01:01:02 abracadab is now known as abracadabra
  95 2012-03-21 01:01:09 <BlueMatt> or are those above the level of sata drivers?
  96 2012-03-21 01:01:19 <sipa> DBordello: meh; i'd have to add a license "not permitted to use for checking green addresses" ;)
  97 2012-03-21 01:01:40 <DBordello> sipa, too bad :)
  98 2012-03-21 01:01:50 rebroad has quit (Ping timeout: 252 seconds)
  99 2012-03-21 01:01:51 <DBordello> if it makes you feel better, I learned a lot about bitcoin transactions :)
 100 2012-03-21 01:02:08 barmstrong has joined
 101 2012-03-21 01:02:23 * BlueMatt goes to write a bot to ban anyone who mentions "green addresses" in this chan...
 102 2012-03-21 01:03:35 <sipa> BlueMatt: i've made a script that you just give a commit id, and it builds, packages and gpg-signs the output, using git describe to select file names
 103 2012-03-21 01:04:06 * gmaxwell goes to NAK that pull with "useful for checking 'green' transactions"
 104 2012-03-21 01:04:16 <BlueMatt> gmaxwell: not a bad idea...
 105 2012-03-21 01:04:18 <BlueMatt> sipa: mmm
 106 2012-03-21 01:04:44 <DBordello> hah
 107 2012-03-21 01:04:45 <BlueMatt> anyone else watching the "2012 Isaac Asimov Memorial Debate"?
 108 2012-03-21 01:04:55 <BlueMatt> its good, though they are on closing questions now...
 109 2012-03-21 01:05:58 <gmaxwell> okay, 40 minutes to get to height=164946 with 25MB  (vs ~an hour with 4MB)
 110 2012-03-21 01:07:58 <sipa> anyone know a nice separation symbol that does not typically occur in URLs?
 111 2012-03-21 01:08:49 * sipa chooses ,
 112 2012-03-21 01:08:57 <luke-jr> space
 113 2012-03-21 01:09:28 <sipa> luke-jr: also an option, indeed
 114 2012-03-21 01:09:35 <andytoshi> :
 115 2012-03-21 01:09:47 <BlueMatt> is the % encoding crap url-standard or http-url-standard?
 116 2012-03-21 01:10:09 <BlueMatt> andytoshi: port?
 117 2012-03-21 01:10:15 <luke-jr> andytoshi: … : is in EVERY URL
 118 2012-03-21 01:10:22 <luke-jr> heck, every URI even
 119 2012-03-21 01:10:39 SomeoneWeirdzzz is now known as SomeoneWeird
 120 2012-03-21 01:10:54 <andytoshi> my bad, i read "typically occur" as "occurs often per URL"
 121 2012-03-21 01:11:04 <andytoshi> also forgot about ports :P
 122 2012-03-21 01:11:18 <sipa> ok, , and space seem to fail; try ¡
 123 2012-03-21 01:11:47 <luke-jr> sipa: for what?
 124 2012-03-21 01:12:09 <sipa> luke-jr: -c bitcoin=COMMIT¡URL
 125 2012-03-21 01:12:14 <sipa> in gbuild
 126 2012-03-21 01:12:24 <luke-jr> pfft
 127 2012-03-21 01:12:38 <luke-jr> can use comma
 128 2012-03-21 01:12:39 <sipa> wait, that's not a pipe?
 129 2012-03-21 01:12:41 <luke-jr> no
 130 2012-03-21 01:12:46 <luke-jr> and pipe has to be escaped…
 131 2012-03-21 01:12:46 <sipa> wtf?
 132 2012-03-21 01:13:49 FACEFOX has quit (Ping timeout: 252 seconds)
 133 2012-03-21 01:14:30 <gmaxwell> ‽
 134 2012-03-21 01:14:53 <luke-jr> τ
 135 2012-03-21 01:15:10 <sipa> ñịćė
 136 2012-03-21 01:15:40 <luke-jr> £¥$¢€B⃦
 137 2012-03-21 01:15:57 <Cory> Any reports of rc4 freezing on startup on Windows 7 x64?
 138 2012-03-21 01:16:08 <BlueMatt> yes
 139 2012-03-21 01:16:09 <luke-jr> yes
 140 2012-03-21 01:16:20 <Cory> Oh.
 141 2012-03-21 01:16:27 <Cory> Heh, seems to have just started today.
 142 2012-03-21 01:16:32 <luke-jr> Cory: you should fix it
 143 2012-03-21 01:16:33 <BlueMatt> https://github.com/bitcoin/bitcoin/issues/956
 144 2012-03-21 01:16:48 <BlueMatt> post there if the posted workaround fixes your issue as well, please
 145 2012-03-21 01:17:02 <luke-jr> save your .bitcoin first tho
 146 2012-03-21 01:18:28 Clipse has quit (Ping timeout: 276 seconds)
 147 2012-03-21 01:18:34 <DBordello> Cory, yes, on mine :)
 148 2012-03-21 01:19:34 <Cory> It was after a crash, yup. Will this be fixed for 0.6?
 149 2012-03-21 01:20:01 <BlueMatt> yea
 150 2012-03-21 01:20:11 <BlueMatt> wait crash on startup or freeze?
 151 2012-03-21 01:21:10 <gavinandresen> BlueMatt Cory : sequence of events is:  crash, then freeze at next startup?
 152 2012-03-21 01:21:33 <Cory> Yes.
 153 2012-03-21 01:21:48 <BlueMatt> mmm, well the crash is disturbing
 154 2012-03-21 01:21:51 <Cory> After Windows crashes, I meant.
 155 2012-03-21 01:21:57 <BlueMatt> freeze probably fixable, crash...
 156 2012-03-21 01:21:59 <DBordello> I also was experiencing the crash, then freeze on all subsequent startups
 157 2012-03-21 01:22:06 <gavinandresen> BlueMatt: that's the boost IPC doo-hickey for opening URI's not being cleaned up.... (I think?)
 158 2012-03-21 01:22:15 <Cory> DBordello: Exactly. Did you try the fix?
 159 2012-03-21 01:22:16 <BlueMatt> gavinandresen: apparently, yea
 160 2012-03-21 01:22:21 <DBordello> Cory, trying it now
 161 2012-03-21 01:22:47 <BlueMatt> gavinandresen: damn, and when I wrote that I thought it worked well...
 162 2012-03-21 01:22:51 <BlueMatt> it did on linux...
 163 2012-03-21 01:23:32 <BlueMatt> maybe someone knows of something better than boost::interprocess
 164 2012-03-21 01:23:47 <gavinandresen> Qt has equivalents, I believe
 165 2012-03-21 01:23:49 <luke-jr> probably a way to tell boost not to block?
 166 2012-03-21 01:24:28 <DBordello> it is only the gui that freezes.  The client continues to process blocks
 167 2012-03-21 01:25:09 <BlueMatt> luke-jr: in theory, the code (as written) should never block the main thread?
 168 2012-03-21 01:25:15 <luke-jr>  boost::interprocess::named_mutex::remove( "MutexName" );
 169 2012-03-21 01:25:23 <luke-jr> can we do that without having the mutex yet?
 170 2012-03-21 01:25:33 <luke-jr> BlueMatt: doesn't sound like it does… just the GUI
 171 2012-03-21 01:25:47 <BlueMatt> luke-jr: well, according to the docs written, it doesnt block
 172 2012-03-21 01:25:53 <BlueMatt> in reality, boost sucks (apparently)
 173 2012-03-21 01:26:23 <luke-jr> maybe, but if we can fix it with ::remove for 0.6, sounds the best solution…
 174 2012-03-21 01:26:45 <BlueMatt> you cant blindly remove, you can remove the message_queue out from under one which is already listening...
 175 2012-03-21 01:27:00 <BlueMatt> actually, we already do that...
 176 2012-03-21 01:27:09 <Cory> The workaround fixed it.
 177 2012-03-21 01:27:20 <luke-jr> what happens if you blindly remove?
 178 2012-03-21 01:27:25 <BlueMatt> it gets removed
 179 2012-03-21 01:27:29 <BlueMatt> we do, actually
 180 2012-03-21 01:27:32 <luke-jr> ok, that's what we want
 181 2012-03-21 01:27:34 <BlueMatt> maybe try it earlier in init
 182 2012-03-21 01:27:55 <sipa> you can't remove it before checking a process is still listening using it
 183 2012-03-21 01:27:56 <BlueMatt> can anyone with build capabilities reproduce the issue?
 184 2012-03-21 01:28:02 <BlueMatt> sipa: we already do...
 185 2012-03-21 01:28:14 <sipa> do remove or do check?
 186 2012-03-21 01:28:20 <BlueMatt> remove w/o check
 187 2012-03-21 01:28:23 <BlueMatt> remove + replace
 188 2012-03-21 01:28:33 <sipa> :o
 189 2012-03-21 01:28:46 <BlueMatt> ie newest running copy of bitcoin always gets the message_queue
 190 2012-03-21 01:29:03 Clipse has joined
 191 2012-03-21 01:29:09 <sipa> well, that's not a problem
 192 2012-03-21 01:29:14 <DBordello> that workaround fixed it for me.  Thank  you guys
 193 2012-03-21 01:29:19 t7 has quit (Quit: ChatZilla 0.9.88.1 [Firefox 11.0/20120312181643])
 194 2012-03-21 01:29:43 <luke-jr> why is it "BitcoinURL" when it's not a URL, btw?
 195 2012-03-21 01:30:00 <DBordello> I do not have build capability, but i can test
 196 2012-03-21 01:30:32 <sipa> DBordello: building 0.6.0rc4-15-g89516bd (the fast block download version)
 197 2012-03-21 01:30:53 <luke-jr> BlueMatt: it looks like we do create + delete + create…
 198 2012-03-21 01:30:59 <DBordello> sipa, fantastic
 199 2012-03-21 01:32:44 <luke-jr> BlueMatt: i presume the first create is the problem
 200 2012-03-21 01:33:02 <luke-jr> moreover, I don't see the first one ever deleted…
 201 2012-03-21 01:36:59 gavinandresen has quit (Quit: gavinandresen)
 202 2012-03-21 01:39:59 erle- has quit (Quit: erle-)
 203 2012-03-21 01:42:07 <BlueMatt> luke-jr: create shouldnt block either
 204 2012-03-21 01:42:17 <BlueMatt> luke-jr: could be try_send being the problem, no real way to know
 205 2012-03-21 01:44:30 andytoshi has quit (Remote host closed the connection)
 206 2012-03-21 01:44:57 andytoshi has joined
 207 2012-03-21 01:46:23 Cablesaurus has joined
 208 2012-03-21 01:46:23 Cablesaurus has quit (Changing host)
 209 2012-03-21 01:46:23 Cablesaurus has joined
 210 2012-03-21 01:52:52 ferroh has joined
 211 2012-03-21 01:55:43 wizkid057 has quit (Excess Flood)
 212 2012-03-21 01:56:15 wizkid057 has joined
 213 2012-03-21 01:56:15 wizkid057 has quit (Changing host)
 214 2012-03-21 01:56:15 wizkid057 has joined
 215 2012-03-21 01:58:46 andytoshi has quit (Ping timeout: 276 seconds)
 216 2012-03-21 01:59:02 machine2 has joined
 217 2012-03-21 01:59:16 andytoshi has joined
 218 2012-03-21 01:59:16 BitByBit has joined
 219 2012-03-21 02:01:07 <sipa> the gitian vm does not have some strange url filtering firewall, does it?
 220 2012-03-21 02:01:22 <luke-jr> yes
 221 2012-03-21 02:01:25 <sipa> it seems unable to fetch from https://github.com/sipa/bitcoin.git
 222 2012-03-21 02:01:30 <luke-jr> it uses NAT
 223 2012-03-21 02:01:40 FACEFOX has joined
 224 2012-03-21 02:01:41 <BlueMatt> the vm itself has no connection to the outside
 225 2012-03-21 02:01:51 <sipa> while https://github.com/bitcoin/bitcoin.git works fine
 226 2012-03-21 02:02:04 <sipa> error: RPC failed; result=7, HTTP code = 0
 227 2012-03-21 02:02:15 <sipa> in var/build.log
 228 2012-03-21 02:02:39 <luke-jr> BlueMatt: it has NAT
 229 2012-03-21 02:02:40 <BlueMatt> it clones the repo before running
 230 2012-03-21 02:02:51 <sipa> running the git clone command outside of the VM works fine
 231 2012-03-21 02:02:51 <luke-jr> no, the cloning is inside the VM
 232 2012-03-21 02:02:59 <BlueMatt> oh...
 233 2012-03-21 02:03:34 <luke-jr> doing the clone on the host is a good idea tho
 234 2012-03-21 02:03:49 <BlueMatt> why does it matter?
 235 2012-03-21 02:04:20 <luke-jr> BlueMatt: well, when I was keeping the source private for my 0.5.3.1 tag builds, I had to on-target and setup a ssh key to the host
 236 2012-03-21 02:04:31 <luke-jr> and it'd be better if the gitian VM *didn't* have network access
 237 2012-03-21 02:04:46 <sipa> i agree
 238 2012-03-21 02:04:49 <luke-jr> then you can probably safely build random crap without a care for what was in the source
 239 2012-03-21 02:05:50 <BlueMatt> mmm
 240 2012-03-21 02:07:29 <sipa> (*(!*&!#*&&*
 241 2012-03-21 02:07:47 <sipa> running that git clone command myself from an ssh inside the VM also works
 242 2012-03-21 02:07:57 <BlueMatt> heh fun
 243 2012-03-21 02:08:04 <BlueMatt> try calling with explicit path?
 244 2012-03-21 02:08:11 <sipa> what explicit path?
 245 2012-03-21 02:08:13 <BlueMatt> Ive seen that cause similarly odd problems
 246 2012-03-21 02:08:17 <BlueMatt> explicit path to git
 247 2012-03-21 02:08:22 <BlueMatt> /usr/bin/git or whatever instead of git
 248 2012-03-21 02:08:33 <sipa> heh
 249 2012-03-21 02:14:04 BitByBit has quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
 250 2012-03-21 02:15:49 FACEFOX has quit (Quit: http://www.facefox.com)
 251 2012-03-21 02:17:37 minimoose has joined
 252 2012-03-21 02:18:05 madcoweater has joined
 253 2012-03-21 02:21:52  has quit (Clown|!~clown@static-87-79-93-140.netcologne.de|)
 254 2012-03-21 02:23:24 machine2 has quit (Ping timeout: 248 seconds)
 255 2012-03-21 02:24:54 da2ce7 has joined
 256 2012-03-21 02:25:25 da2ce7 has quit (Ping timeout: 276 seconds)
 257 2012-03-21 02:26:10 da2ce7 is now known as 2!~da2ce7@gateway/tor-sasl/da2ce7|da2ce7
 258 2012-03-21 02:33:40 <gmaxwell> 4mb   03/20/12 23:19:43 -> 03/21/12 00:17:40 height=164946
 259 2012-03-21 02:33:40 <gmaxwell> 25mb  03/21/12 00:24:32 -> 03/21/12 01:04:04 height=164946
 260 2012-03-21 02:33:40 <gmaxwell> 100mb 03/21/12 01:10:04 -> 03/21/12 01:44:14 height=164946
 261 2012-03-21 02:35:53 usergff has quit (Quit: Leaving)
 262 2012-03-21 02:37:56 da2ce7 has quit (Remote host closed the connection)
 263 2012-03-21 02:39:59 <sipa> DBordello: http://bitcoin.sipa.be/builds/0.6.0rc4-15-g89516bd/
 264 2012-03-21 02:44:18 <BlueMatt> sipa: commit link? or the pull req?
 265 2012-03-21 02:44:41 <sipa> BlueMatt: #964
 266 2012-03-21 02:44:45 andytoshi has quit (Quit: WeeChat 0.3.5)
 267 2012-03-21 02:45:23 <BlueMatt> oh, you just have an extra g in front of the commit...
 268 2012-03-21 02:45:37 <sipa> yes, git describe does that
 269 2012-03-21 02:45:46 <sipa> the 'g' presumably stands for 'git'
 270 2012-03-21 02:45:53 <BlueMatt> mmm, fun
 271 2012-03-21 02:47:35 jagarol has joined
 272 2012-03-21 02:54:22 userhgh has joined
 273 2012-03-21 02:56:30 <egecko> so yesterday, i deleted a whole bunch of the files in the data directory, but i kept the wallet.dat file.  now when i query the server for the current wallet balance, it returns a balance of 0
 274 2012-03-21 02:56:46 <egecko> if i request the balance of an individual account, i get the proper value
 275 2012-03-21 02:57:22 <egecko> any ideas why that would be?
 276 2012-03-21 02:57:51 <sipa> egecko: did it catch up with the block chain again already?
 277 2012-03-21 02:58:03 <egecko> i dont know
 278 2012-03-21 02:58:10 <sipa> do getinfo
 279 2012-03-21 02:58:14 <sipa> look at blocks
 280 2012-03-21 02:58:18 <sipa> and compare with ,,bc,blocks
 281 2012-03-21 02:58:19 <gribble> 172122
 282 2012-03-21 02:58:42 <egecko> 137528
 283 2012-03-21 02:58:44 <egecko> ah
 284 2012-03-21 02:58:44 <egecko> ok
 285 2012-03-21 02:58:50 <egecko> so its just behind
 286 2012-03-21 02:58:58 <sipa> yes
 287 2012-03-21 02:59:30 Karmaon has quit (Read error: Connection reset by peer)
 288 2012-03-21 03:00:39 <egecko> alright, so for the record, blowing away the block chain on a small linux box is NOT a good idea
 289 2012-03-21 03:00:51 <egecko> it's been d/ling the block chain for over a day now
 290 2012-03-21 03:01:15 <SomeoneWeird> yep
 291 2012-03-21 03:01:17 <SomeoneWeird> does that
 292 2012-03-21 03:01:43 minimoose has quit (Quit: minimoose)
 293 2012-03-21 03:02:09 <sipa> egecko: i just benchmarked a complete load of the blockchain in 33 minutes on my laptop ;)
 294 2012-03-21 03:02:44 <BlueMatt> egecko: read up to the last link sipa posted, use one of those binaries...
 295 2012-03-21 03:02:52 <BlueMatt> and watch it fly (given you have enough ram to cache alot)
 296 2012-03-21 03:03:09 <gmaxwell> sipa: I wonder why your laptop seems to be faster than the desktop I was testing on.
 297 2012-03-21 03:03:17 <sipa> gmaxwell: p2p download overhead
 298 2012-03-21 03:03:49 <BlueMatt> yay cblockstore rebased for the millionth time...
 299 2012-03-21 03:03:50 <gmaxwell> I guess— seems odd though, it's not like its that much data. I can copy a gig over ssh in a tiny fraction of the time.
 300 2012-03-21 03:04:28 <sipa> gmaxwell: it's an i7 CPU by the way
 301 2012-03-21 03:04:53 <BlueMatt> sipa: i7 != a performance count, there have been what, 3 generations of i7 now?
 302 2012-03-21 03:05:22 <sipa> gmaxwell: it's an Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz CPU by the way
 303 2012-03-21 03:05:26 <gmaxwell> sipa: yea, I'm doing this testing on an somewhat older cpu..X3360  @ 2.83GHz  so thats prerhaps part of it.
 304 2012-03-21 03:05:27 <BlueMatt> there we go
 305 2012-03-21 03:09:20 Flargles_ has quit (Remote host closed the connection)
 306 2012-03-21 03:09:26 jagarol has quit (Read error: Connection reset by peer)
 307 2012-03-21 03:09:30 da2ce7 has joined
 308 2012-03-21 03:09:38 pingdrive has quit (Quit: Leaving)
 309 2012-03-21 03:09:47 <DBordello> sipa, firing up that client.  Any command line parameters I should try?
 310 2012-03-21 03:10:09 <sipa> DBordello: -dbcache=<number>
 311 2012-03-21 03:10:16 <sipa> with number something in megabytes
 312 2012-03-21 03:10:22 <DBordello> big? Small?
 313 2012-03-21 03:10:38 <sipa> default is 25, more than 100 is probably pointless
 314 2012-03-21 03:10:40 m00p has quit (Ping timeout: 246 seconds)
 315 2012-03-21 03:11:07 <DBordello> heh, it crashed
 316 2012-03-21 03:11:36 <DBordello> http://pastebin.com/19Ehet7J
 317 2012-03-21 03:12:29 <DBordello> Apparently it did not like my 2gb request
 318 2012-03-21 03:12:37 <sipa> try something small
 319 2012-03-21 03:12:39 <sipa> er
 320 2012-03-21 03:12:46 <DBordello> doing 25MB now
 321 2012-03-21 03:12:49 <BlueMatt> out of memory?
 322 2012-03-21 03:13:05 <sipa> DBordello: does that work?
 323 2012-03-21 03:13:09 <DBordello> bluefirecorp1, doubt it, I have 13 GB free
 324 2012-03-21 03:13:11 <DBordello> sipa, yes
 325 2012-03-21 03:13:18 <DBordello> BlueMatt, doubt it, 13 gb free
 326 2012-03-21 03:13:42 <BlueMatt> well then it shouldnt crash...
 327 2012-03-21 03:13:56 <sipa> DBordello: 13 GiB RAM free? wow
 328 2012-03-21 03:14:11 <gmaxwell> BlueMatt: 32bit binary, what do you expect?
 329 2012-03-21 03:14:27 <BlueMatt> ah, well that would do it...
 330 2012-03-21 03:14:29 finway has joined
 331 2012-03-21 03:14:32 <BlueMatt> sipa: you dont?
 332 2012-03-21 03:14:33 <DBordello> gmaxwell, I was worried about that, but I thought it wouldn't hit the limit until 4096MB...?
 333 2012-03-21 03:14:59 <BlueMatt> bdb isnt the only one using memory, its 2gb + ....
 334 2012-03-21 03:15:00 <finway> @Diapolo 's solution works.
 335 2012-03-21 03:15:09 <finway> by deleting files.
 336 2012-03-21 03:15:20 <BlueMatt> sipa: might want to cap max dbcache size to keep 32-biters from killing themselves...
 337 2012-03-21 03:16:34 <sipa> BlueMatt: "only" 8 GiB of RAM here
 338 2012-03-21 03:17:03 <DBordello> I recently upgraded from 8 GiB to 16 GiB last week.  It is amazing how cheap RAM is these days
 339 2012-03-21 03:17:04 bluefirecorp1 is now known as bluefirecorp
 340 2012-03-21 03:17:04 <BlueMatt> well, laptop ok...
 341 2012-03-21 03:17:07 <bluefirecorp> -.-
 342 2012-03-21 03:17:24 <BlueMatt> DBordello: hell yea, I wish I had more slots in my laptop...
 343 2012-03-21 03:17:53 <DBordello> BlueMatt, 16 GiB seems to be enough, for now :)
 344 2012-03-21 03:17:56 * BlueMatt usually runs with swap, vm + make -j8 on bitcoin sometimes kills virtualbox...
 345 2012-03-21 03:18:01 <BlueMatt> s/with/without/
 346 2012-03-21 03:18:17 stalled has joined
 347 2012-03-21 03:18:22 <BlueMatt> DBordello: I miss my desktop, though I thats mostly the fact that it has a real graphics card....
 348 2012-03-21 03:18:46 <DBordello> sipa, 7 minutes, 120k blocks
 349 2012-03-21 03:18:50 * DBordello hopes to do it in 10
 350 2012-03-21 03:19:04 <BlueMatt> na, it slows down pretty much exponentially once you get into tx-heavy blocks
 351 2012-03-21 03:19:13 <DBordello> I kind of figured
 352 2012-03-21 03:19:22 <BlueMatt> still, thats hella fast
 353 2012-03-21 03:19:23 <DBordello> It isn't using much Memory or CPU.
 354 2012-03-21 03:19:25 finway has quit (Ping timeout: 245 seconds)
 355 2012-03-21 03:19:38 <DBordello> 6% CPU, under 40 MB RAm
 356 2012-03-21 03:20:36 dvide has quit ()
 357 2012-03-21 03:21:18 Flarg_ has joined
 358 2012-03-21 03:21:49 Cablesaurus has quit (Quit: It's a dud! It's a dud! It's a du...)
 359 2012-03-21 03:22:23 <sipa> DBordello: 10 minutes for 147k blocks here
 360 2012-03-21 03:22:36 <DBordello> 11 minutes, 131k
 361 2012-03-21 03:22:39 <sipa> (i am cheating, loading from a local file)
 362 2012-03-21 03:22:41 <DBordello> damn, you are beating me
 363 2012-03-21 03:22:43 TheSeven has quit (Disconnected by services)
 364 2012-03-21 03:22:52 [7] has joined
 365 2012-03-21 03:23:11 <BlueMatt> heh, I can beat both of you (though I suppose tmpfs qualifies as cheating...)
 366 2012-03-21 03:23:14 <DBordello> i am sort of cheating, I am using another node on the nother machine
 367 2012-03-21 03:23:21 <DBordello> BlueMatt, ramdisk?
 368 2012-03-21 03:23:31 * BlueMatt has ~/.bitcoin permanently mounted as tmpfs
 369 2012-03-21 03:23:33 <sipa> tmpfs == ramdisk
 370 2012-03-21 03:23:33 <BlueMatt> yea, ramdisk
 371 2012-03-21 03:23:49 <sipa> BlueMatt: hmm, about using a large cache and using tmpfs?
 372 2012-03-21 03:23:52 <gmaxwell> I wonder how much faster tmpfs will be with these changes.
 373 2012-03-21 03:23:56 <gmaxwell> jinx
 374 2012-03-21 03:24:04 <sipa> and loading from a local block file also in tmpfs
 375 2012-03-21 03:24:11 <DBordello> heh
 376 2012-03-21 03:24:29 <BlueMatt> would be fun to test, though Im kinda busy atm...
 377 2012-03-21 03:25:03 <gmaxwell> sipa: if you ran away from the computer really fast you might get some relativistic time dilation to improve the numbers.
 378 2012-03-21 03:26:37 <BlueMatt> might have to hire usain bolt to pull that one off
 379 2012-03-21 03:27:16 <DBordello> if I could easily do a ram disk in Windows, I would
 380 2012-03-21 03:27:38 <BlueMatt> thats why I dont use windows ;)
 381 2012-03-21 03:27:48 <DBordello> that is the reason?
 382 2012-03-21 03:27:51 <sipa> DBordello: i believe you can do so using the dos command randrive
 383 2012-03-21 03:27:53 <sipa> ramdrive
 384 2012-03-21 03:28:05 <sipa> at least, that was the case in windows 3.1
 385 2012-03-21 03:28:24 <DBordello> lol
 386 2012-03-21 03:28:34 <sipa> things *may* have changed since then, but probably not a lot
 387 2012-03-21 03:28:59 <BlueMatt> heh, wtf google shows nothing that is nearly that easy
 388 2012-03-21 03:29:08 <DBordello> BlueMatt, yeah, I agree :)
 389 2012-03-21 03:29:09 <DBordello> oh well
 390 2012-03-21 03:29:10 <BlueMatt> microsoft has gotten /worse/ since windows 3.1...
 391 2012-03-21 03:29:20 <BlueMatt> wow, that takes skill
 392 2012-03-21 03:29:24 <DBordello> 150k, 18 minutes
 393 2012-03-21 03:29:46 <luke-jr> the closer the version is to pi, the better the software\
 394 2012-03-21 03:29:48 <luke-jr> fyi
 395 2012-03-21 03:30:26 <sipa> BlueMatt: relativistic time dilatation factor at 10 m/s is around 1.0000000000000005, by the way
 396 2012-03-21 03:30:42 <BlueMatt> sipa: I know, thats something though, right?
 397 2012-03-21 03:30:50 <sipa> should be measurable
 398 2012-03-21 03:30:51 <BlueMatt> luke-jr: so the next version of bitcoin should be 3.14?
 399 2012-03-21 03:30:54 <DBordello> luke-jr, price is right rules?
 400 2012-03-21 03:30:56 <BlueMatt> sipa: uh...
 401 2012-03-21 03:31:15 <luke-jr> BlueMatt: no
 402 2012-03-21 03:31:37 <sipa> BlueMatt: 17 microseconds per millenium
 403 2012-03-21 03:32:00 <sipa> = measurable :p
 404 2012-03-21 03:32:06 <BlueMatt> sipa: ahh, yea thats easyil measurable...
 405 2012-03-21 03:32:20 <sipa> actually, not so much
 406 2012-03-21 03:33:43 <BlueMatt> heh
 407 2012-03-21 03:34:02 <luke-jr> any of you guys interested in a mining effort? #bitcoin-fpga-share
 408 2012-03-21 03:37:31 <DBordello> Bitcoin: Warning: Disk space is low
 409 2012-03-21 03:37:33 <DBordello> damn it
 410 2012-03-21 03:38:21 <BlueMatt> god cblockstore-based backtraces are ugly as hell functions calls 10 lines long...
 411 2012-03-21 03:38:28 <BlueMatt> boost::signals2::.....................................................
 412 2012-03-21 03:41:11 m00p has joined
 413 2012-03-21 03:47:31 <gmaxwell> sipa: figure out the cause of that lockup?
 414 2012-03-21 03:47:38 <sipa> no
 415 2012-03-21 03:47:57 <sipa> maybe i was just impatient, and it was processing the log
 416 2012-03-21 03:48:15 madcoweater has left ()
 417 2012-03-21 03:50:12 bluefirecorp has quit (Read error: Connection reset by peer)
 418 2012-03-21 03:50:17 bluefirecorp1 has joined
 419 2012-03-21 03:51:11 <ferroh> hmm
 420 2012-03-21 03:51:13 <ferroh> "sni-qt/11716" WARN  23:49:59.799 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
 421 2012-03-21 03:51:19 <ferroh> bitcoin-qt just spit that out in the console
 422 2012-03-21 03:51:43 <ferroh> my blockchain appears to not be downloading as well.
 423 2012-03-21 03:52:48 <ferroh> 0.6.0.4-beta
 424 2012-03-21 03:53:16 <sipa> define "not so well"
 425 2012-03-21 03:53:58 Slix` has joined
 426 2012-03-21 03:53:58 <ferroh> hmm stuck at block 170059, apparently thats fixed in rc2
 427 2012-03-21 03:54:09 <ferroh> isn't 0.6.0.4 later than rc2 though?
 428 2012-03-21 03:54:25 <sipa> 0.6.0.4 == 0.6.0rc4
 429 2012-03-21 03:54:33 <ferroh> yeah exactly
 430 2012-03-21 03:54:37 <ferroh> so the issue is not solved :/
 431 2012-03-21 03:54:53 <sipa> you're now using 0.6.0rc4 and still stuck at 170059?
 432 2012-03-21 03:54:57 <ferroh> correct.
 433 2012-03-21 03:55:06 <sipa> :(
 434 2012-03-21 03:55:10 <ferroh> the only console error I see is the one i posted above
 435 2012-03-21 03:55:19 <sipa> and debug.log?
 436 2012-03-21 03:56:00 <gmaxwell> ferroh: how long has your 0.6.0rc4 been up?
 437 2012-03-21 03:56:09 <ferroh> 5 minutes or so
 438 2012-03-21 03:56:10 <gmaxwell> ferroh: long enough for the network to have advanced at least one block?
 439 2012-03-21 03:56:13 <gmaxwell> ah!
 440 2012-03-21 03:56:22 <ferroh> yeah i'll give it a minute
 441 2012-03-21 03:56:50 <ferroh> it was sitting open for hours with rc1, i didnt realize it was an issue fixed in rc2 until just a minute ago
 442 2012-03-21 03:57:16 <BlueMatt> I hope you arent on windows...
 443 2012-03-21 03:57:22 <ferroh> i'm not
 444 2012-03-21 03:59:03 <sipa> ;;bc,tslb
 445 2012-03-21 03:59:04 <gribble> Time since last block: 29 minutes and 40 seconds
 446 2012-03-21 03:59:13 <ferroh> any minute now
 447 2012-03-21 03:59:17 <BlueMatt> wait, seriously, wtf??? we rely on the remote node to be sane for us to continue downloading blocks beyond the first set...
 448 2012-03-21 03:59:30 <BlueMatt> a malicious first-to-connect-to node and you wont download anything...
 449 2012-03-21 03:59:42 <gmaxwell> BlueMatt: you'll pull when you hear about a new block.
 450 2012-03-21 04:00:05 <gmaxwell> every new block you hear about will cause you to make an effort to connect the chain.
 451 2012-03-21 04:00:07 <BlueMatt> still, relying on remote inv to continue...
 452 2012-03-21 04:00:49 <ferroh> it doesn't seem a like a security issue, just a small convenience issue?
 453 2012-03-21 04:01:07 <BlueMatt> no, as gmaxwell points out you will figure it out if you are connected to other sane nodes, but still...
 454 2012-03-21 04:01:19 <BlueMatt> well unless the node you connect to first is the one who first sends the inv...
 455 2012-03-21 04:01:39 <BlueMatt> in which case you still wont download beyond the first set...
 456 2012-03-21 04:01:47 <BlueMatt> and the remote node can limit the size of that set to whatever they want
 457 2012-03-21 04:02:51 <gmaxwell> BlueMatt: yes, but when there is a new block you'll hear about it from any peer that isn't psycho, and you'll pull.
 458 2012-03-21 04:03:15 <BlueMatt> s/any/every (including the psycho one, if they are smart)/
 459 2012-03-21 04:03:18 <BlueMatt> then its a race
 460 2012-03-21 04:03:28 <BlueMatt> so, yea not a huge deal, but kinda stupid
 461 2012-03-21 04:05:23 <ferroh> ;;bc,tslb
 462 2012-03-21 04:05:24 <gribble> Time since last block: 3 minutes and 48 seconds
 463 2012-03-21 04:05:46 <ferroh> still stuck on 170059 so far :/
 464 2012-03-21 04:06:35 <sipa> ferroh: anything in debug.log?
 465 2012-03-21 04:06:40 <ferroh> yes
 466 2012-03-21 04:06:41 <sipa> look for the word REORGANIZE
 467 2012-03-21 04:06:47 <ferroh> i am pastebinning in a sec
 468 2012-03-21 04:06:57 <ferroh> i dont see that keyword, sec
 469 2012-03-21 04:07:09 <ferroh> nope grep shows nothing about REORGANIZE
 470 2012-03-21 04:07:32 <ferroh> a lot of this crap though:
 471 2012-03-21 04:07:33 <ferroh> ERROR: FetchInputs() : 103c5be6eb mapTransactions prev not found 9f9d89a9fb
 472 2012-03-21 04:07:33 <ferroh> ERROR: AcceptToMemoryPool() : FetchInputs failed 103c5be6eb
 473 2012-03-21 04:07:43 <BlueMatt> thats understandable
 474 2012-03-21 04:07:51 <BlueMatt> happens whenever your chain is out-of-date
 475 2012-03-21 04:08:03 <nanotube> hey, did anyone ever get his hands on that proposal by whatsisname for a new opcode that would increase anonymity?
 476 2012-03-21 04:08:23 <BlueMatt> he posted the paper he wrote to bitcoin-development
 477 2012-03-21 04:08:41 <BlueMatt> http://wbl.github.com/bitcoinanon.pdf
 478 2012-03-21 04:08:43 <nanotube> oh? last i recall he said he'd let people look at it 'privately'... didn't notice a public posting
 479 2012-03-21 04:08:47 <nanotube> ah ok
 480 2012-03-21 04:08:59 <nanotube> so... is it workable? anything good in there, BlueMatt ? :)
 481 2012-03-21 04:09:06 * luke-jr couldn't follow it
 482 2012-03-21 04:09:18 <ferroh> here is some of my debug.log:
 483 2012-03-21 04:09:18 <ferroh> http://pastebin.com/W0rM3YR8
 484 2012-03-21 04:09:32 <BlueMatt> I only briefly read through it, looked like it was just send a bunch of equally-valued txouts to a bunch of random people without knowing which one is which
 485 2012-03-21 04:09:33 <ferroh> that is the tail
 486 2012-03-21 04:10:10 <BlueMatt> which is an interesting concept, but not exactly "anonymous"
 487 2012-03-21 04:10:12 <gmaxwell> BlueMatt: yea, thats all I could get out of it.. which seemed basically worthless. I decided that I needed to try again when I wasn't tired.
 488 2012-03-21 04:10:45 <BlueMatt> same here
 489 2012-03-21 04:10:53 <BlueMatt> or maybe I was in class at the time or smth, whatever
 490 2012-03-21 04:10:54 <sipa> ferroh: it's possible you're stuck because of a known problem, which i wrote a fix for that is untested however
 491 2012-03-21 04:11:15 <sipa> ferroh: can you build from source, or do you want a binary to test it?
 492 2012-03-21 04:11:18 <BlueMatt> sipa: that fix was post-rc4 right?
 493 2012-03-21 04:11:23 <sipa> BlueMatt: indeed
 494 2012-03-21 04:11:23 <ferroh> I built from source a moment ago sipa.
 495 2012-03-21 04:11:36 <nanotube> mm heh i see.
 496 2012-03-21 04:11:40 <sipa> ferroh: ok, can you build my "unstuck" branch?
 497 2012-03-21 04:11:48 <ferroh> link
 498 2012-03-21 04:12:01 <sipa> https://github.com/sipa/bitcoin/tree/unstuck
 499 2012-03-21 04:12:52 <ferroh> fatal: https://github.com/sipa/bitcoin/tree/unstuck/info/refs not found
 500 2012-03-21 04:13:13 <sipa> ferroh: haha
 501 2012-03-21 04:13:16 <BlueMatt> https://github.com/sipa/bitcoin.git grab branch unstuck
 502 2012-03-21 04:13:28 <sipa> git clone git://github.com/sipa/bitcoin.git
 503 2012-03-21 04:13:33 <sipa> git checkout unstuck
 504 2012-03-21 04:13:46 <ferroh> oh,
 505 2012-03-21 04:13:48 <ferroh> lol indeed
 506 2012-03-21 04:14:14 <ferroh> fatal: Not a git repository (or any parent up to mount parent )
 507 2012-03-21 04:14:14 <ferroh> Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
 508 2012-03-21 04:14:28 <sipa> cd bitcoin in between
 509 2012-03-21 04:15:07 <DBordello> Its about time I read the original bitcoin paper, I think I will do that now
 510 2012-03-21 04:15:22 <ferroh> Branch unstuck set up to track remote branch unstuck from origin.
 511 2012-03-21 04:15:22 <ferroh> Switched to a new branch 'unstuck'
 512 2012-03-21 04:15:29 <ferroh> sorry, i'm not that familiar with git
 513 2012-03-21 04:15:37 <sipa> ok, looks good
 514 2012-03-21 04:15:38 <sipa> cd src
 515 2012-03-21 04:15:40 <ferroh> so i switched to the new branch
 516 2012-03-21 04:15:40 <ferroh> oh
 517 2012-03-21 04:15:42 <ferroh> ok
 518 2012-03-21 04:15:47 <sipa> make -f makefile.unix -j5
 519 2012-03-21 04:16:04 <ferroh> whats the j5 for?
 520 2012-03-21 04:16:06 <sipa> actually, don't use -j5 unless you have a quadcore and enough ram
 521 2012-03-21 04:16:18 <sipa> 5 compiles simultaneously
 522 2012-03-21 04:16:21 <Diablo-D3> use -j cores + 1
 523 2012-03-21 04:16:31 <Diablo-D3> unless you're on CFS
 524 2012-03-21 04:16:33 <Diablo-D3> then cores * 2 + 1
 525 2012-03-21 04:16:49 <Diablo-D3> and if you didnt specifically patch your kernel with BFS, you're using CFS
 526 2012-03-21 04:16:54 <Diablo-D3> because Linus is a fag who hates you
 527 2012-03-21 04:19:15 bitfoo has joined
 528 2012-03-21 04:20:50 <ferroh> so now we wait for a new block
 529 2012-03-21 04:20:53 <ferroh> ;;bc,tslb
 530 2012-03-21 04:20:54 <gribble> Time since last block: 1 minute and 48 seconds
 531 2012-03-21 04:22:23 <sipa> ferroh: you shouldn't have to wait
 532 2012-03-21 04:22:41 <ferroh> well
 533 2012-03-21 04:22:48 <ferroh> its still at 170059
 534 2012-03-21 04:22:50 <sipa> ok
 535 2012-03-21 04:23:08 <sipa> and you are connected?
 536 2012-03-21 04:23:28 <DBordello> Hmm, the original satoshi paper isn't all that great, eh?
 537 2012-03-21 04:24:14 <sipa> DBordello: not sure; what did you expect?
 538 2012-03-21 04:24:23 <ferroh> sipa yes
 539 2012-03-21 04:24:42 <DBordello> sipa, something more rigurous
 540 2012-03-21 04:24:49 eoss has quit (Quit: Leaving)
 541 2012-03-21 04:24:55 <DBordello> rigorous*
 542 2012-03-21 04:25:06 <DBordello> but I guess it is a good introduction, to go along with the client
 543 2012-03-21 04:26:13 <ferroh> ;;bc,tslb
 544 2012-03-21 04:26:14 <gribble> Time since last block: 4 minutes and 32 seconds
 545 2012-03-21 04:26:33 forsetifox has joined
 546 2012-03-21 04:27:41 <sipa> ferroh: can you put a large piece of debug.log online somewhere?
 547 2012-03-21 04:27:48 <ferroh> yes
 548 2012-03-21 04:28:33 <ferroh> some of it will be from previous versions
 549 2012-03-21 04:28:43 <ferroh> do you want me to clear it and restart the client
 550 2012-03-21 04:28:48 <ferroh> or do you want all of the log anyway?
 551 2012-03-21 04:28:48 <sipa> nah
 552 2012-03-21 04:28:54 <ferroh> ok one sec
 553 2012-03-21 04:29:13 <sipa> i don't care about getting too much, as long as it is not a problem for you to upload it
 554 2012-03-21 04:29:28 <ferroh> no problem
 555 2012-03-21 04:30:46 Raccoon has quit ()
 556 2012-03-21 04:31:12 <ferroh> check your PM
 557 2012-03-21 04:32:14 <ferroh> i guess having 50k+ addresses might cause a corner case somehow
 558 2012-03-21 04:32:51 Slix` has quit (Remote host closed the connection)
 559 2012-03-21 04:33:12 gwillen has quit (Ping timeout: 265 seconds)
 560 2012-03-21 04:33:56 gwillen has joined
 561 2012-03-21 04:33:56 gwillen has quit (Changing host)
 562 2012-03-21 04:33:56 gwillen has joined
 563 2012-03-21 04:34:28 andytoshi has joined
 564 2012-03-21 04:34:51 <sipa> ;;bc,tslb
 565 2012-03-21 04:34:51 <gribble> Time since last block: 13 minutes and 9 seconds
 566 2012-03-21 04:38:49 <BlueMatt> hmmm...what do you guys think of making return DoS a callback to allow for blocks to be processed partially after being received (ie CheckBlock in ProcessMessage, but AcceptBlock in callbacks thread)
 567 2012-03-21 04:39:14 <BlueMatt> seems kinda ugly but it would work out pretty well, I guess
 568 2012-03-21 04:40:01 <sipa> BlueMatt: not sure what you mean
 569 2012-03-21 04:40:24 userhgh has quit (Quit: Leaving)
 570 2012-03-21 04:40:33 <BlueMatt> in AcceptBlock/CheckBlock/etc you can return DoS(...) to say that the node that gave us this block is DoSing us
 571 2012-03-21 04:40:43 <BlueMatt> but you have to set that before returning to ProcessMessage
 572 2012-03-21 04:41:30 <BlueMatt> but if I want to run AcceptBlock outside of ProcessMessage (ie split block acceptance into two threads in parallel), you have to have a way to retroactively call DoS on a node
 573 2012-03-21 04:41:41 <BlueMatt> simplest way: add a set of DoS callbacks to CBlock
 574 2012-03-21 04:42:29 <sipa> ;;bc,tslb
 575 2012-03-21 04:42:30 <gribble> Time since last block: 2 minutes and 15 seconds
 576 2012-03-21 04:42:38 <sipa> ferroh: any progress?
 577 2012-03-21 04:42:41 <ferroh> no
 578 2012-03-21 04:42:47 <sipa> grrr
 579 2012-03-21 04:42:49 <sipa> i don't get it
 580 2012-03-21 04:42:51 <ferroh> indeed
 581 2012-03-21 04:44:02 sytse has quit (Ping timeout: 245 seconds)
 582 2012-03-21 04:48:27 <ferroh> is it worth trying to re download the chain?
 583 2012-03-21 04:48:54 <luke-jr> ferroh: that would likely work, but I think sipa is trying to fix it so Bitcoin-Qt recovers on its own
 584 2012-03-21 04:49:02 <ferroh> indeed
 585 2012-03-21 04:49:24 ThomasV has joined
 586 2012-03-21 04:49:50 <ferroh> do you mind if I redownload the chain sipa? or shall i leave this as is for further testing
 587 2012-03-21 04:51:50 <luke-jr> maybe can zip it up first at least
 588 2012-03-21 04:51:59 <ferroh> yes, i have a copy of it
 589 2012-03-21 04:52:04 <sipa> you're sure you're running my branch now?
 590 2012-03-21 04:52:11 <ferroh> yes.
 591 2012-03-21 04:52:53 <ferroh> well
 592 2012-03-21 04:53:09 <ferroh> how can i verify
 593 2012-03-21 04:53:35 <ferroh> I compiled immediately after I got the response:
 594 2012-03-21 04:53:36 <ferroh> ferroh> Branch unstuck set up to track remote branch unstuck from origin.
 595 2012-03-21 04:53:36 <ferroh> <ferroh> Switched to a new branch 'unstuck'
 596 2012-03-21 04:56:31 <sipa> and then cd'ed to src, and built there?
 597 2012-03-21 04:56:36 bluefirecorp1 has quit (Read error: Connection reset by peer)
 598 2012-03-21 04:56:43 <sipa> and then started the bitcoind there?
 599 2012-03-21 04:56:49 <ferroh> yes.
 600 2012-03-21 04:56:59 <ferroh> i will double check anyway
 601 2012-03-21 04:58:00 <ferroh> well, i can clearly see from that terminal history that it is the right one
 602 2012-03-21 04:58:04 Someguy123 has quit (Excess Flood)
 603 2012-03-21 04:58:12 <sipa> yes, no reason to assume otherwise
 604 2012-03-21 04:58:38 <ferroh> ok I have to go to sleep sadly
 605 2012-03-21 04:58:58 <ferroh> if you leave me a PM I will get back to you as soon as i can
 606 2012-03-21 04:59:12 ferroh is now known as ferroh|sleep
 607 2012-03-21 04:59:18 <sipa> ok, thanks
 608 2012-03-21 05:00:26 <sipa> ferroh|sleep: can you run with -debug, and wait for another block, and then send me the debug.log ?
 609 2012-03-21 05:00:47 Someguy123 has joined
 610 2012-03-21 05:24:33 pebbles has quit (Ping timeout: 246 seconds)
 611 2012-03-21 05:26:47 jagarol has joined
 612 2012-03-21 05:33:27 dissipate has joined
 613 2012-03-21 05:33:31 dissipate has quit (Changing host)
 614 2012-03-21 05:33:31 dissipate has joined
 615 2012-03-21 05:37:50 Karmaon has joined
 616 2012-03-21 05:38:10 <egecko> whats our current block?
 617 2012-03-21 05:38:15 <BlueMatt> ;;bc,blocks
 618 2012-03-21 05:38:24 <gribble> 172137
 619 2012-03-21 05:38:29 <BlueMatt> wow, lag much
 620 2012-03-21 05:38:29 <egecko> tnx
 621 2012-03-21 05:38:44 <egecko> man.. 30k more blocks to retrieve
 622 2012-03-21 05:39:57 <egecko> this thing is slooooooow.... 5000 blocks/hour approximately
 623 2012-03-21 05:40:23 jagarol has quit (Ping timeout: 245 seconds)
 624 2012-03-21 05:40:55 <BlueMatt> have you tried sipa's new cache setting stuff?
 625 2012-03-21 05:41:29 <neofutur> egecko: like everyone you need a light client and a trusted blockchain provider
 626 2012-03-21 05:41:51 <neofutur> but it seems the way bitcoind is made make it real difficult to use a readonly blockchain
 627 2012-03-21 05:42:05 <BlueMatt> oooo, I have chain dl getting ~120% cpu, running in 2 threads...
 628 2012-03-21 05:42:06 <neofutur> http://bitcoin.stackexchange.com/questions/3199/read-only-blockchain-in-bitcoind-patch-ideas
 629 2012-03-21 05:42:15 <BlueMatt> and probably much more on spinning drive
 630 2012-03-21 05:42:37 <neofutur> bitcoin if dor rich guys having big diskspace and bandwidth
 631 2012-03-21 05:42:51 <BlueMatt> bitcoin uses virtuall no bw
 632 2012-03-21 05:42:56 <BlueMatt> virtually*
 633 2012-03-21 05:43:01 <BlueMatt> and like 1g of disk
 634 2012-03-21 05:43:08 <BlueMatt> if you dont have 1g free disk space...
 635 2012-03-21 05:43:08 <neofutur> the initial blockchain download is heavy
 636 2012-03-21 05:43:16 <neofutur> nearly 2 gb now BlueMatt
 637 2012-03-21 05:43:30 <BlueMatt> oh, sorry, still you cant bug a flash drive with <2g
 638 2012-03-21 05:43:40 <neofutur> and recently hundreds of thousands of eeepc been sold
 639 2012-03-21 05:43:48 <neofutur> those have 4 gb diskspace
 640 2012-03-21 05:44:11 DBordello has quit (Ping timeout: 252 seconds)
 641 2012-03-21 05:44:20 <neofutur>  ls -alh .bitcoin/blk*
 642 2012-03-21 05:44:20 <neofutur> -rw------- 1 neofutur neofutur 1.1G 2012-03-21 00:36 .bitcoin/blk0001.dat
 643 2012-03-21 05:44:20 <neofutur> -rw------- 1 neofutur neofutur 401M 2012-03-21 00:36 .bitcoin/blkindex.dat
 644 2012-03-21 05:44:24 <neofutur> 1.5 GB already
 645 2012-03-21 05:44:40 <neofutur> I wanted to be my own blockchain provider
 646 2012-03-21 05:44:53 <neofutur> sharing one blockchain via sshfs for all my clients
 647 2012-03-21 05:45:28 <neofutur> had a look at bitcoind code ( https://github.com/neofutur/bitcoin its ugly but just investigating )
 648 2012-03-21 05:45:40 <neofutur> seems nearly impossible to use a readonly blockchain
 649 2012-03-21 05:46:20 <neofutur> BlueMatt: I have 2 GB diskspace on some of my computers, not on all
 650 2012-03-21 05:46:41 <neofutur> not on the eeepc, not on my phone, not on an old laptop . . .
 651 2012-03-21 05:46:56 <neofutur> I have 2 GB diskspace but 2 GB on 10 different computers . . . nop
 652 2012-03-21 05:46:57 <Diablo-D3> well, thats sorta how it works.
 653 2012-03-21 05:46:58 <Diablo-D3> and no
 654 2012-03-21 05:47:00 <BlueMatt> nearly impossible to have readonly chain? see cblockstore->HasFullBlocks
 655 2012-03-21 05:47:00 <Diablo-D3> you wouldnt want to use sshfs
 656 2012-03-21 05:47:11 <neofutur> sshfs or other way
 657 2012-03-21 05:47:11 <Diablo-D3> you'd want to have a daemon that is a read only blockchain provider
 658 2012-03-21 05:47:17 <neofutur> sshfs works _very_ well
 659 2012-03-21 05:47:19 <Diablo-D3> that bitcoin knows how to talk to
 660 2012-03-21 05:47:34 <BlueMatt> I put minimal effort in and just added some assert(pblockstore->HasFullBlocks()) in read functions and got it to run...
 661 2012-03-21 05:47:42 <BlueMatt> needs work but it works
 662 2012-03-21 05:47:42 <neofutur> and for many things, i just nead a bitcoind able to use a read only blockchain
 663 2012-03-21 05:48:36 <neofutur> I thought it could be easy to modify bitcoind for this but . . .
 664 2012-03-21 05:49:02 <neofutur> and no i dont want to use the java client
 665 2012-03-21 05:49:54 <BlueMatt> awww, bitcoinj is awesome
 666 2012-03-21 05:50:09 <BlueMatt> mmm, Im gonna have to benchmark this shit, its running quick as hell, or looks to be anyway
 667 2012-03-21 05:50:15 <BlueMatt> anyway, that is for tomorrow, gnight all
 668 2012-03-21 05:53:17 DBordello has joined
 669 2012-03-21 05:53:31 DBordello has quit (Changing host)
 670 2012-03-21 05:53:31 DBordello has joined
 671 2012-03-21 06:04:55 ahihi2 has quit (Ping timeout: 244 seconds)
 672 2012-03-21 06:13:18 ahihi2 has joined
 673 2012-03-21 06:16:11 m00p has quit (Quit: Leaving)
 674 2012-03-21 06:17:01 MartianW has joined
 675 2012-03-21 06:17:01 MartianW has quit (Changing host)
 676 2012-03-21 06:17:01 MartianW has joined
 677 2012-03-21 06:17:29 MartianW has left ()
 678 2012-03-21 06:19:23 larsivi has quit (Ping timeout: 252 seconds)
 679 2012-03-21 06:21:33 RazielZ has joined
 680 2012-03-21 06:27:11 barmstrong has quit (Remote host closed the connection)
 681 2012-03-21 06:27:44 barmstrong has joined
 682 2012-03-21 06:49:15 DBordello has quit (Ping timeout: 246 seconds)
 683 2012-03-21 06:50:02 <mod6> This was kinda exciting:
 684 2012-03-21 06:50:02 <mod6> [23:48:41 mod6@fbsd9vm:/home/mod6]% ./bitcoind getinfo
 685 2012-03-21 06:50:02 <mod6> { "version" : 60004,
 686 2012-03-21 06:50:28 <luke-jr> …
 687 2012-03-21 06:50:34 <mod6> Had to tweek the makefile a bit tho.
 688 2012-03-21 06:51:24 <mod6> glad to have it running on fbsd :)
 689 2012-03-21 06:52:18 <luke-jr> now someone just needs to clean up those tweaks so we can merge it to mainline … :p
 690 2012-03-21 06:52:39 <mod6> is that something I should put some effort into? it wasn't that many.
 691 2012-03-21 06:52:53 ThomasV has quit (Ping timeout: 272 seconds)
 692 2012-03-21 06:53:18 <luke-jr> mod6: well, it needs to be done in a way that doesn't break Linux etc
 693 2012-03-21 06:54:31 <mod6> Yeah, I was thinking if anything I could provide a patch in addition to one guy who had a patch for NetBSD to makefile.unix.
 694 2012-03-21 06:55:05 <mod6> he added like one flag to compile, but I have no clue how he got it to work with out removing "-ldl"
 695 2012-03-21 06:55:25 <mod6> *shrug*
 696 2012-03-21 06:55:27 <mod6> anyway :D
 697 2012-03-21 06:56:17 gjs278 has quit (Ping timeout: 252 seconds)
 698 2012-03-21 07:05:38 ThomasV has joined
 699 2012-03-21 07:05:45 splatster has quit (Quit: Look over there! →→→→)
 700 2012-03-21 07:12:02 ThomasV has quit (Ping timeout: 255 seconds)
 701 2012-03-21 07:14:15 Nesetalis has quit (Read error: Connection reset by peer)
 702 2012-03-21 07:14:32 Nesetalis has joined
 703 2012-03-21 07:15:14 tomoj has quit (Quit: ERC Version 5.3 (IRC client for Emacs))
 704 2012-03-21 07:16:25 h4ckm3_ is now known as h4ckm3
 705 2012-03-21 07:23:07 da2ce7 has quit (Ping timeout: 276 seconds)
 706 2012-03-21 07:33:43 dissipate has quit (Ping timeout: 245 seconds)
 707 2012-03-21 07:36:25 sytse has joined
 708 2012-03-21 07:39:05 larsivi has joined
 709 2012-03-21 07:49:36 gjs278 has joined
 710 2012-03-21 07:58:39 <gribble> New news from bitcoinrss: fanquake opened pull request 967 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/967>
 711 2012-03-21 08:01:55 DBordello has joined
 712 2012-03-21 08:01:55 DBordello has quit (Changing host)
 713 2012-03-21 08:01:55 DBordello has joined
 714 2012-03-21 08:03:45 <mod6> is 'sendmany' new?! Wondering why I didn't see this before...
 715 2012-03-21 08:04:10 <luke-jr> mod6: not that new
 716 2012-03-21 08:04:40 <luke-jr> if anyone trustworthy is interested, I have the mystery 1-txn miner's IP
 717 2012-03-21 08:04:47 <luke-jr> only port open is 8333
 718 2012-03-21 08:05:11 <[Tycho]> Why do you think it's not just a relay ?
 719 2012-03-21 08:05:34 <luke-jr> because blockchain.info has never seen the IP before
 720 2012-03-21 08:05:51 <[Tycho]> Show it to us.
 721 2012-03-21 08:06:12 <luke-jr> [Tycho]: PM'd since I'm sure you can find it yourself
 722 2012-03-21 08:07:12 <[Tycho]> I'm not interested enough to check my logs :) Because there is nothing I can do with it.
 723 2012-03-21 08:08:27 <luke-jr> [Tycho]: would you be interested in discouraging it?
 724 2012-03-21 08:08:34 <[Tycho]> How ?
 725 2012-03-21 08:08:42 DBordello has quit (Ping timeout: 246 seconds)
 726 2012-03-21 08:08:53 <luke-jr> not sure the best way
 727 2012-03-21 08:08:58 <[Tycho]> Actually I don't think that we should do anything.
 728 2012-03-21 08:09:04 <luke-jr> I think gmaxwell suggested just stop relaying his blocks
 729 2012-03-21 08:09:27 <[Tycho]> Yeah, she surely won't find anyone else to relay :)
 730 2012-03-21 08:09:36 <luke-jr> heh
 731 2012-03-21 08:09:55 <luke-jr> at least it would stop miners from thinking it's us doing it ;)
 732 2012-03-21 08:10:26 <[Tycho]> No one thinks it's me doing this.
 733 2012-03-21 08:10:49 <[Tycho]> No harm done, no actions required.
 734 2012-03-21 08:11:24 <wumpus> if there's harm done, the rules should be changes, banning individual IPs is not going to solve anything
 735 2012-03-21 08:12:20 Joric has joined
 736 2012-03-21 08:14:11 <SomeoneWeird> luke-jr, can you pm me too
 737 2012-03-21 08:14:45 <Joric> Peter Sunde on bitcoin http://www.youtube.com/watch?v=np-EKzP_Xtk
 738 2012-03-21 08:17:43 copumpkin has quit (Read error: Connection reset by peer)
 739 2012-03-21 08:17:49 pumpkin has joined
 740 2012-03-21 08:17:53 pumpkin is now known as copumpkin
 741 2012-03-21 08:35:39 maqr has joined
 742 2012-03-21 08:37:55 fiddur has joined
 743 2012-03-21 08:45:41 tsche has quit (Ping timeout: 255 seconds)
 744 2012-03-21 08:47:31 t7 has joined
 745 2012-03-21 08:57:26 ThomasV_afk is now known as ThomasV
 746 2012-03-21 08:58:01 Flarg_ has quit (Ping timeout: 276 seconds)
 747 2012-03-21 09:00:10 larsivi has quit (Ping timeout: 264 seconds)
 748 2012-03-21 09:03:36 tsche has joined
 749 2012-03-21 09:08:42 gjs278 has quit (Remote host closed the connection)
 750 2012-03-21 09:09:57 larsivi has joined
 751 2012-03-21 09:11:20 iocor has joined
 752 2012-03-21 09:11:52 gjs278 has joined
 753 2012-03-21 09:12:36 Flarg_ has joined
 754 2012-03-21 09:16:32 <sturles> My client have problems reorganizing again.  This time there is no output in db.log.  0.6.0.4-beta.
 755 2012-03-21 09:16:35 <sturles> REORGANIZE
 756 2012-03-21 09:16:37 <sturles> ERROR: Reorganize() : ConnectBlock failed
 757 2012-03-21 09:17:03 <sturles> ERROR: Reorganize() : ConnectBlock failed
 758 2012-03-21 09:17:03 <sturles> InvalidChainFound: invalid block=00000000000009e749e3  height=172160  work=269890660023251114133
 759 2012-03-21 09:17:06 <sturles> InvalidChainFound:  current best=00000000000000b3eac2  height=172018  work=268976858288836120047
 760 2012-03-21 09:17:20 <sturles> InvalidChainFound: WARNING: Displayed transactions may not be correct!  You may need to upgrade, or other nodes may need to upgrade.
 761 2012-03-21 09:17:23 <sturles> ERROR: SetBestChain() : Reorganize failed
 762 2012-03-21 09:22:03 Joric_ has joined
 763 2012-03-21 09:22:03 Joric_ has quit (Changing host)
 764 2012-03-21 09:22:03 Joric_ has joined
 765 2012-03-21 09:24:01 Joric has quit (Ping timeout: 276 seconds)
 766 2012-03-21 09:24:59 <vegard> what's a reorganise?
 767 2012-03-21 09:28:23 <doublec> vegard: it's when your client decides to jump to a different chain
 768 2012-03-21 09:28:47 iocor has quit (Quit: Computer has gone to sleep.)
 769 2012-03-21 09:29:10 <egecko> ;;bc,blocks
 770 2012-03-21 09:29:12 <gribble> 172161
 771 2012-03-21 09:30:09 <egecko> so only 23K more blocks go to
 772 2012-03-21 09:30:53 <egecko> once that happens, it is a matter of time before i can make an announcement :)
 773 2012-03-21 09:30:58 <sturles> Sometimes two or more blocks are mined at the same time.  This may continue to longer chain, and in the end the best chain wins.  Those events are quite frequent.  http://blockchain.info/orphaned-blocks
 774 2012-03-21 09:31:27 <sturles> Check out block 170062, which came in four different versions from three competing chains.
 775 2012-03-21 09:32:21 <vegard> heh, nice
 776 2012-03-21 09:32:23 <egecko> how are those resolved in terms of the discrepancies of the transactions they contain?
 777 2012-03-21 09:32:40 <sturles> Hmm.  Wonder where I got my 172018 from.  It is not listed on blockchain.info.
 778 2012-03-21 09:33:54 <sturles> egecko: The transactions in the winning chain wins if there are discrepancies.  (Normally both chains will have the same transactions.)
 779 2012-03-21 09:35:05 <riush> what if a legitimate tx isn't in the longest chain, but a block that gets orphaned? does bitcoind scan the block and recognize the tx, or does it have to be broadcasted again?
 780 2012-03-21 09:35:54 <vegard> I suppose the miner whose block didn't get accepted in the end will include it in their next attempt
 781 2012-03-21 09:36:46 <riush> yea, of course. i mean, does the miner who didn't have it pick it up from the other block, or only from the network?
 782 2012-03-21 09:37:16 <sturles> riush: Normally it will be in both chains.  If it isn't, something is weird.  A transaction will get broadcasted to all participants, idependant of what chain they are on.
 783 2012-03-21 09:38:15 <riush> ok, fair enough ;)
 784 2012-03-21 09:39:21 Clipse has quit (Ping timeout: 246 seconds)
 785 2012-03-21 09:39:52 <sturles> More worrying is the fact that reorganize fails in the latest version of the main client with no indication of why it failed.
 786 2012-03-21 09:41:29 Sedra has joined
 787 2012-03-21 09:41:43 <vegard> it says ConnectBlock failed
 788 2012-03-21 09:41:51 <vegard> that's an indication, right?
 789 2012-03-21 09:43:30 <sturles> Not of why it failed.
 790 2012-03-21 09:43:47 <vegard> it's an indication of why _Reorganize()_ failed :-P
 791 2012-03-21 09:44:13 iocor has joined
 792 2012-03-21 09:44:36 Sedra- has quit (Ping timeout: 246 seconds)
 793 2012-03-21 09:45:02 <vegard> maybe try revert commit d68dcf741e088d8d7033521aa1a1e5e87d9dd283 "Limit the impact of reorganisations on the database"?
 794 2012-03-21 09:46:33 <sturles> I was thinking about that one myself.  I have had reorg problems before where I had to increase the number of locks.
 795 2012-03-21 09:46:44 <sturles> This time there are no errors in db.log.
 796 2012-03-21 09:48:27 <sturles> Gah.  Conflict.
 797 2012-03-21 09:48:59 <egecko> ;;bc,blocks
 798 2012-03-21 09:49:00 <gribble> 172162
 799 2012-03-21 09:49:01 <vegard> or try to reproduce it on a private testnet
 800 2012-03-21 09:50:46 <vegard> in any case you should mark up all the error paths in ConnectBlock() so that you know which one it is that fails
 801 2012-03-21 09:52:07 <egecko> shizam.. this is going to take another 8 hours to synch the block chain
 802 2012-03-21 09:52:18 <vegard> egecko: why?
 803 2012-03-21 09:52:33 <egecko> cause this box is processing blocks at a rate of about 50 per minute
 804 2012-03-21 09:52:42 <vegard> sturles: and what happens when the reorg fails? does your client follow the wrong chain? does it stop working?
 805 2012-03-21 09:52:59 <vegard> egecko: no, why do you need to sync it in the first place?
 806 2012-03-21 09:53:14 <vegard> egecko: and what are you going to announce?
 807 2012-03-21 09:53:14 <egecko> because i blew away its copy yesterday
 808 2012-03-21 09:53:33 <egecko> well, stick around and you'll find out.. probably will be in about 12 hours or so
 809 2012-03-21 09:53:36 <egecko> :)
 810 2012-03-21 09:54:07 <sturles> My client is just stuck at it's current block.
 811 2012-03-21 09:54:48 Joric_ is now known as Joric
 812 2012-03-21 09:54:51 <vegard> egecko: why don't you just say "I trust block with hash <hash of current block as shown by blockexplorer>" and skip all the verification?
 813 2012-03-21 09:55:35 <egecko> i dont think bitcoind does that
 814 2012-03-21 09:55:49 <vegard> you could hack it
 815 2012-03-21 09:55:57 <Joric> NSA's building world's biggest datacenter http://www.wired.com/threatlevel/2012/03/ff_nsadatacenter/
 816 2012-03-21 09:56:26 <egecko> oh, sure, but that would defeat the purpose of having a copy of the block chain too :)
 817 2012-03-21 09:56:34 <Joric> But “this is more than just a data center,” says one senior intelligence official who until recently was involved with the program. The mammoth Bluffdale center will have another important and far more secret role that until now has gone unrevealed. It is also critical, he says, for breaking codes.
 818 2012-03-21 09:57:09 bitvampire has joined
 819 2012-03-21 09:59:46 Karmaon has quit (Ping timeout: 276 seconds)
 820 2012-03-21 10:00:17 * egecko attempts to adjust to a 36-12 wake-sleep schedule
 821 2012-03-21 10:03:38 cande has joined
 822 2012-03-21 10:05:16 rebroad has joined
 823 2012-03-21 10:05:48 <vegard> Joric: interesting, thanks for the share
 824 2012-03-21 10:06:28 <vegard> lots of custom brute-forcing chips, I suppose
 825 2012-03-21 10:06:35 <Joric> they probably will use those things http://en.wikipedia.org/wiki/Blue_Gene
 826 2012-03-21 10:06:53 <Joric> it's about 150 gh in local terms )
 827 2012-03-21 10:07:54 graingert has joined
 828 2012-03-21 10:08:08 <vegard> this is why bitcoin should have used memory-hard hashing
 829 2012-03-21 10:10:49 tower has quit (Ping timeout: 276 seconds)
 830 2012-03-21 10:11:40 <sturles> Same result after reverting d68dcf741e088d8d7033521aa1a1e5e87d9dd283.
 831 2012-03-21 10:11:57 <vegard> so you can reproduce it reliably?
 832 2012-03-21 10:12:00 <sturles> Fails, no indication of why.
 833 2012-03-21 10:12:10 <sturles> Yes, with my current chain-
 834 2012-03-21 10:12:19 <vegard> printf sprinkle
 835 2012-03-21 10:16:46 <vegard> “According to another top official also involved with the program, the NSA made an enormous breakthrough several years ago in its ability to cryptanalyze, or break, unfathomably complex encryption systems employed by not only governments around the world but also many average computer users in the US.”
 836 2012-03-21 10:17:51 <egecko> yeah, its called quantum computing :)
 837 2012-03-21 10:21:09 <Joric> seeing gavin alive -> enourmous breakthrough )
 838 2012-03-21 10:21:40 <vegard> I think it's more likely the discovery of some efficient algorithm
 839 2012-03-21 10:22:10 <vegard> for factoring or satisfiability or so
 840 2012-03-21 10:22:14 <egecko> keep in mind NSA's gear is 10-15 years ahead of what is cutting edge civilian sector
 841 2012-03-21 10:22:37 Snapman is now known as Snapman[afkers]
 842 2012-03-21 10:22:47 iocor has quit (Quit: Computer has gone to sleep.)
 843 2012-03-21 10:24:59 BurtyBB is now known as BurtyB
 844 2012-03-21 10:25:07 ThomasV has quit (Quit: Leaving)
 845 2012-03-21 10:26:36 <sturles> 10-15 years?  I think not.
 846 2012-03-21 10:27:52 RazielZ has quit (Ping timeout: 252 seconds)
 847 2012-03-21 10:28:17 <vegard> the article is categorised with the tag "paranoia" lool
 848 2012-03-21 10:32:05 ThomasV has joined
 849 2012-03-21 10:34:03 <sipa> sturles: still stuck? which version?
 850 2012-03-21 10:36:07 <sturles> 0.6.0.4-beta.
 851 2012-03-21 10:36:14 <sturles> Still stuck.
 852 2012-03-21 10:38:36 <sturles> Hmm.  ConnectBlocks return false at the BIP30 stuff: if (pos.IsNull()) return false.
 853 2012-03-21 10:38:54 <sturles> Normal?
 854 2012-03-21 10:39:25 Flarg_ has quit (Ping timeout: 276 seconds)
 855 2012-03-21 10:40:08 Flarg_ has joined
 856 2012-03-21 10:42:11 <vegard> ah, the NSA "breakthrough" is explained on page 5
 857 2012-03-21 10:42:55 <vegard> seems to be a custom chip targeted at a particular crypto algorithm
 858 2012-03-21 10:43:55 <Joric> omg i just notice there are 5 pages
 859 2012-03-21 10:44:02 <Joric> *noticed
 860 2012-03-21 10:46:18 tower has joined
 861 2012-03-21 10:47:03 <sturles> Oh!  New error: ERROR: ConnectInputs() : dcb1b2081c prev tx already used at (nFile=1, nBlockPos=1122457156, nTxPos=1122457438)
 862 2012-03-21 10:47:46 <sturles> This was after disabling the BIP30 check.
 863 2012-03-21 10:56:39 <vegard> doesn't that just go to show that slightly non-standard algorithms are better if you value your privacy?
 864 2012-03-21 10:57:39 <vegard> like bitcoin's use of double hashing in various places (this is not about privacy, though, just plain old security, I guess)
 865 2012-03-21 11:01:17 rebroad has quit (Quit: Leaving)
 866 2012-03-21 11:01:22 <Diablo-D3> yeah, prevents stupidity attacks
 867 2012-03-21 11:06:42 DBordello has joined
 868 2012-03-21 11:06:42 DBordello has quit (Changing host)
 869 2012-03-21 11:06:42 DBordello has joined
 870 2012-03-21 11:06:56 RazielZ has joined
 871 2012-03-21 11:07:17 <vegard> I still think memory-hard hashing is a wonderful way of preventing "stupidity attacks"
 872 2012-03-21 11:10:17 tower has quit (Ping timeout: 245 seconds)
 873 2012-03-21 11:10:33 <sturles> sipa: Any idea why reorg fails in my case?
 874 2012-03-21 11:12:11 cande has quit (Ping timeout: 264 seconds)
 875 2012-03-21 11:14:21 tower has joined
 876 2012-03-21 11:17:49 DBordello has quit (Ping timeout: 248 seconds)
 877 2012-03-21 11:19:43 graingert is now known as azi`
 878 2012-03-21 11:20:05 azi` is now known as graingert
 879 2012-03-21 11:23:16 underscor has quit (Quit: Leaving)
 880 2012-03-21 11:31:28 tower has quit (Disconnected by services)
 881 2012-03-21 11:31:43 tower has joined
 882 2012-03-21 11:32:42 <sipa> sturles: you disabled the BIP30 code?
 883 2012-03-21 11:35:08 erv has quit (Quit: Linkinus - http://linkinus.com)
 884 2012-03-21 11:35:16 <sturles> Tried that to get to the ConnectInputs error.  Otherwise it just fails with no indication of why.  ConnectBlocks return false at if (pos.IsNull).
 885 2012-03-21 11:35:19 twmz has joined
 886 2012-03-21 11:36:33 <sturles> Trying again now with unmodified latest from git.
 887 2012-03-21 11:36:51 <sipa> try my unstuck branch
 888 2012-03-21 11:37:09 <sipa> although i doubt that will help
 889 2012-03-21 11:37:20 <sturles> From debug.log:
 890 2012-03-21 11:37:21 <sturles> REORGANIZE
 891 2012-03-21 11:37:22 <sturles> ERROR: Reorganize() : ConnectBlock failed
 892 2012-03-21 11:37:35 <sturles> InvalidChainFound: invalid block=0000000000000770f858  height=172180  work=270019364492887028793
 893 2012-03-21 11:37:38 <sturles> InvalidChainFound:  current best=00000000000000b3eac2  height=172018  work=268976858288836120047
 894 2012-03-21 11:37:44 <sturles> InvalidChainFound: WARNING: Displayed transactions may not be correct!  You may need to upgrade, or other nodes may need to upgrade.
 895 2012-03-21 11:37:47 <sturles> ERROR: SetBestChain() : Reorganize failed
 896 2012-03-21 11:38:27 cande has joined
 897 2012-03-21 11:38:31 <sturles> sipa: How do I try your unstuch branch?
 898 2012-03-21 11:38:46 <sturles> *unstuck
 899 2012-03-21 11:39:30 <sipa> never mind, it will not help you if that is the error
 900 2012-03-21 11:40:17 <sipa> try latest git
 901 2012-03-21 11:40:33 <sturles> This is absolutely latest bleeding edge git.
 902 2012-03-21 11:41:09 <sturles> I could try some old 0.5 version, of course..
 903 2012-03-21 11:41:11 <sipa> ok
 904 2012-03-21 11:41:28 <sipa> ;;bc,blocks
 905 2012-03-21 11:41:33 <gribble> 172181
 906 2012-03-21 11:43:22 <sturles> Bah.  "Error loading wallet.dat: Wallet requires newer version of Bitcoin"
 907 2012-03-21 11:43:37 occulta has joined
 908 2012-03-21 11:43:51 <sipa> right, of course
 909 2012-03-21 11:44:05 <sipa> but 0.5.x will not help you
 910 2012-03-21 11:44:59 <sipa> can you paste somewhat more of debug.log around that REORGANIZE?
 911 2012-03-21 11:47:19 <sturles> http://pastebin.com/uSPNqzbA
 912 2012-03-21 11:48:28 * sturles does cp blk0001.dat{,.broken}; cp blkindex.dat{,.broken}; rsync ...
 913 2012-03-21 11:49:05 <sturles> Getting a good chain to access my coins, keeping the broken chain for debugging.
 914 2012-03-21 11:52:50 dwon has quit (Quit: Leaving)
 915 2012-03-21 11:55:19 Joric has quit ()
 916 2012-03-21 11:57:19 cande has quit (Ping timeout: 250 seconds)
 917 2012-03-21 11:57:24 erle- has joined
 918 2012-03-21 11:58:40 cande has joined
 919 2012-03-21 12:08:05 Joric has joined
 920 2012-03-21 12:15:10 cande has quit (Ping timeout: 260 seconds)
 921 2012-03-21 12:17:55 <sipa> sturles: i've pushed a small commit to git master to add more debug output in case of failed reorganizations
 922 2012-03-21 12:17:58 iocor has joined
 923 2012-03-21 12:18:01 <sipa> can you retry with that?
 924 2012-03-21 12:26:04 bitvampire has quit (Remote host closed the connection)
 925 2012-03-21 12:29:16 cande has joined
 926 2012-03-21 12:29:51 iocor has quit (Quit: Computer has gone to sleep.)
 927 2012-03-21 12:30:05 Joric has quit ()
 928 2012-03-21 12:30:48 iocor has joined
 929 2012-03-21 12:31:59 iocor has quit (Client Quit)
 930 2012-03-21 12:32:14 agricocb has quit (Quit: Leaving.)
 931 2012-03-21 12:33:28 <sturles> Trying.
 932 2012-03-21 12:35:48 <sturles> REORGANIZE: Disconnect 0 blocks; 00000000000000b3eac2..00000000000000b3eac2
 933 2012-03-21 12:35:48 <sturles> REORGANIZE: Connect 1 blocks; 00000000000000b3eac2..00000000000000fc8fad
 934 2012-03-21 12:35:48 <sturles> ERROR: Reorganize() : ConnectBlock 00000000000000fc8fad failed
 935 2012-03-21 12:39:18 <sipa> sturles: and it is the BIP30 code that causes that ConnectBlock failure?
 936 2012-03-21 12:40:20 <sipa> do you happen to know in which transaction?
 937 2012-03-21 12:41:07 <sturles> ConnectBlock fails anyway, just later if I disable the BIP30 code.
 938 2012-03-21 12:42:43 <sturles> Here:
 939 2012-03-21 12:42:44 <sturles> ERROR: ConnectInputs() : dcb1b2081c prev tx already used at (nFile=1, nBlockPos=1122457156, nTxPos=1122457438)
 940 2012-03-21 12:43:31 <sipa> sturles: have you tried starting with -checkblocks ?
 941 2012-03-21 12:43:37 <sturles> No.
 942 2012-03-21 12:43:40 <sturles> Will do.
 943 2012-03-21 12:44:46 <sturles> Perhaps my database is corrupt?
 944 2012-03-21 12:44:46 minimoose has joined
 945 2012-03-21 12:45:19 <sipa> Quite sure it is; I'm only trying to find out why :)
 946 2012-03-21 12:45:30 twmz__ has quit (Read error: Operation timed out)
 947 2012-03-21 12:46:14 <sturles> Guess it will take some time.  I'll do some work in the mean time..
 948 2012-03-21 12:46:50 <sipa> Actually, that will not help; the last 2500 blocks are always checked at startup.
 949 2012-03-21 12:46:51 <sturles> Ah, done already.
 950 2012-03-21 12:46:53 twmz has quit (Ping timeout: 244 seconds)
 951 2012-03-21 12:47:00 <sturles> Same result.
 952 2012-03-21 12:48:08 <vegard> fractional reserve banking, packet-switched networks, optimistic memory allocation... all based on the idea that all users of a shared resource rarely use their whole share share at the same time. other examples?
 953 2012-03-21 12:48:38 <vegard> probably applies to web hosting too
 954 2012-03-21 12:49:25 <sipa> sturles: i think i'll write a -checkblockindex that does more checks than -checkblocks, but not now
 955 2012-03-21 12:50:04 MobiusL has quit (Ping timeout: 276 seconds)
 956 2012-03-21 12:50:21 <sturles> Air travel.  If all passengers were grossly overweight and carried maximum allowd luggage, the plane would be overweight.
 957 2012-03-21 12:50:34 <vegard> ah, true
 958 2012-03-21 12:51:08 <vegard> it also applies in a different way. they often overbook flights because usually not all passengers show up
 959 2012-03-21 12:51:33 <sturles> I've got to do some paid work now.  Will keep the broken blockchain (or database) for later testing.
 960 2012-03-21 12:51:41 <sipa> sturles: ok, thanks
 961 2012-03-21 12:55:38 twmz has joined
 962 2012-03-21 12:55:51 MobiusL has joined
 963 2012-03-21 13:00:08 tsche has quit ()
 964 2012-03-21 13:01:15 danbri has joined
 965 2012-03-21 13:06:33 unicron has quit (Ping timeout: 245 seconds)
 966 2012-03-21 13:18:55 iocor has joined
 967 2012-03-21 13:20:11 bitvampire has joined
 968 2012-03-21 13:21:57 graingert has quit (Ping timeout: 246 seconds)
 969 2012-03-21 13:28:29 Joric has joined
 970 2012-03-21 13:28:30 Joric has quit (Changing host)
 971 2012-03-21 13:28:30 Joric has joined
 972 2012-03-21 13:34:25 bitvampire has quit (Ping timeout: 244 seconds)
 973 2012-03-21 13:34:53 datagutt has joined
 974 2012-03-21 13:34:54 datagutt has quit (Changing host)
 975 2012-03-21 13:34:54 datagutt has joined
 976 2012-03-21 13:36:57 bitvampire has joined
 977 2012-03-21 13:39:22 graingert has joined
 978 2012-03-21 13:40:08 <gmaxwell> luke-jr: heh I hope you don't feel like I set you up with the block IP logging patch, considering that I suggested you log the IPs.
 979 2012-03-21 13:44:31 <luke-jr> gmaxwell: of course not
 980 2012-03-21 13:44:54 <luke-jr> it was a good idea
 981 2012-03-21 13:45:26 <luke-jr> if it wasn't for the risk of crackers going for it, I'd probably still support merging it
 982 2012-03-21 13:45:46 DBordello has joined
 983 2012-03-21 13:45:47 DBordello has quit (Changing host)
 984 2012-03-21 13:45:47 DBordello has joined
 985 2012-03-21 13:45:52 <luke-jr> maybe I'll make a -logips option or something for a future version
 986 2012-03-21 13:46:02 <gmaxwell> Likewise. I'd like to have a lot more logging, but don't want to make nodes more attractive targets
 987 2012-03-21 13:49:02 <luke-jr> it actually doesn't work out too well as-is
 988 2012-03-21 13:49:24 <luke-jr> would want to refactor it to only show the *first* time the block is seen
 989 2012-03-21 13:49:39 <luke-jr> I think
 990 2012-03-21 13:52:07 Nicksasa has joined
 991 2012-03-21 13:52:07 Nicksasa has quit (Changing host)
 992 2012-03-21 13:52:07 Nicksasa has joined
 993 2012-03-21 14:22:21 larsivi has quit (Ping timeout: 244 seconds)
 994 2012-03-21 14:26:39 iocor has quit (Quit: Computer has gone to sleep.)
 995 2012-03-21 14:34:44 copumpkin has quit (Quit: Computer has gone to sleep.)
 996 2012-03-21 14:39:00 specular has joined
 997 2012-03-21 14:39:49 iocor has joined
 998 2012-03-21 14:42:08 iocor has quit (Client Quit)
 999 2012-03-21 14:45:41 gavinandresen has joined
1000 2012-03-21 14:47:26 bitvampire has quit (Remote host closed the connection)
1001 2012-03-21 14:50:03 bitvampire has joined
1002 2012-03-21 14:51:29 pickett has quit (Remote host closed the connection)
1003 2012-03-21 14:53:09 danbri has quit (Remote host closed the connection)
1004 2012-03-21 14:53:57 pickett has joined
1005 2012-03-21 14:56:46 zeiris has quit (Ping timeout: 272 seconds)
1006 2012-03-21 14:59:11 copumpkin has joined
1007 2012-03-21 15:03:24 g2x3k has quit (Ping timeout: 260 seconds)
1008 2012-03-21 15:05:33 DBordello has quit (Ping timeout: 246 seconds)
1009 2012-03-21 15:06:11 bitlad has joined
1010 2012-03-21 15:08:17 bitvampire has quit (Remote host closed the connection)
1011 2012-03-21 15:09:07 TD has joined
1012 2012-03-21 15:10:28 zeiris has joined
1013 2012-03-21 15:12:07 erle- has quit (Quit: erle-)
1014 2012-03-21 15:14:19 Nesetalis has quit (Ping timeout: 246 seconds)
1015 2012-03-21 15:17:23 g2x3k has joined
1016 2012-03-21 15:18:12 iocor has joined
1017 2012-03-21 15:20:53 devrandom has quit (Remote host closed the connection)
1018 2012-03-21 15:21:42 devrandom has joined
1019 2012-03-21 15:22:13 andytoshi has quit (Quit: WeeChat 0.3.5)
1020 2012-03-21 15:23:08 Diablo-D3 has quit (Ping timeout: 250 seconds)
1021 2012-03-21 15:27:18 bitlad has quit ()
1022 2012-03-21 15:27:37 bitvampire has joined
1023 2012-03-21 15:29:02 dikidera has joined
1024 2012-03-21 15:29:34 diki has quit (Ping timeout: 245 seconds)
1025 2012-03-21 15:31:06 bitvampire has quit (Remote host closed the connection)
1026 2012-03-21 15:31:23 fiddur has quit (Quit: Leaving.)
1027 2012-03-21 15:31:59 Clipse has joined
1028 2012-03-21 15:34:49 t7_ has joined
1029 2012-03-21 15:36:39 t7 has quit (Ping timeout: 245 seconds)
1030 2012-03-21 15:36:43 t7_ is now known as t7
1031 2012-03-21 15:38:24 Zarutian has joined
1032 2012-03-21 15:39:41 Davincij15 has quit (Ping timeout: 246 seconds)
1033 2012-03-21 15:39:49 TD has quit (Quit: TD)
1034 2012-03-21 15:43:29 lfm has joined
1035 2012-03-21 16:01:33 <luke-jr> gavinandresen: how's the BIP16 backport looking?
1036 2012-03-21 16:01:56 <luke-jr> anything else we should do/test before 0.5.4?
1037 2012-03-21 16:03:16 <gavinandresen> luke-jr: looks good-- no problems running overnight.  This morning I was cleaning up my backports, I'll do a little more BIP16 backport testing soon
1038 2012-03-21 16:03:29 <luke-jr> overnight was mainnet or testnet?
1039 2012-03-21 16:03:34 <BlueMatt> wait, are you backporting bip16 to 0.5?
1040 2012-03-21 16:03:40 <luke-jr> BlueMatt: and 0.4
1041 2012-03-21 16:04:05 <luke-jr> BlueMatt: https://github.com/luke-jr/bitcoin/commit/bip16_0.4.x if you'd like to help review it
1042 2012-03-21 16:06:23 specular has quit (Ping timeout: 276 seconds)
1043 2012-03-21 16:08:22 triptyl has joined
1044 2012-03-21 16:08:55 ThomasV_ has joined
1045 2012-03-21 16:09:58 specular has joined
1046 2012-03-21 16:12:40 agricocb has joined
1047 2012-03-21 16:12:45 triptyl has quit (Ping timeout: 248 seconds)
1048 2012-03-21 16:16:28 <gavinandresen> luke-jr: I ran the backport on both testnet and main net.  Testnet is on a bad chain again, but I suspect that's just because there aren't enough people with GIT-head code hashing on testnet.
1049 2012-03-21 16:19:53 <luke-jr> gavinandresen: but the backport stuck to the BIP16-compatible chain, right?
1050 2012-03-21 16:19:57 <luke-jr> despite the longer invalid one
1051 2012-03-21 16:20:24 denisx has joined
1052 2012-03-21 16:20:42 <denisx> did something special happened today?
1053 2012-03-21 16:21:01 <denisx> I get this when I try the list transactions command:
1054 2012-03-21 16:21:01 <denisx> error: {"code":-2,"message":"Safe mode: WARNING: Displayed transactions may not be correct!  You may need to upgrade, or other nodes may need to upgrade."}
1055 2012-03-21 16:21:31 <gavinandresen> luke-jr: I haven't looked at which chain it stuck to yet
1056 2012-03-21 16:21:54 <gavinandresen> denisx: what version of bitcoin you running?
1057 2012-03-21 16:21:55 <luke-jr> denisx: mainnet/testnet? version?
1058 2012-03-21 16:22:28 <denisx> gavinandresen: 0.5.3, testnet: false
1059 2012-03-21 16:23:15 <denisx> I must admit that I have not restarted or rescanned it yet
1060 2012-03-21 16:23:45 <luke-jr> denisx: can you pastebin debug.log?
1061 2012-03-21 16:25:55 <denisx> uh. I see something like this:
1062 2012-03-21 16:25:55 <denisx> 03/21/12 16:23:59 REORGANIZE
1063 2012-03-21 16:25:56 <denisx> 03/21/12 16:24:04 ERROR: ConnectInputs() : 7377c100d1 prev tx b0a15a0888 index entry not found
1064 2012-03-21 16:25:56 <denisx> 03/21/12 16:24:04 ERROR: Reorganize() : ConnectBlock failed
1065 2012-03-21 16:29:00 <vegard> 12:36 < sturles> ERROR: Reorganize() : ConnectBlock failed
1066 2012-03-21 16:31:48 <denisx> ok, restart with rescan did not fix it
1067 2012-03-21 16:33:05 stalled has quit (Ping timeout: 244 seconds)
1068 2012-03-21 16:43:01 <BlueMatt> hmmm, well I got chain download to use ~120% cpu using two threads to check/accept blocks, but cs_main starts to really get in the way...
1069 2012-03-21 16:43:13 Clipse has quit (Ping timeout: 246 seconds)
1070 2012-03-21 16:47:12 stalled has joined
1071 2012-03-21 16:47:19 <luke-jr> denisx: try -checkblocks
1072 2012-03-21 16:48:48 iocor has quit (Quit: Computer has gone to sleep.)
1073 2012-03-21 16:52:17 <luke-jr> http://blockchain.info/p2sh needs to start blaming people without support :P
1074 2012-03-21 16:53:49 <Graet> i'm guessing MM is 1/2 of the 29%, (or about)
1075 2012-03-21 16:55:14 t7 has quit (Quit: ChatZilla 0.9.88.1 [Firefox 12.0/20120314195616])
1076 2012-03-21 16:55:36 <denisx> uh, I only have 0.5.2, but with the BIP30 patch
1077 2012-03-21 16:56:29 barmstrong has quit (Remote host closed the connection)
1078 2012-03-21 16:56:48 <luke-jr> denisx: probabyl should upgrade to 0.5.3.1
1079 2012-03-21 16:57:36 <graingert> is there an interface to support multisig transactions yet?
1080 2012-03-21 16:57:44 <luke-jr> graingert: only for testnet on bitcoind
1081 2012-03-21 16:58:14 <graingert> no gui etc
1082 2012-03-21 16:58:24 <graingert> has anybody done mockups of what these will look like?
1083 2012-03-21 16:58:52 <BlueMatt> blockchain.info supports it
1084 2012-03-21 16:59:01 <BlueMatt> in their wallet stuff
1085 2012-03-21 16:59:22 <graingert> yeah but in the bitcoin gui
1086 2012-03-21 16:59:43 <graingert> I've seen their version and it's quite cool
1087 2012-03-21 17:01:56 occulta has quit (Quit: KVIrc 4.1.1 Equilibrium http://www.kvirc.net/)
1088 2012-03-21 17:02:31 iocor has joined
1089 2012-03-21 17:03:17 <egecko> ;;bc,blocks
1090 2012-03-21 17:03:19 <gribble> 172218
1091 2012-03-21 17:03:43 <egecko> 10,000 more blocks
1092 2012-03-21 17:04:05 graingert has quit (Remote host closed the connection)
1093 2012-03-21 17:04:42 graingert has joined
1094 2012-03-21 17:06:36 Clipse has joined
1095 2012-03-21 17:07:35 barmstrong has joined
1096 2012-03-21 17:07:51 Mad7Scientist is now known as bow2snowman
1097 2012-03-21 17:08:25 <ferroh> sleep!~ferroh@69-165-158-141.dsl.teksavvy.com|egecko: until?
1098 2012-03-21 17:08:27 ferroh is now known as sleep!~ferroh@69-165-158-141.dsl.teksavvy.com|ferroh
1099 2012-03-21 17:09:26 dvide has joined
1100 2012-03-21 17:12:53 cande has quit (Quit: Lämnar)
1101 2012-03-21 17:16:21 <egecko> until my bitcoind finally catches up with the block chain, its been building its chain for going on 2 days now
1102 2012-03-21 17:16:46 <gavinandresen> luke-jr: running one last test on the bip16 backport, but it looks nice and sane so far.
1103 2012-03-21 17:17:04 <luke-jr> great
1104 2012-03-21 17:17:11 <gavinandresen> egecko: sipa and gmaxwell are working on speeding that up....
1105 2012-03-21 17:17:20 <luke-jr> egecko: might try the next-test I just released
1106 2012-03-21 17:17:32 <luke-jr> egecko: https://bitcointalk.org/index.php?topic=70580.0
1107 2012-03-21 17:20:56 <BlueMatt> yay, maxing out at 140% cpu while downloading chain
1108 2012-03-21 17:21:13 <BlueMatt> need to benchmark this tonight, but its looking good
1109 2012-03-21 17:21:49 jagarol has joined
1110 2012-03-21 17:21:52 <BlueMatt> still not happy with the DoS callback crap though...
1111 2012-03-21 17:26:28 <gavinandresen> egecko: shutdown bitcoin, put this in your -datadir, and then restart; should be faster:  https://gist.github.com/2149813
1112 2012-03-21 17:31:31 iocor has quit (Quit: Computer has gone to sleep.)
1113 2012-03-21 17:33:10 <ferroh> BlueMatt: how many cores do you have?
1114 2012-03-21 17:33:43 <BlueMatt> ferroh: 4
1115 2012-03-21 17:34:51 <BlueMatt> the point is that I took out like 25% of the time it takes to check/commit blocks into a separate thread
1116 2012-03-21 17:36:52 <BlueMatt> (well on a tmpfs)
1117 2012-03-21 17:37:14 gfinn has joined
1118 2012-03-21 17:39:03 iocor has joined
1119 2012-03-21 17:48:23 forsetifox has quit (Quit: Page closed)
1120 2012-03-21 17:51:42 <gribble> New news from bitcoinrss: Diapolo opened pull request 968 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/968>
1121 2012-03-21 17:52:01 <luke-jr> OK, BIP16 merged into 0.4.x, 0.5.0.x, and 0.5.x
1122 2012-03-21 17:52:40 <luke-jr> any objections to tagging 0.5.4rc1 etc?
1123 2012-03-21 17:52:53 <luke-jr> gavinandresen: ^
1124 2012-03-21 17:53:00 topace has quit (Changing host)
1125 2012-03-21 17:53:00 topace has joined
1126 2012-03-21 17:54:36 iocor has quit (Quit: Computer has gone to sleep.)
1127 2012-03-21 17:58:41 skeledrew has quit (Read error: Connection reset by peer)
1128 2012-03-21 18:02:01 Joric has quit ()
1129 2012-03-21 18:06:40 darkee has quit (Remote host closed the connection)
1130 2012-03-21 18:06:41 darkee has joined
1131 2012-03-21 18:08:05 Ahimoth has quit (Ping timeout: 260 seconds)
1132 2012-03-21 18:11:39 Ahimoth has joined
1133 2012-03-21 18:17:54 jagarol has quit (Read error: Connection reset by peer)
1134 2012-03-21 18:18:26 jagarol has joined
1135 2012-03-21 18:19:41 rebroad has joined
1136 2012-03-21 18:20:09 <rebroad> hi... is there a way to query (before loading the block index) how many blocks are in the index please?
1137 2012-03-21 18:20:57 <BlueMatt> no
1138 2012-03-21 18:21:10 <BlueMatt> best you can do is guess by file size
1139 2012-03-21 18:21:55 <rebroad> thanks BlueMatt... so, perhaps it could write it somewhere when it shutsdown such that it's something that can be quickly obtained on start-up..?
1140 2012-03-21 18:22:20 <BlueMatt> you could, not much use for that though...
1141 2012-03-21 18:22:43 <rebroad> well, not much, the only use I can think of is to be able to show a percentage loaded durng the block index load
1142 2012-03-21 18:23:30 <BlueMatt> mmm, yea that would be useful, though Im not sure if chain load is linear...
1143 2012-03-21 18:23:33 <gavinandresen> luke-jr: no objections (same patch merges cleanly to all three?)
1144 2012-03-21 18:23:53 <rebroad> BlueMatt, well... it seems fairly constant in speed from my tests
1145 2012-03-21 18:23:54 <BlueMatt> anyone know if it checks txes? I dont think it does, so it probably is
1146 2012-03-21 18:24:10 <BlueMatt> constant in speed != linear == constant time per block
1147 2012-03-21 18:24:30 <rebroad> what do you mean by linear, BlueMatt ?
1148 2012-03-21 18:24:42 <rebroad> I assumed you meant to time
1149 2012-03-21 18:24:42 <BlueMatt> ~= constant time per block loaded
1150 2012-03-21 18:24:56 Sedra- has joined
1151 2012-03-21 18:25:00 <rebroad> yes.. that was my understanding.. the answer is ~yes
1152 2012-03-21 18:25:10 <BlueMatt> yet another progress bar like the chain dl one that goes from 0 to 50 really quick and really slowly after that is...worthless imo
1153 2012-03-21 18:25:18 <BlueMatt> ok, yea that makes sense
1154 2012-03-21 18:25:24 <luke-jr> gavinandresen: not cleanly, no.
1155 2012-03-21 18:25:28 <rebroad> well, on my client it sometimes takes 3 minutes to load the block index
1156 2012-03-21 18:25:29 jagarol has quit (Ping timeout: 276 seconds)
1157 2012-03-21 18:25:54 <rebroad> ah.. no, it's fairly constant in speed..
1158 2012-03-21 18:25:57 <luke-jr> gavinandresen: nothing that worried me *too much* for a mere rc tho
1159 2012-03-21 18:26:22 TD has joined
1160 2012-03-21 18:26:49 <BlueMatt> rebroad: total time can vary greatly depending on warm/cold cache
1161 2012-03-21 18:27:18 Sedra has quit (Ping timeout: 255 seconds)
1162 2012-03-21 18:27:33 <gavinandresen> luke-jr: I still think you're insane keeping three sets of backports going.  There's no way they're getting sufficient testing.
1163 2012-03-21 18:27:37 <rebroad> BlueMatt, ah, I did wonder why it varied
1164 2012-03-21 18:28:04 <rebroad> gavinandresen, luke-jr is insane.. did you just realise?! :)
1165 2012-03-21 18:28:06 <luke-jr> gavinandresen: I'm dropping 0.5.0.x ASAP when 0.6.0 final is done :p
1166 2012-03-21 18:28:17 TD has quit (Client Quit)
1167 2012-03-21 18:29:42 <rebroad> BlueMatt, would you have any preference on how I output the number of blocks on shutdown? I was thinking of stating the index file also, so if it changes then it does't use it.
1168 2012-03-21 18:30:42 <rebroad> oooh. luke-jr, my bitcoin-qt segv'ed, just like you mentioned!
1169 2012-03-21 18:30:46 <BlueMatt> I guess the only reasonable way to store it would be in blkindex
1170 2012-03-21 18:30:57 <luke-jr> gavinandresen: 0.5.0.x did merge up to 0.5.x cleanly fwiw
1171 2012-03-21 18:31:27 <neofutur> https://bitcointalk.org/index.php?topic=71542 , anyone hosting bitcoin customers could be interesting in the bounty, bitcoind developpers wanted ;)
1172 2012-03-21 18:31:55 <BlueMatt> neofutur: did I not tell you I essentially have on last night?
1173 2012-03-21 18:32:05 TD has joined
1174 2012-03-21 18:32:29 <gmaxwell> BlueMatt: just take his bounty then?
1175 2012-03-21 18:32:46 userhgh has joined
1176 2012-03-21 18:32:53 <luke-jr> gavinandresen: as for testing, everything in these are mostly tested in master already
1177 2012-03-21 18:33:49 <BlueMatt> neofutur: done: take https://github.com/TheBlueMatt/bitcoin/tree/cblockstore and change https://github.com/TheBlueMatt/bitcoin/blob/cblockstore/src/blockstore.h#L127 to return false
1178 2012-03-21 18:33:49 <BlueMatt> it needs more testing, but it worked when I last ran it
1179 2012-03-21 18:33:53 <BlueMatt> bounty please?
1180 2012-03-21 18:34:28 jagarol has joined
1181 2012-03-21 18:34:42 <luke-jr> most changes aren't as complex as BIP16 ;)
1182 2012-03-21 18:35:06 <neofutur> hum
1183 2012-03-21 18:35:12 <rebroad> neofutur, the thing is... each separate bitcoind is going to want to recover an old database if the centralized one is changed in a way they don't like...
1184 2012-03-21 18:35:15 <neofutur> thanks BlueMatt i ll have a look at this
1185 2012-03-21 18:35:33 <BlueMatt> you'll have to restart to reload chain though
1186 2012-03-21 18:36:06 Cablesaurus has joined
1187 2012-03-21 18:36:06 Cablesaurus has quit (Changing host)
1188 2012-03-21 18:36:06 Cablesaurus has joined
1189 2012-03-21 18:36:24 <rebroad> neofutur, so ideally it would be stored in two places owned by 2 separate parties where users of it can be sure that they can recover to old versions
1190 2012-03-21 18:36:31 <rebroad> (at least 2)
1191 2012-03-21 18:37:54 litejk has joined
1192 2012-03-21 18:38:07 litejk has left ("252 Main: http://bitcoin.org/ | Wiki: https://en.bitcoin.it/wiki/ | Latest version: 0.5.3.1 *OLD VERSIONS HARM THE NETWORK AND YOUR SECURITY* | Bitcoin Development - We're here to help develop the Bitcoin system. All related discussions are welcome. | Ask, don")
1193 2012-03-21 18:38:35 <neofutur> BlueMatt: read https://bitcointalk.org/index.php?topic=71542 theres a little bit more . . .asking for a patch and a --readonly option on startup ;)
1194 2012-03-21 18:38:58 <neofutur> BlueMatt: but ewait a little more i m sure the bounty will go up, any vps provider needs this
1195 2012-03-21 18:39:36 <BlueMatt> mmm, well it would be hard to use that as a starting point in any case ;)
1196 2012-03-21 18:39:47 <luke-jr> neofutur: it's not useful for VPS providers.
1197 2012-03-21 18:40:42 jagarol has quit (Ping timeout: 244 seconds)
1198 2012-03-21 18:40:44 TD has quit (Quit: TD)
1199 2012-03-21 18:40:53 jagarol has joined
1200 2012-03-21 18:40:57 <BlueMatt> its useful for vps providers that have people running 100s of copies of bitcoind...
1201 2012-03-21 18:41:15 <neofutur> yup
1202 2012-03-21 18:42:39 <rebroad> what would be good is if the VPS provider has a way of storing identical files in a way that take up the space only once, like dropbox does, and the block index was stored in a way that each block was separately identifyable
1203 2012-03-21 18:42:56 <BlueMatt> use a good fs
1204 2012-03-21 18:43:09 <BlueMatt> s/good/crazy/
1205 2012-03-21 18:43:35 <BlueMatt> enterprise grade dedup on your disk arrays
1206 2012-03-21 18:43:52 <rebroad> then it's just the blocks that are the same that are shared... and to everyone using the VPS it's transparent
1207 2012-03-21 18:44:24 jagarol has quit (Remote host closed the connection)
1208 2012-03-21 18:44:49 <luke-jr> BlueMatt: only if those 100s of people trust the VPS host with their blockchain
1209 2012-03-21 18:45:03 <BlueMatt> yea, thats perfect
1210 2012-03-21 18:45:03 <BlueMatt> you dont have to store it and customers dont have to use a weird build of bitcoind
1211 2012-03-21 18:45:20 <BlueMatt> if you dont trust your vps host, why are you using them?
1212 2012-03-21 18:45:31 <luke-jr> … true
1213 2012-03-21 18:45:36 <neofutur> luke-jr: in my case i trust myself and would just be my own blockchain provider
1214 2012-03-21 18:45:41 <luke-jr> even if you do, Linode happens
1215 2012-03-21 18:45:55 <BlueMatt> well, yea if you have a ton of btc, dont use a vps
1216 2012-03-21 18:45:56 <neofutur> my otc and GPG WoT would also make many people trust me as a provider
1217 2012-03-21 18:46:00 <luke-jr> neofutur: I don't doubt the feature is useful. Just that it's useful for VPS providers :p
1218 2012-03-21 18:46:03 jagarol has joined
1219 2012-03-21 18:46:10 andytoshi has joined
1220 2012-03-21 18:46:11 <rebroad> BlueMatt, you do.. you just don't store the private keys with them :)
1221 2012-03-21 18:46:18 <luke-jr> I probably have like 20 copies of the blockchain myself >.>
1222 2012-03-21 18:46:31 <neofutur> same here
1223 2012-03-21 18:46:36 Ukyo has joined
1224 2012-03-21 18:46:36 Ukto has quit (Disconnected by services)
1225 2012-03-21 18:46:40 winterblack_ has joined
1226 2012-03-21 18:46:42 Ukyo is now known as Ukto
1227 2012-03-21 18:46:47 <rebroad> in fact... I could store my block index on dropbox using that technique I mentioned...  a separate file for each block
1228 2012-03-21 18:46:50 <neofutur> (20:33) <   rebroad> neofutur, so ideally it would be stored in two places owned by 2 separate parties where users of it can be sure that they can recover to old versions
1229 2012-03-21 18:46:53 <neofutur> (20:33) <   rebroad> (at least 2)
1230 2012-03-21 18:46:54 twmz_ has joined
1231 2012-03-21 18:46:56 <neofutur> I like this idea
1232 2012-03-21 18:47:38 maqr_ has joined
1233 2012-03-21 18:47:41 * luke-jr ponders storing the blocks in a git repo, with 1 file per block
1234 2012-03-21 18:48:10 wasabi1 has joined
1235 2012-03-21 18:48:27 * andytoshi wonders if you could then store transactions as diffs ;)
1236 2012-03-21 18:48:51 cdecker has joined
1237 2012-03-21 18:48:57 maqr has quit (Read error: Operation timed out)
1238 2012-03-21 18:49:04 wasabi has quit (Read error: Connection reset by peer)
1239 2012-03-21 18:49:05 <luke-jr> andytoshi: git can take care of the compression ;)
1240 2012-03-21 18:49:22 twmz has quit (Ping timeout: 255 seconds)
1241 2012-03-21 18:49:49 <andytoshi> haha, if scripts were always so simple as single transactions, it could probably work actually
1242 2012-03-21 18:50:16 winterblack has quit (Ping timeout: 255 seconds)
1243 2012-03-21 18:50:24 jagarol has quit (Ping timeout: 245 seconds)
1244 2012-03-21 18:51:02 Ahimoth has quit (Ping timeout: 244 seconds)
1245 2012-03-21 18:51:05 <gavinandresen> BlueMatt: what's the state of bitcoin: URI support in 0.6?  I know it doesn't work on Mac.  It doesn't work for me in my Linux VM (there's some trick to registering it with the window manager, right?).  Does the WIndows installer make it work with Chrome/Firefox/Explorer on Windows?
1246 2012-03-21 18:53:13 <neofutur> https://bitcointalk.org/index.php?topic=71542 updated with more details
1247 2012-03-21 18:54:17 jagarol has joined
1248 2012-03-21 18:55:12 <luke-jr> OK, v0.4.5rc1, v0.5.0.6rc1, and v0.5.4rc1 tags pushed
1249 2012-03-21 18:57:20 <BlueMatt> linux: needs registered with the window manager, correct (bitcoin ppa does that automatically on ubuntu).  win32 installer -> yep
1250 2012-03-21 18:57:24 <BlueMatt> registers with system so any browser/link-opening application should work fine
1251 2012-03-21 18:57:41 <BlueMatt> gavinandresen: ^
1252 2012-03-21 18:58:31 <gavinandresen> BlueMatt: ok, thanks
1253 2012-03-21 18:58:36 Ahimoth has joined
1254 2012-03-21 19:00:51 jagarol has quit (Ping timeout: 244 seconds)
1255 2012-03-21 19:01:42 <rebroad> BlueMatt, that crazy fs I suspect is known as SquashFS
1256 2012-03-21 19:01:52 <rebroad> it already detects duplicate files and stores them only once physically
1257 2012-03-21 19:02:05 barmstrong has quit (Remote host closed the connection)
1258 2012-03-21 19:02:09 <BlueMatt> there are a few fs' that do that
1259 2012-03-21 19:02:09 <BlueMatt> but, yea
1260 2012-03-21 19:02:12 <BlueMatt> by crazy I mean non-default one that has a bunch of random features...
1261 2012-03-21 19:02:16 <egecko> ;;bc,blocks
1262 2012-03-21 19:02:17 <gribble> 172226
1263 2012-03-21 19:02:35 underscor has joined
1264 2012-03-21 19:06:25 * BlueMatt bbl
1265 2012-03-21 19:07:12 barmstrong has joined
1266 2012-03-21 19:07:22 barmstrong has quit (Remote host closed the connection)
1267 2012-03-21 19:09:47 pusle has joined
1268 2012-03-21 19:09:59 jagarol has joined
1269 2012-03-21 19:12:19 Ahimoth has quit (Ping timeout: 252 seconds)
1270 2012-03-21 19:12:54 triptyl has joined
1271 2012-03-21 19:13:53 <egecko> anyone know if the bitcoincharts webmaster/dev are in channel?
1272 2012-03-21 19:14:05 <triptyl> looks like someone has incorporated some awesome homomorphic encryption into bitcoin to increase privacy: http://wbl.github.com/bitcoinanon.pdf
1273 2012-03-21 19:14:06 <triptyl> amazing
1274 2012-03-21 19:14:57 TD has joined
1275 2012-03-21 19:15:06 <triptyl> looks like someone has incorporated some awesome homomorphic encryption into bitcoin to increase privacy: http://wbl.github.com/bitcoinanon.pdf
1276 2012-03-21 19:15:08 <triptyl> oops
1277 2012-03-21 19:16:03 TD has quit (Read error: Connection reset by peer)
1278 2012-03-21 19:16:06 TD_ has joined
1279 2012-03-21 19:16:21 jagarol has quit (Ping timeout: 244 seconds)
1280 2012-03-21 19:17:21 toffoo has joined
1281 2012-03-21 19:17:29 toffoo has quit (Client Quit)
1282 2012-03-21 19:18:01 Joric has joined
1283 2012-03-21 19:18:58 <rebroad> BlueMatt, lessfs and opendedup might be more suitable though (still reading up on this)
1284 2012-03-21 19:19:08 larsivi has joined
1285 2012-03-21 19:19:17 datagutt has quit (Quit: kthxbai)
1286 2012-03-21 19:20:27 jagarol has joined
1287 2012-03-21 19:22:10 Ahimoth has joined
1288 2012-03-21 19:23:42 jagarol has quit (Remote host closed the connection)
1289 2012-03-21 19:23:51 <luke-jr> so 0.6 is waiting on: 946, 947, 964, and a fix for the IPC hang issue; anything else?
1290 2012-03-21 19:24:10 jagarol has joined
1291 2012-03-21 19:24:25 <luke-jr> neofutur: rebroad: the problem you'll run into is that the blk files are NOT identical across bitcoin client instances
1292 2012-03-21 19:24:28 <triptyl> http://wbl.github.com/ - anonymous transactions in bitcoin
1293 2012-03-21 19:24:38 andytoshi has quit (Ping timeout: 276 seconds)
1294 2012-03-21 19:25:03 <rebroad> luke-jr, could they be though, in some theoretical node that's not been written yet?
1295 2012-03-21 19:25:26 <rebroad> luke-jr, with one file per block
1296 2012-03-21 19:25:28 <luke-jr> triptyl: have you given any thought to doing it without breaking old clients?
1297 2012-03-21 19:25:38 <luke-jr> rebroad: probably
1298 2012-03-21 19:25:40 <gmaxwell> triptyl: it would be better to call it "blinded" rather than anonymous.
1299 2012-03-21 19:26:16 <rebroad> luke-jr, I think it would be worth adapting bitcoin{d,-qt} to allow the blocks to be stored this way, so that they are more VPS friendly
1300 2012-03-21 19:26:20 <gavinandresen> luke-jr: I still want to pull AddrMan for 0.6.  Can you help test it?
1301 2012-03-21 19:26:55 <gmaxwell> Any reports from how its going on ltc? has it been effective against the attack?
1302 2012-03-21 19:27:02 <rebroad> gavinandresen, if I made a patch to bitcoin{d,-qt} to do this, would there be a way in which you'd be happy to ACK it?
1303 2012-03-21 19:27:09 <luke-jr> gavinandresen: like I said, it corrupted my addr.dat; no big deal to run with it locally, but I don't see any reason to expect it's fixed either…
1304 2012-03-21 19:27:19 <luke-jr> I guess I can run in gdb to try to get more info
1305 2012-03-21 19:27:25 <gavinandresen> luke-jr: were you running next-test?
1306 2012-03-21 19:27:31 jagarol has quit (Remote host closed the connection)
1307 2012-03-21 19:27:33 <[Tycho]> What attack ?
1308 2012-03-21 19:27:34 <luke-jr> gavinandresen: yes
1309 2012-03-21 19:27:41 <triptyl> luke-jr: that is by watson ladd. it uses a new opcode, so its not BC, but the approach enables a whole new class of privacy-preserving features. its pretty incredible
1310 2012-03-21 19:27:41 <luke-jr> gavinandresen: I always run next-test.
1311 2012-03-21 19:28:00 <gavinandresen> luke-jr: sigh.  Ok, can you test a git-head version and see if you get the same issue?
1312 2012-03-21 19:28:08 <luke-jr> gavinandresen: the crashes only occur when addrman is included
1313 2012-03-21 19:28:19 <luke-jr> I'll have to look over next-test and see if there's anything critical I need locally in it
1314 2012-03-21 19:28:25 <gavinandresen> ... and maybe something else in next-test is interacting badly with addrman
1315 2012-03-21 19:28:48 <gavinandresen> (which is why I'm not a fan of testing everything-and-the-kitchen-sink-all-at-once)
1316 2012-03-21 19:29:31 <gavinandresen> rebroad:  "do this"  <--- what is "this" please?
1317 2012-03-21 19:29:39 <luke-jr> possible, but better than test-nothing-at-all ;)
1318 2012-03-21 19:29:49 <luke-jr> gavinandresen: can I keep my autospender hack? :P
1319 2012-03-21 19:30:42 <rebroad> gavinandresen, sorry was being lazy and hoping you might read my previous few lines... I was wanting to make it so that bitcoin{d,-qt} can store the blocks as individual files so that VPSs can use filesystems that allow them to store identical files used by many clients physically only once
1320 2012-03-21 19:31:26 <gavinandresen> rebroad: that's.... a really bad idea.
1321 2012-03-21 19:31:58 <luke-jr> gavinandresen: git does it <.<
1322 2012-03-21 19:32:09 <gavinandresen> rebroad: had any experience with distributed database systems?
1323 2012-03-21 19:34:10 <BlueMatt> rebroad: I cant pretend to be an expert on deduping fs', I just know, as a vps provider, Id rather be running one of those than a public blockchain store...
1324 2012-03-21 19:34:38 <rebroad> gavinandresen, not really. which distributed database system are you referring to?
1325 2012-03-21 19:35:07 <dikidera> Does bitcoin have some -debug command line option?
1326 2012-03-21 19:35:13 <gavinandresen> rebroad: any of the big, scalable, fast distributed NoSQL db systems.  MongoDB, for example.  Heck, even memcache would be a better way to do it.
1327 2012-03-21 19:35:14 <dikidera> where it would give me more info of a tx etc
1328 2012-03-21 19:36:46 <gavinandresen> dikidera: yes.  -debug
1329 2012-03-21 19:36:51 andytoshi has joined
1330 2012-03-21 19:37:07 <luke-jr> rebroad: it'd probably be best to just abstract the blockchain from the wallet
1331 2012-03-21 19:37:26 <BlueMatt> network-based cblockstore :)
1332 2012-03-21 19:37:31 <BlueMatt> (would be very easy to do)
1333 2012-03-21 19:37:44 devrandom has quit (Remote host closed the connection)
1334 2012-03-21 19:38:42 SphericalCow has joined
1335 2012-03-21 19:38:51 <rebroad> gavinandresen, I must admit, I don't know much about how much disk I/O bitcoind currently uses for the .blk files....  I was assuming not too much other than at startup
1336 2012-03-21 19:40:00 <luke-jr> how do you build bitcoin-qt with debug info? :/
1337 2012-03-21 19:41:00 <BlueMatt> luke-jr: add a -g to the CXXFLAGS
1338 2012-03-21 19:41:13 <BlueMatt> (or if you have qt built with debug, add CONFIG += debug)
1339 2012-03-21 19:41:33 <BlueMatt> or if you are xcompiling for win32, add -g to CXXFLAGS and remove -Wl,-s from LDFLAGS
1340 2012-03-21 19:41:44 yogi_ has joined
1341 2012-03-21 19:42:42 triptyl has quit (Ping timeout: 244 seconds)
1342 2012-03-21 19:42:58 triptyl has joined
1343 2012-03-21 19:43:05 devrandom has joined
1344 2012-03-21 19:43:35 <gribble> New news from bitcoinrss: laanwj opened pull request 969 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/969>
1345 2012-03-21 19:44:53 yogi_ has left ()
1346 2012-03-21 19:50:50 Flarg_ has quit (Quit: Extraction complete.)
1347 2012-03-21 19:53:41 <gribble> New news from bitcoinrss: gavinandresen opened pull request 970 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/970>
1348 2012-03-21 19:56:20 SphericalCow has quit (Ping timeout: 272 seconds)
1349 2012-03-21 19:56:37 SphericalCow has joined
1350 2012-03-21 19:57:04 andytoshi has quit (Quit: WeeChat 0.3.5)
1351 2012-03-21 19:58:54 <triptyl> watson ladd = crypto genius
1352 2012-03-21 19:59:52 Flarg_ has joined
1353 2012-03-21 19:59:56 <BlueMatt> ???
1354 2012-03-21 20:01:52 barmstrong has joined
1355 2012-03-21 20:05:26 RazielZ has quit (Ping timeout: 244 seconds)
1356 2012-03-21 20:06:26 <rebroad> ah.. there appears to be something causing a SEGV in init.cpp at line 407, when it rescans..
1357 2012-03-21 20:06:30 <rebroad> debugging it now
1358 2012-03-21 20:08:47 <luke-jr> rebroad: odd, isn't it? :/
1359 2012-03-21 20:11:34 RazielZ has joined
1360 2012-03-21 20:12:18 TD has joined
1361 2012-03-21 20:15:17 andytoshi has joined
1362 2012-03-21 20:15:18 TD_ has quit (Ping timeout: 240 seconds)
1363 2012-03-21 20:17:20 <neofutur> BlueMatt: luke-jr rebroad I added your comments on https://bitcointalk.org/index.php?topic=71542
1364 2012-03-21 20:18:39 Turingi has joined
1365 2012-03-21 20:19:07 <egecko> 6000 more blocks
1366 2012-03-21 20:19:10 <egecko> *sigh*
1367 2012-03-21 20:22:29 andytoshi has quit (Ping timeout: 276 seconds)
1368 2012-03-21 20:26:29 dikidera is now known as diki
1369 2012-03-21 20:27:52 andytoshi has joined
1370 2012-03-21 20:27:54 SphericalCow_ has joined
1371 2012-03-21 20:28:38 SphericalCow has quit (Ping timeout: 272 seconds)
1372 2012-03-21 20:29:14 SphericalCow_ has left ()
1373 2012-03-21 20:29:44 SphericalCow has joined
1374 2012-03-21 20:30:48 <rebroad> neofutur, cool.. although, you could include the bit I said to luke-jr after he mentioned about the blk files, i.e. keeping it one block per file, although I think gavinandresen might have something to say about that - he suggested it was a bad idea, but I didn't yet understand why
1375 2012-03-21 20:31:53 <rebroad> luke-jr, gdb gives:- Program received signal SIGSEGV, Segmentation fault.
1376 2012-03-21 20:31:53 <rebroad> 0x00000000004eed66 in AppInit2 (argc=1, argv=0x7fffffffe1d8)
1377 2012-03-21 20:31:53 <rebroad>     at src/init.cpp:407
1378 2012-03-21 20:31:53 <rebroad> 407	        printf("Rescanning last %i blocks (from block %i)...\n", pindexBest->nHeight - pindexRescan->nHeight, pindexRescan->nHeight);
1379 2012-03-21 20:32:07 <rebroad> I suspect this is unrelated to my changes....
1380 2012-03-21 20:33:17 <neofutur> rebroad: one block / file ? meaning having a filesystem with 170000 files ?
1381 2012-03-21 20:33:19 <egecko> you would end up with literally millions+ of files residing in a directory
1382 2012-03-21 20:33:48 <egecko> you would have to create some kind of hierarchical convention to keep things from getting obscene and unmanagable
1383 2012-03-21 20:34:09 <gavinandresen> ooh!  ooh!  I know!  You could use a btree!
1384 2012-03-21 20:34:10 <rebroad> egecko, why millions? There are only 170000 or so blocks so far..
1385 2012-03-21 20:34:19 <egecko> because time doesnt end :)
1386 2012-03-21 20:34:31 <gmaxwell> rebroad: most file systems basically blow up with more than a few thousand files in a single directory.
1387 2012-03-21 20:34:53 <neofutur> rebroad: answer added !
1388 2012-03-21 20:35:00 <rebroad> gmaxwell, ok, so it could use subdirectories, like squid does...
1389 2012-03-21 20:35:03 <luke-jr> gmaxwell: could use the first octet as a subdir like git does
1390 2012-03-21 20:35:05 <gmaxwell> Because all the directory access operations are O(N). So e.g. fstating all the files in the directory becomes O(N^2)
1391 2012-03-21 20:35:14 <neofutur> yup will need subdirs for sure
1392 2012-03-21 20:35:15 <gmaxwell> sure sure, just pointing out...
1393 2012-03-21 20:35:55 barmstrong has quit (Ping timeout: 244 seconds)
1394 2012-03-21 20:36:04 <rebroad> are the blocks stored in memory and accessed there, or accessed regularly from the .blk files?
1395 2012-03-21 20:36:06 <luke-jr> rebroad: yeah, I have no idea why it only crashes with your patch
1396 2012-03-21 20:36:27 <rebroad> luke-jr, well, what causes a rescan?
1397 2012-03-21 20:36:49 <gmaxwell> rebroad: did you notice bitcoin using over a gig of memory?  (No) That might be a hint. ;)
1398 2012-03-21 20:37:22 <luke-jr> rebroad: I'm not familiar with that part of the code, sorry.
1399 2012-03-21 20:37:39 <rebroad> luke-jr, did yours crash during a rescan?
1400 2012-03-21 20:38:14 <luke-jr> rebroad: I didn't get useful info from gdb
1401 2012-03-21 20:38:31 barmstrong has joined
1402 2012-03-21 20:38:32 <rebroad> gmaxwell, ok, so a btree is kinda a good idea... but can the btree span many files, or does that cause a problem with file descriptors?
1403 2012-03-21 20:39:03 TD_ has joined
1404 2012-03-21 20:41:17 * BlueMatt bbl
1405 2012-03-21 20:42:14 <rebroad> luke-jr, can you make out what I need to do in gdb based on the output I pasted earlier please?
1406 2012-03-21 20:42:40 <luke-jr> rebroad: looks like pindexBest or pindexRescan aren't being set; why that is, I have no idea :/
1407 2012-03-21 20:42:47 TD has quit (Ping timeout: 252 seconds)
1408 2012-03-21 20:42:47 TD_ is now known as TD
1409 2012-03-21 20:44:53 larsivi has quit (Ping timeout: 245 seconds)
1410 2012-03-21 20:46:12 <gmaxwell> gavinandresen: I've been beating on the BDB settings patch.. seems safe enough. I'm quite concerned by the recent blockchain corruption reports.
1411 2012-03-21 20:46:30 <gmaxwell> Not sure if the bip30 change is just causing preexisting corruption to be more apparent or what...
1412 2012-03-21 20:47:31 <gavinandresen> gmaxwell: agreed, the blockchain corruption reports are disturbing
1413 2012-03-21 20:49:03 * luke-jr wonders if there's any way to identify the corrupt block when it causes a problem
1414 2012-03-21 20:49:45 <luke-jr> btw, you guys see the study on bitsquatting?
1415 2012-03-21 20:49:58 <rebroad> luke-jr, yeah, pindexBest = 0x0
1416 2012-03-21 20:50:20 <triptyl> yeah pretty cool luke-jr
1417 2012-03-21 20:50:23 <luke-jr> apparently memory corruption is common enough that flipping a bit in a common domain name gets useful results
1418 2012-03-21 20:50:32 <luke-jr> maybe the same thing we're seeing here
1419 2012-03-21 20:50:36 molecular has quit (Ping timeout: 252 seconds)
1420 2012-03-21 20:50:43 <gmaxwell> luke-jr: if it were a corrupt _block_ the startup scan (or -checkblocks) would find it, but they don't appear to.
1421 2012-03-21 20:50:57 terrytibbs is now known as JonNikopol
1422 2012-03-21 20:51:36 molecular has joined
1423 2012-03-21 20:51:41 <luke-jr> rebroad: it's initialized in LoadBlockIndex
1424 2012-03-21 20:52:02 <luke-jr> gmaxwell: didn't realize the startup checked for that
1425 2012-03-21 20:52:07 agricocb has quit (Quit: Leaving.)
1426 2012-03-21 20:52:34 <gmaxwell> luke-jr: checks the last 2000 blocks.
1427 2012-03-21 20:52:52 <luke-jr> isn't it usually further back?
1428 2012-03-21 20:53:03 <luke-jr> I guess I'm assuming
1429 2012-03-21 20:53:27 <luke-jr> has anyone posted a corrupt blockchain somewhere?
1430 2012-03-21 20:54:22 <gmaxwell> -checkblocks makes the check go all the way back... and people ran it without results.
1431 2012-03-21 20:57:43 <luke-jr> maybe just the index then?
1432 2012-03-21 20:59:52 pusle has quit ()
1433 2012-03-21 21:01:09 bulletbill has joined
1434 2012-03-21 21:04:47 Cablesaurus has quit (Quit: Download IceChat at www.icechat.net)
1435 2012-03-21 21:05:39 Nicksasa has quit (Ping timeout: 260 seconds)
1436 2012-03-21 21:06:56 userhgh has quit (Ping timeout: 246 seconds)
1437 2012-03-21 21:09:58 erle- has joined
1438 2012-03-21 21:10:55 bulletbill has left ()
1439 2012-03-21 21:11:18 specular has left ()
1440 2012-03-21 21:13:29 Stove has joined
1441 2012-03-21 21:13:32 <sipa> gmaxwell, gavinandresen: i'm working on a patch to do more extensive checking at startup
1442 2012-03-21 21:14:03 <gavinandresen> sipa: nice!
1443 2012-03-21 21:14:24 agricocb has joined
1444 2012-03-21 21:18:43 <sipa> gmaxwell: the point is that -checkblocks checks block validity (i.e. whether no corruption occurred when saving them, and whether their index entries are correct), it does not check the connection between blocks (whether spent transactions are marked spent, for example)
1445 2012-03-21 21:19:07 <sipa> and block validity has never been a problem (i haven't ever seen an instance of someone reporting that checkblocks found an error)
1446 2012-03-21 21:19:26 toffoo has joined
1447 2012-03-21 21:21:34 userhgh has joined
1448 2012-03-21 21:21:59 <luke-jr> wtf are people still using 0.3.x for? -.- https://bitcointalk.org/index.php?topic=72045.0
1449 2012-03-21 21:22:12 <gribble> New news from bitcoinrss: Diapolo opened pull request 971 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/971>
1450 2012-03-21 21:22:15 <sipa> they hate security
1451 2012-03-21 21:23:24 larsivi has joined
1452 2012-03-21 21:25:00 dxtr has joined
1453 2012-03-21 21:28:09 <luke-jr> oh well, at least nobody uses 0.5.0.x
1454 2012-03-21 21:28:22 <luke-jr> that was the main thing I wanted to confirm XD
1455 2012-03-21 21:29:22 barmstro_ has joined
1456 2012-03-21 21:31:45 ThiagoCMC has joined
1457 2012-03-21 21:32:48 barmstrong has quit (Ping timeout: 240 seconds)
1458 2012-03-21 21:33:20 <rebroad> luke-jr, found the bug ... doh...
1459 2012-03-21 21:36:13 <luke-jr> rebroad: what was it?
1460 2012-03-21 21:36:33 <luke-jr> sipa: 0.3.15 should have a bunch of security issues by now, right? <.<
1461 2012-03-21 21:36:39 <rebroad> I'd put if (!fRequestShutdown).....
1462 2012-03-21 21:36:50 <rebroad> should have been if (fRequestShutdown)
1463 2012-03-21 21:37:09 <rebroad> so it never got to the code that set findexBest...
1464 2012-03-21 21:37:36 <luke-jr> ah
1465 2012-03-21 21:38:16 gavinandresen has quit (Quit: gavinandresen)
1466 2012-03-21 21:39:06 <luke-jr> sipa: also, i must be dense to use a poll for this. know of any software that uses the p2p protocol to do version statistics? XD
1467 2012-03-21 21:39:16 JRWR has joined
1468 2012-03-21 21:40:14 eoss has joined
1469 2012-03-21 21:40:14 eoss has quit (Changing host)
1470 2012-03-21 21:40:14 eoss has joined
1471 2012-03-21 21:41:25 underscor has quit (Ping timeout: 246 seconds)
1472 2012-03-21 21:42:28 <sipa> luke-jr: my dns seeder? :)
1473 2012-03-21 21:42:41 <sipa> not really statistics though
1474 2012-03-21 21:42:45 <luke-jr> sipa: but that won't connect out and gather
1475 2012-03-21 21:42:53 <sipa> ?
1476 2012-03-21 21:42:58 <luke-jr> or will it?
1477 2012-03-21 21:43:08 <sipa> it's a network crawler
1478 2012-03-21 21:43:21 <sipa> it visits all listening nodes every hour
1479 2012-03-21 21:43:26 <luke-jr> ooo
1480 2012-03-21 21:44:59  has joined
1481 2012-03-21 21:45:02 ThiagoCMC has left ("Ex-Chat")
1482 2012-03-21 21:48:38 jacobwg has joined
1483 2012-03-21 21:49:38 ThomasV_ has quit (Ping timeout: 252 seconds)
1484 2012-03-21 21:50:38 Lexa has joined
1485 2012-03-21 21:53:27 Turingi has quit (Read error: Connection reset by peer)
1486 2012-03-21 21:55:41 <rebroad> can someone tell me how I can develop multiple patches at once. e.g. I've made some changes to some files which I don't want to include in a pull request.. is there any easy way to define which changes to include and which not to please?
1487 2012-03-21 21:56:45 Diablo-D3 has joined
1488 2012-03-21 22:00:59 jacobwg has left ("Textual IRC Client: http://www.textualapp.com/")
1489 2012-03-21 22:02:39 barmstrong has joined
1490 2012-03-21 22:03:12 barmstrong has quit (Remote host closed the connection)
1491 2012-03-21 22:03:45 barmstro_ has quit (Ping timeout: 260 seconds)
1492 2012-03-21 22:06:21 barmstrong has joined
1493 2012-03-21 22:06:33 skeledrew has joined
1494 2012-03-21 22:07:47 devrandom has quit (Ping timeout: 276 seconds)
1495 2012-03-21 22:08:16 <sipa> rebroad: work in separate branches
1496 2012-03-21 22:08:35 devrandom has joined
1497 2012-03-21 22:08:52 <luke-jr> rebroad: by default, git doesn't include anything in commits unless you tell it to
1498 2012-03-21 22:09:39 <graingert> with git i'm not sure what the pattern is for making two different patches where the second depends on the other
1499 2012-03-21 22:09:47 ThomasV_ has joined
1500 2012-03-21 22:09:57 <graingert> I'm presuming one creates and commits a version, then branches and done
1501 2012-03-21 22:10:30 <graingert> and adds the second patch to the branch based on the first
1502 2012-03-21 22:19:49 <sipa> luke-jr: http://bitcoin.sipa.be/seeds.txt is generated by my crawler
1503 2012-03-21 22:20:04 <sipa> luke-jr: and nanotube runs an instance as well
1504 2012-03-21 22:23:06 <gribble> New news from bitcoinrss: sipa opened pull request 972 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/972>
1505 2012-03-21 22:23:21 <luke-jr> sipa: "This page is in Swahili. Would you like to translate it? [Translate] [Nope]
1506 2012-03-21 22:23:34 <sipa> luke-jr: ?
1507 2012-03-21 22:23:41 da2ce7 has joined
1508 2012-03-21 22:24:00 <sipa> sturles: can you run my checklevel branch?
1509 2012-03-21 22:24:02 <luke-jr> Chromium is retarded :P
1510 2012-03-21 22:25:23 <Joric> yeah noticed that before ) Swahili. funny!
1511 2012-03-21 22:25:35 pancake_ has joined
1512 2012-03-21 22:26:35 <sipa> luke-jr: would you believe i'm also running chromium, opened my own page a thousand times, and never noticed that question?
1513 2012-03-21 22:26:41 <luke-jr> wow, like half the nodes are 0.3.23
1514 2012-03-21 22:26:45 <luke-jr> sipa: lol
1515 2012-03-21 22:27:18 <sturles> sipa: How do I pull it?
1516 2012-03-21 22:27:50 <sipa> sturles: you have an existing git repository?
1517 2012-03-21 22:28:17 <sipa> git remote add sipa https://github.com/sipa/bitcoin.git
1518 2012-03-21 22:28:24 <sipa> git fetch sipa
1519 2012-03-21 22:28:30 underscor has joined
1520 2012-03-21 22:28:32 <sipa> git checkout checklevel
1521 2012-03-21 22:28:35 <sipa> and then build
1522 2012-03-21 22:29:09 <luke-jr> 28% 0.3.23 ; 17% 0.3.24 ; 14% 0.4.0 ; 14% 0.5.2 ; 10% 0.5.1 ; 4% 0.3.21 ; 4% 0.5.3.1 <-- sad
1523 2012-03-21 22:29:15 <sturles> building..
1524 2012-03-21 22:30:06 <Joric> guess because 0.3.23 didn't have any fees for not-subcents
1525 2012-03-21 22:30:24 <Joric> or it was 0.3.20
1526 2012-03-21 22:30:33 * sturles runs one of the best 0.5.2s in that list.
1527 2012-03-21 22:30:38 <luke-jr> 4.27% are running maintained versions -.-
1528 2012-03-21 22:31:44 <Joric> heard windows xp is still pretty much popular
1529 2012-03-21 22:32:18 <sturles> sipa: Any special options?
1530 2012-03-21 22:32:20 <sipa> sturles: when it's built, run with -checklevel=3 or higher
1531 2012-03-21 22:32:27 <sturles> OK.
1532 2012-03-21 22:32:38 <sipa> (up to 5, higher means slower)
1533 2012-03-21 22:33:10 <sipa> i suppose that anyone who will use this option will use 5 anyway
1534 2012-03-21 22:34:17 <sipa> wow, i found an error in my own chain :S
1535 2012-03-21 22:34:28 <sturles> ! LoadBlockIndex() : *** moving best chain pointer back to block 169596
1536 2012-03-21 22:34:29 <gribble> Error: "LoadBlockIndex()" is not a valid command.
1537 2012-03-21 22:34:38 <luke-jr> on the bright side, at least 71% are immune to the recent vuln
1538 2012-03-21 22:34:45 <sturles> That's a long way..
1539 2012-03-21 22:34:54 <sipa> sturles: which error?
1540 2012-03-21 22:35:09 <sipa> LoadBlockIndex() : *** moving best chain pointer back to block 91721
1541 2012-03-21 22:35:11 <sipa> crap :S
1542 2012-03-21 22:35:25 <sturles> EXCEPTION: 11DbException
1543 2012-03-21 22:35:25 <sturles> Db::get: Cannot allocate memory
1544 2012-03-21 22:35:25 <sturles> bitcoin in AppInit()
1545 2012-03-21 22:35:45 <sipa> yes, too far, bdb cannot do such a large transaction
1546 2012-03-21 22:35:51 <sturles> :-(
1547 2012-03-21 22:35:58 <sipa> but just tell me, which error did he find?
1548 2012-03-21 22:36:23 <sturles> Several bad spends.  The oldest was this:
1549 2012-03-21 22:36:24 <sturles> LoadBlockIndex(): *** found bad spend at 169597, hashBlock=0000000000000193c755879c88f641e1e76c88ea1cb9e55c8dfbcf7423652d00, hashTx=efcc65e200672fcd912b3be6729d5c07fb03507dfaff4e2371c7cb501be92a97
1550 2012-03-21 22:36:55 <sturles> Newest:
1551 2012-03-21 22:36:56 <sturles> LoadBlockIndex(): *** found bad spend at 172015, hashBlock=00000000000005d9e241f
1552 2012-03-21 22:37:00 <sturles> 386776aea87037cb3c546265f77f45424beda325001, hashTx=fcf280f8d24f3a36478001e666016e5b232fe3138ecff9cc99494e0f974d82aa
1553 2012-03-21 22:37:39 ThomasV_ has quit (Quit: Quitte)
1554 2012-03-21 22:38:23 * luke-jr guesses the newer ones were only bad because of the older ones
1555 2012-03-21 22:39:03 <sturles> Not unlikely.
1556 2012-03-21 22:39:07 <sipa> bad spend means a transaction was marked spent, but is not spent by a tx in the main chain
1557 2012-03-21 22:39:56 <luke-jr> O.o
1558 2012-03-21 22:40:11 <sipa> what frightens me is that i have an error, and i just reloaded the entire blockchain
1559 2012-03-21 22:40:20 <luke-jr> bad reorg?
1560 2012-03-21 22:40:42 <sturles> Hmm.  Testing on another chain, which I thought was good, and it finds a lot of errors there as well.
1561 2012-03-21 22:43:03 <luke-jr> sipa: I wonder, if you grab 0.3.21 and download the full chain, and run the check, what it finds
1562 2012-03-21 22:44:09 <sipa> by the way, full blockchain check at level 5: 7 minutes
1563 2012-03-21 22:44:17 <luke-jr> o.o
1564 2012-03-21 22:44:21 <sipa> (it does not verify scripts, by the way)
1565 2012-03-21 22:44:41 <sturles> Darn.  LoadBlockIndex() : *** moving best chain pointer back to block 171902
1566 2012-03-21 22:44:51 <sturles> Which fails due to lack of memory.
1567 2012-03-21 22:45:12 <sipa> sturles: always the same error?
1568 2012-03-21 22:45:30 <egecko> 3000 more blocks... *yawn*
1569 2012-03-21 22:45:30 <sturles> found bad spend, yes.
1570 2012-03-21 22:45:42 <sipa> sturles: which level?
1571 2012-03-21 22:47:07 RazielZ has quit (Quit: Leaving)
1572 2012-03-21 22:48:34 graingert has left ()
1573 2012-03-21 22:50:17 barmstrong has quit (Remote host closed the connection)
1574 2012-03-21 22:50:59 pancake_ has quit (Quit: zzz)
1575 2012-03-21 22:51:18 <sturles> level?
1576 2012-03-21 22:51:25 * luke-jr facepalms
1577 2012-03-21 22:51:39 <sturles> Ah<1  3
1578 2012-03-21 22:51:43 <sipa> try 5...
1579 2012-03-21 22:52:49 <dxtr> can I somehow check that my wallet is indeed not broken?
1580 2012-03-21 22:53:00 <dxtr> Because my address' show up in bitcoin-qt... but my transactions won't
1581 2012-03-21 22:53:20 twmz has joined
1582 2012-03-21 22:53:31 <gmaxwell> dxtr: are you synchronized? How many blocks do you see?
1583 2012-03-21 22:53:45 <dxtr> 172250 blocks
1584 2012-03-21 22:53:54 <sipa> ;;bc,blocks
1585 2012-03-21 22:53:55 <gribble> 172250
1586 2012-03-21 22:54:00 <sipa> looks good
1587 2012-03-21 22:54:10 <sipa> dxtr: can you find your transactions on blockchain.info ?
1588 2012-03-21 22:54:15 <dxtr> Yes
1589 2012-03-21 22:54:32 <sipa> are they confirmed according to that site?
1590 2012-03-21 22:54:36 <dxtr> yes
1591 2012-03-21 22:54:47 <sipa> try starting bitcoin-qt with the -rescan option
1592 2012-03-21 22:55:01 <dxtr> http://blockchain.info/address/147ezAqRLQB9bb4Np9MUbTkHBENGP9Q3GR
1593 2012-03-21 22:55:54 <sipa> gmaxwell: i'm beginning to wonder how many people have somewhat-slightly-corrupted blockchain databases...
1594 2012-03-21 22:56:27 TD has quit (Quit: TD)
1595 2012-03-21 22:56:34 <Diablo-D3> sipa: a lot.
1596 2012-03-21 22:56:43 <Diablo-D3> infact I think 0.6.0 final needs one last fix
1597 2012-03-21 22:56:54 <sturles> sipa: rsyncing over another blockchain now.  Will try that one at level 5.
1598 2012-03-21 22:56:55 <Diablo-D3> on first execution verify the whole blockchain.
1599 2012-03-21 22:57:42 <sipa> whatever happens, if you download a blockchain over p2p from scratch, the result should be 100% valid
1600 2012-03-21 22:58:10 <dxtr> sipa: That toally worked
1601 2012-03-21 22:58:27 <dxtr> Than you so much :)
1602 2012-03-21 22:58:32 <sipa> dxtr: now comes the hard question: did you do anything special with the wallet?
1603 2012-03-21 22:58:33 <dxtr> I have to go wipe my underwear now
1604 2012-03-21 22:58:33 <egecko> i do not recommend doing that tho
1605 2012-03-21 22:58:42 <dxtr> sipa: The wallet? No
1606 2012-03-21 22:58:45 * egecko is now over 2 days d/ling the block chain via p2p
1607 2012-03-21 22:58:48 <gmaxwell> sipa: the interesting question is— what is corrupting them.
1608 2012-03-21 22:59:01 <dxtr> I just did the -rescan thing :)
1609 2012-03-21 22:59:04 <egecko> gmaxwell - greed is corrupting them! :)
1610 2012-03-21 22:59:10 <sipa> egecko: 0.6.0 will be a lot faster
1611 2012-03-21 22:59:13 * egecko ducks
1612 2012-03-21 23:00:12 andytoshi has quit (Quit: WeeChat 0.3.5)
1613 2012-03-21 23:00:18 <gmaxwell> sipa: I wonder if the long shutdown times are causing people to kill it — and if there is some issue with atomiticy between processing blocks and updating the txn records.
1614 2012-03-21 23:00:34 <BlueMatt> 0.7 will also get a little bump ;)
1615 2012-03-21 23:00:52 <egecko> i admit that the long shut down times have caused me to kill -9 it several times
1616 2012-03-21 23:01:19 * BlueMatt really rarely sees long shutdown times...
1617 2012-03-21 23:01:24 <egecko> it started becoming.. less cooperative, and that's actually when i decided to blow away the block chain... 2 days ago
1618 2012-03-21 23:01:26 <sipa> a few seconds, yes
1619 2012-03-21 23:01:43 <sturles> A normal shutdown of the computer will kill -9 a running bitcoind before it has finished stopping.
1620 2012-03-21 23:02:03 <egecko> this running on an extremely small linux vm instance tho, i was just being impatient
1621 2012-03-21 23:02:10 Stove has quit ()
1622 2012-03-21 23:05:42 barmstrong has joined
1623 2012-03-21 23:07:25 <BlueMatt> arg, bitcoin just crashed mid-chain-download with "boost::interprocess::lock_exception"
1624 2012-03-21 23:08:15 barmstrong has quit (Remote host closed the connection)
1625 2012-03-21 23:12:52 <luke-jr> wumpus: ping
1626 2012-03-21 23:18:04 barmstrong has joined
1627 2012-03-21 23:18:36 <luke-jr> BlueMatt: are you able to test some Win32 builds for thread safety in a bit?
1628 2012-03-21 23:19:17 <BlueMatt> luke-jr: sure
1629 2012-03-21 23:19:29 <BlueMatt> luke-jr: its not hard to test though, walletlock on an unencrypted wallet kills it every time
1630 2012-03-21 23:19:33 <BlueMatt> (after like 5 tries)
1631 2012-03-21 23:19:44 <BlueMatt> and it works fine in wine
1632 2012-03-21 23:19:59 Joric has quit ()
1633 2012-03-21 23:20:13 cdecker has quit (Ping timeout: 244 seconds)
1634 2012-03-21 23:21:47 <luke-jr> BlueMatt: interesting
1635 2012-03-21 23:23:23 <BlueMatt> (ie reproduces in wine)
1636 2012-03-21 23:28:34 dr_nix has quit (Ping timeout: 260 seconds)
1637 2012-03-21 23:34:47 <rebroad> hmm... my bitcoin client actually seems to download an entire blockchain faster when it's limited to 8 outbound connections than when it's limited to 125....
1638 2012-03-21 23:35:17 <neofutur> hum not surprised
1639 2012-03-21 23:36:02 <neofutur> could be ISP related, I have the ssame kind of problems here
1640 2012-03-21 23:36:16 <sturles> rsync finally done.  Trying checklevel=5 on a third chain.
1641 2012-03-21 23:36:44 <neofutur> my bad ISP say he give , say 2mb/s, but if you connect to hundreds of ips . . . things get weird very fast
1642 2012-03-21 23:37:25 <sturles> \o/ -- an error free chain!
1643 2012-03-21 23:38:13 <sturles> This chain was from a node which hasn't been rebooted in a while.  up 303 days
1644 2012-03-21 23:38:14 <rebroad> sturles, re the kill -9.. bitcoind does have quite a few sleeps in it during the shutdown... perhaps these need to be shortened..?
1645 2012-03-21 23:39:07 <sturles> Are there sleeps?  I thought it was commiting transactions.  At my node it is I/O bound while stopping-
1646 2012-03-21 23:39:27 Snapman[afkers] is now known as Snapman
1647 2012-03-21 23:48:40 splatster has joined
1648 2012-03-21 23:55:14 <luke-jr> https://bitcointalk.org/index.php?topic=72069.0
1649 2012-03-21 23:55:17 <luke-jr> ^ look good?
1650 2012-03-21 23:56:20 <dxtr> http://blockchain.info/address/147ezAqRLQB9bb4Np9MUbTkHBENGP9Q3GR <- Why is that last transaction looking weird
1651 2012-03-21 23:56:23 <dxtr> ?
1652 2012-03-21 23:57:16 <luke-jr> looks normal to me
1653 2012-03-21 23:57:27 <dxtr> Well okay then p
1654 2012-03-21 23:57:28 <dxtr> :P
1655 2012-03-21 23:58:07 Z0rZ0rZ0r has joined
1656 2012-03-21 23:59:10 <rebroad> sturles, yes, there are sleeps, but it's probably due to the multithreading
1657 2012-03-21 23:59:39 <luke-jr> BlueMatt: http://luke.dashjr.org/tmp/code/bitcoin-qt.exe