1 2014-10-20 00:00:08 <kyuupichan> wumpus: Thanks
2 2014-10-20 00:00:51 bagackiz has joined
3 2014-10-20 00:00:52 bagackiz has quit (Max SendQ exceeded)
4 2014-10-20 00:02:32 bagackiz has joined
5 2014-10-20 00:02:33 bagackiz has quit (Max SendQ exceeded)
6 2014-10-20 00:02:45 crunk-juice has quit (Remote host closed the connection)
7 2014-10-20 00:03:48 jwoglom_ has joined
8 2014-10-20 00:04:12 bagackiz has joined
9 2014-10-20 00:04:12 bagackiz has quit (Max SendQ exceeded)
10 2014-10-20 00:04:23 <Luke-Jr> sipa: ActivateBestChainStep, if (!ConnectTip(state, pindexConnect, pindexConnect == pindexMostWork ? pblock : NULL)) {
11 2014-10-20 00:04:32 <Luke-Jr> sipa: state is assumed to be "clean" here, rigth?
12 2014-10-20 00:04:42 akstunt600 has quit (Read error: Connection reset by peer)
13 2014-10-20 00:05:00 dataangel has quit (Ping timeout: 255 seconds)
14 2014-10-20 00:05:18 jwoglom has quit (Disconnected by services)
15 2014-10-20 00:05:24 jwoglom_ is now known as jwoglom
16 2014-10-20 00:05:42 crunk-juice has joined
17 2014-10-20 00:05:44 akstunt600 has joined
18 2014-10-20 00:05:53 bagackiz has joined
19 2014-10-20 00:05:54 bagackiz has quit (Max SendQ exceeded)
20 2014-10-20 00:07:32 bagackiz has joined
21 2014-10-20 00:07:33 bagackiz has quit (Max SendQ exceeded)
22 2014-10-20 00:08:05 hmmma has quit (Ping timeout: 255 seconds)
23 2014-10-20 00:09:13 bagackiz has joined
24 2014-10-20 00:09:13 bagackiz has quit (Max SendQ exceeded)
25 2014-10-20 00:10:53 bagackiz has joined
26 2014-10-20 00:10:54 bagackiz has quit (Max SendQ exceeded)
27 2014-10-20 00:11:15 da2ce7 has joined
28 2014-10-20 00:12:33 bagackiz has joined
29 2014-10-20 00:12:34 bagackiz has quit (Max SendQ exceeded)
30 2014-10-20 00:14:13 bagackiz has joined
31 2014-10-20 00:14:13 bagackiz has quit (Max SendQ exceeded)
32 2014-10-20 00:15:52 bagackiz has joined
33 2014-10-20 00:15:53 bagackiz has quit (Max SendQ exceeded)
34 2014-10-20 00:17:33 bagackiz has joined
35 2014-10-20 00:17:34 bagackiz has quit (Max SendQ exceeded)
36 2014-10-20 00:19:13 bagackiz has joined
37 2014-10-20 00:19:14 bagackiz has quit (Max SendQ exceeded)
38 2014-10-20 00:20:57 bagackiz has joined
39 2014-10-20 00:20:58 bagackiz has quit (Max SendQ exceeded)
40 2014-10-20 00:22:37 bagackiz has joined
41 2014-10-20 00:22:38 bagackiz has quit (Max SendQ exceeded)
42 2014-10-20 00:24:17 bagackiz has joined
43 2014-10-20 00:24:18 bagackiz has quit (Max SendQ exceeded)
44 2014-10-20 00:25:58 bagackiz has joined
45 2014-10-20 00:25:59 bagackiz has quit (Max SendQ exceeded)
46 2014-10-20 00:27:37 bagackiz has joined
47 2014-10-20 00:27:38 bagackiz has quit (Max SendQ exceeded)
48 2014-10-20 00:27:49 hmmma has joined
49 2014-10-20 00:29:03 ShawnLeary has quit (Ping timeout: 245 seconds)
50 2014-10-20 00:29:17 bagackiz has joined
51 2014-10-20 00:29:18 bagackiz has quit (Max SendQ exceeded)
52 2014-10-20 00:30:57 bagackiz has joined
53 2014-10-20 00:30:58 bagackiz has quit (Max SendQ exceeded)
54 2014-10-20 00:32:37 bagackiz has joined
55 2014-10-20 00:32:38 bagackiz has quit (Max SendQ exceeded)
56 2014-10-20 00:33:27 bagackiz has joined
57 2014-10-20 00:33:28 bagackiz has quit (Max SendQ exceeded)
58 2014-10-20 00:35:10 bagackiz has joined
59 2014-10-20 00:35:11 bagackiz has quit (Max SendQ exceeded)
60 2014-10-20 00:35:16 Application has quit (Remote host closed the connection)
61 2014-10-20 00:36:50 bagackiz has joined
62 2014-10-20 00:36:51 bagackiz has quit (Max SendQ exceeded)
63 2014-10-20 00:38:31 bagackiz has joined
64 2014-10-20 00:38:32 bagackiz has quit (Max SendQ exceeded)
65 2014-10-20 00:40:09 <CodeShark> backackiz: "Because it can produce a few notes, tho they are very flat; and it is never put with the wrong end in front!"
66 2014-10-20 00:40:10 bagackiz has joined
67 2014-10-20 00:40:11 bagackiz has quit (Max SendQ exceeded)
68 2014-10-20 00:40:42 Centaure has quit (Ping timeout: 265 seconds)
69 2014-10-20 00:41:46 won9 has quit (Quit: won9)
70 2014-10-20 00:41:50 bagackiz has joined
71 2014-10-20 00:41:51 bagackiz has quit (Max SendQ exceeded)
72 2014-10-20 00:43:30 bagackiz has joined
73 2014-10-20 00:43:31 bagackiz has quit (Max SendQ exceeded)
74 2014-10-20 00:44:24 belcher has quit (Quit: Leaving)
75 2014-10-20 00:44:40 CheckDavid has quit (Quit: Connection closed for inactivity)
76 2014-10-20 00:45:10 bagackiz has joined
77 2014-10-20 00:45:11 bagackiz has quit (Max SendQ exceeded)
78 2014-10-20 00:46:11 kjj_ has quit (Ping timeout: 258 seconds)
79 2014-10-20 00:46:44 mkarrer has quit (Remote host closed the connection)
80 2014-10-20 00:46:57 bagackiz has joined
81 2014-10-20 00:46:58 bagackiz has quit (Max SendQ exceeded)
82 2014-10-20 00:47:36 weilu has joined
83 2014-10-20 00:48:34 devthedev has joined
84 2014-10-20 00:48:37 bagackiz has joined
85 2014-10-20 00:48:38 bagackiz has quit (Max SendQ exceeded)
86 2014-10-20 00:49:23 attilah has quit (Ping timeout: 240 seconds)
87 2014-10-20 00:49:27 bagackiz has joined
88 2014-10-20 00:49:28 bagackiz has quit (Max SendQ exceeded)
89 2014-10-20 00:51:39 bagackiz has joined
90 2014-10-20 00:51:40 bagackiz has quit (Max SendQ exceeded)
91 2014-10-20 00:52:36 dataangel has joined
92 2014-10-20 00:53:20 bagackiz has joined
93 2014-10-20 00:53:21 bagackiz has quit (Max SendQ exceeded)
94 2014-10-20 00:53:54 roconnor has joined
95 2014-10-20 00:55:05 bagackiz has joined
96 2014-10-20 00:56:53 flavien_ has quit (Ping timeout: 246 seconds)
97 2014-10-20 00:57:59 akstunt600 has quit (Read error: Connection reset by peer)
98 2014-10-20 00:58:53 akstunt600 has joined
99 2014-10-20 01:06:07 <sipa> Luke-Jr: whenever state is not clean, there should be a chain of return falses
100 2014-10-20 01:06:25 Kenstigator has joined
101 2014-10-20 01:07:17 <Luke-Jr> sipa: so, I can safely reinitialise state before ConnectBlock, right?
102 2014-10-20 01:07:23 <Luke-Jr> ConnectTip*
103 2014-10-20 01:07:28 <sipa> why would you?
104 2014-10-20 01:07:31 <sipa> it must be clean
105 2014-10-20 01:09:00 <Luke-Jr> sipa: "clean" is less well-defined in bugfix_processblock now - ConnectTip sets it to "conclusive", so we need to reinitialise it to inconclusive for the next connect
106 2014-10-20 01:09:11 <sipa> i really don't like that
107 2014-10-20 01:09:21 <Luke-Jr> why?
108 2014-10-20 01:09:41 <sipa> imho we should just do something where you can install a handler to listen for block validation result events
109 2014-10-20 01:09:49 <sipa> rather than add more state that is passed along everywhere
110 2014-10-20 01:11:11 <Luke-Jr> seems overengineered for this case IMO
111 2014-10-20 01:11:14 okae has quit (Quit: bye bye.)
112 2014-10-20 01:11:23 crunk-juice has quit (Remote host closed the connection)
113 2014-10-20 01:11:49 <Luke-Jr> how would we block on it?
114 2014-10-20 01:11:53 <Luke-Jr> what if it doesn't get reorg'd to?
115 2014-10-20 01:11:58 <Luke-Jr> then the block never ends
116 2014-10-20 01:12:03 <Luke-Jr> blocking*
117 2014-10-20 01:12:11 <sipa> just wait until ProcessBlock returns
118 2014-10-20 01:13:28 <sipa> if the block never causes validation because it never becomes the best chain, it's inconclusive
119 2014-10-20 01:13:29 GM0127 has joined
120 2014-10-20 01:14:18 <Luke-Jr> eck, kindof a roundable hack that suddenly breaks if someone innocently moves the reorg to a new thread and lets ProcessBlock return early
121 2014-10-20 01:14:34 mjb504_ has quit (Ping timeout: 272 seconds)
122 2014-10-20 01:14:34 mjb504 has quit (Ping timeout: 272 seconds)
123 2014-10-20 01:15:27 <sipa> fair enough
124 2014-10-20 01:15:32 <Luke-Jr> seems much simpler to restore ProcessBlock's expected behaviour
125 2014-10-20 01:15:59 <sipa> your way will also break if we move things to another thread
126 2014-10-20 01:16:02 <Luke-Jr> I mean, right now it returns true even if the block is invalid if it ended up using another tip
127 2014-10-20 01:16:21 <Luke-Jr> this way forces the person moving it to another thread, to consider this case
128 2014-10-20 01:16:26 <sipa> I think ProcessBlock should not return anything at all, because it can't guarantee anything
129 2014-10-20 01:16:59 <sipa> and in fact the only thing it returns right now is the potential system error case
130 2014-10-20 01:17:19 <Luke-Jr> even if the only return is the CValidationState, we need *some* kind of idea what it was
131 2014-10-20 01:17:39 <Luke-Jr> for example, right now the p2p protocol "reject" message is broken too
132 2014-10-20 01:17:43 <sipa> no
133 2014-10-20 01:18:12 <Luke-Jr> for any invalidity detected in ConnectTip, it is
134 2014-10-20 01:18:12 <sipa> failed block connection triggers a reject message to be sent
135 2014-10-20 01:18:20 <Luke-Jr> ah
136 2014-10-20 01:18:24 <sipa> in InvalidBlockFound
137 2014-10-20 01:18:26 <Luke-Jr> ok, so it uses a different code path
138 2014-10-20 01:18:36 <sipa> which is where i've been saying that this handler should be put
139 2014-10-20 01:18:46 <sipa> so we can move the reject stuff also into that handler
140 2014-10-20 01:18:57 <sipa> and not duplicate that logic
141 2014-10-20 01:19:10 <sipa> you want me to try writing something quickly?
142 2014-10-20 01:19:20 mjb504_ has joined
143 2014-10-20 01:19:20 mjb504 has joined
144 2014-10-20 01:19:37 <Luke-Jr> I suppose. Having ProcessBlock return with the correct state set still seems simpler and less prone to breakage in the future.
145 2014-10-20 01:19:52 <sipa> my point is that processblock shouldn't be able to tell you much
146 2014-10-20 01:20:04 <Luke-Jr> right now, it's expected to in multiple places
147 2014-10-20 01:20:36 <sipa> it only promises "we accepted the block into the tree, and afterwards reorganized to the resulting best tip"
148 2014-10-20 01:21:18 <sipa> as a single block processing can trigger validation of any number of blocks (including 0 or 100000), it seems silly to to try to tie the validation of a block to its invokation of ProcessBlock
149 2014-10-20 01:21:50 devthedev has quit (Remote host closed the connection)
150 2014-10-20 01:22:08 psgs is now known as away!~psgs@2001:41d0:1:68a3::39|psgs
151 2014-10-20 01:23:18 <Luke-Jr> sipa: bugfix_processblock does correctly handle all cases, at least
152 2014-10-20 01:23:36 <sipa> with more technical debt, imho
153 2014-10-20 01:24:00 <Luke-Jr> positive technical debt? ;)
154 2014-10-20 01:24:08 <Luke-Jr> the technical debt in this case is what prevents accidental breaking it
155 2014-10-20 01:24:48 <sipa> it's already ugly that we need handlers for bad validation in several layers of validation
156 2014-10-20 01:25:06 <Luke-Jr> ?
157 2014-10-20 01:25:08 <sipa> this makes it worse, by introducing more states to reason about
158 2014-10-20 01:25:23 <sipa> there's code for sending reject messages in several places afaik
159 2014-10-20 01:25:40 <Luke-Jr> it's unavoidable to reason about all possible states..?
160 2014-10-20 01:25:46 GM0127 has quit (Quit: Leaving)
161 2014-10-20 01:25:53 <sipa> i want to reduce the number of states
162 2014-10-20 01:26:06 <sipa> ideally, ProcessBlock _can_ only return some structure that can return system failure
163 2014-10-20 01:26:30 <sipa> and every per-block action that needs to be takes as the result of the outcome of validation of particular blocks is moved to some signal handling
164 2014-10-20 01:26:33 <Luke-Jr> the other states (invalid and inconclusive) still exist though
165 2014-10-20 01:27:01 <Luke-Jr> well, I suppose there is some refactoring that could improve here
166 2014-10-20 01:27:13 <Luke-Jr> to track the state each block has ever been validated on the CBlockIndex or such
167 2014-10-20 01:27:21 <sipa> that's already the case
168 2014-10-20 01:27:22 weilu has quit (Remote host closed the connection)
169 2014-10-20 01:27:45 <sipa> well, the level of validation passed is stored
170 2014-10-20 01:27:48 <sipa> not the actual message
171 2014-10-20 01:28:22 Zarutian has quit (Quit: Zarutian)
172 2014-10-20 01:28:42 <sipa> sorry, i'm mostly responsible for the current mess (and i consider it a mess)
173 2014-10-20 01:28:58 <sipa> so i would rather make things clean, than add more cases to it
174 2014-10-20 01:29:18 <Luke-Jr> not in a case generally usable I think: pindex->RaiseValidity(BLOCK_VALID_SCRIPTS); is only called after writing to disk, which is too late for proposals (including the existing miner tests, not necessarily RPC)
175 2014-10-20 01:29:35 <Luke-Jr> is it safe to move that before if (fJustCheck)?
176 2014-10-20 01:30:04 <sipa> you shouldn't be modifying anything in justcheck mode
177 2014-10-20 01:30:07 <sipa> i think?
178 2014-10-20 01:30:28 <Luke-Jr> JustCheck should modify the CBlockIndex validity flags, since it does the checks
179 2014-10-20 01:30:54 <Luke-Jr> if we want to use the CBlockIndex validity flags for differentiating between inconclusive, invalid, and valid, it needs to?
180 2014-10-20 01:31:12 <sipa> ugh
181 2014-10-20 01:31:32 <sipa> it would be so much simpler if you could just call ConnectTip
182 2014-10-20 01:31:34 WeCluster has quit (Ping timeout: 272 seconds)
183 2014-10-20 01:32:18 WeCluster has joined
184 2014-10-20 01:32:59 <Luke-Jr> that would be a mess for both proposals and submitblock RPC I think
185 2014-10-20 01:33:12 <Luke-Jr> since the former shouldn't write to disk, and the latter might reorg
186 2014-10-20 01:33:29 mkarrer has joined
187 2014-10-20 01:33:51 slashroot_ has joined
188 2014-10-20 01:33:54 <sipa> it could do connectblock on a reversible cache of the chainstate
189 2014-10-20 01:34:04 <sipa> that would be a lot cleaner too than having justcheck flags everywhere
190 2014-10-20 01:34:16 <sipa> but that will require a lot more refactorings
191 2014-10-20 01:34:39 slashroot_ has quit (Read error: Connection reset by peer)
192 2014-10-20 01:35:11 <Luke-Jr> and use more CPU time for submitblock as it connects it twice (one to determine validity, then again for the real reorg) - unless I misunderstand what you mean by that
193 2014-10-20 01:35:50 <sipa> connecttip would actually connect
194 2014-10-20 01:35:58 <sipa> not for proposals, though
195 2014-10-20 01:36:00 jMyles has quit (Ping timeout: 244 seconds)
196 2014-10-20 01:36:27 Dr-G2 has joined
197 2014-10-20 01:36:42 <Luke-Jr> sipa: so what if the parent to the submitted block is not in the main chain?
198 2014-10-20 01:37:03 <sipa> well, then it's a stale block anyway, no?
199 2014-10-20 01:37:15 <Luke-Jr> no, it could be causing a reorg
200 2014-10-20 01:37:21 <Luke-Jr> current main chain*
201 2014-10-20 01:37:25 <sipa> ah, agree
202 2014-10-20 01:37:30 MoltenSea has quit (Quit: Connection closed for inactivity)
203 2014-10-20 01:38:48 <sipa> but for a proposal you absolutely shouldn't even get to the point of having a CBlockIndex entry - at least not one in the mapBlockIndex
204 2014-10-20 01:39:21 <sipa> and i don't see how to do that
205 2014-10-20 01:39:51 <sipa> so i would indeed something like using a copy the cache, rollback to the latest common block, and try to connect
206 2014-10-20 01:40:10 Dr-G has quit (Ping timeout: 264 seconds)
207 2014-10-20 01:40:24 <Luke-Jr> if we don't use a CBlockIndex for the state, then we need all 4 states on CValidationCheck..
208 2014-10-20 01:40:50 <sipa> wait, are trying to solve how to do proposals too, or not?
209 2014-10-20 01:40:55 <Luke-Jr> at least not one in the mapBlockIndex <-- right, it doesn't have to be
210 2014-10-20 01:41:03 <sipa> i don't see how it can not be
211 2014-10-20 01:41:13 <Luke-Jr> sipa: we have proposals already, just not exposed to RPC
212 2014-10-20 01:41:19 <sipa> eh?
213 2014-10-20 01:41:34 <Luke-Jr> sipa: CreateNewBlock checks everything it produces
214 2014-10-20 01:41:50 <Luke-Jr> it creates a dummy CBlockIndex to do so
215 2014-10-20 01:42:03 <sipa> right, but that's easy as we know it's always on the top
216 2014-10-20 01:42:12 johnsoft has quit (Ping timeout: 255 seconds)
217 2014-10-20 01:42:17 <sipa> with proposals that is not the case, so you need to full reorg logic
218 2014-10-20 01:42:31 weilu has joined
219 2014-10-20 01:42:49 johnsoft has joined
220 2014-10-20 01:42:54 <Luke-Jr> sipa: I'd like to solve this problem in a way that doesn't require rewriting an hour later to implement GBT proposals ;)
221 2014-10-20 01:43:04 <sipa> yes, i understand
222 2014-10-20 01:43:35 <sipa> but for proposals i see no other way than creating a copy of the utxo set, and doing a full reorg in it
223 2014-10-20 01:43:43 <sipa> unless you see simplifications
224 2014-10-20 01:43:44 <Luke-Jr> I don't think we need full reorg logic though - it'd be nice to have, but it'd be okay to return "inconclusive" rejection for stale blocks
225 2014-10-20 01:43:50 <sipa> ok
226 2014-10-20 01:44:04 Application has joined
227 2014-10-20 01:44:11 <sipa> but you still want reorg logic
228 2014-10-20 01:44:34 <Luke-Jr> we probably *should* return a better response if it would trigger a reorg, I suppose
229 2014-10-20 01:45:08 <sipa> ok, if you can keep the validation like CreateNewBlock does, fine - using a dummy CBlockIndex
230 2014-10-20 01:45:27 <sipa> and just say "whenever the parent hash is not the current tip, return some error"
231 2014-10-20 01:45:55 <Luke-Jr> note CreateNewBlock's check is currently broken
232 2014-10-20 01:46:08 <sipa> it doesn't do the checks in AcceptBlock
233 2014-10-20 01:46:12 <Luke-Jr> and because ProcessBlock fails to return the correct state
234 2014-10-20 01:46:16 <Luke-Jr> err
235 2014-10-20 01:46:22 <Luke-Jr> nm
236 2014-10-20 01:46:42 <sipa> CreateNewBlock and proposal don't use ProcessBlock, and shouldn't
237 2014-10-20 01:46:46 <Luke-Jr> ProcessBlock only affects submitblock & similar right now
238 2014-10-20 01:46:50 <Luke-Jr> right
239 2014-10-20 01:47:10 <sipa> we can later think about a solution that is more generic and perhaps involves dealing with reorgs for those
240 2014-10-20 01:47:33 da2ce7 has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzzâ¦)
241 2014-10-20 01:47:36 <sipa> so the real problem now is submitblock, and getting the result out
242 2014-10-20 01:47:56 <Luke-Jr> yes
243 2014-10-20 01:47:59 da2ce7 has joined
244 2014-10-20 01:48:09 <Luke-Jr> we should also probably deal with the other cases that expect ProcessBlock to return a valid state too\
245 2014-10-20 01:48:54 vmatekole has joined
246 2014-10-20 01:49:19 <sipa> well ProcessBlock returns whether the block was succesfully processed :)
247 2014-10-20 01:49:40 <sipa> but i agree it's confusing now
248 2014-10-20 01:50:49 <Luke-Jr> historically, ProcessBlock has returned failure in all cases where the block was invalid - I think
249 2014-10-20 01:51:06 <Luke-Jr> if we're going to go the error-only route, we should at least rename it and document the difference
250 2014-10-20 01:51:16 akstunt600 has quit (Read error: Connection reset by peer)
251 2014-10-20 01:51:20 <sipa> agree
252 2014-10-20 01:52:22 akstunt600 has joined
253 2014-10-20 01:52:27 <Luke-Jr> hm, do we really want to store the rejection reason for invalidity on every invalid CBlockIndex?
254 2014-10-20 01:52:45 nullbyte has quit (Quit: leaving)
255 2014-10-20 01:52:51 DigiByteDev has joined
256 2014-10-20 01:53:23 vmatekole has quit (Ping timeout: 255 seconds)
257 2014-10-20 01:54:27 nullbyte has joined
258 2014-10-20 01:54:27 nullbyte has quit (Changing host)
259 2014-10-20 01:54:27 nullbyte has joined
260 2014-10-20 01:56:58 <Luke-Jr> sipa: were you going to throw together these new ideas in code, or should I go ahead and do that?
261 2014-10-20 01:59:25 weilu has quit (Remote host closed the connection)
262 2014-10-20 02:00:42 devthedev has joined
263 2014-10-20 02:01:24 MoltenSea has joined
264 2014-10-20 02:06:14 da2ce7 has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzzâ¦)
265 2014-10-20 02:06:46 jMyles has joined
266 2014-10-20 02:07:12 <sipa> Luke-Jr: hell no
267 2014-10-20 02:07:18 patcon has quit (Remote host closed the connection)
268 2014-10-20 02:07:29 <sipa> i don't want to use CblockIndex, I want a signal handler that reports it to whatever cares :)
269 2014-10-20 02:08:27 weilu has joined
270 2014-10-20 02:08:37 <Luke-Jr> sipa: ok, were you going to draft that, or should I ponder how exactly such a thing would work? :p
271 2014-10-20 02:08:50 <sipa> i'll write it, but give me a few days time
272 2014-10-20 02:08:57 weilu has quit (Read error: Connection reset by peer)
273 2014-10-20 02:09:21 <Luke-Jr> ok (I'm not sure what wumpus wants in terms of schedule though)
274 2014-10-20 02:09:29 <sipa> bip62 isn't in yet
275 2014-10-20 02:10:00 <sipa> (then again, i shouldn't delay working on bip62 for this, if you get a faster correct and easy to review solution)
276 2014-10-20 02:11:18 <Luke-Jr> I guess I can look into it more.. were you thinking we pass the callback as an argument?
277 2014-10-20 02:12:02 <sipa> no, something in CWalletInterface (which should really be renamed to CValidationInterface)
278 2014-10-20 02:13:17 psgs is now known as psgs|away
279 2014-10-20 02:15:21 <sipa> #5105 for that
280 2014-10-20 02:21:24 patcon has joined
281 2014-10-20 02:21:29 Andymeows has joined
282 2014-10-20 02:22:00 <Luke-Jr> sipa: so I'll add a callback for invalid block found, a callback for valid block found, and a callback for error processing block?
283 2014-10-20 02:22:19 <Luke-Jr> (all 3 cases need handling..)
284 2014-10-20 02:22:36 ericmuyser has quit (Read error: Connection reset by peer)
285 2014-10-20 02:22:36 da2ce7 has joined
286 2014-10-20 02:23:19 da2ce7 has quit (Client Quit)
287 2014-10-20 02:23:39 <sipa> well, at which level? :)
288 2014-10-20 02:24:06 <sipa> invalid it easy - you can have a handler for any type of invalid result, which just passes the CValidationState
289 2014-10-20 02:24:16 <Luke-Jr> sipa: submitblock should return a reject reason, not return "inconclusive", or throw an exception, respectively
290 2014-10-20 02:24:52 <Luke-Jr> hm, I guess I could have a single callback for "validation completed" that just gets CValidationState
291 2014-10-20 02:25:04 <sipa> what is "validation completed" ?
292 2014-10-20 02:25:04 <Luke-Jr> ?
293 2014-10-20 02:25:17 <Luke-Jr> sipa: ConnectBlock returns
294 2014-10-20 02:25:20 <sipa> ok
295 2014-10-20 02:25:29 <Luke-Jr> there's nothing more to check in the block itself at that point, correct?
296 2014-10-20 02:25:35 <sipa> indeed
297 2014-10-20 02:25:51 <sipa> though it is still not guaranteed to be become part of the tip at that point
298 2014-10-20 02:26:00 <Luke-Jr> sure, that's not what I care about here
299 2014-10-20 02:26:04 enitiz has quit (Ping timeout: 265 seconds)
300 2014-10-20 02:27:42 <phantomcircuit> Luke-Jr, watcha doin
301 2014-10-20 02:27:45 <Luke-Jr> (and there's already a callback for new tip)
302 2014-10-20 02:27:50 <Luke-Jr> phantomcircuit: fixing submitblock, you? :P
303 2014-10-20 02:28:07 <phantomcircuit> nothing much
304 2014-10-20 02:28:20 <phantomcircuit> figured out why tftp loading the kernel wasn't working on some machines
305 2014-10-20 02:28:28 <phantomcircuit> (timeouts weren't set high enough)
306 2014-10-20 02:28:52 <phantomcircuit> Luke-Jr, making submitblock actually return a meaningful reject reason?
307 2014-10-20 02:29:24 <Luke-Jr> sipa: IMO for the rename, bundle noop virtuals so I don't need to implement every possible one ;p
308 2014-10-20 02:29:36 <Luke-Jr> phantomcircuit: making it actually return "rejected" for rejected blocks, for starters
309 2014-10-20 02:30:03 pen has quit (Ping timeout: 260 seconds)
310 2014-10-20 02:30:04 <Luke-Jr> phantomcircuit: it's fine in 0.9.3, but broken in git from some refactoring
311 2014-10-20 02:30:22 <Luke-Jr> (and only broken in weird cases, like invalid scripts)
312 2014-10-20 02:33:49 ericmuyser has joined
313 2014-10-20 02:36:40 <lechuga_> gmaxwell: re: script VM, is perf really going 2 b too terrible?
314 2014-10-20 02:44:10 devthedev has quit (Remote host closed the connection)
315 2014-10-20 02:44:37 akstunt600 has quit (Read error: Connection reset by peer)
316 2014-10-20 02:45:01 jtimon has quit (Ping timeout: 246 seconds)
317 2014-10-20 02:45:26 akstunt600 has joined
318 2014-10-20 02:46:50 hashtag_ has joined
319 2014-10-20 02:47:27 hashtag has quit (Ping timeout: 255 seconds)
320 2014-10-20 02:49:30 rnvk has joined
321 2014-10-20 02:52:26 enitiz has joined
322 2014-10-20 02:55:31 ionstorm has joined
323 2014-10-20 02:59:42 hashtag_ has quit (Ping timeout: 244 seconds)
324 2014-10-20 03:03:03 Subo1977 has joined
325 2014-10-20 03:07:10 Subo1977_ has quit (Ping timeout: 264 seconds)
326 2014-10-20 03:09:49 one0one has joined
327 2014-10-20 03:09:57 <BlueMatt> re: me signign pull requests....travelling this week: http://0bin.net/paste/52fes0z4deNZoJ92#xureVUwmM8eaczOgyUh5EQnw4h6rFbKUbHUCqkxwGXx
328 2014-10-20 03:10:01 <BlueMatt> no pgp access
329 2014-10-20 03:10:07 <BlueMatt> until friday/saturday
330 2014-10-20 03:11:54 coderwill has quit (Quit: leaving)
331 2014-10-20 03:12:07 <Luke-Jr> BlueMatt: why not make a temporary key to sign with while away? :P
332 2014-10-20 03:13:11 <BlueMatt> Luke-Jr: because....effort (and I was very tired when I left this morning and didnt think that far ahead)
333 2014-10-20 03:13:29 <BlueMatt> I was walking out the door and was like "I should sign something that said I was gone"
334 2014-10-20 03:13:30 <Luke-Jr> XD
335 2014-10-20 03:16:20 Qatz has quit (Ping timeout: 265 seconds)
336 2014-10-20 03:22:44 enitiz has quit (Quit: Leaving)
337 2014-10-20 03:23:14 MoltenSea is now known as serbianscammer
338 2014-10-20 03:24:33 enitiz has joined
339 2014-10-20 03:25:04 coderwill has joined
340 2014-10-20 03:25:08 coderwill has quit (Changing host)
341 2014-10-20 03:25:08 coderwill has joined
342 2014-10-20 03:25:47 coderwill has quit (Client Quit)
343 2014-10-20 03:26:07 coderwill has joined
344 2014-10-20 03:27:16 mrebola has joined
345 2014-10-20 03:30:51 Qatz has joined
346 2014-10-20 03:32:29 cb_bitcoin has joined
347 2014-10-20 03:32:38 torsthaldo has quit (Quit: Leaving.)
348 2014-10-20 03:33:32 atgreen has joined
349 2014-10-20 03:36:58 MaxSan has quit (Ping timeout: 272 seconds)
350 2014-10-20 03:37:33 sdfvsfgvsdf has quit (Remote host closed the connection)
351 2014-10-20 03:38:08 akstunt600 has quit (Read error: Connection reset by peer)
352 2014-10-20 03:38:54 akstunt600 has joined
353 2014-10-20 03:40:44 fatalhalt has joined
354 2014-10-20 03:41:52 mkarrer has quit (Remote host closed the connection)
355 2014-10-20 03:42:28 OneMiner has quit (Quit: Leaving)
356 2014-10-20 03:43:54 enitiz has quit (Remote host closed the connection)
357 2014-10-20 03:44:37 OneMiner has joined
358 2014-10-20 03:47:44 TheSeven has quit (Disconnected by services)
359 2014-10-20 03:47:56 [7] has joined
360 2014-10-20 03:48:01 Raziel has quit (Ping timeout: 246 seconds)
361 2014-10-20 03:51:29 Hasimir has joined
362 2014-10-20 03:55:09 cb_bitcoin has quit (Quit: leaving)
363 2014-10-20 03:55:28 cb_bitcoin has joined
364 2014-10-20 03:58:09 elichai2 has quit (Remote host closed the connection)
365 2014-10-20 03:58:35 Eiii has quit ()
366 2014-10-20 04:02:09 cb_bitcoin has quit (Quit: leaving)
367 2014-10-20 04:02:26 cb_bitcoin has joined
368 2014-10-20 04:05:07 jrklein has quit (Remote host closed the connection)
369 2014-10-20 04:07:42 cb_bitcoin has quit (Quit: leaving)
370 2014-10-20 04:08:44 jrklein has joined
371 2014-10-20 04:13:58 enitiz has joined
372 2014-10-20 04:14:39 bedeho has joined
373 2014-10-20 04:18:39 OneMiner has quit (Quit: Leaving)
374 2014-10-20 04:19:38 OneMiner has joined
375 2014-10-20 04:24:44 cadaver has joined
376 2014-10-20 04:27:01 <Luke-Jr> sipa: how's this? https://github.com/bitcoin/bitcoin/pull/5106/files
377 2014-10-20 04:27:49 <Luke-Jr> (I'll do a reject-reason improvement when this is merged)
378 2014-10-20 04:29:13 Lightsword has joined
379 2014-10-20 04:31:14 akstunt600 has quit (Read error: Connection reset by peer)
380 2014-10-20 04:31:52 Lightsword has quit (Client Quit)
381 2014-10-20 04:32:04 akstunt600 has joined
382 2014-10-20 04:35:59 OneMiner has quit (Quit: Leaving)
383 2014-10-20 04:37:08 MKCoin has quit (Ping timeout: 272 seconds)
384 2014-10-20 04:38:57 fanquake has joined
385 2014-10-20 04:38:59 OneMiner has joined
386 2014-10-20 04:40:00 <Luke-Jr> wow, Gentoo wants to rebuild all my [cross-]compilers to add sanitize support :P
387 2014-10-20 04:44:22 karc has quit (Ping timeout: 264 seconds)
388 2014-10-20 04:44:23 rdponticelli has quit (Quit: No Ping reply in 180 seconds.)
389 2014-10-20 04:45:28 johnsoft has quit (Ping timeout: 260 seconds)
390 2014-10-20 04:46:03 johnsoft has joined
391 2014-10-20 04:46:58 rdponticelli has joined
392 2014-10-20 04:48:34 karc has joined
393 2014-10-20 04:51:59 xorax has joined
394 2014-10-20 04:53:22 fatalhalt has quit (Ping timeout: 244 seconds)
395 2014-10-20 04:54:34 ewrwer has joined
396 2014-10-20 04:54:43 <ewrwer> Hi Everybody
397 2014-10-20 04:55:27 copumpkin has joined
398 2014-10-20 04:59:42 xorax__ has joined
399 2014-10-20 05:00:15 NewLiberty has quit (Ping timeout: 265 seconds)
400 2014-10-20 05:00:21 simondlr has joined
401 2014-10-20 05:02:02 paveljanik has joined
402 2014-10-20 05:03:23 hmsimha has quit (Ping timeout: 240 seconds)
403 2014-10-20 05:03:47 nullbyte has quit (Ping timeout: 258 seconds)
404 2014-10-20 05:05:28 aulait has quit (Remote host closed the connection)
405 2014-10-20 05:06:01 Andrewmeows has joined
406 2014-10-20 05:07:59 aulait has joined
407 2014-10-20 05:09:03 ewrwer has left ()
408 2014-10-20 05:09:26 Andymeows has quit (Ping timeout: 265 seconds)
409 2014-10-20 05:09:49 Andrewmeows is now known as Andymeows
410 2014-10-20 05:11:53 xorax__ has quit (Quit: leaving)
411 2014-10-20 05:12:47 altgribble has quit (Remote host closed the connection)
412 2014-10-20 05:13:01 altgribble has joined
413 2014-10-20 05:13:38 cb_bitcoin has joined
414 2014-10-20 05:14:10 brianhoffman has quit (Quit: brianhoffman)
415 2014-10-20 05:14:34 midnightmagic has quit (Quit: quit)
416 2014-10-20 05:14:59 midnightmagic has joined
417 2014-10-20 05:17:31 xorax has quit (Quit: leaving)
418 2014-10-20 05:18:39 weilu has joined
419 2014-10-20 05:18:53 cadaver has quit (Ping timeout: 240 seconds)
420 2014-10-20 05:22:48 btcftw21 has joined
421 2014-10-20 05:23:04 RagnarDanneskjol has joined
422 2014-10-20 05:23:22 robonerd has quit (Ping timeout: 272 seconds)
423 2014-10-20 05:24:35 akstunt600 has quit (Read error: Connection reset by peer)
424 2014-10-20 05:24:57 robonerd has joined
425 2014-10-20 05:25:16 robonerd has quit (Changing host)
426 2014-10-20 05:25:16 robonerd has joined
427 2014-10-20 05:25:38 akstunt600 has joined
428 2014-10-20 05:29:22 cadaver has joined
429 2014-10-20 05:29:51 sdfvsfgvsdf has joined
430 2014-10-20 05:30:20 vmatekole has joined
431 2014-10-20 05:34:22 damethos has joined
432 2014-10-20 05:35:13 CryptDrift has joined
433 2014-10-20 05:35:39 sdfvsfgvsdf has quit (Remote host closed the connection)
434 2014-10-20 05:39:22 Lightsword has joined
435 2014-10-20 05:39:24 bedeho has quit (Ping timeout: 265 seconds)
436 2014-10-20 05:48:51 <CodeShark> removal of main.h dependency from rpcserver is complete: https://github.com/bitcoin/bitcoin/pull/5107
437 2014-10-20 05:49:20 bedeho has joined
438 2014-10-20 05:50:59 Lightsword has quit (Ping timeout: 255 seconds)
439 2014-10-20 05:56:20 Eiii has joined
440 2014-10-20 05:57:16 ionstorm has quit (Remote host closed the connection)
441 2014-10-20 05:57:48 jedunnigan has quit (Ping timeout: 260 seconds)
442 2014-10-20 05:58:08 ShawnLeary has joined
443 2014-10-20 06:01:30 kermit has quit (Quit: Leaving.)
444 2014-10-20 06:01:59 kermit has joined
445 2014-10-20 06:03:11 jedunnigan has joined
446 2014-10-20 06:06:27 hmmma1 has joined
447 2014-10-20 06:06:44 Andymeows has quit (Ping timeout: 255 seconds)
448 2014-10-20 06:07:34 rdponticelli has quit (Remote host closed the connection)
449 2014-10-20 06:07:57 rdponticelli has joined
450 2014-10-20 06:08:35 hmmma has quit (Ping timeout: 245 seconds)
451 2014-10-20 06:08:55 Aido_ has joined
452 2014-10-20 06:09:22 DigiByteDev has quit (Quit: DigiByteDev)
453 2014-10-20 06:09:26 dagan has quit (Ping timeout: 246 seconds)
454 2014-10-20 06:10:04 <mrebola> thanks for the update CodeShark , nice job
455 2014-10-20 06:10:14 <CodeShark> thx
456 2014-10-20 06:11:15 <mrebola> CodeShark, what is the idea behind moving the rpc server to a separate package ? Further security?
457 2014-10-20 06:11:52 <sipa> ...?
458 2014-10-20 06:12:08 Aido has quit (Ping timeout: 255 seconds)
459 2014-10-20 06:12:09 <sipa> reusability, i guess
460 2014-10-20 06:13:16 <CodeShark> just on general architectural principles, it is desirable that any RPC server functionality which is generally useful should reside in a reusable unit. But there are also other issues - such as that we don't want the RPC server module to have to be rebuilt each time we make a change in main.hâ¦and we want to make it easier for developers to improve units independently
461 2014-10-20 06:14:13 <CodeShark> it will also make it far simpler to extend bitcoind to support more commands in the future
462 2014-10-20 06:15:11 <mrebola> go it , CodeShark
463 2014-10-20 06:15:12 <CodeShark> or if not far simpler, at least far cleaner :)
464 2014-10-20 06:15:12 <mrebola> cool !
465 2014-10-20 06:15:42 <mrebola> Best coding practices
466 2014-10-20 06:15:43 <mrebola> :P
467 2014-10-20 06:20:59 neozaru has joined
468 2014-10-20 06:22:23 jedunnigan has quit (Remote host closed the connection)
469 2014-10-20 06:22:54 jedunnigan has joined
470 2014-10-20 06:24:21 chaosagent has quit (Ping timeout: 265 seconds)
471 2014-10-20 06:25:10 KillYourTV has quit (Ping timeout: 264 seconds)
472 2014-10-20 06:27:21 jedunnigan has quit (Ping timeout: 258 seconds)
473 2014-10-20 06:29:47 inf101 has joined
474 2014-10-20 06:30:30 baldur has quit (Ping timeout: 244 seconds)
475 2014-10-20 06:30:48 KillYourTV has joined
476 2014-10-20 06:32:03 da2ce7 has joined
477 2014-10-20 06:40:40 Jokosh has quit (Read error: Connection reset by peer)
478 2014-10-20 06:40:40 enitiz has quit (Remote host closed the connection)
479 2014-10-20 06:40:48 O01eg has quit (Quit: O01eg)
480 2014-10-20 06:40:54 Jokosh has joined
481 2014-10-20 06:48:14 REiN^ has quit ()
482 2014-10-20 06:48:22 REiN^ has joined
483 2014-10-20 06:48:40 cadaver has quit (Ping timeout: 255 seconds)
484 2014-10-20 06:50:54 CheckDavid has joined
485 2014-10-20 06:51:14 MoALTz has quit (Read error: Connection reset by peer)
486 2014-10-20 06:52:49 MoALTz has joined
487 2014-10-20 06:53:58 abossard_ has joined
488 2014-10-20 06:55:51 ericmuyser has quit (Remote host closed the connection)
489 2014-10-20 06:58:05 Dr-G2 has quit (Remote host closed the connection)
490 2014-10-20 06:58:30 Dr-G2 has joined
491 2014-10-20 06:59:36 DougieBot5000 has quit (Quit: Leaving)
492 2014-10-20 07:01:27 MoALTz has quit (Quit: Leaving)
493 2014-10-20 07:03:54 abossard_ has quit (Remote host closed the connection)
494 2014-10-20 07:05:13 abossard_ has joined
495 2014-10-20 07:05:19 Logicwax has quit (Quit: rm -rf /)
496 2014-10-20 07:05:24 dustcoin has quit ()
497 2014-10-20 07:11:11 jtimon has joined
498 2014-10-20 07:11:22 akstunt600 has quit (Read error: Connection reset by peer)
499 2014-10-20 07:11:52 banghouse has quit (Remote host closed the connection)
500 2014-10-20 07:12:16 akstunt600 has joined
501 2014-10-20 07:15:44 CryptDrift has quit (Ping timeout: 260 seconds)
502 2014-10-20 07:18:35 cadaver has joined
503 2014-10-20 07:20:31 Logicwax has joined
504 2014-10-20 07:23:04 hmmma1 has quit (Ping timeout: 272 seconds)
505 2014-10-20 07:23:27 AaronvanW has joined
506 2014-10-20 07:24:14 neozaru has quit (Remote host closed the connection)
507 2014-10-20 07:25:22 cadaver has quit (Remote host closed the connection)
508 2014-10-20 07:25:56 Beef has quit (Ping timeout: 255 seconds)
509 2014-10-20 07:26:41 ericmuyser has joined
510 2014-10-20 07:27:48 NewLiberty has joined
511 2014-10-20 07:28:28 Eiii has quit ()
512 2014-10-20 07:29:23 oujh has quit (Read error: Connection reset by peer)
513 2014-10-20 07:30:21 btcftw21 has quit ()
514 2014-10-20 07:30:24 Lightsword has joined
515 2014-10-20 07:32:32 serialbandicoot has joined
516 2014-10-20 07:33:44 robbak has joined
517 2014-10-20 07:33:44 robbak has quit (Changing host)
518 2014-10-20 07:33:44 robbak has joined
519 2014-10-20 07:34:07 NewLiberty has quit (Read error: Connection reset by peer)
520 2014-10-20 07:34:41 YoY has joined
521 2014-10-20 07:34:45 oujh has joined
522 2014-10-20 07:35:20 Lightsword has quit (Ping timeout: 260 seconds)
523 2014-10-20 07:38:11 syst3mw0rm has joined
524 2014-10-20 07:39:09 NewLiberty has joined
525 2014-10-20 07:40:34 da2ce7 has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzzâ¦)
526 2014-10-20 07:41:26 syst3mw0_ has joined
527 2014-10-20 07:43:13 YoY has quit (Quit: Leaving...)
528 2014-10-20 07:43:37 sinetek has quit (Ping timeout: 240 seconds)
529 2014-10-20 07:44:46 YoY has joined
530 2014-10-20 07:44:54 syst3mw0rm has quit (Ping timeout: 244 seconds)
531 2014-10-20 07:46:24 Beef has joined
532 2014-10-20 07:46:58 easye has joined
533 2014-10-20 07:47:31 serbianscammer has quit (Quit: Connection closed for inactivity)
534 2014-10-20 07:49:01 jMyles has quit (Ping timeout: 250 seconds)
535 2014-10-20 07:49:36 syst3mw0rm has joined
536 2014-10-20 07:51:09 YoY has quit (Quit: Leaving...)
537 2014-10-20 07:52:45 YoY has joined
538 2014-10-20 07:52:48 syst3mw0_ has quit (Ping timeout: 245 seconds)
539 2014-10-20 07:56:55 RoboTeddy has quit (Ping timeout: 245 seconds)
540 2014-10-20 07:58:36 AaronvanW has quit (Ping timeout: 265 seconds)
541 2014-10-20 08:01:08 Eagle[TM] has joined
542 2014-10-20 08:03:19 jtimon has quit (Ping timeout: 250 seconds)
543 2014-10-20 08:04:34 akstunt600 has quit (Read error: Connection reset by peer)
544 2014-10-20 08:05:20 akstunt600 has joined
545 2014-10-20 08:05:31 ericmuyser has quit (Ping timeout: 272 seconds)
546 2014-10-20 08:07:35 tarantillo_ has quit (Remote host closed the connection)
547 2014-10-20 08:07:51 tarantillo_ has joined
548 2014-10-20 08:08:32 benrcole has joined
549 2014-10-20 08:11:13 t7 has joined
550 2014-10-20 08:11:16 aschildbach has joined
551 2014-10-20 08:12:00 jtimon has joined
552 2014-10-20 08:19:31 Grouver has joined
553 2014-10-20 08:20:15 Lightsword has joined
554 2014-10-20 08:20:47 lclc_bnc is now known as lclc
555 2014-10-20 08:21:30 rdymac has joined
556 2014-10-20 08:26:14 WormDrink has quit (Ping timeout: 244 seconds)
557 2014-10-20 08:26:51 baldur has joined
558 2014-10-20 08:27:01 enitiz has joined
559 2014-10-20 08:28:34 Diablo-D3 has joined
560 2014-10-20 08:29:20 inf101 has quit ()
561 2014-10-20 08:29:45 timothy has joined
562 2014-10-20 08:30:34 JackH has joined
563 2014-10-20 08:31:32 arowser1 has joined
564 2014-10-20 08:31:45 arowser has quit (Quit: Leaving.)
565 2014-10-20 08:32:43 weilu has quit (Remote host closed the connection)
566 2014-10-20 08:35:18 Centaure has joined
567 2014-10-20 08:35:41 mmozeiko has quit (Ping timeout: 255 seconds)
568 2014-10-20 08:37:29 graingert has joined
569 2014-10-20 08:38:38 Lightsword has quit (Ping timeout: 245 seconds)
570 2014-10-20 08:39:10 mmozeiko has joined
571 2014-10-20 08:39:24 damethos has quit (Quit: Bye)
572 2014-10-20 08:42:04 graingert has quit (Ping timeout: 255 seconds)
573 2014-10-20 08:46:27 go1111111 has quit (Ping timeout: 265 seconds)
574 2014-10-20 08:49:20 Lightsword has joined
575 2014-10-20 08:50:31 graingert has joined
576 2014-10-20 08:53:28 AaronvanW has joined
577 2014-10-20 08:53:55 indy has quit (Ping timeout: 246 seconds)
578 2014-10-20 08:54:10 Lightsword has quit (Ping timeout: 258 seconds)
579 2014-10-20 08:55:01 knotwork has quit (Ping timeout: 272 seconds)
580 2014-10-20 08:56:31 WormDrink has joined
581 2014-10-20 08:57:54 akstunt600 has quit (Read error: Connection reset by peer)
582 2014-10-20 08:58:54 akstunt600 has joined
583 2014-10-20 09:01:28 ericmuyser has joined
584 2014-10-20 09:01:59 go1111111 has joined
585 2014-10-20 09:03:18 benrcole1 has joined
586 2014-10-20 09:03:32 djcoin_ has quit (Quit: djcoin_)
587 2014-10-20 09:04:12 indy has joined
588 2014-10-20 09:05:07 benrcole has quit (Ping timeout: 246 seconds)
589 2014-10-20 09:09:36 DigiByteDev has joined
590 2014-10-20 09:11:06 WeCluster has quit (Ping timeout: 265 seconds)
591 2014-10-20 09:11:18 DigiByteDev has quit (Client Quit)
592 2014-10-20 09:11:25 roconnor has quit (Ping timeout: 246 seconds)
593 2014-10-20 09:11:41 Uglux has joined
594 2014-10-20 09:12:48 banghouse has joined
595 2014-10-20 09:12:51 WeCluster has joined
596 2014-10-20 09:12:54 zwischenzug3 has quit (Quit: Leaving)
597 2014-10-20 09:12:54 spinza has quit (Excess Flood)
598 2014-10-20 09:13:18 spinza has joined
599 2014-10-20 09:13:18 spinza has quit (Excess Flood)
600 2014-10-20 09:13:48 spinza has joined
601 2014-10-20 09:16:54 AaronvanW has quit (Ping timeout: 265 seconds)
602 2014-10-20 09:17:20 banghouse has quit (Ping timeout: 245 seconds)
603 2014-10-20 09:23:44 chris2000 has joined
604 2014-10-20 09:24:02 saulimus has joined
605 2014-10-20 09:25:02 segy has quit (Excess Flood)
606 2014-10-20 09:25:20 segy has joined
607 2014-10-20 09:25:24 RagnarDanneskjol has quit (Ping timeout: 260 seconds)
608 2014-10-20 09:27:32 indy has quit (Ping timeout: 258 seconds)
609 2014-10-20 09:27:50 amdroid has joined
610 2014-10-20 09:29:05 chris200_ has joined
611 2014-10-20 09:31:32 chris20__ has joined
612 2014-10-20 09:31:32 chris200_ has quit (Read error: Connection reset by peer)
613 2014-10-20 09:32:07 easye has quit (Read error: Connection reset by peer)
614 2014-10-20 09:32:17 chris2000 has quit (Ping timeout: 272 seconds)
615 2014-10-20 09:32:21 easye has joined
616 2014-10-20 09:32:38 chris20__ has quit (Client Quit)
617 2014-10-20 09:32:55 JZavala has quit (Ping timeout: 255 seconds)
618 2014-10-20 09:33:31 weilu has joined
619 2014-10-20 09:34:30 weilu has quit (Read error: Connection reset by peer)
620 2014-10-20 09:41:14 macboz has joined
621 2014-10-20 09:44:36 okae has joined
622 2014-10-20 09:45:28 indy has joined
623 2014-10-20 09:45:59 MKCoin has joined
624 2014-10-20 09:52:01 hearn has joined
625 2014-10-20 09:53:13 mkarrer has joined
626 2014-10-20 09:54:13 mrebola has quit (Quit: Leaving)
627 2014-10-20 09:57:02 Uglux has quit (Remote host closed the connection)
628 2014-10-20 09:58:14 Hasimir has quit (Read error: Connection reset by peer)
629 2014-10-20 10:01:15 won9 has joined
630 2014-10-20 10:02:38 AaronvanW has joined
631 2014-10-20 10:04:22 orperelman has joined
632 2014-10-20 10:07:30 lclc is now known as lclc_bnc
633 2014-10-20 10:07:57 aulait has quit (Max SendQ exceeded)
634 2014-10-20 10:09:45 macboz has quit (Quit: This computer has gone to sleep)
635 2014-10-20 10:11:07 aulait has joined
636 2014-10-20 10:12:53 orperelman has quit (Ping timeout: 250 seconds)
637 2014-10-20 10:12:58 ericmuyser has quit (Ping timeout: 255 seconds)
638 2014-10-20 10:14:41 CheckDavid has quit (Quit: Connection closed for inactivity)
639 2014-10-20 10:15:16 torsthaldo has joined
640 2014-10-20 10:16:31 benrcole has joined
641 2014-10-20 10:17:47 rothschild has joined
642 2014-10-20 10:18:29 <hearn> good day
643 2014-10-20 10:19:31 sdfvsfgvsdf has joined
644 2014-10-20 10:19:47 benrcole1 has quit (Ping timeout: 272 seconds)
645 2014-10-20 10:20:15 Lightsword has joined
646 2014-10-20 10:23:26 <wumpus> hello
647 2014-10-20 10:31:37 AaronvanW has quit (Read error: Connection reset by peer)
648 2014-10-20 10:33:17 benrcole1 has joined
649 2014-10-20 10:33:54 benrcole has quit (Ping timeout: 240 seconds)
650 2014-10-20 10:34:23 weilu has joined
651 2014-10-20 10:35:45 weilu has quit (Read error: Connection reset by peer)
652 2014-10-20 10:39:25 Centaure has quit (Ping timeout: 272 seconds)
653 2014-10-20 10:41:36 chris2000 has joined
654 2014-10-20 10:41:40 Lightsword has quit (Quit: Lightsword)
655 2014-10-20 10:42:04 macboz has joined
656 2014-10-20 10:42:38 lclc_bnc is now known as lclc
657 2014-10-20 10:42:46 ruukasu has quit (Ping timeout: 245 seconds)
658 2014-10-20 10:44:32 akstunt600 has quit (Read error: Connection reset by peer)
659 2014-10-20 10:45:32 akstunt600 has joined
660 2014-10-20 10:46:24 macboz has quit (Ping timeout: 240 seconds)
661 2014-10-20 10:47:25 macboz has joined
662 2014-10-20 10:52:16 ThomasV has joined
663 2014-10-20 10:52:37 damethos has joined
664 2014-10-20 10:54:05 benrcole has joined
665 2014-10-20 10:54:12 benrcole1 has quit (Read error: Connection reset by peer)
666 2014-10-20 10:58:48 benrcole has quit (Ping timeout: 260 seconds)
667 2014-10-20 11:05:23 rfreeman_w has quit (Ping timeout: 264 seconds)
668 2014-10-20 11:06:08 Lightsword has joined
669 2014-10-20 11:07:57 pooler has quit (Ping timeout: 240 seconds)
670 2014-10-20 11:08:02 benrcole has joined
671 2014-10-20 11:09:45 ericmuyser has joined
672 2014-10-20 11:10:42 <CodeShark> hi wumpus
673 2014-10-20 11:10:54 <CodeShark> hi mike
674 2014-10-20 11:11:40 <CodeShark> wumpus: I finished doing what we had talked about yesterday
675 2014-10-20 11:11:47 <CodeShark> pull #5107
676 2014-10-20 11:12:37 <CodeShark> once reviewed, tested, and merged, I'm ready to start working on the abstract callable interface
677 2014-10-20 11:13:15 <wumpus> CodeShark: ok great
678 2014-10-20 11:13:38 banghouse has joined
679 2014-10-20 11:15:39 <wumpus> CodeShark: do we need any changes to the src/qt/rpcconsole.cpp?
680 2014-10-20 11:15:51 <wumpus> (due to the locking move)
681 2014-10-20 11:16:17 <CodeShark> not sure - I didn't touch that
682 2014-10-20 11:17:17 <wumpus> I don't actually think so, as it just calls tableRPC.execute
683 2014-10-20 11:17:50 <wumpus> although: you need to connect the RPC signals always
684 2014-10-20 11:18:07 banghouse has quit (Ping timeout: 246 seconds)
685 2014-10-20 11:18:38 <wumpus> the precommand handler is also used when a RPC command is executed through the GUI
686 2014-10-20 11:18:42 <CodeShark> as far as I know, the locking move just moves the locks one level down the call stack
687 2014-10-20 11:18:55 <CodeShark> there are no other calls in between as far as I know
688 2014-10-20 11:19:03 waxwing has quit (Quit: Leaving)
689 2014-10-20 11:19:05 rfreeman_w has joined
690 2014-10-20 11:19:09 <wumpus> agreed, there is no concern about the locking
691 2014-10-20 11:19:21 hearn has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzzâ¦)
692 2014-10-20 11:19:37 <CodeShark> does the GUI call execute()?
693 2014-10-20 11:19:45 <wumpus> yes
694 2014-10-20 11:19:49 <CodeShark> then it should be fine
695 2014-10-20 11:19:59 <CodeShark> no?
696 2014-10-20 11:20:05 <wumpus> well it needs a change to init
697 2014-10-20 11:20:25 <wumpus> you only call RPCServer::OnPreCommand(&OnRPCPreCommand); if fServer
698 2014-10-20 11:20:33 <CodeShark> ah, right
699 2014-10-20 11:20:36 <wumpus> UI doesn't have fServer by default
700 2014-10-20 11:20:52 blast_ has joined
701 2014-10-20 11:21:03 <CodeShark> so should we just subscribe the handlers no matter what but only start the RPC threads if fServer?
702 2014-10-20 11:21:10 <wumpus> yep
703 2014-10-20 11:21:49 <CodeShark> and it's safe to subscribe them just prior to the if (fServer) ?
704 2014-10-20 11:22:06 <CodeShark> in other words, the GUI won't call the RPC before that?
705 2014-10-20 11:22:09 <wumpus> sure - why not? the UI has its own entry point to start a dummy RPC thread, StartDummyRPCThread(), which is executed after AppInit2
706 2014-10-20 11:22:19 <CodeShark> ok
707 2014-10-20 11:22:23 <wumpus> it certainly won't execute RPC before finishing AppInit2
708 2014-10-20 11:23:11 blast has quit (Ping timeout: 245 seconds)
709 2014-10-20 11:25:15 weilu has joined
710 2014-10-20 11:26:08 waxwing has joined
711 2014-10-20 11:26:52 <CodeShark> ok, just rebased
712 2014-10-20 11:26:59 weilu has quit (Read error: Connection reset by peer)
713 2014-10-20 11:27:54 jtimon has quit (Ping timeout: 240 seconds)
714 2014-10-20 11:27:55 Belkaar has joined
715 2014-10-20 11:28:46 banghouse has joined
716 2014-10-20 11:29:54 sdfvsfgvsdf has quit (Remote host closed the connection)
717 2014-10-20 11:32:07 hearn has joined
718 2014-10-20 11:32:14 imfaust has joined
719 2014-10-20 11:33:26 enitiz has quit (Ping timeout: 255 seconds)
720 2014-10-20 11:33:37 hearn has quit (Client Quit)
721 2014-10-20 11:34:03 gdm85 has joined
722 2014-10-20 11:34:59 <CodeShark> hmm, where are the category-specific LogPrints written?
723 2014-10-20 11:35:07 easye has quit (Read error: Connection reset by peer)
724 2014-10-20 11:35:22 easye has joined
725 2014-10-20 11:36:19 hearn has joined
726 2014-10-20 11:37:59 akstunt600 has quit (Read error: Connection reset by peer)
727 2014-10-20 11:38:56 akstunt600 has joined
728 2014-10-20 11:41:09 enitiz has joined
729 2014-10-20 11:41:28 enitiz_ has joined
730 2014-10-20 11:41:51 enitiz_ has quit (Read error: Connection reset by peer)
731 2014-10-20 11:43:50 rfreeman_w has quit (Remote host closed the connection)
732 2014-10-20 11:45:26 one0one has quit ()
733 2014-10-20 11:45:34 rfreeman_w has joined
734 2014-10-20 11:46:11 eristisk has quit (Ping timeout: 264 seconds)
735 2014-10-20 11:48:59 nullbyte has joined
736 2014-10-20 11:49:13 REiN has joined
737 2014-10-20 11:51:27 luktgf has joined
738 2014-10-20 11:51:37 AaronvanW has joined
739 2014-10-20 11:51:42 REiN^ has quit (Ping timeout: 260 seconds)
740 2014-10-20 11:52:03 aschildbach has quit (Read error: Connection reset by peer)
741 2014-10-20 11:53:04 pooler has joined
742 2014-10-20 11:53:33 REiN has quit (Client Quit)
743 2014-10-20 11:53:43 REiN^ has joined
744 2014-10-20 11:54:13 oujh has quit (Ping timeout: 255 seconds)
745 2014-10-20 11:55:24 <wumpus> to debug.log if you provide -debug=<category>
746 2014-10-20 11:56:41 ekafeman42 has joined
747 2014-10-20 11:57:10 <CodeShark> so should we add an rpc category?
748 2014-10-20 11:57:53 <wumpus> if you think that's useful, sure; I'm not sure (for example) logging every prerpccommand signal invocation is useful tho
749 2014-10-20 11:58:14 waxwing has quit (Quit: Leaving)
750 2014-10-20 11:58:24 ThomasV has quit (Ping timeout: 240 seconds)
751 2014-10-20 11:58:29 <wumpus> eh
752 2014-10-20 11:58:34 <wumpus> there *IS* a rpc debug category
753 2014-10-20 11:58:42 <CodeShark> oh, right :)
754 2014-10-20 11:58:42 benrcole has quit (Ping timeout: 272 seconds)
755 2014-10-20 11:58:57 <CodeShark> well, it's certainly useful for testing and debugging - and logging every rpc command is absolutely essential for auditing
756 2014-10-20 11:59:18 <wumpus> that already happens LogPrint("rpc", "ThreadRPCServer method=%s\n", strMethod);
757 2014-10-20 11:59:23 nullbyte has quit (Quit: leaving)
758 2014-10-20 11:59:39 <CodeShark> I just added the tracers to make sure the signal mechanism was working
759 2014-10-20 12:00:00 <wumpus> I'd do the same, I'd just take them out after I was assured of that :)
760 2014-10-20 12:00:56 <CodeShark> ok, not a problem - just kill the last commit :)
761 2014-10-20 12:01:13 <CodeShark> err, the penultimate one
762 2014-10-20 12:01:47 Aquent has quit (Ping timeout: 264 seconds)
763 2014-10-20 12:01:58 <wumpus> if you do want to keep at least move them to the rpc category,but as said I personally don't think multiple log entries per RPC command are useful
764 2014-10-20 12:02:16 pooler has quit (Ping timeout: 260 seconds)
765 2014-10-20 12:02:34 <wumpus> if you're paranoid about the signal mechanism failing, add a unit test for it :)
766 2014-10-20 12:03:02 <CodeShark> nah, not paranoid about the signal mechanism itself failing - that only really needs to be tested once. more afraid of issues in handlers
767 2014-10-20 12:03:17 benrcole has joined
768 2014-10-20 12:03:36 <CodeShark> in my own code I usually err on the side of having too many tracers rather than too few
769 2014-10-20 12:03:50 <wumpus> the thing is, debugging and troubleshooting is incredibly personal
770 2014-10-20 12:03:54 <CodeShark> it helps diagnose things like server crashes
771 2014-10-20 12:04:02 <CodeShark> when you don't happen to have a debugger running
772 2014-10-20 12:04:04 <wumpus> one person likes trace calls all over the place, others use gdb and a breakpoint/tracepoint, etc
773 2014-10-20 12:04:47 <wumpus> the logging mechanism is not meant or that, though
774 2014-10-20 12:04:59 HANTI is now known as hanti
775 2014-10-20 12:05:07 <CodeShark> anyhow, it isn't really a big deal - I can take them out
776 2014-10-20 12:05:32 <wumpus> especially log messages without category should be used extremely sparsely
777 2014-10-20 12:06:35 <CodeShark> that's fine - I'll remove all of them once we've tested
778 2014-10-20 12:07:06 nullbyte has joined
779 2014-10-20 12:08:01 <CodeShark> in any case, the OnPreCommand thing will be taken out once we have the abstract callable interface
780 2014-10-20 12:08:18 <wumpus> I don't have any problems with the signal itself
781 2014-10-20 12:08:34 <CodeShark> the callable objects will have a pre and post method
782 2014-10-20 12:08:39 <CodeShark> virtual methods
783 2014-10-20 12:08:48 imfaust has quit (Ping timeout: 260 seconds)
784 2014-10-20 12:09:05 <CodeShark> and will implement operator()
785 2014-10-20 12:09:36 <CodeShark> the constructor can take a functional - or a lambda (are we using C++11 yet?)
786 2014-10-20 12:09:58 <wumpus> isn't just operator () enough? pre- and post handlers can be implicit
787 2014-10-20 12:10:13 <wumpus> no, we're not using C++11
788 2014-10-20 12:10:35 <CodeShark> pre- and post- handlers mean we can inherit them and only overload operator ()
789 2014-10-20 12:11:17 <wumpus> I don't know - I generally prefer RAII to explicit context setup/teardown, and pre and post handlers force that
790 2014-10-20 12:11:41 <wumpus> also it means having to handle exceptions specially? (will post() be called in case of exception?)
791 2014-10-20 12:11:53 <CodeShark> currently no
792 2014-10-20 12:12:08 <wumpus> so that means any cleanup will not be done in case of an exception
793 2014-10-20 12:12:09 <CodeShark> post() is only called if the call returns normally
794 2014-10-20 12:12:32 Zarutian has joined
795 2014-10-20 12:12:35 Raziel has joined
796 2014-10-20 12:12:46 <CodeShark> I guess it depends on what we want to be able to do
797 2014-10-20 12:12:53 Zarutian has quit (Read error: Connection reset by peer)
798 2014-10-20 12:13:10 <CodeShark> I wasn't looking at pre and post as setting up and cleaning up a context
799 2014-10-20 12:13:28 Uglux has joined
800 2014-10-20 12:13:33 hanti is now known as HANTI
801 2014-10-20 12:13:36 Zarutian has joined
802 2014-10-20 12:14:15 <CodeShark> if we don't have explicit pre and post methods, does this mean we have to call a base class operator () explicitly?
803 2014-10-20 12:14:40 <CodeShark> I guess the style I was after was something along the lines of:
804 2014-10-20 12:15:37 <CodeShark> rpcServer.addCommand(CRPCCommand("getinfo", [&](const params_t& params) { // do something }));
805 2014-10-20 12:16:03 <wumpus> dunno - the most flexibility you'd get if you could wrap a callable around another callable
806 2014-10-20 12:16:08 <CodeShark> we could also pass help info and param boundaries into the constructor
807 2014-10-20 12:16:12 brianhoffman has joined
808 2014-10-20 12:16:40 <wumpus> anyhow, let's use what makes sense
809 2014-10-20 12:17:11 <CodeShark> I guess we could do something like rpcServer.addCommand(SafeModeEnabledRPCCommand(â¦.))
810 2014-10-20 12:17:21 <CodeShark> or hmm - a callable in another callable
811 2014-10-20 12:18:27 <wumpus> or a BitcoinRPCCommand(), that is a subclass of RPCCommand() that takes a boolean whether to allow the command in safe mode, that would be the simplest transition from the table
812 2014-10-20 12:18:46 <CodeShark> right
813 2014-10-20 12:19:45 <CodeShark> at what level does it make sense to do parameter type-checking and validation?
814 2014-10-20 12:20:12 <CodeShark> I mean, in general, some validation obviously cannot be done outside the method itself
815 2014-10-20 12:20:50 <wumpus> I wouldn't change too much there
816 2014-10-20 12:21:00 waxwing has joined
817 2014-10-20 12:21:09 <wumpus> let's keep that the responsibility of the called function itself
818 2014-10-20 12:22:23 hashtag has joined
819 2014-10-20 12:22:33 <CodeShark> this is something along these lines I put together a while back: https://github.com/ciphrex/CoinVault/blob/master/deps/cli/src/cli.hpp
820 2014-10-20 12:23:28 <CodeShark> example usage: https://github.com/ciphrex/CoinVault/blob/master/deps/CoinDB/tools/coindb/src/coindb.cpp#L1057
821 2014-10-20 12:24:32 damethos has quit (Quit: Bye)
822 2014-10-20 12:24:40 <CodeShark> it handles help messages with parameter names and checks parameter number (but not type)
823 2014-10-20 12:25:05 pooler has joined
824 2014-10-20 12:25:08 pooler has quit (Changing host)
825 2014-10-20 12:25:08 pooler has joined
826 2014-10-20 12:26:07 weilu has joined
827 2014-10-20 12:26:26 <wumpus> I still think it makes sense to do that in the functions themselves, to have everything in one place
828 2014-10-20 12:26:44 weilu has quit (Read error: No route to host)
829 2014-10-20 12:27:10 <CodeShark> yeah, it's the most flexible approach - just requires rewriting the same type of conditionals to check parameters for each function - but I don't really mind
830 2014-10-20 12:27:49 <CodeShark> the help messages are intended for humans, not for machines
831 2014-10-20 12:27:57 <CodeShark> it's not really an introspection mechanism
832 2014-10-20 12:28:09 <wumpus> otherwise you end up with some description language, which is always incomplete anyway, and is another thing contributors need to learn... I prefer code that is direct, and doesn't put obvious things behind too many layers of abstraction
833 2014-10-20 12:28:18 <CodeShark> yeah, agreed
834 2014-10-20 12:28:54 <wumpus> I mean there would be an obvious advantage to describing the parameters in some form: JSON RPC introspection, there is actually a sort of standard for that
835 2014-10-20 12:29:07 <wumpus> but I think it's quite a detour
836 2014-10-20 12:29:37 <CodeShark> if we don't need it now and our architecture in principle allows us to add something like that later I'm all for skipping that for now :)
837 2014-10-20 12:29:44 <wumpus> better to spend our limited energy on things we actually need
838 2014-10-20 12:29:45 <wumpus> right :)
839 2014-10-20 12:30:49 ruukasu has joined
840 2014-10-20 12:31:12 akstunt600 has quit (Read error: Connection reset by peer)
841 2014-10-20 12:32:12 akstunt600 has joined
842 2014-10-20 12:34:23 <wumpus> does anyone perhaps have code to assure UTXO set integrity? ie, hash the whole UTXO set, as to compare with another node at the same height?
843 2014-10-20 12:34:33 mkarrer has quit (Remote host closed the connection)
844 2014-10-20 12:34:58 wallet42 has joined
845 2014-10-20 12:35:08 wallet42 has quit (Changing host)
846 2014-10-20 12:35:08 wallet42 has joined
847 2014-10-20 12:35:22 <Luke-Jr> wumpus: bitcoind does..?
848 2014-10-20 12:35:31 <Luke-Jr> at least, it will give you a hash to compare..
849 2014-10-20 12:35:32 <wumpus> Luke-Jr: how?
850 2014-10-20 12:35:37 xenog has joined
851 2014-10-20 12:35:48 <Luke-Jr> I don't recall, but we have a RPC to get a UTXO hash
852 2014-10-20 12:37:09 <wumpus> ah, gettxoutsetinfo has a hash
853 2014-10-20 12:37:14 <wumpus> thanks :)
854 2014-10-20 12:37:17 ericmuyser has quit (Ping timeout: 258 seconds)
855 2014-10-20 12:37:42 <Luke-Jr> âº
856 2014-10-20 12:39:53 ThomasV has joined
857 2014-10-20 12:40:15 enitiz has quit (Remote host closed the connection)
858 2014-10-20 12:40:51 <wumpus> curiously, it computes the statistics on the backing database, but doesn't first Flush pcoinsTip
859 2014-10-20 12:42:06 <wumpus> (not sure this is actually an issue in practice, but it looks like it could result in problems determining *at which height* we're really computing it)
860 2014-10-20 12:45:31 <CodeShark> when are we going to be moving to C++11? or C++14?
861 2014-10-20 12:46:15 <wumpus> (ah, no, the RPC conveniently returns a height, which is actually the height of the backing store, great)
862 2014-10-20 12:46:59 <wumpus> I'd like to start using at least some C++11 functionality for 0.11, this is in practice restricted by the compilers we're using
863 2014-10-20 12:47:27 brianhoffman has quit (Quit: brianhoffman)
864 2014-10-20 12:47:55 brianhoffman has joined
865 2014-10-20 12:48:12 brianhoffman has quit (Client Quit)
866 2014-10-20 12:48:13 SDCDev has quit (Ping timeout: 255 seconds)
867 2014-10-20 12:48:34 <CodeShark> which compilers? I only see gcc
868 2014-10-20 12:48:40 <wumpus> gcc and clang
869 2014-10-20 12:48:52 <wumpus> but it's not so much about which compilers, but the versions
870 2014-10-20 12:48:56 <CodeShark> they both support C++11, at least gcc 4.8 and above
871 2014-10-20 12:49:30 <CodeShark> and clang with llvm v3.3
872 2014-10-20 12:49:40 <wumpus> that's not the point though; does the gitian environment that we use to build releases support it, and can it be done keeping binary compatibility with older linux releases
873 2014-10-20 12:50:35 <CodeShark> it requires a different runtime library - but you should be able to statically link it. I guess there could be some issues for really old OSes
874 2014-10-20 12:50:58 <wumpus> statically linking libc++/libc is potentially dangerous, we don't do that
875 2014-10-20 12:51:07 <t7> wumpus: how so?
876 2014-10-20 12:51:12 <wumpus> we do have some compatibility framework in place though
877 2014-10-20 12:51:26 <wumpus> t7: has to do with name resolution/nss, and some other things, I suggest google
878 2014-10-20 12:52:09 <t7> ah ok
879 2014-10-20 12:52:55 vmatekol_ has joined
880 2014-10-20 12:53:30 jMyles has joined
881 2014-10-20 12:53:44 <CodeShark> we don't even statically link it for windows?
882 2014-10-20 12:54:10 <wumpus> on windows you can't even fully statically link everything, you always need to use dlls
883 2014-10-20 12:54:58 <CodeShark> you mean dlls that we distribute? or dlls that we can safely assume to be preinstalled?
884 2014-10-20 12:54:59 <wumpus> anyhow, windows is a completely different case from linux here
885 2014-10-20 12:55:07 <wumpus> operating system dlls
886 2014-10-20 12:55:15 imfaust has joined
887 2014-10-20 12:55:16 <wumpus> *everthing* is a dll on windows, even the kernel
888 2014-10-20 12:55:31 <CodeShark> well, of course - I'm specifically talking about the gcc runtime libraries
889 2014-10-20 12:55:38 <CodeShark> mingw stuff
890 2014-10-20 12:55:49 <wumpus> mingw can be safely statically linked on windows
891 2014-10-20 12:55:57 vmatekole has quit (Ping timeout: 240 seconds)
892 2014-10-20 12:56:21 skinnkavaj has quit ()
893 2014-10-20 12:56:32 aliasaila__ has joined
894 2014-10-20 12:57:30 <CodeShark> I haven't been trying to build for ancient linux versions - but the only OS I've really had at least a little bit of a struggle with so far (other than archaic windows xp and the like) is OS X v10.6 or before
895 2014-10-20 12:57:46 <wumpus> on linux you should regard the interface against libc as an operating system interface, for better or worse, I'm not 100% sure about libstdc++ though, but I know cfields looked into it at some point and decided it would be either dangerous or too much hassle to link that statically
896 2014-10-20 12:58:11 <CodeShark> libstdc++ and libc++ are mutually incompatible
897 2014-10-20 12:58:34 <wumpus> I don't know what's the difference between those
898 2014-10-20 12:58:39 Andymeows has joined
899 2014-10-20 12:58:57 <wumpus> i mean libstdc++.so.6
900 2014-10-20 12:59:03 <CodeShark> completely different implementations - they use different underlying representations for core datatypes
901 2014-10-20 12:59:15 jgarzik has quit (Quit: Leaving)
902 2014-10-20 12:59:23 aliasaila_ has quit (Ping timeout: 272 seconds)
903 2014-10-20 12:59:25 Andrewmeows has joined
904 2014-10-20 12:59:36 <wumpus> ok but what's your point,that we could use another c++ standard lib?
905 2014-10-20 12:59:42 JackH has quit (Quit: JackH)
906 2014-10-20 13:00:10 <CodeShark> no, just saying that mixing these two libraries on a single OS can be dangerous
907 2014-10-20 13:00:17 Skirmant has joined
908 2014-10-20 13:00:30 serbianscammer has joined
909 2014-10-20 13:00:30 <wumpus> right - so that's what makes it dangerous to static link, understood
910 2014-10-20 13:01:16 Skirmant has quit (Remote host closed the connection)
911 2014-10-20 13:01:25 <wumpus> at least if you statically link the c++ library you should make sure that you statically link *every* other c++ library as well, to avoid interaction with the system there
912 2014-10-20 13:01:27 won9 has quit (Quit: won9)
913 2014-10-20 13:01:33 <CodeShark> OS X 10.7 is a little annoying because some lib distributions use one library and some use the other
914 2014-10-20 13:01:42 Skirmant has joined
915 2014-10-20 13:01:59 <CodeShark> so you have to consistently use only one or the other for the entire project
916 2014-10-20 13:02:02 <wumpus> (and it rules out any kind of dynamic loading, not that we use that)
917 2014-10-20 13:02:34 <wumpus> yes that sounds very annoying
918 2014-10-20 13:03:10 Andymeows has quit (Ping timeout: 244 seconds)
919 2014-10-20 13:03:17 Skirmant has quit (Remote host closed the connection)
920 2014-10-20 13:03:19 <wumpus> sounds like the situation on windows, where MSVC is abi-incompatible with MINGW, so a c++ library compiled for one is useless for the other
921 2014-10-20 13:06:35 serbianscammer is now known as MansaMusa
922 2014-10-20 13:06:50 <wumpus> no such issue on linux, but on linux the most annoying issue is to ship a GUI that can run on various linux distributions and still uses the system theme/desktop integration
923 2014-10-20 13:07:12 <CodeShark> I've all but given up on that one :)
924 2014-10-20 13:07:29 <CodeShark> I figure if you use linux desktop, I'll give you the source code and you can figure that out for yourself :p
925 2014-10-20 13:07:50 <CodeShark> it's the windows and mac users I'm more concerned about, regarding GUI cleanliness
926 2014-10-20 13:08:10 <wumpus> well the problem is that people already have an expectation, you cannot just drop something in a new version
927 2014-10-20 13:08:25 <wumpus> if you're making new software it isn't that much of an issue :)
928 2014-10-20 13:08:41 <hearn> matching system themes is so 2001 :)
929 2014-10-20 13:09:04 <hearn> lighthouse takes the same approach web apps do - screw the users theme, let's just make it visually attractive with its own style.
930 2014-10-20 13:09:27 <wumpus> I don't want 'a style', I just want a functional GUI with as little hassle as possible
931 2014-10-20 13:09:52 syst3mw0rm has quit (Ping timeout: 260 seconds)
932 2014-10-20 13:09:58 <wumpus> the better if it integrates into the system and stays on the background
933 2014-10-20 13:10:16 DigiByteDev has joined
934 2014-10-20 13:11:43 crunk-juice has joined
935 2014-10-20 13:12:10 Andrewmeows has quit (Ping timeout: 272 seconds)
936 2014-10-20 13:12:31 <CodeShark> it's more about consistency in look and feel - for the sake of usability (and not only aesthetics)
937 2014-10-20 13:13:03 <wumpus> consistency to me means that different applications on an OS look and behave similarly
938 2014-10-20 13:13:14 <CodeShark> a well-designed GUI should be practically self-explanatory to a user accustomed to the environment
939 2014-10-20 13:13:18 CheckDavid has joined
940 2014-10-20 13:13:49 eristisk has joined
941 2014-10-20 13:14:46 <wumpus> right, so if people know a certain widget it should ideally behave in a certain way across the OS
942 2014-10-20 13:15:01 banghouse has quit (Remote host closed the connection)
943 2014-10-20 13:15:17 <wumpus> I'm personally not really happy about webapps because of that, all try to invent their own, be as flashy as possible, etc
944 2014-10-20 13:16:58 <CodeShark> flash is sooo 2003 :p
945 2014-10-20 13:17:32 <wumpus> alas, it's just as possible to be 'flashy' with html5 :p
946 2014-10-20 13:17:39 <michagogo> Ooh, headers-first is in?
947 2014-10-20 13:17:44 <wumpus> michagogo: yes
948 2014-10-20 13:18:02 * michagogo just pulled on the machine running his master node
949 2014-10-20 13:18:37 <michagogo> master/tri-stack/dual-network
950 2014-10-20 13:18:49 <CodeShark> there's nothing wrong with eye candy in a UIâ¦as long as it communicates something important and isn't just there to make you forget how horrible the app really is
951 2014-10-20 13:19:29 <michagogo> Hm, maybe I should nuke the datadir blocks/ / chainstate/
952 2014-10-20 13:19:39 <wumpus> michagogo: why?
953 2014-10-20 13:19:54 <wumpus> it should just work
954 2014-10-20 13:19:57 <michagogo> See how it actually does
955 2014-10-20 13:20:03 <wumpus> oh, okay
956 2014-10-20 13:20:07 <michagogo> wumpus: well, just to test it :)
957 2014-10-20 13:20:16 <michagogo> Yeah, I know it's not needed :D
958 2014-10-20 13:20:29 <CodeShark> it's the only way to really benchmark it
959 2014-10-20 13:20:37 <Luke-Jr> CodeShark: probably more important than the gitian versions, we need to support compiling on stable versions of at least Debian, RedHat, Gentoo, etc⦠it's usually RedHat that holds us back
960 2014-10-20 13:21:59 <CodeShark> why do people still use RedHat?
961 2014-10-20 13:22:13 <wumpus> commercial support
962 2014-10-20 13:22:38 <CodeShark> in my experience, the commercial support for RedHat has been inferior to just google searches I do on debian, gentoo, or ubuntu :p
963 2014-10-20 13:22:51 <wumpus> agree on that
964 2014-10-20 13:23:18 <wumpus> but if you're a big company, I guess you can get things done from them
965 2014-10-20 13:23:39 enitiz has joined
966 2014-10-20 13:24:30 <CodeShark> I guess once you get hooked into them you're stuck with all the legacy crap
967 2014-10-20 13:24:31 akstunt600 has quit (Read error: Connection reset by peer)
968 2014-10-20 13:24:53 <CodeShark> and big companies have too much inertia to retrofit their IT infrastructure
969 2014-10-20 13:25:16 akstunt600 has joined
970 2014-10-20 13:25:20 Skirmant has joined
971 2014-10-20 13:26:25 <michagogo> (also, ccache ftw...)
972 2014-10-20 13:26:29 <CodeShark> in any case, huge bureaucracies have other sources of grave inefficiencies that probably dwarf their IT department inefficiencies
973 2014-10-20 13:26:47 weilu has joined
974 2014-10-20 13:26:56 <wumpus> right
975 2014-10-20 13:28:13 aquarat2 has joined
976 2014-10-20 13:28:32 weilu has quit (Read error: Connection reset by peer)
977 2014-10-20 13:28:54 weilu has joined
978 2014-10-20 13:28:57 kruug has left ()
979 2014-10-20 13:29:51 benrcole1 has joined
980 2014-10-20 13:30:10 weilu has quit (Read error: No route to host)
981 2014-10-20 13:30:11 benrcole has quit (Ping timeout: 258 seconds)
982 2014-10-20 13:30:49 benrcole1 has quit (Client Quit)
983 2014-10-20 13:31:52 ilovebitcoinfr has joined
984 2014-10-20 13:31:57 <ilovebitcoinfr> hi
985 2014-10-20 13:32:16 <ilovebitcoinfr> Which PBKDF2 library does Bitcoin-core Qt app use?
986 2014-10-20 13:32:16 aquarat has quit (Ping timeout: 260 seconds)
987 2014-10-20 13:32:53 <wumpus> openssl
988 2014-10-20 13:33:27 <ilovebitcoinfr> ok
989 2014-10-20 13:33:36 ericmuyser has joined
990 2014-10-20 13:36:25 <michagogo> So all the 2014-10-20 13:28:30 GetNextWorkRequired RETARGET lines that I'm seeing, those are as it fills in its header chain?
991 2014-10-20 13:36:46 <ilovebitcoinfr> wumpus where do I find the code that deals with password storage of the bitcoin reference Qt client?
992 2014-10-20 13:36:50 <michagogo> And then the 2014-10-20 13:28:51 UpdateTip: new best=00000000ce532079f1135377e7b1b4e7f1ae60f793ff5427e8b2510af911b391 height=1237 log2_work=42.273818 tx=1261 09:13:22 progress=0.000013 cache=1212...
993 2014-10-20 13:37:04 <michagogo> lines are as it fetches those blocks from peers?
994 2014-10-20 13:37:19 <ilovebitcoinfr> i'm searching the github repo but it's full of "password" keyword
995 2014-10-20 13:40:16 damethos has joined
996 2014-10-20 13:43:36 <ilovebitcoinfr> i guess it's in src/crypter.cpp/.h
997 2014-10-20 13:45:07 hearn has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzzâ¦)
998 2014-10-20 13:45:12 <michagogo> What does the "UpdateTip: new best" logline mean now with headers-first?
999 2014-10-20 13:45:35 <blast_> man supressing those boost warnings
1000 2014-10-20 13:46:19 <michagogo> That a block has been processed, validated, and applied to chainstate?
1001 2014-10-20 13:46:22 chris2000 has quit (Ping timeout: 272 seconds)
1002 2014-10-20 13:46:48 <michagogo> ;;blocks
1003 2014-10-20 13:46:48 <gribble> 326167
1004 2014-10-20 13:47:12 gavinandresen_ has joined
1005 2014-10-20 13:47:12 gavinandresen_ has quit (Client Quit)
1006 2014-10-20 13:48:48 <michagogo> And what's the cache= item? I first thought it might have been blocks fetched from peers and waiting to be processed, but then I realized that it was climbing too quickly for that to make sense...
1007 2014-10-20 13:49:01 <michagogo> (and then it passed the length of the blockchain)
1008 2014-10-20 13:50:42 ShawnLeary has quit (Quit: Karma rulez every ting round me.)
1009 2014-10-20 13:51:09 amdroid has quit (Ping timeout: 245 seconds)
1010 2014-10-20 13:51:21 Andymeows has joined
1011 2014-10-20 13:55:37 sinetek has joined
1012 2014-10-20 13:56:54 ionstorm has joined
1013 2014-10-20 13:59:31 <michagogo> Hm, what are your thoughts on putting out an alert for versions prior to getheaders, to notify them that they will actually (finally) be completely unable to connect to 0.10?
1014 2014-10-20 13:59:51 <michagogo> (I'm only half-serious there :P )
1015 2014-10-20 14:00:55 <michagogo> Hm, impressive -- testnet is at progress=0.765438 after just about 10 minutes
1016 2014-10-20 14:01:11 DigiByteDev has quit (Quit: DigiByteDev)
1017 2014-10-20 14:02:14 chris2000 has joined
1018 2014-10-20 14:04:17 johnsoft has quit (Ping timeout: 240 seconds)
1019 2014-10-20 14:05:01 crunk-juice has quit (Remote host closed the connection)
1020 2014-10-20 14:05:12 johnsoft has joined
1021 2014-10-20 14:05:33 crunk-juice has joined
1022 2014-10-20 14:07:25 crunk-ju_ has joined
1023 2014-10-20 14:07:25 crunk-juice has quit (Read error: Connection reset by peer)
1024 2014-10-20 14:08:22 enitiz has quit (Ping timeout: 265 seconds)
1025 2014-10-20 14:08:56 macboz has quit (Quit: This computer has gone to sleep)
1026 2014-10-20 14:13:18 hearn has joined
1027 2014-10-20 14:13:19 DigiByteDev has joined
1028 2014-10-20 14:13:43 agricocb has quit (Quit: Leaving.)
1029 2014-10-20 14:14:38 <wumpus> cache= is the number of entries in the utxo (ccoinsview) cache in memory
1030 2014-10-20 14:15:01 <ekafeman42> can someone help me if they have a min to spare? Trying to send a raw txn using testnet; I'm I've concatenated the version, inputs etc and sha(sha256(hex_data)) ... how do I go about signing this with private key. I can share the privkey if req since it's testnet
1031 2014-10-20 14:17:51 akstunt600 has quit (Read error: Connection reset by peer)
1032 2014-10-20 14:18:50 akstunt600 has joined
1033 2014-10-20 14:21:10 chris200_ has joined
1034 2014-10-20 14:21:10 chris2000 has quit (Read error: Connection reset by peer)
1035 2014-10-20 14:21:33 enitiz has joined
1036 2014-10-20 14:21:38 chris2000 has joined
1037 2014-10-20 14:23:26 Aquent has joined
1038 2014-10-20 14:25:20 crunk-ju_ has quit (Remote host closed the connection)
1039 2014-10-20 14:25:28 hmsimha has joined
1040 2014-10-20 14:25:46 chris200_ has quit (Ping timeout: 265 seconds)
1041 2014-10-20 14:28:20 brianhoffman has joined
1042 2014-10-20 14:28:33 DigiByteDev has quit (Quit: DigiByteDev)
1043 2014-10-20 14:28:40 enitiz has quit (Ping timeout: 265 seconds)
1044 2014-10-20 14:29:39 Skirmant has quit (Remote host closed the connection)
1045 2014-10-20 14:29:57 weilu has joined
1046 2014-10-20 14:31:22 weilu has quit (Read error: No route to host)
1047 2014-10-20 14:34:02 Phlarp has joined
1048 2014-10-20 14:34:43 <blast_> signrawtransaction
1049 2014-10-20 14:36:54 agricocb has joined
1050 2014-10-20 14:37:41 Zarutian has quit (Quit: Zarutian)
1051 2014-10-20 14:38:20 DougieBot5000 has joined
1052 2014-10-20 14:40:57 Centaure has joined
1053 2014-10-20 14:41:14 damethos has quit (Quit: Bye)
1054 2014-10-20 14:42:00 theorbtwo has quit (Ping timeout: 255 seconds)
1055 2014-10-20 14:46:13 chris2000 has quit ()
1056 2014-10-20 14:46:24 SebSebastian has quit (Quit: Leaving)
1057 2014-10-20 14:48:17 SebSebastian has joined
1058 2014-10-20 14:48:36 ericmuyser has quit (Ping timeout: 245 seconds)
1059 2014-10-20 14:48:53 theorbtwo has joined
1060 2014-10-20 14:48:54 JonCharge has joined
1061 2014-10-20 14:49:17 <JonCharge> HeHellodsd
1062 2014-10-20 14:50:07 <JonCharge> Hello, I would like to have 100 BTC (no value) of testnet coins. Is there someone who can perhaps sign that message? I don't expect to return them after product devo.
1063 2014-10-20 14:50:17 <JonCharge> Thank you in advance.
1064 2014-10-20 14:52:34 <JonCharge> I have to check some things, I will return in a bit to follow up.
1065 2014-10-20 14:52:38 JonCharge has quit (Client Quit)
1066 2014-10-20 14:55:52 crunk-juice has joined
1067 2014-10-20 15:00:24 enitiz has joined
1068 2014-10-20 15:11:10 akstunt600 has quit (Read error: Connection reset by peer)
1069 2014-10-20 15:11:54 akstunt600 has joined
1070 2014-10-20 15:12:41 ThomasV has quit (Ping timeout: 260 seconds)
1071 2014-10-20 15:14:11 Subo1977_ has joined
1072 2014-10-20 15:15:55 amdroid has joined
1073 2014-10-20 15:16:01 banghouse has joined
1074 2014-10-20 15:17:23 Subo1977 has quit (Ping timeout: 264 seconds)
1075 2014-10-20 15:20:11 ThomasV has joined
1076 2014-10-20 15:20:24 banghouse has quit (Ping timeout: 240 seconds)
1077 2014-10-20 15:20:55 bedeho has quit (Quit: Nettalk6 - www.ntalk.de)
1078 2014-10-20 15:22:13 O01eg has joined
1079 2014-10-20 15:23:09 DigiByteDev has joined
1080 2014-10-20 15:25:04 banghouse has joined
1081 2014-10-20 15:28:21 SomeoneWeird has quit (Ping timeout: 255 seconds)
1082 2014-10-20 15:28:40 Zarutian has joined
1083 2014-10-20 15:29:25 Zarutian has quit (Read error: Connection reset by peer)
1084 2014-10-20 15:29:42 Zarutian has joined
1085 2014-10-20 15:30:42 weilu has joined
1086 2014-10-20 15:30:46 SomeoneWeird has joined
1087 2014-10-20 15:30:49 SomeoneWeird is now known as Guest12848
1088 2014-10-20 15:31:46 ionstorm has quit (Remote host closed the connection)
1089 2014-10-20 15:32:01 weilu has quit (Read error: No route to host)
1090 2014-10-20 15:34:27 ionstorm has joined
1091 2014-10-20 15:34:39 moarrr has joined
1092 2014-10-20 15:45:21 enitiz has quit (Ping timeout: 260 seconds)
1093 2014-10-20 15:45:39 ericmuyser has joined
1094 2014-10-20 15:49:45 t7 has quit (Quit: home)
1095 2014-10-20 15:50:26 dhill has joined
1096 2014-10-20 15:51:46 Lightsword has quit (Quit: Lightsword)
1097 2014-10-20 15:57:00 fanquake_ has joined
1098 2014-10-20 15:58:24 ruukasu has quit (Ping timeout: 240 seconds)
1099 2014-10-20 15:58:35 PK has joined
1100 2014-10-20 16:00:01 fanquake has quit (Ping timeout: 265 seconds)
1101 2014-10-20 16:00:01 fanquake_ is now known as fanquake
1102 2014-10-20 16:00:08 nowan_ has joined
1103 2014-10-20 16:00:24 nowan has quit (Ping timeout: 244 seconds)
1104 2014-10-20 16:04:31 akstunt600 has quit (Read error: Connection reset by peer)
1105 2014-10-20 16:05:13 neozaru has joined
1106 2014-10-20 16:05:28 akstunt600 has joined
1107 2014-10-20 16:10:25 jedunnigan has joined
1108 2014-10-20 16:10:44 Grouver has quit (Quit: Leaving)
1109 2014-10-20 16:18:59 DigiByteDev has quit (Quit: DigiByteDev)
1110 2014-10-20 16:21:27 abossard_ has quit (Quit: abossard_)
1111 2014-10-20 16:21:53 lclc is now known as lclc_bnc
1112 2014-10-20 16:22:13 profreid has joined
1113 2014-10-20 16:23:14 OneFixt has joined
1114 2014-10-20 16:23:15 gdm85 has quit (Remote host closed the connection)
1115 2014-10-20 16:24:38 MansaMusa is now known as MoltenSea
1116 2014-10-20 16:25:06 t7 has joined
1117 2014-10-20 16:25:36 ruukasu has joined
1118 2014-10-20 16:26:22 Informerop has quit (Remote host closed the connection)
1119 2014-10-20 16:26:22 wiretapped has quit (Remote host closed the connection)
1120 2014-10-20 16:26:36 wiretapped has joined
1121 2014-10-20 16:26:36 Informerop has joined
1122 2014-10-20 16:27:19 Kenstigator has quit (Quit: Leaving.)
1123 2014-10-20 16:28:45 ilovebitcoinfr has quit (Ping timeout: 260 seconds)
1124 2014-10-20 16:31:22 xenog has quit (Read error: Connection reset by peer)
1125 2014-10-20 16:31:36 xenog has joined
1126 2014-10-20 16:32:01 jedunnigan has quit (Ping timeout: 260 seconds)
1127 2014-10-20 16:34:14 ericmuyser has quit (Remote host closed the connection)
1128 2014-10-20 16:34:26 ericmuyser has joined
1129 2014-10-20 16:34:36 serialbandicoot has quit (Quit: serialbandicoot)
1130 2014-10-20 16:38:59 eristisk has quit (Ping timeout: 264 seconds)
1131 2014-10-20 16:41:10 Rozal has joined
1132 2014-10-20 16:41:42 ericmuyser has quit (Remote host closed the connection)
1133 2014-10-20 16:46:54 amdroid has quit (Ping timeout: 240 seconds)
1134 2014-10-20 16:47:58 WormDrink has quit (Ping timeout: 240 seconds)
1135 2014-10-20 16:50:59 owlhooter has quit (Remote host closed the connection)
1136 2014-10-20 16:51:11 ericmuyser has joined
1137 2014-10-20 16:51:36 jedunnigan has joined
1138 2014-10-20 16:55:28 ericmuyser has quit (Ping timeout: 250 seconds)
1139 2014-10-20 16:57:50 akstunt600 has quit (Read error: Connection reset by peer)
1140 2014-10-20 16:58:56 akstunt600 has joined
1141 2014-10-20 17:01:34 Andrewmeows has joined
1142 2014-10-20 17:04:18 Andymeows has quit (Ping timeout: 265 seconds)
1143 2014-10-20 17:07:34 Uglux has quit (Quit: Verlassend)
1144 2014-10-20 17:09:39 MoltenSea is now known as serbianscammer
1145 2014-10-20 17:17:24 imfaust has quit (Ping timeout: 240 seconds)
1146 2014-10-20 17:18:04 amdroid has joined
1147 2014-10-20 17:18:10 wallet42 has quit (Quit: Leaving.)
1148 2014-10-20 17:22:11 mkarrer has joined
1149 2014-10-20 17:24:47 Eagle[TM] has quit (Ping timeout: 258 seconds)
1150 2014-10-20 17:24:58 jMyles has quit (Ping timeout: 240 seconds)
1151 2014-10-20 17:26:13 supermartingale has quit (Quit: Leaving)
1152 2014-10-20 17:26:19 WeCluster has quit (Quit: WeCluster)
1153 2014-10-20 17:26:46 supermartingale has joined
1154 2014-10-20 17:27:32 Zarlboro has joined
1155 2014-10-20 17:29:06 Zarlboro_ has joined
1156 2014-10-20 17:29:11 knotwork has joined
1157 2014-10-20 17:29:11 knotwork has quit (Changing host)
1158 2014-10-20 17:29:11 knotwork has joined
1159 2014-10-20 17:29:15 <Zarlboro_> Can someone help me to read the leveldb index : blocks/index. I try to get the position of a transaction in blok0000$.dat. I managed to read the value with something like leveldb.get('t' + tx_hash), but I don't know how to deserialize this value to get the block offset and the tx offset..
1160 2014-10-20 17:29:51 jMyles has joined
1161 2014-10-20 17:31:36 Zarlboro has quit (Ping timeout: 246 seconds)
1162 2014-10-20 17:32:18 amdroid has quit (Ping timeout: 240 seconds)
1163 2014-10-20 17:33:40 dfletcher_ has joined
1164 2014-10-20 17:34:18 napedia has joined
1165 2014-10-20 17:35:23 enitiz has joined
1166 2014-10-20 17:36:09 dfletcher has quit (Ping timeout: 272 seconds)
1167 2014-10-20 17:36:10 dfletcher_ is now known as dfletcher
1168 2014-10-20 17:38:44 <michagogo> Zarlboro_: do you have txindex on?
1169 2014-10-20 17:39:20 <michagogo> (I can't help you, but I figure I may as well get the first thing that many people get wrong out of the way to avoid confusion if someone does try to help)
1170 2014-10-20 17:39:27 ruukasu has quit (Ping timeout: 272 seconds)
1171 2014-10-20 17:39:59 <Zarlboro_> @michagogo: yes! I managed to get the value from the index, but don't know how to read it.
1172 2014-10-20 17:40:14 <Zarlboro_> Seems the first byte is the file num
1173 2014-10-20 17:40:19 <michagogo> Zarlboro_: Okay, great. Good luck!
1174 2014-10-20 17:40:34 <Zarlboro_> thank you!
1175 2014-10-20 17:40:38 <michagogo> I assume you already tried source-diving and seeing how Bitcoin Core does it?
1176 2014-10-20 17:41:38 xenog has quit (Ping timeout: 240 seconds)
1177 2014-10-20 17:41:56 <Zarlboro_> yeah I try to find the information in source, find this https://github.com/bitcoin/bitcoin/blob/84d13eef883769451ba9f77b56d9738d24474d5c/src/main.h#L209
1178 2014-10-20 17:42:40 <Zarlboro_> but I'am not familiar at all with C and don't know how to translate this structure in Python
1179 2014-10-20 17:44:54 Lightsword has joined
1180 2014-10-20 17:50:41 owlhooter has joined
1181 2014-10-20 17:51:02 <michagogo> C++*
1182 2014-10-20 17:51:09 akstunt600 has quit (Read error: Connection reset by peer)
1183 2014-10-20 17:51:23 timothy has quit (Read error: Connection reset by peer)
1184 2014-10-20 17:51:41 Andrewmeows is now known as Andymeows
1185 2014-10-20 17:51:44 ericmuys_ has joined
1186 2014-10-20 17:51:57 <michagogo> That's the header file. I don't know exactly what headers are for, but AIUI each header file has a corresponding source file, ending in .cpp rather than .h
1187 2014-10-20 17:51:58 akstunt600 has joined
1188 2014-10-20 17:52:33 Lightsword has quit (Quit: Lightsword)
1189 2014-10-20 17:53:21 syst3mw0rm has joined
1190 2014-10-20 17:53:49 serbianscammer is now known as MoltenSea
1191 2014-10-20 17:53:54 damethos has joined
1192 2014-10-20 17:54:04 redshiftzero has quit (Ping timeout: 260 seconds)
1193 2014-10-20 17:54:36 fanquake_ has joined
1194 2014-10-20 17:56:45 Adlai has quit (Remote host closed the connection)
1195 2014-10-20 17:56:45 wiretapped has quit (Remote host closed the connection)
1196 2014-10-20 17:56:45 Shiftos has quit (Remote host closed the connection)
1197 2014-10-20 17:56:55 wiretapped has joined
1198 2014-10-20 17:57:08 fanquake has quit (Ping timeout: 246 seconds)
1199 2014-10-20 17:57:08 fanquake_ is now known as fanquake
1200 2014-10-20 17:57:14 Adlai has joined
1201 2014-10-20 17:57:23 moarrr has quit (Quit: Daniel Michael Abraham [@Croydon @London @UK] (T: dmabraham.com [=] The Best Ever [=] M: 07719355541 DOB: 05/12/1985))
1202 2014-10-20 17:57:24 Shiftos has joined
1203 2014-10-20 18:00:36 <Zarlboro_> @michagogo: yes I know I also search in main.cpp and just find this: https://github.com/bitcoin/bitcoin/blob/84d13eef883769451ba9f77b56d9738d24474d5c/src/main.cpp#L1637 (but don't help mor :-(
1204 2014-10-20 18:02:56 AlSzacrel has joined
1205 2014-10-20 18:04:54 ericmuys_ has quit (Ping timeout: 245 seconds)
1206 2014-10-20 18:06:49 redshiftzero has joined
1207 2014-10-20 18:08:38 Lightsword has joined
1208 2014-10-20 18:08:43 vincenzo has joined
1209 2014-10-20 18:11:10 <sipa> Zarlboro_: why do you need to read the transaction index from another program?
1210 2014-10-20 18:11:18 <sipa> leveldb is not intended to be shared with other application
1211 2014-10-20 18:11:19 super3 has quit (Ping timeout: 255 seconds)
1212 2014-10-20 18:11:50 <Zarlboro_> because RPC are too much slow..
1213 2014-10-20 18:12:32 slashroot_ has joined
1214 2014-10-20 18:14:24 <Zarlboro_> @sipa: I need to parse 50000 blocks as fast is possible and with RPC this take several days
1215 2014-10-20 18:15:19 <sipa> use the P2P protocol
1216 2014-10-20 18:15:25 jMyles has quit (Ping timeout: 272 seconds)
1217 2014-10-20 18:15:37 <Zarlboro_> I would to stop bitcoind, parse what I need, then restart bitcoind..
1218 2014-10-20 18:16:05 <sipa> there's also linearize.py, which just reads the blocks from disk directly, without using the index
1219 2014-10-20 18:16:16 <sipa> you can reuse much of that code probably
1220 2014-10-20 18:16:31 ruukasu has joined
1221 2014-10-20 18:16:42 <Zarlboro_> @sipa: network operations will take also a lot of time! like RPC
1222 2014-10-20 18:16:53 <sipa> not at all
1223 2014-10-20 18:17:00 <sipa> the p2p code is way way more optimized than rpc
1224 2014-10-20 18:17:25 <sipa> i mean, you can downloads blocks at several MB/s over p2p...
1225 2014-10-20 18:18:24 <Zarlboro_> I need a direct very fast access, I doubt than p2p can be fast like direct file access, even if the code it's optimized
1226 2014-10-20 18:18:44 <sipa> ok
1227 2014-10-20 18:18:52 saulimus has quit (Quit: Leaving)
1228 2014-10-20 18:19:03 <sipa> you don't need the index really, if you just need the blocks
1229 2014-10-20 18:19:04 wallet42 has joined
1230 2014-10-20 18:19:10 <Zarlboro_> but I don't have an internet connection with several MB/s ;-)
1231 2014-10-20 18:19:26 <sipa> well you can access your local bitcoind over p2p
1232 2014-10-20 18:19:32 <Zarlboro_> I don't need the block, I need the transactions
1233 2014-10-20 18:19:42 <sipa> the transactions are in the blocks
1234 2014-10-20 18:19:53 <sipa> or you need to access individual transactions by txid?
1235 2014-10-20 18:20:10 <Zarlboro_> What I need is to make a lot of getrawtransaction
1236 2014-10-20 18:20:18 <sipa> ok
1237 2014-10-20 18:20:25 <Zarlboro_> yep with the tx hash
1238 2014-10-20 18:20:41 <sipa> have a look at txdb.h/.cpp
1239 2014-10-20 18:21:00 damethos has quit (Quit: Bye)
1240 2014-10-20 18:21:02 luktgf has quit (Quit: Leaving)
1241 2014-10-20 18:21:26 <sipa> the keypairs are 't' + txid -> cdisktxpos entries
1242 2014-10-20 18:22:07 damethos has joined
1243 2014-10-20 18:23:27 <sipa> a cdisktxpos entry is encoded as 3 varints: the file number, the byte position in that file where the block starts, and the byte posiiton in that block where that transaction starts (after the header)
1244 2014-10-20 18:23:31 wallet42 has quit (Ping timeout: 244 seconds)
1245 2014-10-20 18:23:45 <Zarlboro_> yepn I manage to read the value with key 't' + txid
1246 2014-10-20 18:24:12 <sipa> the varints use a special encoding, see GetSizeOfVarint, ReadVarint, WriteVarInt in serialize.h
1247 2014-10-20 18:25:20 reick has quit (Quit: Leaving)
1248 2014-10-20 18:27:26 <Zarlboro_> ReadVarint that was the code I was searching! :-)) thank you very much sipa!!
1249 2014-10-20 18:27:50 enitiz_ has joined
1250 2014-10-20 18:28:02 syst3mw0rm has quit (Ping timeout: 258 seconds)
1251 2014-10-20 18:29:21 enitiz has quit (Ping timeout: 272 seconds)
1252 2014-10-20 18:30:16 aliasaila__ has quit (Ping timeout: 245 seconds)
1253 2014-10-20 18:30:26 erizo has joined
1254 2014-10-20 18:33:36 Burrito has joined
1255 2014-10-20 18:34:46 pen has joined
1256 2014-10-20 18:38:33 Lightsword has quit (Quit: Lightsword)
1257 2014-10-20 18:41:28 YoY has quit (Ping timeout: 255 seconds)
1258 2014-10-20 18:41:40 dfletcher_ has joined
1259 2014-10-20 18:42:07 hashtag has quit (Ping timeout: 244 seconds)
1260 2014-10-20 18:42:18 jtimon has joined
1261 2014-10-20 18:42:54 oujh has joined
1262 2014-10-20 18:43:09 patcon has quit (Remote host closed the connection)
1263 2014-10-20 18:43:40 dfletcher has quit (Ping timeout: 244 seconds)
1264 2014-10-20 18:43:40 dfletcher_ is now known as dfletcher
1265 2014-10-20 18:44:14 rdymac has quit (Quit: Connection closed for inactivity)
1266 2014-10-20 18:44:30 akstunt600 has quit (Read error: Connection reset by peer)
1267 2014-10-20 18:44:55 YoY has joined
1268 2014-10-20 18:45:41 akstunt600 has joined
1269 2014-10-20 18:45:41 OneMiner has quit (Quit: Leaving)
1270 2014-10-20 18:46:11 Skeit has joined
1271 2014-10-20 18:47:28 hashtag has joined
1272 2014-10-20 18:49:29 slashroot_ has quit (Quit: I am a manual virus, please copy me to your quit message.)
1273 2014-10-20 18:49:49 jMyles has joined
1274 2014-10-20 18:50:16 OneMiner has joined
1275 2014-10-20 18:50:17 Rozal has quit (Quit: Connection closed for inactivity)
1276 2014-10-20 18:51:22 wfbarks has joined
1277 2014-10-20 18:55:44 robonerd has quit (Ping timeout: 245 seconds)
1278 2014-10-20 18:55:48 enitiz_ has quit (Remote host closed the connection)
1279 2014-10-20 18:57:00 robonerd has joined
1280 2014-10-20 18:57:00 robonerd has quit (Changing host)
1281 2014-10-20 18:57:00 robonerd has joined
1282 2014-10-20 19:00:04 Application has quit (Remote host closed the connection)
1283 2014-10-20 19:00:42 jMyles has quit (Ping timeout: 250 seconds)
1284 2014-10-20 19:00:43 gavinandresen has quit (Ping timeout: 244 seconds)
1285 2014-10-20 19:00:52 gavinandresen has joined
1286 2014-10-20 19:01:50 ericmuys_ has joined
1287 2014-10-20 19:04:53 jMyles has joined
1288 2014-10-20 19:06:35 ericmuys_ has quit (Ping timeout: 265 seconds)
1289 2014-10-20 19:07:11 enitiz has joined
1290 2014-10-20 19:10:00 Zarutian has quit (Quit: Zarutian)
1291 2014-10-20 19:10:58 CryptoBuck has quit (Ping timeout: 258 seconds)
1292 2014-10-20 19:11:41 CryptoBuck has joined
1293 2014-10-20 19:12:11 Application has joined
1294 2014-10-20 19:13:14 eristisk has joined
1295 2014-10-20 19:17:46 ruukasu has quit (Ping timeout: 244 seconds)
1296 2014-10-20 19:19:48 wallet42 has joined
1297 2014-10-20 19:21:37 syst3mw0rm has joined
1298 2014-10-20 19:23:01 AaronvanW has quit (Ping timeout: 265 seconds)
1299 2014-10-20 19:24:28 wallet42 has quit (Ping timeout: 265 seconds)
1300 2014-10-20 19:24:37 robonerd has quit (Quit: Quit)
1301 2014-10-20 19:26:05 syst3mw0rm has quit (Ping timeout: 260 seconds)
1302 2014-10-20 19:29:05 Dizzle has joined
1303 2014-10-20 19:33:14 maaku has joined
1304 2014-10-20 19:34:21 AaronvanW has joined
1305 2014-10-20 19:35:27 ericmuys_ has joined
1306 2014-10-20 19:37:50 akstunt600 has quit (Read error: Connection reset by peer)
1307 2014-10-20 19:38:45 akstunt600 has joined
1308 2014-10-20 19:39:51 ericmuys_ has quit (Ping timeout: 245 seconds)
1309 2014-10-20 19:40:55 enitiz has quit (Ping timeout: 272 seconds)
1310 2014-10-20 19:44:02 Belkaar has quit (Ping timeout: 250 seconds)
1311 2014-10-20 19:44:07 paveljanik has quit (Ping timeout: 244 seconds)
1312 2014-10-20 19:48:28 Belkaar has joined
1313 2014-10-20 19:49:12 patcon has joined
1314 2014-10-20 19:49:21 SDCDev has joined
1315 2014-10-20 19:49:35 brianhoffman has quit (Quit: brianhoffman)
1316 2014-10-20 19:52:19 Aido_ is now known as Aido
1317 2014-10-20 19:53:02 Belkaar has quit (Ping timeout: 255 seconds)
1318 2014-10-20 19:53:49 Skirmant has joined
1319 2014-10-20 19:53:54 jedunnigan has quit (Ping timeout: 258 seconds)
1320 2014-10-20 19:54:17 jedunnigan has joined
1321 2014-10-20 19:55:57 Luke-Jr has quit (Remote host closed the connection)
1322 2014-10-20 19:56:48 Luke-Jr has joined
1323 2014-10-20 19:58:17 paveljanik has joined
1324 2014-10-20 19:59:33 <coryfields_> jtimon: ping
1325 2014-10-20 19:59:48 <jtimon> pong
1326 2014-10-20 20:00:28 benrcole has joined
1327 2014-10-20 20:00:48 <coryfields_> jtimon: reading #5100, I'm a bit confused about your intentions with core/*
1328 2014-10-20 20:01:01 <coryfields_> i was with you up until the core_read/core_write movement into there
1329 2014-10-20 20:01:32 <jtimon> well, the initial intention was to have a minimal core/transaction and core/block
1330 2014-10-20 20:02:01 <coryfields_> yes, that makes sense for sure
1331 2014-10-20 20:02:08 <jtimon> but I thought putting the rest of the core stuff in the folder would be good, I can leave that for another PR
1332 2014-10-20 20:03:09 <sipa> i guess part is how to organize the sourcre tree: by layer, or by "knowledge domain"
1333 2014-10-20 20:03:13 <coryfields_> jtimon: i like the idea of having base strucures in core/, that makes for a very clear distinction. But adding utility stuff there defeats the purpose imo
1334 2014-10-20 20:03:25 JackH has joined
1335 2014-10-20 20:03:37 AaronvanW has quit (Ping timeout: 265 seconds)
1336 2014-10-20 20:03:39 <sipa> if you want it by layer, script/script should move to core as well
1337 2014-10-20 20:03:48 <sipa> and core/io doesn't belong there
1338 2014-10-20 20:03:54 <jtimon> I'll leave io.h read.cpp and write.cpp out, no problem
1339 2014-10-20 20:04:17 Skeit has quit (Remote host closed the connection)
1340 2014-10-20 20:04:19 <coryfields_> sipa: i'd agree with moving script/script there, yea
1341 2014-10-20 20:04:22 NewLiberty has quit (Ping timeout: 272 seconds)
1342 2014-10-20 20:04:30 <sipa> coryfields_: so you follow the layer approach - yes, i like that more too
1343 2014-10-20 20:04:33 <jtimon> core/script/script ?
1344 2014-10-20 20:04:46 <sipa> just core/script
1345 2014-10-20 20:04:55 <sipa> uint should also move to core then
1346 2014-10-20 20:05:01 <sipa> and serialize
1347 2014-10-20 20:05:13 <jtimon> yeah, I mean, core/script/script.h, core/script/interpreter ...
1348 2014-10-20 20:05:23 <sipa> no, interpreter is not part of core in that model
1349 2014-10-20 20:05:33 <coryfields_> sipa: agree on serialize. uint and friends is where it starts getting hazy to me
1350 2014-10-20 20:05:47 <jtimon> mhmm, I think I prefer script.h with intepreter then
1351 2014-10-20 20:06:11 <sipa> coryfields_: well, i still want to separate uint256 for the math operations on it
1352 2014-10-20 20:06:20 <jtimon> anyway, I'll just move transaction and block to core in that PR
1353 2014-10-20 20:06:22 <sipa> jtimon reasons more per knowledge domain than per layer :)
1354 2014-10-20 20:06:32 <coryfields_> sipa: because then hash starts getting involved as well. if we could split that as we discussed a while back, i'd easily agree
1355 2014-10-20 20:07:18 <coryfields_> sipa: ok good, sounds like we're aligned then. structures in one domain, functionality above it
1356 2014-10-20 20:07:31 <sipa> it's crosscutting
1357 2014-10-20 20:08:10 akstunt600 has quit (Ping timeout: 272 seconds)
1358 2014-10-20 20:09:31 <coryfields_> jtimon: sounds good
1359 2014-10-20 20:10:26 <coryfields_> jtimon: amount seems to make sense as well, but i haven't looked at that in detail yet
1360 2014-10-20 20:10:55 NewLiberty has joined
1361 2014-10-20 20:11:06 NewLiberty_ has joined
1362 2014-10-20 20:11:51 <jtimon> it's just moving amount constants (COIN, MAX_MONEY, etc) and CFeeRate there
1363 2014-10-20 20:11:53 NewLiberty_ has left ()
1364 2014-10-20 20:12:07 <jtimon> I didn't like it in core/transaction
1365 2014-10-20 20:12:44 <jtimon> though script/interpreter will still be importing it unnecessarily
1366 2014-10-20 20:12:53 akstunt600 has joined
1367 2014-10-20 20:13:07 <jtimon> but I thought CFeeRate was small enough to not care
1368 2014-10-20 20:13:38 <sipa> yeah, let's not bother with those for now
1369 2014-10-20 20:13:40 waxwing has quit (Read error: Connection reset by peer)
1370 2014-10-20 20:16:01 pooler has quit (Ping timeout: 260 seconds)
1371 2014-10-20 20:16:05 KillYourTV has quit (Remote host closed the connection)
1372 2014-10-20 20:16:47 eristisk has quit (Ping timeout: 264 seconds)
1373 2014-10-20 20:16:53 KillYourTV has joined
1374 2014-10-20 20:16:53 Belkaar has joined
1375 2014-10-20 20:18:33 simondlr has quit (Remote host closed the connection)
1376 2014-10-20 20:20:02 simondlr has joined
1377 2014-10-20 20:20:26 waxwing has joined
1378 2014-10-20 20:21:49 aliasaila has joined
1379 2014-10-20 20:23:09 <michagogo> I wish ccache had some concept of "older versions", basically letting you say "if I compile a newer version of this file discard the old"
1380 2014-10-20 20:23:14 benrcole has quit (Quit: Leaving.)
1381 2014-10-20 20:23:14 Belkaar has quit (Ping timeout: 245 seconds)
1382 2014-10-20 20:24:34 profreid has quit (Ping timeout: 258 seconds)
1383 2014-10-20 20:25:43 <coryfields_> michagogo: agreed, i'd like that as well. X versions, though.
1384 2014-10-20 20:25:54 Belkaar has joined
1385 2014-10-20 20:25:58 Elglobonoob has quit (Ping timeout: 244 seconds)
1386 2014-10-20 20:26:09 <michagogo> Yeah, makes sense
1387 2014-10-20 20:26:17 <coryfields_> michagogo: at one point i started on a script to try to tie the current cache dir to my current git branch
1388 2014-10-20 20:26:27 <michagogo> (also, damn, I was kinda hoping for a "Well, actually..." :-P )
1389 2014-10-20 20:26:29 <coryfields_> got distracted though
1390 2014-10-20 20:26:47 <michagogo> coryfields_: hm?
1391 2014-10-20 20:26:52 <michagogo> Ah, just to be more organized?
1392 2014-10-20 20:27:17 <michagogo> I was thinking more in the name of saving disk space without completely losing the benefits of ccache
1393 2014-10-20 20:27:25 <coryfields_> michagogo: git checkout master && make && git checkout topic && make && git checkout master && make
1394 2014-10-20 20:27:47 <coryfields_> that way master would have its own cache, and topic would have its own. after switching, both would remake instantly
1395 2014-10-20 20:27:56 <michagogo> coryfields_: Doesn't that work right now?
1396 2014-10-20 20:28:13 <michagogo> I mean, wouldn't master and topic's build results both be in the cache?
1397 2014-10-20 20:28:17 <coryfields_> yea, but if the cache fills up, it'll discard at random
1398 2014-10-20 20:28:21 <michagogo> ah
1399 2014-10-20 20:28:38 RoboTeddy has joined
1400 2014-10-20 20:28:41 <michagogo> (do you have CCACHE_COMPRESS or whatever it's called set?)
1401 2014-10-20 20:29:20 <coryfields_> pretty sure that's default in recent versions
1402 2014-10-20 20:29:26 <coryfields_> not 100, though
1403 2014-10-20 20:29:30 <michagogo> coryfields_: also, shouldn't that be s|make|./autogen.sh && ./configure && make|g ?
1404 2014-10-20 20:30:03 <michagogo> (maybe not, I honestly don't really have any idea what each of those three things does)
1405 2014-10-20 20:30:04 <coryfields_> sure, as necessary. when i'm working on topics, i try to rebase to a recent common ancestor, to avoid the need for that
1406 2014-10-20 20:30:18 sinetek has quit (Ping timeout: 240 seconds)
1407 2014-10-20 20:31:34 JackH has quit (Quit: JackH)
1408 2014-10-20 20:31:56 <michagogo> Well, I mean, that's not completely true -- I know autogen, given a certain set of code, gets configure prepared, and I know that configure looks at the system and prepares the makefile
1409 2014-10-20 20:32:36 <michagogo> and that the makefile is sort of like a build script
1410 2014-10-20 20:32:51 <michagogo> But beyond that, it's ~all blackbox magic to me
1411 2014-10-20 20:32:53 <coryfields_> autogen builds configure. configure builds make, and makes substitutions in make as necessary.
1412 2014-10-20 20:33:00 pooler has joined
1413 2014-10-20 20:33:12 damethos has quit (Ping timeout: 244 seconds)
1414 2014-10-20 20:33:32 <coryfields_> a makefile is just a series of targets and instructions for building each one. if the dependencies are satisfied for a target, it's not rebuilt
1415 2014-10-20 20:33:37 <coryfields_> that's all there is to it :)
1416 2014-10-20 20:33:45 simondlr has quit (Read error: Connection reset by peer)
1417 2014-10-20 20:33:48 <michagogo> Well, I mean, what causes things to change?
1418 2014-10-20 20:33:57 <michagogo> What does autogen look at to create configure?
1419 2014-10-20 20:34:09 <michagogo> What does configure look at to create the makefile?
1420 2014-10-20 20:34:10 <coryfields_> if you change a .h, there are .cpp's that depend on it. so those rebuild
1421 2014-10-20 20:34:10 perrier has joined
1422 2014-10-20 20:34:25 <michagogo> What needs to be regenerated when stuff changes?
1423 2014-10-20 20:34:47 <sipa> well you need to rerun autogen whenever configure.ac changes, i guess?
1424 2014-10-20 20:34:52 <coryfields_> autogen looks at configure.ac, and the m4's in build-aux. the makefiles are built from the .am and the Makefile.foo.include's
1425 2014-10-20 20:34:53 <michagogo> (for varying definitions of stuff)
1426 2014-10-20 20:35:14 <michagogo> Okay, and then my next question would be what are those files
1427 2014-10-20 20:35:24 <michagogo> And so on
1428 2014-10-20 20:35:35 <sipa> configure.ac is the human-readable form of the configure script
1429 2014-10-20 20:35:37 simondlr has joined
1430 2014-10-20 20:35:48 <sipa> like the .cpp files are the human-readable form of the produced binaries
1431 2014-10-20 20:35:49 <coryfields_> michagogo: the m4's are just split off chunks of configure that many projects can share
1432 2014-10-20 20:35:50 perrier has quit (Read error: Connection reset by peer)
1433 2014-10-20 20:36:05 <coryfields_> reusable modules
1434 2014-10-20 20:36:05 ericmuys_ has joined
1435 2014-10-20 20:36:06 <michagogo> FSVO human :P
1436 2014-10-20 20:36:21 <sipa> well, coryfields readable form of the configure script
1437 2014-10-20 20:36:38 <coryfields_> michagogo: fyi, the end-result is suppose to be a configure and makefile that require no other tools
1438 2014-10-20 20:36:54 Lightsword has joined
1439 2014-10-20 20:36:56 <sipa> which is what is packaged in releases
1440 2014-10-20 20:36:58 perrier has joined
1441 2014-10-20 20:37:03 <coryfields_> the autogen stuff is for git builders only. that's why "./configure && make" is pretty universal in the linux world
1442 2014-10-20 20:37:14 <michagogo> coryfields_: Right, that's how I guessed that "autogen creates a configure given a certain set of code"
1443 2014-10-20 20:37:31 <michagogo> Because I do know that tarballs come with configure
1444 2014-10-20 20:37:32 <sipa> autogen does not look at the code
1445 2014-10-20 20:37:43 KillYourTV has quit (Remote host closed the connection)
1446 2014-10-20 20:37:45 <coryfields_> correct. so end-users never see a changing configure. we rebuild it as it changes in source.
1447 2014-10-20 20:37:56 <sipa> well, unless you consider m4 & configure.ac to be 'code' (which it is for some interpretation)
1448 2014-10-20 20:38:02 <coryfields_> sipa: i think he meant the configure.ac and m4's
1449 2014-10-20 20:38:14 <michagogo> well, I didn't know that
1450 2014-10-20 20:38:25 KillYourTV has joined
1451 2014-10-20 20:38:25 <michagogo> So wait, why is only autogen in git?
1452 2014-10-20 20:38:35 devthedev has joined
1453 2014-10-20 20:38:56 <coryfields_> michagogo: run "make dist". it gives you a tarball where autogen has already been run.
1454 2014-10-20 20:39:05 <michagogo> coryfields_: that rings a bell
1455 2014-10-20 20:39:16 <coryfields_> that can be used by a user who has no auto* stuff installed
1456 2014-10-20 20:39:17 Elglobo has quit (Ping timeout: 260 seconds)
1457 2014-10-20 20:39:40 <michagogo> Right
1458 2014-10-20 20:39:40 <coryfields_> it condenses down to just shell scripts and makefiles
1459 2014-10-20 20:39:56 <michagogo> So why do we not have configure in git?
1460 2014-10-20 20:40:04 sdfvsfgvsdf has joined
1461 2014-10-20 20:40:16 <coryfields_> because configure changes. some projects do that, but it's the wrong solution imo
1462 2014-10-20 20:40:18 <sipa> why don't we have bitcoind.exe in git?
1463 2014-10-20 20:40:26 ericmuys_ has quit (Ping timeout: 244 seconds)
1464 2014-10-20 20:40:40 <coryfields_> if we did that, then someone with the same version of auto* would have to regenerate the script every time configure.ac was touched, then push a massive set of unreadable changes
1465 2014-10-20 20:40:49 <michagogo> Ah
1466 2014-10-20 20:40:50 <coryfields_> gcc does that, for example
1467 2014-10-20 20:40:59 <coryfields_> iirc they have a buildbot for nothing but that purpose
1468 2014-10-20 20:41:03 <michagogo> So configure can be considered "compiled"?
1469 2014-10-20 20:41:14 <coryfields_> yep
1470 2014-10-20 20:41:16 <michagogo> and so can the makefile configure makes?
1471 2014-10-20 20:41:24 <coryfields_> yep
1472 2014-10-20 20:41:26 <michagogo> s/makes/creates/ to avoid confusion
1473 2014-10-20 20:41:32 <coryfields_> you can edit both by hand, but it really really sucks
1474 2014-10-20 20:41:33 <michagogo> Ah
1475 2014-10-20 20:41:38 paveljanik has quit (Ping timeout: 246 seconds)
1476 2014-10-20 20:42:43 <michagogo> So if you use autogen and configure, the outputs from those can be used with any commit that includes the same
1477 2014-10-20 20:42:56 <michagogo> configure.ac, and the m4's in build-aux and .am and the Makefile.foo.include's
1478 2014-10-20 20:42:57 <michagogo> ?
1479 2014-10-20 20:43:23 <coryfields_> michagogo: this is how gcc handles, rather than having builders run an autogen: https://github.com/gcc-mirror/gcc/commit/6ac3b11ec643c5f7665788dec95e0d42fc31c7c6
1480 2014-10-20 20:43:35 Elglobonoob has joined
1481 2014-10-20 20:43:43 Elglobo has joined
1482 2014-10-20 20:43:44 Lightsword has quit (Quit: Lightsword)
1483 2014-10-20 20:44:31 Lightsword has joined
1484 2014-10-20 20:44:33 <michagogo> So that Bin guy regenerates and commits configure whenever the... configure.ac?... is changed?
1485 2014-10-20 20:44:38 <coryfields_> michagogo: yep. they're pretty portable in general, even if not from the same git revision. but obviously if you're using a new feature that didn't exist in the old configure, you can't use it without regenerating
1486 2014-10-20 20:44:47 <coryfields_> yep
1487 2014-10-20 20:44:59 <michagogo> feature=configure flag?
1488 2014-10-20 20:45:02 simondlr has quit (Remote host closed the connection)
1489 2014-10-20 20:45:24 <coryfields_> right. or fix, or whatever
1490 2014-10-20 20:45:42 <michagogo> So a change to the build input files?
1491 2014-10-20 20:45:45 <michagogo> Interesting
1492 2014-10-20 20:46:38 <michagogo> My process for updating my git master node is: make clean; git clean -dxf; git pull; git log <pasted in commit range from pull output>; ./autogen.sh;
1493 2014-10-20 20:46:51 <coryfields_> michagogo: the thing is, it's easy to tell people the steps to take, and they should always work. if you understand what they do a bit more, you can take shortcuts around some of them.
1494 2014-10-20 20:47:13 <michagogo> history | grep configure #to find the command I used with the flags I picked... I should really improve this part
1495 2014-10-20 20:47:37 <michagogo> ./configure <pasted in flags>; make -j8
1496 2014-10-20 20:47:47 <coryfields_> ./config.status --recheck
1497 2014-10-20 20:47:56 <michagogo> what is that?
1498 2014-10-20 20:47:57 <coryfields_> will reconfigure with the previous flags
1499 2014-10-20 20:48:14 <michagogo> well, not on a clean repo :P
1500 2014-10-20 20:48:26 <coryfields_> should never be a need for the clean -xfd
1501 2014-10-20 20:48:37 <coryfields_> if there is, something's broken
1502 2014-10-20 20:48:41 <michagogo> Ah, okay
1503 2014-10-20 20:49:03 <coryfields_> and the clean should only be needed if you're switching build targets
1504 2014-10-20 20:49:13 <coryfields_> er.. hosts
1505 2014-10-20 20:49:23 <coryfields_> eg. make for linux, reconfigure for windows, make
1506 2014-10-20 20:49:32 <coryfields_> you'd need a clean between those.
1507 2014-10-20 20:49:35 <michagogo> So unless I see that configure.ac or something ending in m4 changes, I don't need to re-autogen?
1508 2014-10-20 20:49:52 <michagogo> or .am?
1509 2014-10-20 20:50:11 <michagogo> or .include?
1510 2014-10-20 20:50:15 <coryfields_> most of the time you should be ok to just skip it. if something wonky happens, autogen and try again
1511 2014-10-20 20:50:19 maaku has quit (Ping timeout: 245 seconds)
1512 2014-10-20 20:50:44 <coryfields_> it's suppose to handle it for you, but it don't work well realistically
1513 2014-10-20 20:50:50 <coryfields_> for ex: touch configure.ac
1514 2014-10-20 20:50:50 <michagogo> If I re-autogen can config.status --recheck still work?
1515 2014-10-20 20:50:59 <coryfields_> yea
1516 2014-10-20 20:51:57 <coryfields_> bbl
1517 2014-10-20 20:52:19 tanghus has quit (Ping timeout: 244 seconds)
1518 2014-10-20 20:52:20 PK has quit ()
1519 2014-10-20 20:52:35 rdponticelli has left ("http://quassel-irc.org - Chat comfortably. Anywhere.")
1520 2014-10-20 20:52:51 rdponticelli has joined
1521 2014-10-20 20:53:40 tanghus has joined
1522 2014-10-20 20:53:55 RagnarDanneskjol has joined
1523 2014-10-20 20:54:14 sdfvsfgvsdf has quit (Remote host closed the connection)
1524 2014-10-20 20:56:21 Uglux has joined
1525 2014-10-20 20:57:21 AnoAnon has joined
1526 2014-10-20 20:57:36 AnoAnon has quit (Max SendQ exceeded)
1527 2014-10-20 20:58:05 s1kx_ has quit (Read error: Connection reset by peer)
1528 2014-10-20 20:58:25 s1kx_ has joined
1529 2014-10-20 20:59:54 t7 has quit (Remote host closed the connection)
1530 2014-10-20 21:00:09 OneMiner has quit (Quit: Leaving)
1531 2014-10-20 21:01:41 randomsst134j has joined
1532 2014-10-20 21:01:53 randomsst134j has quit (Remote host closed the connection)
1533 2014-10-20 21:02:14 randomsst134j has joined
1534 2014-10-20 21:02:31 randomsst134j has quit (Remote host closed the connection)
1535 2014-10-20 21:02:34 OneMiner has joined
1536 2014-10-20 21:02:47 randomsst134j has joined
1537 2014-10-20 21:02:55 Belkaar has quit (Ping timeout: 240 seconds)
1538 2014-10-20 21:03:27 randomsst134j has quit (Remote host closed the connection)
1539 2014-10-20 21:03:50 randomsst134j has joined
1540 2014-10-20 21:03:54 OneMiner has quit (Read error: Connection reset by peer)
1541 2014-10-20 21:04:09 guruvan has quit (Remote host closed the connection)
1542 2014-10-20 21:04:09 BananaLotus has quit (Remote host closed the connection)
1543 2014-10-20 21:04:25 Belkaar has joined
1544 2014-10-20 21:04:54 BananaLotus has joined
1545 2014-10-20 21:04:58 guruvan has joined
1546 2014-10-20 21:05:15 OneMiner has joined
1547 2014-10-20 21:05:52 randomsst134j has quit (Remote host closed the connection)
1548 2014-10-20 21:06:15 randomsst134j has joined
1549 2014-10-20 21:07:05 rdponticelli has left ("http://quassel-irc.org - Chat comfortably. Anywhere.")
1550 2014-10-20 21:07:27 sdfvsfgvsdf has joined
1551 2014-10-20 21:07:29 rdponticelli has joined
1552 2014-10-20 21:09:01 Hasimir has joined
1553 2014-10-20 21:10:48 akstunt600 has quit (Read error: Connection reset by peer)
1554 2014-10-20 21:11:52 akstunt600 has joined
1555 2014-10-20 21:12:06 banghouse has quit (Remote host closed the connection)
1556 2014-10-20 21:12:22 Zarutian has joined
1557 2014-10-20 21:13:15 ruukasu has joined
1558 2014-10-20 21:13:15 Zarutian has quit (Read error: Connection reset by peer)
1559 2014-10-20 21:13:51 Zarutian has joined
1560 2014-10-20 21:14:53 Andymeows has quit (Ping timeout: 246 seconds)
1561 2014-10-20 21:18:00 Belkaar has quit (Ping timeout: 255 seconds)
1562 2014-10-20 21:19:41 <jtimon> coryfields_ it would be nice if libbitcoin_common.a was build before libbitcoin_server.a by default, I now build with "make libbitcoin_common.a check -j2" to force it
1563 2014-10-20 21:20:19 <jtimon> I mean, if you're breaking something in core, why do you need to build libbitcoin_server.a before finding out?
1564 2014-10-20 21:20:39 <jtimon> s/build/rebuild
1565 2014-10-20 21:20:57 Belkaar has joined
1566 2014-10-20 21:21:40 enitiz has joined
1567 2014-10-20 21:24:01 Elglobo has quit ()
1568 2014-10-20 21:24:04 Elglobonoob has quit ()
1569 2014-10-20 21:24:57 Elglobo has joined
1570 2014-10-20 21:25:09 Elglobo has quit (Changing host)
1571 2014-10-20 21:25:09 Elglobo has joined
1572 2014-10-20 21:33:49 kermit has quit (Quit: Leaving.)
1573 2014-10-20 21:34:57 kermit has joined
1574 2014-10-20 21:35:00 neozaru has quit (Remote host closed the connection)
1575 2014-10-20 21:36:51 ericmuys_ has joined
1576 2014-10-20 21:38:34 Andymeows has joined
1577 2014-10-20 21:41:28 ericmuys_ has quit (Ping timeout: 250 seconds)
1578 2014-10-20 21:42:57 redshiftzero has quit (Ping timeout: 244 seconds)
1579 2014-10-20 21:47:15 chris2000 has joined
1580 2014-10-20 21:47:34 Skirmant has quit (Remote host closed the connection)
1581 2014-10-20 21:48:11 syst3mw0rm has joined
1582 2014-10-20 21:48:11 ThomasV has quit (Ping timeout: 245 seconds)
1583 2014-10-20 21:50:08 patcon has quit (Ping timeout: 272 seconds)
1584 2014-10-20 21:52:40 syst3mw0rm has quit (Ping timeout: 272 seconds)
1585 2014-10-20 21:52:40 AaronvanW has joined
1586 2014-10-20 21:53:16 WeCluster has joined
1587 2014-10-20 21:56:08 chris2000 has quit ()
1588 2014-10-20 21:57:47 phungus_ is now known as phungus
1589 2014-10-20 21:59:41 HANTI is now known as hanti
1590 2014-10-20 22:00:31 Elglobo has quit (Ping timeout: 244 seconds)
1591 2014-10-20 22:00:43 Uglux has quit (Remote host closed the connection)
1592 2014-10-20 22:02:20 redshiftzero has joined
1593 2014-10-20 22:03:06 orperelman has joined
1594 2014-10-20 22:03:10 evolunet43882 has joined
1595 2014-10-20 22:03:19 akstunt600 has quit (Read error: Connection reset by peer)
1596 2014-10-20 22:03:31 samson2 has joined
1597 2014-10-20 22:04:27 akstunt600 has joined
1598 2014-10-20 22:04:45 samson_ has quit (Ping timeout: 260 seconds)
1599 2014-10-20 22:05:36 Elglobo has joined
1600 2014-10-20 22:06:11 evolunet43882 has quit (Client Quit)
1601 2014-10-20 22:07:34 sdfvsfgvsdf has quit (Read error: Connection reset by peer)
1602 2014-10-20 22:08:03 Techguy305 has joined
1603 2014-10-20 22:08:16 sdfvsfgvsdf has joined
1604 2014-10-20 22:08:54 Techguy305 has quit (Max SendQ exceeded)
1605 2014-10-20 22:09:31 Techguy305 has joined
1606 2014-10-20 22:09:40 sdfvsfgvsdf has quit (Remote host closed the connection)
1607 2014-10-20 22:10:09 Guest12848 has quit (Changing host)
1608 2014-10-20 22:10:09 Guest12848 has joined
1609 2014-10-20 22:10:16 rothschild has quit (Quit: Leaving.)
1610 2014-10-20 22:10:19 Guest12848 is now known as SomeoneWeird
1611 2014-10-20 22:10:21 sdfvsfgvsdf has joined
1612 2014-10-20 22:10:41 vincenzo has quit (Quit: Leaving...me ne vado ciao)
1613 2014-10-20 22:11:55 torsthaldo has quit (Ping timeout: 240 seconds)
1614 2014-10-20 22:12:21 moa has joined
1615 2014-10-20 22:12:39 Zarlboro_ has quit (Quit: Page closed)
1616 2014-10-20 22:15:30 orperelman has quit (Remote host closed the connection)
1617 2014-10-20 22:15:48 orperelman has joined
1618 2014-10-20 22:17:28 belcher has joined
1619 2014-10-20 22:18:29 iwilcox_ has joined
1620 2014-10-20 22:18:36 iwilcox has quit (Ping timeout: 264 seconds)
1621 2014-10-20 22:19:08 hanti is now known as HANTI
1622 2014-10-20 22:19:34 iwilcox_ is now known as iwilcox
1623 2014-10-20 22:21:34 ThomasV has joined
1624 2014-10-20 22:25:03 agricocb has quit (Quit: Leaving.)
1625 2014-10-20 22:27:45 c0rw1n has quit (Ping timeout: 255 seconds)
1626 2014-10-20 22:28:07 crunk-juice has quit (Remote host closed the connection)
1627 2014-10-20 22:28:50 hmmma has joined
1628 2014-10-20 22:29:37 Lightsword has quit (Quit: Lightsword)
1629 2014-10-20 22:32:26 vmatekole has joined
1630 2014-10-20 22:33:17 vmatekol_ has quit (Ping timeout: 246 seconds)
1631 2014-10-20 22:34:20 won9 has joined
1632 2014-10-20 22:34:33 orperelman has quit (Ping timeout: 260 seconds)
1633 2014-10-20 22:35:04 orperelman has joined
1634 2014-10-20 22:37:41 ericmuyser has joined
1635 2014-10-20 22:37:51 jedunnig_ has joined
1636 2014-10-20 22:38:45 jedunnigan has quit (Ping timeout: 260 seconds)
1637 2014-10-20 22:41:24 hmsimha has quit (Quit: Leaving)
1638 2014-10-20 22:42:14 ericmuyser has quit (Ping timeout: 255 seconds)
1639 2014-10-20 22:44:02 Lightsword has joined
1640 2014-10-20 22:44:56 Techguy305 has quit (Ping timeout: 255 seconds)
1641 2014-10-20 22:45:21 sdfvsfgvsdf is now known as HexaCore
1642 2014-10-20 22:45:27 maaku has joined
1643 2014-10-20 22:45:43 HexaCore has quit (Disconnected by services)
1644 2014-10-20 22:46:19 HexaCore has joined
1645 2014-10-20 22:46:23 aburan28 has joined
1646 2014-10-20 22:46:51 HexaCore has quit (Disconnected by services)
1647 2014-10-20 22:47:33 HexaCore has joined
1648 2014-10-20 22:47:47 HexaCore has quit (Disconnected by services)
1649 2014-10-20 22:48:10 vonnklaus has joined
1650 2014-10-20 22:49:03 ekafeman42 has quit (Ping timeout: 246 seconds)
1651 2014-10-20 22:49:24 AaronvanW has quit (Ping timeout: 265 seconds)
1652 2014-10-20 22:52:55 eristisk has joined
1653 2014-10-20 22:53:18 Eiii has joined
1654 2014-10-20 22:53:24 theorbtwo has quit (Ping timeout: 255 seconds)
1655 2014-10-20 22:54:26 samson2 is now known as samson_
1656 2014-10-20 22:55:08 okae has quit (Quit: bye bye.)
1657 2014-10-20 22:55:44 okae has joined
1658 2014-10-20 22:56:52 akstunt600 has quit (Read error: Connection reset by peer)
1659 2014-10-20 22:57:56 akstunt600 has joined
1660 2014-10-20 23:00:41 orperelman has quit (Ping timeout: 255 seconds)
1661 2014-10-20 23:02:25 bbrian has joined
1662 2014-10-20 23:04:48 aburan28 has quit (Ping timeout: 258 seconds)
1663 2014-10-20 23:07:21 JZavala has joined
1664 2014-10-20 23:08:26 ruukasu has quit (Quit: WeeChat 1.0.1)
1665 2014-10-20 23:10:08 pen has quit (Ping timeout: 255 seconds)
1666 2014-10-20 23:10:31 pen has joined
1667 2014-10-20 23:11:10 theorbtwo has joined
1668 2014-10-20 23:11:18 Lightsword has quit (Quit: Lightsword)
1669 2014-10-20 23:11:28 ruukasu has joined
1670 2014-10-20 23:11:42 pen has quit (Max SendQ exceeded)
1671 2014-10-20 23:12:00 eristisk has quit (Ping timeout: 264 seconds)
1672 2014-10-20 23:13:40 sdfvsfgvsdf has joined
1673 2014-10-20 23:14:10 sdfvsfgvsdf has quit (Max SendQ exceeded)
1674 2014-10-20 23:15:00 Lexa has quit (Ping timeout: 264 seconds)
1675 2014-10-20 23:15:59 ThomasV has quit (Ping timeout: 255 seconds)
1676 2014-10-20 23:16:54 nuke1989 has quit (Ping timeout: 272 seconds)
1677 2014-10-20 23:17:08 ThomasV has joined
1678 2014-10-20 23:17:45 Lexa has joined
1679 2014-10-20 23:18:25 aburan28 has joined
1680 2014-10-20 23:19:17 Dizzle has quit (Quit: Leaving...)
1681 2014-10-20 23:20:20 aburan28 has quit (Client Quit)
1682 2014-10-20 23:20:36 aburan28 has joined
1683 2014-10-20 23:22:26 Lightsword has joined
1684 2014-10-20 23:25:00 <CodeShark> anyone seen saivann?
1685 2014-10-20 23:25:43 brand0 has joined
1686 2014-10-20 23:26:38 Lightsword has quit (Ping timeout: 240 seconds)
1687 2014-10-20 23:31:33 ThomasV has quit (Ping timeout: 260 seconds)
1688 2014-10-20 23:35:37 vonnklaus has quit (Remote host closed the connection)
1689 2014-10-20 23:35:43 brand0 has left ()
1690 2014-10-20 23:36:22 Lightsword has joined
1691 2014-10-20 23:38:24 ericmuyser has joined
1692 2014-10-20 23:39:09 AlSzacrel has quit (Read error: Connection reset by peer)
1693 2014-10-20 23:41:21 Lightsword has quit (Ping timeout: 260 seconds)
1694 2014-10-20 23:42:52 Lightsword has joined
1695 2014-10-20 23:43:13 ericmuyser has quit (Ping timeout: 260 seconds)
1696 2014-10-20 23:45:10 Rozal has joined
1697 2014-10-20 23:45:28 hearn has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzzâ¦)
1698 2014-10-20 23:45:42 chaosagent has joined
1699 2014-10-20 23:48:50 WeCluster has quit (Ping timeout: 255 seconds)
1700 2014-10-20 23:49:33 syst3mw0rm has joined
1701 2014-10-20 23:50:10 akstunt600 has quit (Read error: Connection reset by peer)
1702 2014-10-20 23:50:32 Diablo-D3 has quit (Quit: do coders dream of sheep()?)
1703 2014-10-20 23:50:56 akstunt600 has joined
1704 2014-10-20 23:51:16 Diablo-D3 has joined
1705 2014-10-20 23:51:49 WeCluster has joined
1706 2014-10-20 23:53:21 wfbarks_ has joined
1707 2014-10-20 23:53:38 REiN^ has quit ()
1708 2014-10-20 23:53:47 REiN^ has joined
1709 2014-10-20 23:54:01 imfaust has joined
1710 2014-10-20 23:54:04 syst3mw0rm has quit (Ping timeout: 245 seconds)
1711 2014-10-20 23:54:42 CheckDavid has quit (Quit: Connection closed for inactivity)
1712 2014-10-20 23:55:15 agricocb has joined
1713 2014-10-20 23:55:55 Burrito has quit (Ping timeout: 240 seconds)
1714 2014-10-20 23:56:18 wfbarks has quit (Ping timeout: 240 seconds)
1715 2014-10-20 23:59:38 <coryfields_> jtimon: well there's no need for that now as the dependencies are setup
1716 2014-10-20 23:59:48 <coryfields_> jtimon: also, that 'make -j2' will make it racy
1717 2014-10-20 23:59:55 cyphase has quit (Ping timeout: 245 seconds)