1 2012-05-28 00:28:06 <gmaxwell> I just pulled the testnet reset.
2 2012-05-28 00:28:44 <gmaxwell> I've been beating on it the last few days. Works good. I added some additional test cases the testnet network.
3 2012-05-28 00:29:53 <gmaxwell> e.g. a maximum size block, and a bunch of traffic that should make for good pruning tests.
4 2012-05-28 00:30:00 <gmaxwell> I also bounced it off both difficulty rails.
5 2012-05-28 00:30:43 <gmaxwell> (and a whole 2016 block cycle with blocks timed the absolute minimum apart)
6 2012-05-28 00:34:28 <BlueMatt> gmaxwell: wanna checkpoint that?
7 2012-05-28 00:36:23 <gmaxwell> I was contemplating adding a checkpoint and a switch that removes it and rejects the block that I did a 100k TNBTC fee in, in order to do get a balance for testnet-in-a-box style usage.
8 2012-05-28 00:47:49 <BlueMatt> nice, would be some ugly code hacks, but...nice
9 2012-05-28 00:51:43 <Karmaon> anyone know on the top of their head the mean size of a miner post request?
10 2012-05-28 01:04:14 <weex> how big in bytes is the typical block header that is hashed in mining?
11 2012-05-28 01:05:17 <luke-jr> weex: always 80 bytes
12 2012-05-28 01:06:31 <weex> got it, looking at a data sheet for an asic and it says 2327 Mbps for SHA-256
13 2012-05-28 01:07:23 <luke-jr> &
14 2012-05-28 01:07:30 <weex> 3.6 MHash?
15 2012-05-28 01:07:36 <luke-jr> doubt it
16 2012-05-28 01:08:00 <luke-jr> 1.8 MH/s
17 2012-05-28 01:08:21 <weex> so the Hash/sec that a miner reports is two rounds of SHA-256?
18 2012-05-28 01:08:25 <luke-jr> yes
19 2012-05-28 01:09:06 <weex> ok, guess someone's going to earn their lunch money in developing a competitive asic
20 2012-05-28 01:11:18 <Diablo-D3> we're discussing this in #bitcoin-assets of all places
21 2012-05-28 01:11:25 <Diablo-D3> bfl sc lololol
22 2012-05-28 01:44:30 <D34TH> hmm bitcoin still wont compile for me
23 2012-05-28 01:44:36 <D34TH> build.h error
24 2012-05-28 01:47:34 <D34TH> http://pastebin.com/KSqr7CLv
25 2012-05-28 01:50:11 <D34TH> any help?
26 2012-05-28 01:50:37 <D34TH> its the latest git
27 2012-05-28 01:50:39 <luke-jr> D34TH: nobody does it on Windows afaik
28 2012-05-28 01:50:56 <gmaxwell> thats a surprisingly unhelpful error message too.
29 2012-05-28 01:51:07 <D34TH> its all qt-sdk gives me
30 2012-05-28 01:51:18 <D34TH> The filename, directory name, or volume label syntax is incorrect.
31 2012-05-28 01:51:40 <forrestv> D34TH, maybe try putting the build directory in C:itcoinbuild
32 2012-05-28 01:51:49 <D34TH> on it
33 2012-05-28 01:51:51 <forrestv> the long name or weird characters are probably messing it up
34 2012-05-28 01:52:54 <D34TH> still same error
35 2012-05-28 01:54:08 <D34TH> ill try moving it to a different hdd
36 2012-05-28 01:55:00 <D34TH> this hates me
37 2012-05-28 01:55:42 <luke-jr> D34TH: try with Qt Creator
38 2012-05-28 01:55:54 <D34TH> its open right now in it
39 2012-05-28 01:55:56 <luke-jr> maybe ask Diapolo - he seems to use Windows
40 2012-05-28 01:57:15 <D34TH> ooh i think i might have gooten it
41 2012-05-28 01:57:18 <D34TH> its compiling
42 2012-05-28 02:02:38 <D34TH> hmm
43 2012-05-28 02:02:49 <D34TH> missing a weird boost library
44 2012-05-28 02:03:24 <D34TH> is there a prepacked thing of prereqs
45 2012-05-28 02:03:35 <D34TH> there used to be
46 2012-05-28 03:23:48 <D34TH> think i fixed it
47 2012-05-28 03:38:12 <D34TH> i almost have it working
48 2012-05-28 03:38:13 <D34TH> :D
49 2012-05-28 03:38:33 <D34TH> something about boost::system::native_ecat
50 2012-05-28 03:41:15 <D34TH> on its miniupnpc
51 2012-05-28 04:03:57 <D34TH> ok that was a pain in the ass
52 2012-05-28 04:04:05 <D34TH> got past net.o
53 2012-05-28 05:13:53 <blogger> who wanna earn some money ? http://i49.tinypic.com/2m7spx1.jpg
54 2012-05-28 10:35:17 <chilligertyp> hi
55 2012-05-28 10:35:39 <chilligertyp> can somebody send me some testnet coins please? mvpaDCW1mRBB2bkFJZb7igMDvbDSeb32cb
56 2012-05-28 10:36:14 <chilligertyp> faucet is broken
57 2012-05-28 10:38:57 <chilligertyp> nobody wants to help me?
58 2012-05-28 10:43:34 <chilligertyp> no need anymore
59 2012-05-28 15:22:42 <splatster> We should put together a bounty for Armory-like offline transactions in the satoshi client.
60 2012-05-28 15:23:51 <drizztbsd> splatster: too few users
61 2012-05-28 15:24:04 <splatster> Awww
62 2012-05-28 15:24:30 <splatster> This would make having an entirely airgapped wallet much easier.
63 2012-05-28 15:25:20 <splatster> Right now I have to use -connect when I need to send out a TX, which still opens up the doors to being compromised.
64 2012-05-28 15:55:37 <Eliel_> splatster: carrying block data on a usb-stick would also open a window for compromise. Although a non-interactive one so more difficult to pull off.
65 2012-05-28 15:56:32 <Eliel_> but if someone manages to get executable payload there, it can slip a tx to their own address to go out the next time you move transactions to online system.
66 2012-05-28 15:58:42 <Eliel_> ... well, then again, that'd indicate a rather large problem in bitcoin so perhaps it does not make sense to consider that possibility.
67 2012-05-28 16:00:38 <sipa> if anyone is interested: in my logdb branch is a preliminary version for an append-only wallet format, independent from bdb
68 2012-05-28 16:10:40 <freewil> sipa: what's the idea behind that?
69 2012-05-28 16:11:07 <sipa> freewil: get rid of bdb for wallets
70 2012-05-28 16:11:36 <sipa> so they can be free files, outside of the data dir, that do not get corrupted when a system crashes
71 2012-05-28 16:11:52 <freewil> ah
72 2012-05-28 16:11:59 <freewil> nice
73 2012-05-28 16:25:05 <slush> hi, how often bitcoind rebroadcast transaction?
74 2012-05-28 16:25:35 <sipa> once every half hour, approximately
75 2012-05-28 16:25:40 <slush> I did orphaned transaction by mistake (from transaction which wasn't confirmed yet), so memory pool rejected it
76 2012-05-28 16:25:51 <slush> I suppose it will fix itself on rebroadcasting, right?
77 2012-05-28 16:26:29 <sipa> spending an unconfirmed output is perfectly valid
78 2012-05-28 16:26:42 <slush> from unconfirmed (not yet mature) block?
79 2012-05-28 16:26:56 <slush> I see this in bitcoind listtransaction: {
80 2012-05-28 16:26:57 <slush> "fee" : 0.00000000,
81 2012-05-28 16:27:31 <sipa> it's from a coinbase output?
82 2012-05-28 16:27:41 <slush> yes
83 2012-05-28 16:28:05 <luke-jr> O.o
84 2012-05-28 16:28:10 <sipa> ah, that's different
85 2012-05-28 16:28:32 <sipa> it should still fix itself once the input is mature
86 2012-05-28 16:28:50 <luke-jr> [18:26:57] <slush> "address" : " unknown ", <-- what's going on here?
87 2012-05-28 16:28:53 <slush> luke-jr one your eye is bigger than second, you know? :-P
88 2012-05-28 16:29:52 <Diablo-D3> heh its a slush
89 2012-05-28 16:29:59 <slush> :)
90 2012-05-28 16:30:31 <slush> sipa: actually that block is already confirmed now, so I expect it is waiting to rebroadcasting mechanism
91 2012-05-28 16:31:04 <splatster> Address unknown? That's odd.
92 2012-05-28 16:31:07 <slush> luke-jr maybe because tx/address isn't in memory pool or even blockchain?
93 2012-05-28 16:31:15 <slush> ..in blockchain
94 2012-05-28 16:31:23 <luke-jr> slush: that's pretty normal
95 2012-05-28 16:31:40 <luke-jr> unknown address means the output is non-standard
96 2012-05-28 16:33:19 <slush> debug.log:
97 2012-05-28 16:33:20 <slush> askfor tx 90dcd6f71d3d9b9facd5 0
98 2012-05-28 16:33:20 <slush> sending getdata: tx 90dcd6f71d3d9b9facd5
99 2012-05-28 16:33:21 <slush> storing orphan tx 90dcd6f71d
100 2012-05-28 16:33:33 <sipa> can you use pastebin instead next time? :)
101 2012-05-28 16:33:39 <slush> yes, sorry
102 2012-05-28 16:34:48 <luke-jr> slush: what's the full txid?
103 2012-05-28 16:35:07 <slush> a79a70032ca563bfcb5df64ff7577b905d38072cba0626cebebe319d08eee777
104 2012-05-28 16:40:33 <slush> is there any way how to drop tx?
105 2012-05-28 16:40:38 <slush> well... easily
106 2012-05-28 16:41:31 <sipa> remove it from your wallet file :)
107 2012-05-28 16:41:46 <sipa> no way to do so inside the client (yet)
108 2012-05-28 16:45:31 <slush> but how this can be related to "unknown transaction type"?
109 2012-05-28 16:45:38 <slush> I created it over json rpc
110 2012-05-28 16:45:41 <slush> CWalletTx::GetAmounts: Unknown transaction type found, txid ....
111 2012-05-28 16:52:08 <luke-jr> slush: with an unmodified bitcoind?
112 2012-05-28 16:57:11 <gribble> New news from bitcoinrss: luke-jr opened pull request 1393 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1393>
113 2012-05-28 17:25:00 <luke-jr> gmaxwell: ping
114 2012-05-28 17:52:53 <wladston> my bitcoind is getting about 40 blocks per second. It took about a day to sync. is that normal ?
115 2012-05-28 17:53:25 <wladston> it's almost over, around block 179000 now
116 2012-05-28 17:55:10 <luke-jr> wladston: more or less
117 2012-05-28 17:55:48 <wladston> luke-jr: k, thanks
118 2012-05-28 17:56:20 <wladston> I mean, 40 blocks per minute, sorry
119 2012-05-28 17:56:23 <wladston> haha
120 2012-05-28 17:56:43 <luke-jr> that's a bit slow.
121 2012-05-28 17:57:35 <Diapolo> luke-jr yeah I miss him too
122 2012-05-28 17:57:51 <slush> ok, transaction has been confirmed during the dinner somehow, so everything is fine :)
123 2012-05-28 17:57:53 <Diapolo> currently no GUI patches go in and I have no clue, what happened
124 2012-05-28 17:58:24 <wladston> maybe the CPU on this server isn't that nice
125 2012-05-28 17:59:15 <wladston> my greatest worry is that sometimes bitcoind "hangs" and take a HUGE time to reply my queries
126 2012-05-28 17:59:40 <JFK911> theres lots of memory to unleak and garbages to collect
127 2012-05-28 18:01:36 <doublec> wladston: it does that while downloading chunks of the blockchain
128 2012-05-28 18:01:48 <doublec> wladston: once you're caught up it should be fine
129 2012-05-28 18:02:05 <wladston> doublec: really nice to hear that, thanks :))
130 2012-05-28 18:05:07 <Diapolo> LOL luke-jr: I was talking about wumpus, sorry
131 2012-05-28 18:20:03 <Diapolo> Can someone give a short explanation, what "!addr.GetKeyID(keyID) -> addr does not refer to a key." really checks? If we have the key for the supplied address to sign a message (it's used there)?
132 2012-05-28 18:21:58 <Diapolo> I answer my question with no, the private key check is later ^^.
133 2012-05-28 18:22:17 <D34TH> http://pastebin.com/wnJ8RmCw
134 2012-05-28 18:22:21 <D34TH> can i have some help please
135 2012-05-28 18:23:51 <splatster> D34TH: You don't have boost installed or at least not properly.
136 2012-05-28 18:24:00 <D34TH> thnx
137 2012-05-28 18:24:09 <D34TH> do i need a specific version
138 2012-05-28 18:24:15 <D34TH> because i think i grabbed an old one
139 2012-05-28 18:24:34 <JZavala> it would be horribly mean to add a random character every few lines of code wouldnt it
140 2012-05-28 18:24:37 <JZavala> i'd never do it
141 2012-05-28 18:24:38 <splatster> D34TH: There are full build instructions including the needed dependencies in the source.
142 2012-05-28 18:24:43 <JZavala> but i can imagine it would be torture to find it
143 2012-05-28 18:24:58 <luke-jr> JZavala: huh?
144 2012-05-28 18:25:07 <JZavala> in that code he linked
145 2012-05-28 18:32:27 <D34TH> is he talking about my make log?
146 2012-05-28 18:32:53 <wladston> I would like to accept credit cards to let users buy bitcoin credits on my service. Any ideas on how to start ?
147 2012-05-28 18:35:04 <luke-jr> wladston: nice knowing you
148 2012-05-28 18:35:29 <luke-jr> wladston: hint: there's a very good reason nobody does that
149 2012-05-28 18:35:45 <wladston> luke-jr: I know about the chargeback issue
150 2012-05-28 18:36:34 <BlueMatt> you will also get your contract with the ccs terminated as soon as they find you out
151 2012-05-28 18:36:36 <wladston> luke-jr: I wonder if there is a way to avoid it & since I won't be selling the coins directly, but "credits" to use the service
152 2012-05-28 18:36:56 <luke-jr> wladston: "my credit card was stolen"
153 2012-05-28 18:37:53 <luke-jr> hmm
154 2012-05-28 18:37:56 <wladston> the world runs on credit cards now, so we gotta find a way to work with that if we want to reach a big market share
155 2012-05-28 18:38:13 <luke-jr> it's tempting to make 1-txn blocks, seeing how long it takes to verify them (which delays propagation&)
156 2012-05-28 18:38:34 <luke-jr> wladston: you're doing it backward :P
157 2012-05-28 18:38:41 <wladston> in brazil it's almost impossible to buy bitcoins with a bank account...
158 2012-05-28 18:39:13 <luke-jr> so sell them for cash?
159 2012-05-28 18:39:32 <_Fireball> wladston, imo, it's possible to do that like AurumXchange does, by selling "codes".
160 2012-05-28 18:39:33 <wladston> luke-jr: they are not popular in brazil *at all*
161 2012-05-28 18:39:44 <luke-jr> wladston: cash isn't?
162 2012-05-28 18:39:46 <_Fireball> then you can use codes to fill an account in an exchange of your choice
163 2012-05-28 18:40:21 <wladston> luke-jr: cash is, but how can I accept cash using the internet ?
164 2012-05-28 18:40:36 <luke-jr> wladston: why use the internet?
165 2012-05-28 18:40:40 <wladston> _Fireball: humm, taking a look at that
166 2012-05-28 18:40:42 <luke-jr> sell at storefront
167 2012-05-28 18:40:59 <BlueMatt> if you wanna charge an insane fee, you may be able to not loose too much, but then no one will use your service
168 2012-05-28 18:41:15 <wladston> luke-jr: because I can't have a storefront all around the world & and my service requires a global market using it
169 2012-05-28 18:42:05 <Matt_von_Mises> Hello. Why are the output values signed?
170 2012-05-28 18:42:13 <luke-jr> Matt_von_Mises: G?
171 2012-05-28 18:42:22 <wladston> I wanted my mother to use my service, for example but she can't buy credits because she has no idea what a bitcoin is
172 2012-05-28 18:42:32 <wladston> even though I tried to explain her haha
173 2012-05-28 18:42:42 <BlueMatt> then accept paypal _and_ bitcoin?
174 2012-05-28 18:42:43 <Matt_von_Mises> if (txout.nValue < 0) then error Whats the point?
175 2012-05-28 18:42:48 <BlueMatt> though, again, chargebacks
176 2012-05-28 18:43:08 <wladston> BlueMatt: paypal would be an option
177 2012-05-28 18:43:51 <wladston> I once read a post from the guy taht made coinpal & he said he had chargebacks under control
178 2012-05-28 18:44:02 <wladston> the problem was paypal's policy
179 2012-05-28 18:44:28 <BlueMatt> paypal will ban you as soon as they find out whats up, yea
180 2012-05-28 18:44:54 <BlueMatt> but if you are letting people withdraw bitcoin, ie convert to bitcoin, ccs will too
181 2012-05-28 18:47:12 <wladston> They won't ind what's up, cause the purchase are for "credits" on the site, and not bitcoins.
182 2012-05-28 18:47:29 <wladston> The user won't be able to cash out in bitcoins the cash he buys for himself.
183 2012-05-28 18:48:25 <wladston> maybe okpay ?
184 2012-05-28 18:49:00 <BlueMatt> then Id think anything would work
185 2012-05-28 18:49:43 <wladston> okpay seens interesting : https://www.okpay.com/en/index.html
186 2012-05-28 18:56:04 <lordcirth> Can anyone help me with Armory? etothepi isn't on.
187 2012-05-28 18:58:53 <D34TH> splatster i think i figured out my issue, i have boost 1.50
188 2012-05-28 18:59:16 <D34TH> and bitcoin says boost 1.47
189 2012-05-28 19:00:48 <D34TH> do you think that could be it?
190 2012-05-28 19:02:01 <splatster> maybe
191 2012-05-28 19:02:37 <D34TH> ill try recompiling boost first
192 2012-05-28 19:05:39 <luke-jr> holy crap, checknewblock is 7-8 times *faster* than before
193 2012-05-28 19:05:42 <luke-jr> how the heck
194 2012-05-28 19:05:58 <graingert> presumably missing the bits that check the block
195 2012-05-28 19:06:06 <graingert> you should probably check that
196 2012-05-28 19:06:16 <luke-jr> graingert: no, I *added* that
197 2012-05-28 19:07:16 <graingert> buh
198 2012-05-28 19:07:18 <luke-jr> right now, the block *isn't* checked
199 2012-05-28 19:07:21 <graingert> buuuh
200 2012-05-28 19:07:23 <splatster> luke-jr: Does this mean faster blockchain download?
201 2012-05-28 19:07:29 <luke-jr> hmm
202 2012-05-28 19:07:31 <luke-jr> splatster: no
203 2012-05-28 19:07:33 <splatster> And what the?
204 2012-05-28 19:07:45 <luke-jr> going back to master, it's not slow anymore; maybe only after a sync?
205 2012-05-28 19:08:02 <splatster> "right now, the block *isn't* checked" <-- Whaaaaaaaa?
206 2012-05-28 19:08:07 <luke-jr> or perhaps varies greatly based on mempool size
207 2012-05-28 19:08:11 <luke-jr> splatster: when mining
208 2012-05-28 19:08:18 <luke-jr> splatster: the blocks are only checked once found
209 2012-05-28 19:08:18 <splatster> Why not?
210 2012-05-28 19:08:27 <luke-jr> splatster: my code is adding a check before I waste hashpower on it
211 2012-05-28 19:08:33 <splatster> ah
212 2012-05-28 19:08:48 <graingert> lol
213 2012-05-28 19:08:57 <splatster> So mining with satoshi client would be feasible now?
214 2012-05-28 19:09:05 <splatster> so confused
215 2012-05-28 19:09:06 <graingert> no
216 2012-05-28 19:09:16 <graingert> checked for validity
217 2012-05-28 19:09:22 <graingert> ie put tx inside might be invalid
218 2012-05-28 19:10:14 <luke-jr> splatster: no, it's a safety precaution I am adding before I touch the algorithms making blocks
219 2012-05-28 19:10:25 <luke-jr> splatster: so if those changes break something, I find out before I lose blocks
220 2012-05-28 19:10:31 <graingert> ooh
221 2012-05-28 19:10:34 <splatster> oh ok
222 2012-05-28 19:13:00 <luke-jr> pretty much all changes to bitcoin core code these days imply creating a suite of tests to check that nothing breaks
223 2012-05-28 19:17:44 <luke-jr> ok, these results are all over the place
224 2012-05-28 19:26:36 <D34TH> man i keep erroring out on CTxDB txdb
225 2012-05-28 19:26:46 <wladston1> wow, my bitcoind is getting 3 blocks per minute now & what could be wrong with my server ?
226 2012-05-28 19:27:41 <D34TH> splatster its not boost
227 2012-05-28 19:30:16 <wladston1> my bitcoind speeded up again :) the speed changes a lot
228 2012-05-28 19:30:41 <D34TH> wlad i suppose that depends on the nodes your connected to
229 2012-05-28 19:30:55 <BlueMatt> wladston1: whats your cpu usage like, and whats iotop show you?
230 2012-05-28 19:31:26 <BlueMatt> have you tried mount ~/.bitcoin as tmpfs, until you get synced, then copy it over to disk?
231 2012-05-28 19:32:42 <wladston1> BlueMatt: I have 78MB free
232 2012-05-28 19:33:03 <luke-jr> BlueMatt: not everyone has GBs of RAM ;P
233 2012-05-28 19:33:03 <wladston1> load if about 1.4
234 2012-05-28 19:33:06 <BlueMatt> you mean of ram? how much of the used is cache?
235 2012-05-28 19:33:19 <BlueMatt> luke-jr: well they should
236 2012-05-28 19:33:30 <wladston1> BlueMatt: -/+ buffers/cache: 180 58
237 2012-05-28 19:33:32 <luke-jr> BlueMatt: debatable.
238 2012-05-28 19:33:46 <BlueMatt> wladston1: vps I guess
239 2012-05-28 19:33:50 <wladston1> yup
240 2012-05-28 19:34:03 <BlueMatt> ok, so what does iotop show you, and whats bitcoind's cpu usage like?
241 2012-05-28 19:34:12 <wladston1> how to check cpu usage ?
242 2012-05-28 19:34:17 <BlueMatt> luke-jr: how is that debateable, aside from cost reasons, more mem is always better
243 2012-05-28 19:34:33 <gmaxwell> well, more memory means more power usage.
244 2012-05-28 19:34:33 <wladston1> BlueMatt: I don't have it : -bash: iotop: command not found
245 2012-05-28 19:34:40 <luke-jr> BlueMatt: cost reasons are important
246 2012-05-28 19:34:46 <gmaxwell> current hardware and OSes don't know how to turn off memory that isn't needed.
247 2012-05-28 19:34:56 <wladston1> bitcoind is taking 9% of cpu
248 2012-05-28 19:35:01 <wladston1> 4% now
249 2012-05-28 19:35:02 <BlueMatt> gmaxwell: need a lot of servers before that starts making a difference, really?
250 2012-05-28 19:35:09 <wladston1> it changes a lot
251 2012-05-28 19:35:14 <luke-jr> BlueMatt: most datacenters have a lot of servers
252 2012-05-28 19:35:18 <BlueMatt> wladston1: so install iotop
253 2012-05-28 19:35:25 <BlueMatt> luke-jr: and also have a lot of memory anyway
254 2012-05-28 19:35:29 <gmaxwell> BlueMatt: I dunno about that... memory is actually fairly power hungry.
255 2012-05-28 19:35:35 <luke-jr> gmaxwell: it'd be nice if handheld computers had 1+ GB RAM that would only be powered as needed ;)
256 2012-05-28 19:35:41 <ne0futur> fyi i added #bitcoin-dev to my logstats tools : http://btcdevlogs.ww7.be/bitcoin-dev.month.php
257 2012-05-28 19:35:54 <gmaxwell> luke-jr: linux kernel has hotplug so it could be done.
258 2012-05-28 19:36:05 <gmaxwell> but it's not automatic or anything like that.
259 2012-05-28 19:36:16 <wladston1> BlueMatt: installing iotop now, hold on
260 2012-05-28 19:36:31 <BlueMatt> or, does your vps provider give you disk usage graphs
261 2012-05-28 19:36:39 <BlueMatt> including % usage
262 2012-05-28 19:36:40 <luke-jr> BlueMatt: a lot of memory total sure, but not much per person
263 2012-05-28 19:38:11 <wladston1> BlueMatt: maybe & let's see
264 2012-05-28 19:38:52 <wladston1> BlueMatt: bitcoind is using 99.9% of IO
265 2012-05-28 19:39:18 <BlueMatt> does anyone have any interest in cblockstore for 0.7?
266 2012-05-28 19:39:39 <gmaxwell> BlueMatt: yes.
267 2012-05-28 19:39:46 <gmaxwell> Also, we should do it while jeff is out. :)
268 2012-05-28 19:39:57 <BlueMatt> wladston1: then I would try dowloading a chain snapshot from http://eu1.bitcoincharts.com/blockchain/
269 2012-05-28 19:40:12 <wladston1> BlueMatt: I should have done that later ...
270 2012-05-28 19:40:18 <wladston1> now it's almost over
271 2012-05-28 19:40:21 <BlueMatt> s/later/earlier/
272 2012-05-28 19:40:41 <wladston1> whoops, yeah
273 2012-05-28 19:40:42 <wladston1> :D
274 2012-05-28 19:40:54 <wladston1> I'm now at 180509
275 2012-05-28 19:41:10 <BlueMatt> gmaxwell: awww, I was having fun making cgminer run cuda...oh well, Ill go rebase
276 2012-05-28 19:41:14 <D34TH> ok so it was reading the wrong version of boost
277 2012-05-28 19:41:16 <wladston1> also another question & I'm set to accept payments with 3 confirmations
278 2012-05-28 19:41:19 <D34TH> my brain is melted
279 2012-05-28 19:41:32 <wladston1> but would like to accept with 0 or 1
280 2012-05-28 19:42:08 <D34TH> like-jr mind if i ask a stupid question?
281 2012-05-28 19:42:16 <luke-jr> yes
282 2012-05-28 19:42:18 <wladston1> if I get a double spend attack, how can I react to it ?
283 2012-05-28 19:42:25 <wladston1> using bitcoind ?
284 2012-05-28 19:42:28 <D34TH> if the makefile searched for 1.0.1d openssl why does the build-msw.txt say 1.0.1b
285 2012-05-28 19:42:32 <luke-jr> but you won't know it's stupid until you ask it
286 2012-05-28 19:43:29 <gmaxwell> Heisendumb.
287 2012-05-28 19:44:27 <luke-jr> D34TH: because nobody who's serious actually uses Windows or pays attention to build-msw.txt
288 2012-05-28 19:44:50 <D34TH> alright
289 2012-05-28 19:44:53 <D34TH> makefile hacking time
290 2012-05-28 19:45:15 <gmaxwell> D34TH: please cleanly fix those issues and submit pull requests.
291 2012-05-28 19:45:21 <BlueMatt> its probably easier to install ubuntu in a vm and cross compile than actually get windows to work, tbh...
292 2012-05-28 19:45:31 <luke-jr> BlueMatt: definitely
293 2012-05-28 19:46:22 <BlueMatt> fun thing is, in windows 8, building apps with visual studio is not an option anymore for most people, so now you _have_ to use mingw, and then its easier to cross compile
294 2012-05-28 19:46:48 <BlueMatt> lets just alienate all our devs since we dont have any good ones anyway, why dont we?
295 2012-05-28 19:47:03 <D34TH> gmaxwell done
296 2012-05-28 19:47:10 <luke-jr> well, good devs almost use Linux by definition
297 2012-05-28 19:47:13 <BlueMatt> so much for "DEVELOPERS, DEVELOPERS, DEVELOPERS, DEVELOPERS, DEVELOPERS!"
298 2012-05-28 19:47:38 <D34TH> nevermind it didnt save
299 2012-05-28 19:47:39 <D34TH> D:
300 2012-05-28 19:47:44 <gmaxwell> luke-jr: hush. We need more windows developers... and if we manage to get some good ones there we shouldn't tip them off that they'd be much happier on linux. Their loss is our gain.
301 2012-05-28 19:48:12 <luke-jr> gmaxwell: I suppose. Just speaking from experience.
302 2012-05-28 19:48:29 <BlueMatt> to be fair, its gotten 10000x easier since we switched to qt
303 2012-05-28 19:48:30 <wladston1> I used ubuntu for 6 years, now switched to mac
304 2012-05-28 19:48:52 <D34TH> there we go
305 2012-05-28 19:48:53 <BlueMatt> used to be weird transparency issues popping up with wx2.9 for no reason
306 2012-05-28 19:48:55 <wladston1> there are the downsides, but I'm pretty satisfied.
307 2012-05-28 19:49:15 <wladston1> going to commute back home guys & nice work for everyone
308 2012-05-28 19:50:19 <gribble> New news from bitcoinrss: grimd34th opened pull request 1394 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1394>
309 2012-05-28 19:52:05 <gmaxwell> D34TH: merged, thanks.
310 2012-05-28 19:52:08 <D34TH> np
311 2012-05-28 19:54:20 <D34TH> http://pastebin.com/D59dvCVH
312 2012-05-28 19:54:38 <D34TH> i cant catch a break at all
313 2012-05-28 19:55:25 <D34TH> ooh gmaxwell i found another thing, when boost compiles it saves to c:boost not C:oost-1.47.0-mgw
314 2012-05-28 19:55:31 <D34TH> whoops
315 2012-05-28 19:55:34 <D34TH> c:oost
316 2012-05-28 19:55:48 <D34TH> when i get my makefile hackery done i shall test it
317 2012-05-28 19:55:54 <gmaxwell> k.
318 2012-05-28 19:56:19 <BlueMatt> I think the boost-1.47.0-mgw was just a thing to force people to use 1.47 and be aware of the version
319 2012-05-28 19:56:40 <BlueMatt> also, I dont think you have to install, so you should just unzip to C:oost-1.47.0-mgw and make there, without installing
320 2012-05-28 19:59:24 <sipa> c
321 2012-05-28 19:59:32 <sipa> did i miss something?
322 2012-05-28 20:00:14 <D34TH> just me trying to get bitcoin to comiple on windows
323 2012-05-28 20:00:18 <D34TH> and it hating my life
324 2012-05-28 20:01:46 <D34TH> compiling with boost 1.50
325 2012-05-28 20:02:39 <D34TH> alot of warnings
326 2012-05-28 20:02:51 <D34TH> kinda makes me think nothing will work
327 2012-05-28 20:09:45 <Joric_> agreed boost is a serious reason to kill yourself
328 2012-05-28 20:10:41 <sipa> your nickname hardly helps, i guess
329 2012-05-28 20:11:40 <BlueMatt> were gonna need about a month of rcs to get 0.7 ready to ship, I think
330 2012-05-28 20:11:55 <sipa> yes, probably
331 2012-05-28 20:12:03 <sipa> but i'd still like blockstore in 0.7 :)
332 2012-05-28 20:12:38 <luke-jr> sipa: do you have forum mod perms?
333 2012-05-28 20:12:47 <sipa> no
334 2012-05-28 20:12:50 <luke-jr> gmaxwell: ^?
335 2012-05-28 20:13:04 <BlueMatt> Im rebasing now, then Ive got one deadlock that seems like it should appear pretty often, but I cant seem to get it to trigger in DEBUG_LOCKORDER to track down, then Ill push
336 2012-05-28 20:13:28 <luke-jr> also, I took out the stupid cache in getmemorypool for benchmarking& git master takes over 7 minutes for ~400 txns -.-
337 2012-05-28 20:13:37 <gmaxwell> luke-jr: no only for the mining subforum.
338 2012-05-28 20:13:42 <gmaxwell> luke-jr: see.
339 2012-05-28 20:13:49 <gmaxwell> thats @#$@ broken.
340 2012-05-28 20:13:57 <luke-jr> the problem is, it's no an easy algorithm
341 2012-05-28 20:14:08 <gmaxwell> Explains my result I was adding new txn between calls.
342 2012-05-28 20:14:21 <luke-jr> 0.55-1.57 seconds per transaction it seems
343 2012-05-28 20:14:25 <sipa> wait... what?
344 2012-05-28 20:14:31 <luke-jr> sipa: CreateNewBlock is SLOW
345 2012-05-28 20:14:45 <sipa> i would call a second SLOW
346 2012-05-28 20:14:57 <sipa> 7 minutes in unacceptable
347 2012-05-28 20:15:11 <luke-jr> >_<
348 2012-05-28 20:15:25 <gmaxwell> What could it possibly be doing?
349 2012-05-28 20:15:32 <gmaxwell> Men! to your profilers!
350 2012-05-28 20:15:46 <luke-jr> gmaxwell: well, if checknewblock makes a big improvement, building merkle trees uselessly
351 2012-05-28 20:15:49 <sipa> is that just master now, or is it the same in releases?
352 2012-05-28 20:15:58 <luke-jr> sipa: didn't benchmark there at all yet
353 2012-05-28 20:16:05 <luke-jr> obviously, getting averages is slow
354 2012-05-28 20:16:13 <D34TH> F:itcoinsrcqt\transactiondesc.cpp:247: error: variable 'CTxDB txdb' has initializer but incomplete type
355 2012-05-28 20:16:18 <D34TH> hmmm
356 2012-05-28 20:16:44 <luke-jr> D34TH: expect to fix code ;)
357 2012-05-28 20:17:16 <sipa> D34TH: what code version is that?
358 2012-05-28 20:17:21 <D34TH> latest git
359 2012-05-28 20:17:29 <luke-jr> & php -.-
360 2012-05-28 20:17:38 <D34TH> :D
361 2012-05-28 20:17:44 <sipa> sounds like a drug
362 2012-05-28 20:17:48 <D34TH> it assits me somewhat
363 2012-05-28 20:17:55 <luke-jr> D34TH: better just switch to Ubuntu for building <.<
364 2012-05-28 20:18:03 <D34TH> for winblows?
365 2012-05-28 20:18:04 <D34TH> D:
366 2012-05-28 20:18:11 <D34TH> virtualbox tiem
367 2012-05-28 20:18:26 <sipa> D34TH: the official windows binaries are built on ubuntu, yes
368 2012-05-28 20:18:32 <luke-jr> D34TH: yes, all Windows binaries are build on Ubuntu nowadays
369 2012-05-28 20:19:21 <D34TH> wow no wonder why my vm had bad performance
370 2012-05-28 20:19:26 <D34TH> it thinks i have 8 cores
371 2012-05-28 20:19:30 <luke-jr> lol
372 2012-05-28 20:19:34 <D34TH> i have 4
373 2012-05-28 20:19:51 <sipa> 4 with hyperthreading, probably
374 2012-05-28 20:20:10 <luke-jr> oh wait
375 2012-05-28 20:20:14 <D34TH> nope amd
376 2012-05-28 20:20:17 <luke-jr> my getmemorypool times are for 1000 calls
377 2012-05-28 20:20:19 <luke-jr> forgot to mention that
378 2012-05-28 20:20:36 <D34TH> AMD Athlon II x4 640
379 2012-05-28 20:20:39 <D34TH> overclocked
380 2012-05-28 20:20:54 <D34TH> this thing runs like a tank
381 2012-05-28 20:21:15 <sipa> luke-jr: so, 0.42s?
382 2012-05-28 20:21:21 <luke-jr> sipa: I guess so XD
383 2012-05-28 20:21:34 <sipa> that's... slow but acceptable i guess
384 2012-05-28 20:21:39 <luke-jr> ok honestly& I forgot I was making 1000 calls >_<
385 2012-05-28 20:22:09 <sipa> haha
386 2012-05-28 20:22:26 <D34TH> now to figure out how to linux -> windows
387 2012-05-28 20:22:41 <luke-jr> D34TH: probably won't work inside Virtualbox <.<
388 2012-05-28 20:22:52 <D34TH> it should
389 2012-05-28 20:23:10 <D34TH> i couldnt see why not
390 2012-05-28 20:23:15 <luke-jr> D34TH: it requires hardware virtualization support
391 2012-05-28 20:23:24 <D34TH> like PAE?
392 2012-05-28 20:23:27 <luke-jr> &
393 2012-05-28 20:23:29 <luke-jr> like VT-x
394 2012-05-28 20:23:36 <D34TH> i have that enable
395 2012-05-28 20:23:38 <D34TH> **enabled
396 2012-05-28 20:23:43 <luke-jr> yes, but inside your VirtualBox? ;)
397 2012-05-28 20:23:46 <D34TH> VT-x/AMD-V
398 2012-05-28 20:24:33 <D34TH> "When checked, the virtualmachine will trry to make use of the host CPU's hardware virtualization extensions such at Intel VT-x and AMD-v"
399 2012-05-28 20:24:33 <sipa> D34TH: official windows binaries are built using a system called gitian, that builds inside a tightly-controlled virtual machine, on Ubuntu
400 2012-05-28 20:24:56 <sipa> D34TH: if you run Ubuntu itself already in a VM, you have two VM's stacked
401 2012-05-28 20:25:00 <D34TH> sipa do you have a iso i could get of the vm?
402 2012-05-28 20:25:09 <luke-jr> D34TH: yes, but can you run a virtual machine inside that virtual machine?
403 2012-05-28 20:25:17 <D34TH> i am running windows and have a vm of ubuntu
404 2012-05-28 20:25:25 <D34TH> i havent tried
405 2012-05-28 20:25:33 <luke-jr> D34TH: you need to have another VM of Ubuntu *inside* that VM
406 2012-05-28 20:25:43 <D34TH> why?
407 2012-05-28 20:25:52 <luke-jr> D34TH: because that's how we build Windows binaries
408 2012-05-28 20:25:56 <sipa> that's how gitian works
409 2012-05-28 20:25:58 <D34TH> dafuq
410 2012-05-28 20:26:07 <sipa> it creates a VM to build the system in