1 2012-04-15 00:07:49 barmstro_ has quit (Remote host closed the connection)
2 2012-04-15 00:12:18 Kiba has quit (Ping timeout: 246 seconds)
3 2012-04-15 00:23:06 Cablesaurus has joined
4 2012-04-15 00:23:06 Cablesaurus has quit (Changing host)
5 2012-04-15 00:23:06 Cablesaurus has joined
6 2012-04-15 00:29:37 RainbowDashh has quit (Quit: RainbowDashh)
7 2012-04-15 00:39:44 RainbowDashh has joined
8 2012-04-15 00:41:24 mmoya has quit (Ping timeout: 245 seconds)
9 2012-04-15 00:46:48 erle- has quit (Quit: erle-)
10 2012-04-15 00:50:43 da2ce7 has joined
11 2012-04-15 00:59:59 vragnaroda has quit (Quit: http://i.imgur.com/0bkiy.jpg)
12 2012-04-15 01:02:31 Nicksasa has quit (Ping timeout: 276 seconds)
13 2012-04-15 01:04:20 <gribble> New news from bitcoinrss: luke-jr opened pull request 1100 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1100>
14 2012-04-15 01:04:57 spq has quit (Ping timeout: 265 seconds)
15 2012-04-15 01:06:43 <luke-jr> jgarzik: why the need to reinvent things? you seem to be missing a number of threadsafety things at least
16 2012-04-15 01:08:19 <luke-jr> anyhow, IMO, best to merge the tried-and-tested branch and try to do cleanup after that; at least then if something breaks, it can be bisected down
17 2012-04-15 01:08:46 <jgarzik> luke-jr: you may apply the latter two patches on top of these two important ones
18 2012-04-15 01:09:22 <gribble> New news from bitcoinrss: jgarzik opened pull request 1101 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1101>
19 2012-04-15 01:09:51 <luke-jr> jgarzik: thread-safety issues aren't exactly unimportant
20 2012-04-15 01:10:08 <jgarzik> luke-jr: req #568 is not upstream ready. The very first comment in the patch tells you "remove me before going upstream"
21 2012-04-15 01:10:29 <luke-jr> jgarzik: which can't really legally be removed until it actually is being merged.
22 2012-04-15 01:10:39 <luke-jr> removing a single comment is trivial anyhow
23 2012-04-15 01:11:31 <jgarzik> luke-jr: sorry, we don't merge-first, fix-afterwards. The time to get things right is -before- it goes upstream.
24 2012-04-15 01:11:41 <luke-jr> jgarzik: that's my point.
25 2012-04-15 01:12:07 <jgarzik> luke-jr: the thread safety crap is definitely the wrong approach, and there is no technical reason why it must be patch #2 rather than patch #3
26 2012-04-15 01:12:23 <jgarzik> luke-jr: we already have a per-RPC-call info table. just update that.
27 2012-04-15 01:12:55 <luke-jr> that would definitely be better, I agree. it's also unwritten and completely untested, so riskier.
28 2012-04-15 01:12:58 <jgarzik> regardless, patches #2 and #4 may be trivially rebased on top of what I just pushed.
29 2012-04-15 01:14:04 <sipa> hmm, why boost locks directly, instead of our macros? this way gavin's lock detection becomes less useful
30 2012-04-15 01:14:20 <luke-jr> I'm just concerned that the pullreq there *as-is* is very unsafe, so it isn't upstream-ready unless we did merge-first-fix-afterwards.
31 2012-04-15 01:14:54 <luke-jr> sipa: it was to enable inner scopes to release the lock
32 2012-04-15 01:14:59 andytoshi has quit (Quit: WeeChat 0.3.7)
33 2012-04-15 01:15:00 <luke-jr> sipa: afaik our macros can't do that.
34 2012-04-15 01:16:15 <sipa> sure they can
35 2012-04-15 01:16:18 <luke-jr> ?
36 2012-04-15 01:16:52 <sipa> it's used in walletlockthread and net::beginmessage
37 2012-04-15 01:17:44 <jgarzik> sipa: agree, will update
38 2012-04-15 01:18:13 <sipa> there's a better solution, using an sort of scoped anti-lock object
39 2012-04-15 01:18:26 <luke-jr> hmm
40 2012-04-15 01:18:35 <sipa> but it didn't occur frequently enough yet to implement that
41 2012-04-15 01:18:38 <jgarzik> sipa: one-big-lock is just fine, until getwork is updated to be thread safe
42 2012-04-15 01:19:03 <jgarzik> sipa: no point in merging all those "mark RPC calls thread safe, or not" shite upstream... just fix the few places that are not thread safe
43 2012-04-15 01:19:12 <luke-jr> or removed, since maintaining getwork was basically ruled as uninteresting last I heard
44 2012-04-15 01:19:21 <sipa> jgarzik: ACK
45 2012-04-15 01:19:26 <jgarzik> luke-jr: that's 100% bullshit, re getwork
46 2012-04-15 01:19:45 <sipa> i'd like to see a move away from getwork too
47 2012-04-15 01:19:53 <luke-jr> jgarzik: you haven't been here for months â¦
48 2012-04-15 01:19:54 <jgarzik> sipa: to getmemorypool?
49 2012-04-15 01:20:02 <sipa> yes, certainly
50 2012-04-15 01:20:16 <sipa> but we can't drop it just yet
51 2012-04-15 01:20:23 <jgarzik> not for a while yet
52 2012-04-15 01:20:25 <luke-jr> jgarzik: *nobody* uses getwork anymore. the hashrate required to solo mine is higher than what bitcoind can handle.
53 2012-04-15 01:20:47 <sipa> some pools use heavily patched bitcoinds still
54 2012-04-15 01:20:51 <jgarzik> yes
55 2012-04-15 01:20:59 <luke-jr> sipa: not 0.5+ afaik
56 2012-04-15 01:22:18 eoss has quit (Remote host closed the connection)
57 2012-04-15 01:22:50 <luke-jr> anyhow, this line of discussion isn't getting anywhere
58 2012-04-15 01:23:11 <luke-jr> if jgarzik wants to make all the JSON-RPC calls threadsafe, that's clearly the better solution
59 2012-04-15 01:25:28 <sipa> that should not be hard
60 2012-04-15 01:25:40 <luke-jr> maybe. I admit I didn't even attempt it.
61 2012-04-15 01:25:59 <sipa> start by making them all take cs_main and cs_wallet
62 2012-04-15 01:26:11 <sipa> except the obvious ones
63 2012-04-15 01:26:26 <luke-jr> well, that was more or less what my ThreadSafeRPC functions did :P
64 2012-04-15 01:26:48 <sipa> right, but it does belong in the rpc functions
65 2012-04-15 01:26:51 <luke-jr> but that's not making them threadsafe, it's just providing a temporary migration path
66 2012-04-15 01:27:03 spq has joined
67 2012-04-15 01:27:04 <sipa> or even better, in the actual code
68 2012-04-15 01:27:20 <sipa> when everything is properly encapsulated
69 2012-04-15 01:29:53 <sipa> 1912 called; they want Titanic back
70 2012-04-15 01:30:04 <luke-jr> O.o
71 2012-04-15 01:30:38 <sipa> (sank 100 years and 10 minutes ago)
72 2012-04-15 01:30:41 <sipa> 11
73 2012-04-15 01:31:07 <luke-jr> o
74 2012-04-15 01:31:23 <luke-jr> are we going to be doing this anniversary thing with 9/11 too?
75 2012-04-15 01:32:28 <jgarzik> sipa: most of the RPC calls should already be thread-safe. comments in the patch and from Back When seemed to indicate getwork was the main problem. Likely solution is simply (1) I'll review the RPC calls for thread safety and (2) add LOCK() to getwork
76 2012-04-15 01:32:52 <jgarzik> luke-jr: BTW nPooledTx is not thread safe
77 2012-04-15 01:33:07 <jgarzik> sipa: ^^
78 2012-04-15 01:33:27 <luke-jr> isn't nPooledTx gone?
79 2012-04-15 01:33:39 <luke-jr> I thought BlueMatt replaced it with a .size()
80 2012-04-15 01:34:08 <jgarzik> luke-jr: maybe he did.. I just did it too (w/ a lock)
81 2012-04-15 01:34:30 <jgarzik> found that creating CTxMemPool
82 2012-04-15 01:34:38 Z0rZ0rZ0r1 has quit (Quit: Wheeeee)
83 2012-04-15 01:36:59 vragnaroda has joined
84 2012-04-15 01:37:14 <luke-jr> jgarzik: sounds neat; any chance you could document (not necessarily in detail) all the bugfixes that refactoring brings?
85 2012-04-15 01:38:22 vragnaroda has quit (Client Quit)
86 2012-04-15 01:41:03 fimpfimp has quit (Quit: This computer has gone to sleep)
87 2012-04-15 01:42:22 <jgarzik> luke-jr: I've been submitting them as separate pull requests, as they are found
88 2012-04-15 01:42:40 <luke-jr> ah, awesome
89 2012-04-15 01:42:50 <luke-jr> I must be behind on my pullreq reading :p
90 2012-04-15 01:45:23 Hasbro has quit ()
91 2012-04-15 01:46:15 sirk390 has joined
92 2012-04-15 01:47:18 osmosis has quit (Quit: Leaving)
93 2012-04-15 01:47:19 vigilyn has joined
94 2012-04-15 01:48:35 sirk390 has quit (Client Quit)
95 2012-04-15 01:52:34 tyn has joined
96 2012-04-15 02:20:16 RainbowDashh has quit (Quit: RainbowDashh)
97 2012-04-15 02:26:24 MobiusL has joined
98 2012-04-15 02:28:35 tyn has quit (Quit: Leaving)
99 2012-04-15 02:34:15 TheSeven has joined
100 2012-04-15 02:34:21 [7] has quit (Disconnected by services)
101 2012-04-15 02:39:02 <[Tycho]> Hello, TheSeven
102 2012-04-15 02:39:38 <TheSeven> [Tycho]: hello
103 2012-04-15 02:39:51 <[Tycho]> Are you the author of MPBM ?
104 2012-04-15 02:39:53 <TheSeven> yes
105 2012-04-15 02:40:08 <TheSeven> btw, I'm sometimes disguised as [7]
106 2012-04-15 02:42:30 <TheSeven> so, what's up with mpbm? :)
107 2012-04-15 02:42:50 <gribble> New news from bitcoinrss: jgarzik opened pull request 1102 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1102>
108 2012-04-15 02:43:22 <[Tycho]> It says that share was rejected for unknown reason. What reason does it expects, exactly ?
109 2012-04-15 02:43:34 <TheSeven> it looks in various places
110 2012-04-15 02:43:43 <TheSeven> X-Reject-Reason header, various json fields, ...
111 2012-04-15 02:44:03 <[Tycho]> So there is no specific standard ?
112 2012-04-15 02:44:28 <TheSeven> json:result = True is interpreted as success, everything else as failure
113 2012-04-15 02:44:49 <TheSeven> if that wasn't true, it looks in json:error for a message
114 2012-04-15 02:44:59 <[Tycho]> So any message will do ?
115 2012-04-15 02:45:22 <TheSeven> if that field isn't present, it will look for an X-Reject-Reason header
116 2012-04-15 02:45:35 <TheSeven> and if that isn't there either, it says unknown reason
117 2012-04-15 02:45:41 <TheSeven> yes, it will just pass that through as a string
118 2012-04-15 02:45:47 <[Tycho]> Ok.
119 2012-04-15 02:46:00 <TheSeven> X-Reject-Reason seems to be the most accepted standard from what I can tell
120 2012-04-15 02:46:06 <jgarzik> <sipa> when everything is properly encapsulated
121 2012-04-15 02:46:07 <[Tycho]> I was wondering why it says that for stale shares.
122 2012-04-15 02:46:08 <TheSeven> there are some commonly-used strings there as well
123 2012-04-15 02:46:17 <TheSeven> stale-prevblk, bad-prevblk, duplicate, ...
124 2012-04-15 02:46:21 <jgarzik> sipa: something like pull #1102?
125 2012-04-15 02:46:58 <[Tycho]> It's a bit strange to use headers when there is already error field in json.
126 2012-04-15 02:47:31 <TheSeven> unknown-work, time-too-old, time-too-new, time-invalid
127 2012-04-15 02:47:50 <TheSeven> I don't think I've ever seen that error field being populated
128 2012-04-15 02:47:56 <TheSeven> we're doing lots of strange things though
129 2012-04-15 02:48:03 <[Tycho]> When "time-invalid" is used ?
130 2012-04-15 02:48:23 <TheSeven> pushpool, if roll-ntime is disabled but ntime doesn't match
131 2012-04-15 02:48:35 RainbowDashh has joined
132 2012-04-15 02:48:40 <[Tycho]> Cool.
133 2012-04-15 02:51:59 <jgarzik> sipa: could also do it as a single class, using function pointers as the old code did. That would make initialization a bit more pretty.
134 2012-04-15 02:56:32 splatster has joined
135 2012-04-15 03:00:05 <luke-jr> jgarzik++ for rpcobj ;)
136 2012-04-15 03:00:57 <luke-jr> [Tycho]: https://en.bitcoin.it/wiki/Getwork#reject-reason
137 2012-04-15 03:01:40 <luke-jr> [Tycho]: https://en.bitcoin.it/wiki/BIP_0022#JSON-RPC_Method:_submitblock defines some reasons, but not all applicable to getwork
138 2012-04-15 03:02:43 t7 has quit (Remote host closed the connection)
139 2012-04-15 03:12:07 RainbowDashh has quit (Quit: RainbowDashh)
140 2012-04-15 03:13:18 RainbowDashh has joined
141 2012-04-15 03:22:11 RainbowDashh has quit (Ping timeout: 260 seconds)
142 2012-04-15 03:24:50 RainbowDashh has joined
143 2012-04-15 03:27:25 Diablo-D3 has joined
144 2012-04-15 03:33:19 minimoose has joined
145 2012-04-15 03:38:42 RainbowDashh has quit (Disconnected by services)
146 2012-04-15 03:38:42 Rabbit67890 has joined
147 2012-04-15 03:39:59 Rabbit67890 has quit (Client Quit)
148 2012-04-15 03:53:09 RainbowDashh has joined
149 2012-04-15 04:00:00 <gribble> New news from bitcoinrss: jgarzik opened pull request 1103 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1103>
150 2012-04-15 04:01:36 <jgarzik> luke-jr: there's ^^ an alternate version of rpcobj
151 2012-04-15 04:02:40 <luke-jr> jgarzik: rpcobj sounds safer IMO
152 2012-04-15 04:04:15 skeledrew has joined
153 2012-04-15 04:04:21 skeledrew has quit (Read error: Connection reset by peer)
154 2012-04-15 04:08:37 skeledrew has joined
155 2012-04-15 04:08:37 skeledrew has quit (Read error: Connection reset by peer)
156 2012-04-15 04:10:58 sgstair has quit (Read error: Connection reset by peer)
157 2012-04-15 04:11:39 sgstair has joined
158 2012-04-15 04:13:50 RainbowDashh has quit (Quit: RainbowDashh)
159 2012-04-15 04:16:21 RainbowDashh has joined
160 2012-04-15 04:17:50 dxtr has quit (Ping timeout: 244 seconds)
161 2012-04-15 04:18:50 paulo_ has quit (Ping timeout: 276 seconds)
162 2012-04-15 04:18:59 RainbowDashh has quit (Client Quit)
163 2012-04-15 04:19:32 paulo_ has joined
164 2012-04-15 04:19:36 dxtr has joined
165 2012-04-15 04:31:43 RainbowDashh has joined
166 2012-04-15 04:32:36 RainbowDashh has quit (Read error: Connection reset by peer)
167 2012-04-15 04:32:47 RainbowDashh has joined
168 2012-04-15 04:33:20 dxtr has quit (Ping timeout: 244 seconds)
169 2012-04-15 04:33:22 RainbowDashh has quit (Remote host closed the connection)
170 2012-04-15 04:34:12 Keefe has quit (Ping timeout: 260 seconds)
171 2012-04-15 04:34:20 mod6 has quit (Read error: Connection reset by peer)
172 2012-04-15 04:34:25 mod6 has joined
173 2012-04-15 04:34:44 Keefe has joined
174 2012-04-15 04:35:45 dxtr has joined
175 2012-04-15 04:35:45 dxtr has quit (Changing host)
176 2012-04-15 04:35:45 dxtr has joined
177 2012-04-15 04:43:34 OneFixt has quit (Read error: Connection reset by peer)
178 2012-04-15 04:43:50 OneFixt has joined
179 2012-04-15 04:48:51 dwon has quit (Quit: Leaving)
180 2012-04-15 04:49:34 Zarutian has quit (Quit: Zarutian)
181 2012-04-15 04:49:51 dikidera has quit (Ping timeout: 245 seconds)
182 2012-04-15 05:03:46 skeledrew has joined
183 2012-04-15 05:03:46 skeledrew has quit (Read error: Connection reset by peer)
184 2012-04-15 05:09:25 skeledrew has joined
185 2012-04-15 05:11:51 sneak has quit (Ping timeout: 260 seconds)
186 2012-04-15 05:12:13 sneak has joined
187 2012-04-15 05:12:13 sneak has quit (Changing host)
188 2012-04-15 05:12:13 sneak has joined
189 2012-04-15 05:19:10 da2ce7 has quit (Ping timeout: 252 seconds)
190 2012-04-15 05:23:32 imsaguy2 has quit (Ping timeout: 265 seconds)
191 2012-04-15 06:05:15 ovidiusoft has quit (Quit: leaving)
192 2012-04-15 06:09:28 Blitzboom has quit (Read error: Connection reset by peer)
193 2012-04-15 06:10:38 paulo_ has quit (Ping timeout: 276 seconds)
194 2012-04-15 06:11:26 RainbowDashh has joined
195 2012-04-15 06:13:10 brwyatt is now known as brwyatt|Away
196 2012-04-15 06:14:52 barmstrong has joined
197 2012-04-15 06:19:34 capiscuas has joined
198 2012-04-15 06:20:02 skeledrew has quit (Ping timeout: 252 seconds)
199 2012-04-15 06:30:59 chrisb__ has joined
200 2012-04-15 06:31:07 paulo_ has joined
201 2012-04-15 06:33:42 da2ce7 has joined
202 2012-04-15 06:35:09 minimoose has quit (Quit: minimoose)
203 2012-04-15 06:38:35 paulo_ has quit (Ping timeout: 276 seconds)
204 2012-04-15 06:46:21 barmstrong has quit (Remote host closed the connection)
205 2012-04-15 06:49:37 Slix` has quit (Ping timeout: 260 seconds)
206 2012-04-15 06:50:25 RainbowDashh has quit (Disconnected by services)
207 2012-04-15 06:50:25 Rabbit67890 has joined
208 2012-04-15 06:52:32 Wack0 has quit (Ping timeout: 260 seconds)
209 2012-04-15 06:52:54 barmstrong has joined
210 2012-04-15 06:55:35 devrandom has quit (Remote host closed the connection)
211 2012-04-15 06:55:47 sirk390 has joined
212 2012-04-15 06:56:20 devrandom has joined
213 2012-04-15 06:59:37 Rabbit67890 is now known as RainbowDashh
214 2012-04-15 07:01:28 barmstrong has quit (Ping timeout: 252 seconds)
215 2012-04-15 07:04:46 barmstrong has joined
216 2012-04-15 07:05:48 Rabbit67890 has joined
217 2012-04-15 07:05:48 RainbowDashh has quit (Disconnected by services)
218 2012-04-15 07:14:20 paraipan has quit (Ping timeout: 276 seconds)
219 2012-04-15 07:15:19 chrisb__ has quit (Quit: Leaving)
220 2012-04-15 07:15:28 sirk390 has quit (Quit: Leaving.)
221 2012-04-15 07:17:00 paraipan has joined
222 2012-04-15 07:21:54 Rabbit67890 is now known as RainbowDashh
223 2012-04-15 07:24:54 fimpfimp has joined
224 2012-04-15 07:25:42 RainbowDashh has quit (Quit: RainbowDashh)
225 2012-04-15 07:26:37 fimpfimp has quit (Client Quit)
226 2012-04-15 07:29:37 RainbowDashh has joined
227 2012-04-15 07:38:28 banshee12 has joined
228 2012-04-15 07:45:30 copumpkin has quit (Ping timeout: 240 seconds)
229 2012-04-15 07:46:02 copumpkin has joined
230 2012-04-15 07:50:39 barmstrong has quit (Remote host closed the connection)
231 2012-04-15 07:54:18 Turingi has joined
232 2012-04-15 07:54:23 Turingi has quit (Changing host)
233 2012-04-15 07:54:23 Turingi has joined
234 2012-04-15 07:56:14 osmosis has joined
235 2012-04-15 08:07:16 Apexseals has quit ()
236 2012-04-15 08:07:32 dwon has joined
237 2012-04-15 08:08:51 splatster has quit (Ping timeout: 265 seconds)
238 2012-04-15 08:16:49 magn3ts_ has joined
239 2012-04-15 08:17:21 parus has quit (Read error: Operation timed out)
240 2012-04-15 08:17:26 parus has joined
241 2012-04-15 08:23:01 SomeoneWeird has quit (Ping timeout: 246 seconds)
242 2012-04-15 08:23:36 MrTiggr has quit (Ping timeout: 248 seconds)
243 2012-04-15 08:23:59 magn3ts_ has quit (Quit: Leaving)
244 2012-04-15 08:24:25 MrTiggr has joined
245 2012-04-15 08:25:49 osmosis has quit (Quit: Leaving)
246 2012-04-15 08:27:25 Guest89069 has joined
247 2012-04-15 08:29:20 MrTiggr has quit (Ping timeout: 245 seconds)
248 2012-04-15 08:34:39 Cablesaurus has quit (Quit: Make it idiot proof and someone will make a better idiot.)
249 2012-04-15 08:34:44 molecular has quit (Ping timeout: 265 seconds)
250 2012-04-15 08:35:19 molecular has joined
251 2012-04-15 08:35:30 MrTiggr has joined
252 2012-04-15 08:42:25 Tiggr has joined
253 2012-04-15 08:42:46 Guest89069 has quit (Ping timeout: 245 seconds)
254 2012-04-15 08:45:15 Blitzboom has joined
255 2012-04-15 08:45:15 Blitzboom has quit (Changing host)
256 2012-04-15 08:45:15 Blitzboom has joined
257 2012-04-15 08:45:25 SomeoneWeird_ has joined
258 2012-04-15 08:46:40 pusle has joined
259 2012-04-15 08:47:22 ovidiusoft has joined
260 2012-04-15 08:57:41 Clipse has quit (Ping timeout: 276 seconds)
261 2012-04-15 08:59:07 djoot has quit (Ping timeout: 260 seconds)
262 2012-04-15 09:05:07 djoot has joined
263 2012-04-15 09:07:23 dvide has joined
264 2012-04-15 09:19:26 iddo_ is now known as iddo
265 2012-04-15 09:19:29 iddo has quit (Changing host)
266 2012-04-15 09:19:29 iddo has joined
267 2012-04-15 09:26:31 datagutt has joined
268 2012-04-15 09:30:31 capiscuas has quit (Remote host closed the connection)
269 2012-04-15 09:31:47 Joric has joined
270 2012-04-15 09:31:56 _Fireball has quit (Quit: HydraIRC -> http://www.hydrairc.com <- The alternative IRC client)
271 2012-04-15 09:40:24 SomeoneWeird_ has quit (Changing host)
272 2012-04-15 09:40:25 SomeoneWeird_ has joined
273 2012-04-15 09:40:26 SomeoneWeird_ is now known as SomeoneWeird
274 2012-04-15 09:46:04 erle- has joined
275 2012-04-15 10:12:20 lianj has quit (Changing host)
276 2012-04-15 10:12:20 lianj has joined
277 2012-04-15 10:18:21 toffoo has quit ()
278 2012-04-15 10:38:45 giftfrosch has joined
279 2012-04-15 10:39:11 giftfrosch has quit (Client Quit)
280 2012-04-15 10:39:47 giftfrosch has joined
281 2012-04-15 10:40:14 giftfrosch has quit (Client Quit)
282 2012-04-15 10:40:58 giftfrosch has joined
283 2012-04-15 10:46:39 RainbowDashh has quit (Quit: RainbowDashh)
284 2012-04-15 10:47:32 giftfrosch has quit (Ping timeout: 260 seconds)
285 2012-04-15 11:02:45 fimpfimp has joined
286 2012-04-15 11:05:54 Wack0 has joined
287 2012-04-15 11:21:34 <Joric> is it possible to create a transaction that doesn't use input tx hash? i.e. without an access to the blockchain
288 2012-04-15 11:23:18 <lianj> what for?
289 2012-04-15 11:23:39 <Joric> for transferring from one address to another
290 2012-04-15 11:24:25 <lianj> but the value that one address has is inside the blockchain
291 2012-04-15 11:24:45 giftfrosch has joined
292 2012-04-15 11:26:43 <Joric> i mean all those bip16 paytoscript and whatnot do they allow that? i wasn't following the latest trend
293 2012-04-15 11:27:26 <sipa> Joric: no
294 2012-04-15 11:28:12 <sipa> bitcoin doesn't maintain a balance per-address, the only thing being tracked are transaction outputs
295 2012-04-15 11:28:56 <sipa> each transaction refers to the previous transaction outputs it consumes; that's independent from scripts (which can only state the conditions under which a txout is allowed to be consumed)
296 2012-04-15 11:29:25 <Diablo-D3> yeah what sipa said
297 2012-04-15 11:30:53 sirk390 has joined
298 2012-04-15 11:33:20 RainbowDashh has joined
299 2012-04-15 11:36:27 MobiusL has quit (Quit: Ex-Chat)
300 2012-04-15 11:36:32 <lianj> http://paste.pocoo.org/show/HIkTRgRytc4THfSOBGA0/ hehe
301 2012-04-15 11:36:55 <sipa> Joric: it would not be possible either; for example you receive a payment to (A or B), and one to A, each 5 BTC. Now you (being A) want to spend 4 BTC. Does that result in B becoming unable to spend 5 BTC or not? It depends on which txout was used to fund that spending by A.
302 2012-04-15 11:39:32 devrandom has quit (Ping timeout: 276 seconds)
303 2012-04-15 11:46:12 devrandom has joined
304 2012-04-15 11:49:56 paraipan has quit (Ping timeout: 276 seconds)
305 2012-04-15 11:54:24 <gribble> New news from bitcoinrss: laanwj opened pull request 1104 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1104>
306 2012-04-15 11:55:44 graingert has joined
307 2012-04-15 12:03:03 capiscuas has joined
308 2012-04-15 12:06:16 RainbowDashh has quit (Quit: RainbowDashh)
309 2012-04-15 12:10:02 RainbowDashh has joined
310 2012-04-15 12:21:47 paraipan has joined
311 2012-04-15 12:22:29 rdponticelli has joined
312 2012-04-15 12:46:29 MobiusL has joined
313 2012-04-15 12:46:46 MobiusL has quit (Remote host closed the connection)
314 2012-04-15 12:46:50 Guest48519 has joined
315 2012-04-15 12:54:47 p0s has joined
316 2012-04-15 12:55:35 fimpfimp has quit (Quit: This computer has gone to sleep)
317 2012-04-15 12:55:53 rdponticelli_ has joined
318 2012-04-15 12:57:08 rdponticelli has quit (Ping timeout: 260 seconds)
319 2012-04-15 13:01:42 rdponticelli has joined
320 2012-04-15 13:01:49 MobiusL has joined
321 2012-04-15 13:02:04 t7 has joined
322 2012-04-15 13:02:05 rdponticelli_ has quit (Ping timeout: 276 seconds)
323 2012-04-15 13:02:53 theorb has joined
324 2012-04-15 13:03:14 RainbowDashh has quit (Quit: RainbowDashh)
325 2012-04-15 13:03:52 TheSeven has quit (Disconnected by services)
326 2012-04-15 13:04:01 [7] has joined
327 2012-04-15 13:04:13 RedEmerald_ has joined
328 2012-04-15 13:07:31 t7_ has joined
329 2012-04-15 13:07:56 t7 has quit (Ping timeout: 276 seconds)
330 2012-04-15 13:08:08 t7_ is now known as t7
331 2012-04-15 13:09:34 RedEmerald_ is now known as RedEmerald
332 2012-04-15 13:09:46 theorb is now known as theorbtwo
333 2012-04-15 13:11:14 t7 has quit (Remote host closed the connection)
334 2012-04-15 13:11:48 t7 has joined
335 2012-04-15 13:11:56 FACEFOX has quit (Ping timeout: 260 seconds)
336 2012-04-15 13:13:47 Bwild has quit (Ping timeout: 276 seconds)
337 2012-04-15 13:14:36 RainbowDashh has joined
338 2012-04-15 13:15:22 FACEFOX has joined
339 2012-04-15 13:15:34 Zarutian has joined
340 2012-04-15 13:18:18 ski_ has joined
341 2012-04-15 13:18:18 bitfoo has joined
342 2012-04-15 13:18:59 devrandom has quit (Ping timeout: 276 seconds)
343 2012-04-15 13:19:00 t7 has quit (Remote host closed the connection)
344 2012-04-15 13:19:34 t7 has joined
345 2012-04-15 13:20:41 RainbowDashh has quit (Ping timeout: 246 seconds)
346 2012-04-15 13:25:53 devrandom has joined
347 2012-04-15 13:32:40 Joric_ has joined
348 2012-04-15 13:33:47 Joric has quit (Ping timeout: 260 seconds)
349 2012-04-15 13:34:07 rdponticelli_ has joined
350 2012-04-15 13:34:23 rdponticelli has quit (Read error: Connection reset by peer)
351 2012-04-15 13:35:44 ahihi2 has quit (Ping timeout: 246 seconds)
352 2012-04-15 13:40:11 Karmaon has joined
353 2012-04-15 13:42:23 copumpkin has quit (Ping timeout: 276 seconds)
354 2012-04-15 13:42:42 Joric_ is now known as Joric
355 2012-04-15 13:42:56 copumpkin has joined
356 2012-04-15 13:49:57 paulo_ has joined
357 2012-04-15 14:22:46 ahihi2 has joined
358 2012-04-15 14:28:57 akarmn has quit (Ping timeout: 260 seconds)
359 2012-04-15 14:29:36 Administrator has joined
360 2012-04-15 14:30:01 Administrator is now known as Guest16882
361 2012-04-15 14:30:39 Guest16882 has quit (Client Quit)
362 2012-04-15 14:36:41 Guest48519 has quit ()
363 2012-04-15 14:37:41 vigilyn has quit (Quit: Leaving)
364 2012-04-15 14:53:35 minimoose has joined
365 2012-04-15 15:08:31 mmoya has joined
366 2012-04-15 15:09:12 <nanotube> so it seems that the 1-tx miner is no longer doing it, or is no longer so large? just checked the recent blocks... old news? when did that happen?
367 2012-04-15 15:18:48 <banshee12> i heard some wierd transaction caused his miner to screw up
368 2012-04-15 15:18:59 <banshee12> i donno whats up now tho, that was a little while ago
369 2012-04-15 15:19:26 <jgarzik> nanotube: I noticed same
370 2012-04-15 15:20:21 m00p has joined
371 2012-04-15 15:23:08 PiZZaMaN2K has joined
372 2012-04-15 15:23:24 <nanotube> banshee12: yes, there was the bad p2sh tx that caused a high rate of stales for him. but now it seems that there are even fewer 1tx blocks than even what can be expected from extra stales.
373 2012-04-15 15:25:05 rdponticelli_ has quit (Ping timeout: 276 seconds)
374 2012-04-15 15:27:04 <gmaxwell> nanotube: I'd noticed too... my guess, was that when he figured out he was being orphaned he upgraded software and didn't bother the add his anti-social patch.
375 2012-04-15 15:32:58 fimpfimp has joined
376 2012-04-15 15:37:52 rdponticelli has joined
377 2012-04-15 15:38:21 <nanotube> gmaxwell: hmm, i guess that's as good a guess as any.
378 2012-04-15 15:38:40 <nanotube> ok, not any. anything involving ponies probably isn't as good. :)
379 2012-04-15 15:38:41 Nicksasa has joined
380 2012-04-15 15:38:41 Nicksasa has quit (Changing host)
381 2012-04-15 15:38:41 Nicksasa has joined
382 2012-04-15 15:38:46 pusle has quit ()
383 2012-04-15 15:43:43 davout has joined
384 2012-04-15 15:56:27 splatster has joined
385 2012-04-15 15:59:16 RazielZ has joined
386 2012-04-15 16:00:50 devrandom has quit (Ping timeout: 276 seconds)
387 2012-04-15 16:01:40 <sipa> gmaxwell: care to proofread https://gist.github.com/1799467 ?
388 2012-04-15 16:02:38 devrandom has joined
389 2012-04-15 16:07:42 <splatster> I would like to extend a personal thanks to the bitcoin devs, as the blockchain download seems to have been vastly sped up in 0.6
390 2012-04-15 16:08:01 <splatster> Although my SSD hybrid might be helping with that a little.
391 2012-04-15 16:08:35 <splatster> I downloaded the whole chain, OS X 10.7.3, bitcoin-qt 0.6, in 2 hours.
392 2012-04-15 16:09:18 ovidiusoft has quit (Quit: leaving)
393 2012-04-15 16:09:25 ovidiusoft has joined
394 2012-04-15 16:10:39 <gmaxwell> splatster: Good to hear confirmation that it's faster for real users.
395 2012-04-15 16:10:53 <splatster> Yah, really great.
396 2012-04-15 16:13:53 giftfrosch_ has joined
397 2012-04-15 16:14:35 giftfrosch_ has quit (Client Quit)
398 2012-04-15 16:16:22 <luke-jr> gmaxwell: which also means any counter-measures we took, he could have handled
399 2012-04-15 16:17:07 giftfrosch has quit (Ping timeout: 260 seconds)
400 2012-04-15 16:24:24 TD has joined
401 2012-04-15 16:26:07 <TD> hey there
402 2012-04-15 16:28:56 p0s has quit (Remote host closed the connection)
403 2012-04-15 16:30:45 <Diablo-D3> td: GOOGLE IS EVIL
404 2012-04-15 16:30:50 <Diablo-D3> REPENT WHILE YOU CAN
405 2012-04-15 16:30:52 <TD> hi diablo
406 2012-04-15 16:31:38 <Diablo-D3> http://ehsanakhgari.org/blog/2012-04-14/how-i-lost-access-my-google-account-today
407 2012-04-15 16:32:20 Apexseals has joined
408 2012-04-15 16:32:26 <banshee12> Google is evil
409 2012-04-15 16:32:28 <banshee12> As is facebook
410 2012-04-15 16:32:46 <sipa> People are evil.
411 2012-04-15 16:32:52 <banshee12> I think its time we moved to better technology, how about a peer to peer social networking site?
412 2012-04-15 16:33:06 <sipa> banshee12: you mean real life?
413 2012-04-15 16:33:14 <sipa> that's a bit outdated, no?
414 2012-04-15 16:33:44 <TD> Diablo-D3: if he had put the actual account in question somewhere i could have taken a look
415 2012-04-15 16:33:47 <TD> but it seems hta the got back in already
416 2012-04-15 16:34:15 <banshee12> lol
417 2012-04-15 16:34:19 <banshee12> I was thinking diaspora
418 2012-04-15 16:34:31 <banshee12> At first I thought Google+ account, but an entire google account?
419 2012-04-15 16:34:32 <banshee12> thats wrong
420 2012-04-15 16:34:39 <banshee12> hes lost all his email and docs
421 2012-04-15 16:34:53 <banshee12> You place your trust in a company and they let you down like this, i think we need to rethink the internet
422 2012-04-15 16:34:59 <banshee12> Things need to be more decentralised
423 2012-04-15 16:35:01 <Diablo-D3> i wonder if google could be sued into requiring to have a support division for this
424 2012-04-15 16:35:13 <TD> there is a support divisio
425 2012-04-15 16:35:17 <TD> which he apparently used and got back in
426 2012-04-15 16:35:20 <Diablo-D3> then why does this shit keep happening?
427 2012-04-15 16:36:04 <TD> because it's a war out there. false positives happen. we obviously try and avoid them
428 2012-04-15 16:36:33 <TD> ok, so for some reason he prefers a contact form to an email address, but it's available on the mozilla wiki. let me take a look at what happened here.
429 2012-04-15 16:43:51 <TD> looks like there was an issue with an external trusted partner whose report quality suddenly dropped. this happens from time to time. it's been resolved now.
430 2012-04-15 16:44:11 minimoose has quit (Quit: minimoose)
431 2012-04-15 16:45:39 <banshee12> Diablo-D3: it happens because people think once a company grows to a certain size it is now your buddy
432 2012-04-15 16:46:31 <banshee12> google isnt the only company who does this, facebook also does
433 2012-04-15 16:46:36 <jgarzik> sipa: think 'pong' is OK for 0.6.1?
434 2012-04-15 16:47:42 <MC1984> lol that guy seems to be under the impression he is a ustomer of google
435 2012-04-15 16:47:46 <Diablo-D3> td: I dunno, it just makes me want to not use google.
436 2012-04-15 16:47:48 <MC1984> hes wrong, he is the product
437 2012-04-15 16:47:59 <Diablo-D3> MC1984: hes a customer, he pays for the domain apps shit
438 2012-04-15 16:48:17 <MC1984> meh, still mostly product
439 2012-04-15 16:48:20 <TD> ok. don't then.
440 2012-04-15 16:48:34 <MC1984> if you could get your product to pay you too, wouldnt you do that?
441 2012-04-15 16:48:34 <Diablo-D3> MC1984: oh shuddup dude, google still isnt selling user data on that level
442 2012-04-15 16:48:35 <MC1984> google has
443 2012-04-15 16:48:48 <Diablo-D3> you know how I know? only a fucking idiot would pay for the data
444 2012-04-15 16:49:15 <Diablo-D3> now, if google has actually figured out how to vastly profit from fucking idiots, well then I salute them
445 2012-04-15 16:49:37 <MC1984> dude consumer profiles are valuable
446 2012-04-15 16:49:45 <MC1984> its for adsense innit
447 2012-04-15 16:49:50 <Diablo-D3> td: I dunno, I just dont want like some fucker reporting me because I made a comment on a blog somewhere they didnt like and now my email is gone
448 2012-04-15 16:49:57 <Diablo-D3> mc1984: but I block ads.
449 2012-04-15 16:50:07 <TD> that wasn't what happened here
450 2012-04-15 16:50:08 <MC1984> 99% dont
451 2012-04-15 16:50:15 devrandom has quit (Ping timeout: 276 seconds)
452 2012-04-15 16:50:18 <Diablo-D3> then 99% of people on the internet are fucktards
453 2012-04-15 16:50:23 <Diablo-D3> and are not worth my time
454 2012-04-15 16:52:01 <MC1984> lol
455 2012-04-15 16:52:03 <MC1984> you funny guy
456 2012-04-15 16:52:13 <Diablo-D3> dude, Im not going to live forever
457 2012-04-15 16:52:17 <Diablo-D3> why should I bother with stupid shit
458 2012-04-15 16:52:41 <MC1984> all i said was 99% of people are googles product
459 2012-04-15 16:53:06 <MC1984> even if they actually pay tbh
460 2012-04-15 16:53:08 <pjorrit> i still remember when i came out of google's womb
461 2012-04-15 16:53:17 <Diablo-D3> MC1984: which is bullshit
462 2012-04-15 16:53:54 <MC1984> whatevers homeboy
463 2012-04-15 16:55:54 <Joric> i'm still using hotmail
464 2012-04-15 16:56:09 <luke-jr> jgarzik: the version number still needs to be set to 60001 (forgotten in all the nonsense "where do we put it" discussionâ¦)
465 2012-04-15 16:56:11 <TD> if you're interested, i'll be giving a talk at RIPE64 about abuse and abuse report handling tomorrow
466 2012-04-15 16:56:16 <TD> i think it'll be videoed and live streamed
467 2012-04-15 17:00:55 brwyatt is now known as Away!~brwyatt@pool-71-252-154-11.dllstx.fios.verizon.net|brwyatt
468 2012-04-15 17:01:53 <jgarzik> luke-jr: clearly
469 2012-04-15 17:03:01 malaimo has quit (Ping timeout: 244 seconds)
470 2012-04-15 17:06:07 devrandom has joined
471 2012-04-15 17:14:13 graingert has quit (Read error: Connection reset by peer)
472 2012-04-15 17:15:51 graingert has joined
473 2012-04-15 17:16:02 davout has quit (Remote host closed the connection)
474 2012-04-15 17:22:34 <sipa> jgarzik: the change is so small; sure
475 2012-04-15 17:27:04 guruvan is now known as guruvan|AFK
476 2012-04-15 17:27:11 malaimo has joined
477 2012-04-15 17:28:22 <sipa> jgarzik: actually, the list of transactions available in safe mode seems overly conservative
478 2012-04-15 17:28:23 SphericalCow has joined
479 2012-04-15 17:28:23 random2 has joined
480 2012-04-15 17:28:45 <sipa> i don't see why anything except sending money should be unavailable, actually
481 2012-04-15 17:28:49 <luke-jr> with that last merge to master, shouldn't SetString become a virtual?
482 2012-04-15 17:30:15 <t7> Timothy Denton? Thorsten Dietrich?
483 2012-04-15 17:30:47 copumpkin has quit (Quit: Computer has gone to sleep.)
484 2012-04-15 17:31:24 <sipa> luke-jr: not really; CBase58Data is never used directly (it should have protected constructors, maybe)
485 2012-04-15 17:32:33 <luke-jr> i c
486 2012-04-15 17:33:23 davout has joined
487 2012-04-15 17:34:46 OneMiner has quit (Ping timeout: 252 seconds)
488 2012-04-15 17:35:58 graingert has quit (Ping timeout: 260 seconds)
489 2012-04-15 17:39:23 OneMiner has joined
490 2012-04-15 17:39:45 graingert has joined
491 2012-04-15 17:45:30 random2 has quit (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org)
492 2012-04-15 17:45:37 guruvan has quit (AFK!~guruvan@gateway/tor-sasl/guruvan|Quit: I probably voided the warranty on this thing.....)
493 2012-04-15 17:48:05 brwyatt is now known as brwyatt|Away
494 2012-04-15 17:48:15 rlifchitz_ has quit (Remote host closed the connection)
495 2012-04-15 17:48:28 rlifchitz has joined
496 2012-04-15 17:48:28 rlifchitz has quit (Changing host)
497 2012-04-15 17:48:28 rlifchitz has joined
498 2012-04-15 17:50:12 RazielZ has quit (Ping timeout: 246 seconds)
499 2012-04-15 17:54:16 t7 has quit (Remote host closed the connection)
500 2012-04-15 17:55:21 RazielZ has joined
501 2012-04-15 17:59:46 copumpkin has joined
502 2012-04-15 18:03:20 brwyatt is now known as Away!~brwyatt@pool-71-252-154-11.dllstx.fios.verizon.net|brwyatt
503 2012-04-15 18:08:28 mcorlett is now known as Rasputin
504 2012-04-15 18:08:43 pusle has joined
505 2012-04-15 18:11:04 imsaguy2 has joined
506 2012-04-15 18:24:12 t7 has joined
507 2012-04-15 18:25:15 <gribble> New news from bitcoinrss: laanwj opened issue 1105 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/issues/1105>
508 2012-04-15 18:27:19 davout_ has joined
509 2012-04-15 18:30:31 toffoo has joined
510 2012-04-15 18:30:52 davout has quit (Ping timeout: 252 seconds)
511 2012-04-15 18:32:40 akarmn has joined
512 2012-04-15 18:51:17 _Fireball has joined
513 2012-04-15 18:53:44 osmosis has joined
514 2012-04-15 18:57:50 <luke-jr> yay for warnings
515 2012-04-15 19:02:48 AzN1337c0d3r has joined
516 2012-04-15 19:03:23 Lyspooner has joined
517 2012-04-15 19:07:27 Rasputin is now known as mcorlett
518 2012-04-15 19:11:28 m00p has quit (Remote host closed the connection)
519 2012-04-15 19:12:59 Graet has quit (Ping timeout: 246 seconds)
520 2012-04-15 19:14:20 rdponticelli has quit (Read error: Connection reset by peer)
521 2012-04-15 19:14:53 RazielZ has quit (Ping timeout: 265 seconds)
522 2012-04-15 19:15:18 <jgarzik> brainless!
523 2012-04-15 19:15:32 <jgarzik> we blatantly, and without cast, assign -1 to an unsigned int
524 2012-04-15 19:15:41 <jgarzik> nHeaderStart
525 2012-04-15 19:16:39 datagutt has quit (Quit: kthxbai)
526 2012-04-15 19:16:51 <luke-jr> lol
527 2012-04-15 19:17:48 pickett has quit (Ping timeout: 276 seconds)
528 2012-04-15 19:17:54 barmstrong has joined
529 2012-04-15 19:18:03 pickett has joined
530 2012-04-15 19:18:25 davout has joined
531 2012-04-15 19:20:13 <TD> hmm
532 2012-04-15 19:21:25 * sipa tries to remove headers.j
533 2012-04-15 19:21:30 <sipa> s/j/h/
534 2012-04-15 19:21:54 davout_ has quit (Ping timeout: 264 seconds)
535 2012-04-15 19:22:59 <luke-jr> sipa: you'd be my hero
536 2012-04-15 19:23:03 <TD> under the current rules, a tx of 0.4kb with an output of 1.0 and 0.1 btc should require no fees, right?
537 2012-04-15 19:23:14 <luke-jr> TD: whose rules? ;)
538 2012-04-15 19:23:25 <TD> current git
539 2012-04-15 19:23:28 <TD> i mean for relayin
540 2012-04-15 19:23:33 <luke-jr> bitcoind, correct
541 2012-04-15 19:23:33 <TD> sorry. forgot to mention that.
542 2012-04-15 19:23:37 <TD> hrmm
543 2012-04-15 19:23:47 <luke-jr> Deepbit, correct
544 2012-04-15 19:23:52 <luke-jr> Eligius, not correct
545 2012-04-15 19:24:13 <luke-jr> Joe Random Customfee user, not correct
546 2012-04-15 19:24:18 <luke-jr> s/user/miner/
547 2012-04-15 19:31:05 barmstrong has quit (Remote host closed the connection)
548 2012-04-15 19:31:52 fimpfimp has quit (Quit: This computer has gone to sleep)
549 2012-04-15 19:33:59 AzN1337c0d3r has quit (Quit: Page closed)
550 2012-04-15 19:37:14 davout_ has joined
551 2012-04-15 19:37:53 word has quit (Ping timeout: 265 seconds)
552 2012-04-15 19:39:33 word has joined
553 2012-04-15 19:39:33 word has quit (Changing host)
554 2012-04-15 19:39:33 word has joined
555 2012-04-15 19:40:47 davout has quit (Ping timeout: 265 seconds)
556 2012-04-15 19:42:58 Joric has quit ()
557 2012-04-15 19:45:26 ThomasV has joined
558 2012-04-15 19:46:44 davout has joined
559 2012-04-15 19:46:45 guruvan has joined
560 2012-04-15 19:47:55 <luke-jr> wow, for warning cleanups, most of those changes actually affected the bytecode produced
561 2012-04-15 19:48:54 <luke-jr> sipa: intentional, or should I investigate further?
562 2012-04-15 19:50:18 davout_ has quit (Ping timeout: 276 seconds)
563 2012-04-15 19:51:11 <_Fireball> luke-jr - are you cleaning up warnings?
564 2012-04-15 19:52:02 <sipa> luke-jr: stripped bytecode?
565 2012-04-15 19:52:11 <_Fireball> I have a bit of fixes, but I am not experienced with creating a real git push
566 2012-04-15 19:52:16 <luke-jr> _Fireball: sipa is
567 2012-04-15 19:52:19 <_Fireball> ah
568 2012-04-15 19:52:57 <sipa> luke-jr: no, wumpus is
569 2012-04-15 19:53:48 <luke-jr> oh
570 2012-04-15 19:53:53 <luke-jr> woops, wrong person XD
571 2012-04-15 19:54:10 Diablo-D3 has quit (Ping timeout: 244 seconds)
572 2012-04-15 19:54:17 <_Fireball> ;)
573 2012-04-15 20:03:43 copumpkin has quit (Quit: Computer has gone to sleep.)
574 2012-04-15 20:05:42 davout_ has joined
575 2012-04-15 20:07:05 davout has quit (Ping timeout: 265 seconds)
576 2012-04-15 20:09:53 <t7> who holds the pirvate keys for the built in alert?
577 2012-04-15 20:11:36 <sipa> Satoshi, Gavin and theymos.
578 2012-04-15 20:13:22 <wumpus> wow, for warning cleanups, most of those changes actually affected the bytecode produced <- wth does that mean?
579 2012-04-15 20:13:47 <sipa> wumpus: i suppose he means the object files changed because of them
580 2012-04-15 20:14:07 <sipa> ok, i've made a "noheaders" branch on my github
581 2012-04-15 20:14:12 <wumpus> oh, right, that's very possible
582 2012-04-15 20:14:23 <sipa> now testing a gitian windows build
583 2012-04-15 20:17:08 <wumpus> nice
584 2012-04-15 20:17:14 <gmaxwell> luke-jr: I like comparing using objdump -a
585 2012-04-15 20:17:26 <luke-jr> gmaxwell: yes, there's just so much at once :P
586 2012-04-15 20:17:34 <wumpus> luke-jr: commit 8add7822cef7d39cb761f59e6b837159a4968982 will have effect on the code
587 2012-04-15 20:18:06 <wumpus> zero-extending instead of sign-extending offsets etc
588 2012-04-15 20:18:10 <gmaxwell> though if the changes change the signness of the types that absolutely will change the generated code, even when it doesn't change the behavior.
589 2012-04-15 20:19:15 <wumpus> well it changes the behaviour too... indexing using char can mean you're using a negative offset up to -128?
590 2012-04-15 20:21:15 Joric has joined
591 2012-04-15 20:23:39 <luke-jr> OH, debug info!
592 2012-04-15 20:23:56 <wumpus> I'd really like to break the dependency of uint256.h on serialize.h
593 2012-04-15 20:23:59 <sipa> luke-jr: yes, that's why i asked whether it changed the stripped results
594 2012-04-15 20:24:22 <gmaxwell> also why I pointed out comparing objdump -a outputâ
595 2012-04-15 20:24:26 <luke-jr> >_<
596 2012-04-15 20:24:40 <sipa> wumpus: how would you do that?
597 2012-04-15 20:24:45 <gmaxwell> (also, sometimes you'll see that the compiler just randomly reordered things without changing the behavior.)
598 2012-04-15 20:24:59 <wumpus> if I knew sipa I'd already have done it
599 2012-04-15 20:25:06 <sipa> haha, right
600 2012-04-15 20:25:14 <wumpus> it bothers me somehow :)
601 2012-04-15 20:25:31 <sipa> you can make uint256 non-serializable, and make a serializing wrapper elsewhere
602 2012-04-15 20:26:23 <luke-jr> could be evil and make it only serializable if serialize.h is included first <.<
603 2012-04-15 20:26:45 <wumpus> some way in which serializable types don't all need to include serialize.h,
604 2012-04-15 20:26:52 <wumpus> I don't want to do anything evil luke-jr :p
605 2012-04-15 20:27:17 <sipa> ok, bitcoind and bitcoin-qt build fine on ubuntu without headers.h now
606 2012-04-15 20:27:22 <luke-jr> yay
607 2012-04-15 20:27:34 <sipa> windows will probably still need some changes
608 2012-04-15 20:28:11 banshee12 has quit ()
609 2012-04-15 20:28:25 _Fireball has quit (Quit: I love my HydraIRC -> http://www.hydrairc.com <-)
610 2012-04-15 20:29:49 <sipa> gmaxwell: saw my updated deterministic wallets bip?
611 2012-04-15 20:36:09 erle- has quit (Quit: erle-)
612 2012-04-15 20:37:52 <etotheipi_> sipa: gmaxwell, you 'll be happy to know I finally understand your position on multiple chains
613 2012-04-15 20:38:30 CoolTux is now known as TuxBlackEdo
614 2012-04-15 20:38:48 <etotheipi_> I was thinking along the lines of regular users only (which I still think should be the same chain), but for something like webservers generating addresses via watching-only wallet, it makes sense
615 2012-04-15 20:38:56 RedEmerald has joined
616 2012-04-15 20:39:51 <gmaxwell> sipa: I did, started reading over it but haven't yet finished. (been multitasking it with finishing my taxes)
617 2012-04-15 20:40:53 copumpkin has joined
618 2012-04-15 20:41:31 <sipa> etotheipi_: i think i understand your position as well; the fact that some clients would support multiple chains and others don't, risks breaking the simple mental model users need when doing import/export of keys between both
619 2012-04-15 20:41:58 <t7> do taxes have to be paid for stuff sold on silk road?
620 2012-04-15 20:42:06 <luke-jr> t7: of course
621 2012-04-15 20:42:20 <luke-jr> SR is no different from any other online auction site
622 2012-04-15 20:42:54 <luke-jr> besides being a DEA honeypot, I mean
623 2012-04-15 20:43:05 <sipa> etotheipi_: anyway, if you're interested: https://raw.github.com/gist/1799467/4a36177cb03792c046ac3f4f4be9f004d1d8865e/gistfile1.txt
624 2012-04-15 20:43:12 <t7> silk road seems great for sellers
625 2012-04-15 20:43:18 <t7> not so great for buyers
626 2012-04-15 20:43:24 <wumpus> t7: this is not the right channel for such questions
627 2012-04-15 20:44:40 <etotheipi_> t7, especially during prohibition, but also now... the tax code does say you need to declare all illegal activity, drug sales, stolen property, prostitution income....
628 2012-04-15 20:44:55 <etotheipi_> and frequently the government can then charge you with tax-evasion
629 2012-04-15 20:45:20 <t7> i wonder what would happen if i put drug sales on my tax return
630 2012-04-15 20:46:08 <sipa> etotheipi_: i'm quite sure few people will declare the income they get from armed robberies
631 2012-04-15 20:46:42 <brwyatt> Is there a specific form for that?
632 2012-04-15 20:46:44 <etotheipi_> I forget exactly how it plays out... but something to the effect that if they have nothing else on you, they can still peg your for tax-evasion
633 2012-04-15 20:46:48 <wumpus> lol
634 2012-04-15 20:47:27 <luke-jr> lol
635 2012-04-15 20:47:31 <luke-jr> nice
636 2012-04-15 20:47:58 <etotheipi_> "Illegal activities. Income from illegal activities, such as money from dealing illegal drugs, must be included in your income on Form 1040, line 21, or on Schedule C or Schedule C-EZ (Form 1040) if from your self-employment activity."
637 2012-04-15 20:48:18 <etotheipi_> that's from http://www.irs.gov/publications/p17/ch12.html
638 2012-04-15 20:48:24 <mod6> hahah
639 2012-04-15 20:48:40 <etotheipi_> "Bribes. If you receive a bribe, include it in your income."
640 2012-04-15 20:48:51 <etotheipi_> "Stolen property. If you steal property, you must report its fair market value in your income in the year you steal it unless in the same year, you return it to its rightful owner."
641 2012-04-15 20:49:01 <sipa> LOL
642 2012-04-15 20:49:14 <gmaxwell> This is pretty well known, â e.g. a lot of mobsters went to prison not for their mob activities but for tax evasion...
643 2012-04-15 20:49:20 <gmaxwell> because the tax evasion was easier to prove!
644 2012-04-15 20:49:39 <etotheipi_> it's just funny seeing that in the official IRS tax code
645 2012-04-15 20:49:48 <gmaxwell> (it's hard to hide a mansion)
646 2012-04-15 20:52:10 <phantomcircuit> it's why you can report income without explanation
647 2012-04-15 20:52:19 <phantomcircuit> you just end up paying the absolute highest rate possible
648 2012-04-15 20:52:25 <phantomcircuit> ie
649 2012-04-15 20:52:40 <phantomcircuit> you have to pay taxes; but the irs cannot violate your 5th amendment rights
650 2012-04-15 20:53:10 <etotheipi_> so what happens if you get audited?
651 2012-04-15 20:53:12 minimoose has joined
652 2012-04-15 20:53:33 <sipa> at least they can't sue you for tax evasion in that case
653 2012-04-15 20:53:42 <TD> why is it easier to prove tax evasion for illegally gained assets than that they were illegal gained?
654 2012-04-15 20:53:51 <TD> that sounds backwards. one should require the other.
655 2012-04-15 20:54:16 <etotheipi_> TD, it's that they can't prove you sold drugs: but they can prove that you bought a mansion so you must've acquired a shitload of money somehow
656 2012-04-15 20:54:25 <TD> so?
657 2012-04-15 20:54:26 <gmaxwell> td: because they can show you must have had income you didn't pay taxes on by simply comparing your {piles of cash, houses, boats} to the tax forms you submitted.
658 2012-04-15 20:54:45 <Joric> hope irs doesnt demand to report pocket money you're receiving from your girlfriend or your mom
659 2012-04-15 20:55:05 <TuxBlackEdo> i wish i had a girlfriend that gave me pocket money...
660 2012-04-15 20:55:17 <Joric> TuxBlackEdo, loser
661 2012-04-15 20:55:22 <sipa> where can such girlfriends be found, Joric?
662 2012-04-15 20:55:25 <TD> so why do they state you should put down assets gained illegally
663 2012-04-15 20:55:32 <Joric> can't tell sorry
664 2012-04-15 20:55:34 <phantomcircuit> etotheipi_, you go to court say "violation of my 5th amendment rights" and the judge says "cool you pay the maximum tax rate"
665 2012-04-15 20:55:34 <TD> i can't imagine any scenario in which such a stipulation makes sense.
666 2012-04-15 20:55:37 <luke-jr> irony: if you're helping out a homeless guy by letting him stay in your guest room, he can't apply for medicaid/food stamps without including your income
667 2012-04-15 20:56:26 <phantomcircuit> TD, because they want your tax money
668 2012-04-15 20:57:00 <Joric> sipa, does bip 23 have reference implementation atm?
669 2012-04-15 20:57:05 <sipa> Joric: not yet
670 2012-04-15 21:00:32 <TD> sipa: this concept of chains seems a bit complex. why not just have multiple wallets?
671 2012-04-15 21:00:37 <Joric> i guess both armory and electrum use only 16-byte seed?
672 2012-04-15 21:02:17 <Joric> even single addresses use 20 bytes
673 2012-04-15 21:02:32 <gmaxwell> TD: because then you're back to the hard backup problemâ but now back to needing to backup each account, rather than each address) , and also because for the reference client we always want to use two (internal + external)
674 2012-04-15 21:03:37 <sipa> TD: once you have the code to derive child keys, it's trivial to do it a few times more; even if you don't want to implement multiple account support, it's nice to have the flexibility
675 2012-04-15 21:04:02 <TD> what i mean is, this spec seems to let you define multiple wallets-within-wallets (still reading it). which seems more complex than just letting the client maintain multiple wallets independently (a bit like multibit does)
676 2012-04-15 21:04:31 <etotheipi_> wtf? I finally give into the multiple chains after weeks of debate... and now someone else comes to my side
677 2012-04-15 21:04:40 <TD> i only read this spec just now
678 2012-04-15 21:04:53 <etotheipi_> TD, I've debated this with them endlessly
679 2012-04-15 21:05:05 <sipa> i consider the multiple accounts part (and less so, split between internal and external chains) optional
680 2012-04-15 21:05:06 <TD> AFAICT this is primarily just for bitcoin-qt anyway right. the only time other clients need to handle that format is if they want direct import of bitcoin-qt wallets
681 2012-04-15 21:05:07 <gribble> New news from bitcoinrss: jgarzik opened pull request 1106 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1106>
682 2012-04-15 21:05:11 <TD> (which bitcoinj doesn't support currently anyway)
683 2012-04-15 21:05:14 <etotheipi_> in the end, there is a usefulness for it... and if you dont' like it, you can always just deploy it as multiple wallets and ignore the chains
684 2012-04-15 21:05:30 <etotheipi_> TD, Armory will be doing it
685 2012-04-15 21:05:34 <luke-jr> TD: it's a cross-client standard
686 2012-04-15 21:05:35 <gmaxwell> etotheipi_: right, td: right.
687 2012-04-15 21:05:43 <luke-jr> otherwise it wouldn't need a BIP
688 2012-04-15 21:07:01 <gmaxwell> If someone is going to do something which can be done under this scheme there should.
689 2012-04-15 21:07:10 <sipa> TD: the hope is indeed other clients would adopt it - even in rudimentary form (e.g. if only one chain is supported, you'll need to enter the extended key corresponding to just that chain)
690 2012-04-15 21:07:22 <etotheipi_> importing Satoshi wallet in Armory *might* result in two wallets, at least for now
691 2012-04-15 21:07:24 <TD> ok
692 2012-04-15 21:07:32 <gmaxwell> I'm pretty concerned about people coming up with their own novel constructs for type-2 determinstic wallets and building insecure stuff.. one reason to use a consistent form is so that we share security review.
693 2012-04-15 21:07:32 <etotheipi_> sipa: gmaxwell though I still argue that it shouldn't be the default
694 2012-04-15 21:08:14 <etotheipi_> the default should be simple, one-wallet-one-chain... let the advanced users who actually need to split the chains do it
695 2012-04-15 21:08:35 <etotheipi_> I think, then everyone wins
696 2012-04-15 21:09:08 <sipa> etotheipi_: i'm not sure about multiple account split by default; split between internal and external chains seems much more important to me
697 2012-04-15 21:09:47 <gmaxwell> etotheipi_: keep in mind the multichain stuff mostly just came out of the internal/external split, which at least sipa and I consider pretty essential to the reference client behavior.
698 2012-04-15 21:09:49 <etotheipi_> I don't grok what you just said. Did you agree with me?
699 2012-04-15 21:10:04 <sipa> (because there is no way back, once you wallet consists of only a single chain, there is no way to ever share it without sharing both sides)
700 2012-04-15 21:10:27 <etotheipi_> but it's trivial to make a new wallet
701 2012-04-15 21:10:41 <etotheipi_> if you need a split chain, make a new wallet, select the "Advanced Options" and select multi-chain
702 2012-04-15 21:11:00 <gmaxwell> etotheipi_: trivial to make a new wallet and invalidate all your backups.
703 2012-04-15 21:11:02 <etotheipi_> I don't like this idea that there users/business will branch their lives off a single wallet file
704 2012-04-15 21:11:11 fimpfimp has joined
705 2012-04-15 21:11:22 <sipa> etotheipi_: i hope we can add multiple wallet support too soon
706 2012-04-15 21:11:25 <etotheipi_> gmaxwell: I don't follow
707 2012-04-15 21:11:39 <gmaxwell> etotheipi_: then they don't need to do that. In any case, the branching we'll do by default is just the internal external split.
708 2012-04-15 21:12:13 <sipa> well, i was planning to do the account split by default as well; just only have one account by default
709 2012-04-15 21:12:20 <sipa> but i'm not sure about that
710 2012-04-15 21:12:30 <TD> sipa: after implementing, including some examples of what the results should be would be helpful
711 2012-04-15 21:12:34 <gmaxwell> ::nods:: well, I think so, but thats user requested.
712 2012-04-15 21:12:46 <sipa> TD: yes, i'll add a test vector section
713 2012-04-15 21:13:48 <gmaxwell> In any case, even if you just support a single branch per wallet, you could simply import the sub branches of a multibranch wallet as seperate wallets.
714 2012-04-15 21:16:04 <etotheipi_> my point is, I see the utility of this for advanced users, but I think the default should still be simple, one chain (or rather change goes back to the same chain)
715 2012-04-15 21:16:25 TD has quit (Quit: TD)
716 2012-04-15 21:17:51 <etotheipi_> but, at this point, I won't argue too much more
717 2012-04-15 21:18:09 davout has joined
718 2012-04-15 21:18:21 <gmaxwell> Yes you will (Based on past results).
719 2012-04-15 21:19:03 <gmaxwell> But ::shrugs::. I don't know why you want to impose additional complexity on users which can be trivially removed.
720 2012-04-15 21:19:05 <etotheipi_> haha... no I'm thoroughly burnt out on this topic, and at this point I'll just follow suit
721 2012-04-15 21:19:22 Cablesaurus has joined
722 2012-04-15 21:19:24 Cablesaurus has quit (Changing host)
723 2012-04-15 21:19:24 Cablesaurus has joined
724 2012-04-15 21:19:44 <luke-jr> wtf, adding implicit parenthesis changes asm
725 2012-04-15 21:20:09 <luke-jr> - aaa4: c7 44 24 10 03 06 00 movl $0x603,0x10(%esp)
726 2012-04-15 21:20:10 <luke-jr> + aaa4: c7 44 24 10 05 06 00 movl $0x605,0x10(%esp)
727 2012-04-15 21:20:23 <gmaxwell> luke-jr: it usually shouldn't. Are you sure you're correctlyin applying order of operations?
728 2012-04-15 21:20:24 <luke-jr> a number of these
729 2012-04-15 21:20:30 <luke-jr> gmaxwell: there'
730 2012-04-15 21:20:34 <luke-jr> gmaxwell: there's only one possible order here
731 2012-04-15 21:20:59 Lyspooner has quit (Quit: ChatZilla 0.9.86 [Firefox 3.6.12/20101026200743])
732 2012-04-15 21:21:01 <luke-jr> http://paste.pocoo.org/show/582091/
733 2012-04-15 21:21:01 davout_ has quit (Ping timeout: 240 seconds)
734 2012-04-15 21:21:15 <luke-jr> unless boost has some evil macro stuff going onâ¦
735 2012-04-15 21:21:28 <t7> is there a country where the government doesn't want to spy on everything i do?
736 2012-04-15 21:22:03 <gmaxwell> may be a c++ quirk. In C I've seen code like a=a+b; vs a=b+a; change code (e.g. swap which registers a and b were in) but thats less surprising.
737 2012-04-15 21:22:41 <gmaxwell> t7: yes, there are ones where the government consists of a single warlard and his cronies and they're too busy terrorizing people and collecting bribes to bother spying on you.
738 2012-04-15 21:24:01 davout has quit (Remote host closed the connection)
739 2012-04-15 21:33:51 Joric has quit ()
740 2012-04-15 21:33:56 cande has joined
741 2012-04-15 21:35:11 brwyatt is now known as brwyatt|Away
742 2012-04-15 21:39:27 MrTiggr has quit (Ping timeout: 246 seconds)
743 2012-04-15 21:52:01 Joric has joined
744 2012-04-15 21:52:01 Joric has quit (Changing host)
745 2012-04-15 21:52:01 Joric has joined
746 2012-04-15 21:55:02 osmosis has quit (Quit: Leaving)
747 2012-04-15 21:55:11 pusle has quit ()
748 2012-04-15 22:02:21 <gribble> New news from bitcoinrss: ubuntupunk opened issue 1107 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/issues/1107>
749 2012-04-15 22:03:06 osmosis has joined
750 2012-04-15 22:03:46 <splatster> Why is the font size on the overview tab for "Wallet" and "Recent Transactions" differrent?
751 2012-04-15 22:04:02 <splatster> different*
752 2012-04-15 22:07:24 <gribble> New news from bitcoinrss: jgarzik opened pull request 1108 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1108>
753 2012-04-15 22:08:45 Nicksasa has quit (Ping timeout: 276 seconds)
754 2012-04-15 22:11:34 <t7> 'new news' lol
755 2012-04-15 22:12:22 ThomasV has quit (Quit: Quitte)
756 2012-04-15 22:13:06 <gmaxwell> t7: generic rss feed code
757 2012-04-15 22:13:25 <luke-jr> gmaxwell: I think his point stands.
758 2012-04-15 22:13:51 <gmaxwell> luke-jr: who what?
759 2012-04-15 22:13:59 <luke-jr> gmaxwell: news is by nature new.
760 2012-04-15 22:15:05 <sipa> no, news was at some point in time new (potentially now) :)
761 2012-04-15 22:15:28 <gmaxwell> we use 'new' to also mean 'additional'
762 2012-04-15 22:17:09 <luke-jr> O.o
763 2012-04-15 22:17:19 <sipa> hmm, seems jgarzik has been doing something very similar :)
764 2012-04-15 22:17:20 <luke-jr> anyhow, the wallet.o difference was from line number changes.
765 2012-04-15 22:17:29 <luke-jr> even if stripped, boost still uses macros to inject them
766 2012-04-15 22:17:52 <luke-jr> sipa: jgarzik seems keen on duplicating others' work lately :p
767 2012-04-15 22:17:53 <gribble> New news from bitcoinrss: sipa opened pull request 1109 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1109>
768 2012-04-15 22:18:38 <sipa> luke-jr: no one is to blame, neither of us was aware the other was doing something similar
769 2012-04-15 22:18:45 <luke-jr> sipa: well, you did announce it
770 2012-04-15 22:18:58 <luke-jr> [15:20:03] * sipa tries to remove headers.h
771 2012-04-15 22:19:07 <luke-jr> oh well
772 2012-04-15 22:19:08 * sipa does not assume the entire world reads IRC
773 2012-04-15 22:20:24 sirk390 has quit (Quit: Leaving.)
774 2012-04-15 22:21:02 <splatster> No one knows why the font sizes on the overview tab for "Wallet" and "Recent Transactions" are different?
775 2012-04-15 22:22:30 Clipse has joined
776 2012-04-15 22:25:11 localhost has quit (Remote host closed the connection)
777 2012-04-15 22:26:07 <jgarzik> luke-jr: actually, not as much duplication as you might think
778 2012-04-15 22:26:26 <jgarzik> though I did not see sipa mention that. No big deal dropping mine, if that's the choice.
779 2012-04-15 22:26:48 <jgarzik> he picked up some code movement and changes that I did not, and vice versa
780 2012-04-15 22:27:00 <sipa> indeed; i like the split of db and walletdb
781 2012-04-15 22:28:07 osmosis has quit (Quit: Leaving)
782 2012-04-15 22:28:51 localhost has joined
783 2012-04-15 22:28:55 theorbtwo has quit (Ping timeout: 252 seconds)
784 2012-04-15 22:29:42 <sipa> jgarzik: strange... you dropped uint256.h's dependency on serialize.h...
785 2012-04-15 22:30:37 <sipa> hmm, there are no IMPLEMENT_SERIALIZE macro's in uint256?
786 2012-04-15 22:31:06 sgstair has quit (Quit: .«UPP»Â.)
787 2012-04-15 22:31:16 <jgarzik> sipa: nope
788 2012-04-15 22:31:39 <sipa> ah, it implements it directly
789 2012-04-15 22:31:54 <sipa> we should merge both pullreqs :)
790 2012-04-15 22:32:26 capiscuas has quit (Quit: Leaving)
791 2012-04-15 22:34:30 <sipa> jgarzik: your pull request fails to build on windows
792 2012-04-15 22:35:55 sgstair has joined
793 2012-04-15 22:38:12 <luke-jr> if (left || p[0] != '=' || p[1] != '=' || decode64_table[(unsigned char)p[2]] != -1)
794 2012-04-15 22:38:14 <luke-jr> + if (left || p[0] != '=' || p[1] != '=' || decode64_table[p[2]] != -1)
795 2012-04-15 22:38:17 <luke-jr> wumpus: I'm pretty sure that's a bug ^
796 2012-04-15 22:38:29 <luke-jr> p[2]'s signedness is not explicit
797 2012-04-15 22:38:45 <luke-jr> and that *does* change the opcode used
798 2012-04-15 22:38:56 <luke-jr> so I suspect p[2] is now being interpreted as signed
799 2012-04-15 22:39:49 theorbtwo has joined
800 2012-04-15 22:39:52 <sipa> jgarzik: i'll try rebasing your changes on top of mine, ok?
801 2012-04-15 22:40:24 <jgarzik> sipa: sure
802 2012-04-15 22:42:32 <gmaxwell> luke-jr: ascii all has the high bit as zero though. So there should be no functional difference for valid input.. and moreover, taking p[2] as signed would actually not be the desired behavior, e.g. it would negative index that table.
803 2012-04-15 22:43:10 <gmaxwell> So yes, I agree there is a functional change thereâ and the change is fixing a bug, but not one that anyone should reasonably run into. Where to we decode base64 input? Just the signatures?
804 2012-04-15 22:50:12 <luke-jr> gmaxwell: that's my point: we don't want negative indexes.
805 2012-04-15 22:50:23 <luke-jr> gmaxwell: the change is breaking it, making it signed
806 2012-04-15 22:50:40 <luke-jr> and afaik there's likely a place that can get non-ASCII input
807 2012-04-15 22:51:07 <gmaxwell> hm? oh I looked at the local code and it doesn't have the cast.
808 2012-04-15 22:51:15 <luke-jr> before, it was cast to unsigned; now it's left undefined (and compiler is changing code, so I conclude it's de facto signed)
809 2012-04-15 22:52:35 <gmaxwell> 4b603f1c src/util.cpp (Pieter Wuille 2011-09-20 15:38:29 +0200 671) if (left || p[0] != '=' || p[1] != '=' || decode64_table[p[2]] != -1)
810 2012-04-15 22:52:51 <gmaxwell> (is what some random not super recent tree I have here has)
811 2012-04-15 22:53:13 <[Tycho]> What client version number should be used by "non-official" clients ?
812 2012-04-15 22:53:23 <gmaxwell> Which is the wrong behavior.
813 2012-04-15 22:53:27 <luke-jr> gmaxwell: yes, that's the line with the bug
814 2012-04-15 22:53:41 <luke-jr> [Tycho]: any they like
815 2012-04-15 22:53:53 <luke-jr> [Tycho]: that's why it's a well-defined string
816 2012-04-15 22:54:14 <luke-jr> for example, Eligius uses /Satoshi:0.6.0/Eligius:5/
817 2012-04-15 22:54:20 <luke-jr> (or something like that)
818 2012-04-15 22:54:36 <gmaxwell> luke-jr: When was the cast added?
819 2012-04-15 22:54:46 <gmaxwell> (It was not in the original code)
820 2012-04-15 22:55:11 <luke-jr> oh crap
821 2012-04-15 22:55:15 <luke-jr> I *am* getting it backward
822 2012-04-15 22:55:20 <gmaxwell> whew.
823 2012-04-15 22:55:25 <luke-jr> wumpus just *added* that fix
824 2012-04-15 22:55:28 <gmaxwell> well, yuck.
825 2012-04-15 22:55:29 * luke-jr facepalms
826 2012-04-15 22:56:00 <gmaxwell> Right, soâ whats the consequence of this bug, beyond a possible crash.
827 2012-04-15 22:56:47 <luke-jr> random behaviour decoding non-ASCII
828 2012-04-15 22:56:55 <luke-jr> well, random base64 decoding
829 2012-04-15 22:57:39 Snapman is now known as Snapman[afkers]
830 2012-04-15 22:58:39 <gmaxwell> yea, looks mostly harmless to me.
831 2012-04-15 23:01:48 FACEFOX has quit (Ping timeout: 252 seconds)
832 2012-04-15 23:02:54 FACEFOX has joined
833 2012-04-15 23:05:27 underscor has joined
834 2012-04-15 23:05:56 brwyatt is now known as Away!~brwyatt@pool-71-252-154-11.dllstx.fios.verizon.net|brwyatt
835 2012-04-15 23:06:10 <sipa> jgarzik: ok, my pull request now contains a rebased version of yours on top (i removed the second commit, as it became a no-op really)
836 2012-04-15 23:09:30 FACEFOX has quit (Ping timeout: 252 seconds)
837 2012-04-15 23:11:58 FACEFOX has joined
838 2012-04-15 23:13:13 mmoya has quit (Ping timeout: 252 seconds)
839 2012-04-15 23:17:06 cande has quit (Ping timeout: 246 seconds)
840 2012-04-15 23:22:05 <jgarzik> sipa: ACK
841 2012-04-15 23:25:02 Snapman[afkers] is now known as Snapman
842 2012-04-15 23:38:00 <jgarzik> sipa: putting COIN and CENT in util.h seems vaguely inappropriate
843 2012-04-15 23:39:06 <sipa> i agree, but i know of no better place
844 2012-04-15 23:39:14 * jgarzik leans towards a simple bitcoin.h, which includes nothing, and only defines basic constants like COIN, CENT, CLIENT_VERSION, PROTOCOL_VERSION
845 2012-04-15 23:39:20 <jgarzik> and basic types [u]int64
846 2012-04-15 23:40:44 <sipa> yes, util should be "generally useful but not directly bitcoin related set of utility functions"
847 2012-04-15 23:40:54 <sipa> AddTimeData doesn't belong there either
848 2012-04-15 23:41:12 <jgarzik> yes
849 2012-04-15 23:41:24 * luke-jr suggests renaming COIN and CENT to BTC and cBTC, respectively?
850 2012-04-15 23:41:58 <jgarzik> luke-jr: outside the scope of current header project
851 2012-04-15 23:42:09 <luke-jr> yeah, and probably would make a pain for patches everywhere
852 2012-04-15 23:42:16 <jgarzik> yes
853 2012-04-15 23:44:15 <splatster> Can someone look at the the Recent transactions and the Wallet labels? (lines 80-88 and 120-124 in /src/qt/forms/overviewpage.ui) I don't understand why they are different font sizes.
854 2012-04-15 23:44:40 <sipa> splatster: sorry, GUI stuff is not my thing
855 2012-04-15 23:45:04 <sipa> the command-line argument parsing stuff in util.cpp also seems misplaced; init.cpp seems better for that
856 2012-04-15 23:45:53 <luke-jr> splatster: only wumpus can answer that I think
857 2012-04-15 23:51:54 <splatster> The content of label_5 on that view (the "Wallet" label) is html for some odd reason.
858 2012-04-15 23:52:16 bob12321 has quit (Ping timeout: 245 seconds)
859 2012-04-15 23:52:34 <luke-jr> splatster: feel free to do the necessary html cleanup
860 2012-04-15 23:52:57 <splatster> That of label_4 (the "Recent transactions" label), and every other label on that view, are very simple.
861 2012-04-15 23:53:37 machine2 has quit (Ping timeout: 252 seconds)
862 2012-04-15 23:54:45 <jgarzik> sipa: agree
863 2012-04-15 23:55:55 <jgarzik> sipa: I do agree w/ gavin that we don't want to move -everything- around ;) There is a lot of code movement in #1109 as it is
864 2012-04-15 23:57:35 graingert has quit (Remote host closed the connection)
865 2012-04-15 23:58:22 <sipa> a simple dependencyless header file for basic constants sounds good, but it should be for bitcoin-specific things. what i mean is, assume a bitcoin.h file that defines COIN and MAX_BLOCK_SIZE and MAX_MONEY and also defines uint64... in that case serialize.h and addrman.h and a few others will need to include this file, making them dependent on those constants, even though they don't have anything to do with bitcoin-the-protocol as such
866 2012-04-15 23:58:26 machine2 has joined
867 2012-04-15 23:58:52 <sipa> (i'm being overly puristic for a second now, and it would certainly be an improvement over what we have now)
868 2012-04-15 23:59:37 <luke-jr> perhaps moving that should wait for someone to clean up one of those "make all constants configurable in a file" patches?