1 2011-03-04 00:03:46 <luke-jr> d-snp: they are and aren't.
  2 2011-03-04 00:07:14 <d-snp> luke-jr: ?
  3 2011-03-04 00:07:54 <d-snp> I mean part of the hash of the current block, they are part of the hash for the next one right?
  4 2011-03-04 00:10:11 <luke-jr> the current block's hash is dependent on all the tx included in it
  5 2011-03-04 00:10:51 <luke-jr> I suggest someone who uses GitHub submit a pull request for git://gitorious.org/bitcoin/bitcoin.git myFreeTx
  6 2011-03-04 00:15:29 <jrabbit> phantomcircuit: lol thats horrible
  7 2011-03-04 00:16:03 <jrabbit> phantomcircuit: put that ugly shit in a list comp
  8 2011-03-04 00:16:06 <phantomcircuit> jrabbit, there's a very subtle infinite loop in bitcoin.net.message.reader.buffered_read
  9 2011-03-04 00:16:09 <phantomcircuit> can you find it?
 10 2011-03-04 00:16:40 <jrabbit> uh lemme pull up your shit
 11 2011-03-04 00:16:42 <phantomcircuit> jrabbit, well obviously that codes temporary, connecting to any and all peers is generally a bad idea
 12 2011-03-04 00:17:43 <jrabbit> oh.
 13 2011-03-04 00:17:53 <jrabbit> still its ugly as fuck
 14 2011-03-04 00:17:54 <jrabbit> lol
 15 2011-03-04 00:18:02 <jrabbit> bad usage of []'s LO
 16 2011-03-04 00:18:04 <jrabbit> *:P
 17 2011-03-04 00:19:05 <phantomcircuit> there's 0.01 BTC in it for you if you find the infinite loop xD
 18 2011-03-04 00:19:13 <jrabbit> phantomcircuit: oh jesus christ did you go insane?
 19 2011-03-04 00:19:25 <phantomcircuit> ?
 20 2011-03-04 00:19:58 <luke-jr> phantomcircuit: what did jrabbit write?
 21 2011-03-04 00:20:03 <jrabbit> phantomcircuit: you're doign weird things with splcies I need to figure out what you're doing now lol
 22 2011-03-04 00:20:07 <phantomcircuit> luke-jr, huh?
 23 2011-03-04 00:20:17 <luke-jr> oh, phantomcircuit wrote what?
 24 2011-03-04 00:20:51 <luke-jr> wtf is the topic? :p
 25 2011-03-04 00:21:01 <jrabbit> luke-jr: https://github.com/phantomcircuit/bitcoin-alt/blob/master/bitcoin/net/message.py#L13
 26 2011-03-04 00:21:14 <phantomcircuit> luke-jr, find the infinite loop
 27 2011-03-04 00:21:38 <jrabbit> wair
 28 2011-03-04 00:21:44 <luke-jr> that's easy
 29 2011-03-04 00:21:45 <luke-jr> EOF
 30 2011-03-04 00:21:49 <jrabbit> nvm negative splicing is what I thought you did
 31 2011-03-04 00:21:49 <phantomcircuit> luke-jr, xD
 32 2011-03-04 00:21:55 <luke-jr> recv returns ''
 33 2011-03-04 00:21:55 <phantomcircuit> luke-jr, shhh
 34 2011-03-04 00:22:01 <jrabbit> lolol
 35 2011-03-04 00:22:01 <phantomcircuit> ah
 36 2011-03-04 00:22:02 <luke-jr> phantomcircuit: you told me to
 37 2011-03-04 00:22:16 <luke-jr> wait, you really didn't know the answer?
 38 2011-03-04 00:22:17 <phantomcircuit> luke-jr, returning empty data isn't very pythonic
 39 2011-03-04 00:22:32 <phantomcircuit> i figured it out right before i asked
 40 2011-03-04 00:22:43 <luke-jr> phantomcircuit: the socket module isn't native Python
 41 2011-03-04 00:22:50 <jrabbit> lol
 42 2011-03-04 00:22:50 <phantomcircuit> i figured it would raise an exception or at least return False
 43 2011-03-04 00:22:56 <luke-jr> it's "access to the BSD socket interface"
 44 2011-03-04 00:22:59 <luke-jr> "Low-level"
 45 2011-03-04 00:23:10 <jrabbit> phantomcircuit: lol
 46 2011-03-04 00:23:21 <jrabbit> so thats where the voodoo was.
 47 2011-03-04 00:23:30 <luke-jr> phantomcircuit: what is this code part of?
 48 2011-03-04 00:23:37 <phantomcircuit> also nowhere in the docs does it say anything about returning b'' when the remote end hangs up
 49 2011-03-04 00:23:45 <luke-jr> phantomcircuit: that's part of BSD sockets
 50 2011-03-04 00:23:50 <jrabbit> I fucking hate reverse index splicing with a trailing :
 51 2011-03-04 00:24:10 <luke-jr> phantomcircuit: what is this code?
 52 2011-03-04 00:24:13 <jrabbit> phantomcircuit: ...
 53 2011-03-04 00:24:20 <jrabbit> phantomcircuit: you're appending to b''
 54 2011-03-04 00:24:26 <jrabbit> self.buffer = b''
 55 2011-03-04 00:24:31 <jrabbit> self.buffer += self.socket.recv(4096)
 56 2011-03-04 00:24:37 <jrabbit> when there is no data
 57 2011-03-04 00:24:42 <jrabbit> it is b''
 58 2011-03-04 00:24:47 <phantomcircuit> luke-jr, an alternative bitcoin client
 59 2011-03-04 00:24:52 <luke-jr> phantomcircuit: called?
 60 2011-03-04 00:24:53 <jrabbit> because you assigned it previously
 61 2011-03-04 00:24:57 <luke-jr> phantomcircuit: what kind of "client"?
 62 2011-03-04 00:25:00 <phantomcircuit> luke-jr, currently called bitcoin-alt
 63 2011-03-04 00:25:08 <luke-jr> phantomcircuit: is it a Peer/Node, a Wallet, a UI?
 64 2011-03-04 00:25:09 <jrabbit> luke-jr: its python
 65 2011-03-04 00:25:18 <phantomcircuit> luke-jr, it'll be all of those in due time
 66 2011-03-04 00:25:23 <luke-jr> phantomcircuit: ugly.
 67 2011-03-04 00:25:31 <luke-jr> that's what we're trying to move away from
 68 2011-03-04 00:25:40 <jrabbit> lol
 69 2011-03-04 00:26:01 <phantomcircuit> luke-jr, each piece will be separated and easily pushed to an individual app
 70 2011-03-04 00:26:02 <jrabbit> slick and gui mgiht be pushing my skills so far though XD
 71 2011-03-04 00:26:03 <luke-jr> jrabbit: we already have one
 72 2011-03-04 00:26:08 <luke-jr> well, PySide, not PyQt
 73 2011-03-04 00:26:20 <jrabbit> luke-jr: er yeah that ione I don't use pyqt
 74 2011-03-04 00:26:25 <phantomcircuit> as it stands the p2p protocol is isolated
 75 2011-03-04 00:26:26 <jrabbit> luke-jr: we do?
 76 2011-03-04 00:26:29 <luke-jr> jrabbit: Spesmilo
 77 2011-03-04 00:26:29 <phantomcircuit> and that's all i have so far
 78 2011-03-04 00:26:30 <phantomcircuit> xD
 79 2011-03-04 00:26:39 <luke-jr> phantomcircuit: ok, I add it under Peer/Node then
 80 2011-03-04 00:26:42 <luke-jr> https://en.bitcoin.it/wiki/Infrastructure#Implementations
 81 2011-03-04 00:26:56 <luke-jr> jrabbit: http://gitorious.org/bitcoin/spesmilo
 82 2011-03-04 00:27:16 <luke-jr> jrabbit: genjix & I are the main devs right now I think
 83 2011-03-04 00:27:21 <jrabbit> ah
 84 2011-03-04 00:27:27 <luke-jr> jrabbit: I mainly did the settings dialog and tonal support
 85 2011-03-04 00:27:31 <jrabbit> why does gitlorious make my eyes burn
 86 2011-03-04 00:27:38 <luke-jr> dunno
 87 2011-03-04 00:27:46 <jrabbit> oh I haven't reisntaleld flux
 88 2011-03-04 00:30:32 <jrabbit> phantomcircuit: that whole append nonsense is bad
 89 2011-03-04 00:30:47 <jrabbit> or can be if you're not prepared for a blank container
 90 2011-03-04 00:32:49 <phantomcircuit> jrabbit, the append thing is actually very slow
 91 2011-03-04 00:33:11 <jrabbit> use twisted?
 92 2011-03-04 00:33:12 <luke-jr> phantomcircuit: https://en.bitcoin.it/wiki/Infrastructure#Implementations
 93 2011-03-04 00:33:29 <phantomcircuit> jrabbit, lol right like that's gonna make it faster
 94 2011-03-04 00:33:37 <jrabbit> phantomcircuit: it could
 95 2011-03-04 00:33:45 <phantomcircuit> jrabbit, pretty unlikely
 96 2011-03-04 00:34:12 <phantomcircuit> the thing that's most likely to make it faster is a truly threaded python runtime
 97 2011-03-04 00:34:25 <jrabbit> phantomcircuit: ASYNCRONOUS WEBSCALE WORDS WORDS WORDS
 98 2011-03-04 00:34:33 <farzong> ahoy
 99 2011-03-04 00:34:37 <phantomcircuit> asynchronous is actually slower
100 2011-03-04 00:34:42 <jrabbit> lol :)
101 2011-03-04 00:34:44 <farzong> :-P
102 2011-03-04 00:34:45 <phantomcircuit> why people cant understand this i will never know
103 2011-03-04 00:34:53 <phantomcircuit> more systems calls != better
104 2011-03-04 00:35:17 <jrabbit> async is pretty good for dealign with humans
105 2011-03-04 00:36:40 <phantomcircuit> jrabbit, async requires that you keep state explicitly
106 2011-03-04 00:36:48 <phantomcircuit> 99% of the time that guarantees it's slower
107 2011-03-04 00:37:11 <jrabbit> phantomcircuit: it made working with google's translate API so easy and fast
108 2011-03-04 00:37:21 <jrabbit> that said it worked so well it got blocked by google
109 2011-03-04 00:37:22 <jrabbit> :D
110 2011-03-04 00:37:27 <phantomcircuit> rofl
111 2011-03-04 00:37:33 <jrabbit> https://github.com/jrabbit/trbot
112 2011-03-04 00:37:40 <phantomcircuit> https://en.bitcoin.it/wiki/QBitcoin
113 2011-03-04 00:37:46 <phantomcircuit> does anybody know if that got anywhere?
114 2011-03-04 00:38:48 <jrabbit> c++.... probably not
115 2011-03-04 00:38:49 <jrabbit> :P
116 2011-03-04 00:38:49 <luke-jr> MT`AwAy keeps it under lock
117 2011-03-04 00:38:55 <luke-jr> jrabbit: not C++
118 2011-03-04 00:39:11 <jrabbit> it says c++
119 2011-03-04 00:39:37 <luke-jr> unfortunately, the page is locked so I can't fix it
120 2011-03-04 00:40:50 <jrabbit> its moire like my fucking 5 irc library I've used
121 2011-03-04 00:40:53 <jrabbit> goddamn irc and python go together like...
122 2011-03-04 00:41:13 <jrabbit> your aunt edna and a thermite detonation
123 2011-03-04 00:42:04 <farzong> need some free bitcoins
124 2011-03-04 00:42:15 <jrabbit> isnt the faucet running?
125 2011-03-04 00:42:28 <phantomcircuit> more like the drip
126 2011-03-04 00:42:30 <phantomcircuit> GETIT
127 2011-03-04 00:42:32 <farzong> bitcoin is awesome
128 2011-03-04 00:42:39 <farzong> bitwich
129 2011-03-04 00:43:53 <farzong> a pint of bit
130 2011-03-04 00:55:20 <farzong> Hey, hey, daloy politsey!
131 2011-03-04 01:14:21 <mizerydearia> would anyone like to try a game of uno?  #witcoin-games
132 2011-03-04 01:29:12 <bk128-Droid> slush: stupid question.  Does a new round start each time the pool finds a block?
133 2011-03-04 01:31:21 <mmarker> Hmm.
134 2011-03-04 01:31:30 <mmarker> Can't download blocks on my client.
135 2011-03-04 01:31:32 <mmarker> weird
136 2011-03-04 01:31:55 <bk128-Droid> How long has it been waiting?
137 2011-03-04 01:33:06 <farzong> shit my terminal froze up and i had to reboot
138 2011-03-04 01:35:59 <farzong> guadaffi
139 2011-03-04 01:43:55 <farzong> cornstone
140 2011-03-04 01:55:08 <mmarker> hmm. losing connections it seems...grr
141 2011-03-04 01:58:42 <mmarker> What port does bitcoin transport on?
142 2011-03-04 01:58:55 <Diablo-D3> 8333
143 2011-03-04 02:00:27 <mmarker> Thanks.
144 2011-03-04 02:00:40 <mmarker> Opening the port seems to may have helped a little
145 2011-03-04 02:09:23 <Diablo-D3> yeah, you have to do it
146 2011-03-04 02:18:03 <Keefe> i see someone is selling a Radeon 5770 on biddingpond :)
147 2011-03-04 02:18:28 <Keefe> if it sells for a good price, i'll probably list mine there also
148 2011-03-04 02:34:10 <gribble> Error: "gc,blocks" is not a valid command.
149 2011-03-04 02:34:10 <mmarker> ;;gc,blocks
150 2011-03-04 02:34:15 <mmarker> ;;bc,blocks
151 2011-03-04 02:34:17 <gribble> 111650
152 2011-03-04 02:34:28 <farzong> hellloooo
153 2011-03-04 02:34:50 <[Tycho]> Hello
154 2011-03-04 02:38:10 <doublec> Khronos announced the formation of a WebCL working group to allow OpenCL in the browser. Interesting.
155 2011-03-04 02:53:08 <luke-jr> so anyhow
156 2011-03-04 02:53:28 <luke-jr> I just built what I believe to be the first IPv6-enabled bitcoin wallet&
157 2011-03-04 03:25:29 <afed> ;;bc,diff
158 2011-03-04 03:25:30 <gribble> 55590.23763914
159 2011-03-04 03:25:33 <afed> ;;bc,stats
160 2011-03-04 03:25:36 <gribble> Current Blocks: 111657 | Current Difficulty: 55590.23763914 | Next Difficulty At Block: 112895 | Next Difficulty In: 1238 blocks | Next Difficulty In About: 1 week, 0 days, 14 hours, 15 minutes, and 40 seconds | Next Difficulty Estimate: 63023.15196337
161 2011-03-04 03:25:48 <dazoe> why can't i tell who sent me bitcoin?
162 2011-03-04 03:26:08 <afed> well it's not because you're an idiot, it's because that's how bitcoin is designed
163 2011-03-04 03:26:39 <dazoe> thanks... jerk
164 2011-03-04 03:27:03 <afed> you can see the address the bitcoins came from
165 2011-03-04 03:27:51 <afed> what else would you like to know?
166 2011-03-04 03:27:59 <dazoe> how are you supposed to use this in something like a webshop
167 2011-03-04 03:28:58 <afed> good question
168 2011-03-04 03:30:37 <doublec> dazoe: for a webshop you provide a bitcoin address generated specifically for the transaction
169 2011-03-04 03:30:50 <doublec> dazoe: you detect when the customer has sent coins to this address
170 2011-03-04 03:31:10 <doublec> dazoe: you can then ship the goods or otherwise process the order when they've sent enough coins to the address to pay for it
171 2011-03-04 03:31:15 <dazoe> that's what i was thinking, but wasnt sure if there was a better way
172 2011-03-04 03:32:14 <doublec> dazoe: you can do all this easily using the json-rpc that bitcoind provides
173 2011-03-04 03:32:36 <dazoe> yeah i'm teaching my self the api now
174 2011-03-04 03:32:51 <doublec> the hardest part is detecting when a payment has been made
175 2011-03-04 03:33:07 <doublec> you can poll to see if payment has been received
176 2011-03-04 03:33:29 <doublec> or use a patch to bitcoin that notifies you when payment is received (a bit harder as you have to patch and build bitcoind)
177 2011-03-04 03:33:45 <farzong> syo'
178 2011-03-04 03:40:36 <luke-jr> sigh
179 2011-03-04 03:40:49 <luke-jr> yet another basically-unfixable bug in Spesmilo, thanks to JSON-RPC
180 2011-03-04 03:42:08 <phantomcircuit> god damn it
181 2011-03-04 03:42:35 <luke-jr> no
182 2011-03-04 03:43:03 <phantomcircuit> no god damn it my screen keeps flickering
183 2011-03-04 03:43:26 <phantomcircuit> i think the intel integrated graphics are being overloaded by hw accelerated video decoding
184 2011-03-04 03:43:51 <luke-jr> old Intel IGP or new Intel IGP?
185 2011-03-04 03:44:30 <phantomcircuit> new
186 2011-03-04 03:44:39 <phantomcircuit> 00:02.0 VGA compatible controller: Intel Corporation Clarkdale Integrated Graphics Controller (rev 18)
187 2011-03-04 03:44:47 <luke-jr> that sounds old
188 2011-03-04 03:45:11 <luke-jr> 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
189 2011-03-04 03:45:11 <phantomcircuit> er
190 2011-03-04 03:45:14 <luke-jr> that's the new ones
191 2011-03-04 03:45:23 <phantomcircuit> it's an i3
192 2011-03-04 03:45:31 <phantomcircuit> so i guess old?
193 2011-03-04 03:45:40 <luke-jr> 1st Gen i3
194 2011-03-04 03:45:45 <phantomcircuit> omg if this continues im going to hurl
195 2011-03-04 03:46:29 <luke-jr> phantomcircuit: 2nd Gen blew all the older stuff away
196 2011-03-04 03:46:39 <luke-jr> my Intel is better than my old Radeon :p
197 2011-03-04 03:48:48 <phantomcircuit_> lulz
198 2011-03-04 03:49:06 <phantomcircuit_> tried to rebuild kernel with changed option
199 2011-03-04 03:49:09 <phantomcircuit_> make -j
200 2011-03-04 03:49:13 <phantomcircuit_> INFINITY MEMORIES
201 2011-03-04 03:52:22 <bk128> is the price of 6970's going to go down when teh 6990s come out?
202 2011-03-04 03:52:35 <bk128> the*
203 2011-03-04 03:54:47 <dazoe> is there a way to make the rpcserver listen only on 127.0.0.1?
204 2011-03-04 03:55:09 <dazoe> it seems like this would be a must have option
205 2011-03-04 03:56:28 <dazoe> oh... it does
206 2011-03-04 03:56:36 <dazoe> by default..
207 2011-03-04 03:57:21 <phantomcircuit> well this is lame
208 2011-03-04 03:57:45 <dazoe> sorry, i'l try harder next time
209 2011-03-04 03:58:15 <phantomcircuit> wat
210 2011-03-04 03:58:49 <dazoe> wait, wha? i have no idea what's going on.
211 2011-03-04 03:59:11 <nanotube> i think he wasn't talking to you dazoe :)
212 2011-03-04 03:59:27 <dazoe> i know
213 2011-03-04 03:59:38 <nanotube> ah k
214 2011-03-04 03:59:50 <dazoe> just tring to be less lame
215 2011-03-04 04:42:49 <MT`AwAy> still in plane I guess
216 2011-03-04 05:56:02 <mmagic> is there a reason why mtgox.com is still round-robining with the old wrong address? www.mtgox.com.          47955   IN      A       74.52.143.58/www.mtgox.com.          47955   IN      A       174.121.74.59
217 2011-03-04 05:59:42 <phantomcircuit> mmagic, it's not
218 2011-03-04 05:59:53 <phantomcircuit> your isp is fucking with you
219 2011-03-04 06:00:06 <mmagic> that's not my isp, I'm querying theplanet directly
220 2011-03-04 06:00:58 <mmagic> you can do it to. here's the magic formula: dig @ns1.theplanet.com mtgox.com
221 2011-03-04 06:02:05 <niekie> niek@oneironaut:~$ dig @ns1.theplanet.com mtgox.com
222 2011-03-04 06:02:06 <gribble> Error: "ANSWER" is not a valid command.
223 2011-03-04 06:02:06 <niekie> ;; Query time: 306 msec
224 2011-03-04 06:02:07 <gribble> Error: "Query" is not a valid command.
225 2011-03-04 06:04:21 <doublec> I get 74.52.143.58 and 174.121.74.59 with dig
226 2011-03-04 06:04:29 <phantomcircuit> mmagic, mtgox.com.
227 2011-03-04 06:04:31 <mmagic> there's either a bind view, a transparent proxy, or a rewriter intercepting queries.
228 2011-03-04 06:04:36 <phantomcircuit> i only get 172
229 2011-03-04 06:04:48 <phantomcircuit> 174
230 2011-03-04 06:05:04 <phantomcircuit> your isp is fucking with you
231 2011-03-04 06:05:05 <mmagic> theplanet might be caching.
232 2011-03-04 06:05:22 <phantomcircuit> i dont think so
233 2011-03-04 06:05:32 <phantomcircuit> i think your isp is transparently modifying dns requests
234 2011-03-04 06:05:58 <doublec> mine too apparently
235 2011-03-04 06:06:00 <mmagic> you think wrongly then.
236 2011-03-04 06:06:10 <validus> it could just be something added on the nameserver
237 2011-03-04 06:06:13 <validus> its a very simple fix
238 2011-03-04 06:06:16 <validus> and im sure it will be
239 2011-03-04 06:06:24 <mmagic> theplanet needs to get their act together.
240 2011-03-04 06:06:27 <phantomcircuit> then why am i just getting the one A record?
241 2011-03-04 06:06:40 <mmagic> phantomcircuit: any one of the explanations i just described would do it.
242 2011-03-04 06:06:42 <validus> it should take the a record and only goto the others when fails
243 2011-03-04 06:06:49 <validus> but i could be wrong
244 2011-03-04 06:07:19 <mmagic> if there are two A records in an authority record, most nameservers will round-robin it.
245 2011-03-04 06:07:58 <validus> it is round robbin'n it, it seems
246 2011-03-04 06:08:04 <validus> i did nslookup twice and got .58 first then .59 2nd
247 2011-03-04 06:09:02 <niekie> I just fired quite a lot of queries at ns1.theplanet.com, got .59 every time.
248 2011-03-04 06:09:36 <validus> outa the last 10 times i did nslookup. .58 showed up the 9th time
249 2011-03-04 06:09:56 <validus> so its probably cycling the 2 on some sort of system. im sure itll get fixed
250 2011-03-04 06:10:25 <mmagic> shaw (my isp) doesn't intercept nameserver traffic. if they did i would know it by now. besides, I just tried it from bigpipe, shaw, rogers, case western reserve, and finland and the only place i'm getting a real record back is from a peer1 server, and an m5hosting server.
251 2011-03-04 06:10:46 <validus> i just opened up a prompt and did nslookup
252 2011-03-04 06:10:48 <mmagic> theplanet is fucking with people.
253 2011-03-04 06:11:49 <mmagic> let's try a texas machine...
254 2011-03-04 06:12:26 <mmagic> that works too.
255 2011-03-04 06:12:38 <u2time> it looks more like the person typing settings into ns1 messed up and has two different IP's.  The planet is just giving out both answers to peopel
256 2011-03-04 06:12:49 <validus> well judging that it only did it once outa 10 times. that coudl just be lucking out on which ip its going to
257 2011-03-04 06:13:20 <u2time> dig@ or nslookup you see ns1.theplanet is setup wrong
258 2011-03-04 06:13:25 <mmagic> u2time: it looks like it's a reverse-caching ns, i'm not getting the incorrect @ns1 answer from everywhere.
259 2011-03-04 06:14:26 <mmagic> looks like University of British Columbia name servers (in Vancouver, Canada) are also returning the wrong answer.
260 2011-03-04 06:14:36 <u2time> your connecting directly to 207.218.247.135 for the dns right?
261 2011-03-04 06:14:42 <mmagic> that's what tcpdump says
262 2011-03-04 06:15:27 <mmagic> looking up *through* UBC machines from texas also gives the wrong answer
263 2011-03-04 06:15:30 <u2time> oh.. yeah, somebody inbetween me is messing with dns (comcast?)
264 2011-03-04 06:15:32 <phantomcircuit> oh you're right
265 2011-03-04 06:15:38 <phantomcircuit> it is round robining
266 2011-03-04 06:15:46 <phantomcircuit> it's more reliable if you force a tcp connection
267 2011-03-04 06:15:56 <validus> ya its cycling them
268 2011-03-04 06:16:04 <u2time> from servers with other isp I get different dns answers
269 2011-03-04 06:16:18 <validus> do it numerious times and eventually you'll get the other answer
270 2011-03-04 06:16:26 <validus> well judging by outa 10 i got different once
271 2011-03-04 06:16:41 <niekie> Ah, yeah, I managed to get the other record once.
272 2011-03-04 06:16:49 <niekie> ;; ANSWER SECTION:
273 2011-03-04 06:16:50 <gribble> Error: "ANSWER" is not a valid command.
274 2011-03-04 06:17:11 <mmagic> ah..   dig +tcp @ns1.theplanet.com mtgox.com returns wrongly from time to time.
275 2011-03-04 06:17:27 <mmagic> very interesting.
276 2011-03-04 06:17:45 <validus> his ip could have changed before and they left the old one in there
277 2011-03-04 06:17:52 <u2time> think I got it, theplanet uses a load balancer. one of their dns servers behind the load balancer is not uptodate
278 2011-03-04 06:18:02 <mmagic> or it's just a stuck reverse-caching
279 2011-03-04 06:18:14 <mmagic> u2time: how did you learn that?
280 2011-03-04 06:18:20 <u2time> I am guessing
281 2011-03-04 06:18:38 <mmagic> k
282 2011-03-04 06:18:49 <mmagic> BAH!
283 2011-03-04 06:18:52 <mmagic> into /etc/hosts it goes..
284 2011-03-04 06:19:14 <mmagic> axfr should be allowed more. :(
285 2011-03-04 06:21:09 <dazoe> can i take the database of blocks from one computer and use it on a totaly different computer, ie zip up my database dir and db.* and block.dat files and giving them to a friend so they can start faster with out th init download of all blocks?
286 2011-03-04 06:21:47 <sipa> yes
287 2011-03-04 06:22:01 <niekie> Just make sure you don't give them your wallet.dat :)
288 2011-03-04 06:22:05 <dazoe> do i need the database dir cause all it has in it is a log file
289 2011-03-04 06:22:12 <sipa> no
290 2011-03-04 06:22:31 <sipa> just the blocks and the index
291 2011-03-04 06:23:17 <dazoe> so just db.* and blk*.dat or just blk*.dat?
292 2011-03-04 06:23:41 <sipa> blk0001.dat and blkindex.dat
293 2011-03-04 06:24:32 <dazoe> wow, compresses better then i thought it would
294 2011-03-04 06:26:24 <dazoe> 149MB -> 72.8MB
295 2011-03-04 06:26:36 <dazoe> using 7z ultra mode
296 2011-03-04 06:29:31 <validus> text compresses well
297 2011-03-04 06:29:37 <validus> i turned 98 meg txt file into 10 meg with winrar
298 2011-03-04 06:30:35 <Keefe> isn't there a problem moving the blk*.dat files between different versions of bitcoin?
299 2011-03-04 06:31:06 <Blitzboom> can someone tell me whats stored in blkindex?
300 2011-03-04 06:31:20 <Keefe> i suppose that would only be if the db version changed. anyone know which bitcoin versions changed the db?
301 2011-03-04 06:31:21 <Blitzboom> and addr.dat
302 2011-03-04 06:31:41 <Keefe> i don't know Blitzboom
303 2011-03-04 06:32:08 <Blitzboom> maybe the transactions are in addr.dat
304 2011-03-04 06:32:30 <sipa> blk0001 and blkindex are just the block chain
305 2011-03-04 06:32:31 <dazoe> i think addr.dat only holds peers the client has connected to
306 2011-03-04 06:32:58 <sipa> transactions to/from yourself are in wallet.dat i believe
307 2011-03-04 06:32:59 <Blitzboom> ok, but why two files?
308 2011-03-04 06:33:12 <sipa> one is a concatenation of the the blocks in the block chain
309 2011-03-04 06:33:17 <sipa> the other is an index for it
310 2011-03-04 06:33:27 <Blitzboom> ok
311 2011-03-04 06:34:00 <sipa> blk00001.dat is not a db file
312 2011-03-04 06:34:17 <Blitzboom> i think it should be a bit more transparent to the user
313 2011-03-04 06:34:22 <sipa> yes
314 2011-03-04 06:34:40 <Blitzboom> e.g. if i want to have a look at all my private keys
315 2011-03-04 06:34:52 <jgarzik> addr.dat holds network addresses, for finding peers in the P2P network
316 2011-03-04 06:35:09 <sipa> i wrote a patch that can show your private keys
317 2011-03-04 06:35:24 <Blitzboom> cool, link?
318 2011-03-04 06:36:21 <mmagic> someone should make sell orders that spell out words in the depth-of-market @ mtgox. i would but i don't have enough bitcoins.
319 2011-03-04 06:36:41 <mmagic> "hey"
320 2011-03-04 06:37:25 <sipa> but actually, i think wallet.dat should be split into 1) a directory of human-readable files with the private keys themselves in 2) a db file with transactions from/to any local wallet (the thing that's currently generated through a -rescan)
321 2011-03-04 06:37:31 <dazoe> https://mtgox.com/ forbidden?
322 2011-03-04 06:38:10 <Blitzboom> so that youre able to delete/add private keys, sipa?
323 2011-03-04 06:38:43 <Aciid> mtgox has gone underground with the money
324 2011-03-04 06:38:47 <Aciid> rah rah rah
325 2011-03-04 06:38:52 <dazoe> sipa: it'd be nice to be able to remove addresses the have 0 balance also.
326 2011-03-04 06:38:59 <sipa> http://www.bitcoin.org/smf/index.php?topic=3906.0
327 2011-03-04 06:39:01 <bitbot> [PATCH] dumpprivkey and importprivkey RPC commands
328 2011-03-04 06:39:20 <sipa> dazoe: that is dangerous, unless you are sure you've never given out that address to anyone
329 2011-03-04 06:39:38 <dazoe> ah, good point
330 2011-03-04 06:39:48 <sipa> so indeed the file mark each key as "revealed" or "unrevealed"
331 2011-03-04 06:40:09 <Blitzboom> i see
332 2011-03-04 06:40:23 <Blitzboom> yeah, i guess you should collect all keys youve used
333 2011-03-04 06:40:23 <sipa> oh, and each "wallet file" should correspond to a single account
334 2011-03-04 06:40:38 <sipa> so you can just move those around between systems without harm
335 2011-03-04 06:41:26 <mmagic> hrm.. i'm not so sure that's a good idea.
336 2011-03-04 06:42:29 <dazoe> my bitcoin server isn't connecting to the network. :(
337 2011-03-04 06:42:35 <sipa> mmagic: why not?
338 2011-03-04 06:42:44 <dazoe> not sure yet
339 2011-03-04 06:43:24 <Aciid> how do I calculate Mhash/W
340 2011-03-04 06:43:25 <Aciid> for the wiki
341 2011-03-04 06:43:57 <sipa> Mhash/s/W, i suppose?
342 2011-03-04 06:44:13 <mmagic> moving database files around while the application is still running is tough. you'd need the cooperation of the application to gracefully extract/partition/whatever the data.
343 2011-03-04 06:44:39 <dazoe> whoo! finaly got a connection...
344 2011-03-04 06:45:04 <sipa> mmagic: of course, i don't mean you should be able to do this while the program is running
345 2011-03-04 06:45:31 <sipa> but now it's all a black box
346 2011-03-04 06:46:54 <mmagic> sipa: i think application-assisted wallet manipulation is 100% an excellent idea.
347 2011-03-04 06:47:15 <Aciid> https://en.bitcoin.it/w/index.php?title=Mining_hardware_comparison&diff=4864&oldid=4863
348 2011-03-04 06:47:18 <Aciid> correct?
349 2011-03-04 06:50:03 <sipa> looks right to me
350 2011-03-04 06:50:13 <Aciid> great =)
351 2011-03-04 06:50:24 <sipa> except the table header, that would need to be Mhash/J or Mhash/s/W :)
352 2011-03-04 06:50:40 <sipa> </nitpick>
353 2011-03-04 06:50:54 <Aciid> CPU mining is expensive :\n300113
354 2011-03-04 06:51:59 <validus> should i be?
355 2011-03-04 06:52:12 <sipa> validus: you should at least try
356 2011-03-04 06:52:37 <validus> i udpated a driver for ati in windows update (dont ask me why) and i lost about 500 khash
357 2011-03-04 06:52:51 <sipa> mmagic: currently i think all used keypairs are loaded into memory anyway - unless that's changed there's no problem with having those keys stored in human readable files and just load them all once on startup, right?
358 2011-03-04 06:53:00 <validus> i wonder if it updated the sdk
359 2011-03-04 06:53:52 <sipa> mmagic: and have a rescan rpc call that rescans the wallet directory for new/deleted keys/accounts
360 2011-03-04 06:54:03 <validus> would -w 32 affect speed at all?
361 2011-03-04 06:54:07 <validus> im seeing it pretty constant
362 2011-03-04 06:54:08 <sipa> it may
363 2011-03-04 06:54:16 <validus> still the same 7.1
364 2011-03-04 06:54:18 <sipa> it depends on a lot of factors
365 2011-03-04 06:54:26 <validus> but im using the poclbm gui
366 2011-03-04 06:54:34 <dazoe> how many connections to peers should i be getting?
367 2011-03-04 06:54:40 <sipa> 8
368 2011-03-04 06:54:45 <validus> i need to find out if it updated the sdk thats the only reason i know that it would drop 500 khash/s
369 2011-03-04 06:54:57 <sipa> i won't
370 2011-03-04 06:55:05 <sipa> but the driver is also important
371 2011-03-04 06:55:17 <sipa> the driver itself is what does the communication with your card
372 2011-03-04 06:55:22 <validus> ya i know
373 2011-03-04 06:55:27 <mmagic> sipa: i think it's just a question of on-disk transaction commit..?
374 2011-03-04 06:55:31 <validus> i was gettin 7500 7600. now im gettin 7100
375 2011-03-04 06:55:37 <validus> after an update on it
376 2011-03-04 06:55:49 <dazoe> really!? 8  my desktop gets 10-30
377 2011-03-04 06:56:11 <sipa> dazoe: if you have an open port 8333 that's normal
378 2011-03-04 06:56:23 <sipa> 8 is just the number of outgoing connections the client tries to make
379 2011-03-04 06:56:33 <sipa> but you may get incoming ones as well
380 2011-03-04 06:56:45 <dazoe> ah, any was to change that?
381 2011-03-04 06:56:52 <dazoe> besides patching
382 2011-03-04 06:56:55 <sipa> mmagic: yeah, of course, sometimes new keys are generated and need to be added to the wallet files
383 2011-03-04 06:57:27 <sipa> and if that's not done in a nice transactional way, you may end up having partial copies of the file
384 2011-03-04 06:58:05 <doublec> dazoe: there's a -nolisten argument if you don't want that
385 2011-03-04 06:59:40 <dazoe> doublec: i want more connections...
386 2011-03-04 06:59:47 <dazoe> not less.
387 2011-03-04 07:00:04 <JFK911> ;;bc,calc 400000
388 2011-03-04 07:00:09 <gribble> The average time to generate a block at 400000 Khps, given current difficulty of 55590.23763914 , is 6 days, 21 hours, 48 minutes, and 15 seconds
389 2011-03-04 07:00:17 <JFK911> ;;bc,stats
390 2011-03-04 07:00:20 <gribble> Current Blocks: 111694 | Current Difficulty: 55590.23763914 | Next Difficulty At Block: 112895 | Next Difficulty In: 1201 blocks | Next Difficulty In About: 1 week, 0 days, 6 hours, 8 minutes, and 42 seconds | Next Difficulty Estimate: 64024.65281297
391 2011-03-04 07:03:50 <dazoe> does the debug.log get truncated automatically?
392 2011-03-04 07:05:44 <mmagic> when you restart the daemon it can be truncated.
393 2011-03-04 07:05:57 <mmagic> otherwise, on my machines, it grows indefinitely.
394 2011-03-04 07:07:10 <dazoe> hmm, seems like just a rapidly growing log file there'd be a soft reload so you could use something like logrotate without having to rebootstrap the connection
395 2011-03-04 07:07:36 <dazoe> seems like *with* a....
396 2011-03-04 07:26:24 <dazoe> my hosting company was bought out last month, so i assume they are working on moving everything, and it's a pain in the *** tring to work on a server that is constantly dropping
397 2011-03-04 07:28:45 <dazoe> screen -r
398 2011-03-04 07:28:49 <dazoe> oops....
399 2011-03-04 07:44:49 <Aciid> [Tycho]: are deepbit's payouts cron'd?
400 2011-03-04 07:44:53 <Syke> byobu > screen
401 2011-03-04 07:45:06 <dazoe> Aciid: sure doesn't seem like it
402 2011-03-04 07:45:30 <Aciid> I'm 0.1138513 over my payout auto-pay...
403 2011-03-04 07:45:39 <dazoe> also is the stats page not updating?
404 2011-03-04 07:46:02 <Aciid> have to think where im mining after my 6870's are hooked
405 2011-03-04 07:46:07 <Aciid> right now it doesn't quite matter
406 2011-03-04 07:46:24 <Aciid> since i'm doing aprox 30MH
407 2011-03-04 07:47:11 <dazoe> wow, i'm just running with 4way and cuda on an old card... getting 10/7
408 2011-03-04 07:47:30 <dazoe> MH is the hashes per hour?
409 2011-03-04 07:47:55 <Blitzboom> megahash/s
410 2011-03-04 07:48:33 <dazoe> k, that's what i thought it was.. but noticed the s was missing
411 2011-03-04 07:49:53 <validus> if just doing pooled mining. i dont need to do bitcoin -server do i
412 2011-03-04 07:50:30 <sipa> you don't need bitcoin(d) at all
413 2011-03-04 07:50:39 <dazoe> validus:no the pool you are connecting to is the server... unless you have a rpc client using your bitcoin
414 2011-03-04 07:50:42 <validus> well to recieve bitcoins i would
415 2011-03-04 07:50:56 <sipa> not necessarily, you could use a mybitcoin address
416 2011-03-04 07:50:56 <validus> i just run a gpu miner to a pool
417 2011-03-04 07:51:13 <validus> my actual bitcoin client does nothing cept recieve and send
418 2011-03-04 07:51:19 <sipa> but if you like to keep control of your own funds, yes
419 2011-03-04 07:52:23 <validus> thats what i was t hinking and was going wait. why do i have -server on for
420 2011-03-04 07:52:27 <validus> just double checking really
421 2011-03-04 07:52:44 <validus> the update took off my oc' values, thats why the drop in speed
422 2011-03-04 07:52:50 <validus> back to 7.6 mhash
423 2011-03-04 07:52:54 <validus> not alot but what do ya do
424 2011-03-04 07:55:34 <xelister> where is now the MegaChart?
425 2011-03-04 09:02:00 <da2ce7> ;;bc,stats
426 2011-03-04 09:03:21 <gribble> Current Blocks: 111716 | Current Difficulty: 55590.23763914 | Next Difficulty At Block: 112895 | Next Difficulty In: 1179 blocks | Next Difficulty In About: 1 week, 0 days, 1 hour, 19 minutes, and 3 seconds | Next Difficulty Estimate: 64630.66768994
427 2011-03-04 09:09:31 <xelister> where is now the MegaChart????
428 2011-03-04 09:09:33 <xelister> O_o
429 2011-03-04 10:23:38 <quadcores> ;;bc,stats
430 2011-03-04 10:23:41 <gribble> Current Blocks: 111729 | Current Difficulty: 55590.23763914 | Next Difficulty At Block: 112895 | Next Difficulty In: 1166 blocks | Next Difficulty In About: 6 days, 23 hours, 7 minutes, and 36 seconds | Next Difficulty Estimate: 64871.79047216
431 2011-03-04 11:39:43 <magnetron> what's the difference between -server and -daemon ?
432 2011-03-04 11:45:41 <molecular> H+=0x5be0cd19U; <- is that part of sha256?
433 2011-03-04 11:48:32 <sipa> yes
434 2011-03-04 11:48:59 <sipa> after each sha block, the resulting state variables are added with their values before the block transformation was applied
435 2011-03-04 11:50:33 <molecular> /G+=0x1f83d9abU; <- and why is this commented out (in m0mchill's kernel)
436 2011-03-04 11:51:13 <sipa> because the resulting value of G is not interesting
437 2011-03-04 11:51:26 <sipa> same reason the last 2 or 3 sha rounds are commented out as well
438 2011-03-04 11:51:33 <molecular> but it's comared to targetG: "if (belowOrEquals(H, targetH, G, targetG))" in the next line
439 2011-03-04 11:51:43 <molecular> that I understand
440 2011-03-04 11:51:48 <molecular> but G is used in comparison
441 2011-03-04 11:52:11 <sipa> maybe it's a bug - but the value of G is only interesting when difficulty < 1
442 2011-03-04 11:52:21 <sipa> so it doesn't matter really
443 2011-03-04 11:53:01 <molecular> so it would really be sufficient here to check H==0?
444 2011-03-04 11:53:08 <sipa> yes
445 2011-03-04 11:53:21 <sipa> but m0mchil did tests, and apparently that wasn't faster
446 2011-03-04 11:53:38 <molecular> yeah, I tested that, too. didn't change anything
447 2011-03-04 11:53:56 <molecular> G is the 2nd-lowest 32-bit value in the hash, right?
448 2011-03-04 11:54:03 <sipa> yes
449 2011-03-04 11:54:14 <molecular> so the one that currently has to be <0x00012dcd
450 2011-03-04 11:54:39 <sipa> yes
451 2011-03-04 11:55:04 <molecular> and that 0x00012dcd should be m0mchill's "targetG", right?
452 2011-03-04 11:55:20 <sipa> yes
453 2011-03-04 11:55:31 <molecular> so how can adding or not adding 0x1f83d9abU go G and then comparing to targetG not make a difference?
454 2011-03-04 11:55:38 <molecular> *to
455 2011-03-04 11:56:40 <sipa> i don't have the code in front of me, but could it be that if H==0, it already succeeds?
456 2011-03-04 11:56:48 <molecular> no
457 2011-03-04 11:57:32 <molecular> http://pastebin.com/qF9DqDGy
458 2011-03-04 11:57:40 <molecular> for a quick loock at BitcoinMiner.cl
459 2011-03-04 11:59:08 <sipa> hmm
460 2011-03-04 11:59:09 <sipa> weird
461 2011-03-04 11:59:17 <gribble> I have not seen m0mchill.
462 2011-03-04 11:59:17 <molecular> ;;seen m0mchill
463 2011-03-04 11:59:25 <sipa> i don't realy get it
464 2011-03-04 11:59:38 <molecular> me neither, does m0mchill not hang out here?
465 2011-03-04 11:59:56 <sipa> it clearly 1) comments out the 3rd last sha round (which is the last one to influence G) 2) comments out the adding of the previous state for G
466 2011-03-04 12:00:07 <sipa> but still uses G
467 2011-03-04 12:00:21 <molecular> exactly, that's what I dont get
468 2011-03-04 12:02:39 <molecular> the comparison of G is technically good (if correct), because it avoids overwriting a good solution with one that only has H==0, but G too big. But that's really unlikely to happen because of the hashmap-style output
469 2011-03-04 12:03:20 <sipa> in BitcoinMiner.py:
470 2011-03-04 12:03:21 <sipa> (target[0], target[1]) = (uint32(0xFFFF0000), 0)
471 2011-03-04 12:03:42 <sipa> so targetH is always 0, and targetG is always 0xFFFF0000
472 2011-03-04 12:04:03 <molecular> uhm, why?
473 2011-03-04 12:05:39 <sipa> i think this is a bug :)
474 2011-03-04 12:05:55 <sipa> or a workaround for the fast that artforz' miner doesn't compute G correctly
475 2011-03-04 12:05:59 <sipa> *fact
476 2011-03-04 12:06:29 <sipa> but it still throws away 1 in 65535 good shares/blocks, if i understand it correctly
477 2011-03-04 12:06:42 <mmarker> sipa: which miner?
478 2011-03-04 12:06:59 <sipa> poclbm
479 2011-03-04 12:07:10 <mmarker> Ahh
480 2011-03-04 12:07:12 <sipa> s/artforz' miner/artforz' kernel/
481 2011-03-04 12:12:29 <mmarker> Gotcha
482 2011-03-04 12:12:57 <mmarker> Noeed to look into this AMD vs Intel issue with the code I ported.
483 2011-03-04 12:16:06 <eps> anyone here used puddingpops cuda miner?, i get a cuda error when linking
484 2011-03-04 12:17:13 <eps> checked on the forums, there was one guy who got the same error but didn't say if he managed to fix it or not
485 2011-03-04 12:18:25 <eps> undefined reference to `cuInit'
486 2011-03-04 12:18:48 <eps> made all the more difficult by the fact that puddingpop used cmake which i am not familliar with
487 2011-03-04 12:24:03 <molecular> sipa, he could've just commented-in the G-relevant calculations... but maybe he wanted the speed
488 2011-03-04 12:24:26 <molecular> actually, I still think ingnoring G in the comparison doesn't do significant harm
489 2011-03-04 12:26:48 <sipa> there is a chance now that the "wrong" G is > 0xFFFF0000
490 2011-03-04 12:27:09 <sipa> in which case it is ignored, even if the right one would be < 0xFFFF0000
491 2011-03-04 12:27:19 <magnetron> imposing an error that only occurs in every 2^(-16) hash might be preferrable if it speeds up the average speed
492 2011-03-04 12:28:23 <sipa> it doesn't
493 2011-03-04 12:28:29 <bd_> magnetron: To be precise, if the speedup is at least 1/(2^-16) * (length of normal hashing operation), then it's worth it.
494 2011-03-04 12:28:43 <sipa> there is no speedup at all by doing it this way
495 2011-03-04 12:28:48 <sipa> he just has to ignore G
496 2011-03-04 12:29:01 <sipa> instead of not calculating it but still comparing it
497 2011-03-04 12:29:03 <molecular> I agree
498 2011-03-04 12:29:33 <molecular> I did that here... of course I wont be able to measure any improvement
499 2011-03-04 12:30:17 <molecular> with git, if I made some local changes I want to keep... can I still pull in a commit or at least get a diff to newest version somehow?
500 2011-03-04 12:30:37 <molecular> "git diff" gives me only local changes up to the last time I did "git pull", right?
501 2011-03-04 12:30:39 <magnetron> molecular: i think you can use "rebase" for this
502 2011-03-04 12:30:40 <mmarker> Are you pulling from a remote tree?
503 2011-03-04 12:30:49 <molecular> yeah, from github
504 2011-03-04 12:30:58 <mmarker> molecualr: did you fork the tree?
505 2011-03-04 12:31:04 <molecular> no
506 2011-03-04 12:31:14 <molecular> I simply made local changes
507 2011-03-04 12:31:38 <mmarker> Ahh, ok. What you tend to do is if you're going to make changes, you fork and then work on brnaches with your fork
508 2011-03-04 12:31:47 <molecular> ah
509 2011-03-04 12:32:04 <molecular> how do I commit to my local branch?
510 2011-03-04 12:32:19 <mmarker> well, first off, never work on master
511 2011-03-04 12:32:21 <mmarker> :D
512 2011-03-04 12:32:36 <mmarker> but if you're on a branch, to commit your local changes, it's git add/git commit
513 2011-03-04 12:32:40 <magnetron> git add <files>, git comitt
514 2011-03-04 12:32:56 <magnetron> +spelling
515 2011-03-04 12:33:14 <molecular> maybe firstly: how do I fork?
516 2011-03-04 12:33:21 <magnetron> branch
517 2011-03-04 12:33:31 <mmarker> Simple. git clone url://for.repo
518 2011-03-04 12:33:46 <mmarker> which you have done!
519 2011-03-04 12:33:59 <molecular> ah
520 2011-03-04 12:34:11 <molecular> so I can not "git commit" my changes
521 2011-03-04 12:34:15 <molecular> now
522 2011-03-04 12:34:20 <mmarker> no, you can commit them
523 2011-03-04 12:34:24 <mmarker> commits are local
524 2011-03-04 12:34:28 <mmarker> you can't push them
525 2011-03-04 12:34:32 <molecular> yeah, "I can now "git commit"
526 2011-03-04 12:35:11 <mmarker> git's a little harder to learn if you're used to something like subversion, where there is a strong client/server model
527 2011-03-04 12:35:29 <magnetron> molecular: http://www.kernel.org/pub/software/scm/git/docs/git-rebase.html
528 2011-03-04 12:35:30 <mmarker> since every git clone of a repo is also able to be cloned from as well
529 2011-03-04 12:35:45 <mmarker> An example may be good here:
530 2011-03-04 12:35:47 <molecular> do I have to use "git add" even on non-new files?
531 2011-03-04 12:35:53 <mmarker> molecular: yes
532 2011-03-04 12:36:12 <mmarker> git add is more "add changes to files" than "add new files"
533 2011-03-04 12:36:33 <mmarker> if you look at my repo: http://github.com/chromicant/cpuminer.git
534 2011-03-04 12:36:42 <mmarker> you'll see I have my sse2 branch.
535 2011-03-04 12:37:06 <mmarker> I finished my work, and I'm on the branch. jgarzik updated his miner, and I wanted to merge in my changes.
536 2011-03-04 12:37:15 <mmarker> First, I set up a remote to his repository:
537 2011-03-04 12:37:43 <mmarker> git remote add upstream http://github.com/jgarzik/cpuminer.git
538 2011-03-04 12:37:54 <mmarker> Now I have a branch named "upstream"
539 2011-03-04 12:38:26 <molecular> aha
540 2011-03-04 12:38:47 <mmarker> (you dont have to do that, since you forked directly from someone's repo. That above trick is good on a clone of a fork)
541 2011-03-04 12:39:03 <molecular> so after "git commit", which I did, I do "git remote add upstream https://github.com/m0mchil/poclbm.git"
542 2011-03-04 12:39:11 <mmarker> In your case, a "git fetch master" on your branch would be good.
543 2011-03-04 12:39:28 <molecular> "fatal: 'master' does not appear to be a git repository"
544 2011-03-04 12:39:36 <mmarker> Yea, my bad
545 2011-03-04 12:39:41 <mmarker> run a git rebase master
546 2011-03-04 12:40:25 <mmarker> things should hum and click
547 2011-03-04 12:40:31 <mmarker> and hopefully you wont get any conflicts
548 2011-03-04 12:40:32 <molecular> "Current branch master is up to date."
549 2011-03-04 12:40:40 <mmarker> try a git pull master
550 2011-03-04 12:40:45 <mmarker> then rerun the rebase
551 2011-03-04 12:40:53 <molecular> "fatal: 'master' does not appear to be a git repository"
552 2011-03-04 12:40:56 <molecular> (on "git pull master"
553 2011-03-04 12:41:04 <mmarker> ugh, I always get this wrong
554 2011-03-04 12:41:39 <molecular> I'm confused now
555 2011-03-04 12:41:55 <mmarker> molecular: on Linux?
556 2011-03-04 12:41:59 <molecular> yes
557 2011-03-04 12:42:05 <mmarker> Good, gitk is your friend :D
558 2011-03-04 12:42:15 <mmarker> But, again, sorry for the confusion.
559 2011-03-04 12:42:28 <molecular> no harm done
560 2011-03-04 12:42:33 <molecular> thanks for the help
561 2011-03-04 12:43:03 <mmarker> What I would do:
562 2011-03-04 12:43:07 <mmarker> git checkout master
563 2011-03-04 12:43:09 <mmarker> git pull
564 2011-03-04 12:43:11 <molecular> urgh, damnit, gentoo: "The git ebuild does not install the gitk tool that gets shipped with git. But
565 2011-03-04 12:43:23 <mmarker> git checkout branch-you-were-working-on
566 2011-03-04 12:43:27 <mmarker> git merge master
567 2011-03-04 12:45:23 <mmarker> actually, jgarzik wrote a great guide on this.
568 2011-03-04 12:46:01 <mmarker> linux.yyz.us/git-howto.html
569 2011-03-04 12:48:31 <mmarker> git still befuddles me from time to time
570 2011-03-04 12:48:52 <mmarker> but, god, the hacks you can do with it. I need to get the Sparkleshare thingy set up to use a private git repo
571 2011-03-04 12:49:46 <molecular> I'll have to read up on git. that svn-thinking-style is clearly not getting me anywhere ;)
572 2011-03-04 12:50:30 <molecular> also should have gitk soon, thanks for your help mmarker
573 2011-03-04 12:52:17 <mmarker> Yea, there's a GREAT doc out there on "used to SVN, here's how git works"
574 2011-03-04 12:52:38 <mmarker> the big one is that branches are DIRT CHEAP with git
575 2011-03-04 12:52:39 <sipa> ooh that's what i would need
576 2011-03-04 12:52:44 <mmarker> and tags are mostly useless
577 2011-03-04 12:53:14 <magnetron> tags are great for release versions
578 2011-03-04 12:53:26 <magnetron> like "0.7alpha"
579 2011-03-04 12:54:07 <mmarker> magnetron: also using it for "this point on the branch works"
580 2011-03-04 12:54:15 <mmarker> so when I break everything, I can get there
581 2011-03-04 12:54:23 <mmarker> but again, I should really branch from that point :D
582 2011-03-04 12:54:37 <magnetron> mmarker: or a branch of "only working commits on this one"
583 2011-03-04 12:54:52 <magnetron> mmarker: or a branch of "to be tested"
584 2011-03-04 12:54:56 <mmarker> well, finish porting it
585 2011-03-04 12:55:09 <mmarker> magnetron: Yea, I also need to improve my git commit behavior
586 2011-03-04 12:55:31 <mmarker> I commit every little step as I'm working on things, since I'm a moron....then I need to go back and rebase the whole thing.
587 2011-03-04 12:56:48 <molecular> yeah, I do that, too
588 2011-03-04 12:57:06 <molecular> Is that not good with git?
589 2011-03-04 12:57:26 <magnetron> well
590 2011-03-04 12:57:44 <magnetron> you often want a branch that make all commits seem huge and ingenious
591 2011-03-04 12:58:12 <magnetron> "if i just could go back in time and make it right from the start"
592 2011-03-04 12:58:21 <magnetron> well, with git, you can
593 2011-03-04 12:58:39 <magnetron> at least the stuff you haven't shared with anyone
594 2011-03-04 12:58:55 <mmarker> Yea, where I'm having fun is I want to give jgarzik a pull request, and I need to merge the million little commits
595 2011-03-04 12:59:21 <mmarker> so, going to clone, cherry-pick the diff
596 2011-03-04 12:59:27 <mmarker> clean it up
597 2011-03-04 12:59:29 <mmarker> volia
598 2011-03-04 13:00:01 <bxc_> stgit is a nice tool to use for that
599 2011-03-04 13:00:09 <molecular> how can you even see the history?
600 2011-03-04 13:00:13 <mmarker> git log
601 2011-03-04 13:00:18 <mmarker> But, gitk
602 2011-03-04 13:00:33 <mmarker> that REALLY shows you the history, since it shows all the branches
603 2011-03-04 13:01:37 <molecular> is there some graphical viewer or something like on github?
604 2011-03-04 13:02:35 <molecular> am still waiting for gentoo to emerge gitk... urgh, it's compiling gcc-4.4.4 so it'll take a while ;(
605 2011-03-04 13:03:07 <magnetron> molecular: i hope you can distcc that
606 2011-03-04 13:03:16 <mmarker> Wow
607 2011-03-04 13:03:23 <mmarker> it may be easier just to install tcl/tk
608 2011-03-04 13:03:27 <mmarker> and download the script
609 2011-03-04 13:03:36 <mmarker> Sheesh, that's a pretty hefty dependency
610 2011-03-04 13:03:46 <mmarker> since all gitk is is a tcl script!
611 2011-03-04 13:03:57 <mmarker> or was
612 2011-03-04 13:04:20 <magnetron> did you watch torvalds' git talk on google video
613 2011-03-04 13:04:41 <magnetron> he's like a walking flame war
614 2011-03-04 13:05:55 <magnetron> "SVN sucks LOLOLOL"
615 2011-03-04 13:06:32 <slush> sipa: those jumps on ghash/s graph looks really strange
616 2011-03-04 13:07:35 <slush> sipa: 100ghash drop few days ago and now the speed is back
617 2011-03-04 13:08:02 <molecular> maybe ArtForz had to do some work on his ASICs ;)
618 2011-03-04 13:08:19 <slush> sipa: you calculate hashrate from found blocks, right?
619 2011-03-04 13:08:23 <sipa> slush: yes
620 2011-03-04 13:08:39 <sipa> all Art's ASICs + GPUs together are not half of the drop we saw a few days ago
621 2011-03-04 13:08:59 <molecular> yeah, I was joking
622 2011-03-04 13:09:07 <spenvo> sup bc-ers, i've put together a bitcoin services site for trading. It's only a day old. if you have a min let me know how it sucks. :/   www.bitcoinbulletin.com
623 2011-03-04 13:10:10 <molecular> actually 96*200+32*700 is almost half of 100G#/s
624 2011-03-04 13:10:24 <molecular> 41G#/s
625 2011-03-04 13:10:44 <mmarker> Where are these graphs?
626 2011-03-04 13:10:51 <molecular> http://bitcoin.sipa.be/speed-lin.png
627 2011-03-04 13:10:57 <sipa> or just http://bitcoin.sipa.be
628 2011-03-04 13:11:00 <molecular> and http://bitcoin.sipa.be/speed.png
629 2011-03-04 13:11:14 <molecular> ah, sipa, thx, that's cooler ;)
630 2011-03-04 13:13:29 <molecular> why is the growth still positive when computation speed decreases?
631 2011-03-04 13:13:39 <sipa> it's always over a larger window
632 2011-03-04 13:13:49 <molecular> ah, I see
633 2011-03-04 13:13:49 <sipa> and on average during that window, there was still growth
634 2011-03-04 13:14:01 <sipa> so the graph you see for growth is *not* the derivative of the speed
635 2011-03-04 13:14:28 <sipa> i bit counterintuitive, i know, but a real derivative is very shaky
636 2011-03-04 13:15:08 <molecular> these graphs are very pretty... gnuplot?
637 2011-03-04 13:15:16 <sipa> yes
638 2011-03-04 13:16:30 <sipa> and to come back to your initial remark slush: yes, it's quite strange - i should add some raw measurements as well to visually verify things
639 2011-03-04 13:17:33 <slush> spenvo: I like the idea of phone/skype calls with well known/important bitcoiners. It may give the feeling that Bitcoin is not just anonymous site where some crazy geeks build supercomputer :)
640 2011-03-04 13:18:39 <spenvo> slush:  :D  Thanks slush!  I'll pursue the idea!  The site is such a new idea, I don't know what to go after
641 2011-03-04 13:19:09 <spenvo> The focus will be reviews tho, as soon as i get the last bit of backend stuff up
642 2011-03-04 13:19:12 <slush> spenvo: When I come to the Bitcoin, the only resource which I find was lame video with computer voice. That was pretty strange :)
643 2011-03-04 13:19:48 <slush> People will like Bitcoin when they see there are normal people from bones, who use it :)
644 2011-03-04 13:19:49 <validus> its more fun to add random voices like that to ppls startup folder
645 2011-03-04 13:20:24 <spenvo> slush:  lol. It's interesting b/c one of bitcoin's advantages is its anonymity, but that doesn't necessarily help the trading community
646 2011-03-04 13:20:37 <slush> spenvo: it is common mistake
647 2011-03-04 13:20:46 <slush> spenvo: Bitcoiners CAN be anonymous
648 2011-03-04 13:20:56 <slush> but there is no reason that they have to be anonymous
649 2011-03-04 13:21:16 <slush> Personally I don't care about anonymity and for example, Gavin don't care, too :)
650 2011-03-04 13:21:43 <spenvo> haha, i hear ya.  Neither do I.  Want my ssn?
651 2011-03-04 13:22:02 <slush> :)
652 2011-03-04 13:22:02 <validus> i bet if you have facebook it woudlnt be that hard to get :P
653 2011-03-04 13:22:35 <validus> not that i would do that or anything like that
654 2011-03-04 13:22:51 <spenvo> freakin creepo
655 2011-03-04 13:22:55 <spenvo> lol, jk
656 2011-03-04 13:22:57 <validus> lol
657 2011-03-04 13:23:25 <luke-jr> I wish I had a local block explorer x.x
658 2011-03-04 13:23:51 <spenvo> thx slusho, i'll definitely heed what you said.  good for motivation!
659 2011-03-04 13:24:15 <slush> yw :)
660 2011-03-04 13:33:58 <UukGoblin> ;;bc,estimate
661 2011-03-04 13:33:59 <gribble> 66133.40560183
662 2011-03-04 13:34:05 <UukGoblin> back in business...
663 2011-03-04 13:34:18 <gribble> 111768
664 2011-03-04 13:34:18 <Zarutian> ;;bc,blocks
665 2011-03-04 13:34:45 <UukGoblin> naah
666 2011-03-04 13:34:47 <UukGoblin> don't
667 2011-03-04 13:35:00 <UukGoblin> my nodes can handle the job fine
668 2011-03-04 13:35:57 <Zarutian> I usually start bitcoin, wait for until it has cought up, let it run for a while (no mining) and the shut it down.
669 2011-03-04 13:36:16 <Zarutian> s/the s/then s/
670 2011-03-04 13:41:47 <UukGoblin> oh, thought you meant mining
671 2011-03-04 13:43:20 <spenvo> Wow, I know this sounds juvenile, but I have to share my excitement with the community here.  Someone actually made a transaction with me online--Here's why I'm excited:
672 2011-03-04 13:43:26 <spenvo> It's the first time I've ever made money that didn't come from a bloodsucking manager!
673 2011-03-04 13:44:12 <spenvo> it's only like half a bitcoin, but it's still pretty damn cool
674 2011-03-04 13:46:48 <TD_> :-)
675 2011-03-04 13:46:53 <TD_> niceness spenvo
676 2011-03-04 13:47:41 <spenvo> haha, i know it's total noobness.  but it speaks to how awesome Bitcoin is -- quick transactions without fees
677 2011-03-04 13:49:27 <magnetron> except for the exchange fees
678 2011-03-04 13:49:50 <davex____> and eventually transaction fees
679 2011-03-04 13:50:27 <CIA-55> bitcoin: Gavin Andresen master * rf36b494 / net.cpp : Make send/receive limits bigger (10MB each) - http://bit.ly/hAVeCh
680 2011-03-04 13:52:47 <TD_> heh
681 2011-03-04 13:52:53 <TD_> guys, don't burst his bubble ;)
682 2011-03-04 14:28:40 <TD> satoshi used to use svn
683 2011-03-04 14:28:46 <TD> at some point it got moved to git
684 2011-03-04 14:28:59 <Sami345> I found a possible security risk in MtGox
685 2011-03-04 14:29:12 <Sami345> Where should I report :D
686 2011-03-04 14:30:23 <molecular> TD_: sounds like your working on some android app?
687 2011-03-04 14:30:44 <molecular> Sami345, probably email to adress given on mtgox main page
688 2011-03-04 14:38:03 <TD> molecular: just a java library at the moment
689 2011-03-04 14:38:06 <TD> android app later, perhaps
690 2011-03-04 14:38:13 <TD> but building a solid bitcoin implementation is a lot of work
691 2011-03-04 14:39:56 <Diablo-D3> td: you know
692 2011-03-04 14:40:03 <Diablo-D3> its actually NOT that hard to do most of it
693 2011-03-04 14:40:51 <Diablo-D3> like, its damned easy to write the json api part ;)
694 2011-03-04 14:41:07 <Diablo-D3> infact, I probably could write a bitcoin impl in like a month
695 2011-03-04 14:41:58 <BlueMatt> Diablo-D3: not every one has as much free time as you, and he never said it was hard, just a lot of work
696 2011-03-04 14:42:10 <Diablo-D3> BlueMatt: I dont have much freetime either
697 2011-03-04 14:42:14 <Diablo-D3> otherwise I would have written one by now
698 2011-03-04 14:45:01 <Diablo-D3> writing a pool seems to be better use of time
699 2011-03-04 14:46:33 <BlueMatt> Diablo-D3: fair enough
700 2011-03-04 14:46:38 <BlueMatt> is there still a netsplit?
701 2011-03-04 14:47:54 <TD> feel free to write a bitcoin implementation in a month
702 2011-03-04 14:48:03 <molecular> TD, are you aware of dirtyfilthy's bitcoin-wallet https://github.com/dirtyfilthy/bitcoin-wallet? that seems to have a lot implemented already.
703 2011-03-04 14:48:06 <TD> yes
704 2011-03-04 14:48:10 <TD> i am indeed aware of it
705 2011-03-04 14:48:22 <TD> it's a similar code base
706 2011-03-04 14:48:29 <asherkin> BlueMatt: the server shutdown
707 2011-03-04 14:49:05 <BlueMatt> asherkin: oh, ouch
708 2011-03-04 14:49:30 <molecular> TD, you're coding this in private?
709 2011-03-04 14:49:48 <TD> it'll be open source soon. i got signoff from the trademark lawyers today.
710 2011-03-04 14:49:50 <asherkin> [22:26] -Md- [GlobalNotice] Hi! this server is experiencing some troubles, we recommend you reconnect to a different one
711 2011-03-04 14:49:51 <asherkin> [22:26] -calvino.freenode.net- Server Terminating. Md[~md@freenode/staff/md]
712 2011-03-04 14:49:57 <asherkin> @ BlueMatt
713 2011-03-04 14:50:05 <molecular> TD: cool
714 2011-03-04 14:50:06 <sipa> TD: trademark lawyers? :o
715 2011-03-04 14:50:08 <TD> just need to add a proper build system so you can compile it without an IDE, then upload it into an external svn
716 2011-03-04 14:50:28 <TD> and generally do the usual stuff needed to release an open source project
717 2011-03-04 14:50:37 <Diablo-D3> td: actually
718 2011-03-04 14:50:38 <BlueMatt> asherkin: wow
719 2011-03-04 14:50:43 <molecular> TD, what IDE are you using?
720 2011-03-04 14:50:47 <Diablo-D3> if you write the part that interprets the protocol from other bitcoin clients
721 2011-03-04 14:50:56 <Diablo-D3> you'd be helping people out
722 2011-03-04 14:51:02 <TD> intellij 10
723 2011-03-04 14:51:16 <TD> the library implements most of the simplified payment verification
724 2011-03-04 14:51:18 <Diablo-D3> also
725 2011-03-04 14:51:25 <Diablo-D3> ECLIPSE
726 2011-03-04 14:51:26 <Diablo-D3> USE IT
727 2011-03-04 14:51:26 <TD> block chain download, block verification, wallets and keystores etc
728 2011-03-04 14:51:36 <molecular> Diablo-D3, lol
729 2011-03-04 14:51:37 <TD> i've used both and prefer the newest version of intellij thanks :)
730 2011-03-04 14:51:41 <Diablo-D3> feh
731 2011-03-04 14:51:47 <Diablo-D3> ttps://github.com/dirtyfilthy/bitcoin-wallet
732 2011-03-04 14:51:50 <Diablo-D3> that does almost everything
733 2011-03-04 14:51:51 <Diablo-D3> ?
734 2011-03-04 14:51:51 <TD> but i switch back and forth.
735 2011-03-04 14:52:00 <TD> it is missing quite a bit actually
736 2011-03-04 14:52:09 <molecular> what bits?
737 2011-03-04 14:52:11 <TD> but then my implementation isn't really finished either :)
738 2011-03-04 14:52:12 <Diablo-D3> but it does the bitcoin protocol?
739 2011-03-04 14:52:35 <Diablo-D3> thats the part I didnt want to do
740 2011-03-04 14:52:51 <TD> molecular: documentation ;) block chain re-orgs. full block verification
741 2011-03-04 14:52:55 <TD> a bunch of things
742 2011-03-04 14:53:03 <TD> yes my lib speaks the regular bitcoin protocol
743 2011-03-04 14:53:04 <molecular> looks like the protocol is implemented in dirtyfilthy's code, not sure if complete, though
744 2011-03-04 14:53:08 <TD> that's how i discovered 0.3.20 was broken
745 2011-03-04 14:53:17 <molecular> broken?
746 2011-03-04 14:53:23 <TD> send limits. see the thread on the forum.
747 2011-03-04 14:53:26 <TD> anyway
748 2011-03-04 14:53:30 <TD> dirtyfilthy has done a good job
749 2011-03-04 14:53:55 <TD> but his code is almost entirely uncommented, has no real api and no real docs. part of the point (for me) of doing a java reimplementation is to make bitcoin more accessible
750 2011-03-04 14:54:11 <TD> anyway, you can compare the two after mine is released
751 2011-03-04 14:54:17 <TD> hopefully early next week.
752 2011-03-04 14:54:38 <Diablo-D3> TD: heh, what I'll have to do is start mine, then destroys yours, and then convince you to work on mine
753 2011-03-04 14:54:43 <Diablo-D3> its more efficient that way
754 2011-03-04 14:54:52 <TD> good luck ;)
755 2011-03-04 14:55:17 <Diablo-D3> actually, is yours for android?
756 2011-03-04 14:55:35 <Diablo-D3> because if you just shit out a normal jar, I'll just import that
757 2011-03-04 14:56:02 <TD> it should be able to run on android. it includes its own copy of bouncy castle.
758 2011-03-04 14:56:11 <molecular> TD: looking forward to next week
759 2011-03-04 14:56:11 <TD> so you should be able to jar it up and use it on a phone
760 2011-03-04 14:56:27 <TD> i wasn't going to start on an android app until the core code is more complete and better tested. in particular right now it doesn't persist the block chain at all.
761 2011-03-04 14:56:40 <TD> so it takes a few minutes to start up when run against the production block chain
762 2011-03-04 14:57:09 <molecular> TD, for opensourcing... maybe it would be easier to switch to eclipse (regarding build process), since more people use eclipse?
763 2011-03-04 14:58:57 <TD> it should just have an ant build.
764 2011-03-04 14:59:08 <TD> the structure is simple enough that IDEs can figure it out automatically
765 2011-03-04 14:59:21 <TD> just compile everything, really. i don't want IDE specific files checked into version control, i think
766 2011-03-04 14:59:27 <TD> that said i'm more of a c++ dev than a java dev really
767 2011-03-04 14:59:38 <TD> if it's typical to include eclipse configs in open source releases i can do that
768 2011-03-04 14:59:51 <Diablo-D3> td: yeah I dont see the point of him doing bouncy castle
769 2011-03-04 15:00:00 <Diablo-D3> java _comes with a fucking sha256 impl, I use it_
770 2011-03-04 15:00:21 <molecular> I don't even know about that. I'm usually happy at the point where I can get netbeans (yes, I'm switching to eclipse) to build something
771 2011-03-04 15:00:32 <x6763> i wrote a bitcoin crypto library in java that i'll eventually release the source code to...it covers all the different crypto things bitcoin does and is compatible with android (it contains some bouncy castle code, but doesn't use the bouncy castle lib)...compiles to a 40KB jar file
772 2011-03-04 15:00:41 <molecular> know about wether it's typical to include eclipse stuff
773 2011-03-04 15:00:54 <Diablo-D3> HEY GUYS
774 2011-03-04 15:01:01 <Diablo-D3> crazypc is going out of buisness
775 2011-03-04 15:01:14 <Diablo-D3> this is 100% relevant to our mining obsession
776 2011-03-04 15:01:19 <TD> Diablo-D3: it's for the EC crypto
777 2011-03-04 15:01:24 <TD> not hashing
778 2011-03-04 15:01:27 <Diablo-D3> td: java has that
779 2011-03-04 15:01:29 <Diablo-D3> I think
780 2011-03-04 15:01:32 <TD> not on android, unfortunately
781 2011-03-04 15:01:35 <TD> it was removed for space reasons
782 2011-03-04 15:01:42 <Diablo-D3> android .... isnt an impl of java.
783 2011-03-04 15:01:43 <TD> this is why both dirtyfilthy and me include a copy in-tree
784 2011-03-04 15:01:52 <Diablo-D3> and besides, how hard is it to impl it yourself
785 2011-03-04 15:02:01 <TD> x6763: why use it over BC?
786 2011-03-04 15:02:06 <TD> Diablo-D3: ec crypto? pretty damn hard.
787 2011-03-04 15:02:20 <Diablo-D3> td: not when you have wikipedia.
788 2011-03-04 15:02:49 <x6763> why have a whole bouncy castle lib when you only need a very very tiny piece of it?
789 2011-03-04 15:02:51 <molecular> crazypc?
790 2011-03-04 15:03:05 <TD> take a look at the openssl or bouncy castle EC implementations. i think it's fairly non trivial. you have to be comfortable with some fairly advanced mathematics.
791 2011-03-04 15:03:23 <TD> x6763: because crypto is tricky and easy to screw up, so brand name counts for a lot.
792 2011-03-04 15:03:28 <Diablo-D3> molecular: yeah, they're big with the ricer crowd
793 2011-03-04 15:03:37 <Diablo-D3> molecular: they sell a lot of fan and water cooling shit
794 2011-03-04 15:03:37 <TD> i'd rather use openssl really. but BC is convenient and can work well on android if renamed.
795 2011-03-04 15:03:47 <x6763> TD: that's why it contains code from bouncy castle...i didn't implement the ec crypto
796 2011-03-04 15:03:49 <TD> openssl has some robustness against side channel attacks
797 2011-03-04 15:03:53 <TD> x6763: ah ok
798 2011-03-04 15:03:58 <TD> yeah it'd be interesting to take a look
799 2011-03-04 15:03:59 <Diablo-D3> who is x6763?
800 2011-03-04 15:04:19 <Diablo-D3> x6763: what are you using bouncy castle for?
801 2011-03-04 15:04:21 <xelister> TD: btw
802 2011-03-04 15:04:37 <xelister> anyone knows best way to vefify data signature with pubkey? in java
803 2011-03-04 15:04:42 <molecular> sound like it might be dirtyfilthy?
804 2011-03-04 15:04:43 <x6763> Diablo-D3: i copied a small amount of code from bouncy castle to write my lightweight bitcoin crypto library
805 2011-03-04 15:05:10 <TD> xelister: i posted some example code for the EC crypto to the forum at some point
806 2011-03-04 15:05:19 <TD> xelister: look at the BC lightweight API docs
807 2011-03-04 15:05:27 <TD> or just use the standard java crypto
808 2011-03-04 15:06:20 <Diablo-D3> x6763 == dirtyfilthy?
809 2011-03-04 15:06:33 <x6763> Diablo-D3: no
810 2011-03-04 15:06:44 <Diablo-D3> goddamnit how many people have bitcoin libs
811 2011-03-04 15:07:06 <TD> there are lots out there. i don't know of any full reimplementations of the core system yet.
812 2011-03-04 15:07:07 <x6763> i started working on a bitcoin client a month or two ago...it's pretty close to finished
813 2011-03-04 15:07:22 <Diablo-D3> argh fail!
814 2011-03-04 15:07:24 <Diablo-D3> do not want!
815 2011-03-04 15:07:25 <TD> ah yeah. i remember that ;)
816 2011-03-04 15:08:54 <molecular> sounds kinda like efforts could be pooled... 3 java impls (close to) finished
817 2011-03-04 15:09:07 <Kiba> which one will claim the android prize?
818 2011-03-04 15:09:16 <molecular> the 4th?
819 2011-03-04 15:09:35 <Diablo-D3> well
820 2011-03-04 15:09:35 <TD> haha
821 2011-03-04 15:09:37 <Diablo-D3> what Im going to do
822 2011-03-04 15:09:41 <Diablo-D3> is take all three
823 2011-03-04 15:09:43 <Diablo-D3> rip the good parts out
824 2011-03-04 15:09:48 <Diablo-D3> and them mash it with my code
825 2011-03-04 15:09:48 <molecular> mix thoroughly
826 2011-03-04 15:09:54 <TD> there's still some way to go, depending on your goals.
827 2011-03-04 15:10:11 <TD> satoshis implementation doesn't have any way to retrieve merkle branches yet
828 2011-03-04 15:10:16 <Diablo-D3> TD: well, for one
829 2011-03-04 15:10:25 <Diablo-D3> I already have, basically, the json api done
830 2011-03-04 15:10:40 <Diablo-D3> I just have nothing to glue it to
831 2011-03-04 15:10:47 <TD> that's rather the rub isn't it
832 2011-03-04 15:10:53 <Diablo-D3> heh
833 2011-03-04 15:10:54 <Diablo-D3> well
834 2011-03-04 15:10:59 <Diablo-D3> remember, Im writing pool software
835 2011-03-04 15:11:03 <Diablo-D3> its the same fucking code
836 2011-03-04 15:11:15 <Diablo-D3> except instead, I just pass it to a real bitcoin as a client... which I also have code for
837 2011-03-04 15:11:22 <BlueMatt> Has anyone written a way to retrieve merkle branches yet in any client?
838 2011-03-04 15:11:35 <Diablo-D3> BlueMatt: it cant be THAT hard.
839 2011-03-04 15:11:48 <TD> there's no such command in the real client. it's not a huge pile of work to implement. just requires some care.
840 2011-03-04 15:12:03 <TD> probably a few days of full time work to spec out, implement and prove interop with some other library
841 2011-03-04 15:12:08 <Diablo-D3> also, I think I like my new code for being a client
842 2011-03-04 15:12:12 <TD> anyway. beer time.
843 2011-03-04 15:12:16 <Diablo-D3> I should add that to my miner
844 2011-03-04 15:12:23 <Diablo-D3> TD: well, do me a favor
845 2011-03-04 15:12:30 <Diablo-D3> make the API easy enough that I can subvert parts of it
846 2011-03-04 15:12:44 <Diablo-D3> Im very picky about networking code
847 2011-03-04 15:37:57 <EvanR-work> is MT`BNC MagicalTux?
848 2011-03-04 15:43:30 <mortalis> Whats a good reference for developping a bitcoin miner?
849 2011-03-04 15:43:39 <mmarker> What, specifically, do you want to know about mining? jgarzik's cpuminer is a good place to look at how to talk to a server in C, Diablo for people who like java, and poclbm for python.
850 2011-03-04 15:45:38 <mortalis> Python for sure.
851 2011-03-04 15:45:43 <EvanR-work> why does implementation matter
852 2011-03-04 15:45:57 <EvanR-work> results matter
853 2011-03-04 15:46:07 <EvanR-work> use the one with better reported (i guess) performance
854 2011-03-04 15:46:15 <mortalis> Other then looking at the source code of clients, is there other resources not covered on the wiki?
855 2011-03-04 15:46:30 <EvanR-work> oh youre writing a miner, nevermind
856 2011-03-04 15:46:31 <mmarker> Not really.
857 2011-03-04 15:46:41 <mmarker> The src is the de facto standard
858 2011-03-04 15:47:55 <mortalis> Cool beans. Thx for the input!