1 2012-08-31 00:00:02 <helo> did the bdb lib change?
   2 2012-08-31 00:00:23 <dooglus> helo: who built your executables?  they might know
   3 2012-08-31 00:01:21 <helo> bitcoin-ppa, and presumably gavin, or whoever built the rc tarball for him
   4 2012-08-31 00:01:32 <sipa> hmm.. PPA
   5 2012-08-31 00:01:39 <sipa> those are built by ubuntu, iirc
   6 2012-08-31 00:01:50 <BlueMatt> those are built by launchpad using my scripts
   7 2012-08-31 00:01:52 <BlueMatt> and use 4.8
   8 2012-08-31 00:02:18 <BlueMatt> ubuntu's official packages use newer versions and break...
   9 2012-08-31 00:03:53 <helo> looks like the 0.7rc1 binary has bdb and boost included statically
  10 2012-08-31 00:03:57 Dyaheon- has quit (Ping timeout: 246 seconds)
  11 2012-08-31 00:04:22 <sipa> helo: the PPA binary, or the tarball?
  12 2012-08-31 00:04:29 <helo> the tarball
  13 2012-08-31 00:04:37 <helo> i didn't know 0.7rc1 was in the ppa
  14 2012-08-31 00:04:42 <sipa> oooh
  15 2012-08-31 00:04:48 <BlueMatt> 0.7rc1 isnt
  16 2012-08-31 00:04:54 <sipa> so you switched from PPA to tarball?
  17 2012-08-31 00:05:08 <helo> yes
  18 2012-08-31 00:05:08 <sipa> that's almost guaranteed to result in a different BDB library
  19 2012-08-31 00:05:20 <sipa> meh
  20 2012-08-31 00:05:22 <BlueMatt> uhh..no its not
  21 2012-08-31 00:05:37 <helo> BlueMatt: the tarball is statically linked to bdb
  22 2012-08-31 00:05:37 <BlueMatt> the ppa is specifically designed so it doesnt...
  23 2012-08-31 00:05:43 <BlueMatt> and so is the ppa
  24 2012-08-31 00:05:47 <sipa> if it's built statically, it's most certainly not exactly the same as the one Ubuntu ships
  25 2012-08-31 00:06:02 <helo> from the ppa bitcoin-qt, i see libdb_cxx-4.8.so => /usr/lib/x86_64-linux-gnu/libdb_cxx-4.8.so (0x00007f65540fe000)
  26 2012-08-31 00:06:21 <BlueMatt> oh, no sorry its not, but its still 4.8.30 which is the same version
  27 2012-08-31 00:06:22 <helo> no equivalent for the 0.7rc1 binary
  28 2012-08-31 00:06:27 <sipa> for the bdb environment you don't just need the same version, afaik, to retain compatibility
  29 2012-08-31 00:06:34 <sipa> but exactly the same library
  30 2012-08-31 00:06:49 <BlueMatt> mmm...
  31 2012-08-31 00:07:15 <sipa> afaict, BDB software is only intended to be upgraded by trained database administrators
  32 2012-08-31 00:08:25 <helo> well i guess it should be identical in 0.6.3 and 0.7 from the ppa
  33 2012-08-31 00:08:32 <sipa> ... maybe
  34 2012-08-31 00:08:38 Dyaheon has joined
  35 2012-08-31 00:08:38 Dyaheon has quit (Remote host closed the connection)
  36 2012-08-31 00:08:40 <jgarzik> dumb question:  what is PPA?
  37 2012-08-31 00:08:53 <jgarzik> (not that it's terribly relevant to me as a Fedora user, just curious)
  38 2012-08-31 00:08:55 <BlueMatt> jgarzik: the ubuntu repo we link to on bitcoin.org ;)
  39 2012-08-31 00:08:55 Dyaheon has joined
  40 2012-08-31 00:08:56 <helo> as long as BlueMatt doesn't build it statically on accident :)
  41 2012-08-31 00:08:58 <sipa> jgarzik: personally maintained Ubuntu repository
  42 2012-08-31 00:09:34 Fanquake has left ()
  43 2012-08-31 00:10:28 <jgarzik> does the new UI RPC console support stuff like decoderawtransaction `gettransaction foo` ?
  44 2012-08-31 00:11:10 <sipa> no
  45 2012-08-31 00:11:14 <sipa> not afaik
  46 2012-08-31 00:11:17 <gmaxwell> jgarzik: nope.
  47 2012-08-31 00:11:45 <gmaxwell> I resisted lamenting that, because it very very rapidly becomes 'embed a whole programming language'.
  48 2012-08-31 00:12:19 <sipa> i'm starting to worry that disabling -detachdb by default will cause trouble for many users on upgrading...
  49 2012-08-31 00:12:23 iocor has quit (Quit: Computer has gone to sleep.)
  50 2012-08-31 00:12:25 <gmaxwell> The first cut didn't even make it easy to copy such values. :)
  51 2012-08-31 00:12:51 <BlueMatt> sipa: so lets upgrade to leveldb instead of making people upgrade ;)
  52 2012-08-31 00:13:07 * gmaxwell checks his logs to see if he made his dislike of detatchdb clear enough to justfiy an I told you so.
  53 2012-08-31 00:13:09 <jgarzik> sipa: I think it may :(
  54 2012-08-31 00:14:01 <jgarzik> may want to turn it back on for rc2, and then we can forget about this shit when leveldb is merged
  55 2012-08-31 00:14:09 <jgarzik>  BTW, which comes first, leveldb or ultraprune?
  56 2012-08-31 00:14:15 <sipa> i hope both at once
  57 2012-08-31 00:14:28 <jgarzik> sipa: you'll do a merge tree?
  58 2012-08-31 00:14:46 <sipa> but if ultraprune doesn't make the cut for whatever comes after 0.7, i pray that leveldb does
  59 2012-08-31 00:15:49 * jgarzik would rather leveldb come first, in terms of merge order.  Making ultraprune the very next commit after that is fine.  Would make testing easier, though it's more sipa work rebasing on top of leveld b
  60 2012-08-31 00:15:51 CodesInChaos has quit (Ping timeout: 248 seconds)
  61 2012-08-31 00:16:23 <jgarzik> i.e. merging leveldb first means we can prove that nothing else changes, as the database structure itself remains intact
  62 2012-08-31 00:16:25 * BlueMatt has to admit he would like to see way more thorough testing before ultraprune, but thats probably just bikeshedding...
  63 2012-08-31 00:16:48 <jgarzik> i.e. replace database (leveldb), verify, then replace database schema (ultraprune)
  64 2012-08-31 00:17:02 <sipa> BlueMatt: yes, that's why i'm wary about whether it making what comes after 0.7
  65 2012-08-31 00:18:17 <sipa> i have some unit tests, and did one quite convincing test (extracted an ultraprune database out of a traditional blkindex.dat, and it was byte-for-byte identical to the database ultraprune built from scratch), that's certainly not enough to know that its semantics are exactly the same
  66 2012-08-31 00:18:31 * jgarzik was thinking in terms of git tree commit order, not release order.  I sorta assumed at this point that leveldb and ultraprune would make 0.8
  67 2012-08-31 00:19:18 <jgarzik> if we are going to do a big db rewrite, we should not spread it across multiple releases if we can help it
  68 2012-08-31 00:19:22 <sipa> jgarzik: anyway, if leveldb is merged first, i'll just keep the import of the tree and the makefiles, and write my own glue (which will be almost nothing)
  69 2012-08-31 00:19:24 <BlueMatt> mostly I want to see test_bitcoin (or other tool) do more thorough testing of block acceptance and wallet handling of crazy block acceptance order
  70 2012-08-31 00:19:38 <gmaxwell> BlueMatt: well, your block tester is a big part of the testing neded for the ultraprune and leveldb changes.
  71 2012-08-31 00:19:44 <gmaxwell> (since it tests reorgs)
  72 2012-08-31 00:20:01 <BlueMatt> gmaxwell: yep, but its not nearly enough, I mean 60 something blocks is next to nothing...
  73 2012-08-31 00:20:21 <helo> ok, just finished running detachdb, and still the same error
  74 2012-08-31 00:20:37 <gmaxwell> I know, but a lot of that work is just starting up the infrastructure. In theory the rest is just looking at coverage reports and thinking a bit to add more cases.
  75 2012-08-31 00:20:39 <sipa> helo: the -detachdb should have run before upgrading
  76 2012-08-31 00:20:39 <jgarzik> any reorg larger than $MinerMaturity (100 or 120, depending on who you ask) will be.... "fun"
  77 2012-08-31 00:21:11 <jgarzik> BlueMatt: is this block tester an external tool I could use with pynode?
  78 2012-08-31 00:21:20 <jgarzik> BlueMatt: pynode wants more reorg testing
  79 2012-08-31 00:21:20 <BlueMatt> jgarzik: yes, its bitcoinj-based
  80 2012-08-31 00:21:37 <helo> sipa: so once i've tried to run 0.7rc1 without running -detachdb, i can't simply run 0.6.3 with -detachdb, and retry?
  81 2012-08-31 00:21:45 <BlueMatt> jgarzik: port the patch and run the jar (with something listening on localhost:8333) http://jenkins.bluematt.me/pull-tester/files/
  82 2012-08-31 00:21:50 <gmaxwell> jgarzik: I'd commented before that perhaps 0.8.0 should be a not-recommended for mining and major services (where chain corruption/desync would be seriously problematic)
  83 2012-08-31 00:22:02 <sipa> helo: you can try, i frankly don't know
  84 2012-08-31 00:22:07 <BlueMatt> jgarzik: look at the last line listing blocks who's acceptance differs from bitcoind/bitcoinj
  85 2012-08-31 00:22:14 <sipa> helo: BDB is very picky about database upgrades
  86 2012-08-31 00:22:43 <BlueMatt> jgarzik: actually, let me go package the version I finished up yesterday, it has maybe another 10 tests or so...
  87 2012-08-31 00:23:18 <jgarzik> gmaxwell: hmmm
  88 2012-08-31 00:23:29 <jgarzik> gmaxwell: your caution is certainly understandable
  89 2012-08-31 00:24:08 <gmaxwell> Chain corruption on random users is just an annoyance, not really a big deal.
  90 2012-08-31 00:24:09 <jgarzik> gmaxwell: but I hate to release something with a "don't use this" caveat
  91 2012-08-31 00:24:18 <gmaxwell> Yea... it's true.
  92 2012-08-31 00:24:37 <sipa> ideally, that "don't use this" should be release candidates
  93 2012-08-31 00:25:16 Obsi has joined
  94 2012-08-31 00:25:16 <gmaxwell> jgarzik: so on this testing subject. I thought I remembered there existing a linux kernel 'logging' block device for FS testing that would let you take a log of FS writes, and then mount with it torn at varrious points.  But I can't find anything like it, and perhaps I'm just imagining it.
  95 2012-08-31 00:25:27 <BlueMatt> I thought all existing releases had a "don't use this" caveat?
  96 2012-08-31 00:25:42 <jgarzik> heh
  97 2012-08-31 00:25:44 <gmaxwell> jgarzik: I'd like to use something like that to test leveldb+ultraprune.. can we tear a bluemattblocktest after every single write and recover?
  98 2012-08-31 00:26:07 <jgarzik> gmaxwell: hmmm maybe, lemme search.  FWIW btrfs is COW...
  99 2012-08-31 00:26:13 <gmaxwell> jgarzik: you wouldn't by chance happen to know what I'm talking about?  Otherwise I guess it wouldn't be too terribly hard to write one using nbd.
 100 2012-08-31 00:26:39 <gmaxwell> jgarzik: yea, I want something analogous to snapshot after every single disk block written though. :)
 101 2012-08-31 00:26:53 <gmaxwell> (basically simulating crashing at every possible point)
 102 2012-08-31 00:26:54 <sipa> i think it shouldn't be too hard to write fuse filesystem that makes such logs
 103 2012-08-31 00:27:05 <jgarzik> gmaxwell: btrfs can do that
 104 2012-08-31 00:27:19 <jgarzik> gmaxwell: though it would be manual, not automatic from within the kernel
 105 2012-08-31 00:27:49 <gmaxwell> hm. Perhaps, I could shim libc. But we're talking millions of snapshots.
 106 2012-08-31 00:28:43 <gmaxwell> (perhaps not quite that many, depending on how fast recovery is I could only test a subset, but still an enormous number)
 107 2012-08-31 00:29:34 <helo> but chain corruption to every ubuntu user may be a bit of a big deal
 108 2012-08-31 00:29:38 <gmaxwell> It sort of worries me that some tool like this doesn't exist. I dunno how you could be confident in database recovery without a torn-write fuzzer.
 109 2012-08-31 00:30:15 vampireb has joined
 110 2012-08-31 00:30:27 <gmaxwell> helo: At the moment I think you're the only person I think whos' reported that, so I don't know why but I'm guessing it isn't every user.
 111 2012-08-31 00:30:27 <BlueMatt> jgarzik: ok, grab the version now, it may well have errors, but it should be ok...
 112 2012-08-31 00:30:39 BitcoinBaltar has quit (Remote host closed the connection)
 113 2012-08-31 00:30:59 <helo> gmaxwell: but on both of my stock ubuntu 12.04 systems
 114 2012-08-31 00:31:09 <helo> i don't do anything weird, just a standard install + upgrades
 115 2012-08-31 00:31:39 <helo> let me try on my son's 32-bit 12.04 system
 116 2012-08-31 00:31:45 BitcoinBaltar has joined
 117 2012-08-31 00:31:47 <sipa> gmaxwell: not sure how many Ubuntu users go from PPA to rc binaries
 118 2012-08-31 00:31:53 <gmaxwell> helo: are these the project binaries, or binaries you built?
 119 2012-08-31 00:32:00 BitcoinBaltar has quit (Remote host closed the connection)
 120 2012-08-31 00:32:13 <helo> the ppa binaries for 0.6.3, and now the 0.7rc1 binary from gavin's tarball
 121 2012-08-31 00:32:28 <gmaxwell> (e.g. did _we_ bump the bdb version, or ?)
 122 2012-08-31 00:32:39 <sipa> gmaxwell: no, all 4.8 still
 123 2012-08-31 00:32:49 <sipa> but it's not *exactly* the same 4.8
 124 2012-08-31 00:32:56 <gmaxwell> right, bleh.
 125 2012-08-31 00:33:02 <sipa> the one used in the rc binaries and the ubuntu lib differ
 126 2012-08-31 00:33:15 <sipa> and the fact that that is enough to make it complain, worries me
 127 2012-08-31 00:33:37 osmosis has joined
 128 2012-08-31 00:35:09 <gmaxwell> helo: so your 0.6.3 started cleanly, you shut down cleanly with detach db... started 0.7rc1 and it barfed? :(
 129 2012-08-31 00:35:29 <sipa> gmaxwell: without detachdb
 130 2012-08-31 00:35:37 one_zero has joined
 131 2012-08-31 00:35:48 BitcoinBaltar has joined
 132 2012-08-31 00:35:55 <jgarzik> gmaxwell: yeah.  it is certainly possible there is a tool/filesystem like you were thinking, but I cannot find it at the moment.
 133 2012-08-31 00:36:23 <jgarzik> gmaxwell: it is also possible to record stuff via perf or other systemtap tools.  that does not address replay, of course, but may make the task easier.
 134 2012-08-31 00:36:46 <helo> gmaxwell: yes :/
 135 2012-08-31 00:36:49 <jgarzik> perf and friends can watch FS or block activity
 136 2012-08-31 00:37:11 <sipa> gmaxwell: NILFS?
 137 2012-08-31 00:37:39 <sipa> "continuous snapshotting"
 138 2012-08-31 00:38:08 <gmaxwell> hm. well that may well do what I want, it's not what I was thinking of though. (in particular what I was thinking of would have been useful for testing filesystems)
 139 2012-08-31 00:38:18 <gmaxwell> but that may have been pure imagination
 140 2012-08-31 00:38:38 <jgarzik> gmaxwell: sadly most filesystems have developed their own, often fs-specific testing tools
 141 2012-08-31 00:38:44 <jgarzik> *poof* baby bedtime
 142 2012-08-31 00:39:50 <helo> gmaxwell: also, i now did ./bitcoin-qt -loadblock=$HOME/.bitcoin-0.6.3/blk0001.dat, and lsof doesn't show that it has the file open
 143 2012-08-31 00:40:42 <sipa> helo: what is debug.log saying?
 144 2012-08-31 00:41:01 <sipa> tail -f ~/.bitcoin/denug.log
 145 2012-08-31 00:41:05 <gmaxwell> presumably the bitcoin-qt isn't using a datadir of .bitcoin-0.6.3, ?
 146 2012-08-31 00:42:43 <helo> i just had to do -loadblock=/path/to/good/blk0000.dat, with /path/to/good/ being $HOME/.bitcoin-0.6.3/
 147 2012-08-31 00:42:56 <helo> i *thought
 148 2012-08-31 00:43:01 <sipa> yes
 149 2012-08-31 00:43:21 <sipa> but tell me what it's doing if it's not importing that file
 150 2012-08-31 00:43:44 <helo> it's loading from the network as usual
 151 2012-08-31 00:44:09 <gmaxwell> helo: how do you know that?
 152 2012-08-31 00:44:56 <gmaxwell> helo: yes, thats the right thing.. but it can't be the blockfile you're currently using.
 153 2012-08-31 00:46:53 <helo> gmaxwell: i think it's loading from the network as usual because i have 11 peers, and $HOME/.bitcoin-0.6.3/blk0001.dat isn't open according to lsof
 154 2012-08-31 00:47:24 <sipa> helo: can you check debug.log for what it did right after startup?
 155 2012-08-31 00:47:39 <sipa> there should be something there at least about an attempted loadblock
 156 2012-08-31 00:48:12 <helo> no mention of loadblock anywhere in there
 157 2012-08-31 00:48:57 <gmaxwell> helo: paste the actual commandline
 158 2012-08-31 00:49:20 <sipa> can you paste the first few lines of debug.log, after " wallet        <time>ms" ?
 159 2012-08-31 00:49:29 <helo> hah, i used ~ instead of $HOME...
 160 2012-08-31 00:49:42 <sipa> ah, that won't work
 161 2012-08-31 00:49:51 <sipa> though it should complain instead of ignore silently..
 162 2012-08-31 00:50:03 <gmaxwell> boo ya. go go tech support, never ever trust the user. :)
 163 2012-08-31 00:51:13 <BlueMatt> helo: did you plug the computer in?
 164 2012-08-31 00:52:43 minimoose_ has joined
 165 2012-08-31 00:52:55 ivan\_ has joined
 166 2012-08-31 00:53:46 <gmaxwell> BlueMatt: when I was a wee lad I worked in my father's PC store. Often we had customers take home machines and call up irate because they wouldn't turn on. The issue was often that we hit the psu power switch, where they normally used some surge strip to turn on the computer. Asking them to turn on the switch on the computer itself inevitably got an angry "it's already on!"
 167 2012-08-31 00:54:07 <gmaxwell> The solution to this was to tell them to turn that switch _off_.  "Oh! it just started!")
 168 2012-08-31 00:54:12 <helo> i thought bash would have expanded that automatically... i guess it expands path=~/blah, but not -path=~/blah
 169 2012-08-31 00:54:52 <gmaxwell> helo: anything~/blah will not expand.
 170 2012-08-31 00:54:52 <sipa> helo: no, it only expands ~/blah
 171 2012-08-31 00:55:00 <gmaxwell> I think the tilde has to have whitespace in front of it.
 172 2012-08-31 00:55:01 <BlueMatt> gmaxwell: yep
 173 2012-08-31 00:55:55 <helo> -path=~/blah path=/home/nathan/blah
 174 2012-08-31 00:58:46 sirk390 has joined
 175 2012-08-31 00:59:14 ivan\_ is now known as ivan\
 176 2012-08-31 00:59:15 minimoose_ is now known as minimoose
 177 2012-08-31 01:02:04 D34TH has quit (Read error: Connection reset by peer)
 178 2012-08-31 01:02:59 JudgeTheDude has quit (Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/)
 179 2012-08-31 01:03:46 da2ce7_d is now known as da2ce7
 180 2012-08-31 01:05:27 nathaniel has joined
 181 2012-08-31 01:06:32 denisx has quit (Quit: denisx)
 182 2012-08-31 01:15:42 vigilyn has quit (Ping timeout: 246 seconds)
 183 2012-08-31 01:21:13 janfrech has quit (Ping timeout: 252 seconds)
 184 2012-08-31 01:22:36 denisx has joined
 185 2012-08-31 01:23:23 janfrech has joined
 186 2012-08-31 01:23:24 rdponticelli has quit (Ping timeout: 264 seconds)
 187 2012-08-31 01:24:34 amnesia_ has joined
 188 2012-08-31 01:26:27 sirk390 has quit (Ping timeout: 260 seconds)
 189 2012-08-31 01:28:27 janfrech has quit (Ping timeout: 272 seconds)
 190 2012-08-31 01:28:37 sirk390 has joined
 191 2012-08-31 01:28:41 cheako has joined
 192 2012-08-31 01:29:49 janfrech has joined
 193 2012-08-31 01:30:46 setkeh has quit (Quit: Love Linux ?? and Sharing Experience ?? Come Join us on Freenode at #linuxdistrocommunity)
 194 2012-08-31 01:33:26 <jgarzik> thank you, netsplit, for killing my limited scrollback
 195 2012-08-31 01:33:45 janfrech has quit (Remote host closed the connection)
 196 2012-08-31 01:33:46 <BlueMatt> jgarzik: you missed a total of 0 lines of conversation
 197 2012-08-31 01:34:37 janfrech has joined
 198 2012-08-31 01:34:51 <gmaxwell> hm, looks like LTC will hit its subsidy having in a couple weeks.
 199 2012-08-31 01:38:10 <jgarzik> fireduck: "Pool with difficulty 32 for less network chatter (HHTT)"
 200 2012-08-31 01:38:19 * jgarzik wonders why pools did not do this.. a year ago
 201 2012-08-31 01:38:24 sirk390 has quit (Quit: Leaving.)
 202 2012-08-31 01:39:31 janfrech has quit (Ping timeout: 276 seconds)
 203 2012-08-31 01:39:58 Gladamas has quit (Quit: restarting quassel)
 204 2012-08-31 01:40:24 Gladamas has joined
 205 2012-08-31 01:40:26 rdponticelli has joined
 206 2012-08-31 01:42:55 <gmaxwell> eligius upped the diff at one point and had to go back due to complaints.
 207 2012-08-31 01:43:25 <denisx> my pool is offering a port with diff-2 since a year
 208 2012-08-31 01:43:28 Eleuthria has joined
 209 2012-08-31 01:43:45 <gmaxwell> (er, or someone did?)
 210 2012-08-31 01:46:02 janfrech has joined
 211 2012-08-31 01:46:48 <Luke-Jr> gmaxwell: not Eligius
 212 2012-08-31 01:47:21 <gmaxwell> yea, I put out the er after grepping my #eligius logs. I know one of the pools did.
 213 2012-08-31 01:47:24 <gmaxwell> (went to diff 2)
 214 2012-08-31 01:47:36 <Luke-Jr> gmaxwell: though Eligius will be dynamicly adjusted difficulty soon
 215 2012-08-31 01:52:11 <DBordello> What were the complaints?  Seeing fewer shares submitted?
 216 2012-08-31 01:55:16 meLon has joined
 217 2012-08-31 01:55:16 meLon has quit (Changing host)
 218 2012-08-31 01:55:16 meLon has joined
 219 2012-08-31 02:04:56 eoss has joined
 220 2012-08-31 02:04:56 eoss has quit (Changing host)
 221 2012-08-31 02:04:56 eoss has joined
 222 2012-08-31 02:14:00 <denisx> DBordello: miners who do not support someting other than diff-1 got too much invalids
 223 2012-08-31 02:15:08 <DBordello> denisx, ah,
 224 2012-08-31 02:15:50 nathaniel has quit (Quit: :>)
 225 2012-08-31 02:20:28 denisx has quit (Quit: denisx)
 226 2012-08-31 02:22:46 Arnavion3 has joined
 227 2012-08-31 02:22:47 Arnavion has quit (Disconnected by services)
 228 2012-08-31 02:22:47 Arnavion3 is now known as Arnavion
 229 2012-08-31 02:29:34 paraipan has quit (Ping timeout: 276 seconds)
 230 2012-08-31 02:30:57 paraipan has joined
 231 2012-08-31 02:31:15 <amiller> midnightmagic, are your databases still corrupted
 232 2012-08-31 02:31:37 <amiller> i wonder what would happen if we tried to diff your database against one that someone else prepares for you
 233 2012-08-31 02:32:47 paraipan has quit (Client Quit)
 234 2012-08-31 02:33:07 <amiller> i don't remember if your db ended up totally unreadable, maybe this isn't applicable
 235 2012-08-31 02:33:25 phantomcircuit has quit (Quit: Leaving)
 236 2012-08-31 02:33:35 <gmaxwell> amiller: when a contradiction with the chain in found bitcoin will log what the problem is.
 237 2012-08-31 02:33:39 Eleuthria has left ()
 238 2012-08-31 02:34:00 <gmaxwell> (e.g. when the chain spends a transaction which wasn't unspent bitcoin will tell you which txn it couldn't find in the database)
 239 2012-08-31 02:34:40 <amiller> if your index lost a hundred random elements, for example, you would only notice the first txn that hits a utxo in that set
 240 2012-08-31 02:35:03 <amiller> so you might not know about all the ones you've got wrong
 241 2012-08-31 02:35:13 <gmaxwell> Thats true.
 242 2012-08-31 02:35:52 phantomcircuit has joined
 243 2012-08-31 02:38:04 Mobius_ has joined
 244 2012-08-31 02:39:58 MobiusL has quit (Ping timeout: 276 seconds)
 245 2012-08-31 02:39:59 fiesh has quit (Ping timeout: 244 seconds)
 246 2012-08-31 02:42:32 osmosis has quit (Ping timeout: 260 seconds)
 247 2012-08-31 02:43:26 phantomcircuit has quit (Quit: Leaving)
 248 2012-08-31 02:43:31 fiesh has joined
 249 2012-08-31 02:44:29 phantomcircuit has joined
 250 2012-08-31 02:45:10 eoss has quit (Quit: Leaving)
 251 2012-08-31 02:45:30 eoss has joined
 252 2012-08-31 02:45:31 eoss has quit (Changing host)
 253 2012-08-31 02:45:31 eoss has joined
 254 2012-08-31 02:45:46 OneFixt has quit (Read error: Connection reset by peer)
 255 2012-08-31 02:46:11 OneFixt has joined
 256 2012-08-31 02:53:48 paraipan has joined
 257 2012-08-31 03:00:20 paraipan has quit (Quit: Saliendo)
 258 2012-08-31 03:08:20 Z0rZ0rZ0r_ has joined
 259 2012-08-31 03:09:35 asa has quit (Ping timeout: 246 seconds)
 260 2012-08-31 03:10:13 Z0rZ0rZ0r__ has quit (Ping timeout: 245 seconds)
 261 2012-08-31 03:10:14 phantomcircuit has left ("Leaving")
 262 2012-08-31 03:10:33 asa has joined
 263 2012-08-31 03:16:09 pickett has joined
 264 2012-08-31 03:21:46 AlexWaters has quit (Ping timeout: 245 seconds)
 265 2012-08-31 03:26:50 eoss has quit (Quit: Leaving)
 266 2012-08-31 03:34:24 TheSeven has quit (Disconnected by services)
 267 2012-08-31 03:34:31 [7] has joined
 268 2012-08-31 03:34:45 <BlueMattBot> Project Bitcoin build #51: FAILURE in 4 hr 38 min: http://jenkins.bluematt.me/job/Bitcoin/51/
 269 2012-08-31 03:34:55 <BlueMatt> awww shit
 270 2012-08-31 03:35:19 <BlueMatt> dammit, guess the updated block checking thing is broken...
 271 2012-08-31 03:35:30 <BlueMatt> meh, Ill fix it tomorrow - no builds for now
 272 2012-08-31 03:36:00 brwyatt is now known as brwyatt|Away
 273 2012-08-31 03:37:40 DamascusVG has quit (Quit: I Quit - http://www.youtube.com/watch?v=9p97zsQ51Rw)
 274 2012-08-31 03:38:28 <BlueMatt> dont think any pulls were effected
 275 2012-08-31 03:38:43 <BlueMattBot> Project Bitcoin build #52: ABORTED in 3 min 39 sec: http://jenkins.bluematt.me/job/Bitcoin/52/
 276 2012-08-31 03:41:45 <Luke-Jr> I need a testnet3 node :/
 277 2012-08-31 03:43:06 Joric has joined
 278 2012-08-31 03:46:33 <Luke-Jr> anyone awake? can't seem to get testnet3 connections..
 279 2012-08-31 03:48:16 sgornick has quit (Read error: Connection reset by peer)
 280 2012-08-31 03:49:22 keverw has joined
 281 2012-08-31 03:50:07 sgornick has joined
 282 2012-08-31 03:54:53 mikalv has joined
 283 2012-08-31 03:59:16 * Luke-Jr really would like to test BIP 34 on testnet before mainnet…
 284 2012-08-31 04:03:49 pickett has quit (Ping timeout: 276 seconds)
 285 2012-08-31 04:09:44 nathaniel has joined
 286 2012-08-31 04:15:46 <jgarzik> Luke-Jr: us4.exmulti.net:18333
 287 2012-08-31 04:16:23 <Luke-Jr> thanks
 288 2012-08-31 04:18:59 Ferroh has quit (Read error: Connection reset by peer)
 289 2012-08-31 04:19:22 Ferroh has joined
 290 2012-08-31 04:24:51 <Luke-Jr> jgarzik: I found a bug in either BIP 34 or bitcoind's implemetnation thereof - got a minute to discuss?
 291 2012-08-31 04:24:54 pickett has joined
 292 2012-08-31 04:25:19 <jgarzik> Luke-Jr: I always have an ear open, sure
 293 2012-08-31 04:25:57 <Luke-Jr> jgarzik: OK, so the problem amounts to bitcoind expecting an exact byte sequence at the start of scriptSig
 294 2012-08-31 04:26:11 <Luke-Jr> whereas I am trying to just do \x04 + LE 32-bit height
 295 2012-08-31 04:26:32 <Luke-Jr> BIP 34 doesn't specify the shortest possible serialization is required
 296 2012-08-31 04:28:38 <Luke-Jr> so, which is it? <.<
 297 2012-08-31 04:31:09 <jgarzik> Luke-Jr: I'm surprised it does not already produce that.  What does bitcoind produce in the bytestream, for "<< nHeight"?
 298 2012-08-31 04:39:01 Obsi has quit (Ping timeout: 264 seconds)
 299 2012-08-31 04:41:31 pickett has quit (Ping timeout: 276 seconds)
 300 2012-08-31 04:45:33 <Luke-Jr> jgarzik: bitcoind does, but nobody uses bitcoind to produce blocks..
 301 2012-08-31 04:46:08 <Luke-Jr> jgarzik: the problem is bitcoind is rejecting blocks with longer-than-shortest serialization
 302 2012-08-31 04:47:13 * jgarzik is still waiting for an answer to the open question
 303 2012-08-31 04:47:38 <Luke-Jr> bitcoind produces \x03, low 8 bits, next lowest 8 bits, then next lowest 8 bits
 304 2012-08-31 04:48:11 <Luke-Jr> unless height requires a 4th octet, then \x04 etc
 305 2012-08-31 04:49:55 <Luke-Jr> so, if BIP34 merely neglects to mention that the shortest possible serialization is required, I will need to adapt Eloipool code (making it slower); if bitcoind is wrong, that should be fixed for rc2
 306 2012-08-31 04:53:21 <jgarzik> Luke-Jr: you are misunderstanding how numbers are stored in scripts
 307 2012-08-31 04:53:40 <Luke-Jr> oh
 308 2012-08-31 04:53:42 <jgarzik> Luke-Jr: it is not the "shortest possible serialization", it is a wholly different serialization
 309 2012-08-31 04:53:51 <jgarzik> Luke-Jr: numbers are bignums, serialized.
 310 2012-08-31 04:54:02 <jgarzik> Luke-Jr: see script.h, push_[u]int64
 311 2012-08-31 04:54:04 <Luke-Jr> \x04\x01\x00\x00\x00 isn't valid bignum? :/
 312 2012-08-31 04:55:33 <jgarzik> Luke-Jr: not according to script, no.  This is the entire reason why CastToBigNum exists... to normalize this stuff
 313 2012-08-31 04:56:12 Diablo-D3 has joined
 314 2012-08-31 04:56:19 <jgarzik> Luke-Jr: If you want to update bitcoind to pop a bignum off the stack and read it, rather than a byte comparison, I don't think that is too terrible though
 315 2012-08-31 05:00:05 <jgarzik> script.GetOp(pc, opcode, vchPushValue)
 316 2012-08-31 05:00:17 <jgarzik> int nHeight = CastToBigNum(vchPushValue).getint()
 317 2012-08-31 05:00:23 <jgarzik> something like that
 318 2012-08-31 05:00:45 <jgarzik> s/pop/inspect/
 319 2012-08-31 05:01:18 <Luke-Jr> ok
 320 2012-08-31 05:01:35 * midnightmagic prods gmaxwell's eyeball.
 321 2012-08-31 05:16:46 variousnefarious has quit (Ping timeout: 245 seconds)
 322 2012-08-31 05:19:21 variousnefarious has joined
 323 2012-08-31 05:21:42 <Luke-Jr> hmm
 324 2012-08-31 05:21:48 <Luke-Jr> I think testnet-in-a-box is broken :/
 325 2012-08-31 05:23:25 <freewil> how so
 326 2012-08-31 05:24:11 <Luke-Jr> getwork/getblocktemplate claim "Bitcoin is downloading blocks…" if there aren't any
 327 2012-08-31 05:24:20 <jgarzik> Deepbit is smaller than slush now?  btcguild is biggest known?  wow, when did that happen.
 328 2012-08-31 05:26:04 <Luke-Jr> when blockchain.info got crappy at identifying pools, probably :
 329 2012-08-31 05:26:05 <Luke-Jr> :p
 330 2012-08-31 05:26:35 <Luke-Jr> especially Deepbit ones; I think they banned bc.info's IPs
 331 2012-08-31 05:29:00 <jgarzik> seems like an IP ban would result in zero results, not smaller hash counts
 332 2012-08-31 05:29:32 <Luke-Jr> jgarzik: AFAIK they're using other algorithms to identify them now
 333 2012-08-31 05:30:44 <freewil> Luke-Jr, you could try this, 130 block ready to go https://github.com/freewil/bitcoin-testnet-box
 334 2012-08-31 05:33:19 BTCTrader has quit (Quit: BTCTrader)
 335 2012-08-31 05:33:22 <jgarzik> my my my
 336 2012-08-31 05:33:25 <jgarzik> ERROR: ConnectInputs() : e6a136134e prev tx already used at (nFile=2, nBlockPos=685303088, nTxPos=685510477)
 337 2012-08-31 05:33:25 <jgarzik> ERROR: CTxMemPool::accept() : ConnectInputs failed e6a136134e
 338 2012-08-31 05:33:34 <jgarzik> ...
 339 2012-08-31 05:33:35 <jgarzik> ERROR: ConnectInputs() : 07c08d54c1 prev tx already used at (nFile=2, nBlockPos=699103095, nTxPos=699307082)
 340 2012-08-31 05:33:35 <jgarzik> ERROR: CTxMemPool::accept() : ConnectInputs failed 07c08d54c1
 341 2012-08-31 05:34:16 <jgarzik> ERROR: ConnectInputs() : a94ca294bb prev tx already used at (nFile=2, nBlockPos=699103095, nTxPos=699317663)
 342 2012-08-31 05:34:17 <jgarzik> ERROR: CTxMemPool::accept() : ConnectInputs failed a94ca294bb
 343 2012-08-31 05:34:29 <jgarzik> double-spend attempts?
 344 2012-08-31 05:36:19 <Luke-Jr> O.o
 345 2012-08-31 05:36:23 <Luke-Jr> jgarzik: https://github.com/bitcoin/bitcoin/pull/1764 look ok?
 346 2012-08-31 05:36:34 <Luke-Jr> and did I explain the reasoning well enough?
 347 2012-08-31 05:39:26 davout has joined
 348 2012-08-31 05:39:26 davout has quit (Changing host)
 349 2012-08-31 05:39:26 davout has joined
 350 2012-08-31 05:40:18 ovidiusoft has joined
 351 2012-08-31 05:40:31 <keverw> Hey. I want to store TX and Address in to database. What sizes would I use for the varchar?
 352 2012-08-31 05:41:52 <keverw> like are all addresses and TXIds the same length or ???
 353 2012-08-31 05:47:20 <jgarzik> Luke-Jr: commented on pull request rather than IRC
 354 2012-08-31 05:47:38 <keverw> Like this one TX I have is 64 characters.
 355 2012-08-31 05:48:07 <jgarzik> keverw: txid is always a 256-bit hash value.  addresses vary slightly in size.
 356 2012-08-31 05:48:40 <keverw> So i can store tx id as 64 then. Address are what then? Like max? isn't it like 34. I forgot.
 357 2012-08-31 05:49:58 <keverw> https://en.bitcoin.it/wiki/Address
 358 2012-08-31 05:50:28 <keverw> "A Bitcoin address, or simply address, is an identifier of approximately 34 alphanumeric characters" is so varchar 34 would be safe then?
 359 2012-08-31 05:50:55 <Luke-Jr> keverw: varchar is not neccesarily binary-safe, FYI
 360 2012-08-31 05:51:09 <Luke-Jr> keverw: IIRC the theoretical max on addresses *today* is 35
 361 2012-08-31 05:51:15 <keverw> oh… what should I use then to store addresses?
 362 2012-08-31 05:51:30 davout has quit (Remote host closed the connection)
 363 2012-08-31 05:51:42 <Luke-Jr> probably best to store them as addresses
 364 2012-08-31 05:52:02 <keverw> MySQL does not have that type...
 365 2012-08-31 05:52:09 <Luke-Jr> I made the mistake of storing as the keyhash once, which breaks with script addrs
 366 2012-08-31 05:52:18 <Luke-Jr> keverw: yes, store addresses as varchar :p
 367 2012-08-31 05:52:18 <keverw> or I don't think I see it in the list.
 368 2012-08-31 05:52:23 <keverw> ok
 369 2012-08-31 05:52:48 <jgarzik> just make each field varchar(4096) and forget it.  It is a VAR char, right?  :)
 370 2012-08-31 05:53:08 <Luke-Jr> :P
 371 2012-08-31 05:58:18 karipe^ has quit (Read error: Connection reset by peer)
 372 2012-08-31 05:58:35 karipe^ has joined
 373 2012-08-31 05:59:52 amnesia_ has quit (Remote host closed the connection)
 374 2012-08-31 06:00:41 amnesia_ has joined
 375 2012-08-31 06:08:29 ThomasV has joined
 376 2012-08-31 06:09:26 B0g4r7_ has joined
 377 2012-08-31 06:11:34 dub has quit (Ping timeout: 272 seconds)
 378 2012-08-31 06:12:10 libcoin has quit (Quit: Leaving.)
 379 2012-08-31 06:12:13 dub has joined
 380 2012-08-31 06:13:10 B0g4r7__ has quit (Ping timeout: 276 seconds)
 381 2012-08-31 06:19:42 has_many has quit (Ping timeout: 245 seconds)
 382 2012-08-31 06:19:56 Diablo-D3 has quit (Remote host closed the connection)
 383 2012-08-31 06:20:45 lunchtime has joined
 384 2012-08-31 06:21:12 leotreasure has quit (Quit: leotreasure)
 385 2012-08-31 06:21:40 has_many has joined
 386 2012-08-31 06:23:03 Diablo-D3 has joined
 387 2012-08-31 06:30:18 davout has joined
 388 2012-08-31 06:30:18 davout has quit (Changing host)
 389 2012-08-31 06:30:18 davout has joined
 390 2012-08-31 06:39:37 copumpkin has quit (Quit: Computer has gone to sleep.)
 391 2012-08-31 06:46:16 sirk390 has joined
 392 2012-08-31 06:47:39 Ernesto_Juarell has joined
 393 2012-08-31 06:47:54 libcoin has joined
 394 2012-08-31 06:52:19 keverw has quit (Quit: keverw)
 395 2012-08-31 06:53:27 skeledrew has joined
 396 2012-08-31 06:54:58 osmosis has joined
 397 2012-08-31 06:57:33 DamascusVG has joined
 398 2012-08-31 06:57:34 DamascusVG has quit (Changing host)
 399 2012-08-31 06:57:34 DamascusVG has joined
 400 2012-08-31 06:59:34 jgarzik has quit (Remote host closed the connection)
 401 2012-08-31 07:05:50 _dr has quit (Remote host closed the connection)
 402 2012-08-31 07:10:08 Evilmax has quit ()
 403 2012-08-31 07:10:50 PhantomSpark has joined
 404 2012-08-31 07:12:42 PK has joined
 405 2012-08-31 07:15:06 _dr has joined
 406 2012-08-31 07:20:46 fpgaminer has quit (Read error: Connection reset by peer)
 407 2012-08-31 07:21:15 Wack0 has quit (Ping timeout: 260 seconds)
 408 2012-08-31 07:22:20 fpgaminer has joined
 409 2012-08-31 07:32:24 has_many has quit (Ping timeout: 244 seconds)
 410 2012-08-31 07:33:44 Marf has joined
 411 2012-08-31 07:35:01 has_many has joined
 412 2012-08-31 07:35:04 sirk390 has quit (Quit: Leaving.)
 413 2012-08-31 07:37:38 Wack0 has joined
 414 2012-08-31 07:37:48 Fanquake has joined
 415 2012-08-31 07:40:44 int0x27h has quit (Ping timeout: 260 seconds)
 416 2012-08-31 07:41:12 ThomasV has quit (Ping timeout: 260 seconds)
 417 2012-08-31 07:46:10 int0x27h has joined
 418 2012-08-31 08:03:08 has_many has quit (Ping timeout: 260 seconds)
 419 2012-08-31 08:05:17 has_many has joined
 420 2012-08-31 08:08:46 Fanquake has left ()
 421 2012-08-31 08:08:57 sgstair has quit (Quit: .•«UPP»•.)
 422 2012-08-31 08:10:07 has_many has quit (Ping timeout: 244 seconds)
 423 2012-08-31 08:11:51 sgstair has joined
 424 2012-08-31 08:11:54 eian has quit (Ping timeout: 252 seconds)
 425 2012-08-31 08:13:46 has_many has joined
 426 2012-08-31 08:18:23 has_many has quit (Ping timeout: 244 seconds)
 427 2012-08-31 08:22:26 eian has joined
 428 2012-08-31 08:24:38 TD has joined
 429 2012-08-31 08:25:07 da2ce746 has joined
 430 2012-08-31 08:25:28 has_many has joined
 431 2012-08-31 08:34:33 Clipse has quit (Read error: Connection reset by peer)
 432 2012-08-31 08:35:57 Clipse has joined
 433 2012-08-31 08:35:57 Clipse has quit (Changing host)
 434 2012-08-31 08:35:58 Clipse has joined
 435 2012-08-31 08:48:40 Nikolay has joined
 436 2012-08-31 08:50:57 has_many has quit (Ping timeout: 244 seconds)
 437 2012-08-31 08:53:00 CodesInChaos has joined
 438 2012-08-31 08:57:48 has_many has joined
 439 2012-08-31 08:58:29 stikonas has joined
 440 2012-08-31 09:01:35 Mobius_ has quit (Remote host closed the connection)
 441 2012-08-31 09:01:36 <stikonas> I noticed that Lithuanian translation in 0.6.3 is just absolutely awful and terible. I have now updated it on Transifex. So I want to ask if it is not too late to be pulled in 0.7.0.
 442 2012-08-31 09:02:49 Mobius_ has joined
 443 2012-08-31 09:03:22 MC-Eeepc has quit (Ping timeout: 244 seconds)
 444 2012-08-31 09:07:23 MC-Eeepc has joined
 445 2012-08-31 09:07:52 <Luke-Jr> stikonas: it's not too late, probably ping Diapolo or wumpus
 446 2012-08-31 09:11:13 leotreasure has joined
 447 2012-08-31 09:12:12 da2ce746 has quit (Ping timeout: 246 seconds)
 448 2012-08-31 09:12:24 root2 has joined
 449 2012-08-31 09:15:44 RazielZ has quit (Ping timeout: 268 seconds)
 450 2012-08-31 09:21:25 leotreasure has quit (Ping timeout: 244 seconds)
 451 2012-08-31 09:21:54 Nesetalis has quit (Read error: Connection reset by peer)
 452 2012-08-31 09:22:13 Nesetalis has joined
 453 2012-08-31 09:23:17 Diapolo has joined
 454 2012-08-31 09:23:25 Raccoon has quit (Read error: Connection reset by peer)
 455 2012-08-31 09:23:38 Raccoon has joined
 456 2012-08-31 09:23:40 leotreasure has joined
 457 2012-08-31 09:24:35 <Diapolo> sipa: I'm overheating my brain, so how can I supply (via -proxy parameter) a normal proxy used for IPv4 peers and one that is used for IPv6 peers ... the code in init.cpp doesn't look like that is possible.
 458 2012-08-31 09:24:55 ivan\ has joined
 459 2012-08-31 09:25:34 darkee has quit (Ping timeout: 276 seconds)
 460 2012-08-31 09:25:34 coingenuity has quit (Ping timeout: 276 seconds)
 461 2012-08-31 09:26:05 <Diapolo> Any other dev can answer that one too :)?
 462 2012-08-31 09:26:16 darkee has joined
 463 2012-08-31 09:27:37 root2 has quit ()
 464 2012-08-31 09:27:52 coingenuity has joined
 465 2012-08-31 09:27:55 root2 has joined
 466 2012-08-31 09:29:33 osmosis has quit (Quit: Leaving)
 467 2012-08-31 09:32:29 TD has quit (Quit: TD)
 468 2012-08-31 09:32:44 Joric has quit (Ping timeout: 260 seconds)
 469 2012-08-31 09:33:12 aq83 has quit (Ping timeout: 246 seconds)
 470 2012-08-31 09:35:06 Z0rZ0rZ0r_ has quit (Quit: Leaving)
 471 2012-08-31 09:39:18 aq83 has joined
 472 2012-08-31 09:39:36 t2che has joined
 473 2012-08-31 09:39:45 Diapolo has left ()
 474 2012-08-31 09:42:35 t2che has quit (Client Quit)
 475 2012-08-31 09:49:32 Joric has joined
 476 2012-08-31 09:57:08 <MC-Eeepc> "I tried once to install the software. It took forever and didn't do anything," says Robert Hughes, a senior vice president with the consulting firm Speer & Associates who's been studying Bitcoin.
 477 2012-08-31 09:57:10 <MC-Eeepc> burn
 478 2012-08-31 09:59:58 Nikolay has quit (Quit: Page closed)
 479 2012-08-31 10:00:20 <_dr> studying, nice
 480 2012-08-31 10:03:33 eian has quit (Ping timeout: 240 seconds)
 481 2012-08-31 10:09:08 <epscy> doesn't sound like he was desperate enough to purchase heroin on milk toad
 482 2012-08-31 10:11:06 Marf has quit (Quit: Marf)
 483 2012-08-31 10:11:35 <jeremias> lol
 484 2012-08-31 10:11:51 <jeremias> milk toad, great site
 485 2012-08-31 10:24:04 B0g4r7_ has quit (Ping timeout: 276 seconds)
 486 2012-08-31 10:32:51 toffoo has quit ()
 487 2012-08-31 10:36:21 LuaKT has joined
 488 2012-08-31 10:36:22 LuaKT has quit (Changing host)
 489 2012-08-31 10:36:22 LuaKT has joined
 490 2012-08-31 10:52:44 iocor has joined
 491 2012-08-31 11:00:56 B0g4r7_ has joined
 492 2012-08-31 11:02:36 ThomasV has joined
 493 2012-08-31 11:04:58 LuaKT has quit (Ping timeout: 260 seconds)
 494 2012-08-31 11:05:34 stikonas has left ("Konversation terminated!")
 495 2012-08-31 11:07:28 TD has joined
 496 2012-08-31 11:08:26 datagutt has joined
 497 2012-08-31 11:14:09 paraipan has joined
 498 2012-08-31 11:18:02 Motest003 has joined
 499 2012-08-31 11:19:17 Motest031 has quit (Ping timeout: 245 seconds)
 500 2012-08-31 11:19:53 JudgeTheDude has joined
 501 2012-08-31 11:22:48 LuaKT has joined
 502 2012-08-31 11:22:54 LuaKT has quit (Changing host)
 503 2012-08-31 11:22:54 LuaKT has joined
 504 2012-08-31 11:33:08 Raccoon` has joined
 505 2012-08-31 11:34:29 Motest031 has joined
 506 2012-08-31 11:37:39 OneEyed has joined
 507 2012-08-31 11:42:08 Raccoon` is now known as Raccoon
 508 2012-08-31 11:43:31 fpgaminer has joined
 509 2012-08-31 11:58:37 agricocb has quit (Quit: Leaving.)
 510 2012-08-31 12:02:51 slush1 has quit (Quit: Leaving.)
 511 2012-08-31 12:12:27 Wack0 has joined
 512 2012-08-31 12:15:58 pickett has joined
 513 2012-08-31 12:17:21 UukGoblin has quit (Ping timeout: 246 seconds)
 514 2012-08-31 12:19:36 pickett has quit (Client Quit)
 515 2012-08-31 12:19:56 Erdon has quit (Ping timeout: 246 seconds)
 516 2012-08-31 12:25:34 RV___ has quit (Read error: Connection reset by peer)
 517 2012-08-31 12:25:38 Silverion has joined
 518 2012-08-31 12:31:33 [\\\] has quit (Ping timeout: 244 seconds)
 519 2012-08-31 12:32:07 t7 has joined
 520 2012-08-31 12:32:55 dvide has quit ()
 521 2012-08-31 12:36:40 agricocb has joined
 522 2012-08-31 12:39:22 UukGoblin has joined
 523 2012-08-31 12:40:46 minimoose has joined
 524 2012-08-31 12:46:59 gavinandresen has joined
 525 2012-08-31 12:53:31 Fanquake has joined
 526 2012-08-31 12:55:27 <sipa> TD: I stripped your leveldb pullrequest to just the source tree import + makefile stuff
 527 2012-08-31 12:56:12 <sipa> TD: i'm not sure whether leveldb will be pulled separately or together with ultraprune, so perhaps for a while we should try to keep them synchronized
 528 2012-08-31 13:08:05 nsh has quit (Quit: reboot)
 529 2012-08-31 13:20:07 theorb has joined
 530 2012-08-31 13:20:25 theorbtwo has quit (Ping timeout: 264 seconds)
 531 2012-08-31 13:20:42 theorb is now known as theorbtwo
 532 2012-08-31 13:20:49 <egecko> anyone looking to employee a programmer for bitcoins?
 533 2012-08-31 13:22:06 pigeons has quit (Ping timeout: 265 seconds)
 534 2012-08-31 13:26:07 <ThomasV> egecko: http://www.bitcoinjobs.com/
 535 2012-08-31 13:29:55 <ErnestoJuarell> What kind of programming do u do?
 536 2012-08-31 13:38:14 one_zero has quit ()
 537 2012-08-31 13:38:26 <TD> sipa: ok. so how much work was it to make the split db setup use leveldb? or did you not tackle that yet?
 538 2012-08-31 13:39:00 <TD> bbiab
 539 2012-08-31 13:44:57 RazielZ has joined
 540 2012-08-31 13:45:45 <TD> back
 541 2012-08-31 13:45:58 <sipa> TD: working on that now
 542 2012-08-31 13:48:42 Ernesto_Juarell has quit (Read error: Connection reset by peer)
 543 2012-08-31 13:53:36 rdponticelli has quit (Ping timeout: 246 seconds)
 544 2012-08-31 13:56:31 Fanquake has left ()
 545 2012-08-31 13:57:24 nsh has joined
 546 2012-08-31 13:57:32 libcoin has quit (Quit: Leaving.)
 547 2012-08-31 14:00:15 firelegend has joined
 548 2012-08-31 14:01:21 Zarutian has joined
 549 2012-08-31 14:01:53 <firelegend> I have been looking for an aswer on the wiki, but so far I've found no solution. From a WIF private key, how do I obtain the Bitcoin address associated with it?
 550 2012-08-31 14:03:26 <sipa> decode base58, do Elliptic Curve multiplication with base point, encode resulting point in SEC format, SHA256, RIPEMD160, base58 encode as bitcoin address
 551 2012-08-31 14:05:48 <kjj_> there is a thread about generating keys in PHP.  I think someone just posted code in there that covers it.  and PHP is easy to read, no matter what language you intend to use
 552 2012-08-31 14:08:45 <lianj> vErY_eAsY = "1"
 553 2012-08-31 14:10:19 enquirer has quit (Quit: back soon)
 554 2012-08-31 14:11:16 knotwork has quit (Read error: Connection reset by peer)
 555 2012-08-31 14:12:40 knotwork has joined
 556 2012-08-31 14:12:40 knotwork has quit (Changing host)
 557 2012-08-31 14:12:40 knotwork has joined
 558 2012-08-31 14:16:35 <firelegend> sipa:when you say base point, you are referring to?
 559 2012-08-31 14:19:32 paul0 has joined
 560 2012-08-31 14:19:37 BTCTrader has joined
 561 2012-08-31 14:20:13 <TD> firelegend: G
 562 2012-08-31 14:20:20 <TD> firelegend: or you can use some software to do it for you, of course
 563 2012-08-31 14:20:29 <firelegend> TD:G?
 564 2012-08-31 14:20:30 <TD> we are assuming you want to write software but that's not a safe assumption by us :-)
 565 2012-08-31 14:20:43 <kjj_> haha.  EC math by hand on 256 bit curves
 566 2012-08-31 14:20:49 <TD> firelegend: G is the name of the generator point in the ECDSA specifications. it's a point on an elliptic curve, one of the chosen curve parameters
 567 2012-08-31 14:20:56 <TD> i mean pre-existing software :-)
 568 2012-08-31 14:21:10 <TD> if you have bitcoinj it's just a case of adding the private key to the wallet and then printing it out to the console
 569 2012-08-31 14:21:22 <TD> what's WIF by the way?
 570 2012-08-31 14:21:30 <firelegend> TD:wallet import format
 571 2012-08-31 14:21:42 <TD> ok
 572 2012-08-31 14:22:25 <firelegend> I am going to be writing it in java, and I do see base58 implementation in java for Bitcoin, which is helpful.
 573 2012-08-31 14:23:03 <TD> take a look at bitcoinj.org
 574 2012-08-31 14:23:05 <TD> the code is already written
 575 2012-08-31 14:23:09 <gmaxwell> Luke-Jr: oh come on; we shouldn't have to optimize the software for your crappy programming languages.  If you're worried about the packed heights, precompute the next hundred years worth at startup.
 576 2012-08-31 14:23:29 <kjj_> and look into bouncy castle
 577 2012-08-31 14:23:36 tcatm has quit (Quit: No Ping reply in 180 seconds.)
 578 2012-08-31 14:23:53 tcatm has joined
 579 2012-08-31 14:23:54 tcatm has quit (Changing host)
 580 2012-08-31 14:23:54 tcatm has joined
 581 2012-08-31 14:23:57 <Luke-Jr> gmaxwell: it's not an optimization, it's a bugfix.
 582 2012-08-31 14:24:41 <Luke-Jr> gmaxwell: nowhere else in the protocol treats numbers this way.
 583 2012-08-31 14:24:52 <gmaxwell> Luke-Jr: I'm referring to your isn't exactly cheap comment.
 584 2012-08-31 14:25:17 <Luke-Jr> gmaxwell: that's just a reason why it's a practical problem
 585 2012-08-31 14:26:33 <gmaxwell> Luke-Jr: canonical vs consistent is an okay thing to ponder;  hypothetical performance optimizations in insanely slow programming languages is not.
 586 2012-08-31 14:26:39 <Luke-Jr> gmaxwell: also note that 99% of miners use these "crappy programming languages", so being dismissing for something that requires their adoption is kinda silly
 587 2012-08-31 14:27:04 <gmaxwell> Luke-Jr: irrelevant, as I pointed out if it actually was a performance problem you could just pre-compute it.
 588 2012-08-31 14:27:05 <firelegend> kjj_:I am planning to write it for Android, and I think I saw some packages that already provide the tools I need.
 589 2012-08-31 14:27:26 <sipa> firelegend: all code you need is probably already in bitcoinj, in that case
 590 2012-08-31 14:27:54 <kjj_> firelegend: cool.  I've been looking for a good app to abuse the unlimited cellular data on my tablet
 591 2012-08-31 14:28:16 <Luke-Jr> gmaxwell: that may be a viable solution for the practical problem, but it would still be better to fix the bug IMO.
 592 2012-08-31 14:28:32 <sipa> Luke-Jr: i don't see how a specification can be a bug?
 593 2012-08-31 14:28:43 <Luke-Jr> sipa: the specification is fine
 594 2012-08-31 14:28:52 <Luke-Jr> bitcoind is enforcing a rule not in it
 595 2012-08-31 14:29:00 <sipa> sure, right now the implementation and specification are different
 596 2012-08-31 14:29:05 <Luke-Jr> and which is inconsistent with the rest of the Bitcoin protocol
 597 2012-08-31 14:29:36 <Luke-Jr> of course, these's already bigger inconsistencies in there, so meh
 598 2012-08-31 14:29:40 <sipa> exactly
 599 2012-08-31 14:29:58 <gmaxwell> Luke-Jr: right, and the redundant integer coding are themselves arguably a bug in the bitcoin design.
 600 2012-08-31 14:30:16 <gmaxwell> s/coding/codings/
 601 2012-08-31 14:30:19 <kjj_> I think Gavin has made it pretty clear that he wants to move everything to a canonical coding, as opportunities arise
 602 2012-08-31 14:30:28 PK has quit (Quit: Leaving)
 603 2012-08-31 14:31:43 <Luke-Jr> kjj_: Gavin isn't supposed to be a dictator. (though he's probably justified on that particular goal)
 604 2012-08-31 14:32:14 <kjj_> agreed, on both parts.
 605 2012-08-31 14:32:24 <gavinandresen> I never said We Shalt Not, I said canonical encodings are less likely to open up security holes, so they should be the default.
 606 2012-08-31 14:32:41 <gmaxwell> If people didn't agree with that goal, we all would have protested it before now. :)
 607 2012-08-31 14:32:52 <Luke-Jr> gmaxwell: this is the first time it is affecting a protocol change ;)
 608 2012-08-31 14:33:02 <Luke-Jr> up to now, it has just been IsStandard
 609 2012-08-31 14:33:09 <TD> firelegend: there's already an android bitcoin wallet that talks p2p protocol. you probably want to start by looking at that
 610 2012-08-31 14:33:13 <gavinandresen> No, the second.  P2SH enforces a canonical encoding
 611 2012-08-31 14:33:14 <gmaxwell> Luke-Jr: K. So? do you actually disagree with that goal? :)
 612 2012-08-31 14:33:17 <kjj_> I'd say fix the specification
 613 2012-08-31 14:33:22 <TD> firelegend: javadocs are here: http://plan99.net/~mike/bitcoinj/0.6/
 614 2012-08-31 14:33:54 <Luke-Jr> gmaxwell: I don't think so, but I haven't really considered it much
 615 2012-08-31 14:34:30 <Luke-Jr> anyhow, I came into this problem initially asking whether bitcoind or BIP34 had the bug; if consensus is that BIP34 needs to be fixed, that's tolerable
 616 2012-08-31 14:34:43 p0s has joined
 617 2012-08-31 14:34:55 <gavinandresen> BIP34 already says "(will be 0x03 on main net for the next 300 or so years)"  but I agree we should be more explicit.
 618 2012-08-31 14:35:04 <Luke-Jr> jgarzik did hold the opposite opinion though, so perhaps it should be discussed with him further first
 619 2012-08-31 14:35:23 Diapolo has joined
 620 2012-08-31 14:35:30 <gmaxwell> Luke-Jr: yea, I think the BIP should probably be fixed. I agree that encoding inconsistency is generally lame, but also think that non-canonical encoding is worse.
 621 2012-08-31 14:35:33 <Luke-Jr> or maybe he meant to hold more of a neutral opinion *shrug*
 622 2012-08-31 14:36:09 <gavinandresen> gmaxwell: what do you mean by encoding inconsistency?  0x03 <height> is consistent....
 623 2012-08-31 14:36:50 <gavinandresen> It's not a standard integer encoding, but it is consistent
 624 2012-08-31 14:37:01 <gmaxwell> gavinandresen: I mean with scripts generally. An implementor may need to use two encoding functions, if their default one doesn't always produce the sammest form.
 625 2012-08-31 14:37:46 <gavinandresen> their default one aught to produce the most compact form, if it doesn't I'd argue they have a bug.
 626 2012-08-31 14:38:17 <Luke-Jr> anyhow, I haven't slept in over 24 hours, so I'll be back later and work on dealing with this encoding if I have to then…
 627 2012-08-31 14:38:17 nsh has quit (Remote host closed the connection)
 628 2012-08-31 14:38:35 <gmaxwell> Luke-Jr: thanks for the good spotting.
 629 2012-08-31 14:39:45 paul0_ has joined
 630 2012-08-31 14:40:08 ovidiusoft has quit (Ping timeout: 272 seconds)
 631 2012-08-31 14:40:14 paul0 has quit (Ping timeout: 264 seconds)
 632 2012-08-31 14:40:14 paul0_ is now known as paul0
 633 2012-08-31 14:40:42 <Diapolo> sipa: Thanks for your clarification that we don't currently can specify a separate proxy for IPv6 peers ^^. Am I right, that it would suffice to place that via an extra address supplied and SetProxy(NET_IPV6, addrProxy, nSocksVersion); after all needed checks?
 634 2012-08-31 14:41:06 <sipa> Diapolo: yes
 635 2012-08-31 14:41:18 <sipa> Diapolo: the socks version needs to be 5 for IPv6 though
 636 2012-08-31 14:41:28 <Diapolo> sipa: yes I know, I learned that from you ^^
 637 2012-08-31 14:41:44 danbri has joined
 638 2012-08-31 14:41:54 <Diapolo> sipa: are you fine with -proxy6 for such a proxy?
 639 2012-08-31 14:41:58 <sipa> Diapolo: ok
 640 2012-08-31 14:44:27 libcoin has joined
 641 2012-08-31 14:44:37 BTCTrader has quit (Remote host closed the connection)
 642 2012-08-31 14:44:44 Joric has quit ()
 643 2012-08-31 14:44:59 BTCTrader has joined
 644 2012-08-31 14:46:37 <firelegend> TD:Actually, my application's purposes are complete. I just want to add a small failsafe like if(bs58_address != getAddressFromPrivkey(wif_privkey)) (well, something like that anyway)
 645 2012-08-31 14:46:40 <sipa> gmaxwell, gavinandresen, Luke-Jr: i think clarifying that the height is encoded as a script pushing an integer, but requiring minimum length encoding to make it canonical
 646 2012-08-31 14:46:43 <TD> ok
 647 2012-08-31 14:47:12 <sipa> right now the BIP does mention the 0x03 + 3 bytes thing, but doesn't really motivate
 648 2012-08-31 14:48:37 <gavinandresen> sipa: agreed.
 649 2012-08-31 14:50:33 Diapolo has quit (Read error: Connection reset by peer)
 650 2012-08-31 14:54:24 vigilyn has joined
 651 2012-08-31 14:54:38 <firelegend> TD:Despite the fact that I already have my android app working, I pretty much do not know anything about encryption/cryptography other than(as far as I read) that public/private keys are large integers that can be represented in many ways. So this means that while I would certainly take advantage of the pre-existing code, it does not mean I understand it.
 652 2012-08-31 14:54:59 <TD> ok
 653 2012-08-31 14:55:06 <TD> well, look at the bitcoinj ECKey class
 654 2012-08-31 14:55:17 <TD> to see how to convert private to public and then look at the Address/Base58 classes to see how to encode
 655 2012-08-31 14:56:23 <firelegend> TD:I will :)
 656 2012-08-31 14:58:06 nsh has joined
 657 2012-08-31 14:58:34 nsh has quit (Changing host)
 658 2012-08-31 14:58:34 nsh has joined
 659 2012-08-31 15:07:00 rdponticelli has joined
 660 2012-08-31 15:07:06 <firelegend> But I would sure like to understand more about the cryptography used in Bitcoin. Right now, using the existing code in my application would mean my app has no real value and telling me to write my own implementation of what I need would be like telling me to fix a car, without knowing how to fix it(nor understanding how it works). I've looked at Vanitygen and am astounded at how the person
 661 2012-08-31 15:07:06 <firelegend> knew where to use and which functions to use to produce the desired code. I've used bits and pieces of vanitygen but I never really understand anything about them(the cryptography part, at least).
 662 2012-08-31 15:07:14 libcoin has quit (Ping timeout: 264 seconds)
 663 2012-08-31 15:07:37 <firelegend> s/desired code/desired result
 664 2012-08-31 15:08:23 <gmaxwell> If you're looking for a learning excercise asking us to spell out each step for you here won't help much either. IIRC it's possible to implement ECDSA using only information in Wikipedia, so you might want to try that.
 665 2012-08-31 15:13:59 BitcoinBaltar has quit (Ping timeout: 276 seconds)
 666 2012-08-31 15:14:40 <gavinandresen> "Require canonical, minimum-length encoding of height" -- https://github.com/genjix/bips/pull/12
 667 2012-08-31 15:17:26 rdponticelli has quit (Ping timeout: 264 seconds)
 668 2012-08-31 15:17:35 BitcoinBaltar has joined
 669 2012-08-31 15:19:33 <gavinandresen> firelegend: http://www.certicom.com/index.php/ecc-tutorial  might be a good place to start
 670 2012-08-31 15:21:54 <kjj_> I always find those tutorials amusing.  I've read code for doing EC math, and it sure as hell is not drawing lines on a graph
 671 2012-08-31 15:22:03 MC-Eeepc has quit (Ping timeout: 240 seconds)
 672 2012-08-31 15:22:11 Fanquake has joined
 673 2012-08-31 15:22:48 MC-Eeepc has joined
 674 2012-08-31 15:22:57 <firelegend> gmaxwell:That would've made life much easier :). I've actually read the Wiki articles. I started with what connected Bitcoin to cryptography, the article on ECDSA, but it contained links to ECC which further contains links to public-key cryptography, and that article further contained terms which I did not know like discrete logarithm, prime factorization. It's like an endless circle.
 675 2012-08-31 15:23:08 Fanquake has quit (Client Quit)
 676 2012-08-31 15:23:16 <gmaxwell> kjj_: different abstraction layers. If you're an x86 asm programmer and I show you some lisp code, you might say your code 'sure as hell is not running car and cdr on registers' :)
 677 2012-08-31 15:23:18 theorb has joined
 678 2012-08-31 15:23:19 Fanquake has joined
 679 2012-08-31 15:23:37 theorbtwo has quit (Ping timeout: 244 seconds)
 680 2012-08-31 15:23:44 theorb is now known as theorbtwo
 681 2012-08-31 15:23:58 <gavinandresen> yeah, highly optimizes crypto code is unlikely to bear any resemblance to the original problem.
 682 2012-08-31 15:24:59 <firelegend> gavinandresen:thank you for the link, for some reason I had missed it.
 683 2012-08-31 15:26:10 <kjj_> gmaxwell: heh.  lots of technical subjects have that problem.  digital logic tutorials always handwave over the transition from "this is how gates work" to "and this is a CPU"
 684 2012-08-31 15:26:43 <kjj_> which sucks if you want to know how to make a CPU, or in this case, if you want to actually do some EC math on your own
 685 2012-08-31 15:27:22 <kjj_> but again, I'll recommend the thread on PHP.  there is a PHP EC math library that is pretty easy to read and follow, even for Java guys
 686 2012-08-31 15:28:25 <firelegend> kjj_:I hope I can become a Java guy, my android app is indeed in java, but that is because Google have really made it easy to use their APIs.
 687 2012-08-31 15:28:56 <firelegend> In truth, I wrote it without any previous knowledge of java, simply because android does everything for you.
 688 2012-08-31 15:32:46 <kjj_> http://matejdanter.com/2010/12/elliptic-curve-php-oop-dsa-and-diffie-hellman/
 689 2012-08-31 15:33:52 <firelegend> kjj_:thank you.
 690 2012-08-31 15:34:16 <kjj_> his paper is light on how things work, but the library is linked at the bottom
 691 2012-08-31 15:36:40 <kjj_> I take that back, scroll about halfway down that page to see how the code works
 692 2012-08-31 15:39:57 TD has quit (Quit: TD)
 693 2012-08-31 15:42:32 Joric has joined
 694 2012-08-31 15:42:32 Joric has quit (Changing host)
 695 2012-08-31 15:42:32 Joric has joined
 696 2012-08-31 15:43:50 danbri has quit (Remote host closed the connection)
 697 2012-08-31 15:49:43 ThomasV_ has joined
 698 2012-08-31 15:52:52 <MC-Eeepc> ultraprune still chuggin
 699 2012-08-31 15:53:01 <MC-Eeepc> cpu usage almost zero
 700 2012-08-31 15:53:23 <MC-Eeepc> 175k blox
 701 2012-08-31 15:55:02 <gmaxwell> MC-Eeepc: what is a blox?
 702 2012-08-31 15:55:05 <gmaxwell> :P
 703 2012-08-31 15:55:36 Ferroh has quit (Quit: *poof*)
 704 2012-08-31 15:56:00 <MC-Eeepc> its my word deal with it
 705 2012-08-31 15:56:45 nsh- has joined
 706 2012-08-31 15:58:03 nsh has quit (Ping timeout: 240 seconds)
 707 2012-08-31 15:58:11 maaku has joined
 708 2012-08-31 15:59:36 <MC-Eeepc> its clear this is significantly faster
 709 2012-08-31 15:59:59 <MC-Eeepc> took about 5 days to get this far last time
 710 2012-08-31 16:00:33 <firelegend> MC-Eeepc:ABE?
 711 2012-08-31 16:00:36 <maaku> my bitcoind is crashing on mac os x with just “terminate called throwing an exception” in the debug.log; any ideas on how I can get more info about the crashes?
 712 2012-08-31 16:01:39 danbri has joined
 713 2012-08-31 16:03:00 Fanquake has left ()
 714 2012-08-31 16:07:02 <MC-Eeepc> firelegend u wot m8
 715 2012-08-31 16:07:05 sneak has quit (Ping timeout: 260 seconds)
 716 2012-08-31 16:07:57 paul0 has quit (Quit: paul0)
 717 2012-08-31 16:08:38 ovidiusoft has joined
 718 2012-08-31 16:10:23 nsh- is now known as nsh
 719 2012-08-31 16:10:27 nsh has quit (Changing host)
 720 2012-08-31 16:10:27 nsh has joined
 721 2012-08-31 16:12:22 shamoon has joined
 722 2012-08-31 16:12:49 <shamoon> are there any open source libraries that will let me read data from the blockchain? i want to see transactions going in and out of arbitrary addresses
 723 2012-08-31 16:13:05 <ThomasV_> libbitcoin
 724 2012-08-31 16:13:53 <shamoon> libbitcoin will let me read the blockchain?
 725 2012-08-31 16:14:42 Mobius_ has quit (Remote host closed the connection)
 726 2012-08-31 16:14:56 <ThomasV_> yes
 727 2012-08-31 16:15:03 <shamoon> awesome
 728 2012-08-31 16:16:09 Mobius_ has joined
 729 2012-08-31 16:16:56 ThomasV_ has quit (Quit: Quitte)
 730 2012-08-31 16:17:22 <gmaxwell> The bitcoind rpc will happily let you see transactions for addresses, you just can look up by address.
 731 2012-08-31 16:17:34 <shamoon> oh really?
 732 2012-08-31 16:17:41 Cablesaurus has quit (Quit: Make it idiot proof and someone will make a better idiot.)
 733 2012-08-31 16:17:42 <shamoon> i can look up by any arbitrary address?
 734 2012-08-31 16:19:30 <gmaxwell> GAH.
 735 2012-08-31 16:19:40 <gmaxwell> I meant to say _can't_.
 736 2012-08-31 16:19:56 davout has quit (Remote host closed the connection)
 737 2012-08-31 16:20:04 <shamoon> gotcha
 738 2012-08-31 16:21:45 agricocb has quit (Quit: Leaving.)
 739 2012-08-31 16:23:45 <gmaxwell> shamoon: e.g. you can look at all the transactions in all the blocks.
 740 2012-08-31 16:23:57 <shamoon> ahhh
 741 2012-08-31 16:23:57 <gmaxwell> You just can't currently ask it, give me all transactions paying to address X.
 742 2012-08-31 16:24:04 <shamoon> so i need to maintain that DB separately
 743 2012-08-31 16:24:12 <gmaxwell> Right, which is what blockexplorer does.
 744 2012-08-31 16:24:12 <shamoon> i can go block by block?
 745 2012-08-31 16:24:17 <shamoon> gotcha
 746 2012-08-31 16:25:09 Raziel_ has joined
 747 2012-08-31 16:25:20 <gmaxwell> Yes, getblockhash / getblock / decoderawtransaction.
 748 2012-08-31 16:25:25 <shamoon> thanks
 749 2012-08-31 16:25:27 <shamoon> you da man gmaxwell
 750 2012-08-31 16:25:37 <shamoon> count me out for lunch
 751 2012-08-31 16:26:00 eslbaer has joined
 752 2012-08-31 16:28:22 RazielZ has quit (Ping timeout: 252 seconds)
 753 2012-08-31 16:28:24 ThomasV_ has joined
 754 2012-08-31 16:28:41 ThomasV_ has quit (Client Quit)
 755 2012-08-31 16:29:28 <maaku> ok, it seems my bitcoind is terminating after any successfully authenticated RPC call
 756 2012-08-31 16:29:37 <maaku> any ideas why this might happen?
 757 2012-08-31 16:30:13 <gmaxwell> maaku: what does the log say?
 758 2012-08-31 16:30:32 <maaku> terminate called throwing an exception
 759 2012-08-31 16:30:38 <gmaxwell> maaku: also try running bitcoind in the foreground and see if you get any console output.
 760 2012-08-31 16:30:42 <gmaxwell> pastebin the exception.
 761 2012-08-31 16:30:46 <maaku> k
 762 2012-08-31 16:31:17 <maaku> terminate called throwing an exceptionAbort trap: 6
 763 2012-08-31 16:31:27 <maaku> still trying to figure out how to get the exception stack trace
 764 2012-08-31 16:31:38 <maaku> this is on an osx server
 765 2012-08-31 16:31:49 <jrmithdobbs> maaku: if you can reliably trigger it just start it up in gdb
 766 2012-08-31 16:31:56 <jrmithdobbs> then you'll get a stack trace
 767 2012-08-31 16:32:59 Marf has joined
 768 2012-08-31 16:33:38 eb3kk has quit (Ping timeout: 264 seconds)
 769 2012-08-31 16:36:39 <maaku> http://pastebin.com/uTHsPTxP
 770 2012-08-31 16:39:46 TD has joined
 771 2012-08-31 16:41:04 wir3frame has joined
 772 2012-08-31 16:41:30 <gmaxwell> maaku: what are you using to call the rpc?
 773 2012-08-31 16:42:57 <maaku> In this case nothing--curl with basic HTTP auth (so it should return an error). I originally encountered the problem with a cgminer calling getwork. Let me see if that gives a different backtrace...
 774 2012-08-31 16:43:23 <gmaxwell> maaku: can you give me an example commandline? (obviously leave out your key)
 775 2012-08-31 16:43:43 <sipa> maaku: bitcoind or freicoind?
 776 2012-08-31 16:43:48 <maaku> of cgminer?
 777 2012-08-31 16:44:12 <maaku> freicoind, but bitcoinrpc.cpp is unchanged
 778 2012-08-31 16:44:27 shamoon has left ()
 779 2012-08-31 16:45:06 p0s has quit (Ping timeout: 246 seconds)
 780 2012-08-31 16:45:42 Cablesaurus has joined
 781 2012-08-31 16:45:46 <sipa> it crashes in a string constructor?
 782 2012-08-31 16:45:53 <maaku> gmaxwell: command line of cgminer?
 783 2012-08-31 16:46:03 p0s has joined
 784 2012-08-31 16:46:08 <gmaxwell> maaku: of curl.
 785 2012-08-31 16:46:47 <maaku> curl --basic http://freicoinrpc:<password>@127.0.0.1:6000/
 786 2012-08-31 16:48:30 <gmaxwell> Works for me.
 787 2012-08-31 16:49:03 <gmaxwell> Sounds like freicoin is broken, whatever it is.
 788 2012-08-31 16:51:01 <maaku> that's probably the case. i'll see if i can extract a more informative stack trace. thanks for looking into it
 789 2012-08-31 16:51:29 Cablesaurus has quit (Quit: Always try to be modest, and be proud about it!)
 790 2012-08-31 16:51:39 [7] has quit (Disconnected by services)
 791 2012-08-31 16:51:47 TheSeven has joined
 792 2012-08-31 16:51:59 paul0 has joined
 793 2012-08-31 16:52:14 p0s- has joined
 794 2012-08-31 16:52:17 chrisb__ has joined
 795 2012-08-31 16:54:25 p0s has quit (Ping timeout: 272 seconds)
 796 2012-08-31 16:54:52 Cablesaurus has joined
 797 2012-08-31 16:57:08 chrisb__ has quit (Client Quit)
 798 2012-08-31 16:59:10 chrisb__ has joined
 799 2012-08-31 17:03:48 MC-Eeepc has quit (Ping timeout: 268 seconds)
 800 2012-08-31 17:05:50 copumpkin has joined
 801 2012-08-31 17:06:26 rdponticelli has joined
 802 2012-08-31 17:09:27 Shalom_ has quit (Quit: leaving)
 803 2012-08-31 17:13:07 MC-Eeepc has joined
 804 2012-08-31 17:14:21 asa has quit (Remote host closed the connection)
 805 2012-08-31 17:25:24 maaku has quit (Quit: maaku)
 806 2012-08-31 17:25:47 danbri_ has joined
 807 2012-08-31 17:27:21 danbri has quit (Ping timeout: 272 seconds)
 808 2012-08-31 17:29:02 danbri has joined
 809 2012-08-31 17:30:31 danbri_ has quit (Ping timeout: 272 seconds)
 810 2012-08-31 17:31:46 danbri_ has joined
 811 2012-08-31 17:34:16 danbri has quit (Ping timeout: 248 seconds)
 812 2012-08-31 17:46:49 da2ce7_d has joined
 813 2012-08-31 17:49:17 da2ce7 has quit (Ping timeout: 260 seconds)
 814 2012-08-31 17:52:49 maaku has joined
 815 2012-08-31 17:53:42 <maaku> gmaxwell: FWIW, the problem was isolated to the gitian build. build natively on mac os x and the issue went away. not sure if this affects Luke's gitian scripts for Mac OS X bitcoind
 816 2012-08-31 18:05:35 gfinn has quit (Remote host closed the connection)
 817 2012-08-31 18:10:49 ThomasV_ has joined
 818 2012-08-31 18:11:54 ThomasV_ has quit (Client Quit)
 819 2012-08-31 18:12:34 ThomasV has quit (Remote host closed the connection)
 820 2012-08-31 18:12:37 agricocb has joined
 821 2012-08-31 18:13:07 ThomasV has joined
 822 2012-08-31 18:14:02 B0g4r7_ has quit (Ping timeout: 276 seconds)
 823 2012-08-31 18:14:02 bitcoinz has quit (Ping timeout: 276 seconds)
 824 2012-08-31 18:14:37 Obsi has joined
 825 2012-08-31 18:15:57 tower has quit (Ping timeout: 245 seconds)
 826 2012-08-31 18:17:36 gfinn has joined
 827 2012-08-31 18:20:46 PiZZaMaN2K is now known as PiZZaMaN2K|away
 828 2012-08-31 18:22:24 tower has joined
 829 2012-08-31 18:25:31 sneak has joined
 830 2012-08-31 18:25:31 sneak has quit (Changing host)
 831 2012-08-31 18:25:31 sneak has joined
 832 2012-08-31 18:26:04 molecular has quit (Ping timeout: 245 seconds)
 833 2012-08-31 18:26:44 molecular has joined
 834 2012-08-31 18:29:53 denisx has joined
 835 2012-08-31 18:31:38 libcoin has joined
 836 2012-08-31 18:33:16 <BlueMatt> ;;seen TD
 837 2012-08-31 18:33:17 <gribble> TD was last seen in #bitcoin-dev 3 hours, 37 minutes, and 59 seconds ago: <TD> to see how to convert private to public and then look at the Address/Base58 classes to see how to encode
 838 2012-08-31 18:33:56 agricocb has quit (Quit: Leaving.)
 839 2012-08-31 18:35:19 jdnavarro has joined
 840 2012-08-31 18:39:00 PhantomSpark has quit (2!~kvirc@pool-71-251-16-25.nycmny.fios.verizon.net|Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
 841 2012-08-31 18:39:17 PhantomSpark has joined
 842 2012-08-31 18:40:40 copumpkin has quit (Read error: Connection reset by peer)
 843 2012-08-31 18:41:33 PhantomSpark is now known as 2!~kvirc@pool-71-251-16-25.nycmny.fios.verizon.net|opensourcepower
 844 2012-08-31 18:41:39 copumpkin has joined
 845 2012-08-31 18:41:58 opensourcepower is now known as PhantomSpark2
 846 2012-08-31 18:44:02 toffoo has joined
 847 2012-08-31 18:45:03 LuaKT has quit (Remote host closed the connection)
 848 2012-08-31 18:45:14 LuaKT has joined
 849 2012-08-31 18:45:15 LuaKT has quit (Changing host)
 850 2012-08-31 18:45:15 LuaKT has joined
 851 2012-08-31 18:49:47 LuaKT has quit (Remote host closed the connection)
 852 2012-08-31 18:49:56 LuaKT has joined
 853 2012-08-31 18:51:45 <gmaxwell> Testnet3 could really use some more peers running current git.
 854 2012-08-31 18:52:05 <TD> BlueMatt: yo
 855 2012-08-31 18:52:09 <gmaxwell> There are only two connectable testnet nodes on IRC. (jeff and I)
 856 2012-08-31 18:52:27 * gmaxwell pokes midnightmagic 
 857 2012-08-31 18:52:57 maaku has quit (Ping timeout: 246 seconds)
 858 2012-08-31 18:53:21 gfinn has quit (Remote host closed the connection)
 859 2012-08-31 18:53:57 <TD> ok, there should be another testnet3 node now
 860 2012-08-31 18:54:54 shamoon has joined
 861 2012-08-31 18:55:01 <shamoon> gmaxwell: trying: getblockhash / getblock / decoderawtransaction.
 862 2012-08-31 18:55:14 <shamoon> but what txid do i pass to decoderawtransaction?
 863 2012-08-31 18:55:22 maaku has joined
 864 2012-08-31 18:55:23 maaku has quit (Client Quit)
 865 2012-08-31 18:55:30 LuaKT has quit (Remote host closed the connection)
 866 2012-08-31 18:55:41 LuaKT has joined
 867 2012-08-31 18:55:41 LuaKT has quit (Changing host)
 868 2012-08-31 18:55:41 LuaKT has joined
 869 2012-08-31 18:56:04 <shamoon> all the tx from getblock?
 870 2012-08-31 18:56:11 maaku has joined
 871 2012-08-31 18:57:39 pusle has joined
 872 2012-08-31 18:58:12 <TD> trying connection 203.122.247.149:18333 lastseen=0.9hrs
 873 2012-08-31 18:58:16 <TD> no route to host
 874 2012-08-31 18:58:17 <TD> weird!
 875 2012-08-31 18:58:22 shamoon has left ()
 876 2012-08-31 18:58:46 <TD> and yet it's pingable?
 877 2012-08-31 18:58:51 <TD> smells like a bug
 878 2012-08-31 18:59:24 <BlueMatt> possibly the router has no route to the host which the port forward is set to
 879 2012-08-31 18:59:31 <BlueMatt> (but handles pings itself0
 880 2012-08-31 18:59:32 <BlueMatt> )
 881 2012-08-31 18:59:38 <TD> hmm
 882 2012-08-31 18:59:46 <TD> right
 883 2012-08-31 19:00:05 <TD> that's a good suggestion. i forgot "no route to host" can come from icmp errors anywhere along the path
 884 2012-08-31 19:00:22 <TD> looks like it didn't take long for testnet3 to get hosed :)
 885 2012-08-31 19:00:41 <gmaxwell> Huh? hosed?
 886 2012-08-31 19:00:41 <TD> it's very aggressive about retrying. my node is poking this IP at least once per second
 887 2012-08-31 19:01:05 <gmaxwell> TD: its not that it's agressive about retrying; its that there are no other candidates. It's trying the only one it has.
 888 2012-08-31 19:01:07 <TD> gmaxwell: not really hosed. seems some peers are being advertised that aren't reachable and it never gives up, so the logs get flooded with errors
 889 2012-08-31 19:01:11 <TD> oh
 890 2012-08-31 19:01:12 <TD> hah
 891 2012-08-31 19:02:00 <gmaxwell> rc1 has a bug that makes it screw up the port number its advertising. Thus there are only two working hosts on IRC.
 892 2012-08-31 19:02:26 <TD> oh
 893 2012-08-31 19:02:40 <TD> i'm actually using whatever my leveldb branch was last rebased to, not exactly git head or rc1
 894 2012-08-31 19:03:00 <TD> i'll switch my testnet3 node off again until i've rebased/rebuilt
 895 2012-08-31 19:04:13 t7 has quit (Remote host closed the connection)
 896 2012-08-31 19:04:51 * BlueMatt needs to buy about 10 mini servers and hide them in various places on campus with ethernet to have a bunch of servers...
 897 2012-08-31 19:05:15 gfinn has joined
 898 2012-08-31 19:08:42 t7 has joined
 899 2012-08-31 19:10:32 <maaku> BlueMatt: the mac mini power usage is probably small enough no one would notice ;)
 900 2012-08-31 19:11:28 p0s- is now known as p0s
 901 2012-08-31 19:12:12 <BlueMatt> maaku: thats about what I was thinking, though maybe arm would be cheaper...hmm, something to think about
 902 2012-08-31 19:12:35 <gmaxwell> BlueMatt: gumstix.
 903 2012-08-31 19:12:40 <maaku> does bitcoind run on ARM?
 904 2012-08-31 19:12:46 <gmaxwell> or varrious wallplug computers.
 905 2012-08-31 19:12:47 paul0 has quit (Quit: civ5)
 906 2012-08-31 19:12:48 <gmaxwell> maaku: yes.
 907 2012-08-31 19:13:24 <maaku> is that out of the box, or in someone's branch?
 908 2012-08-31 19:13:49 root2 has quit ()
 909 2012-08-31 19:15:21 <gmaxwell> Out of the box.
 910 2012-08-31 19:15:29 <maaku> cool, thx
 911 2012-08-31 19:16:02 <gmaxwell> (technically you didn't provide quite enough information: arm can be BE or LE, but most arm systems today are LE. Bitcoin doesn't currently work on BE systems)
 912 2012-08-31 19:16:34 davout has joined
 913 2012-08-31 19:16:34 davout has quit (Changing host)
 914 2012-08-31 19:16:34 davout has joined
 915 2012-08-31 19:17:06 <Luke-Jr> anyone know off-hand if bignum 0 is serialized as 00 or 0100 (because a bit is needed for the sign) ?
 916 2012-08-31 19:17:08 p0s is now known as p0s-
 917 2012-08-31 19:17:12 <Luke-Jr> in scripts
 918 2012-08-31 19:24:43 rdponticelli has quit (Ping timeout: 246 seconds)
 919 2012-08-31 19:28:19 <Luke-Jr> gavinandresen: I don't suppose the ease of subtle bugs in implementing the "canonical" script number format changes your mind? :/
 920 2012-08-31 19:29:57 nameless has quit (!~root@weowntheinter.net|Read error: Operation timed out)
 921 2012-08-31 19:30:37 ivan` has quit (Ping timeout: 244 seconds)
 922 2012-08-31 19:32:19 asherkin has quit (Ping timeout: 245 seconds)
 923 2012-08-31 19:32:41 poop_ has quit (Ping timeout: 276 seconds)
 924 2012-08-31 19:33:00 <amiller> i explained satoshidice to someone, they said it reminded them of this: http://www.bash.org/?814243
 925 2012-08-31 19:36:42 firelegend has left ()
 926 2012-08-31 19:37:10 rdponticelli has joined
 927 2012-08-31 19:38:49 D34TH has joined
 928 2012-08-31 19:38:49 D34TH has quit (Changing host)
 929 2012-08-31 19:38:50 D34TH has joined
 930 2012-08-31 19:38:53 Belstaff has joined
 931 2012-08-31 19:39:48 Belstaff is now known as Evilmac
 932 2012-08-31 19:39:50 Evilmac is now known as Evilmax
 933 2012-08-31 19:42:38 ThomasV has quit (Quit: Quitte)
 934 2012-08-31 19:44:11 Joric has quit ()
 935 2012-08-31 19:45:22 <Luke-Jr> answers from reading OpenSSL code: zero serializes to 00, everything else has a "sign" bit as bitwise-OR 80 of the last byte in the sequence, with - for both signed or unsigned numbers - an extra padding byte added if the last byte uses 80 itself
 936 2012-08-31 19:45:43 paraipan_ has joined
 937 2012-08-31 19:46:06 <Luke-Jr> and I'm sure that explanation sucked, so I conclude canonical script number format is complicated and vulnerable to subtle implementation bugs :/
 938 2012-08-31 19:46:06 <maaku> good, i was worried there might be a "-0" serialization :)
 939 2012-08-31 19:46:43 <Luke-Jr> maaku: if bignum allows -0, it would corrupt the OpenSSL serialization (and simply lose the sign in Bitcoin) :/
 940 2012-08-31 19:47:50 danbri_ has quit (Remote host closed the connection)
 941 2012-08-31 19:47:55 <jrmithdobbs> Luke-Jr: the fun part is there are calls to bignum that don't have the stupid signed problem
 942 2012-08-31 19:48:17 paraipan has quit (Ping timeout: 276 seconds)
 943 2012-08-31 19:48:45 <jrmithdobbs> Luke-Jr: the calls satoshi chose to use to implement weren't the right ones. there's no need to manually parse the bignum like bitcoind does, EVER, there's an openssl function to convert it to an unsigned char * and drop all the encoding crap
 944 2012-08-31 19:49:02 <Luke-Jr> jrmithdobbs: I know.
 945 2012-08-31 19:49:23 <jrmithdobbs> that -0 thing is annoying
 946 2012-08-31 19:49:36 agricocb has joined
 947 2012-08-31 19:52:08 ciscoftw has joined
 948 2012-08-31 19:52:17 jdnavarro has quit (Ping timeout: 244 seconds)
 949 2012-08-31 19:58:21 Z0rZ0rZ0r has joined
 950 2012-08-31 20:01:26 pusle has quit ()
 951 2012-08-31 20:01:57 Internet13 has quit (Quit: Leaving)
 952 2012-08-31 20:04:25 Evilmax has quit (Ping timeout: 272 seconds)
 953 2012-08-31 20:08:45 ivan` has joined
 954 2012-08-31 20:09:14 poop_ has joined
 955 2012-08-31 20:09:32 danbri has joined
 956 2012-08-31 20:12:49 asherkin has joined
 957 2012-08-31 20:13:59 Internet13 has joined
 958 2012-08-31 20:19:02 p0s- has quit (Remote host closed the connection)
 959 2012-08-31 20:22:15 dvide has joined
 960 2012-08-31 20:24:30 libcoin has quit (Read error: Connection reset by peer)
 961 2012-08-31 20:24:45 libcoin has joined
 962 2012-08-31 20:39:30 jine_ is now known as jine
 963 2012-08-31 20:42:55 Lolcust has quit (Quit: Nap time)
 964 2012-08-31 20:43:02 Lolcust has joined
 965 2012-08-31 20:49:02 Evilmax has joined
 966 2012-08-31 20:49:27 <Evilmax> bitcoin is falling again?
 967 2012-08-31 20:50:47 <copumpkin> I don't think -dev cares, unless the protocol is :)
 968 2012-08-31 20:51:12 <ciscoftw> whats the deals with bitcoind 'getpeerinfo' ??? not working, running version "version" : 60300
 969 2012-08-31 20:52:02 <sipa> ciscoftw: ?
 970 2012-08-31 20:52:16 <sipa> 0.6.3 doesn't have getpeerinfo
 971 2012-08-31 20:52:24 <sipa> it's a new RPC call for 0.7.0
 972 2012-08-31 20:52:57 <ciscoftw> :(
 973 2012-08-31 20:53:02 <ciscoftw> where do i get v7?
 974 2012-08-31 20:54:06 <maaku> http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.0/test/
 975 2012-08-31 20:54:16 Diapolo has joined
 976 2012-08-31 20:54:19 <ciscoftw> awesome thanx
 977 2012-08-31 20:54:38 <kjj_> 7 is still a release candidate.  if you get it, you are testing it before a full release
 978 2012-08-31 20:54:48 <maaku> it's release candidate, and might have bugs so beware
 979 2012-08-31 20:55:04 <kjj_> been rock solid on my box so far, but just wanted you to know
 980 2012-08-31 20:55:27 <ciscoftw> fair enough, not like i use it for anything super major... only serv's for 800Mh/s
 981 2012-08-31 20:55:41 <ciscoftw> so not a big deal if its down for couple hrs/days
 982 2012-08-31 20:55:42 Lolcust has quit (Quit: Nap time)
 983 2012-08-31 20:55:55 Lolcust has joined
 984 2012-08-31 20:56:02 <maaku> well, backup your wallets is all we're saying
 985 2012-08-31 20:56:51 <ciscoftw> [notroot@fc15-btcserv 32]$ ./bitcoind getbalance
 986 2012-08-31 20:56:51 <ciscoftw> 0.00000000
 987 2012-08-31 20:57:13 <kjj_> ah ha!  I think I just figured out why my wallet backup cron wasn't working
 988 2012-08-31 20:57:16 <ciscoftw> not to worried about wallet ...sadly
 989 2012-08-31 21:01:21 jdnavarro has joined
 990 2012-08-31 21:01:31 Lolcust has quit (Ping timeout: 244 seconds)
 991 2012-08-31 21:03:05 Lolcust has joined
 992 2012-08-31 21:04:55 Obsi has quit (Ping timeout: 268 seconds)
 993 2012-08-31 21:07:26 <ciscoftw> 'getpeerinfo' is such a sick addition
 994 2012-08-31 21:07:58 <sipa> This is obviously some strange usage of the word 'sick' that I hadn't been previously aware of.
 995 2012-08-31 21:09:01 <Diapolo> ^^
 996 2012-08-31 21:10:09 <BlueMatt> gmaxwell: next question, would bitcoin run on a 800mhz arm a8...
 997 2012-08-31 21:10:46 <Diapolo> sipa: SetLimited(NET_IPV6); means don't use / disable IPv6, right?
 998 2012-08-31 21:10:52 <sipa> yup
 999 2012-08-31 21:20:25 MC-Eeepc has quit (Ping timeout: 272 seconds)
1000 2012-08-31 21:22:31 <sipa> ;;bc,blocks
1001 2012-08-31 21:22:31 <gribble> 196604
1002 2012-08-31 21:25:24 TD has quit (Quit: TD)
1003 2012-08-31 21:26:05 eoss has joined
1004 2012-08-31 21:26:05 eoss has quit (Changing host)
1005 2012-08-31 21:26:05 eoss has joined
1006 2012-08-31 21:27:27 phantomcircuit has joined
1007 2012-08-31 21:28:09 Raziel_ has quit (Ping timeout: 260 seconds)
1008 2012-08-31 21:28:16 phantomcircuit has left ()
1009 2012-08-31 21:38:02 jdnavarro has quit (Remote host closed the connection)
1010 2012-08-31 21:38:55 <Diapolo> sipa: what does SetReachable(NET_TOR) as for NET_IPV4 and _IPV6 this is not used
1011 2012-08-31 21:39:57 <sipa> Diapolo: done automatically from AddLocal in net.cpp
1012 2012-08-31 21:40:21 <sipa> but you may well be able to reach Tor destinations without reachable on a Tor address yourself
1013 2012-08-31 21:40:29 <gmaxwell> BlueMatt: I don't doubt that it would, you might need to do a bit of memory usage optimization. And it may lag a bit...
1014 2012-08-31 21:40:38 <Diapolo> sipa: thanks for that hint
1015 2012-08-31 21:40:58 <BlueMatt> gmaxwell: or...4 rasp pis in an array, ignoring sig checking for txes relayed from each other
1016 2012-08-31 21:41:08 <BlueMatt> +some memory ops as well
1017 2012-08-31 21:41:43 <gmaxwell> BlueMatt: pis are less than ideal, there are arm boards with more umph $ but a higher cost per board. Though I guess you want to spread them out.
1018 2012-08-31 21:42:15 <D34TH> bluematt why not a 1.4 ghz arm 10?
1019 2012-08-31 21:42:17 <BlueMatt> like/
1020 2012-08-31 21:42:18 <BlueMatt> ?
1021 2012-08-31 21:42:21 <gmaxwell> (the pi's cpu is a seriously underpowered arm, only has one execution engine, no l2 cache, etc.. that SOC was really designed to spend most of its power budget in the DSP that you're not going to use at all)
1022 2012-08-31 21:42:31 <BlueMatt> yea, the pi's cpu is really, really cheap
1023 2012-08-31 21:42:57 <gmaxwell> not just cheap, but most of its gates are in the dsp.  More applicable to your workload would be things like http://armdevices.net/2012/07/12/129-exynos4412-quad-core-arm-cortex-a9-development-board/
1024 2012-08-31 21:43:00 <BlueMatt> reading up on gumstix dont look like a great deal either, there are better ones...
1025 2012-08-31 21:43:36 <gmaxwell> yea, the gumstix are a bit overpriced, they've been around forever and for a long time were basically all there was in the really-really smal linux pc market.
1026 2012-08-31 21:43:46 <D34TH> APC or CottonCandy
1027 2012-08-31 21:43:47 <gmaxwell> though there isn't much as small as them even now.
1028 2012-08-31 21:44:31 <D34TH> cottoncandy has an A9@1.2GHz
1029 2012-08-31 21:45:02 <Luke-Jr> BlueMatt: gmaxwell: FWIW, RPi is having some USB/Ethernet issues
1030 2012-08-31 21:45:14 <BlueMatt> Luke-Jr: yea, I heard about that, havent read up on it though
1031 2012-08-31 21:45:14 <D34TH> ^
1032 2012-08-31 21:45:26 <Luke-Jr> it's a real practical problem for miners
1033 2012-08-31 21:45:51 Lolcust has quit (Quit: Nap time)
1034 2012-08-31 21:45:54 <gmaxwell> Luke-Jr: WHY ARE PEOPLE MINING USING @#$#@@#$#@$@ rasberry-pi  ::stab:: ::stab::
1035 2012-08-31 21:45:58 Lolcust has joined
1036 2012-08-31 21:46:01 <Luke-Jr> gmaxwell: cheap and low power
1037 2012-08-31 21:46:11 <Luke-Jr> fits well with the various USB FPGAs
1038 2012-08-31 21:46:15 <gmaxwell> ::stab::
1039 2012-08-31 21:46:17 <BlueMatt> I have to say this 4 core a9 for 129 is looking damn good
1040 2012-08-31 21:46:40 <Luke-Jr> gmaxwell: ? problem?
1041 2012-08-31 21:46:47 <gmaxwell> Luke-Jr: a panda board or the alike would have been a much better choice. :P
1042 2012-08-31 21:46:59 <Luke-Jr> meh, it's all proprietary ARM crap
1043 2012-08-31 21:47:08 <Luke-Jr> I'd like to get it working on my MIPS router :P
1044 2012-08-31 21:47:16 <gmaxwell> Luke-Jr: well the pi is more propritary than most.
1045 2012-08-31 21:47:48 <gmaxwell> 9/10 of the gates on the chip are in the videocore dsp, which doesn't even have a publically documented instruction set.
1046 2012-08-31 21:48:40 [\\\] has joined
1047 2012-08-31 21:49:42 <copumpkin> sounds like a job for hardcore reverse engineers
1048 2012-08-31 21:50:51 <Luke-Jr> copumpkin: somehow I don't know how practical that is
1049 2012-08-31 21:51:04 <copumpkin> reverse engineering is good for its own sake
1050 2012-08-31 21:51:05 <Luke-Jr> it's been years and nvidia drivers are still mediocre afaik
1051 2012-08-31 21:51:12 <copumpkin> :)
1052 2012-08-31 21:51:15 <jrmithdobbs> gmaxwell: ya i'm less than thrilled by how the pi has turned out
1053 2012-08-31 21:51:19 <jrmithdobbs> as far as openness
1054 2012-08-31 21:51:26 <copumpkin> Luke-Jr: clearly the reverse engineers there aren't hardcore enough
1055 2012-08-31 21:51:29 <copumpkin> I said we need hardcore ones
1056 2012-08-31 21:51:37 <copumpkin> no true hardcore reverse engineer...
1057 2012-08-31 21:51:57 <gmaxwell> They're off with the scottsmen.
1058 2012-08-31 21:52:07 <Luke-Jr> there's no such thing as a scotsman
1059 2012-08-31 21:52:13 <copumpkin> I'm in england now, so I might travel up north to meet a true scotsman
1060 2012-08-31 21:52:28 datagutt has quit (Quit: Computer has gone to sleep.)
1061 2012-08-31 21:52:40 maaku has quit (Quit: maaku)
1062 2012-08-31 21:54:14 [\\\] is now known as btsguy
1063 2012-08-31 21:54:34 btsguy is now known as [\\\]
1064 2012-08-31 21:55:53 <Diapolo> sipa: can you try to reach my hidden service (testnet) via 36zog7xdlcb2yeog.onion
1065 2012-08-31 21:57:17 <sipa> let's see
1066 2012-08-31 21:57:35 <gmaxwell> If only I could addnode without shutting down!
1067 2012-08-31 21:58:23 <sipa> hmm, Proxy error: connection not allowed
1068 2012-08-31 21:59:00 <Diapolo> I used: -tor=127.0.0.1:9050 -externalip=36zog7xdlcb2yeog.onion -listen
1069 2012-08-31 22:00:21 <sipa> did you configure a service on tor?
1070 2012-08-31 22:00:26 <Diapolo> yes
1071 2012-08-31 22:00:49 <gmaxwell> hidden service don't always work instantly. How long has your node been up?
1072 2012-08-31 22:00:54 <Diapolo> LOL I configured main net ^^ 8333
1073 2012-08-31 22:00:58 <Diapolo> just a sec
1074 2012-08-31 22:01:36 <Luke-Jr> gmaxwell: BlueMatt's pullreq for that didn't get in? :<
1075 2012-08-31 22:01:58 <Diapolo> changed to 18333
1076 2012-08-31 22:02:11 <gmaxwell> Luke-Jr: we were too busy shedpainting it.
1077 2012-08-31 22:02:18 <Luke-Jr> :/
1078 2012-08-31 22:02:28 <sipa> Diapolo: it connected, and disconnected...
1079 2012-08-31 22:02:30 Mobius_ has quit (Remote host closed the connection)
1080 2012-08-31 22:02:30 <BlueMatt> I had a pull for network-something?
1081 2012-08-31 22:02:36 <gmaxwell> BlueMatt: addnode.
1082 2012-08-31 22:02:36 * Luke-Jr blames Diapolo
1083 2012-08-31 22:02:39 <BlueMatt> ahh
1084 2012-08-31 22:02:39 <Luke-Jr> j/k :p
1085 2012-08-31 22:02:49 <Diapolo> Luke-Jr: for what? ^^
1086 2012-08-31 22:03:09 <Luke-Jr> Diapolo: not sure!
1087 2012-08-31 22:03:16 <gmaxwell> well, even I'm not totally happy with the behavior of it, though no fault of bluematt the whole addnode dns interaction is weird.
1088 2012-08-31 22:03:23 <Diapolo> sipa: I restarted Tor after changing the port just to be sure, can you try again?
1089 2012-08-31 22:03:28 <sipa> Diapolo: already connected
1090 2012-08-31 22:03:51 MobiusL has joined
1091 2012-08-31 22:03:52 <Diapolo> 127.0.0.1:50085 is via Tor I guess?
1092 2012-08-31 22:03:56 <sipa> yes
1093 2012-08-31 22:04:12 <Diapolo> then it seems I did setup my first hidden service ^^
1094 2012-08-31 22:04:20 <gmaxwell> hurrah!
1095 2012-08-31 22:04:23 <sipa> \o/
1096 2012-08-31 22:04:32 <Diapolo> thanks dear sirs ^^
1097 2012-08-31 22:04:40 <gmaxwell> "If Diapolo can do it then anyone can!"
1098 2012-08-31 22:04:42 * gmaxwell ducks
1099 2012-08-31 22:04:43 <gmaxwell> ;)
1100 2012-08-31 22:04:44 <Luke-Jr> ouch
1101 2012-08-31 22:04:50 <Diapolo> 8-)
1102 2012-08-31 22:04:53 <gmaxwell> (I am kidding, of course)
1103 2012-08-31 22:04:59 <BlueMatt> gmaxwell: Id say that is my fault...I wrote addnode...
1104 2012-08-31 22:05:15 <Diapolo> gmaxwell: I feel a little truth, but no offense ^^. You know I'm that Windows guy :-P.
1105 2012-08-31 22:05:43 <BlueMatt> gmaxwell: thanks for the tip, two $150 quad-core arms on order :)
1106 2012-08-31 22:05:49 <gmaxwell> well, no, you are a good test subject. jrmithdobbs, sipa, gavin, and I are the only people I know that have tested it... and we all knew a bit more about tor than you did.
1107 2012-08-31 22:06:36 * Luke-Jr knows nothing about Tor hidden services … but probably still too much to be a good tester XD
1108 2012-08-31 22:06:38 <Diapolo> that Vidalia package is rather easy to use and the Tor.txt is fine ... I'm not sure about the novice user, but it can be done
1109 2012-08-31 22:06:46 <gmaxwell> BlueMatt: Great, I look forward to hearing how they work.
1110 2012-08-31 22:07:22 <gmaxwell> Diapolo: yea, I don't expect joe-average to set it up. Someday tor is supposted to get a way for applications to request hidden service setup.. and when that happens it will be much easier.
1111 2012-08-31 22:07:47 <Luke-Jr> gmaxwell: I wonder if UPnP would work for that
1112 2012-08-31 22:07:52 <Diapolo> sipa: as I used just -tor: it means all connection I have (incoming ones) are other users that use Tor proxies?
1113 2012-08-31 22:08:10 <sipa> Diapolo: no
1114 2012-08-31 22:08:41 <sipa> -tor is just "which proxy to use for outgoing tor connections"
1115 2012-08-31 22:09:19 <sipa> it doesn't prevent connections to or fro; normal IPv4
1116 2012-08-31 22:09:46 <Diapolo> so this is not the optimum in terms of privacy, right?
1117 2012-08-31 22:09:59 <sipa> not at all
1118 2012-08-31 22:10:03 <sipa> use -proxy for that
1119 2012-08-31 22:10:15 <gmaxwell> perhaps in 0.8 we should add some tor icon that lights up if you have _only_ tor connections?
1120 2012-08-31 22:11:00 <gmaxwell> (or rather, have at least one connection and are only able to have tor connections)
1121 2012-08-31 22:11:16 <Diapolo> I'm not sure if I understood the difference here sipa, can you explain a little more detailed.
1122 2012-08-31 22:11:30 <Diapolo> -tor vs. -proxy -tor vs. -proxy
1123 2012-08-31 22:11:36 <sipa> Diapolo: -proxy means "use this proxy for everything"
1124 2012-08-31 22:11:48 <sipa> -tor means "use this proxy for connections to .onion addresses"
1125 2012-08-31 22:12:19 <sipa> -proxy -tor means "use this proxy for everything, but that one for .onion addresses"
1126 2012-08-31 22:12:45 <Diapolo> so -proxy is the general thing in between in/outgoing connections, while -tor just for outgoing ones to tor
1127 2012-08-31 22:12:47 <sipa> plus, -proxy disables listening by default
1128 2012-08-31 22:12:54 ThomasV has joined
1129 2012-08-31 22:12:56 ThomasV has quit (Changing host)
1130 2012-08-31 22:12:56 ThomasV has joined
1131 2012-08-31 22:13:18 <Luke-Jr> 507 testnet blocks found without a problem..
1132 2012-08-31 22:14:02 <Luke-Jr> is there a good way to copy an address from testnet2 to testnet3? :P
1133 2012-08-31 22:14:14 <Diapolo> What would you define as best in terms of privacy but allow others to allow hs connections then? -proxy -tor -listen
1134 2012-08-31 22:14:57 <sipa> Diapolo: best for privacy is only outgoing connections through Tor i guess, and if you're paranoid, only to other hidden services
1135 2012-08-31 22:15:11 <sipa> -proxy=<tor> -onlynet=tor
1136 2012-08-31 22:15:25 <Diapolo> I'm not but was interested :).
1137 2012-08-31 22:15:53 chrisb__ has quit (Quit: Leaving)
1138 2012-08-31 22:15:54 <sipa> Diapolo: oh, i've downloaded 21000 testnet blocks through tor from you
1139 2012-08-31 22:15:56 <gmaxwell> you can't bootstrap that way however.
1140 2012-08-31 22:16:12 <sipa> yeah you'll need some known onion peers
1141 2012-08-31 22:16:34 slush has joined
1142 2012-08-31 22:17:10 <Diapolo> sipa: so it works good :)
1143 2012-08-31 22:18:00 <Diapolo> Sipa: To extend my questions, a seperate IPv6 proxy would be for outgoing connections to IPv6 peers / addresses then right?
1144 2012-08-31 22:18:09 <sipa> yes
1145 2012-08-31 22:20:39 agricocb has quit (Quit: Leaving.)
1146 2012-08-31 22:21:11 davout has quit (Remote host closed the connection)
1147 2012-08-31 22:23:28 ThomasV has quit (Ping timeout: 245 seconds)
1148 2012-08-31 22:31:52 <Diapolo> I love getpeerinfo
1149 2012-08-31 22:32:03 ovidiusoft has quit (Ping timeout: 240 seconds)
1150 2012-08-31 22:33:56 ThomasV has joined
1151 2012-08-31 22:35:28 <gmaxwell> yea, gettpeerinfo is goodness.
1152 2012-08-31 22:36:49 <Diapolo> Blizzard would nerf it IMHO.
1153 2012-08-31 22:38:58 minimoose has quit (Quit: minimoose)
1154 2012-08-31 22:39:41 ThomasV has quit (Ping timeout: 252 seconds)
1155 2012-08-31 22:40:57 copumpkin has quit (Ping timeout: 248 seconds)
1156 2012-08-31 22:41:48 <sipa> ...?
1157 2012-08-31 22:44:15 <Diapolo> "Nerf (video gaming), a change to a computer game that makes the "nerfed" game element less desirable"
1158 2012-08-31 22:44:27 <sipa> i know that
1159 2012-08-31 22:44:34 rdponticelli has quit (Ping timeout: 246 seconds)
1160 2012-08-31 22:44:37 <sipa> but i don't see what blizzard has to do with getpeerinfo
1161 2012-08-31 22:45:04 copumpkin has joined
1162 2012-08-31 22:45:08 <Diapolo> as getpeerinfo == goodness == imbalanced in terms of gameplay ... well it was just a random though related to my old WoW phase
1163 2012-08-31 22:45:15 <gmaxwell> its seems that blizzard nerfing things is a meme
1164 2012-08-31 22:46:00 <Diapolo> gmaxwell: sipa: Can you take a look https://github.com/Diapolo/bitcoin/commit/ff10bde440e9a7837b1df9b338741dac126b6ade
1165 2012-08-31 22:47:33 <sipa> Diapolo: i don't think just -proxy6 should imply -nolisten; but i'm not sure in what practical setting that would be used anyway, so it's hard to guess best defaults
1166 2012-08-31 22:48:57 <Diapolo> well as your wish was to have a Qt setting for reaching IPv6 peers there needs to be code in the core :) what -proxy6 implies can be changed, no problem with that
1167 2012-08-31 22:49:09 <Diapolo> Qt proxy setting
1168 2012-08-31 22:49:22 <sipa> sure; no problem with adding -proxy6
1169 2012-08-31 22:49:35 slush has quit (Ping timeout: 252 seconds)
1170 2012-08-31 22:49:40 <sipa> but the Qt settings thing will directly call SetProxy, no?
1171 2012-08-31 22:50:05 <sipa> so it doesn't really need -proxy6 to exist, or am I missing something?
1172 2012-08-31 22:50:24 <Diapolo> it would work like it does now for Qt, just the switch should be in the core too IMO
1173 2012-08-31 22:50:52 <sipa> ok, agree
1174 2012-08-31 22:50:56 <Diapolo> or I missunderstand, why we need it in Qt but not the core ^^
1175 2012-08-31 22:51:20 <sipa> no i agree it's good for consistency that both interfaces have the same functionality
1176 2012-08-31 22:51:41 <sipa> i was just wondering whether something like -proxy6 was required to have it in Qt
1177 2012-08-31 22:52:21 <Diapolo> gmaxwell or you suggested such an option a few weeks ago
1178 2012-08-31 22:52:55 slush has joined
1179 2012-08-31 22:52:56 slush has quit (Changing host)
1180 2012-08-31 22:52:56 slush has joined
1181 2012-08-31 22:52:59 <Diapolo> did I remember correctly, that IPv6 requires SOCKS5?
1182 2012-08-31 22:53:04 <sipa> yes
1183 2012-08-31 22:55:25 <Diapolo> I'm going to remove that -proxy6 implies -listen to be disabled. Are you fine with opening that as pull or are there big bugs jumping on you?
1184 2012-08-31 22:55:47 <sipa> nothing obvious, looks good
1185 2012-08-31 22:55:56 olp has quit (Quit: Leaving.)
1186 2012-08-31 22:56:25 <BlueMatt> bug bugs jumping on you...oh shit that would not be good, call an exterminator or something
1187 2012-08-31 22:56:55 <Diapolo> I think the funny thing will be to bring that bunch of different possibilities into Qt ^^.
1188 2012-08-31 22:56:59 <Diapolo> BlueMatt: :-D
1189 2012-08-31 22:58:05 gavinandresen has quit (Quit: gavinandresen)
1190 2012-08-31 22:59:23 <sipa> Diapolo: and I hope you don't need my approval to open a pull request :)
1191 2012-08-31 23:00:17 <Diapolo> Gavin scared me a few times ^^ and as he will get informed I wanted to lower my fear when opening a core-changing pull.
1192 2012-08-31 23:00:39 danbri has quit (Remote host closed the connection)
1193 2012-08-31 23:00:56 <sipa> haha
1194 2012-08-31 23:01:08 <gmaxwell> Diapolo: at worst your pull request gets closed and you get to open a new one later. No biggie.
1195 2012-08-31 23:01:15 * sipa 's first pull request took half a year to get merged
1196 2012-08-31 23:01:22 Cablesaurus has quit (Quit: I cna ytpe 300 wrods pre mniuet!!!)
1197 2012-08-31 23:02:42 slush has quit (Ping timeout: 268 seconds)
1198 2012-08-31 23:02:46 agricocb has joined
1199 2012-08-31 23:03:02 <Diapolo> It was a rather big one I guess?
1200 2012-08-31 23:03:29 <sipa> import/export of private keys
1201 2012-08-31 23:04:58 <BlueMatt> holy shit...wtf? I wrote -logtimestamps
1202 2012-08-31 23:05:05 <sipa> really?
1203 2012-08-31 23:05:13 <BlueMatt> apparently
1204 2012-08-31 23:05:13 <BlueMatt> https://github.com/bitcoin/bitcoin/pull/110
1205 2012-08-31 23:05:15 <Diapolo> I changed a comment in the translation process ^^.
1206 2012-08-31 23:05:27 <BlueMatt> going back through my own pulls is kinda funny...I dont remember doing >1/2 of them
1207 2012-08-31 23:06:03 <Diapolo> So, what's that favorite alcoholic drink while coding?
1208 2012-08-31 23:06:06 <kjj_> you can get timestamps in your logs?!  brb
1209 2012-08-31 23:06:12 <gmaxwell> hahah
1210 2012-08-31 23:06:15 <BlueMatt> heh
1211 2012-08-31 23:06:19 <Diapolo> hrhr that was a good one
1212 2012-08-31 23:06:55 <sipa> Diapolo: don't drink and code :)
1213 2012-08-31 23:07:06 <BlueMatt> sipa: awww...thats no fun :(
1214 2012-08-31 23:07:13 <sipa> Diapolo: (or at least, don't push to bitcoin/bitcoin.git when drunk(
1215 2012-08-31 23:07:23 <BlueMatt> well, ok yea, never push while drunk
1216 2012-08-31 23:07:29 <Diapolo> I guess there would be some really great commit messages ^^.
1217 2012-08-31 23:08:14 <sipa> i have IRC logs of things I said while being drunk :S
1218 2012-08-31 23:08:43 <BlueMatt> sipa: heh, yea, those ones are always...fun
1219 2012-08-31 23:10:18 <Diapolo> I have to be here when that happens ... things will get less techie and more philosophic.
1220 2012-08-31 23:10:33 Karmaon_ has joined
1221 2012-08-31 23:10:34 Karmaon_ has quit (Changing host)
1222 2012-08-31 23:10:34 Karmaon_ has joined
1223 2012-08-31 23:12:02 Karmaon1 has quit (Ping timeout: 264 seconds)
1224 2012-08-31 23:14:06 LuaKTT has joined
1225 2012-08-31 23:14:08 <sipa> Diapolo: it's been a few years ago, thankfully :)
1226 2012-08-31 23:14:18 bitcoinz has joined
1227 2012-08-31 23:14:53 LuaKTT has quit (Client Quit)
1228 2012-08-31 23:16:55 LuaKT has quit (Ping timeout: 244 seconds)
1229 2012-08-31 23:17:56 <Diapolo> the internet doesn't forget ;) I'm outa here for now...
1230 2012-08-31 23:18:15 Motest003 has joined
1231 2012-08-31 23:18:33 Motest031 has quit (Ping timeout: 240 seconds)
1232 2012-08-31 23:18:51 Diapolo has quit (Quit: Leaving.)
1233 2012-08-31 23:20:26 Cryo has quit (Read error: No route to host)
1234 2012-08-31 23:22:32 Cryo has joined
1235 2012-08-31 23:22:33 Cryo has quit (Changing host)
1236 2012-08-31 23:22:33 Cryo has joined
1237 2012-08-31 23:24:22 _W_ is now known as W_
1238 2012-08-31 23:25:47 brwyatt is now known as Away!~brwyatt@brwyatt.net|brwyatt
1239 2012-08-31 23:28:07 olp has joined
1240 2012-08-31 23:36:14 rdponticelli has joined
1241 2012-08-31 23:36:43 toffoo has quit ()
1242 2012-08-31 23:37:43 ciscoftw has quit ()
1243 2012-08-31 23:52:06 <jrmithdobbs> has anyone else been seeing this kind of stuff? TCP: Peer 188.222.86.47:64587/8333 unexpectedly shrunk window 1764239751:1764242671 (repaired)
1244 2012-08-31 23:57:14 Karmaon_ has quit (Ping timeout: 276 seconds)
1245 2012-08-31 23:57:55 galambo_ has quit (Read error: Connection reset by peer)