1 2012-03-10 00:29:17 <tomoj> suppose I have a queue of transactions with unique ids (where a 'transaction' here is just an id/address/amount tuple corresponding to a bitcoin send I need to make), and my transaction processing code will process each transaction on the queue at least once. how do I make the sends idempotent?
  2 2012-03-10 00:30:36 <tomoj> I could get an exactly once guarantee if it is inconvenient to do idempotent sends in bitcoin
  3 2012-03-10 00:30:38 <[Tycho]> You are talking about already created TXes with known hash ?
  4 2012-03-10 00:31:20 <tomoj> hmm
  5 2012-03-10 00:31:41 <tcatm> When using bitcoind's RPC API you can't do that.
  6 2012-03-10 00:31:49 <tomoj> right, figured
  7 2012-03-10 00:32:27 <candlepin> you can publish the same tx many times... it will only be counted once
  8 2012-03-10 00:32:28 <tomoj> I don't understand bitcoin transactions yet, guess I will read the wiki first
  9 2012-03-10 00:32:29 <[Tycho]> Hmm it successfully creates P2SH blocks and sends P2SH TXes but doesn't wants to mine them...
 10 2012-03-10 00:32:59 <candlepin> there can only be one transaction with a particular hash (bip30 notwithstanding)
 11 2012-03-10 00:34:31 <tcatm> Do we have Qt wizards in this channel?
 12 2012-03-10 00:34:56 <tomoj> so the idea is I need to put bitcoin transactions themselves on the queue, then broadcast each at-least-once..
 13 2012-03-10 00:35:25 <candlepin> yeah.. im not sure how the satoshi client, but i assume it sends the tx to a few peers
 14 2012-03-10 00:35:37 <tcatm> Depending on what you want to archieve that might not be ideal as those transactions might depend on each other.
 15 2012-03-10 00:36:44 <tomoj> that is, if one doesn't get in, the later transactions will be invalid?
 16 2012-03-10 00:37:39 <tcatm> Something like that could happen, yes.
 17 2012-03-10 00:39:28 <tomoj> for sendmany, will either all transactions succeed or none?
 18 2012-03-10 00:39:55 <tcatm> That's correct.
 19 2012-03-10 00:40:07 <BlueMatt> its one tx, so all?
 20 2012-03-10 00:40:29 <phantomcircuit> tomoj, how do you get your unique ids
 21 2012-03-10 00:40:55 <tomoj> a 'secure' random number generator
 22 2012-03-10 00:41:09 <phantomcircuit> mind if i ask what you're actually trying to do? :)
 23 2012-03-10 00:43:46 <tomoj> just thinking about how to scale something like an exchange, no specific goal at the moment
 24 2012-03-10 00:50:01 <dwon> Does anyone know why blockexplorer shows the height of testnet at 48079, but both bitcoind 0.5.2 and BitCoinJ 0.4 stop at 46722 ?
 25 2012-03-10 00:51:30 <BlueMatt> what version are you on?
 26 2012-03-10 00:51:33 <BlueMatt> oh...
 27 2012-03-10 00:51:38 <BlueMatt> /smackface
 28 2012-03-10 00:53:03 <tomoj> my 0.5.2 seems stopped at 47463
 29 2012-03-10 00:53:24 <denisx> I try to call system() from bitcoind, but the compiler says it would be ambiguous
 30 2012-03-10 00:53:28 <denisx> how can that be?
 31 2012-03-10 00:54:50 <BlueMatt> oh, bbe is probably on the new testnet diff rules
 32 2012-03-10 00:54:59 <BlueMatt> you need to upgrade to 0.6rc IIRC
 33 2012-03-10 00:55:14 <BlueMatt> (only for testnet)
 34 2012-03-10 00:56:04 <dwon> Oh.  What changed?
 35 2012-03-10 00:56:45 <BlueMatt> if blocks are taking too long, diff will readjust downward
 36 2012-03-10 00:56:49 <BlueMatt> well, just accept lower diff
 37 2012-03-10 01:08:33 <dwon> BlueMatt: oh, heh.  That explains it.  Thanks!
 38 2012-03-10 01:17:07 <JFK911> ;;bc,stats
 39 2012-03-10 01:17:09 <gribble> Current Blocks: 170445 | Current Difficulty: 1496978.5950256 | Next Difficulty At Block: 171359 | Next Difficulty In: 914 blocks | Next Difficulty In About: 6 days, 5 hours, 17 minutes, and 12 seconds | Next Difficulty Estimate: 1480510.02841192 | Estimated Percent Change: -1.10012038039
 40 2012-03-10 01:36:23 <tomoj> what are 'comment' and 'comment-to' for in sendtoaddress?
 41 2012-03-10 01:36:54 <BlueMatt> they are only stored locally in your wallet
 42 2012-03-10 01:37:09 <BlueMatt> (and are dispalyed in qt gui)
 43 2012-03-10 01:42:45 <tomoj> ah, I see
 44 2012-03-10 01:55:41 <tcatm> More sidebar work: http://188.138.99.157/stuff/qtvert4.png
 45 2012-03-10 01:56:18 <luke-jr> tcatm: I hope it's optional. I prefer the tabs.
 46 2012-03-10 01:57:40 <BlueMatt> tcatm: o lala
 47 2012-03-10 01:57:49 <BlueMatt> s/o/ooo
 48 2012-03-10 01:57:52 <BlueMatt> /
 49 2012-03-10 01:59:01 <BlueMatt> tabbed interfaces always feel very wrong to me
 50 2012-03-10 01:59:23 <BlueMatt> just looks like someone put no effort into design and whipped something up real quick when its the main window of a program
 51 2012-03-10 02:05:15 <tcatm> Code is here. It's still messy as I didn't have any Qt experience until yesterday. https://github.com/tcatm/bitcoin/tree/new-gui
 52 2012-03-10 02:06:03 <BlueMatt> the license is an email address?
 53 2012-03-10 02:06:10 <BlueMatt> (for the bg image)
 54 2012-03-10 02:08:26 <tcatm> He's send an email to some devs a few days ago with a mockup. I asked him for the .png but didn't many any licenses yet so I figured it might be best to write down his address for now so we can do that later before merging the branch (should we decide to merge it at all).
 55 2012-03-10 02:09:10 <BlueMatt> oh, ok...ofc the person who mocksup a new ui is a @me.com
 56 2012-03-10 02:09:58 <tcatm> And the mockup looks very OS Xish, too :)
 57 2012-03-10 02:10:29 <BlueMatt> ofc
 58 2012-03-10 02:11:41 <luke-jr> (that's a bad thing& :p)
 59 2012-03-10 02:12:27 <tcatm> My idea is to only change the styles and move things around without removing/adding any features. I.e. his mockup is pretty simple and doesn't support sendmany.
 60 2012-03-10 02:12:46 <BlueMatt> mmm, yea sendmany support is nice
 61 2012-03-10 02:14:13 <tcatm> I'll probably remove the statusbar, move the status icons to the sidebar and the alert message to the central widget.
 62 2012-03-10 02:14:46 <tcatm> hey Samuel
 63 2012-03-10 02:14:52 <Samuel> Hi!
 64 2012-03-10 02:15:12 <Samuel> Great, easy talking now
 65 2012-03-10 02:15:17 <luke-jr> tcatm: so you won't see alerts unless you switch to the main page?
 66 2012-03-10 02:15:23 <BlueMatt> tcatm: /nod except for the alter message, kinda prefer an alert visible on all pages
 67 2012-03-10 02:15:56 <tcatm> It would be visible on all pages. Maybe even with a rounded, yellow box.
 68 2012-03-10 02:16:08 <BlueMatt> ok, thats fine then
 69 2012-03-10 02:16:10 <BlueMatt> sounds good
 70 2012-03-10 02:17:05 <tcatm> Samuel: Yes, much better than email!
 71 2012-03-10 02:17:23 <BlueMatt> Samuel: the mockup guy?
 72 2012-03-10 02:17:34 <Samuel> tcatm - I was thing that the balance  BTC amount should be left-aligned like the Balance text
 73 2012-03-10 02:17:35 <Samuel> Yes!
 74 2012-03-10 02:18:14 <tcatm> That's probably a good idea. I wonder how and if we should display the unconfirmed balance, too?
 75 2012-03-10 02:18:23 <BlueMatt> na, Id say not
 76 2012-03-10 02:18:28 <Samuel> Where you one of people I emailed about the mockup, Matt?
 77 2012-03-10 02:18:37 <BlueMatt> no
 78 2012-03-10 02:18:49 <Samuel> No, not for the sidebar. Save that for the overveiw tab
 79 2012-03-10 02:18:53 <Samuel> Oh
 80 2012-03-10 02:18:58 <luke-jr> Samuel: why not mail the whole dev list?
 81 2012-03-10 02:19:12 <BlueMatt> having balance you cant send in the sidebar would be confusing on the send page
 82 2012-03-10 02:19:22 <Samuel> I only emailed the people under developer on bitcoin.org
 83 2012-03-10 02:19:32 <luke-jr> Samuel: that list is pretty arbitrary
 84 2012-03-10 02:19:50 <Samuel> oh...
 85 2012-03-10 02:20:42 <Samuel> SHould I email more people?
 86 2012-03-10 02:20:57 <BlueMatt> meh, we have code now
 87 2012-03-10 02:21:12 <Samuel> Ok
 88 2012-03-10 02:21:44 <luke-jr> Samuel: FWIW, I'm probably going to end up a critic. I prefer the current (normal) UI.
 89 2012-03-10 02:22:26 <Samuel> Hmm... what is it you don't like about my mockup?
 90 2012-03-10 02:22:46 <tcatm> I'm currently fighting with Qt. It does strange things when resizing the window...
 91 2012-03-10 02:22:56 <luke-jr> tabs on the left that don't look like tabs, and high contrast
 92 2012-03-10 02:23:01 <Graet> I like to see my unconfirmed balance
 93 2012-03-10 02:23:15 <luke-jr> pretty much anything that makes it look different from other normal apps
 94 2012-03-10 02:23:22 <tcatm> http://188.138.99.157/stuff/qtvert4_strange.png
 95 2012-03-10 02:24:52 <Samuel> Maybe, but I like the dark noise background, but maybe a lighter background would look good too, but may look to similar to the right side of the app
 96 2012-03-10 02:24:54 <tcatm> Some OS defaults are just ugly.
 97 2012-03-10 02:25:03 <Samuel> Yeah
 98 2012-03-10 02:25:04 <luke-jr> tcatm: so then use another OS, or customize them&
 99 2012-03-10 02:25:22 <tcatm> That's what I do ;)
100 2012-03-10 02:25:27 <luke-jr> most OS let you choose your colours
101 2012-03-10 02:25:28 <BlueMatt> s/Some/Many/
102 2012-03-10 02:25:36 <BlueMatt> most people dont bother
103 2012-03-10 02:25:41 <BlueMatt> 99.9% of people dont care
104 2012-03-10 02:25:44 <tcatm> But yeah, it should pick up user preferences wherever possible.
105 2012-03-10 02:25:52 <Samuel> My inspiration for the design was the Twitter app for Mac
106 2012-03-10 02:25:54 <tcatm> I.e. for highlight colors.
107 2012-03-10 02:26:06 <luke-jr> Samuel: most people don't care for Mac
108 2012-03-10 02:26:30 <BlueMatt> I wouldnt say that
109 2012-03-10 02:26:46 <Samuel> Well, I was just talking about the Twitter app but I disagree
110 2012-03-10 02:26:49 <luke-jr> BlueMatt: how many people use Safari for Windows?
111 2012-03-10 02:27:13 <luke-jr> (I didn't choose iTunes as an example, because iTunes forces itself on iPod users)
112 2012-03-10 02:27:14 <BlueMatt> how many people use ie:mac?
113 2012-03-10 02:27:15 <Samuel> Mac is a growing platform, and I'm a designer so its the industry standard
114 2012-03-10 02:27:40 <BlueMatt> ok, how many people used ie:mac when it was competing with safari and was actively developed
115 2012-03-10 02:27:40 <tcatm> What about something like this? http://cdn.omgubuntu.co.uk/wp-content/uploads/2011/11/screen-shot-2011-11-11-at-09.42.54-500x342.jpg
116 2012-03-10 02:27:44 <luke-jr> BlueMatt: ie:mac didn't force Windows semantics on Mac ;p
117 2012-03-10 02:28:05 <tcatm> White sidebar, white content background.
118 2012-03-10 02:28:30 <Samuel> It could work.
119 2012-03-10 02:28:31 <tcatm> When using a treeview for the sidebar we *could* add accounts to it later.
120 2012-03-10 02:29:29 <tcatm> Or apps that do not pick up my terminal's colors ;)
121 2012-03-10 02:29:44 <BlueMatt> or apps that use terminal colors
122 2012-03-10 02:30:29 <tcatm> Though, for Bitcoin it might be a good idea to have a consistent default look across all platforms to make it feel more stable and dependable.
123 2012-03-10 02:31:10 <BlueMatt> /nod
124 2012-03-10 02:31:53 <Samuel> Yes, consistency is key.
125 2012-03-10 02:32:06 <luke-jr> tcatm: out of place, you mean :p
126 2012-03-10 02:32:17 <luke-jr> consistent across platforms = foreign to all (but one, at most)
127 2012-03-10 02:32:26 <tcatm> A little out of place to make it stand out maybe.
128 2012-03-10 02:32:32 <luke-jr> consistent *with* each platform, is what's important
129 2012-03-10 02:32:42 <rasengan> true
130 2012-03-10 02:32:44 <Samuel> Yep
131 2012-03-10 02:33:26 <andytoshi> allow me to step in here, and say do NOT override OS styles
132 2012-03-10 02:33:40 <andytoshi> that is irritating and unprofessional and idiotic
133 2012-03-10 02:34:40 <forsetifox> Ending is pretty good.
134 2012-03-10 02:36:18 <luke-jr> anyone want to play freeciv or glob2?
135 2012-03-10 02:37:14 <tcatm> Some apps have a setting to switch between OS style and custom style. I think we could do that, too.
136 2012-03-10 02:37:25 <BlueMatt> that sounds like too much work...
137 2012-03-10 02:37:42 <Samuel> Lets go with just one look
138 2012-03-10 02:37:57 <luke-jr> Samuel: then let's stick with the current one. -.-
139 2012-03-10 02:38:06 <tcatm> Changing styles with Qt is as simple as calling this->setStyle(foo)
140 2012-03-10 02:38:33 <Samuel> The current one definitely works, I just think it could be more intuitive with a better design
141 2012-03-10 02:38:50 <BlueMatt> yea, but I find apps that do the switching based on settings...wrong?
142 2012-03-10 02:38:53 <luke-jr> maybe. I just think the proposed one is far worse :p
143 2012-03-10 02:39:24 <tcatm> luke-jr: Did you even see the mockup?
144 2012-03-10 02:39:47 <tcatm> Not my screenshots. I'm just trying to learn Qt and move the tabs to the left.
145 2012-03-10 02:40:14 <luke-jr> tcatm: I saw your screenshots.
146 2012-03-10 02:40:21 <luke-jr> he didn't send the mockup to the ML
147 2012-03-10 02:40:41 <Samuel> ML? What would that stand for?
148 2012-03-10 02:40:46 <BlueMatt> mailing list
149 2012-03-10 02:40:46 <tcatm> Mailinglist
150 2012-03-10 02:40:48 <andytoshi> mailing list
151 2012-03-10 02:41:02 <Samuel> ohh, I see I'll get you a link
152 2012-03-10 02:41:20 <Samuel> http://cl.ly/083F1I1e0A0k40160K44
153 2012-03-10 02:41:55 <luke-jr> &
154 2012-03-10 02:42:00 <Samuel> We have decided to drop the converter and drop the "My Address" thing
155 2012-03-10 02:42:02 <luke-jr> maybe for a separate client
156 2012-03-10 02:42:37 <luke-jr> that's basically a totally different target user IMO
157 2012-03-10 02:43:03 <andytoshi> i agree with that statement -- it's pretty, but i'd never use it
158 2012-03-10 02:44:35 <Samuel> I guess your right, it leans towards a new user. But who said a geek's software had to be all plain gray and boring?
159 2012-03-10 02:45:19 <Samuel> SomeoneWeird... your name sounds familiar. Are you on a bitcoin forum?
160 2012-03-10 02:45:20 <andytoshi> nobody, but the core devs here want -their- software to be plain and boring ;)
161 2012-03-10 02:45:27 <luke-jr> lol
162 2012-03-10 02:45:30 <SomeoneWeird> Samuel, yeah...
163 2012-03-10 02:45:39 <Samuel> Nice
164 2012-03-10 02:45:43 <SomeoneWeird> lol
165 2012-03-10 02:46:18 <tcatm> Maybe we could start with thinking about what a user wants to do in each tab.
166 2012-03-10 02:46:20 <Samuel> Well, maybe the layout should just be "re-organized" instead of "redeisgned"
167 2012-03-10 02:46:39 <luke-jr> I like the current organization with FIRST_CLASS_MESSAGING <.<
168 2012-03-10 02:47:11 <Samuel> I'm not sure that I understand what you mean
169 2012-03-10 02:47:22 <tcatm> Me? Or luke-jr?
170 2012-03-10 02:47:27 <Samuel> Luke
171 2012-03-10 02:47:43 <luke-jr> I'm not sure I can explain it clearer.
172 2012-03-10 02:48:05 <andytoshi> i think he just wants a definition for FIRST_CLASS_MESSAGING
173 2012-03-10 02:48:11 <Samuel> Yes
174 2012-03-10 02:48:22 <luke-jr> qmake FIRST_CLASS_MESSAGING=1
175 2012-03-10 02:48:31 <luke-jr> puts Sign Message in the tab bar
176 2012-03-10 02:48:49 <tcatm> One thing I'd like to change are all those copy&paste buttons scattered across the current GUI. An Edit Menu should work much better.
177 2012-03-10 02:49:21 <luke-jr> excellent idea
178 2012-03-10 02:49:22 <BlueMatt> has anyone talked to laanjw about all this?
179 2012-03-10 02:49:54 <tcatm> I think he responded to the email.
180 2012-03-10 02:50:00 <Samuel> That would be good. We can get rid of the buttons, maybe if you hover over an address a "copy" tooltip would popup
181 2012-03-10 02:50:19 <luke-jr> & >_<
182 2012-03-10 02:50:23 <tcatm> Why not rely on basic OS defaults for copy&paste?
183 2012-03-10 02:50:49 <tcatm> Linux users would then use middle click, Windows ctrl-v and OSX cmd-v (or whatever it is).
184 2012-03-10 02:51:12 <Samuel> Who is laanjw? I got responses from  tcatm and Wladimir
185 2012-03-10 02:51:24 <luke-jr> Wladimir/laanjw/wumpus
186 2012-03-10 02:51:51 <Samuel> umm ok. I'm new to the whole Bitcoin community so yeah
187 2012-03-10 02:52:53 <BlueMatt> yea, the whole 3 nick thing throws me...
188 2012-03-10 02:54:01 <Samuel> I also came up with this deisgn (before the one I showed you guys) but I don't like it http://cl.ly/2Y3N3t2l1m2x1j05271n
189 2012-03-10 02:54:01 <tcatm> What would a user want to do on the Overview tab?
190 2012-03-10 02:55:04 <tcatm> Not too bad either, but I think horizontal tabs should use Icons instead of text. When using text, vertical tabs are easier to read.
191 2012-03-10 02:55:16 <Samuel> tcatm: see an overveiw of their bitcoins, maybe a few recent transaction notifications, and possibly a graph of their Bitcoins
192 2012-03-10 02:56:25 <Samuel> I like the other one with the sidebar more though
193 2012-03-10 02:58:58 <Samuel> Be back soon.
194 2012-03-10 03:00:18 <tcatm> What about a little network Status. Like "You are well connected to the bitcoin network" or "It looks like there are some problems. Try $this or $that"?
195 2012-03-10 03:02:25 <andytoshi> off-topic: has anyone here tried working with ldc2 (a D compiler)
196 2012-03-10 03:02:31 <andytoshi> and gotten the error "Both operands to a binary operator are not of the same type!"
197 2012-03-10 03:02:41 <andytoshi> it's an assembler error -- it's the compiler that's broken
198 2012-03-10 03:02:57 <tcatm> Woah, that's very offtopic!
199 2012-03-10 03:03:28 <andytoshi> just checking.. carry on your real conversation
200 2012-03-10 03:03:39 <dwon> Anyone know is there anything in the output of "bitcoind listtransactions" that indicates if a transaction is a double-spend?
201 2012-03-10 03:03:57 <BlueMatt> andytoshi: is there no #D ?
202 2012-03-10 03:04:15 <andytoshi> heey, there is, thanks
203 2012-03-10 03:04:38 <BlueMatt> sipa: what else would you be on a saturday at 5am?
204 2012-03-10 03:04:39 <tcatm> We could also show the last backup time of the wallet. Or whether the last backup is still sufficient to restore all coins.
205 2012-03-10 03:04:46 <Samuel> I'm back
206 2012-03-10 03:05:09 <BlueMatt> tcatm: yea, when we implement auto-backup...
207 2012-03-10 03:05:10 <Samuel> tcatm: Time since last backup would be great
208 2012-03-10 03:05:26 <BlueMatt> tcatm: Id say first focus on the ui itself before we start adding new features...
209 2012-03-10 03:07:14 <sipa> BlueMatt: often, not drunk, and awake
210 2012-03-10 03:07:58 <tcatm> BlueMatt: I don't want to add them yet. Just have an idea what each tabs purpose will be someday.
211 2012-03-10 03:09:01 <BlueMatt> tcatm: meh, we have that day to consider the tabs purpose
212 2012-03-10 03:09:01 <tcatm> Recent transactions could show transactions that have occured since the client was last started instead of latest 3.
213 2012-03-10 03:09:11 <BlueMatt> sipa: meh...
214 2012-03-10 03:09:40 <tcatm> Sure, but if we add too much to the overview tab now there won't be any space for that kind of information.
215 2012-03-10 03:13:04 <Samuel> Yeah, could be too much. I allways think of an overview pannel like a dashboard where you see a little bit of all information
216 2012-03-10 03:13:34 <tcatm> Not just "a little bit" but the information you most likely want to see.
217 2012-03-10 03:13:44 <Samuel> and then then the tabs would go more into more detail
218 2012-03-10 03:13:47 <Samuel> Yes
219 2012-03-10 03:16:04 <sipa> BlueMatt: Inaba told me his pool recent mined block 170411, with mostly git head code
220 2012-03-10 03:17:06 <sipa> BlueMatt: have a look at its coinbase tx: https://blockchain.info/tx-index/3201764/167e38edcec40ccef73e30fb36b7606becf7f3904ada992e6a066dd12a25dbdd
221 2012-03-10 03:17:09 <tcatm> I'd like to switch form labeling adresses to labeling transactions and remove the address book, too.
222 2012-03-10 03:17:10 <sipa> it's garbage
223 2012-03-10 03:17:48 <BlueMatt> anyone else mine on git head?
224 2012-03-10 03:17:51 <BlueMatt> gmaxwell: maybe
225 2012-03-10 03:18:07 <sipa> you can see the timestamp (04737c5a4f), the extranonce (0104), and 44 bytes of weird looking shit 2c4d4d3d3db346b703e4e0b55c3938850067c850f3102eb576d52c8e2ebbd973607c008e560100000000000000
226 2012-03-10 03:18:20 <Samuel> I don't know what that is... I'm a newbie...
227 2012-03-10 03:18:31 <sipa> instead of the garbage, there should be /P2SH/
228 2012-03-10 03:18:34 <gmaxwell> BlueMatt: wonked.
229 2012-03-10 03:18:51 <gmaxwell> I mine on git head, w/ getmemorypool however.
230 2012-03-10 03:18:57 <sipa> I've asked him to send me the full code he's using
231 2012-03-10 03:19:12 <gmaxwell> that particular thing isn't git head either though..
232 2012-03-10 03:19:18 <gmaxwell> "MM=="
233 2012-03-10 03:19:29 <sipa> yes, there are mm patches
234 2012-03-10 03:19:46 <sipa> maybe those interfered with the COINBASE_FLAGS handling
235 2012-03-10 03:19:50 <gmaxwell> it's either MM interaction or a getmemorypool miner that parses the flags wrong.
236 2012-03-10 03:20:00 <sipa> i'll check it out when i get his full code
237 2012-03-10 03:20:41 <gmaxwell> I'm concerned with the inability to reorg that jrmithdobbs reported at least one (and probably two) other person(s) have reported it. I've been trying to reproduce it but can't.
238 2012-03-10 03:20:53 <sipa> gmaxwell: me too
239 2012-03-10 03:21:15 <sipa> wasn't there some reported issue with having a stuck blockchain database that was never resolved?
240 2012-03-10 03:21:31 <gmaxwell> In particular, there is a potential class of bug we may be exposed to: what if there are BDB bugs that only show up at high scale. Can't see it on testnet, ..and it could cause a split.
241 2012-03-10 03:21:32 <sipa> if you would have downloaded the latest block, but not connected it to the best chain
242 2012-03-10 03:21:42 <Diablo-D3> man
243 2012-03-10 03:21:49 <Diablo-D3> that asus directcu II
244 2012-03-10 03:21:50 <tcatm> sipa: Stuck blockchain? I think I have a coredump of such a thing somewhere...
245 2012-03-10 03:21:59 <Diablo-D3> that would never fit in my case ;_;
246 2012-03-10 03:22:06 <gmaxwell> I tried recreating it here by taking the real chain, modifying bitcoin to tolerate diff 1, then making reorgs on top of it.. but no luck.
247 2012-03-10 03:22:24 <Diablo-D3> AND WHY THE FUCK ARE ALL THE 7970S STILL OUT OF STOCK EXCEPT THE SHIT ONES
248 2012-03-10 03:22:32 <Joric> etotheipi_, are you here?
249 2012-03-10 03:22:38 <sipa> Diablo-D3: it's a sign of god
250 2012-03-10 03:22:44 <sipa> "mine FPGA..."
251 2012-03-10 03:22:54 <Diablo-D3> I mean, AMD completed their end of the deal here
252 2012-03-10 03:22:55 <Diablo-D3> 12.2 is out
253 2012-03-10 03:23:00 <Diablo-D3> its verified to work without -na
254 2012-03-10 03:23:04 <jrmithdobbs> gmaxwell: i'm an ass for not having made a snapshot of that
255 2012-03-10 03:23:13 <andytoshi> the other day my bitcoind had gone into safemode
256 2012-03-10 03:23:13 <jrmithdobbs> didn't even think about it at the time
257 2012-03-10 03:23:21 <andytoshi> because it thought the last few hundred blocks were invalid
258 2012-03-10 03:23:29 <sipa> andytoshi: did it stick there?
259 2012-03-10 03:23:36 <andytoshi> yep
260 2012-03-10 03:23:37 <gmaxwell> andytoshi: I'm assuming you were on rc1.
261 2012-03-10 03:23:39 <sipa> or did it at some point did find the real chain
262 2012-03-10 03:23:42 <Diablo-D3> okay so guys
263 2012-03-10 03:23:43 <andytoshi> nope, git head
264 2012-03-10 03:23:44 <Diablo-D3> the ref design
265 2012-03-10 03:23:52 <gmaxwell> andytoshi: git head as of when?
266 2012-03-10 03:23:54 <Diablo-D3> it sucks air in through the fan, and all of that air exits the case?
267 2012-03-10 03:23:58 <andytoshi> it got stuck on feb 19 git head, and when i upgraded to mar 8, it was still stuck
268 2012-03-10 03:24:07 <BlueMatt> Diablo-D3: wait, WAT?
269 2012-03-10 03:24:07 <jrmithdobbs> andytoshi: do you still have the broken blockchain/index?
270 2012-03-10 03:24:10 <gmaxwell> andytoshi: what unstuck it?
271 2012-03-10 03:24:17 <Diablo-D3> blueMatt: what
272 2012-03-10 03:24:22 <andytoshi> jrmithdobbs: yes, i have a copy of the blockchain
273 2012-03-10 03:24:26 <Diablo-D3> Im trying to figure out how one fan at the end is supposed to work
274 2012-03-10 03:24:30 <Diablo-D3> Ive never owned a ref card
275 2012-03-10 03:24:33 <andytoshi> it unstuck when i moved it out of the way and redownloaded the whole thing
276 2012-03-10 03:24:34 <jrmithdobbs> andytoshi: both blk001.dat and blkindex.dat?
277 2012-03-10 03:24:37 <andytoshi> yes
278 2012-03-10 03:24:39 <tcatm> I have this in my debug.log: ERROR: ConnectInputs() : 6a26d2ecb6 VerifySignature failed
279 2012-03-10 03:24:50 <jrmithdobbs> andytoshi: can you compress and get that somewhere we can get to it?
280 2012-03-10 03:24:52 <tcatm> After that it rejected all following blocks.
281 2012-03-10 03:25:08 <jrmithdobbs> andytoshi: i did get it to continue and do a proper reorg
282 2012-03-10 03:25:13 <andytoshi> jrmithdobbs: sure, i'll get on that
283 2012-03-10 03:25:15 <jrmithdobbs> andytoshi: but not in a good way.
284 2012-03-10 03:25:56 <tcatm> http://blockexplorer.com/t/52KGag5X7c
285 2012-03-10 03:25:57 <andytoshi> i'm compressing it now, i'll throw it on my webserver when it's done..
286 2012-03-10 03:26:22 <Graet> ref coolers have a fan in one end and a shroud that exhausts hot air out back of case
287 2012-03-10 03:26:24 <Diablo-D3> hey guys
288 2012-03-10 03:26:31 <Diablo-D3> Graet: okay good, thats what I thought
289 2012-03-10 03:26:35 <Graet> :)
290 2012-03-10 03:26:38 <Diablo-D3> whats that other brand of fan that doesnt suck
291 2012-03-10 03:26:50 <Diablo-D3> not delta afb1212 but the other one
292 2012-03-10 03:27:03 <Graet> dunno - i dont use ref cards
293 2012-03-10 03:27:12 <Graet> i like my 3 fan gigabytes
294 2012-03-10 03:27:31 <Diablo-D3> yeah I never seem to buy ref cards either
295 2012-03-10 03:27:33 <Graet> but they dont exhaust from case, just fill it with hot air
296 2012-03-10 03:27:48 <Graet> but then i dont use cases lol
297 2012-03-10 03:27:56 <Diablo-D3> heh, mine exhausts out of the case no matter what
298 2012-03-10 03:28:06 <Diablo-D3> positive pressure air cooling
299 2012-03-10 03:28:11 <Diablo-D3> it exits the case no matter if it wants to or not
300 2012-03-10 03:28:17 <Graet> heh
301 2012-03-10 03:28:48 <Graet> but the non ref circulate that hot air back thru the case, where ref pump it straigh out ;)
302 2012-03-10 03:28:55 <Samuel> I got to go. (I don't even understand all this mining stuff anyway.) See ya guys later!
303 2012-03-10 03:29:16 <andytoshi> seeya, have fun with your designs :)
304 2012-03-10 03:29:30 <Samuel> yeah...
305 2012-03-10 03:29:31 <Samuel> ok
306 2012-03-10 03:41:40 <Diablo-D3> http://www.newegg.com/Product/Product.aspx?Item=N82E16814127652
307 2012-03-10 03:41:45 <Diablo-D3> I guess this is my only option
308 2012-03-10 03:44:00 <Diablo-D3> http://www.newegg.com/Product/Product.aspx?Item=N82E16814150591
309 2012-03-10 03:44:03 <Diablo-D3> I missed that
310 2012-03-10 03:44:56 <[Tycho]> Just one DVI connector :
311 2012-03-10 03:44:58 <[Tycho]> (
312 2012-03-10 03:45:13 <Diablo-D3> who cares, only need one
313 2012-03-10 03:46:26 <Diablo-D3> goddamnit those jews
314 2012-03-10 03:46:39 <forsetifox> >.>
315 2012-03-10 03:46:46 <Diablo-D3> xfx's doesnt come with a 6->8 adapter
316 2012-03-10 03:46:56 <Jamesz> HAH
317 2012-03-10 03:47:00 <Jamesz> fucking 570 bucks
318 2012-03-10 03:47:01 <Jamesz> lol
319 2012-03-10 03:47:17 <Jamesz> what an outrageous price for a graphic card.
320 2012-03-10 03:47:29 <Jamesz> one that isnt for rendering or anything other than playing games.
321 2012-03-10 03:47:34 <Jamesz> or bitcoin mining
322 2012-03-10 03:48:05 <Diablo-D3> Jamesz: well
323 2012-03-10 03:48:09 <Diablo-D3> the community has decreed
324 2012-03-10 03:48:12 <Diablo-D3> that I must have one
325 2012-03-10 03:48:15 <Jamesz> lol
326 2012-03-10 03:48:22 <Jamesz> for coding/
327 2012-03-10 03:48:23 <Jamesz> ?
328 2012-03-10 03:48:27 <Diablo-D3> FOR CODING!
329 2012-03-10 03:48:31 <Jamesz> or whatever
330 2012-03-10 03:48:41 <Jamesz> making something that works efficiently on it
331 2012-03-10 03:48:46 <Jamesz> so that more people can reason to buy one
332 2012-03-10 03:48:47 <Diablo-D3> that was the plan, yes.
333 2012-03-10 03:48:55 <Jamesz> and then bitch when nvidia releases their cards
334 2012-03-10 03:49:02 <Jamesz> and the 7970's drop to 400
335 2012-03-10 03:49:04 <Diablo-D3> man
336 2012-03-10 03:49:07 <Jamesz> because they'll have to
337 2012-03-10 03:49:08 <Jamesz> or lower
338 2012-03-10 03:49:11 <Diablo-D3> I should just order the community to send me like
339 2012-03-10 03:49:12 <Jamesz> probably 350
340 2012-03-10 03:49:15 <Diablo-D3> 25 btc
341 2012-03-10 03:49:24 <Jamesz> i could send you 25btc
342 2012-03-10 03:49:27 <Jamesz> but then i'd be broke.
343 2012-03-10 03:49:30 <Jamesz> in terms of btc.
344 2012-03-10 03:49:37 <Diablo-D3> well its not like you're using them
345 2012-03-10 03:49:41 <Jamesz> as i only have 34.5
346 2012-03-10 03:49:48 <Jamesz> no but i'd like to
347 2012-03-10 03:49:50 <Jamesz> eventually
348 2012-03-10 03:50:30 <[Tycho]> luke-jr:
349 2012-03-10 03:50:35 <luke-jr> .
350 2012-03-10 03:50:52 <[Tycho]> luke-jr: 9ab59e2d4be16c470160eb9b9a9d9799eaf29af0461aea131e748659d806fa1a
351 2012-03-10 03:51:23 <luke-jr> I have it, but not accepted.
352 2012-03-10 03:51:43 <[Tycho]> Dendrograms on blockchain.info detect this as version 0 address :)
353 2012-03-10 03:52:02 <Diablo-D3> Jamesz: I had to sell my last 10 btc to get this card
354 2012-03-10 03:52:22 <Diablo-D3> because rapidly falling BTC prices wiped out like 15% of the donations
355 2012-03-10 03:52:24 <[Tycho]> luke-jr: so can you redeem that ? :)
356 2012-03-10 03:52:32 <Jamesz> lol
357 2012-03-10 03:52:37 <Jamesz> whats btc at now
358 2012-03-10 03:52:44 <Diablo-D3> a little below $5
359 2012-03-10 03:52:48 <luke-jr> [Tycho]: maybe if I cared to take the time
360 2012-03-10 03:52:53 <Jamesz> eh, thats not bad
361 2012-03-10 03:53:05 <Jamesz> i'm gonna keep grinding till the difficulty goes up one or two more times
362 2012-03-10 03:53:06 <Diablo-D3> it was above $6 at the time
363 2012-03-10 03:53:19 <Jamesz> it was almost 7 at one time
364 2012-03-10 03:53:35 <luke-jr> 30*
365 2012-03-10 03:53:40 <Diablo-D3> dude it was over $31 at one point
366 2012-03-10 03:53:51 <Jamesz> i mean recently
367 2012-03-10 03:54:10 <Diablo-D3> I mean, seriously, what the fuck is this shit
368 2012-03-10 03:54:13 <Diablo-D3> all the cards I want to buy
369 2012-03-10 03:54:15 <Diablo-D3> are out of stock
370 2012-03-10 03:54:19 <Diablo-D3> all the nice and cheap ones
371 2012-03-10 03:54:28 <Jamesz> you try um...
372 2012-03-10 03:54:32 <Jamesz> tigerdirect?
373 2012-03-10 03:55:08 <Diablo-D3> I will never EVER buy from them
374 2012-03-10 03:55:14 <Jamesz> why
375 2012-03-10 03:55:21 <Diablo-D3> because they constantly fuck up orders
376 2012-03-10 03:57:50 <Jamesz> http://www.jr.com/xfx/pe/XFX_FX797ATNFC/
377 2012-03-10 03:59:53 <Diablo-D3> http://www.provantage.com/xfx-fx797atnbc~7PINE0QK.htm
378 2012-03-10 04:01:44 <Diablo-D3> meh, the fucked up part is, I can get 7950s
379 2012-03-10 04:02:15 <Jamesz> why not just get a 7950
380 2012-03-10 04:02:21 <Jamesz> or make a post somewhere asking for donations
381 2012-03-10 04:02:55 <Diablo-D3> dude, I already DID a post asking for donations
382 2012-03-10 04:03:02 <Diablo-D3> I ended up with almost enough to buy a 7970
383 2012-03-10 04:03:49 <Jamesz> how much are you short
384 2012-03-10 04:04:40 <Diablo-D3> hrm, roughly 10 btcs worth I think
385 2012-03-10 04:05:48 <Jamesz> well i suppose i could donate 13btc
386 2012-03-10 04:06:00 <Jamesz> thats about what
387 2012-03-10 04:06:06 <Jamesz> 52/60usd?
388 2012-03-10 04:06:16 <Diablo-D3> something like that
389 2012-03-10 04:06:20 <Diablo-D3> 1DbeWKCxnVCt3sRaSAmZLoboqr8pVyFzP1
390 2012-03-10 04:06:31 <Diablo-D3> its enough that I can replace my case's front fan too
391 2012-03-10 04:06:35 <Diablo-D3> which is clicking and wont shut up
392 2012-03-10 04:06:40 <Diablo-D3> just die already
393 2012-03-10 04:07:31 <Jamesz> sent 14
394 2012-03-10 04:08:18 <Jamesz> you receive?
395 2012-03-10 04:08:57 <Diablo-D3> yeah I saw the tx
396 2012-03-10 04:09:00 <Diablo-D3> thanks
397 2012-03-10 04:09:05 <Jamesz> yep
398 2012-03-10 04:10:26 <Diablo-D3> actually, I wonder if its the gpu fan thats clicking
399 2012-03-10 04:10:46 <Diablo-D3> I hope not
400 2012-03-10 04:10:51 <Diablo-D3> I wanted to sell this thing
401 2012-03-10 04:15:48 <Jamesz> lol
402 2012-03-10 04:15:52 <Jamesz> buy a fan on ebay
403 2012-03-10 04:15:56 <Jamesz> all over on there
404 2012-03-10 04:17:21 <Diablo-D3> no, going to get a delta afb1212hhe
405 2012-03-10 04:17:28 <Diablo-D3> superior cooling is superior
406 2012-03-10 04:17:50 <Jamesz> lol
407 2012-03-10 04:21:33 <Joric> http://bitsutoa.com is it really 'a better way to manager your bitcoin transactions'? i doubt so :D
408 2012-03-10 04:21:46 <tomoj> with the original client, if you want to share your block data across multiple datadirs, what do you need to symlink in? blk0001.dat, blkindex.dat..
409 2012-03-10 04:21:56 <tomoj> database/ and __db* ?
410 2012-03-10 04:22:01 <Jamesz> so diablo
411 2012-03-10 04:22:04 <Jamesz> did yah buy it yet
412 2012-03-10 04:22:05 <Jamesz> lol
413 2012-03-10 04:22:17 <Diablo-D3> lol no
414 2012-03-10 04:22:24 <Jamesz> i just bought a new mobo and mem
415 2012-03-10 04:22:29 <Jamesz> msi big bang
416 2012-03-10 04:22:43 <Diablo-D3> I have to wait for the tx to actually enter a block, for one
417 2012-03-10 04:22:43 <Jamesz> and i'm replacing my geil mem
418 2012-03-10 04:22:47 <Diablo-D3> and then wait an hour for that
419 2012-03-10 04:22:48 <Jamesz> ahh
420 2012-03-10 04:22:57 <Diablo-D3> then send it to mtgox
421 2012-03-10 04:22:59 <Diablo-D3> and wait an hour for that
422 2012-03-10 04:23:00 <Diablo-D3> then sell it
423 2012-03-10 04:23:03 <Diablo-D3> THEN
424 2012-03-10 04:23:04 <Jamesz> lol yeesh
425 2012-03-10 04:23:06 <Diablo-D3> wait 23q05498230523509 days
426 2012-03-10 04:23:07 <Diablo-D3> for
427 2012-03-10 04:23:10 <Diablo-D3> dwolla to send it to me
428 2012-03-10 04:23:18 <Jamesz> that sucks
429 2012-03-10 04:23:26 <Jamesz> i could buy a 7970 in cash right now.
430 2012-03-10 04:23:30 <Jamesz> lol
431 2012-03-10 04:23:31 <Diablo-D3> so sometime in 2013
432 2012-03-10 04:23:32 <sipa> tomoj: only blkindex.dat and blk0001.dat
433 2012-03-10 04:23:37 <Diablo-D3> I will have what I want
434 2012-03-10 04:23:46 <Jamesz> and when my tax return comes in
435 2012-03-10 04:23:47 <sipa> tomoj: and don't run two bitcoind's simultaneously
436 2012-03-10 04:23:49 <Joric> tomoj, blk0001.dat is just a binary concatenation of blocks, blkindex.dat is blk0001.dat index by transactions, you need both
437 2012-03-10 04:23:54 <tomoj> thanks
438 2012-03-10 04:24:03 <Jamesz> which is supposed to be in the neighborhood of 3600
439 2012-03-10 04:24:12 <Jamesz> not too bad, but not too much
440 2012-03-10 04:24:18 <Jamesz> i make about 2100/mo though
441 2012-03-10 04:24:27 <Diablo-D3> Jamesz: heh
442 2012-03-10 04:24:29 <Jamesz> wish i made more
443 2012-03-10 04:24:54 <Jamesz> hopefully i can score a job paying 16/hr when i finish my second year of school
444 2012-03-10 04:25:06 <Jamesz> and then move to milwaukee
445 2012-03-10 04:25:14 <Jamesz> and take online courses for mechanical engineering
446 2012-03-10 04:25:20 <Jamesz> mmmmm mechanical engineering
447 2012-03-10 04:25:48 <Jamesz> i sit at work(where i am now), while i'm doing mindless labor
448 2012-03-10 04:25:57 <tomoj> hmm, I get this error https://gist.github.com/838e85b66942b33b5d43
449 2012-03-10 04:26:03 <Jamesz> thinking of ways to automate the way i'm doing something
450 2012-03-10 04:26:03 <Joric> sipa, right? blkindex.dat is an index by tx hashes, there are no other indexes atm? e.g. by h160
451 2012-03-10 04:26:22 <tomoj> copying over bitcoin.conf, and blk0001.dat, blkindex.dat only
452 2012-03-10 04:26:37 <Jamesz> welp, time for top gear
453 2012-03-10 04:27:06 <sipa> Joric: indeed
454 2012-03-10 04:27:20 <sipa> bdb keeps indexes internally though
455 2012-03-10 04:28:11 <tomoj> if I copy over database/ and __db* as well, it seems to work fine
456 2012-03-10 04:28:40 <tomoj> and DB_CONFIG
457 2012-03-10 04:28:50 <tomoj> (incidentally db.log and debug.log, doubt those matter)
458 2012-03-10 04:29:12 <sipa> you only need blkindex.dat and blk0001.dat
459 2012-03-10 04:29:28 <sipa> the rest won't harm though
460 2012-03-10 04:33:27 <tomoj> then is this a bug? https://gist.github.com/98fbc9544eb372efeca7
461 2012-03-10 04:35:28 <sipa> tomoj: did you copy the files while bitcoin was running?
462 2012-03-10 04:35:36 <tomoj> no
463 2012-03-10 04:35:38 <sipa> or ran two bitcoind simultaneously?
464 2012-03-10 04:36:06 <tomoj> lsof shows no trace of bitcoind
465 2012-03-10 04:36:16 <tomoj> neither pgrep
466 2012-03-10 04:37:02 <sipa> try using an absolute path
467 2012-03-10 04:37:40 <tomoj> ok, but.. relative path works when I copy over those other files too
468 2012-03-10 04:38:21 <Joric> http://www.youtube.com/watch?v=4sKx6lhxM_8 'The story of Bitcoin: how the world's most famous peer to peer currency went through a gold rush, a bubble, and a crash in only a few months.'
469 2012-03-10 04:38:55 <tomoj> https://gist.github.com/9e09af5a7d0d6a9d09b4
470 2012-03-10 04:38:59 <Joric> yeah, crash
471 2012-03-10 04:39:55 <Joric> and then through a gold rush again )
472 2012-03-10 04:39:57 <sipa> write permission in that dir?
473 2012-03-10 04:41:01 <tomoj> .bitcoin.new was 775, trying now with 700
474 2012-03-10 04:41:16 <tomoj> everything in .bitcoin is 600
475 2012-03-10 04:43:40 <Joric> 03:00 'bitcoin was actually evaluated by Dan Kaminsky who is a top internet security analyst, and he looked at the code and said - that was written by a world class programmer!'
476 2012-03-10 04:43:52 <Joric> keep up good work guys )
477 2012-03-10 04:44:38 <sipa> Joric: his talk about bitcoin is nice
478 2012-03-10 04:44:49 <sipa> it's somewhere on youtube
479 2012-03-10 04:45:22 <Joric> http://www.youtube.com/watch?v=RifYnSKSkvk probably that one
480 2012-03-10 04:45:46 <sipa> btw, that's not exactly what he said; iirc, he said that most software looks well designed, but when you look carefully, it's very buggy; for bitcoin it's the opposite, and entire classes of bugs were totally missing
481 2012-03-10 04:46:18 <sipa> it's definitely not well designed though :D
482 2012-03-10 04:47:19 <tomoj> looks like database/ is the extra part needed to avoid that error
483 2012-03-10 04:48:19 <sipa> if you had an unclean shutdown, yes
484 2012-03-10 04:48:41 <tomoj> ah
485 2012-03-10 04:54:24 <Joric> 'i got bitcoins and i stored them at website called mybitcoin (...) then like 4 days later i went to mybitcoin to check on my bitcoins again an the whole website was gone' :D
486 2012-03-10 04:55:05 <splatster> F-F-F-FAIL!
487 2012-03-10 04:56:19 <Joric> the elusive bitcoin
488 2012-03-10 04:56:36 <splatster> Who you gonna call? GHOST BUSTERS!
489 2012-03-10 08:45:36 <finway> Hi, are we under attack?  So many dark pool made 1 txes blocks!
490 2012-03-10 10:26:09 <sacarlson> has anyone setup a data feed and trade interface to use marketcetera to do automated trading of bitcoin yet?
491 2012-03-10 10:30:27 <Joric> sacarlson, it takes 30 minutes to write a trading bot and host him on a google app engine
492 2012-03-10 10:31:03 <sacarlson> Joric: but this does cool backtesting and a group of develpers working on new algorithms
493 2012-03-10 10:31:37 <sacarlson> joric: and it's all free
494 2012-03-10 10:34:56 <sacarlson> joric: and in one of my favorite languages ruby, but also java.  with pregenerated libs of tools to setup stuf,  I already found a ruby interface to trade on mtgox so that's done just need the data feed and past data interface
495 2012-03-10 10:36:06 <Graet> theres more bots trading on gox than ppl already
496 2012-03-10 10:37:14 <sacarlson> Graet: so why don't they use this cool tool I just found or are they already?
497 2012-03-10 10:37:45 <Graet> most have written thier own
498 2012-03-10 10:38:01 <Graet> its a pretty tech savvy audience eh
499 2012-03-10 10:38:10 <sacarlson> Graet: I just want the back testing part, I don't want to write that myself
500 2012-03-10 10:38:24 <Graet> fair enough
501 2012-03-10 10:40:04 <sacarlson> plus all the nice graphic tools to view  your posible gains or loses over past historic data, who want to write that if it's already done
502 2012-03-10 10:42:33 <Graet> i'm not saying dont do it, i'm saying be aware theres lots of bots already
503 2012-03-10 10:43:00 <Graet> to the extent ppl are now writing bots to trick and exploit the market bots lol
504 2012-03-10 10:44:01 <sacarlson> Graet: even the big equity and derivitive markets are trading over 80% by bots now, why wouldn't bitcoin
505 2012-03-10 10:45:16 <Graet> indeed, it is...
506 2012-03-10 10:45:38 <Graet> to the extent ppl are now writing bots to trick dumber ones :)
507 2012-03-10 10:45:58 <Graet> quite amusing to watch actually ;)
508 2012-03-10 10:46:41 <Joric> i wish
509 2012-03-10 10:46:44 <sacarlson> sure why not write stupid bots and release them on google apps and force them to make money until people put more trust in them and then crash that bot and take it all
510 2012-03-10 10:47:49 <Joric> my bot made ~1000 trades, lost hundred bucks and died a few seconds after launch
511 2012-03-10 10:48:05 <Eliel> sounds like a buggy bot.
512 2012-03-10 10:48:47 <Joric> he's a good boy i'm still proud of him
513 2012-03-10 10:49:11 <sacarlson> joric: I write bots that play in fake money first, another tool provided in marketcetera
514 2012-03-10 10:53:09 <Joric> here's an example of bot trading http://i.imgur.com/JcN4O.jpg
515 2012-03-10 10:55:44 <sacarlson> Joric: I don't know how to read that graph
516 2012-03-10 10:56:21 <Joric> it's the famous order-of-two bot
517 2012-03-10 10:56:34 <Joric> has been noticed a few times
518 2012-03-10 11:51:47 <Joric> etotheipi_!! did you get rid of loading entire blockchain into memory yet
519 2012-03-10 11:54:13 <Joric> maybe it's worth to write a class that would load blockchain by portions not sure it would be faster than normal parsing though
520 2012-03-10 11:55:12 <finway> OK, any devs here?
521 2012-03-10 11:55:26 <finway> Does the 1 txes blocks bother you?
522 2012-03-10 11:55:50 <finway> Today, there are 15 1-txes blocks in 90 total blocks.
523 2012-03-10 11:56:51 <Joric> yeah someone said it was some kind of attack
524 2012-03-10 11:57:19 <Joric> we're looking into it
525 2012-03-10 11:57:23 <btctrader22> same ip ?
526 2012-03-10 11:57:51 <finway> The ip doesn't matter, because you'll never know there real ip on the p2p network if they ban you.
527 2012-03-10 11:58:17 <finway> Joric: so, what's the plan?
528 2012-03-10 11:58:41 <btctrader22> blockain.info has been tracking blocks "first seen IP". If they're all the same ...
529 2012-03-10 11:58:44 <Joric> well it seems normal so far
530 2012-03-10 11:59:03 <Joric> some of them came from deepbit
531 2012-03-10 11:59:29 <finway> Joric: Most of them are from the static ip.
532 2012-03-10 11:59:31 <btctrader22> deepbit usually pushes block with more tx than avg
533 2012-03-10 11:59:45 <finway> and the static ip has almost 2T hash/s
534 2012-03-10 12:03:29 <finway> It makes people remembering artfortz
535 2012-03-10 12:03:57 <finway> mine
536 2012-03-10 12:03:58 <finway> when he dig 1/3 coins everyday.
537 2012-03-10 12:04:07 <finway> 1/3 of 7200 coins everyday
538 2012-03-10 12:08:14 <finway> ;;seen roconnor
539 2012-03-10 12:08:14 <gribble> roconnor was last seen in #bitcoin-dev 3 weeks, 0 days, 21 hours, 27 minutes, and 0 seconds ago: <roconnor> Dear user n27pHgA6KioCvXUCdijzdFjeaa9kHA7kzi, Due to your violation of bitcoin TOS your asset has been frozen and your private key is being disclosed as 9afaa65b092e4c82ea752080bee6ce53398207dca480f64c82f32bdb7f85b7e5. Have a nice day, and thank you for using bitcoin.
540 2012-03-10 12:09:08 <finway> Where did roconnor go ?
541 2012-03-10 12:09:30 <finway> He stalls OP_EVAL and then disappeared.
542 2012-03-10 12:09:46 <finway> stopped
543 2012-03-10 12:09:56 <finway> Interesting.
544 2012-03-10 12:21:42 <Joric> finway, check out 'relayed by ip' and the location here http://blockchain.info/tx-index/3213882/5246b35bf68882f3606a0e310fb7c7d3516f4a84b2332d0219a65138d8939318
545 2012-03-10 12:21:57 <Joric> it looks like a secret island in the middle of the ocean
546 2012-03-10 12:23:24 <DrHaribo> It's a secret boat mining operation. Powered by waves.
547 2012-03-10 12:32:00 <DrHaribo> Hmm, -paytoscripthashtime=1333238400 not helping on testnet? I still get "you may need to upgrade" with v0.6.0rc2
548 2012-03-10 12:34:36 <diki> then perhaps
549 2012-03-10 12:34:42 <diki> you may REALLY need to upgrade
550 2012-03-10 12:41:53 <[Tycho]> DrHaribo: it's for new difficulty adjustment mode, not because of P2SH
551 2012-03-10 12:43:10 <DrHaribo> [Tycho]: What version should I run on testnet then?
552 2012-03-10 12:43:19 <[Tycho]> Try 0.6
553 2012-03-10 12:44:18 <[Tycho]> Check the updates on github, it should be visible.
554 2012-03-10 12:54:26 <Eliel> finway: roconnor has vanished from here but he seems to still frequent #haskell
555 2012-03-10 12:54:47 <finway> Eliel, glad to hear.
556 2012-03-10 13:10:42 <TD> ugh
557 2012-03-10 13:10:46 <t7> wow the client looks nicer now :)
558 2012-03-10 13:10:52 <TD> i got stuck at the BIP16 block
559 2012-03-10 13:11:53 <TD> now bitcoin won't shut down properly either
560 2012-03-10 13:11:55 <TD> <sigh>
561 2012-03-10 13:12:10 <finway> 0.6 rc1 ?
562 2012-03-10 13:12:41 <TD> it was. i upgraded to rc2 (i think .... mac version does not show rc numbers) and it still happened
563 2012-03-10 13:12:45 <TD> i think i'll need to set the flag
564 2012-03-10 13:12:48 <t7> has anyone set up cmake for bitcoin?
565 2012-03-10 13:13:38 <TD> though somebody on the forum said rc2 doesn't fix it
566 2012-03-10 13:15:41 <TD> bip16--
567 2012-03-10 13:16:31 <TD> maybe if i force a rescan too
568 2012-03-10 13:17:33 <finway> is SIGHASH_ANYONECANPAY  real ?
569 2012-03-10 13:18:11 <finway> I didn't find it in Scripts, but in Contracts
570 2012-03-10 13:19:54 <TD> yes it's real. check the code.
571 2012-03-10 13:21:58 <finway> thanks.
572 2012-03-10 13:29:53 <sipa> TD: do you have the backup wallet menu entry?
573 2012-03-10 13:30:34 <sipa> or for bitcoind, does getblock report hashnext or nextblockhash?
574 2012-03-10 13:31:37 <[Tycho]> Hello.
575 2012-03-10 13:35:27 <sipa> TD: a rescan won't help, that only adds missing transactions to the.wallet
576 2012-03-10 13:44:37 <t7> is Dimitri Kaparis in here?
577 2012-03-10 13:46:23 <t7> why not split the daemon, client and gui client into different projects
578 2012-03-10 13:46:34 <DrHaribo> I'm stuck at height 47972 on testnet. Anyone past that, and which bitcoind version are you running?
579 2012-03-10 13:46:36 <t7> the code seems like a bit of a monolith
580 2012-03-10 13:46:45 <t7> and you guys just keep adding to it
581 2012-03-10 13:46:56 <BlueMatt> or we could just fix the code...
582 2012-03-10 13:48:52 <t7> start again :)
583 2012-03-10 13:50:44 <sipa> t7: several people have started reimplementing bitcoin from scratch
584 2012-03-10 13:51:41 <luke-jr> t7: work needs to be done on a standard wallet protocol before that's feasable
585 2012-03-10 13:52:00 <luke-jr> t7: https://en.bitcoin.it/wiki/Wallet_protocol is a few months old, probably needs rethinking
586 2012-03-10 14:09:04 <yellowhat> hi, what is the proper way to get some testnet coins?
587 2012-03-10 14:09:14 <sipa> yellowhat: faucet, or mining
588 2012-03-10 14:09:25 <sipa> andytoshi: did you manage to get your blockchain database uploaded somewhere?
589 2012-03-10 14:09:26 <yellowhat> for my tests, i need about 1000. fauchet is dried up
590 2012-03-10 14:09:37 <yellowhat> has anyone some to spare? mmd5mp8rAirGXXaDDgu7j4PUY4CnnoxVh7 :)
591 2012-03-10 14:11:43 <pickett> tihnk you can buy them somewhere
592 2012-03-10 14:17:01 <DrHaribo> I have lots of coins, but testnet isn't working for me
593 2012-03-10 14:18:17 <DrHaribo> In the logs I see "invalid" chains up to height 48316. Highest on testnet block explorer seems to be 48079. And my bitcoind is stuck at 47972.
594 2012-03-10 14:19:06 <sturles> DrHaribo: I had this problem yesterday.  Solution was to increase the number of database locks and lockers in db.cpp.
595 2012-03-10 14:19:27 <sturles> Reorganization fails due to lack of locks.
596 2012-03-10 14:20:50 <DrHaribo> dbenv.set_lk_max_locks(10000); and dbenv.set_lk_max_objects(10000); ?
597 2012-03-10 14:20:51 <sturles> Do you get DB errors about beeing out of memory (which you aren't)?
598 2012-03-10 14:21:20 <sturles> Add dbenv.set_lk_max_lockers as well.  I added a 0 to that number.
599 2012-03-10 14:21:50 <DrHaribo> No, I don't get any out of memory errors
600 2012-03-10 14:21:55 <sturles> Hmm.
601 2012-03-10 14:22:01 <sturles> Anything in db.log?
602 2012-03-10 14:22:14 <sturles> May be a different error then.
603 2012-03-10 14:22:18 <DrHaribo> received block 00000000176286ab7378 ERROR: AcceptBlock() : incorrect proof of work ERROR: ProcessBlock() : AcceptBlock FAILED
604 2012-03-10 14:22:34 <t7> how do i build the qt client on linux
605 2012-03-10 14:22:38 <t7> the makefile.unix only makes bitcoind
606 2012-03-10 14:22:50 <sipa> t7: qmake
607 2012-03-10 14:22:54 <sipa> not in src
608 2012-03-10 14:23:38 <DrHaribo> I see from version messages in the logs many other 0.6 nodes stuck on 47972 just like myself
609 2012-03-10 14:24:32 <yellowhat> im stuck on 47471 with 0.5.2-beta
610 2012-03-10 14:25:52 <DrHaribo> Looks like Mike Hearn is stuck on the production network also, still after rc2 upgrade. https://bitcointalk.org/index.php?topic=63165.40
611 2012-03-10 14:26:11 <t7> cmake would be nice :3
612 2012-03-10 14:26:51 <sipa> t7: contributions *very* welcome there
613 2012-03-10 14:27:19 <sipa> if you can make a build system that works for both bitcoin-qt and bitcoind, is portable, works, and is maintained
614 2012-03-10 14:28:24 <yellowhat> so, essentially there is no working testnet at the moment?
615 2012-03-10 14:29:02 <sipa> i'll put some work in extending the new best valid chain
616 2012-03-10 14:32:46 <DrHaribo> What height is testnet supposed to be right now?
617 2012-03-10 14:33:40 <sipa> my current best is 47826
618 2012-03-10 14:34:08 <sipa> 47827
619 2012-03-10 14:34:25 <DrHaribo> I have 47972 but I see others have up to 48316.
620 2012-03-10 14:34:42 <sipa> they have an invalid chain
621 2012-03-10 14:34:49 <sipa> (according to the 0.6.0 rules)
622 2012-03-10 14:34:53 <t7> it works :D
623 2012-03-10 14:34:59 <DrHaribo> Am I also on an invalid chain then?
624 2012-03-10 14:35:12 <sipa> DrHaribo: no idea
625 2012-03-10 14:35:28 <sipa> 47828
626 2012-03-10 14:35:41 <sipa> i'll catch up quickly enough (mining testnet at 200MH/s now)
627 2012-03-10 14:36:46 <DrHaribo> Cool. I guess my node will switch once you are past 47972.
628 2012-03-10 14:39:58 <gribble> Error: '0.150912176617' is not a valid integer.
629 2012-03-10 14:39:58 <sipa> ;;bc,calcd 206900000 7.26984055
630 2012-03-10 14:40:09 <sipa> ;;bc,calcd 7.26984055 206900000
631 2012-03-10 14:40:10 <gribble> The average time to generate a block at 7.26984055 Khps, given the supplied difficulty of 206900000, is 3876045 years, 10 weeks, 1 day, 22 hours, 6 minutes, and 40 seconds
632 2012-03-10 14:40:26 <gribble> Error: '0.145310638337' is not a valid integer.
633 2012-03-10 14:40:26 <sipa> ;;bc,calcd 206900000 7
634 2012-03-10 14:40:40 <gribble> The average time to generate a block at 206900 Khps, given the supplied difficulty of 7, is 2 minutes and 25 seconds
635 2012-03-10 14:40:40 <sipa> ;;bc,calcd 206900 7
636 2012-03-10 14:40:48 <gribble> The average time to generate a block at 206900 Khps, given the supplied difficulty of 7.26984055, is 2 minutes and 30 seconds
637 2012-03-10 14:40:48 <sipa> ;;bc,calcd 206900 7.26984055
638 2012-03-10 14:41:20 <DrHaribo> Hm, that will take a long time.
639 2012-03-10 14:41:58 <DrHaribo> If I got blocks in my chain that are now considered invalid, is there a way to back up without deleting all chain data and starting over?
640 2012-03-10 14:42:15 <sipa> ;;calc 2.5*(48317-47831)
641 2012-03-10 14:42:16 <gribble> 1215
642 2012-03-10 14:42:22 <sipa> hmm, a day :(
643 2012-03-10 14:42:36 <DrHaribo> Will -rescan remove blocks that are now considered invalid?
644 2012-03-10 14:42:48 <sipa> -rescan has nothing to do with the block database
645 2012-03-10 14:43:10 <sipa> DrHaribo: i have a loadblocks patch that allows one to import a blk0001.dat file
646 2012-03-10 14:43:37 <sipa> it's almost as slow as redownloading though
647 2012-03-10 14:44:04 <DrHaribo> I guess I will try redownloading
648 2012-03-10 14:46:33 <Joric_> sipa, how so? what's the bottleneck? rechecking signatures?
649 2012-03-10 14:47:13 <sipa> Joric: and database stuff
650 2012-03-10 14:47:18 <sipa> disk I/O
651 2012-03-10 14:49:36 <sipa> DrHaribo: 835 already
652 2012-03-10 14:53:07 <sipa> gmaxwell: want to put some hash power on testnet (and make sure you're connected to me) to make the current git head accepted chain 'win' ?
653 2012-03-10 14:53:50 <gavinandresen> sipa:  disconnecting version < 0.6 nodes would also be a possible fix
654 2012-03-10 14:53:56 <gavinandresen> ... as would a testnet reset
655 2012-03-10 14:54:18 <yellowhat> i can point 250 mhash anywhere if you tell me how :)
656 2012-03-10 14:55:13 <sipa> gavinandresen: true, but this could fix it (at least for upgraded people) within a few hours
657 2012-03-10 14:55:41 <gavinandresen> true
658 2012-03-10 14:55:48 <Graet> i can help on testnet with ~1ghash if needed/wanted
659 2012-03-10 14:56:38 <sipa> yellowhat: bitcoind -daemon -testnet -addnode=80.200.11.178; point miner to http://localhost:8332
660 2012-03-10 14:57:16 <sipa> with a 0.6.0rc2 or later bitcoind
661 2012-03-10 14:58:20 <sipa> gavinandresen: it seems the PoW check happens in AcceptBlock, and not in CheckBlock
662 2012-03-10 14:58:29 <sipa> gavinandresen: so that isn't done during loading
663 2012-03-10 14:58:37 <TD> yeah
664 2012-03-10 14:58:43 <TD> i saw the out of locks/out of memory errors too
665 2012-03-10 14:58:53 <TD> sipa: yes i have the backup wallet menu entry
666 2012-03-10 14:58:56 <yellowhat> just to make sure: would it be ok to overwrite my current install of 0.5 with this version (~10 real coins) in it?
667 2012-03-10 14:58:58 <TD> what does that mean? rf
668 2012-03-10 14:59:08 <sipa> TD: that means you have 0.6.0rc2
669 2012-03-10 14:59:26 <TD> sipa: ok. upgrading to rc2 does not fix the problem with the chain download stopping due to the BIP16 stuff
670 2012-03-10 14:59:32 <sipa> yellowhat: always have a backup, but upgrading to 0.6.0rc2 should be safe
671 2012-03-10 14:59:32 <TD> sipa: that seems like a release blocking bug to me :)
672 2012-03-10 14:59:42 <TD> unless it's only an issue for people who used rc1
673 2012-03-10 14:59:47 <sipa> TD: agree; can you put the blockchain somewhere?
674 2012-03-10 15:00:05 <TD> you want blk0001.dat?
675 2012-03-10 15:00:10 <sipa> blkindex.dat
676 2012-03-10 15:00:18 <Graet> fi8refox
677 2012-03-10 15:00:22 <Graet> oopd
678 2012-03-10 15:00:25 <TD> uploading
679 2012-03-10 15:00:50 <sipa> Graet: change your password :)
680 2012-03-10 15:01:25 <Graet> lol
681 2012-03-10 15:01:25 <yellowhat> sipa: started mining according to your instructions
682 2012-03-10 15:02:02 <sipa> yellowhat: is your current height 47837 ?
683 2012-03-10 15:02:31 <yellowhat> nope, i started the wrong client one moment
684 2012-03-10 15:02:44 <yellowhat> now it is
685 2012-03-10 15:03:32 <yellowhat> hmm 0.6.0-beta is not ok, is it?
686 2012-03-10 15:03:44 <sipa> it may be
687 2012-03-10 15:03:56 <yellowhat> i downloaded from http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.0/test/
688 2012-03-10 15:04:15 <yellowhat> 47837 is my block count
689 2012-03-10 15:04:40 <sipa> yellowhat: you're fine
690 2012-03-10 15:05:04 <sipa> now 47838?
691 2012-03-10 15:05:20 <yellowhat> great, while helping you i get my needed test coins . thats synergy. yes, 47838
692 2012-03-10 15:06:34 <sipa> TD: actually, blk0001.dat as well would be easier to test with
693 2012-03-10 15:06:43 <TD> that's going to take a long time to upload
694 2012-03-10 15:06:49 <TD> do you actually just need the last part?
695 2012-03-10 15:07:23 <sipa> i'll try with just blkindex.dat
696 2012-03-10 15:07:54 <TD> as far as i can tell it never even tries to download the next block again
697 2012-03-10 15:08:27 <sipa> that's clear: because it already has it
698 2012-03-10 15:08:42 <sipa> the question is why it doesn't reconnect
699 2012-03-10 15:09:00 <yellowhat> nice, mined my first block with 51.4141 test bitcoins
700 2012-03-10 15:09:15 <DrHaribo> 47841 looks like I'm up to date now too
701 2012-03-10 15:09:23 <sipa> DrHaribo: ack
702 2012-03-10 15:09:28 <sipa> 42 now
703 2012-03-10 15:10:06 <DrHaribo> yep got 42 too.. will add some hash power now
704 2012-03-10 15:12:21 <sipa> actually, i think this is the exact behaviour: if a block that belongs to the actual best chain is downloaded and stored in the database, but not marked part of the best chain, the system is stuck
705 2012-03-10 15:15:38 <TD> ah
706 2012-03-10 15:15:58 <TD> it shouldn't be stored if it's not valid, right
707 2012-03-10 15:17:05 <sipa> hmm, indeed; if checkblock fails, it shouldn't have been stored at all
708 2012-03-10 15:17:55 <yellowhat> not it crashed
709 2012-03-10 15:18:03 <yellowhat> my bitcoind crashed while mining
710 2012-03-10 15:18:10 <sipa> yellowhat: which OS?
711 2012-03-10 15:18:15 <gavinandresen> By the way: I'm 4% into uploading a signed-good blockchain snapshot to sourceforge, in case the answer for recovering is "download a known-good copy of blk*.dat"
712 2012-03-10 15:18:16 <yellowhat> windows 7
713 2012-03-10 15:19:07 <yellowhat> problem, unable to restart it :(
714 2012-03-10 15:19:16 <sipa> which error?
715 2012-03-10 15:19:31 <yellowhat> welkl, windows terminates it
716 2012-03-10 15:19:41 <sipa> can you check debug.log?
717 2012-03-10 15:19:44 <yellowhat> sure
718 2012-03-10 15:19:52 <sipa> APPDATA/bitcoin/testnet/debug.log
719 2012-03-10 15:21:09 <TD> sipa: http://plan99.net/~mike/blkindex.dat
720 2012-03-10 15:21:59 <TD> does this mean if people upgrade to 0.6, then mining power behind BIP16 falls somehow, there is a risk that everyones client  will break?
721 2012-03-10 15:22:23 <yellowhat> sent you a PM to avoid spamming
722 2012-03-10 15:23:33 <sipa> TD: think i got it; your rc1 considered the bad chain invalid,
723 2012-03-10 15:23:43 <sipa> eh, the long chain
724 2012-03-10 15:24:09 <sipa> but its blocks were only failing when trying to be connected
725 2012-03-10 15:24:29 <sipa> which apparently happens after storing them to the block index
726 2012-03-10 15:24:54 <sipa> i.e. they are known to your node's database, but not part of the best chain, and are never redownloaded
727 2012-03-10 15:25:17 <sipa> i still don't understand why a reorganisation doesn't occur when that (previously invalid) chain is extended
728 2012-03-10 15:25:47 <TD> i think it's trying
729 2012-03-10 15:25:52 <TD> but it fails for some reason
730 2012-03-10 15:26:11 <TD> EXCEPTION: 11DbException
731 2012-03-10 15:26:12 <TD> received block 00000000000001c0a13e
732 2012-03-10 15:26:18 <TD> i see such messages over and over again in the logs
733 2012-03-10 15:26:31 <TD> i don't know why bdb thinks it ran out of memory. i suspect it's being asked to process an enormous transaction
734 2012-03-10 15:26:35 <sipa> aah, that is the issue
735 2012-03-10 15:26:37 <DrHaribo> set more locks like sturles said?
736 2012-03-10 15:26:39 <TD> perhaps the re-org code has a previously unknown scalability limit
737 2012-03-10 15:26:42 <sipa> indeed
738 2012-03-10 15:26:47 <gavinandresen> sigh
739 2012-03-10 15:27:13 <sipa> TD: i heard about that problem before, didn't realize it was related
740 2012-03-10 15:27:16 <TD> DrHaribo: i saw an error about locks much earlier but now i only see messages about RAM
741 2012-03-10 15:28:18 <sipa> gavinandresen: jrmithdobbs found that yesterday, increasing the maximum number of locks and lockers seems to help
742 2012-03-10 15:28:34 <DrHaribo> sturles said he got out of memory errors without being out of memory, and that adding locks and lockers fixed it
743 2012-03-10 15:28:41 <sipa> indeed
744 2012-03-10 15:28:48 <gavinandresen> sipa: was that a recompile-bdb-thing or set some flags when opening the db env thing?
745 2012-03-10 15:28:56 <sipa> gavinandresen: the latter
746 2012-03-10 15:29:05 <gavinandresen> good
747 2012-03-10 15:30:04 <TD> i wonder how big a re-organize can be before it dies
748 2012-03-10 15:30:25 <DrHaribo> I got a 40/42 block reorg on testnet.. on height 48344 now
749 2012-03-10 15:30:49 <TD> ah yes
750 2012-03-10 15:30:55 <TD> sipa: the error about locks appears in db.log
751 2012-03-10 15:30:56 <sipa> DrHaribo: sure you're running rc2?
752 2012-03-10 15:32:27 <DrHaribo> yeah, git checkout v0.6.0rc2 and make
753 2012-03-10 15:33:46 <TD> "Note that transactions accumulate locks over the transaction lifetime, and the lock objects required by a single transaction is the total lock objects required by all of the database operations in the transaction. "
754 2012-03-10 15:33:59 <TD> the current max locks setting is already 10x the default
755 2012-03-10 15:34:16 <TD> but i guess a multi- day re-org is a pretty huge db operation
756 2012-03-10 15:34:21 <TD> i'll try making it 100x the default
757 2012-03-10 15:34:53 <sipa> TD: jrmithdobbs set objects and lockers to 1000000
758 2012-03-10 15:35:01 <sipa> not sure if he tried lower values
759 2012-03-10 15:37:20 <jine> Does anyone know wtf this is? http://x.jine.se/irc.png
760 2012-03-10 15:38:12 <Graet> wow started mining testnet and got bloock under 1 minute
761 2012-03-10 15:38:26 <Graet> oops another
762 2012-03-10 15:38:44 <Graet> better not do this long :P)
763 2012-03-10 15:38:48 <DrHaribo> Which height are you at, Graet ?
764 2012-03-10 15:39:08 <Graet> 48348
765 2012-03-10 15:39:17 <sipa> Graet: i believe you are on the wrong chain
766 2012-03-10 15:39:24 <DrHaribo> I'm also on 48348
767 2012-03-10 15:39:28 <sipa> are you sure you have 0.6.0rc2 or later?
768 2012-03-10 15:39:35 <Graet> yes fresh install
769 2012-03-10 15:39:51 <Graet> 0.6.0rc2
770 2012-03-10 15:39:58 <Graet> downloaded windows exe
771 2012-03-10 15:40:00 <sipa> can you start your node with -checkblocks ?
772 2012-03-10 15:40:05 <Graet> yes
773 2012-03-10 15:40:39 <sipa> i see a chain of length 48351 that gets rejected by my node
774 2012-03-10 15:41:03 <DrHaribo> 48351 is what I have now - I stopped generating though
775 2012-03-10 15:41:29 <DrHaribo> I deleted blk* and ran only 0.6.0rc2 since then
776 2012-03-10 15:42:03 <sipa> this is strange
777 2012-03-10 15:43:38 <sipa> jine: you should report that
778 2012-03-10 15:44:11 <yellowhat> so i backed up and deleted my bitcoin/testnet directory, restarted with bitcoin-qt -daemon -testnet -addnode=80.200.11.178 -checkblocks and it still crashes. so i'm unable to connect to any testnet now
779 2012-03-10 15:44:27 <jine> sipa: Seems like some kind of UTF-x bug... this is what i get when i copy'n'paste it in the console; http://jine.be/irc.txt
780 2012-03-10 15:44:59 <sipa> yellowhat: you deleted the entire directory?
781 2012-03-10 15:45:06 <sipa> and it still crashes?
782 2012-03-10 15:45:07 <yellowhat> yes
783 2012-03-10 15:45:33 <yellowhat> i kept the parent directory of course with the real coins
784 2012-03-10 15:45:46 <sipa> glad you did
785 2012-03-10 15:45:55 <sipa> gavinandresen: sounds like a serious bug, see above
786 2012-03-10 15:46:03 <yellowhat> plus i have versioned backups :)
787 2012-03-10 15:49:07 <Graet> 48352 after restart/ resync sipa
788 2012-03-10 15:49:24 <DrHaribo> 48352 here too
789 2012-03-10 15:49:48 <sipa> i get it
790 2012-03-10 15:49:56 <sipa> i am running git head, you're running rc2?
791 2012-03-10 15:50:01 <DrHaribo> yep
792 2012-03-10 15:50:05 <sipa> my node has the BIP30 patch applied
793 2012-03-10 15:50:34 <sipa> and roconnor and i did an experiment some time ago to see whether his attack still worked after BIP30
794 2012-03-10 15:51:19 <Graet> i downloaded and executed windows exe from sourceforge, made conf and ran it
795 2012-03-10 15:52:16 <DrHaribo> rc2 makes blocks considered invalid by head?
796 2012-03-10 15:52:45 <sipa> DrHaribo: yes, BIP30
797 2012-03-10 15:52:58 <DrHaribo> ah, the duplicate tx thing
798 2012-03-10 15:53:24 <sipa> though i believe our test was before februari 20, and git head enables BIP30 on testnet after februari 20 only
799 2012-03-10 15:54:13 <yellowhat> not it seems it no longer crashes instantly for some reason
800 2012-03-10 15:54:19 <yellowhat> not -> now
801 2012-03-10 15:54:27 <jrmithdobbs> sipa: i tried 50000 and 100000 iirc before saying fuck it and bumping them to 1mil
802 2012-03-10 15:54:49 <sipa> jrmithdobbs: want to pull request that?
803 2012-03-10 15:55:06 <jrmithdobbs> sipa: it causes like 300M extra mem usage
804 2012-03-10 15:55:12 <sipa> oh wow
805 2012-03-10 15:55:14 <jrmithdobbs> sipa: i don't think it's the "right" fix
806 2012-03-10 15:55:19 <sipa> no indeed
807 2012-03-10 15:57:37 <yellowhat> i think i got it. my client crashes as soon as i point my guiminer to localhost
808 2012-03-10 15:57:43 <yellowhat> that is the reason
809 2012-03-10 15:58:03 <yellowhat> it crashed instantly before, because the guiminer was still running in background
810 2012-03-10 15:58:40 <TD> ok, let's see
811 2012-03-10 15:58:44 <TD> it's trying the big reorg now
812 2012-03-10 15:59:44 <sipa> gavinandresen: i think we'll need a 0.6.0rc3 with BIP30 in it soon
813 2012-03-10 15:59:53 <gavinandresen> sipa: yes
814 2012-03-10 16:00:09 <sipa> also a final 0.5.3, for solo miners that want to run stable
815 2012-03-10 16:00:18 <TD> jrmithdobbs: at least for me, a 10x increase got me past the bad block
816 2012-03-10 16:00:27 <Graet> 48370, smashing thru the blocks - am i on right chain?
817 2012-03-10 16:00:31 <TD> it took a while but it worked
818 2012-03-10 16:00:55 <jrmithdobbs> TD: at 100k it still choked and started throwing bdb messages to db.log
819 2012-03-10 16:00:57 <jrmithdobbs> for me
820 2012-03-10 16:01:01 <TD> odd
821 2012-03-10 16:01:03 <TD> i wonder why it's different
822 2012-03-10 16:01:13 <sipa> Graet: no, i found it; my experiment was on februari 23, but BIP 30 is activated on testnet since februari 20 on testnet
823 2012-03-10 16:01:16 <jrmithdobbs> i386 vs x86_64 maybe?
824 2012-03-10 16:01:27 <jrmithdobbs> this was a linux i386 box
825 2012-03-10 16:01:28 <TD> maybe. i'm on amd64
826 2012-03-10 16:01:31 <TD> macos
827 2012-03-10 16:01:34 <Graet> so i'll stop
828 2012-03-10 16:01:35 <sipa> Graet: so your chain is not valid according to git head now
829 2012-03-10 16:01:44 <Graet> k
830 2012-03-10 16:02:21 <gavinandresen> Ok, so for the TD / rc1 issue I think a new command-line arg to set that param is the right thing to do for now.
831 2012-03-10 16:02:32 <Graet> 0.6.0rc2 wont work atm without patching?
832 2012-03-10 16:02:37 <TD> what's the risk of it happening again
833 2012-03-10 16:02:44 <sipa> Graet: not on testnet; on realnet you're safe with it
834 2012-03-10 16:02:46 <sipa> for npw
835 2012-03-10 16:02:49 <Graet> ok ty
836 2012-03-10 16:02:54 <jrmithdobbs> gavinandresen: i think it needs a --force-reverify or similar to go along with it
837 2012-03-10 16:02:54 <TD> if mining support for BIP16 falls and such a tx makes it into the chain, everyone will stop?
838 2012-03-10 16:03:05 <gavinandresen> We should figure out what the real problem is, because it might happen again with short chains as blocks get fuller
839 2012-03-10 16:03:05 <Graet> i only put it on pare machine to do osm testnet
840 2012-03-10 16:03:10 <jrmithdobbs> gavinandresen: so that the repair isn't "twiddle these numbers and wait for it automagically try a reorg"
841 2012-03-10 16:03:29 <gavinandresen> jrmithdobbs: seems like -checkblocks aught to do whatever -force-reverify would do
842 2012-03-10 16:03:55 <sipa> gavinandresen: indeed, i think some checks from acceptblock need to be part of what -checkblocks does
843 2012-03-10 16:04:20 <sipa> but that will only fix the testnet issue
844 2012-03-10 16:04:22 <jrmithdobbs> gavinandresen: aye
845 2012-03-10 16:04:26 <sipa> checkblocks does verify scripts
846 2012-03-10 16:04:48 <TD> the bdb docs aren't useful
847 2012-03-10 16:04:50 <sipa> the point is that your current best chain in your database was valid after upgrading from rc1 to rc2
848 2012-03-10 16:04:57 <TD> they just say "every app is different, figure out what works for you"
849 2012-03-10 16:05:01 <jrmithdobbs> ugh, we need the stupid wiki mirrored somewhere. tux's shit ddos prevention makes convergence have a fuckin fit
850 2012-03-10 16:05:26 <sipa> and you cannot expect the node to retry every possible chain split in the database at startup
851 2012-03-10 16:05:34 <sipa> so no, i think waiting for a reorg is the right thing to do
852 2012-03-10 16:05:38 <jrmithdobbs> half my connections there or the forums seem to get an immediately disconnected
853 2012-03-10 16:06:25 <sipa> Graet: you could delete your testnet blk*, and -connect to me
854 2012-03-10 16:06:44 <sipa> -connect -nolisten
855 2012-03-10 16:06:55 <Graet> -addnode=80.200.11.178 ?
856 2012-03-10 16:07:10 <sipa> -connect=80.200.11.178
857 2012-03-10 16:07:15 <Graet> ty
858 2012-03-10 16:07:20 <machine2> http://www.beta.facefox.com/index.php?do=/invite/
859 2012-03-10 16:07:33 <sipa> (-connect overrides the entire open connection logic, and replaces it with a static "connect to only these nodes")
860 2012-03-10 16:07:41 <Graet> yep
861 2012-03-10 16:07:52 <sipa> machine2: what is that?
862 2012-03-10 16:09:05 <sipa> Graet: i'm at 47887
863 2012-03-10 16:10:04 <Graet> kk
864 2012-03-10 16:10:17 <sipa> gavinandresen: a command-line switch for that sounds like the right thing to do