1 2012-11-05 00:00:32 <kjj_> ok, I really really hate git.  Is there a simple way to make the master branch of my local repo a correct and current copy of github/bitcoin/bitcoin ?
   2 2012-11-05 00:01:16 <conman> hmm I followed the directions
   3 2012-11-05 00:01:19 <Luke-Jr> kjj_: git checkout master; git reset --hard origin/master
   4 2012-11-05 00:01:25 <Luke-Jr> kjj_: assuming you initially cloned from there
   5 2012-11-05 00:02:33 <conman> I dont get it, what is the 4 byte sequence number?
   6 2012-11-05 00:02:34 <Luke-Jr> conman: which directions are you referring to there? maybe there's an error in some docs
   7 2012-11-05 00:02:42 <conman> https://en.bitcoin.it/wiki/Getblocktemplate#For_developers
   8 2012-11-05 00:02:44 <Luke-Jr> conman: it's always ffffffff in Bitcoin
   9 2012-11-05 00:02:55 Ferroh has joined
  10 2012-11-05 00:03:31 <Luke-Jr> conman: noticing the entire submitblock data also has 4 extra bytes at the end - possible you're simply incrementing the length too much somehow?
  11 2012-11-05 00:03:42 <kjj_> Luke-Jr: it says that it updated HEAD, but all of my files are still the old ones
  12 2012-11-05 00:03:44 Diablo-D3 has quit (Read error: Connection reset by peer)
  13 2012-11-05 00:03:51 <Luke-Jr> kjj_: git pull
  14 2012-11-05 00:04:06 <kjj_> already up to date
  15 2012-11-05 00:04:40 <sipa> kjj_: what does git status say?
  16 2012-11-05 00:04:53 <Luke-Jr> conman: actually, there's no extranonce in your share, so maybe you're incrementing, but not adding it at the right position?
  17 2012-11-05 00:05:03 <kjj_> on branch master
  18 2012-11-05 00:05:19 <sipa> kjj_: git fetch origin; git reset --hard origin/master
  19 2012-11-05 00:05:28 <Luke-Jr> the extra 4 bytes at the end are 64000000 - maybe that was supposed to be the extranonce?
  20 2012-11-05 00:06:03 <kjj_> says the same thing that it said before, HEAD is now at 6cbae37
  21 2012-11-05 00:06:34 <sipa> and the files are still... not master?
  22 2012-11-05 00:06:39 <conman> Luke-Jr, the python example shows the blkdata minimum return as:
  23 2012-11-05 00:06:41 <kjj_> right
  24 2012-11-05 00:06:43 <conman> blkdata = blkheader + varintEncode(len(txnlist)) + coinbase
  25 2012-11-05 00:06:54 <sipa> kjj_: in what way are they not master?
  26 2012-11-05 00:07:03 <conman> am I appending the coinbase wrong?
  27 2012-11-05 00:07:15 Diablo-D3 has joined
  28 2012-11-05 00:07:16 <conman> well I could be generating the coinbase wrong too
  29 2012-11-05 00:07:26 <sipa> conman: coinbase is the entire coinbase transaction i suppose; not just the script
  30 2012-11-05 00:07:56 <kjj_> sipa: well, what I'm checking is the error codes in rpcwallet.cpp.  the website shows the new RPC_BLAH_BLAH, mine is showing -11 etc
  31 2012-11-05 00:08:36 <sipa> kjj_: wait... is origin not your github fork?
  32 2012-11-05 00:08:53 <sipa> so you're pulling from your own outdated copy of master on github
  33 2012-11-05 00:09:10 <sipa> do you have an 'upstream' remote configured?
  34 2012-11-05 00:09:15 <Luke-Jr> conman: no, just the coinbase seems to be malformed from what I can tell
  35 2012-11-05 00:09:23 <kjj_> heh, how the hell would I know?  I set it up by following Gavin's directions on the forum without really knowing what I was doing
  36 2012-11-05 00:09:26 <conman> Luke-Jr, the real question is if the docs there are still correct?
  37 2012-11-05 00:09:43 <conman> how to build coinbase transaction
  38 2012-11-05 00:09:59 <conman> coinbase = coinbase[0:41] + chr(newLen).encode('ascii') + coinbase[42:42 + origLen] + extradata + coinbase[42 + origLen:]
  39 2012-11-05 00:09:59 <Luke-Jr> conman: I re-read the relevant part and it seems to be; I did actually test all the code on that page, too
  40 2012-11-05 00:10:15 <Luke-Jr> conman: your extradata is null, if you are doing that.
  41 2012-11-05 00:10:29 <conman> hmm wait
  42 2012-11-05 00:10:33 <conman> + coinbase[42 + origLen:]
  43 2012-11-05 00:10:33 <sipa> kjj_: git fetch upstream
  44 2012-11-05 00:10:36 <conman> what's that?
  45 2012-11-05 00:10:37 <sipa> kjj_: does that do anything?
  46 2012-11-05 00:10:53 <kjj_> says it doesn't appear to be a repo
  47 2012-11-05 00:11:03 RainbowDashh has quit (Quit: SLEEP! [11:14:29] <+Tsunami1>	 http://i.imgur.com/t2rz5.png)
  48 2012-11-05 00:11:07 <sipa> kjj_: do this:
  49 2012-11-05 00:11:15 <Luke-Jr> conman: you need to insert the extradata 42+origLen bytes into the coinbase
  50 2012-11-05 00:11:26 <conman> that's where I've inserted it
  51 2012-11-05 00:11:32 <sipa> kjj_: git remote add upstream git@github.com:bitcoin/bitcoin.git
  52 2012-11-05 00:11:35 <conman> the question is what is the last thing appended?
  53 2012-11-05 00:11:36 <Luke-Jr> conman: the actual data you sent has nothing inserted there
  54 2012-11-05 00:11:39 <conman> coinbase[42 + origLen:]
  55 2012-11-05 00:11:51 <conman> nothing appended?
  56 2012-11-05 00:12:10 <sipa> kjj_: now you have two 'remotes' configured, one called 'origin' that points to your own github repo, and one called 'upstream' that points to the upstream repository
  57 2012-11-05 00:12:12 * conman looks
  58 2012-11-05 00:12:12 <Luke-Jr> conman: that is the same in C as: &coinbase[42 + origLen]
  59 2012-11-05 00:12:14 gjs278 has joined
  60 2012-11-05 00:12:27 <kjj_> ok, and then git fetch upstream did a bunch of stuff
  61 2012-11-05 00:12:33 <conman> Luke-Jr, but there should be nothing there any more
  62 2012-11-05 00:12:42 <Luke-Jr> conman: the appending is to the scriptSig, not to the full coinbase transaction
  63 2012-11-05 00:12:49 <sipa> kjj_: good, so now you have all branches from upstream mirrored locally
  64 2012-11-05 00:12:55 <conman> I dont understand what that means
  65 2012-11-05 00:13:00 <conman> I dont know what a scriptsig is
  66 2012-11-05 00:13:03 <sipa> kjj_: you are currently still in your own local master branch, right?
  67 2012-11-05 00:13:17 <kjj_> yeah, but now I have a branch that I need to fix
  68 2012-11-05 00:13:29 <sipa> ok, tell me what you want to do
  69 2012-11-05 00:14:00 <kjj_> I have a branch named rpcnormal that was based on the old version.  I need to change that so that it is a diff of the master that I just fetched
  70 2012-11-05 00:14:44 <sipa> you want to rebase your changes in rpcnormal to upstream master? (adapting the patch so it seems like it was written against the current head) ?
  71 2012-11-05 00:14:55 <Luke-Jr> conman: coinbase[41] is the length of a part of the coinbase called "scriptSig"
  72 2012-11-05 00:15:02 <kjj_> sipa: right
  73 2012-11-05 00:15:15 <sipa> kjj_: ok, do this: first switch to your branch: git checkout rpcnormal
  74 2012-11-05 00:15:17 <Luke-Jr> conman: coinbase[42] onward is the content of the "scriptSig" as received by the pool
  75 2012-11-05 00:15:26 <conman> right, and I increment coinbase[41] by 4
  76 2012-11-05 00:15:34 <Luke-Jr> conman: you need to increment coinbase[41] by the length of the data you are appending, and then append that scriptSig data
  77 2012-11-05 00:15:36 <sipa> kjj_: then do this: git rebase -i upstream/master
  78 2012-11-05 00:15:44 <conman> and append 4 bytes at the end of the coinbase
  79 2012-11-05 00:15:49 <Luke-Jr> after the scriptSig data is more coinbase transaction data - that goes AFTER the data you append
  80 2012-11-05 00:16:05 <sipa> kjj_: that will show you an editor with a list of all changes the old patch had - typically it should just contain your own
  81 2012-11-05 00:16:06 <conman> ah I need to exatract the position from coinbase[41] ?
  82 2012-11-05 00:16:09 <Luke-Jr> yes
  83 2012-11-05 00:16:12 <conman> aha
  84 2012-11-05 00:16:16 <kjj_> sipa: git checkout rpcnormal first?  and why upstream/master instead of just master?
  85 2012-11-05 00:16:28 <conman> that must be what I'm doing wrong then, I thought it just appended at the end
  86 2012-11-05 00:16:36 <conman> let's fiddle
  87 2012-11-05 00:16:52 <sipa> kjj_: because master is your local 'master' branch - it has no special relationship (well, it has, but imho that's confusing) with the bitcoin/bitcoin.git master
  88 2012-11-05 00:16:56 * Luke-Jr ponders adding Python2/Python3 snippets to that page for more clarify, since the portable version is kinda confusing
  89 2012-11-05 00:17:17 * conman doesn't understand python
  90 2012-11-05 00:17:42 <sipa> kjj_: upstream/master is the master branch most recently synchronized using git fetch (or git pull, which does magic) from the upstream repository
  91 2012-11-05 00:17:56 <kjj_> ahh, ok
  92 2012-11-05 00:18:02 <kjj_> naturally, it can't apply
  93 2012-11-05 00:18:08 <Luke-Jr> conman: also note that you are not claiming time/increment capability, which might be desirable if you intend to roll the time header too (though in practice it doesn't matter with Eloipool)
  94 2012-11-05 00:18:14 <sipa> kjj_: ok, git status will tell you the conflicts
  95 2012-11-05 00:18:34 <conman> I'm not planning on it
  96 2012-11-05 00:18:46 <conman> 2^32 * 2^32 is a fair range of work...
  97 2012-11-05 00:19:12 <kjj_> I know what the conflicts are.  I'm just hoping there is an easy way to fix them
  98 2012-11-05 00:19:23 Zarutian has quit (Quit: Zarutian)
  99 2012-11-05 00:19:41 pierre` has quit (Remote host closed the connection)
 100 2012-11-05 00:20:22 <D34TH> conman(2^32)^2
 101 2012-11-05 00:20:24 <D34TH> :D
 102 2012-11-05 00:20:47 <conman> Luke-Jr, is a longpollid template guaranteed to be a different coinbase/transaction combo? Can I reset the extranonce at that point?
 103 2012-11-05 00:20:49 <kjj_> the throw JSONRPCError lines had string literals in my repo when I made the change, and now they have names
 104 2012-11-05 00:20:59 <conman> D34TH, (2^32) << 1
 105 2012-11-05 00:21:02 <kjj_> er, negative integer literals rather
 106 2012-11-05 00:21:09 <conman> ouafh
 107 2012-11-05 00:21:11 <sipa> conman: (2^32) << 32
 108 2012-11-05 00:21:13 <conman> typos forget it
 109 2012-11-05 00:21:17 <conman> yeah that sipa :)
 110 2012-11-05 00:21:22 <Luke-Jr> conman: it's not; but every template received should be unique
 111 2012-11-05 00:21:25 <sipa> i don't think we'll see hardware that goes through 2^64 hashes in any reasonable update interval
 112 2012-11-05 00:21:34 <conman> hmm should or is I wonder
 113 2012-11-05 00:21:35 <sipa> any time soon
 114 2012-11-05 00:21:39 <Luke-Jr> conman: err, maybe I misunderstood you
 115 2012-11-05 00:21:48 <kjj_> oh, sweet.  the conflicts are marked in the source.  can I just edit those to the after version?
 116 2012-11-05 00:21:51 <conman> I guess time alone is enough to discriminate them
 117 2012-11-05 00:21:58 <D34TH> suddenly 2^512
 118 2012-11-05 00:21:59 root2 has quit (Read error: Connection reset by peer)
 119 2012-11-05 00:22:01 <conman> that will make them different templates
 120 2012-11-05 00:22:01 <Luke-Jr> conman: longpollid is not guaranteed to change/return for every transaction change, but the response from a LP will of course be unique
 121 2012-11-05 00:22:16 root2 has joined
 122 2012-11-05 00:22:56 <conman> we use 30 second refreshes of the template equivalent with stratum, I'm going to work with the same for gbt when there is no longpollid template unless there's a good reason
 123 2012-11-05 00:23:11 <conman> now to try and fix this coinbase
 124 2012-11-05 00:23:11 <sipa> oh, you'd only need 20500 BFL SC minirigs to do 2^64 hashes per 10 minutes!
 125 2012-11-05 00:24:05 <Luke-Jr> conman: when you get that working, let me know and I'll remove the 32 txn limit for testing bigger blocks
 126 2012-11-05 00:24:10 <D34TH> sipa: you use that word `only`
 127 2012-11-05 00:24:17 <Luke-Jr> wizkid057: ^
 128 2012-11-05 00:24:44 <wizkid057> hmm hmm
 129 2012-11-05 00:24:59 <sipa> D34TH: the sentence also includes "'d"
 130 2012-11-05 00:25:31 <wizkid057> wait wait... there will be none of this bigger block nonsense
 131 2012-11-05 00:25:33 <wizkid057> i forbid it
 132 2012-11-05 00:25:39 <wizkid057> :D
 133 2012-11-05 00:25:43 <Luke-Jr> ._.
 134 2012-11-05 00:25:46 * conman clubs wizkid057 
 135 2012-11-05 00:26:00 * wizkid057 recovers and scratches head
 136 2012-11-05 00:26:04 <conman> Luke-Jr, still a while off release quality...
 137 2012-11-05 00:26:12 <D34TH> wasn't looking at grammer, 20500*29899 is only chump change
 138 2012-11-05 00:26:14 <wizkid057> alright maybe
 139 2012-11-05 00:26:15 <wizkid057> lol
 140 2012-11-05 00:26:16 <D34TH> :D
 141 2012-11-05 00:26:47 <conman> well what the heck, I could always make extranonce 8 bytes and then we have 2^32 * 2^64 work items...
 142 2012-11-05 00:26:56 <Luke-Jr> ;)
 143 2012-11-05 00:27:04 <conman> maybe next version
 144 2012-11-05 00:27:10 <D34TH> conman: go big or go home, 64 bytes
 145 2012-11-05 00:27:17 <conman> though it's already built into stratum
 146 2012-11-05 00:27:26 maaku has quit (Quit: maaku)
 147 2012-11-05 00:27:27 <conman> D34TH, that would not work alas
 148 2012-11-05 00:27:31 <conman> it would be too long
 149 2012-11-05 00:27:45 <conman> wonder if I can get that 500 error meanwhile
 150 2012-11-05 00:27:53 <D34TH> whats the longest possible extranonce
 151 2012-11-05 00:28:11 <conman> nfi
 152 2012-11-05 00:28:16 <sipa> just go all the way; 96 bytes, or 6668014432879854274079851790721257797144758322315908160396257811764037237817632071521432200871554290742929910593433240445888801654119365080363356052330830046095157579514014558463078285911814024728965016135886601981690748037476461291163877376 hashes per work unit
 153 2012-11-05 00:28:27 <D34TH> thats a big number
 154 2012-11-05 00:29:00 <sipa> actually, more than 28 bytes of extranonce is pointless
 155 2012-11-05 00:29:02 <Luke-Jr> conman: well, trying to get the 500 is why I suggested increasing the block size at Eligius to test after you have the current stuff working
 156 2012-11-05 00:29:29 <sipa> at that time you can do a double-SHA256 preimage with chance 50% in every work unit
 157 2012-11-05 00:30:43 <conman> Luke-Jr, well it's likely a pool error if there's a malformed message sent if it 500s
 158 2012-11-05 00:31:10 <conman> I got one about an hour ago on eligius, but I'll try to do it again now
 159 2012-11-05 00:31:41 <Luke-Jr> conman: could be, it tries to parse the coinbase txn to find the work item (I implemented it before workid was in GBT)
 160 2012-11-05 00:32:11 <D34TH> sipa: turns out 96 bytes allow unix timestamps to be compatible with the december 4, 292277026596 bug
 161 2012-11-05 00:32:45 <sipa> that sounds like an extremely small year number
 162 2012-11-05 00:33:01 <D34TH> its past the heat death
 163 2012-11-05 00:33:13 <conman> I'll be there
 164 2012-11-05 00:34:18 <D34TH> sadly enough in 2106, 0xFFFFFFFF will be reached
 165 2012-11-05 00:38:21 <conman> well that one didn't look any better...
 166 2012-11-05 00:38:50 <conman> plus there's that ffff thingy you mentioned
 167 2012-11-05 00:38:54 <conman> whatever that is
 168 2012-11-05 00:39:12 <abracadabra> use more bits!
 169 2012-11-05 00:39:30 <wizkid057> i must be getting tired... i spent the past 15 minutes trying to figure out why my SHA256 wasnt giving me a block hash from a header...
 170 2012-11-05 00:39:40 <wizkid057> then i remembered that I needed to do it twice... lol
 171 2012-11-05 00:39:47 <D34TH> lol
 172 2012-11-05 00:40:44 <conman> Luke-Jr, wanna see what's wrong with the submitted blocks now?
 173 2012-11-05 00:41:42 <conman> looks kinda long...
 174 2012-11-05 00:41:49 <wizkid057> 0000000241e5091335a9092a2657f1ce329d59df12d9c29d7d43de460000012b000000005a329930ebcc2d80810fe05ea5b9533ff54ea989da825144e84e5f92ab9fa1d55097082c1a0513c53d801d00 ?
 175 2012-11-05 00:42:10 <Luke-Jr> conman: long?
 176 2012-11-05 00:42:19 <conman> what I'm submitting looks too long
 177 2012-11-05 00:42:26 <Luke-Jr> conman: H-not-zero means the hash of the header doesn't have 32-bit zero
 178 2012-11-05 00:42:32 <Luke-Jr> yes, it looks 4 bytes too long
 179 2012-11-05 00:42:38 <Luke-Jr> up to that last 4 bytes, it looks ok
 180 2012-11-05 00:42:40 <wizkid057> hmm... my hash still isnt working...
 181 2012-11-05 00:42:42 <Luke-Jr> need to check block id though
 182 2012-11-05 00:42:42 * wizkid057 sighs
 183 2012-11-05 00:43:36 <conman> sigh what a mess
 184 2012-11-05 00:43:41 <wizkid057> nm
 185 2012-11-05 00:43:46 <wizkid057> yay for endian
 186 2012-11-05 00:43:52 <conman> heh
 187 2012-11-05 00:44:39 <conman> wizkid057, what you posted there, the last 4 bytes are different
 188 2012-11-05 00:44:50 <wizkid057> hm?
 189 2012-11-05 00:44:51 <conman> and not endian different
 190 2012-11-05 00:44:56 <wizkid057> i just grabbed your last rejected share
 191 2012-11-05 00:44:57 <Luke-Jr> conman: your header looks ok except for the extra data (and maybe merkle root, didn't check)
 192 2012-11-05 00:44:59 <conman> to what I'm apparently submitting
 193 2012-11-05 00:45:12 <wizkid057> conman: ah, no, sorry... i was referring to my personal project with the endian stuff
 194 2012-11-05 00:45:12 <Luke-Jr> conman: since you're getting H-not-zero, I suspect the problem is in struct work's data now
 195 2012-11-05 00:45:21 <wizkid057> didnt mean to confuse ;)
 196 2012-11-05 00:45:36 <conman> 00a45dfb are the last 4 bytes I'm sending wizkid057
 197 2012-11-05 00:45:39 <Luke-Jr> conman: cgminer code expects that to have the first step of SHA256 already done, converting each 32 bit block to native endian and padding
 198 2012-11-05 00:46:08 <conman> wizkid057, yet you showed me the same first 76 bytes but not the same nonce
 199 2012-11-05 00:46:19 <wizkid057> hmm
 200 2012-11-05 00:46:34 <conman> 3d801d00 is what you sent
 201 2012-11-05 00:46:51 <conman> which is interesting since that's not even an endian swap difference
 202 2012-11-05 00:47:03 <sipa> LOL: http://www.reddit.com/r/Bitcoin/comments/12eifu/gavin_andresen_plainly_acknowledges_atlass/c6uh834
 203 2012-11-05 00:48:32 <conman> so ytf are those bytes different to what I"m sending?
 204 2012-11-05 00:49:02 <wizkid057> conman: sec, ill setup a page where you can view your shares directly
 205 2012-11-05 00:49:45 <Luke-Jr> sipa: wtf? he just wants attention for everything…
 206 2012-11-05 00:50:04 <Luke-Jr> conman: no matter how I hash your header, I can't get a valid share from it :/
 207 2012-11-05 00:50:19 <Luke-Jr> this is the one I'm looking at: 020000001309e5412a09a935cef15726df599d329dc2d91246de437d2b01000000000000607973b18adb0a333b330a47c80ea183e904551d2f916a789936e667f5e51f2077079750c513051a0481beb9
 208 2012-11-05 00:50:20 <conman> well is the extranonce in there now at least?
 209 2012-11-05 00:50:27 <Luke-Jr> conman: yes, that looks fine
 210 2012-11-05 00:50:33 <conman> ok so some progress
 211 2012-11-05 00:51:04 <conman> for the block submit, do you just reverse the first 80 bytes?
 212 2012-11-05 00:51:08 brwyatt is now known as brwyatt|Away
 213 2012-11-05 00:51:16 <Luke-Jr> conman: no, the 80 bytes should be identical to the SHA256 input
 214 2012-11-05 00:51:23 <conman> um
 215 2012-11-05 00:51:31 <wizkid057> conman: http://eligius.st/~wizkid057/wizstats/conman.php
 216 2012-11-05 00:51:33 <sipa> Luke-Jr: i'm just referring to the discussion of TCP :)
 217 2012-11-05 00:51:36 JDuke256 has quit (Quit: ["Textual IRC Client: www.textualapp.com"])
 218 2012-11-05 00:51:40 <Luke-Jr> conman: the input, not the midstate data
 219 2012-11-05 00:51:49 <wizkid057> conman: that'll show your last 20 shares
 220 2012-11-05 00:51:57 <conman> thanks wizkid057
 221 2012-11-05 00:52:01 <wizkid057> np
 222 2012-11-05 00:52:01 <conman> ok...
 223 2012-11-05 00:52:17 <conman> why is my thingy too long...
 224 2012-11-05 00:52:25 <forsetifox> Heh.
 225 2012-11-05 00:52:27 <conman> woohoo
 226 2012-11-05 00:52:34 <conman> now back to code
 227 2012-11-05 00:54:54 <wizkid057> same... lol
 228 2012-11-05 00:55:22 <conman> meh dont tell me I'm just flipping fucking bytes again at the wrong fucking time
 229 2012-11-05 00:58:39 * conman tries just unflipping them
 230 2012-11-05 00:59:24 <conman> grrr I fucking hate all this flipping shit
 231 2012-11-05 00:59:47 * sipa flips conman
 232 2012-11-05 00:59:52 <sipa> oh, you already were upside down!
 233 2012-11-05 00:59:53 <wizkid057> bitcoin is ridiculous with the 800 different ways of storing data
 234 2012-11-05 01:00:08 brwyatt is now known as Away!~brwyatt@brwyatt.net|brwyatt
 235 2012-11-05 01:00:20 <conman> 1 step forwards, 10 billion backwards
 236 2012-11-05 01:00:43 <sipa> in general it's relatively consistent, imho... but the cryptographic systems all have their own encodings, and satoshi just copied what openssl gave him
 237 2012-11-05 01:00:50 <wizkid057> well, good luck. let me know if I can help out pool side at all
 238 2012-11-05 01:00:51 <conman> it is not consistent
 239 2012-11-05 01:00:55 <conman> some message things you fliip
 240 2012-11-05 01:00:57 <conman> some you dont
 241 2012-11-05 01:00:59 <conman> meh
 242 2012-11-05 01:01:04 <sipa> oh, the RPC?
 243 2012-11-05 01:01:07 <sipa> yeah, that's a mess
 244 2012-11-05 01:01:15 <conman> right that's what I'm dealing with
 245 2012-11-05 01:02:32 <conman> I dont understand how one protocol starts with work that is 02000000 and the other 00000002
 246 2012-11-05 01:02:40 <conman> cause one is clearly LE vs BE
 247 2012-11-05 01:03:02 <conman> so what should it really be when handed to the mining machinery??
 248 2012-11-05 01:03:15 * wizkid057 blames pirate
 249 2012-11-05 01:06:09 <Luke-Jr> conman: sadly, 02000000 both LE and BE :<
 250 2012-11-05 01:06:20 <Luke-Jr> Bitcoin interprets it as LE, and SHA256 interprets it as BE
 251 2012-11-05 01:07:02 <Luke-Jr> struct work.data is expected to be pre-padded and flipped from BE to native endian
 252 2012-11-05 01:07:04 <Luke-Jr> in cgminer
 253 2012-11-05 01:07:38 <sipa> yeah, that's a nice one... satoshi had this nice uint256 datatype, and some bytes he got from openssl with a sha256, so how shall we turn this sha256 output into a number... just cast the pointer!
 254 2012-11-05 01:08:00 <jgarzik> 02000000 is nVersion, yes?
 255 2012-11-05 01:08:03 <Luke-Jr> yes
 256 2012-11-05 01:08:15 <jgarzik> Bitcoin interprets it as LE, and SHA256 interprets it as a bytestream.
 257 2012-11-05 01:08:21 <jgarzik> FTFY
 258 2012-11-05 01:08:33 <Luke-Jr> jgarzik: SHA256 interprets bytestreams as 32-bit BE numbers.
 259 2012-11-05 01:08:35 <conman> and I interpret it as a clusterfuck
 260 2012-11-05 01:08:52 [Tycho] has quit (Remote host closed the connection)
 261 2012-11-05 01:09:13 <wizkid057> agreed
 262 2012-11-05 01:09:20 <wizkid057> lets just write bitcoin 3.0
 263 2012-11-05 01:09:48 <conman> it's funny all the altchains simply kept the same fuckage
 264 2012-11-05 01:09:49 <edcba> finally !
 265 2012-11-05 01:09:54 <sipa> what about Bitcoin 3.11 for workgroups?
 266 2012-11-05 01:09:58 <conman> cause they didn't know how to code something better
 267 2012-11-05 01:10:00 <wizkid057> perfect :)
 268 2012-11-05 01:10:29 <D34TH> sipa: why not bitcoin 95 with the ability to go directly to rpc
 269 2012-11-05 01:10:33 <Luke-Jr> wizkid057: I actually dreamed about that last night. Write code to accept a sane block and POW format, but not mine on top of them until some future date
 270 2012-11-05 01:10:53 <conman> prisoner of war?
 271 2012-11-05 01:10:57 <Luke-Jr> proof of work
 272 2012-11-05 01:10:59 <sipa> sure ASIC producers will like that :)
 273 2012-11-05 01:11:00 <conman> duh
 274 2012-11-05 01:11:14 <Luke-Jr> sipa: well, the end hashing can remain compatible ;)
 275 2012-11-05 01:11:52 <Luke-Jr> sipa: and I was thinking like 2 years later the first mining on the new form be enabled
 276 2012-11-05 01:11:53 <edcba> bitcoin 3.11 for workgroups, to mine in style :)
 277 2012-11-05 01:12:17 <sipa> does that mean we have to implement our own TCP/IP stack?
 278 2012-11-05 01:12:28 <Luke-Jr> no, edcba will do that for us
 279 2012-11-05 01:12:28 <edcba> ipx/spx
 280 2012-11-05 01:12:33 <sipa> ha, yes!
 281 2012-11-05 01:12:49 <wizkid057> Luke-Jr: the fact that you dream about bitcoin means you need to get out more :)
 282 2012-11-05 01:13:07 <Luke-Jr> wizkid057: probably. but my next scheduled "get out" also involves Bitcoin!
 283 2012-11-05 01:13:13 <wizkid057> ...
 284 2012-11-05 01:13:15 <Luke-Jr> lol
 285 2012-11-05 01:13:18 <wizkid057> when/where is that again?
 286 2012-11-05 01:13:23 <Luke-Jr> wizkid057: Nov 20 in Orlando
 287 2012-11-05 01:13:26 <wizkid057> hmm
 288 2012-11-05 01:13:30 * wizkid057 checks calander
 289 2012-11-05 01:13:40 <wizkid057> ah yeah, that wont happen
 290 2012-11-05 01:13:40 <wizkid057> lol
 291 2012-11-05 01:13:44 <Luke-Jr> looking forward to meeting gmaxwell and forrestv ☺
 292 2012-11-05 01:13:54 <edcba> why ? end of world is 21 dec !
 293 2012-11-05 01:13:55 <conman> luckily I wont be there
 294 2012-11-05 01:14:48 <sipa> Luke-Jr: have a gpg key signing party!
 295 2012-11-05 01:15:54 <edcba> or just exchange coins
 296 2012-11-05 01:16:31 <wizkid057> so far my CPPSRB code is ~1200 lines of craziness
 297 2012-11-05 01:16:43 <sipa> cppsrb?
 298 2012-11-05 01:16:46 <conman> does it involve byte flipping?
 299 2012-11-05 01:17:00 <wizkid057> conman: yeah, had to convert a solution->block hash
 300 2012-11-05 01:17:00 <wizkid057> lol
 301 2012-11-05 01:17:02 <sipa> conman: better, *double* byteflips
 302 2012-11-05 01:17:23 <conman> in the pike position
 303 2012-11-05 01:17:24 <Luke-Jr> sipa: Capped PPS with Recent Backpay :P
 304 2012-11-05 01:17:26 <wizkid057> sipa: http://eligius.st/wiki/index.php/Capped_PPS_with_Recent_Backpay
 305 2012-11-05 01:17:32 <conman> from the top of a 10m diving platform
 306 2012-11-05 01:17:51 maaku has joined
 307 2012-11-05 01:18:21 <edcba> wow i don't understand anything
 308 2012-11-05 01:18:41 <conman> get in line
 309 2012-11-05 01:18:46 <edcba> pools have really complex retribution schemes
 310 2012-11-05 01:19:17 <edcba> CPPSRB storage rounds shares PPLNS
 311 2012-11-05 01:21:29 <wizkid057> definitely need to clean this code up
 312 2012-11-05 01:21:38 <wizkid057> before main() gets even more unmanagable
 313 2012-11-05 01:21:39 <wizkid057> lol
 314 2012-11-05 01:22:04 <edcba> you are reading bitcoin main.cpp ?
 315 2012-11-05 01:22:07 <conman> holy cow still no share?
 316 2012-11-05 01:22:15 <conman> grr
 317 2012-11-05 01:22:18 <edcba> https://en.bitcoin.it/wiki/Comparison_of_mining_pools...
 318 2012-11-05 01:22:49 <edcba> what is wrong with proportional ?
 319 2012-11-05 01:23:01 <wizkid057> read up on pool hopping
 320 2012-11-05 01:23:49 <edcba> because you don't know how to calc prop efficiently
 321 2012-11-05 01:24:19 <conman> guh here we go again
 322 2012-11-05 01:24:38 <conman> edcba, please feel free to set up another prop pool... so I can hop it
 323 2012-11-05 01:24:48 <conman> we need more hoppable pools
 324 2012-11-05 01:24:56 <wizkid057> sounds good
 325 2012-11-05 01:25:02 <edcba> the problem is i would need to setup my own interface
 326 2012-11-05 01:25:21 <edcba> ie i'd need to rewrite mining code
 327 2012-11-05 01:25:36 <conman> excuses excuses, hurry up so we can rip you off
 328 2012-11-05 01:25:42 <wizkid057> ok, have to stop getting distracted if i'm going to get enough code done for some payouts
 329 2012-11-05 01:25:52 <edcba> because i don't think miners would like to change their code
 330 2012-11-05 01:26:39 <edcba> and i would also need to write some p2p thingy because i don't want to use a server that would be easily ddosed :)
 331 2012-11-05 01:27:12 dust-otc has quit (Remote host closed the connection)
 332 2012-11-05 01:28:06 <sipa> edcba: main.cpp doesn't have a main() :P
 333 2012-11-05 01:28:31 one_zero has joined
 334 2012-11-05 01:28:40 <edcba> that doesn't even surprise me :/
 335 2012-11-05 01:30:29 <conman> hmm I still think I should just give up on gbt and accept only stratum
 336 2012-11-05 01:30:40 <conman> this is the timewaster 2000
 337 2012-11-05 01:31:55 <wizkid057> :9
 338 2012-11-05 01:31:59 <wizkid057> * :(
 339 2012-11-05 01:34:12 maaku has quit (Quit: maaku)
 340 2012-11-05 01:34:58 <conman> what a piece of horseshit
 341 2012-11-05 01:35:00 <conman> I give up
 342 2012-11-05 01:35:01 conman has left ("Leaving")
 343 2012-11-05 01:36:04 conman has joined
 344 2012-11-05 01:36:07 <conman> oops wrong tab
 345 2012-11-05 01:46:03 <sipa> etotheipi_: the parallizability is a nice argument in favor of tries
 346 2012-11-05 01:46:11 <conman> well flipping the bytes before it's given to the mining machinery produces no shares at all
 347 2012-11-05 01:50:45 agricocb has joined
 348 2012-11-05 01:50:46 <etotheipi_> sipa: thanks
 349 2012-11-05 01:51:46 <etotheipi_> I'm getting tired of this thread... but I still feel compelled to fight it out :)
 350 2012-11-05 01:52:09 <etotheipi_> maybe I will switch my priorities to working on that after I release Armory Beta, instead of the new wallet :)
 351 2012-11-05 01:52:30 <sipa> i wish i had time for this...
 352 2012-11-05 01:56:07 <sipa> adding a merkle patricia tree structure on top of the existing utxo set now that's merged in mainline shouldn't be too difficult though
 353 2012-11-05 01:59:26 <D34TH> i think i figured out my issue in compiling *coin*
 354 2012-11-05 01:59:35 <D34TH> testing now
 355 2012-11-05 02:02:52 BitDev has quit (Ping timeout: 245 seconds)
 356 2012-11-05 02:06:37 <D34TH> sipa: mind if i suggest 2 things for bitcoin-qt.pro
 357 2012-11-05 02:08:50 <D34TH> screw it, fork + commit + issue
 358 2012-11-05 02:14:41 <D34TH> sipa: https://github.com/bitcoin/bitcoin/pull/1984
 359 2012-11-05 02:16:51 kreal has quit ()
 360 2012-11-05 02:33:23 <D34TH> Luke-Jr, any idea what would cause this? http://pastebin.com/hWaZKkDM
 361 2012-11-05 02:33:44 <Luke-Jr> D34TH: I've not compiled a LevelDB client yet, sorry.
 362 2012-11-05 02:33:55 <D34TH> thanks anyways
 363 2012-11-05 02:34:39 <Luke-Jr> edcba: pretty sure I've open sourced enough code to setup a simple prop pool
 364 2012-11-05 02:35:08 <Luke-Jr> edcba: also, wtf is so complicated about CPPSRB? O.o
 365 2012-11-05 02:36:27 <D34TH> Error: Modules with different CPU types were found.
 366 2012-11-05 02:36:32 <D34TH> i think thats my problem
 367 2012-11-05 02:38:25 forsetifox is now known as LordSoth
 368 2012-11-05 02:38:33 LordSoth is now known as forsetifox
 369 2012-11-05 02:42:13 SuckMyWub has joined
 370 2012-11-05 02:42:21 <SuckMyWub> why do you all suck so many wubs?
 371 2012-11-05 02:43:11 <forsetifox> <.<
 372 2012-11-05 02:43:29 <SuckMyWub> mother fuckin wub suckers
 373 2012-11-05 02:43:44 <conman> you make a lot of sense SuckMyWub
 374 2012-11-05 02:43:56 <conman> allow me to send you all my money
 375 2012-11-05 02:44:03 <D34TH> yes, me too
 376 2012-11-05 02:44:03 <SuckMyWub> ok
 377 2012-11-05 02:44:04 <SuckMyWub> gimme
 378 2012-11-05 02:44:38 toffoo has joined
 379 2012-11-05 02:44:41 <SuckMyWub> 13DRAm57deBUgUfPAoZfp3cqHsqWkVhWRg
 380 2012-11-05 02:44:43 <SuckMyWub> gimme money
 381 2012-11-05 02:45:18 <gmaxwell> hopefully that wasn't a bad idea.
 382 2012-11-05 02:45:34 <D34TH> bad ideas have the best intentions
 383 2012-11-05 02:48:54 brwyatt is now known as brwyatt|Away
 384 2012-11-05 02:56:39 brwyatt is now known as Away!~brwyatt@brwyatt.net|brwyatt
 385 2012-11-05 02:56:47 <conman> aww I wanted to send him every cent
 386 2012-11-05 03:01:41 <phantomcircuit> gmaxwell, send him 1 satoshi
 387 2012-11-05 03:01:46 <phantomcircuit> laugh when he cant spend it
 388 2012-11-05 03:01:49 <phantomcircuit> bwahaha
 389 2012-11-05 03:01:51 <conman> hah
 390 2012-11-05 03:01:54 <conman> I will send him one
 391 2012-11-05 03:01:55 <conman> :D
 392 2012-11-05 03:02:14 <phantomcircuit> i was kidding you can use large txout's to "vacuum" smaller txout's
 393 2012-11-05 03:02:27 <sipa> better, send him 0 satoshi
 394 2012-11-05 03:02:32 <phantomcircuit> lol
 395 2012-11-05 03:02:36 <gmaxwell> meh.
 396 2012-11-05 03:02:36 <conman> yeah but that I've already don
 397 2012-11-05 03:02:37 <conman> e
 398 2012-11-05 03:10:57 <conman> sigh I wonder if I should start up trying to debug this again
 399 2012-11-05 03:11:14 <conman> wizkid057 was kind enough to put up the share log, maybe that will help
 400 2012-11-05 03:11:30 <wizkid057> hope it helps
 401 2012-11-05 03:11:39 <conman> me2 :s
 402 2012-11-05 03:12:02 <conman> still dont understand those last 4 bytes being different to what I submitted...
 403 2012-11-05 03:12:20 <wizkid057> dunno
 404 2012-11-05 03:12:46 <Luke-Jr> if you can convince him to push the code, I can probably find the problem(s) ;p
 405 2012-11-05 03:13:09 <wizkid057> conman: still have Luke-Jr on ignore? lol
 406 2012-11-05 03:13:16 <conman> put him back on it
 407 2012-11-05 03:13:23 <conman> doesn't take much sorry
 408 2012-11-05 03:13:28 <wizkid057> <Luke-Jr> if you can convince him to push the code, I can probably find the problem(s) ;p
 409 2012-11-05 03:13:31 <conman> guess I could undo ..
 410 2012-11-05 03:13:52 <forsetifox> Heh.
 411 2012-11-05 03:13:52 <conman> might even leave him off ignore (for a while) if he ends up fixing it
 412 2012-11-05 03:14:07 <conman> but I feel so dirty
 413 2012-11-05 03:14:19 <conman> ok might push then
 414 2012-11-05 03:14:28 * wizkid057 hands conman some hand sanitizer
 415 2012-11-05 03:14:29 <conman> but first fud you go back on ignore
 416 2012-11-05 03:16:57 <conman> https://github.com/ckolivas/cgminer/blob/gbt/cgminer.c#L1362 onwards
 417 2012-11-05 03:17:07 <conman> most of the gbt functions are one after the other there
 418 2012-11-05 03:17:28 <D34TH> str.contains("_gbt_")?
 419 2012-11-05 03:17:32 <D34TH> :3
 420 2012-11-05 03:18:01 <forsetifox> You could always vent in the cgminer comments. =3
 421 2012-11-05 03:18:20 <conman> and the submission code is https://github.com/ckolivas/cgminer/blob/gbt/cgminer.c#L2298
 422 2012-11-05 03:19:17 <D34TH> https://github.com/bitcoin/bitcoin/pull/1984
 423 2012-11-05 03:20:14 Joric has joined
 424 2012-11-05 03:23:08 TwilightSparklee has joined
 425 2012-11-05 03:24:32 TwilightSparklee is now known as DerpyHoovess
 426 2012-11-05 03:29:46 leotreasure has quit (Quit: leotreasure)
 427 2012-11-05 03:44:46 fiesh_ has quit (Ping timeout: 260 seconds)
 428 2012-11-05 03:47:47 Hasimir has joined
 429 2012-11-05 03:48:15 maaku has joined
 430 2012-11-05 03:48:33 Hasimir has quit (Client Quit)
 431 2012-11-05 03:48:49 fiesh has joined
 432 2012-11-05 03:49:30 sacredchao has quit (Ping timeout: 276 seconds)
 433 2012-11-05 03:49:55 Hasimir has joined
 434 2012-11-05 03:52:37 <Luke-Jr> conman: don't have it working yet, but 3 bugs found so far:
 435 2012-11-05 03:52:45 <conman> nod
 436 2012-11-05 03:52:49 <Luke-Jr> 1. you need to calc_midstate the GBT data, at least for some devices
 437 2012-11-05 03:53:05 <conman> oh I thought I did
 438 2012-11-05 03:53:08 <conman> must have forgotten it
 439 2012-11-05 03:53:19 <Luke-Jr> 2. probably want to check for submit/coinbase support, and support sendign the whole block if you want to support solo mining
 440 2012-11-05 03:53:32 <Luke-Jr> 3. not really a bug, but flip256 is a duplicate of swab256 in miner.h
 441 2012-11-05 03:53:41 <conman> no it's not
 442 2012-11-05 03:53:51 <conman> it only flips bytes within each uint32_t
 443 2012-11-05 03:54:01 <conman> whereas swab256 flips bytes and reorders variables
 444 2012-11-05 03:54:20 <Luke-Jr> ah, I see
 445 2012-11-05 03:54:25 <Luke-Jr> you're right
 446 2012-11-05 03:54:41 <conman> hmm so far the midstate lack is a big problem
 447 2012-11-05 03:54:55 <conman> I just want to get the regular pool mining working first
 448 2012-11-05 03:55:01 <conman> thanks so far
 449 2012-11-05 03:55:15 sacredchao has joined
 450 2012-11-05 03:59:00 <conman> come on share...
 451 2012-11-05 03:59:25 <D34TH> ^story of my childhood
 452 2012-11-05 03:59:34 <maaku> lol
 453 2012-11-05 04:00:08 <Luke-Jr> conman: the last 32-bit of the prevblock header in submissions is something else
 454 2012-11-05 04:00:23 <conman> yah but what...
 455 2012-11-05 04:01:13 <conman> all the machinery for properly refreshing and queueing new work is not in place yet, so don't bother mentioning that
 456 2012-11-05 04:01:46 <conman> there we go
 457 2012-11-05 04:01:51 <conman> rejected
 458 2012-11-05 04:02:31 * conman checks wizkid057's page
 459 2012-11-05 04:03:04 <Luke-Jr> conman: the only use of flip256 needs to flip all 20 sets of 32-bit ints, not only 256 bits worth
 460 2012-11-05 04:04:14 TheEslbear has joined
 461 2012-11-05 04:04:17 <conman> hmm where'd all those zeroes suddenly come from?
 462 2012-11-05 04:05:01 <conman> yeah that screwed something up
 463 2012-11-05 04:05:25 <conman> for starters, there are only 80 bytes
 464 2012-11-05 04:05:36 <conman> can't flip 128 bytes when there are only 80...
 465 2012-11-05 04:06:53 <conman> heh but the function only flips 80 anyway
 466 2012-11-05 04:07:05 <D34TH> seems like it needs a check
 467 2012-11-05 04:07:23 <conman> nah, just rename it
 468 2012-11-05 04:07:24 <Luke-Jr> 256 bits = 32 bytes
 469 2012-11-05 04:07:59 Eslbaer has quit (Ping timeout: 260 seconds)
 470 2012-11-05 04:08:29 <Luke-Jr> bad-txnmrklroot now that I'm flipping all 20 blocks of data
 471 2012-11-05 04:09:59 <conman> well once again that may be my misunderstanding the docs on how to do it
 472 2012-11-05 04:11:35 Joric has quit ()
 473 2012-11-05 04:13:06 <Luke-Jr> conman: are you including the coinbase in the transactions? (it doesn't look like it, but I didn't dig deep to double-check)
 474 2012-11-05 04:13:15 <conman> yes
 475 2012-11-05 04:13:43 <Luke-Jr> I mean, in the merkle tree of them
 476 2012-11-05 04:14:22 <Luke-Jr> ah, I see it
 477 2012-11-05 04:14:28 <conman> list 1446
 478 2012-11-05 04:14:31 <conman> line*
 479 2012-11-05 04:16:14 DerpyHoovess has quit (Quit: Colloquy for iPhone - http://colloquy.mobi)
 480 2012-11-05 04:22:16 <conman> wizkid057, well now the first 160 bytes are at least matching what your share counter is showing
 481 2012-11-05 04:22:19 <conman> byteswapped
 482 2012-11-05 04:22:28 <wizkid057> :D
 483 2012-11-05 04:23:10 <conman> still nfi if it's supposed to be byteswapped
 484 2012-11-05 04:23:18 <conman> but whatever...
 485 2012-11-05 04:23:22 da2ce793 has joined
 486 2012-11-05 04:23:49 TwilightSparklee has joined
 487 2012-11-05 04:30:59 quijibo has joined
 488 2012-11-05 04:31:17 <Luke-Jr> conman: when you're copying the end of the coinbase transaction (after the inserted data), you use the new extended length for the source too
 489 2012-11-05 04:31:34 <Luke-Jr> this is where the extra 4 octets is coming from
 490 2012-11-05 04:31:41 <Luke-Jr> (still bad-txnmrklroot though…)
 491 2012-11-05 04:31:50 <conman> am I not supposed to?
 492 2012-11-05 04:32:13 <conman> am I supposed to use the original coinbase txn?
 493 2012-11-05 04:32:51 <conman> there is nothing in the docs to make that clear
 494 2012-11-05 04:33:42 freakazoid has joined
 495 2012-11-05 04:33:51 <Luke-Jr> conman: I mean you're copying from 4 bytes late in the source coinbase txn
 496 2012-11-05 04:33:57 <Luke-Jr> effectively skipping it
 497 2012-11-05 04:35:25 <conman> strcat(gbt_block, work->gbt_coinbase);
 498 2012-11-05 04:35:42 <conman> where is that 4 bytes late?
 499 2012-11-05 04:36:06 <Luke-Jr> hex2bin(coinbase + 42 + *extra_len, pool->coinbasetxn + 84 + (*extra_len * 2), cbt_len - *extra_len - 42); <-- this is after *extra_len is incremented by 4
 500 2012-11-05 04:36:59 <conman> the plus is ok, the minus is not, I see
 501 2012-11-05 04:37:25 <Luke-Jr> out of the three *extra_len, only the first one should be incremented by 4
 502 2012-11-05 04:37:27 [7] has quit (Disconnected by services)
 503 2012-11-05 04:37:36 TheSeven has joined
 504 2012-11-05 04:37:49 <Luke-Jr> gen_hash(txn_bin, pool->txn_hashes + (32 * i), txn_len); <-- txn_len is the length in hex here, but we get the hash of the binary data, this hashes too much
 505 2012-11-05 04:38:13 <Luke-Jr> now I am getting shares accepted, just a matter of interpreting the reply correctly
 506 2012-11-05 04:38:48 <Luke-Jr> http://codepad.org/t84IMPz8 <-- all the changes I made to your git to get shares accepted, fwiw
 507 2012-11-05 04:39:01 <conman> appreciate it, thanks
 508 2012-11-05 04:39:04 <conman> honestly
 509 2012-11-05 04:40:01 <Luke-Jr> np, it was a good challenge
 510 2012-11-05 04:40:27 <Luke-Jr> regarding the response: null is the "accepted" response, and rejects are a string reason
 511 2012-11-05 04:40:32 <conman> helps if you know what the code is actually supposed to do
 512 2012-11-05 04:40:50 <conman> and you're just about the only person to have implemented the client side of gbt mining
 513 2012-11-05 04:40:50 <wizkid057> good job guys :)
 514 2012-11-05 04:40:54 <conman> since you invented it...
 515 2012-11-05 04:41:16 da2ce793 has quit (Ping timeout: 252 seconds)
 516 2012-11-05 04:41:48 <senseless> wtf
 517 2012-11-05 04:41:56 <conman> wwf
 518 2012-11-05 04:42:05 <senseless> I shut down bitcoind with bitcoind stop
 519 2012-11-05 04:42:10 <senseless> ps ux make sure the executable is gone
 520 2012-11-05 04:42:15 <senseless> copy the new executable
 521 2012-11-05 04:42:27 <senseless> load bitcoind and i get "wallet.dat corrupt, salvage failed"
 522 2012-11-05 04:42:28 <senseless> awesome
 523 2012-11-05 04:42:59 iddo has quit (Ping timeout: 252 seconds)
 524 2012-11-05 04:43:41 <wizkid057> hopefully there were no coins there
 525 2012-11-05 04:44:55 <senseless> 5
 526 2012-11-05 04:45:13 <kjj_> what version to what version?
 527 2012-11-05 04:45:21 <senseless> 0.7.0 -> 0.7.1
 528 2012-11-05 04:45:23 <kjj_> and did you detach when you stopped?
 529 2012-11-05 04:45:37 <senseless> i run it in daemon mode and access it from the console
 530 2012-11-05 04:45:42 <senseless> thats why i issued bitcoind stop
 531 2012-11-05 04:45:43 iddo has joined
 532 2012-11-05 04:45:50 <senseless> then made sure the process was no longer there with ps ux
 533 2012-11-05 04:46:48 <Luke-Jr> that doesn't detach
 534 2012-11-05 04:46:50 <Luke-Jr> by default
 535 2012-11-05 04:46:59 <kjj_> hmm, the wallet is always supposed to detach, from what I hear
 536 2012-11-05 04:47:05 <kjj_> I always forget that too
 537 2012-11-05 04:47:12 <Luke-Jr> well yes
 538 2012-11-05 04:47:20 <kjj_> what do the logs show when you start it back up?
 539 2012-11-05 04:47:29 <senseless> I ran a satoshi bot on this thing for awhile and my wallet.dat is like 500mbytes
 540 2012-11-05 04:47:31 <senseless> does that matter?
 541 2012-11-05 04:47:48 <kjj_> the last few lines of logs from the last time that you shut down 0.7.0 would have been useful too, but it might be difficult to get now
 542 2012-11-05 04:49:56 <senseless> http://pastebin.com/e7mzyVyh
 543 2012-11-05 04:50:19 <senseless> there is the successful shutdown of 0.7.0 and the boot up of 0.7.1
 544 2012-11-05 04:51:06 <senseless> the user has full permissions to the .bitcoin and wallet.dat so why it couldnt make a copy is beyond me
 545 2012-11-05 04:51:51 <D34TH> if i may inquire, openssl 0.9.8k
 546 2012-11-05 04:51:59 <D34TH> i thought we were using 1.0.1c
 547 2012-11-05 04:51:59 <senseless> centos
 548 2012-11-05 04:52:04 <D34TH> oh
 549 2012-11-05 04:54:23 <senseless> Is there anyway to recover anything from the wallet.dat ?
 550 2012-11-05 04:54:54 <D34TH> did you back it up. pre-upgrade
 551 2012-11-05 04:56:07 <senseless> ya
 552 2012-11-05 04:56:18 <D34TH> restore the backup?
 553 2012-11-05 04:56:27 <senseless> I could, but I want to know what happened :/
 554 2012-11-05 04:56:28 <D34TH> nevermind, you probably tried that
 555 2012-11-05 04:58:08 <kjj_> anything show up in the db.log?
 556 2012-11-05 04:59:29 <senseless> http://pastebin.com/7a68zVX6
 557 2012-11-05 04:59:55 <senseless> those are the last lines in the db.log
 558 2012-11-05 05:01:03 <kjj_> have you tried clearing your .bitcoin directory?  and by clearing, I mean renaming
 559 2012-11-05 05:01:38 <senseless> To what end?
 560 2012-11-05 05:01:53 <D34TH> mv .bitcoin .bitcoin.old
 561 2012-11-05 05:01:54 <D34TH> ?
 562 2012-11-05 05:02:04 <kjj_> well, those BDB errors worry me a bit.  make me think the problem isn't the wallet.dat so much as something else
 563 2012-11-05 05:02:47 <kjj_> and since I'm not sure what else you've tried, I'm thinking that a totally new directory, with no .dat files, and not .log files might be worth checking
 564 2012-11-05 05:04:34 D34TH has quit (Read error: Connection reset by peer)
 565 2012-11-05 05:04:34 <conman> -		unsigned char data[80];
 566 2012-11-05 05:04:34 <conman> +		unsigned char data[128];
 567 2012-11-05 05:04:40 <senseless> So, use my backup wallet.dat with a freshly downloaded copy of the blockchain?
 568 2012-11-05 05:04:48 <conman> if the header is only created from the first 80 bytes, why make it 128 Luke-Jr ?
 569 2012-11-05 05:05:08 <Luke-Jr> conman: quick hack to flip more without redoing the flip function
 570 2012-11-05 05:05:18 <conman> k
 571 2012-11-05 05:05:19 <kjj_> senseless: with a newly created .bitcoin directory with nothing else in it, no blockchain at all, at least at first
 572 2012-11-05 05:05:24 <conman> thought as much
 573 2012-11-05 05:07:05 <senseless> Gives me the old, create the bitcoin.conf error with rpc user/pass settings in it
 574 2012-11-05 05:07:53 <senseless> I creat bitcoin.conf and it loads and starts syncing right away
 575 2012-11-05 05:07:54 <kjj_> doesn't it create that with a random password?
 576 2012-11-05 05:08:06 <senseless> it just tells me to and gives me a random password
 577 2012-11-05 05:08:44 <senseless> brand new wallet.dat, everything syncing
 578 2012-11-05 05:08:48 <senseless> looks perfectly normal
 579 2012-11-05 05:09:49 <senseless> oh screw me, i excluded the bitcoin directory for back up since it was so huge
 580 2012-11-05 05:10:00 <kjj_> is the RPC system starting?
 581 2012-11-05 05:10:23 <senseless> ya, rpc works fine
 582 2012-11-05 05:10:43 <kjj_> do you happen to know one of your addresses?  can you dumpprivkey on it?
 583 2012-11-05 05:10:55 <senseless> well, im not using my wallet
 584 2012-11-05 05:10:59 <senseless> should i copy the corrupted wallet.dat?
 585 2012-11-05 05:11:08 RainbowDashh has joined
 586 2012-11-05 05:11:11 <senseless> I don't know the privkeys unfortunately
 587 2012-11-05 05:11:13 <kjj_> this is 0.7.1, right?
 588 2012-11-05 05:11:16 <senseless> yes
 589 2012-11-05 05:11:23 <senseless> i've already upgraded the bin to 0.7.1
 590 2012-11-05 05:11:27 <kjj_> ok, use the "stop true" RPC command
 591 2012-11-05 05:11:39 TwilightSparklee has quit (Quit: Colloquy for iPhone - http://colloquy.mobi)
 592 2012-11-05 05:11:44 <senseless> it's stopped
 593 2012-11-05 05:11:48 <senseless> no bitcoind running in ps ux
 594 2012-11-05 05:11:51 <kjj_> when it stops, check your .log files
 595 2012-11-05 05:12:13 <senseless> just a bunch of new blocks
 596 2012-11-05 05:12:15 <senseless> what am i looking for
 597 2012-11-05 05:12:38 B0g4r7_ has joined
 598 2012-11-05 05:12:48 <kjj_> er, sorry, I mean the log.xxxxxxxx files.  how many and how big?  and is there a "Bitcoin exited" line in the debug.log?
 599 2012-11-05 05:13:28 <senseless> Yes, same cleanly exited line i saw before
 600 2012-11-05 05:13:34 <senseless> (when i exited in 0.7.0)
 601 2012-11-05 05:13:48 <senseless> 1 log file 10mbytes in size
 602 2012-11-05 05:13:57 <senseless> i didnt leave bitcoin syncing for very long i shut it down pretty fast
 603 2012-11-05 05:14:10 <kjj_> and you used "bitcoind stop true" when you shut down?
 604 2012-11-05 05:14:16 <senseless> yep
 605 2012-11-05 05:14:32 <kjj_> ok.  now try copying your wallet.dat in
 606 2012-11-05 05:15:18 B0g4r7 has quit (Ping timeout: 276 seconds)
 607 2012-11-05 05:15:18 B0g4r7_ is now known as B0g4r7
 608 2012-11-05 05:16:14 <senseless> oh sweet it worked
 609 2012-11-05 05:16:39 <senseless> Or not, it's not showing my original addresses
 610 2012-11-05 05:16:41 <kjj_> now try using "bitcoin dumpprivkey 1SOMEADDRESS"
 611 2012-11-05 05:17:10 <kjj_> hmm, not showing your addresses?  check your logs again
 612 2012-11-05 05:17:28 <senseless> I copied the wrong wallet.dat file er
 613 2012-11-05 05:17:36 <kjj_> heh
 614 2012-11-05 05:19:30 <senseless> it doesnt want anything to do with the wallet now heh
 615 2012-11-05 05:19:40 <senseless> it just keeps renaming it to .bak and exiting
 616 2012-11-05 05:20:37 <kjj_> log shows salvage found no records?
 617 2012-11-05 05:22:59 <senseless> taking awhile to manually run salvage
 618 2012-11-05 05:24:58 <kjj_> hopefully that is a good sign
 619 2012-11-05 05:25:45 <kjj_> salvage still opens the wallet.dat in the context of the database.  what I think happened is that your other DB files were trashed
 620 2012-11-05 05:26:23 <senseless> What happens when you run a slavage, does it rename the file and then rebuild it from the original?
 621 2012-11-05 05:26:27 <senseless> Or how does that work?
 622 2012-11-05 05:26:45 <senseless> what is this .bak?
 623 2012-11-05 05:27:00 <senseless> I'm trying to recover again from the same .bak and it's not wanting to process the file
 624 2012-11-05 05:27:01 <kjj_> it does a rename in the context of the database environment (not merely a filesystem rename), and then scans it
 625 2012-11-05 05:27:18 <senseless> how would i make the bitcoind rescan the .bak?
 626 2012-11-05 05:28:07 <senseless> oh wait there it goes
 627 2012-11-05 05:28:11 <senseless> took it awhile
 628 2012-11-05 05:28:30 <kjj_> there doesn't seem to be any way to do it on a file other than wallet.dat, and the output always goes into wallet.dat, so you can't use it to merge
 629 2012-11-05 05:28:50 <senseless> but isn't the .bak a wallet.dat file?
 630 2012-11-05 05:29:26 leotreasure has joined
 631 2012-11-05 05:29:28 <kjj_> yeah, I'm just saying you can't do it on two different versions and get the keys into one file
 632 2012-11-05 05:30:06 <senseless> What do you mean by 2 different versions? (0.7.1 and 0.7.0) ?
 633 2012-11-05 05:30:16 <senseless> Should i have reverted back to 0.7.0?
 634 2012-11-05 05:30:30 <kjj_> I mean that if you have two broken wallet.dat files from different times, you can't try to get keys out of both of them into the one file
 635 2012-11-05 05:30:53 <senseless> Ah, ya, I'm just trying to get it to re-read the same .bak and create another wallet.dat from the .bak
 636 2012-11-05 05:31:18 <kjj_> you can do that, but you'll end up with two different wallet.dat files.
 637 2012-11-05 05:31:32 <kjj_> just copy out the good copy, and rename one of the .bak files to .dat
 638 2012-11-05 05:32:24 <senseless> It's weird because everytime I run it I get different resulting .dat file sizes, with different keys in them
 639 2012-11-05 05:32:35 <senseless> Well, 1 key (I'm guessing some default created address)
 640 2012-11-05 05:33:00 <kjj_> after the salvage finishes, I think you need to stop, and then start with -rescan
 641 2012-11-05 05:34:28 <senseless> I'll let it finish syncing then rescan and see what happens
 642 2012-11-05 05:34:34 <senseless> sucks, pool is basically out of business now :(
 643 2012-11-05 05:34:43 <kjj_> which pool?
 644 2012-11-05 05:34:54 <senseless> nothing public just my private pool, and by out of business i mean offline
 645 2012-11-05 05:39:20 ThomasV_ has joined
 646 2012-11-05 05:39:44 <Luke-Jr> conman: longpollid is almost certain to change every longpoll
 647 2012-11-05 05:39:45 ThomasV_ has quit (Client Quit)
 648 2012-11-05 05:40:07 <conman> oh
 649 2012-11-05 05:40:09 <conman> hrm
 650 2012-11-05 05:40:21 <conman> gotta prevent a race on it is all..
 651 2012-11-05 05:40:23 <conman> will fix
 652 2012-11-05 05:40:41 <conman> at least it's accepting shares now
 653 2012-11-05 05:46:49 <senseless> well weird thing kjj
 654 2012-11-05 05:46:53 <senseless> i went back to using the .bitcoin2
 655 2012-11-05 05:47:00 <senseless> renamed it back to .bitcoin
 656 2012-11-05 05:47:07 <senseless> ran the salvage again and it successfully recovered everything
 657 2012-11-05 05:47:14 <senseless> and wallet is back to operating normally
 658 2012-11-05 05:47:25 <senseless> Dunno
 659 2012-11-05 06:19:06 arij has quit (Ping timeout: 245 seconds)
 660 2012-11-05 06:24:47 brwyatt is now known as brwyatt|Away
 661 2012-11-05 06:31:51 Diablo-D3 has quit (Ping timeout: 260 seconds)
 662 2012-11-05 06:42:57 tonikt has quit (Read error: Connection reset by peer)
 663 2012-11-05 06:49:55 moop__ has quit (Quit: Leaving)
 664 2012-11-05 06:59:19 RainbowDashh is now known as in
 665 2012-11-05 07:00:36 RazielZ has joined
 666 2012-11-05 07:02:51 Mobius_ has joined
 667 2012-11-05 07:05:48 MobiusL has quit (Ping timeout: 276 seconds)
 668 2012-11-05 07:08:25 in is now known as wait
 669 2012-11-05 07:08:57 Transfusion is now known as RainbowDashh
 670 2012-11-05 07:09:17 RainbowDashh has quit (Disconnected by services)
 671 2012-11-05 07:09:18 wait is now known as RainbowDashh
 672 2012-11-05 07:11:58 Transfusion has joined
 673 2012-11-05 07:14:23 RainbowDashh is now known as in
 674 2012-11-05 07:16:55 Transfusion has quit (Changing host)
 675 2012-11-05 07:16:55 Transfusion has joined
 676 2012-11-05 07:18:11 da2ce793 has joined
 677 2012-11-05 07:32:31 CodesInChaos has joined
 678 2012-11-05 07:37:23 CodesInChaos has quit (Ping timeout: 255 seconds)
 679 2012-11-05 07:58:10 darsk1ez has quit (Ping timeout: 260 seconds)
 680 2012-11-05 07:58:11 da2ce793 has quit (Ping timeout: 260 seconds)
 681 2012-11-05 08:00:20 ovidiusoft has joined
 682 2012-11-05 08:04:36 freakazoid has quit (Read error: Operation timed out)
 683 2012-11-05 08:10:25 darsk1ez has joined
 684 2012-11-05 08:13:12 ibno has joined
 685 2012-11-05 08:25:07 darsk1ez has quit (Ping timeout: 268 seconds)
 686 2012-11-05 08:29:44 darsk1ez has joined
 687 2012-11-05 08:30:16 <conman>  [2012-11-05 19:17:20] Rejected df390d86 Diff 1/1 GPU 1 pool 2 (high-hash)
 688 2012-11-05 08:30:25 <conman> I get a lot of those
 689 2012-11-05 08:30:27 <conman> I wonder ytf
 690 2012-11-05 08:30:39 <abrkn> ;;ident abrkn
 691 2012-11-05 08:30:40 <gribble> Nick 'abrkn', with hostmask 'abrkn!~pialur@195.159.164.228', is not identified.
 692 2012-11-05 08:30:58 EasyAt is now known as EasyAt|
 693 2012-11-05 08:38:07 in has quit (Ping timeout: 252 seconds)
 694 2012-11-05 08:40:29 RainbowDashh has joined
 695 2012-11-05 08:42:35 <conman> I'm guessing yet more byteswap fuckage
 696 2012-11-05 08:42:41 osmosis has joined
 697 2012-11-05 08:44:00 pierre` has joined
 698 2012-11-05 08:53:37 Hasimir has quit (Quit: Vidi, Vici, Veni.)
 699 2012-11-05 08:54:46 Hasimir has joined
 700 2012-11-05 09:04:11 osmosis has quit (Quit: Leaving)
 701 2012-11-05 09:05:48 dvide has joined
 702 2012-11-05 09:08:39 ThomasV has quit (Remote host closed the connection)
 703 2012-11-05 09:17:47 <abrkn> can someone explain why listtransactions doesn't return "move" transactions in the proper order? my c is horrible, tried to work it out yesterday
 704 2012-11-05 09:19:50 darkee has quit (Remote host closed the connection)
 705 2012-11-05 09:23:04 darkee has joined
 706 2012-11-05 09:24:02 maaku has quit (Quit: maaku)
 707 2012-11-05 09:32:47 c_k has joined
 708 2012-11-05 09:36:40 darsk1ez has quit (Ping timeout: 268 seconds)
 709 2012-11-05 09:37:45 darsk1ez has joined
 710 2012-11-05 09:40:15 ovidiusoft has quit (Read error: No route to host)
 711 2012-11-05 09:41:16 ovidiusoft has joined
 712 2012-11-05 09:43:39 ThomasV has joined
 713 2012-11-05 09:44:34 pecket has quit (Ping timeout: 240 seconds)
 714 2012-11-05 09:44:45 pecket has joined
 715 2012-11-05 09:45:36 t7 has joined
 716 2012-11-05 09:48:03 ovidiusoft has quit (Read error: Connection reset by peer)
 717 2012-11-05 09:59:25 Dyaheon has quit (Ping timeout: 252 seconds)
 718 2012-11-05 10:03:36 Dyaheon has joined
 719 2012-11-05 10:07:19 RazielZ has quit (Ping timeout: 246 seconds)
 720 2012-11-05 10:08:22 slush has joined
 721 2012-11-05 10:17:27 jouke has quit (Changing host)
 722 2012-11-05 10:17:27 jouke has joined
 723 2012-11-05 10:20:51 sipa has left ()
 724 2012-11-05 10:27:38 toffoo has quit ()
 725 2012-11-05 10:35:16 rebroad has joined
 726 2012-11-05 10:36:34 <rebroad> 0.6.3-beta is stuck at block 187352 now since a few days...
 727 2012-11-05 10:37:40 <an3k> why don't you use the latest version?
 728 2012-11-05 10:37:42 <sturles> 0.6.3-beta is an old beta version.  Upgrade.
 729 2012-11-05 10:38:07 <jouke> you should upgrade, 0.6.3 is an old version.
 730 2012-11-05 10:38:08 <jouke> ;P
 731 2012-11-05 10:38:18 <rebroad> if the latest version is needed, why isn't the client telling me?
 732 2012-11-05 10:38:42 <rebroad> I thought it was supposed to alert when there was a needed upgrade..
 733 2012-11-05 10:39:02 <rebroad> I'm uneasy about the apparent constant need to upgrade
 734 2012-11-05 10:39:16 <jouke> No, you shouldn't need to upgrade.
 735 2012-11-05 10:39:29 <jouke> I also use 0.6.3 still
 736 2012-11-05 10:40:01 <rebroad> it saw a block 187353 that was invalid, and somehow it's got stuck
 737 2012-11-05 10:40:48 <rebroad> i was wondering whether i should file a bug report for it, in case it's still in the latest version
 738 2012-11-05 10:41:19 <rebroad> I've seen nothing online about getting stuck on block 187352, which I would have expected if it affected other people
 739 2012-11-05 10:43:18 <rebroad> block 00000000000000b68ab3 was the invalid one
 740 2012-11-05 10:43:53 <rebroad> no google results for it though!
 741 2012-11-05 10:44:52 <rebroad> according to blockexplorer that block should be valid... http://blockexplorer.com/block/00000000000000b68ab313eab5014ab00ea45095e4c27296add1c322f8b1c1e1
 742 2012-11-05 10:45:31 <rebroad> so,.. I'm confused how other people are still keeping up to date and using 0.6.3
 743 2012-11-05 10:46:50 <rebroad> it's Bitcoin version v0.6.3-beta (2012-06-19 16:44:55 -0400) that I'm using
 744 2012-11-05 10:47:52 <rebroad> hmmm.  that shows up nothing in Google either... is this some really rare version I'm using,....?!
 745 2012-11-05 10:57:46 enolan has joined
 746 2012-11-05 11:01:00 graingert_ecs has joined
 747 2012-11-05 11:05:29 kreal has joined
 748 2012-11-05 11:07:19 pusle has joined
 749 2012-11-05 11:09:27 OneEyed has quit (Quit: WeeChat 0.3.9)
 750 2012-11-05 11:17:25 <senseless> its kinda old
 751 2012-11-05 11:17:30 <senseless> 0.7.1 is latest
 752 2012-11-05 11:17:34 <senseless> 0.7.0 has been out for months
 753 2012-11-05 11:23:57 <gmaxwell> rebroad: The reason you saw it invalid was probably due to database corruption, not due to running 0.6.3.
 754 2012-11-05 11:31:25 gfinn has quit (Remote host closed the connection)
 755 2012-11-05 11:40:30 CodesInChaos has joined
 756 2012-11-05 11:43:02 gfinn has joined
 757 2012-11-05 11:47:25 harkon has joined
 758 2012-11-05 11:50:38 PhantomSpark has joined
 759 2012-11-05 11:54:24 PhantomSpark has quit (Ping timeout: 276 seconds)
 760 2012-11-05 11:55:08 daybyter has joined
 761 2012-11-05 12:04:13 xenland has joined
 762 2012-11-05 12:04:56 <xenland> What is the RPC command to look up the transactions in the block index?
 763 2012-11-05 12:05:26 <andyrossy> getblock
 764 2012-11-05 12:05:28 <andyrossy> then decodehash
 765 2012-11-05 12:05:34 <andyrossy> then decoderawtransaction
 766 2012-11-05 12:05:59 <xenland> Excellent I'm going to try that out :D thanks
 767 2012-11-05 12:06:22 TheEslbear has quit (Quit: Verlassend)
 768 2012-11-05 12:06:40 Eslbaer has joined
 769 2012-11-05 12:07:20 <xenland> Is decodehash found in 7.1?
 770 2012-11-05 12:07:58 DutchBrat has joined
 771 2012-11-05 12:08:40 <gmaxwell> there is no 'decodehash'
 772 2012-11-05 12:09:18 <gmaxwell> just run decoderawtransaction <txid> 1
 773 2012-11-05 12:10:37 <xenland> I'm under the impression that txid isn't the same as a block hash
 774 2012-11-05 12:10:49 <xenland> or are they?
 775 2012-11-05 12:14:41 <gmaxwell> xenland: the txid is not the block id, no.
 776 2012-11-05 12:16:09 <xenland> Okay, when I do getblockindex 0 I get the hash of the genesis block, I copied that hash and do getblock *hash here* but i get JSON data... what do i do with this json data to get the TX list
 777 2012-11-05 12:17:00 <xenland> I'm trying to figure out how to verify blocks
 778 2012-11-05 12:18:17 <kjj_> the tx field is a list of all of the transactions in that block
 779 2012-11-05 12:19:17 <kjj_> you can look them up with getrawtransaction
 780 2012-11-05 12:19:56 <kjj_> except for 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b.  You can't fetch that one
 781 2012-11-05 12:22:05 <xenland> thanks kjj your my saviour!
 782 2012-11-05 12:22:11 <xenland> More bitcents for you
 783 2012-11-05 12:24:12 <kjj_> heh.  you don't have to pay me every time I answer a question.  :)
 784 2012-11-05 12:24:27 <xenland> heh okay
 785 2012-11-05 12:24:38 <xenland> but still... YTMD
 786 2012-11-05 12:27:29 <xenland> and the geneisis block dosen't return any information when using getrawtransaction and thats because there is no inputs correct?
 787 2012-11-05 12:30:17 <kjj_> no, just because that block is a quirk in the code
 788 2012-11-05 12:30:48 <kjj_> the genesis transaction is unspendable because it never gets added to the index
 789 2012-11-05 12:31:40 robbak has quit (Remote host closed the connection)
 790 2012-11-05 12:33:05 <kjj_> for more info on the oddness of block 0, see this thread:  https://bitcointalk.org/index.php?topic=119530.0;all
 791 2012-11-05 12:39:52 JudgeTheDude has joined
 792 2012-11-05 12:40:02 JudgeTheDude has quit (Client Quit)
 793 2012-11-05 12:43:42 JZavala has quit (Ping timeout: 245 seconds)
 794 2012-11-05 12:55:23 <rebroad> gmaxwell I've upgraded to a later version and it's working ok now.
 795 2012-11-05 12:55:55 <rebroad> although I'm noticing a new "bug" in the latest version - the date format is wrong. it's showing MM/DD/YYYY rather than DD/MM/YYYY
 796 2012-11-05 12:58:15 <abrkn> can someone explain why listtransactions doesn't return "move" transactions in the proper order? my c is horrible, tried to work it out yesterday
 797 2012-11-05 13:02:28 abrkn has quit (Read error: Connection reset by peer)
 798 2012-11-05 13:05:43 abrkn has joined
 799 2012-11-05 13:07:41 JZavala has joined
 800 2012-11-05 13:07:44 <abrkn> is there a mechanism for suggesting features with a bounty? i'm specifically looking for an optional parameter to the move command so that it guarantees the source account not ending up with a minus
 801 2012-11-05 13:13:04 agricocb has quit (Quit: Leaving.)
 802 2012-11-05 13:23:10 <xenland> abrkn: Why do you need to use move? Whats wrong with a DB?
 803 2012-11-05 13:28:07 <abrkn> why use a db when there is move?
 804 2012-11-05 13:30:53 datagutt has joined
 805 2012-11-05 13:34:27 <xenland> abrkn: I never experience a "Possibiliity" of a random movment of money happen when I use a database. It sounds like you are in need of a guarantee with your financial information something "move" isn't exactly for from what it sounds like
 806 2012-11-05 13:34:36 <xenland> Why not do the math before you do a "move" command?
 807 2012-11-05 13:37:11 agricocb has joined
 808 2012-11-05 13:37:57 <kjj_> yeah, do the math in advance
 809 2012-11-05 13:40:28 <kjj_> I've only found one situation where the move command is really useful.  if I'm collecting multiple small transactions into one bigger transaction to the same address, I use move to reduce the destination account so that it accurately shows the real incoming amount
 810 2012-11-05 13:40:34 BitesHard has joined
 811 2012-11-05 13:42:10 <xenland> Is decoderawtransaction straight hex to ascii? or is there some other proccess involved? my work dosen't seem to be checking correctly
 812 2012-11-05 13:42:47 <xenland> oh wait it seems its serialized aswell
 813 2012-11-05 13:43:13 BitesHard has left ()
 814 2012-11-05 13:43:29 <abrkn> well, if i use a db then i need to keep updating it when it's credited with btc
 815 2012-11-05 13:43:39 <abrkn> so need to monitor deposit addresses for every user
 816 2012-11-05 13:43:51 <abrkn> and credit their db account when they receive money
 817 2012-11-05 13:44:02 <abrkn> sounds like work...
 818 2012-11-05 13:44:36 conman has quit (Ping timeout: 240 seconds)
 819 2012-11-05 13:45:18 daybyter has quit (Quit: Konversation terminated!)
 820 2012-11-05 13:48:04 <xenland> Financial websites get hacked for lazyness and negligence your going to get hacked if you don't do your homework and do redundant checking of your data. Perhaps you could have everything sent to the correct addresses and then do "Getrecievedfrom"
 821 2012-11-05 13:49:49 <xenland> abrkn: Make sure your aware of floating point precision in-accuracies as well other wise you'll lose people money/Bitcoins. Its best to do all calculations in satoshi and make the output/display to the user with decimals
 822 2012-11-05 13:51:29 <abrkn> xenland: ok. and what method is good for knowing when a user's account has been credited?
 823 2012-11-05 13:52:29 <xenland> getrecievedbyaddress <bitcoinaddress> [minimum confirmations]
 824 2012-11-05 13:52:43 <abrkn> but that would require me to poll every user's receive address?
 825 2012-11-05 13:53:03 <xenland> Yes i believe so
 826 2012-11-05 13:53:10 <abrkn> hmm ok
 827 2012-11-05 13:53:28 <xenland> Is polling an issue?
 828 2012-11-05 13:53:45 <abrkn> not really
 829 2012-11-05 13:53:59 <abrkn> just pretty psyched to get my game out there but all this accounting slowing me down
 830 2012-11-05 13:54:08 <abrkn> but you're right, better safe than sorry
 831 2012-11-05 13:54:44 <xenland> oooo a game you say?
 832 2012-11-05 13:55:06 <abrkn> classic video poker
 833 2012-11-05 13:55:07 <abrkn> http://i.imgur.com/pcxv7.jpg
 834 2012-11-05 13:55:28 <xenland> nice
 835 2012-11-05 13:55:34 <kjj_> abrkn: I just submitted a patch that lets you specify a script to get run any time a transaction hits your wallet
 836 2012-11-05 13:55:57 <abrkn> kij: nice, ive been using blockchain.info to monitor addresses
 837 2012-11-05 13:56:24 <xenland> kjj_: nice!
 838 2012-11-05 13:56:29 <kjj_> it doesn't do all of the work for you, and it'll trigger even on unconfirmed transactions
 839 2012-11-05 13:57:05 <kjj_> but then you'll be able to stash the TxIDs in your database and poll just those until they get enough confirmations, rather than having to poll each address or whatever
 840 2012-11-05 13:58:34 <abrkn> xenland: i will use what's called a 9-6 payout table which pays 99.543904% back and 0.45% goes to a progressive jackpot (leaving house edge at 0.006096% which i think is quite fair)
 841 2012-11-05 13:58:49 <abrkn> 0.0045% i mean
 842 2012-11-05 13:59:02 <abrkn> err, im getting mixed up. nto used to %s :)
 843 2012-11-05 13:59:21 <abrkn> original game edge is 0.99543904, jackpot contribution is 0.0045
 844 2012-11-05 13:59:48 <xenland> nice! I've been looking for games to show my non-techie friends to play
 845 2012-11-05 13:59:51 <xenland> good to see more games
 846 2012-11-05 13:59:59 <xenland> for winning bitcoins that is
 847 2012-11-05 14:00:01 <abrkn> and the nice thing is, because the jackpot is progressive
 848 2012-11-05 14:00:07 <abrkn> you should write a bot that plays when jackpot is high
 849 2012-11-05 14:00:12 <abrkn> positive edge very fast =)
 850 2012-11-05 14:00:50 <abrkn> http://wizardofodds.com/games/video-poker/strategy/jacks-or-better/9-6/optimal/ <-- bot recipe
 851 2012-11-05 14:01:49 Icoin has joined
 852 2012-11-05 14:03:53 <xenland> How do i deserialise the getrawtransaction output?
 853 2012-11-05 14:04:05 <kjj_> deoderawtransaction
 854 2012-11-05 14:04:20 <kjj_> or you can parse it yourself.  In your thread, I gave you links
 855 2012-11-05 14:04:34 <kjj_> https://en.bitcoin.it/wiki/File:TxBinaryMap.png
 856 2012-11-05 14:04:35 <xenland> oh okay, I'm sure the answer is in those links thanks mate
 857 2012-11-05 14:05:29 <Icoin> hi guys what is the timeframe for libdb5.2 and qt 5 integration? BTC aswell as DVC works simultanously on RPI  https://bitcointalk.org/index.php?topic=101559.msg1316721#msg1316721
 858 2012-11-05 14:05:34 <Icoin> hi xenland :)
 859 2012-11-05 14:05:47 one_zero has quit ()
 860 2012-11-05 14:05:47 <Icoin> good to see you bro
 861 2012-11-05 14:06:13 <abrkn> btc to satoshi is what? x * 1e8?
 862 2012-11-05 14:06:36 <jurov> yes
 863 2012-11-05 14:06:55 cdecker has joined
 864 2012-11-05 14:07:01 <xenland> 100000000 = 1 Bitcoin
 865 2012-11-05 14:07:34 <xenland> Oh hey icoin
 866 2012-11-05 14:07:39 <xenland> long time no talk
 867 2012-11-05 14:10:33 drizztbsd has joined
 868 2012-11-05 14:17:04 arij has joined
 869 2012-11-05 14:17:27 arij is now known as Guest9065
 870 2012-11-05 14:18:00 <slush> https://bitcointalk.org/index.php?topic=122438.0
 871 2012-11-05 14:20:17 <kinlo> slush: nice
 872 2012-11-05 14:20:36 <xenland> excellent mate!
 873 2012-11-05 14:20:41 <kinlo> slush: however, can it be made usefull for protecting servers/hot wallets too?
 874 2012-11-05 14:21:07 <kinlo> ie, is the signing capable of for example, signing at the most 10 bitcoins per day or something?
 875 2012-11-05 14:21:09 <slush> kinlo: unless you want to press the button everytime server will make outgoing transaction, then probably no
 876 2012-11-05 14:21:33 <kinlo> it depends on how much logic is inside the chip...
 877 2012-11-05 14:21:43 <slush> kinlo: but implementing cold storage for your backup will be very easy with this
 878 2012-11-05 14:21:51 <slush> for your server, of course
 879 2012-11-05 14:21:52 <kinlo> true
 880 2012-11-05 14:23:28 <slush> currently I'm very affraid that I'll make some mistake during handling cold storage for the pool. One mistake and I can burn all that coins easily. Or I can forget keys somewhere on the computer where I handle it. With wallet like this, I don't need to load cold storage wallet to any machine at all..
 881 2012-11-05 14:23:54 <abracadabra> what if you lose the device?
 882 2012-11-05 14:23:56 <abracadabra> :p
 883 2012-11-05 14:24:01 <abracadabra> hehe
 884 2012-11-05 14:24:17 <slush> abracadabra: Device itself will ask you for doing paper backup of the initial seed
 885 2012-11-05 14:24:28 <slush> abracadabra: you'll be able to load that seed to computer or to another device
 886 2012-11-05 14:24:46 <slush> but displaying seed again will be improssible once initialization is done...
 887 2012-11-05 14:24:53 <abracadabra> i'm sure you got it covered slush
 888 2012-11-05 14:25:01 <abracadabra> j/k around.. humans have a tendency to lose things
 889 2012-11-05 14:25:08 <abracadabra> ;)
 890 2012-11-05 14:33:39 <kjj_> slush: how do you communicate back and forth?
 891 2012-11-05 14:34:08 <slush> kjj_: It will act as a generic USB HID device
 892 2012-11-05 14:34:25 <kjj_> don't take this the wrong way, but fail.  :)
 893 2012-11-05 14:35:00 PiZZaMaN2K is now known as away!~PiZZaMaN2@host-72-2-137-170.csinet.net|PiZZaMaN2K
 894 2012-11-05 14:35:11 <kjj_> unless you are bit banging the USB protocol yourself, your wallet should not be a USB device
 895 2012-11-05 14:35:19 <slush> kjj_: why?
 896 2012-11-05 14:36:51 <kjj_> safety
 897 2012-11-05 14:37:37 <slush> why?
 898 2012-11-05 14:38:04 <kjj_> do you know that whatever system you are using doesn't have any back doors or debugging modes?
 899 2012-11-05 14:38:27 <kjj_> unless you wrote it yourself using GPIO pins, the answer is probably no
 900 2012-11-05 14:39:14 <slush> kjj_: how can it be used for attack?
 901 2012-11-05 14:39:25 <kjj_> which means that you don't really know what is going to happen when you plug it in.  malware might know about a backdoor that lets it dump out the seed and send it to whoever owns that computer
 902 2012-11-05 14:39:53 <slush> "dump out the seed" ? :-)
 903 2012-11-05 14:40:17 <slush> kjj_: from the announcement: "* Impossibility to obtain private keys from the device"
 904 2012-11-05 14:40:56 <kjj_> heh.  and I'm telling you that if you are using a USB interface that you didn't write yourself on a device that complex, you don't have any idea if it is possible or not.  you hope it isn't, you claim it isn't, but you don't KNOW.
 905 2012-11-05 14:41:11 <slush> eh
 906 2012-11-05 14:41:47 <slush> kjj_: I'm not sure if you catched the idea of that device
 907 2012-11-05 14:42:54 <xenland> I think it depends on the specs some hardware is built with security in mind
 908 2012-11-05 14:43:01 <slush> kjj_: desktop client will ask for master public key, then you can see your wallet on the desktop. When you want to send transaction, desktop client will knock up transaction template and send it over USB to the device. Device then check the transaction, display information (mostly target address and amount of transfer) on the display. And will ask user to confirm it by pressing button
 909 2012-11-05 14:43:02 <kjj_> it is a linux box that you didn't write, running on hardware that you didn't design.  I'm not sure if you understood the implications of those factors
 910 2012-11-05 14:43:25 <slush> kjj_: it's not linux box, it is custom software burned directly to the chip
 911 2012-11-05 14:43:44 <kjj_> oh, so not the Raspberry Pi in your announcement?
 912 2012-11-05 14:44:10 <slush> and that DYI version will be just an application which you can install on clean (trusted) raspberry pi distro
 913 2012-11-05 14:44:16 <slush> kjj_: that DYI version, yes
 914 2012-11-05 14:45:04 <slush> or you can compile your own linux kernel, if you don't trust raspbian
 915 2012-11-05 14:45:06 <kjj_> sec, gotta run, back in a few.  but unless you wrote the USB stack yourself, you don't know what is in there.
 916 2012-11-05 14:45:26 <slush> no, there's no possible attack vector over malicious USB drivers
 917 2012-11-05 14:48:32 <xenland> Is the ability to process a Script required to verify Blocks in the block chain?
 918 2012-11-05 14:50:17 <Luke-Jr> yes
 919 2012-11-05 14:50:48 <kjj_> slush: ha!
 920 2012-11-05 14:50:51 BurtyBB has joined
 921 2012-11-05 14:51:09 <slush> kjj_: well, of course you must install trusted distro to that RPi. But firstly it is "community version" of the product and also there's no reason to think that raspberian is less secure than other linux distributions or even Windows machines.
 922 2012-11-05 14:51:50 <helo> other linux distros and windows machines very likely have USB stack exploits... they have in the past, at least
 923 2012-11-05 14:51:57 <kjj_> also, there are almost certainly debug modes burned right into the USB chip, even if the code is clean
 924 2012-11-05 14:52:35 Wack0 has quit (Ping timeout: 260 seconds)
 925 2012-11-05 14:52:35 <Luke-Jr> slush: hey, I'll get an answer to your question in a sec ;)
 926 2012-11-05 14:52:53 <kjj_> for a truly secure wallet, you should be using something more transparent than USB.  that's always been my opinion, but I hope your device works well.  the world surely needs these
 927 2012-11-05 14:54:20 Internet13 has quit (Ping timeout: 260 seconds)
 928 2012-11-05 14:54:20 BurtyB has quit (Ping timeout: 260 seconds)
 929 2012-11-05 14:55:17 Wack0 has joined
 930 2012-11-05 14:55:19 <xenland> perhaps wifi module so you can specifically send out packets exactly how you want with little to none reverse penetration attack vectors
 931 2012-11-05 14:55:56 harkon has quit (Remote host closed the connection)
 932 2012-11-05 14:57:01 <xenland> I have faith in slush though
 933 2012-11-05 14:57:17 <xenland> just putting my two cents in with what i've been learning about hardware the past year or so
 934 2012-11-05 14:57:54 Internet13 has joined
 935 2012-11-05 14:59:11 <kjj_> heh.  I always think back to this paper:  http://cm.bell-labs.com/who/ken/trust.html  and then I add "Stage IV" where the attack is embedded in a chip rather than a binary
 936 2012-11-05 14:59:49 <xenland> i think i saw something like this on a one of those hardware hacking convention videos on youtube
 937 2012-11-05 14:59:57 <slush> helo: "very likely have USB stack exploits" - then just buy that custom hardware, there won't be any malicious linux drivers (there won't be linux at all)
 938 2012-11-05 15:00:54 harkon has joined
 939 2012-11-05 15:02:55 <helo> tough to know if you're safe or not without auditing/authoring the code, as kjj_ said
 940 2012-11-05 15:04:46 <xenland> slush: Is this machine code?
 941 2012-11-05 15:04:46 <kjj_> when I was thinking of doing this, my plan was to do straight up RS-232 serial with a software implementation.  impossible to sneak anything in, unless the chip designer was psychic and knew which GPIO pins I was going to use well before I did
 942 2012-11-05 15:05:29 <helo> it's a little on the paranoid side of caution, but when there may be epic attacks mounted to steal money, if there is a hole it will probably be found
 943 2012-11-05 15:05:36 <kjj_> you could even embed a USB to serial adapter in the device so that it plugged in as USB, but still safe because if had a physical layer that was too dumb for mischief
 944 2012-11-05 15:08:04 root2_ has joined
 945 2012-11-05 15:08:37 <slush> kjj_: what's the difference between serial-over-usb and HID?
 946 2012-11-05 15:08:47 <slush> kjj_: I really don't see your problem.
 947 2012-11-05 15:09:48 <xenland> The unknowingness of the USB communication is the issue i believe
 948 2012-11-05 15:10:22 <xenland> with out knowing the exact method, its difficult to trust i suppose, but who trusts more then a few Bitcoins on a stick its more for On-the-go or shopping style things like a "wallet"
 949 2012-11-05 15:10:42 <xenland> I doubt someone be holding a million BTC on your stick thing (No offence)
 950 2012-11-05 15:11:04 <xenland> so not a big issue indeed
 951 2012-11-05 15:11:09 <slush> I don't see any problem with USB at all.
 952 2012-11-05 15:11:17 <slush> Even if USB stack is hacked - so what?
 953 2012-11-05 15:11:31 copumpkin has quit (Quit: Computer has gone to sleep.)
 954 2012-11-05 15:11:50 <xenland> Run commands that bypass your softwares security possibly
 955 2012-11-05 15:11:53 <xenland> my guess
 956 2012-11-05 15:12:11 root2 has quit (Ping timeout: 260 seconds)
 957 2012-11-05 15:12:28 <xenland> You said this wasn't linux is this like arduino where its its own machine code and you program the logic into it?
 958 2012-11-05 15:12:48 <drizztbsd> firewire is worst
 959 2012-11-05 15:12:56 <drizztbsd> with firewire you can read memory :P
 960 2012-11-05 15:13:07 <xenland> drizztbsd: good to know
 961 2012-11-05 15:14:01 <slush> what security you can bypass by running command? :)
 962 2012-11-05 15:15:41 <xenland> Read privatekeys, steal BTC
 963 2012-11-05 15:17:26 <slush> are we talkin about DYI version or about that custom design?
 964 2012-11-05 15:17:50 <slush> as I said, DYI on Raspberry will be as safe as you can install trusted software on your RPi
 965 2012-11-05 15:19:51 <slush> that custom device is lowlevel code (no operating system) and USB stack is done by underlying hardware
 966 2012-11-05 15:26:26 <xenland> ah, well you have my trust in that case then, can't speak for kjj_ though
 967 2012-11-05 15:32:30 copumpkin has joined
 968 2012-11-05 15:49:15 Icoin has quit (Quit: Icoin)
 969 2012-11-05 16:01:10 harkon has quit (Quit: Konversation terminated!)
 970 2012-11-05 16:03:00 Icoin has joined
 971 2012-11-05 16:05:49 gavinandresen has joined
 972 2012-11-05 16:16:37 da2ce7_d has joined
 973 2012-11-05 16:19:05 da2ce7 has quit (Ping timeout: 256 seconds)
 974 2012-11-05 16:22:17 <Luke-Jr> slush: 65416 bytes before the stratum connection goes idle
 975 2012-11-05 16:23:01 JZavala has quit (Ping timeout: 272 seconds)
 976 2012-11-05 16:23:18 <slush> Luke-Jr: it happen everytime to you?
 977 2012-11-05 16:23:22 <Luke-Jr> slush: yes
 978 2012-11-05 16:23:27 <slush> hm, weird
 979 2012-11-05 16:24:19 <Luke-Jr> slush: Wireshark tells me that it stops when the TCP window is full
 980 2012-11-05 16:25:27 <slush> Luke-Jr: I tested it again in telnet. another machine, another network, cannot simulate your problem...
 981 2012-11-05 16:25:41 <slush> can you try it on another machine?
 982 2012-11-05 16:27:22 <Luke-Jr> hmm, socat finishes fine
 983 2012-11-05 16:31:47 tonikt has joined
 984 2012-11-05 16:31:51 d4de has quit (Ping timeout: 256 seconds)
 985 2012-11-05 16:36:26 <Luke-Jr> slush: seems maybe this problem is in Con's socket code, I'll have to debug it more on my end
 986 2012-11-05 16:37:52 <slush> if it works in telnet for you, then this is likely
 987 2012-11-05 16:41:26 vee has joined
 988 2012-11-05 16:44:04 <xenland> Where do i find the command list for requesting blocks to download from peers?
 989 2012-11-05 16:47:20 RainbowDashh has quit (Quit: QUIT! [11:14:29] <+Tsunami1>	 http://i.imgur.com/t2rz5.png)
 990 2012-11-05 16:49:18 Zarutian has joined
 991 2012-11-05 16:50:37 <BlueMatt> anyone who doesnt have dnsseed.bluematt.me NS cached in their nameserver: does looking up dnsseed.bluematt.me work for you?
 992 2012-11-05 16:51:35 optimator has quit (Ping timeout: 246 seconds)
 993 2012-11-05 16:51:45 optimator has joined
 994 2012-11-05 16:51:45 optimator has quit (Changing host)
 995 2012-11-05 16:51:45 optimator has joined
 996 2012-11-05 16:53:38 ThomasV_ has joined
 997 2012-11-05 16:53:57 <jgarzik> BlueMatt: yes, it works
 998 2012-11-05 16:55:02 <BlueMatt> nice, now I can turn it off on jenkins
 999 2012-11-05 16:55:45 maaku has joined
1000 2012-11-05 16:58:26 gavinandresen has quit (Quit: gavinandresen)
1001 2012-11-05 16:58:55 B0g4r7 has quit (Read error: Connection reset by peer)
1002 2012-11-05 17:00:49 B0g4r7 has joined
1003 2012-11-05 17:01:33 pecket has quit (Ping timeout: 255 seconds)
1004 2012-11-05 17:06:00 t7 has quit (Read error: Connection reset by peer)
1005 2012-11-05 17:07:09 pecket has joined
1006 2012-11-05 17:07:48 Diablo-D3 has joined
1007 2012-11-05 17:13:32 Guest9065 is now known as guest9066
1008 2012-11-05 17:20:47 agricocb has quit (Remote host closed the connection)
1009 2012-11-05 17:20:54 sipa has joined
1010 2012-11-05 17:21:06 da2ce7 has joined
1011 2012-11-05 17:22:52 da2ce7_d has quit (Ping timeout: 245 seconds)
1012 2012-11-05 17:33:32 d4de has joined
1013 2012-11-05 17:38:17 CodesInChaos has quit (Ping timeout: 268 seconds)
1014 2012-11-05 17:55:35 guest9066 has quit (Quit: No Ping reply in 180 seconds.)
1015 2012-11-05 17:56:00 arij has joined
1016 2012-11-05 17:56:15 harkon has joined
1017 2012-11-05 17:56:24 arij is now known as Guest4881
1018 2012-11-05 17:58:18 ThomasV_ has quit (Ping timeout: 264 seconds)
1019 2012-11-05 17:58:40 maaku has quit (Quit: maaku)
1020 2012-11-05 17:59:50 wtfman[away] has quit (Ping timeout: 260 seconds)
1021 2012-11-05 18:00:18 <jgarzik> gmaxwell, sipa: ultraprune ready for mining?  I would like to upgrade my testnet3 node to HEAD, and wondered if the "don't use for mining" proviso still stood?
1022 2012-11-05 18:00:24 graingert_ecs has quit (Remote host closed the connection)
1023 2012-11-05 18:00:47 <jgarzik> and
1024 2012-11-05 18:01:55 Guest4881 has quit (Quit: No Ping reply in 180 seconds.)
1025 2012-11-05 18:02:00 <jgarzik> random_cat:  my inbox has an emailed notification about a MeetUp of "IBD enthusiasts"
1026 2012-11-05 18:02:09 * jgarzik kicks xchat autocorrect
1027 2012-11-05 18:02:14 <jgarzik> Random :  my inbox has an emailed notification about a MeetUp of "IBD enthusiasts"
1028 2012-11-05 18:02:20 arij_ has joined
1029 2012-11-05 18:02:59 harkon has quit (Ping timeout: 260 seconds)
1030 2012-11-05 18:03:20 wtfman[away] has joined
1031 2012-11-05 18:04:19 <helo> how can anyone be enthusiastic of either interpretation of IBD?
1032 2012-11-05 18:08:00 arij_ has quit (Quit: No Ping reply in 180 seconds.)
1033 2012-11-05 18:08:17 arij_ has joined
1034 2012-11-05 18:16:19 pnicholson has quit (Quit: pnicholson)
1035 2012-11-05 18:17:37 sgornick has quit (Quit: Ex-Chat)
1036 2012-11-05 18:19:48 <gmaxwell> jgarzik: for testnet? sure.
1037 2012-11-05 18:19:57 gfinn has quit (Remote host closed the connection)
1038 2012-11-05 18:20:26 arij_ has quit (Read error: Connection reset by peer)
1039 2012-11-05 18:21:10 <jgarzik> gmaxwell: Just wanted to double-check.  A couple weeks ago, there was panic, making sure there were some non-ultraprune miners on testnet ;p
1040 2012-11-05 18:21:17 midnightmagic_ is now known as midnightmagic
1041 2012-11-05 18:21:23 <gmaxwell> jgarzik: yes, that bug is fixed.
1042 2012-11-05 18:22:44 freakazoid has joined
1043 2012-11-05 18:23:14 <sipa> jgarzik: there is one potential bug, which would cause switching to a later block at the same height sometimes
1044 2012-11-05 18:23:25 <sipa> but that doesn't prohibit mining
1045 2012-11-05 18:25:05 arij_ has joined
1046 2012-11-05 18:25:20 <sipa> jgarzik: nonetheless, i prefer having the warning in the code until we hit rc's or later... if a significant number of miners switch, and there is still a bug...
1047 2012-11-05 18:25:32 <jgarzik> ok
1048 2012-11-05 18:26:36 <sipa> being hypocritical myself, i've been mining on ultraprune for over a month now...
1049 2012-11-05 18:28:29 arij_ has quit (Client Quit)
1050 2012-11-05 18:29:55 arij_ has joined
1051 2012-11-05 18:30:55 gritball_ has joined
1052 2012-11-05 18:32:05 gritball has quit (Ping timeout: 248 seconds)
1053 2012-11-05 18:32:49 Guest18133 is now known as topace
1054 2012-11-05 18:33:31 paraipan has quit (Ping timeout: 276 seconds)
1055 2012-11-05 18:34:32 PiZZaMaN2K is now known as PiZZaMaN2K|away
1056 2012-11-05 18:36:26 paraipan has joined
1057 2012-11-05 18:36:35 arij_ has quit (Quit: No Ping reply in 180 seconds.)
1058 2012-11-05 18:39:42 maqr has quit (Ping timeout: 264 seconds)
1059 2012-11-05 18:42:06 daybyter has joined
1060 2012-11-05 18:45:57 pusle has quit ()
1061 2012-11-05 18:49:01 maaku has joined
1062 2012-11-05 18:50:28 gavinandresen has joined
1063 2012-11-05 18:50:28 gavinandresen has quit (Changing host)
1064 2012-11-05 18:50:28 gavinandresen has joined
1065 2012-11-05 18:50:29 <Tykling> is there a way to use the rpc interface to list the unconfirmed balance of an account ? like the gui client does ?
1066 2012-11-05 18:59:08 c_k has quit (Quit: :))
1067 2012-11-05 19:00:20 c_k has joined
1068 2012-11-05 19:01:02 Descry has joined
1069 2012-11-05 19:01:46 <random_cat> jgarzik: what am i to make of this?
1070 2012-11-05 19:01:56 <jgarzik> random_cat: ignore
1071 2012-11-05 19:02:15 <jgarzik> random_cat: I typed "Random: " and xchat changed it automatically to "random_cat: "
1072 2012-11-05 19:02:18 <random_cat> oic...
1073 2012-11-05 19:04:18 <kjj_> another reason to hate automatic "correction" features
1074 2012-11-05 19:04:43 paraipan has quit (Ping timeout: 276 seconds)
1075 2012-11-05 19:05:15 abrkn\ has joined
1076 2012-11-05 19:06:47 agricocb has joined
1077 2012-11-05 19:06:55 abrkn has quit (Ping timeout: 240 seconds)
1078 2012-11-05 19:08:01 abrkn\ is now known as abrkn
1079 2012-11-05 19:08:25 pnicholson has joined
1080 2012-11-05 19:10:34 molecular has quit (Ping timeout: 276 seconds)
1081 2012-11-05 19:11:29 molecular has joined
1082 2012-11-05 19:11:47 Mobius_ is now known as MobiusL
1083 2012-11-05 19:13:11 maqr has joined
1084 2012-11-05 19:13:49 ThomasV_ has joined
1085 2012-11-05 19:13:59 daybyter has quit (Quit: Konversation terminated!)
1086 2012-11-05 19:18:57 paraipan has joined
1087 2012-11-05 19:19:15 freakazoid has quit (Ping timeout: 240 seconds)
1088 2012-11-05 19:25:11 <an3k> ;;seen tenakha
1089 2012-11-05 19:25:12 <gribble> I have not seen tenakha.
1090 2012-11-05 19:25:20 <an3k> oh for sure you have
1091 2012-11-05 19:25:55 <an3k> oh, sry, wrong channel :)
1092 2012-11-05 19:33:19 wizkidO57 has joined
1093 2012-11-05 19:34:29 wizkid057 has quit (Ping timeout: 248 seconds)
1094 2012-11-05 19:35:06 freakazoid has joined
1095 2012-11-05 19:35:27 Ferroh has quit (Ping timeout: 268 seconds)
1096 2012-11-05 19:39:35 vampireb has joined
1097 2012-11-05 19:42:09 da2ce7_d has joined
1098 2012-11-05 19:43:47 da2ce7 has quit (Ping timeout: 246 seconds)
1099 2012-11-05 19:44:09 <BlueMatt> anyone wanna propose a better name for bloom filter seed than nSeedTwiddleFactor? :)
1100 2012-11-05 19:44:22 <sipa> nSeedSeed
1101 2012-11-05 19:44:32 <sipa> :p
1102 2012-11-05 19:45:06 <sipa> nSalt ?
1103 2012-11-05 19:45:07 <gmaxwell> nTweak
1104 2012-11-05 19:45:23 <sipa> ^ that
1105 2012-11-05 19:45:37 agricocb has quit (Quit: Leaving.)
1106 2012-11-05 19:45:52 <BlueMatt> nSeedTweak
1107 2012-11-05 19:45:53 <gmaxwell> (tweak seems to be the word used for large block ciphers for basically this)
1108 2012-11-05 19:46:21 <BlueMatt> ok
1109 2012-11-05 19:47:33 <jgarzik> is it possible for testnet3 bitcoin addresses to start with 'n', as well as 'm', yes?
1110 2012-11-05 19:47:53 <jgarzik> *it is
1111 2012-11-05 19:47:54 <sipa> correct
1112 2012-11-05 19:47:56 <gmaxwell> Yes.
1113 2012-11-05 19:48:55 brocktice has quit (Ping timeout: 276 seconds)
1114 2012-11-05 19:49:23 <sipa> i once saw a failed -reindex some time ago, which i didn't understand at all
1115 2012-11-05 19:49:40 brocktice has joined
1116 2012-11-05 19:49:51 <sipa> i now realize i may have compiled jgarzik's reindex instead of my reindex2...
1117 2012-11-05 19:52:38 D34TH has joined
1118 2012-11-05 19:52:38 D34TH has quit (Changing host)
1119 2012-11-05 19:52:38 D34TH has joined
1120 2012-11-05 19:59:12 D34TH_ has joined
1121 2012-11-05 19:59:19 D34TH has quit (Ping timeout: 276 seconds)
1122 2012-11-05 19:59:34 D34TH_ is now known as D34TH
1123 2012-11-05 19:59:42 D34TH has quit (Changing host)
1124 2012-11-05 19:59:42 D34TH has joined
1125 2012-11-05 20:01:33 Traffic has joined
1126 2012-11-05 20:01:57 <Traffic> bitcoin-qt makes a lot of traffic up to 4 GB per day?
1127 2012-11-05 20:02:37 <sipa> if someone downloads the entire block chain from you, yes
1128 2012-11-05 20:02:37 <gmaxwell> Traffic: The traffic is normall quite low, especially if you're not listening— of course there is a fair amount during the initial sync.
1129 2012-11-05 20:03:51 CodesInChaos has joined
1130 2012-11-05 20:03:54 <sipa> or when you dowbload the chain from somewhere, sure
1131 2012-11-05 20:04:02 <Traffic> 18 GB traffic in 5 days - including normal surfing 5GB per month
1132 2012-11-05 20:04:36 <Traffic> i already have the chain - - the wallet shows up to 44 conections
1133 2012-11-05 20:05:04 <sipa> right, you're likely distributing the chain to many people
1134 2012-11-05 20:05:05 <gmaxwell> Right, so you're listening and other new nodes are pulling it from you.
1135 2012-11-05 20:05:24 Descry has quit (Quit: Leaving)
1136 2012-11-05 20:05:36 <Traffic> ok then i petter stop listening - how can i do ?
1137 2012-11-05 20:05:44 <Traffic> better
1138 2012-11-05 20:07:03 D34TH_ has joined
1139 2012-11-05 20:07:46 D34TH has quit (Ping timeout: 276 seconds)
1140 2012-11-05 20:08:59 vampireb has quit (Quit: Lost terminal)
1141 2012-11-05 20:09:31 <ThomasV_> bitcoin-qt is not a good name
1142 2012-11-05 20:10:55 wizkidO57 is now known as wizkid057
1143 2012-11-05 20:11:01 <Traffic> how can i stop my wallet from listening so that traffic decrease ?
1144 2012-11-05 20:12:25 <sipa> Traffic: -nolisten or -maxconnections may help you
1145 2012-11-05 20:12:49 <sipa> maybe those can be set in the config window, not sure
1146 2012-11-05 20:12:57 <gavinandresen> Traffic: run with -listen=0  or put  listen=0  in your bitcoin.conf file.  See https://en.bitcoin.it/wiki/Running_Bitcoin
1147 2012-11-05 20:14:11 <kjj_> does -maxconnections=0 mean no connections, 8 connections, or unlimited?
1148 2012-11-05 20:14:26 <BlueMatt> Traffic: my seednode almost never uses any significant amount of traffic
1149 2012-11-05 20:14:40 <BlueMatt> Traffic: a few GB in a few days - Ive never seen that much
1150 2012-11-05 20:15:09 D34TH has joined
1151 2012-11-05 20:15:09 <BlueMatt> kjj_: 8 iirc, but you should use nolisten
1152 2012-11-05 20:15:12 D34TH_ has quit (Read error: Connection reset by peer)
1153 2012-11-05 20:16:35 <sipa> kjj_: -maxconnections is the total
1154 2012-11-05 20:16:41 <sipa> both incoming and outgoing
1155 2012-11-05 20:16:43 <Traffic> thx
1156 2012-11-05 20:17:07 <BlueMatt> sipa: iirc it will still make the 8 outgoing though
1157 2012-11-05 20:17:16 <sipa> quite sure it won't :)
1158 2012-11-05 20:17:33 <BlueMatt> sipa: oh, I wasnt looking at code, I just remember it ignoring max connections for outgoing, maybe Im wrong
1159 2012-11-05 20:18:09 <sipa> i haven't looked at the code either
1160 2012-11-05 20:18:15 <BlueMatt> Traffic: even listening, you should not see any really measurable bw usage (unless you are limited to like 2GB/mo, then it may matter)
1161 2012-11-05 20:18:21 <sipa> but i remember seeing something "if maxconnections < 8 ..."
1162 2012-11-05 20:18:24 datagutt has quit (Quit: kthxbai)
1163 2012-11-05 20:18:31 <BlueMatt> sipa: oh, well then maybe Im wrong
1164 2012-11-05 20:18:39 <BlueMatt> or...maybe someone should look at code ;)
1165 2012-11-05 20:19:02 <sipa> int nMaxOutbound = min(MAX_OUTBOUND_CONNECTIONS, (int)GetArg("-maxconnections", 125));
1166 2012-11-05 20:19:25 <BlueMatt> mmm, ok, I stand corrected
1167 2012-11-05 20:19:35 <sipa> now, less funny: my mining node segfaulted
1168 2012-11-05 20:19:51 <BlueMatt> :(
1169 2012-11-05 20:20:15 <sipa> it was running git head of a few days ago
1170 2012-11-05 20:21:05 <sipa> BlueMatt: does pulltester have a test which verifies that when receiving two blocks of equal work, the first one is retained?
1171 2012-11-05 20:21:54 <BlueMatt> you mean connectedBlock -> A, connectedBlock -> B check that the new connectedBlock is the first one of A/B sent
1172 2012-11-05 20:22:07 <sipa> indeed
1173 2012-11-05 20:22:17 freakazoid has quit (Ping timeout: 246 seconds)
1174 2012-11-05 20:22:24 <BlueMatt> IIRC, yes, gimme a sec...
1175 2012-11-05 20:23:04 <BlueMatt> yes, many, many times (its just a part of various tests as it tests new chain head after each block)
1176 2012-11-05 20:23:13 <sipa> strange!
1177 2012-11-05 20:24:04 <BlueMatt> if you find a bug in block acceptance, as always, ping me and Ill add a new test for it
1178 2012-11-05 20:25:12 <sipa> because i can't find code in current head that enforces this (i've submitted a pullreq, and was waiting to get it pulltested)
1179 2012-11-05 20:26:00 <BlueMatt> why would it need to be explicitly enforced? should it not not connect a block which has the same work as the current tip?
1180 2012-11-05 20:27:16 <BlueMatt> (ie in the same check that checks for < work)
1181 2012-11-05 20:27:28 <sipa> it may be debatable, but it mayb have very serious consequences
1182 2012-11-05 20:27:57 <BlueMatt> yea...other question...why did test_bitcoin segfault when testing your pull...
1183 2012-11-05 20:28:16 <BlueMatt> anyone else seen that on a pull tester log?
1184 2012-11-05 20:28:17 <sipa> i've seen that bug before; maybe some old code leaked in
1185 2012-11-05 20:28:24 <sipa> i'll try it locally
1186 2012-11-05 20:28:33 <BlueMatt> we fixed that bug a very, very long time ago
1187 2012-11-05 20:29:26 <gmaxwell> Being willing to switching on equal difficulty at a very least make it take longer to converge... and increases the risk of non-convergence.
1188 2012-11-05 20:29:29 BlackPrapor has joined
1189 2012-11-05 20:30:12 <jgarzik> what is current tip height, on testnet3?
1190 2012-11-05 20:30:27 <jgarzik> 35138?
1191 2012-11-05 20:30:58 <BlueMatt> gmaxwell: yes, it absolutely shouldn't be allowed, my comment was more "in what weird code design is an explicit check for that required?"
1192 2012-11-05 20:31:36 <BlueMatt> (ie there must be a check to not connect a block who's work is < current tip work, but why cant that just be <=)
1193 2012-11-05 20:31:57 <sipa> BlueMatt: current code has a function ConnectBestBlock, which finds the best block among all known, and connects it
1194 2012-11-05 20:32:15 <BlueMatt> ahh, ok, still...seems strange
1195 2012-11-05 20:32:37 <sipa> and if two have the same amount of work, any of them may be first
1196 2012-11-05 20:33:17 <jgarzik> sipa: seems like the first one encountered should be first
1197 2012-11-05 20:33:40 <BlueMatt> jgarzik: yep, thats what sipa's pull (theoretically) does
1198 2012-11-05 20:34:00 <sipa> BlueMatt: think i know why it segfaults
1199 2012-11-05 20:34:41 <sipa> pindexBest may be NULL, in case of the genesis block being connected
1200 2012-11-05 20:34:46 <sipa> yup, fixed it
1201 2012-11-05 20:34:47 <BlueMatt> ahh
1202 2012-11-05 20:35:17 pnicholson has quit (Quit: pnicholson)
1203 2012-11-05 20:35:27 <BlueMatt> yea, grep only shows your pull with a "Test setup error"
1204 2012-11-05 20:37:06 toffoo has joined
1205 2012-11-05 20:37:09 Traffic has quit (Quit: Page closed)
1206 2012-11-05 20:37:33 <sipa> BlueMatt: updated
1207 2012-11-05 20:37:49 BlackPrapor has quit (Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/)
1208 2012-11-05 20:49:52 Diapolo has joined
1209 2012-11-05 20:56:52 jborkl has joined
1210 2012-11-05 20:57:48 gfinn has joined
1211 2012-11-05 20:58:28 ibno has quit (Quit: Lämnar)
1212 2012-11-05 20:59:36 agricocb has joined
1213 2012-11-05 21:02:41 <jgarzik> w00t, picocoin is happily parsing the testnet3 block headers, and generating addresses.  Just sent the first transaction /to/ a picocoin wallet.
1214 2012-11-05 21:03:36 <ThomasV_> jgarzik: what is picocoin?
1215 2012-11-05 21:04:07 <jgarzik> ThomasV: SPV client in C
1216 2012-11-05 21:04:28 <ThomasV_> oh I see
1217 2012-11-05 21:05:00 <jgarzik> ThomasV_: Under development, not ready for users yet.  https://github.com/jgarzik/picocoin/
1218 2012-11-05 21:05:40 pecket has quit (Read error: Connection reset by peer)
1219 2012-11-05 21:08:55 ThomasV_ has quit (Quit: Quitte)
1220 2012-11-05 21:10:09 jborkl has quit (Quit: Page closed)
1221 2012-11-05 21:12:53 slush has quit (Ping timeout: 268 seconds)
1222 2012-11-05 21:13:49 pecket has joined
1223 2012-11-05 21:14:36 qew has joined
1224 2012-11-05 21:20:55 <sipa> i wonder whether using a patricia tree for a UTXO merkle structure is even useful
1225 2012-11-05 21:21:28 <edcba> who is patricia ?
1226 2012-11-05 21:22:08 <sipa> it's an acronym, afaik
1227 2012-11-05 21:22:31 <sipa> Practical Algorithm To Retrieve Information Coded In Alphanumeric
1228 2012-11-05 21:22:36 <edcba> ok
1229 2012-11-05 21:23:33 conman has joined
1230 2012-11-05 21:27:25 <kjj_> sipa: since hashes are binary, you end up with a radix tree in base 256
1231 2012-11-05 21:27:53 <sipa> i'd certainly do it bitwise, so base 2
1232 2012-11-05 21:28:18 <sipa> the advantage patricia trees have over normal tries is compact representation along common paths
1233 2012-11-05 21:28:30 <sipa> but you don't expect many common paths if the keys are hashes
1234 2012-11-05 21:29:36 <kjj_> for faster lookups, I'd chunk it out
1235 2012-11-05 21:30:21 <sipa> but the representation of "how many bits are compressed in the following path" and those bits themself also require storage
1236 2012-11-05 21:30:29 <kjj_> make a base32 tree and pull bits out 5 at a time.  moving down the tree is than AND, shift and multiply
1237 2012-11-05 21:30:54 <sipa> and i'm not convinced this is less than what you gain from the actual compression
1238 2012-11-05 21:31:09 Ferroh has joined
1239 2012-11-05 21:31:45 <kjj_> is everyone talking in the channel getting messages from some guy looking to buy or sell bitcoins?
1240 2012-11-05 21:32:14 <maaku> kjj_: yes, set your client to ignore
1241 2012-11-05 21:32:31 <maaku> and send your logs to the police :)
1242 2012-11-05 21:32:33 <kjj_> yeah, did.  was just wondering if I was special, or if he just messaged everyone that talks
1243 2012-11-05 21:33:06 <kjj_> binary data is a bitch to search effectively
1244 2012-11-05 21:33:43 <kjj_> particularly hashes, since by design they don't have any commonality in particular
1245 2012-11-05 21:35:00 maqr has quit (Read error: Connection reset by peer)
1246 2012-11-05 21:35:22 maqr has joined
1247 2012-11-05 21:35:55 <kjj_> the best I was able to come up with was a tree/list hybrid.  each tree node had 2^n downstream pointers, and the thing pointed to was either another tree node, or a list node.  the idea was you'd follow n bits at a time down the tree until you hit a list, then just iterate the few entries in the list.  if a list hit a high water mark, split into a tree node
1248 2012-11-05 21:36:48 <sipa> anything with a branching factor higher than 2 will result in needless hash operations
1249 2012-11-05 21:37:20 <kjj_> they are already hashed
1250 2012-11-05 21:37:36 <maaku> sipa: prefix trie?
1251 2012-11-05 21:37:53 <sipa> kjj_: i'm talking about an authenticated utxo set
1252 2012-11-05 21:37:59 <sipa> so like a merkle tree
1253 2012-11-05 21:38:31 <sipa> where every node stores pointers to its subnodes + their hashes
1254 2012-11-05 21:38:47 <sipa> to be able to efficiently recompute the merkle root when doing updates
1255 2012-11-05 21:39:00 <kjj_> ahhh, that's a whole different pain in the ass
1256 2012-11-05 21:39:07 Diapolo has left ()
1257 2012-11-05 21:39:17 <edcba> is it that long to recompute merkle root ?
1258 2012-11-05 21:39:54 <kjj_> either the tree is going to get unbalanced as hell, and suck for searching, or you'll have to redo tons of hashes each time you update it
1259 2012-11-05 21:40:28 <sipa> well, that's the discussion... balanced tree or trie
1260 2012-11-05 21:40:45 <edcba> just try !
1261 2012-11-05 21:41:00 <sipa> balances tree certainly has better theoretical properties, like a guarantee on its height in function of log(elements)
1262 2012-11-05 21:41:04 <kjj_> I think that the practical problems of maintaining such a tree will sink plans to distribute utxo.  if I had to guess, I'd say that Satoshi knew that and that's why he didn't use them
1263 2012-11-05 21:41:33 <maaku> kjj_: which is why you use a prefix trie--it avoids those practical problems
1264 2012-11-05 21:41:47 <sipa> tries have the risk of becoming unbalanced
1265 2012-11-05 21:41:53 <kjj_> maaku: seems unlikely to avoid all of them.
1266 2012-11-05 21:42:07 <sipa> especially when the whole world can see the data structure, and try to unbalance it
1267 2012-11-05 21:42:19 <sipa> but there are computational limits to how badly you can unbalance it
1268 2012-11-05 21:42:21 <edcba> yeah better to stay in safe side
1269 2012-11-05 21:42:26 <sipa> when the keys are hashes
1270 2012-11-05 21:42:41 <maaku> sipa: and the consequences of one person's mischief would be…?
1271 2012-11-05 21:42:52 <edcba> anyway satoshi just relied on hardware advances so don't care about perf :)
1272 2012-11-05 21:42:53 <sipa> maaku: slowing down block validation for every full node
1273 2012-11-05 21:43:16 <sipa> there are currently around 1.25 M entries in the utxo set
1274 2012-11-05 21:43:22 <maaku> you'd have to have a LOT of bit dust to do that
1275 2012-11-05 21:44:00 <edcba> some ppl may have it and time on their hands now
1276 2012-11-05 21:44:01 <kjj_> maaku: not really.  I pull a block every few months from my mining rigs.  I could totally do a MAX_BLOCK_SIZE block that was nothing but dust, pay no fees on it
1277 2012-11-05 21:44:57 <maaku> kjj_: and that would cause, what, a couple dozen extra hashes?
1278 2012-11-05 21:44:59 <kjj_> and since the each entry only costs me 1 satoshi, I don't even care if I have private keys to match the pubkeys in the scripts
1279 2012-11-05 21:46:34 <kjj_> what it costs the network depends on the tree's details.  I can make searches for legit transactions more costly, and/or I can make future additions/deletions more costly
1280 2012-11-05 21:46:46 <maaku> if you don't have the private keys, then that structure never gets updated and the hashes can be cached
1281 2012-11-05 21:47:16 sgornick has joined
1282 2012-11-05 21:47:31 <kjj_> maaku: only if each block's transactions end up in their own branch.  which might be a good idea, I'm not sure
1283 2012-11-05 21:47:51 <maaku> kjj_: with a prefix trie there's a maximum limit on how long a search can take
1284 2012-11-05 21:48:06 <sipa> yes, 256 steps :)
1285 2012-11-05 21:48:37 <maaku> if you use a binary trie, yes, but you could use a 1-byte radix
1286 2012-11-05 21:48:39 <maaku> maximum 32 steps
1287 2012-11-05 21:48:56 <kjj_> 64, not 32.
1288 2012-11-05 21:49:01 <sipa> 32
1289 2012-11-05 21:49:06 <sipa> 32 bytes = 256 bits
1290 2012-11-05 21:49:08 <kjj_> er, no, 32.  gah.  I need coffee or something
1291 2012-11-05 21:49:27 <edcba> if distribution is uniform i don't see what you gain
1292 2012-11-05 21:49:36 <sipa> gain from what?
1293 2012-11-05 21:50:11 gavinandresen has quit (Quit: gavinandresen)
1294 2012-11-05 21:50:21 <sipa> maaku: higher fan-out means more data to hash in each step
1295 2012-11-05 21:50:53 <maaku> sipa: it also means less total hashes
1296 2012-11-05 21:50:58 <sipa> so you only need 1/8 the number of steps, but you hash 128x as much data in each step
1297 2012-11-05 21:51:21 <kjj_> and an attacker should be able to extend maybe 5,000 to 10,000 nodes per block, forcing all of them to need recalculation
1298 2012-11-05 21:51:31 vee has quit ()
1299 2012-11-05 21:53:20 <kjj_> if we assume that hashing is less costly than comparing by at least a factor of 128, the binary tree looks best
1300 2012-11-05 21:53:31 <kjj_> er, more costly.  where's that damn coffee?
1301 2012-11-05 21:54:33 RBecker has quit (Quit: You care. You're there for me.  You love me so much, and I never want to let it go.  You are the one truly amazing person. MDR 3/6/11 <3)
1302 2012-11-05 21:55:53 RBecker has joined
1303 2012-11-05 21:58:07 <maaku> log2(1.5M) ~= 20.5, so balanced-binary vs prefix trie *worst-case* results in 56% more hashes for a targeted "attack"--although it's unclear to me what, if anything that attack would accomplish
1304 2012-11-05 21:58:37 <sipa> 56% ?
1305 2012-11-05 21:58:39 <maaku> what i'm saying is that's not orders of magnitude, so we should pay attention to non-performance considerations
1306 2012-11-05 21:58:42 <maaku> 32/20.5
1307 2012-11-05 21:59:33 <kjj_> also keep in mind that bitcoin is growing.  it is safe to assume every day that the utxo set is smaller than it ever will be in the future
1308 2012-11-05 21:59:34 <sipa> at least compare balanced-256-b-tree to 256-choice-prefix-trie or balances-binary to binary prefix trie
1309 2012-11-05 21:59:51 <sipa> kjj_: it has actually shrunk in the past
1310 2012-11-05 22:00:13 <kjj_> I'm sure it has.  I don't expect that to be a common thing in the future
1311 2012-11-05 22:00:22 <sipa> sure
1312 2012-11-05 22:00:45 Lolcust has quit (Quit: Nap time)
1313 2012-11-05 22:01:57 <maaku> sipa: are you talking about doing a balanced-256-b-tree?
1314 2012-11-05 22:04:24 <sipa> no
1315 2012-11-05 22:04:34 PKS has joined
1316 2012-11-05 22:04:40 PKS has quit (Read error: Connection reset by peer)
1317 2012-11-05 22:04:48 <sipa> but it's not a fair comparison if you compare a balanced binary tree against a 256-fanout-trie
1318 2012-11-05 22:04:55 PKS has joined
1319 2012-11-05 22:04:59 PKS is now known as Guest6790
1320 2012-11-05 22:06:19 jurov is now known as SolitaryMasculin
1321 2012-11-05 22:07:02 SolitaryMasculin is now known as SolitaryMachismo
1322 2012-11-05 22:07:03 drizztbsd has quit (Read error: Connection reset by peer)
1323 2012-11-05 22:07:22 rdponticelli has quit (Ping timeout: 276 seconds)
1324 2012-11-05 22:08:19 qew has quit (Quit: —I-n-v-i-s-i-o-n— 3.1.3 (May '10))
1325 2012-11-05 22:08:37 Lolcust has joined
1326 2012-11-05 22:09:40 Guest6790 is now known as Tactalneck
1327 2012-11-05 22:09:45 freakazoid has joined
1328 2012-11-05 22:15:45 rdponticelli has joined
1329 2012-11-05 22:19:31 <jgarzik> Sigh.  Compile with -O2, a new picocoin test passes, hashes match.  Compile with just '-Wall -g', and the new test fails.
1330 2012-11-05 22:22:58 rdponticelli has quit (Ping timeout: 276 seconds)
1331 2012-11-05 22:24:17 ThomasV_ has joined
1332 2012-11-05 22:27:49 rdponticelli has joined
1333 2012-11-05 22:30:22 ThomasV_ has quit (Ping timeout: 245 seconds)
1334 2012-11-05 22:39:15 ovidiusoft has joined
1335 2012-11-05 22:40:49 * Luke-Jr ponders
1336 2012-11-05 22:41:00 freakazoid has quit (Ping timeout: 252 seconds)
1337 2012-11-05 22:45:38 Tactalneck has quit (Quit: ThrashIRC v2.8 sic populo comunicated)
1338 2012-11-05 22:50:05 CodesInChaos has quit (Ping timeout: 256 seconds)
1339 2012-11-05 22:50:28 stamit has joined
1340 2012-11-05 22:51:33 stamit has left ()
1341 2012-11-05 22:51:54 BurtyBB is now known as BurtyB
1342 2012-11-05 22:52:02 slush has joined
1343 2012-11-05 22:53:54 dvide has quit ()
1344 2012-11-05 23:02:25 <Luke-Jr> ahaha, I spent all that time debugging and it's a bug on slush's pool after all! :<
1345 2012-11-05 23:02:29 JDuke256 has joined
1346 2012-11-05 23:02:30 <Luke-Jr> slush: ;p
1347 2012-11-05 23:03:55 <edcba> lol
1348 2012-11-05 23:04:20 * upb stalks edcba 
1349 2012-11-05 23:04:33 <edcba> help !
1350 2012-11-05 23:04:40 <edcba> upb wants to steal my bitcoinz !
1351 2012-11-05 23:06:00 <upb> false i just want to stalk you
1352 2012-11-05 23:07:09 JudgeTheDude has joined
1353 2012-11-05 23:07:11 JudgeTheDude has quit (Client Quit)
1354 2012-11-05 23:07:49 paraipan has quit (Ping timeout: 276 seconds)
1355 2012-11-05 23:08:30 slush has quit (Ping timeout: 244 seconds)
1356 2012-11-05 23:11:22 freakazoid has joined
1357 2012-11-05 23:15:26 agricocb has quit (Quit: Leaving.)
1358 2012-11-05 23:17:48 freakazoid has quit (Ping timeout: 244 seconds)
1359 2012-11-05 23:18:34 t2che has joined
1360 2012-11-05 23:18:42 MC-Eeepc has joined
1361 2012-11-05 23:19:03 EPiSKiNG- has quit (Read error: Connection reset by peer)
1362 2012-11-05 23:19:54 EPiSKiNG- has joined
1363 2012-11-05 23:20:08 tsche has quit (Ping timeout: 256 seconds)
1364 2012-11-05 23:20:49 copumpkin has quit (Quit: Computer has gone to sleep.)
1365 2012-11-05 23:21:50 MC1984 has quit (Ping timeout: 256 seconds)
1366 2012-11-05 23:23:01 paraipan has joined
1367 2012-11-05 23:33:30 freakazoid has joined
1368 2012-11-05 23:36:29 ovidiusoft has quit (Ping timeout: 252 seconds)
1369 2012-11-05 23:43:33 agricocb has joined
1370 2012-11-05 23:46:40 galambo_ has quit (Read error: Connection reset by peer)
1371 2012-11-05 23:46:48 copumpkin has joined
1372 2012-11-05 23:47:02 galambo_ has joined