1 2012-05-13 00:03:47 RazielZ has joined
2 2012-05-13 00:03:56 RazielZ has quit (Client Quit)
3 2012-05-13 00:15:14 <gribble> New news from bitcoinrss: msva opened issue 1280 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/issues/1280>
4 2012-05-13 00:46:44 RainbowDashh has joined
5 2012-05-13 00:46:58 RainbowDashh has quit (Remote host closed the connection)
6 2012-05-13 00:47:41 ageis has quit (Quit: http://ageispolis.net)
7 2012-05-13 00:48:59 ageis has joined
8 2012-05-13 00:57:32 ageis has quit (Quit: http://ageispolis.net)
9 2012-05-13 00:57:43 ageis has joined
10 2012-05-13 01:00:41 <BlueMatt> Im assuming everyone has seen this, but fbi's "Intelligence Assessment" of bitcoin leaked: http://cryptome.org/2012/05/fbi-bitcoin.pdf
11 2012-05-13 01:00:47 <luke-jr> yes
12 2012-05-13 01:05:54 <sipa> yes
13 2012-05-13 01:08:41 rdponticelli_ has quit (Ping timeout: 272 seconds)
14 2012-05-13 01:11:54 <JFK911> it doesn't really tell much about their bitcoin plans
15 2012-05-13 01:12:20 <BlueMatt> no, but is is interesting, and I do have to give the fbi credit for their very clear and simply put statements
16 2012-05-13 01:13:26 <gmaxwell> BlueMatt: too bad there is a bunch of press misrepresenting it as 'FBI is paniced about bitcoin!'.
17 2012-05-13 01:13:40 <BlueMatt> yea....
18 2012-05-13 01:13:57 <BlueMatt> the document itself is well-done and fairly correct, afaict though...
19 2012-05-13 01:14:01 mmoya has joined
20 2012-05-13 01:14:09 <freewil> i havent read the whole thing but yeah nothing really revealing in there
21 2012-05-13 01:14:21 <freewil> it's just a report that says here is bitcoin and some potential crimes related to it
22 2012-05-13 01:15:06 <luke-jr> gmaxwell: there is?
23 2012-05-13 01:15:30 <freewil> maybe fbi should do some more reports on mf global
24 2012-05-13 01:15:51 <sipa> mf global?
25 2012-05-13 01:15:57 <gmaxwell> luke-jr: Including wired, for example.
26 2012-05-13 01:16:20 <freewil> sipa, yeah it was a commodities brokerage firm that blew up a few months ago, and customer funds were stolen
27 2012-05-13 01:16:26 <luke-jr> gmaxwell: haven't seen any yet :P
28 2012-05-13 01:16:29 <sipa> ok
29 2012-05-13 01:16:35 <freewil> surpisingly the ceo john corzine is a huge money bundler for obama
30 2012-05-13 01:16:41 <freewil> no prosecutions
31 2012-05-13 01:16:44 <freewil> nothing to see
32 2012-05-13 01:16:55 <Diablo-D3> well
33 2012-05-13 01:16:59 <Diablo-D3> you know how to get back at the FBI?
34 2012-05-13 01:17:04 <Diablo-D3> invest in DMC.
35 2012-05-13 01:17:24 <freewil> haha
36 2012-05-13 01:17:45 <luke-jr> Diablo-D3: get back at? this is GOOD
37 2012-05-13 01:18:13 <gmaxwell> ... get back at? For writing a factual and clearly stated report?
38 2012-05-13 01:18:23 <Diablo-D3> exactly! we cant have that!
39 2012-05-13 01:18:44 <Diablo-D3> we must crush the enemies of america with bitcoin!
40 2012-05-13 01:19:13 * Diablo-D3 stands infront of a giant US flag and gives some fucking awesome speech and everybody dies by the end of the movie
41 2012-05-13 01:19:52 <sipa> Diablo-D3: did you just call the FBI enemies of america?
42 2012-05-13 01:20:03 <Diablo-D3> no, I just called them inefficient at doing it
43 2012-05-13 01:20:32 <Diablo-D3> why drop bombs when you can drop bitcoins!
44 2012-05-13 01:20:51 <Diablo-D3> fuck over their economies in one fell swoop!
45 2012-05-13 01:21:06 <Diablo-D3> collapse their oil-based regimes!
46 2012-05-13 01:21:55 <Diablo-D3> BITCOIN IS LIFE, LIBERTY, AND THE PURSUIT OF HAPPINESS!
47 2012-05-13 01:23:02 <Diablo-D3> WE HOLD THESE TRUTHS TO BE SELF-EVIDENT, THAT ALL BITCOINS ARE CREATED EQUAL, THT THEY ARE ENDOWED BY SATOSHI WITH CERTAIN UNAILENABLE RIGHTS, THAT AMONG THESE ARE LIFE LIBERTY AND THE PURSUIT OF HAPPINESS!
48 2012-05-13 01:23:49 <freewil> alright Diablo-D3
49 2012-05-13 01:24:03 <freewil> lay off the stimulants
50 2012-05-13 01:24:26 <Diablo-D3> what
51 2012-05-13 01:24:35 <Diablo-D3> I believe democracy is an important thing
52 2012-05-13 01:24:46 <Diablo-D3> and we should drop it on other countries frequently and liberally.
53 2012-05-13 01:24:57 <Diablo-D3> we should smother it all over other countries like butter on toast
54 2012-05-13 01:25:41 <Diablo-D3> man, I wish bitcoins were real, we could have a special founding fathers set
55 2012-05-13 01:25:49 Nicksasa has quit (Read error: Connection reset by peer)
56 2012-05-13 01:26:05 * sipa hands Diablo-D3 a cassascius coin
57 2012-05-13 01:26:14 <Diablo-D3> where has that dude been lately
58 2012-05-13 01:26:19 <gmaxwell> sipa: You misspelled muzzle.
59 2012-05-13 01:26:50 <sipa> gmaxwell: ok... :'(
60 2012-05-13 01:26:53 <Diablo-D3> gmaxwell: bah, what are you, a canadian?
61 2012-05-13 01:28:30 <gmaxwell> sipa: did you see my comment before about multiple v6 addnodes but only one being attempted?
62 2012-05-13 01:28:53 <sipa> hmm, no?
63 2012-05-13 01:29:23 <gmaxwell> was just about to try with 1272 and was wondering if I should expect different behavior
64 2012-05-13 01:29:26 * gmaxwell tries
65 2012-05-13 01:29:58 <sipa> 1272?
66 2012-05-13 01:30:05 <gmaxwell> https://github.com/bitcoin/bitcoin/pull/1272
67 2012-05-13 01:30:34 dvide has joined
68 2012-05-13 01:30:43 <sipa> don't think any of those will change addnode behavour
69 2012-05-13 01:30:47 <sipa> +i
70 2012-05-13 01:33:45 <gmaxwell> yea .. Interesting: I have
71 2012-05-13 01:33:46 <gmaxwell> addnode=2001:4830:1603:2:21c:c0ff:fe79:c8c2
72 2012-05-13 01:33:46 <gmaxwell> addnode=2001:470:9ff2:2:0:0:0:12
73 2012-05-13 01:33:46 <gmaxwell> addnode=2a02:348:5e:5a29:0:0:0:1
74 2012-05-13 01:34:12 <gmaxwell> but only get
75 2012-05-13 01:34:13 <gmaxwell> $ grep \\[ /tmp/bitcoin02/debug.log | grep connect
76 2012-05-13 01:34:13 <gmaxwell> 05/13/12 01:30:25 trying connection [2001:4830:1603:2:21c:c0ff:fe79:c8c2]:8333 lastseen=-343575.7hrs
77 2012-05-13 01:34:39 <sipa> and does that connection succeed?
78 2012-05-13 01:34:58 <gmaxwell> It did before.
79 2012-05-13 01:35:06 <sipa> hmm
80 2012-05-13 01:35:19 <gmaxwell> I think jeff has turned off his node.
81 2012-05-13 01:35:25 <sipa> it only tries one, or it only tries once?
82 2012-05-13 01:35:45 <gmaxwell> It only tries one. (and it looks like it only tries it once)
83 2012-05-13 01:36:00 <gmaxwell> oh it tries it multiple times
84 2012-05-13 01:36:10 <gmaxwell> just had to wait a bit
85 2012-05-13 01:36:21 <gmaxwell> My complaint was that it only tried one.
86 2012-05-13 01:37:01 <sipa> hmm
87 2012-05-13 01:37:47 <osmosis> i had a feature idea. When right clicking on a transaction, display a list of any parent transactions that are known from my address book.
88 2012-05-13 01:38:35 <luke-jr> I'd much rather see an integrated blockchain.info-type browser
89 2012-05-13 01:40:42 <nanotube> yea that'd be cool, luke-jr
90 2012-05-13 01:41:29 plutonic has quit (Quit: plutonic)
91 2012-05-13 01:41:39 mmoya has quit (Ping timeout: 245 seconds)
92 2012-05-13 01:42:15 osmosis has quit (Quit: Leaving)
93 2012-05-13 01:47:56 <luke-jr> yay, 8f10a2889089af1b2ac64802360494b54c8c7ff1 introduce regression!
94 2012-05-13 01:48:14 <Diablo-D3> luke-jr: btw, did you see DMC?
95 2012-05-13 01:48:20 <Diablo-D3> Im 18 short of DMC shares sold
96 2012-05-13 01:48:20 <luke-jr> Diablo-D3: ?
97 2012-05-13 01:48:23 <luke-jr> yes
98 2012-05-13 01:52:55 <luke-jr> sipa: 8f10a2889089af1b2ac64802360494b54c8c7ff1 breaks -port :<
99 2012-05-13 01:53:15 <Diablo-D3> luke-jr: er, short of 250 I mean
100 2012-05-13 01:53:21 <Diablo-D3> and we're just past the 12hr mark
101 2012-05-13 01:56:35 <sipa> luke-jr: fixed in 5a3cb32e5942adbfb5af90808013c1dde3c03fcf
102 2012-05-13 01:56:45 <sipa> (should be)
103 2012-05-13 02:03:28 <jgarzik> sipa: that's a good question... how does IRC and IPv4 addresses interact? do we use a new nick encoding, pick first local ipv4 address, ignore all ipv6 addresses, etc.?
104 2012-05-13 02:03:43 <sipa> jgarzik: i say ignore; irc is deprecated
105 2012-05-13 02:03:54 * jgarzik is reading issue #1280
106 2012-05-13 02:03:59 <jgarzik> sipa: agree
107 2012-05-13 02:04:55 <jgarzik> issue #1273: "it will be nice to add commands like «addnode» and «listnodes» to PRC interface, so it will be unneded to restart bitcoind to manual node adding on, for example, testing IPv6 connectivity ;)"
108 2012-05-13 02:04:58 <jgarzik> ^^ agreed
109 2012-05-13 02:05:04 <jgarzik> in general some networking rpcs would be nice
110 2012-05-13 02:05:21 denisx has joined
111 2012-05-13 02:05:36 <sipa> addnode is a bit hard, but a "open a connection NOW to <...>" is very doable
112 2012-05-13 02:06:49 brwyatt is now known as Away!~brwyatt@pool-96-226-236-130.dllstx.fios.verizon.net|brwyatt
113 2012-05-13 02:07:29 <jgarzik> sipa: the latter should be all that's needed
114 2012-05-13 02:07:32 <jgarzik> imo
115 2012-05-13 02:08:24 <BlueMatt> addnode shouldnt be that hard...just add it to the addnode vector?
116 2012-05-13 02:08:49 <BlueMatt> or has addnode changed with ipv6?
117 2012-05-13 02:08:53 <sipa> no, not really
118 2012-05-13 02:09:11 <sipa> BlueMatt: gmaxwell had some complaint about its behaviour though (see above)
119 2012-05-13 02:09:42 <sipa> jgarzik: anyway; no indeed, not hard; but "connect now to" seems more useful as an RPC
120 2012-05-13 02:09:46 <BlueMatt> did I code that wrong, or did it change?
121 2012-05-13 02:09:54 <BlueMatt> it used to try one per addnode arg
122 2012-05-13 02:09:59 <BlueMatt> (ie once per dns name)
123 2012-05-13 02:10:00 <sipa> i may have messed things up :)
124 2012-05-13 02:10:10 <sipa> but i don't think i touched it too much
125 2012-05-13 02:10:38 <BlueMatt> well maybe it was always broken...either way, needs fixed
126 2012-05-13 02:10:40 n0n00dz4u has joined
127 2012-05-13 02:10:54 <n0n00dz4u> whats up crackers
128 2012-05-13 02:11:25 <Diablo-D3> n0n00dz4u: everyone is celebrating DMC's successful launch
129 2012-05-13 02:11:44 <BlueMatt> dmc?
130 2012-05-13 02:11:55 <BlueMatt> oh...
131 2012-05-13 02:12:00 <Diablo-D3> Diablo Mining Company!
132 2012-05-13 02:12:07 <Diablo-D3> 18 more shares and we pass 250
133 2012-05-13 02:12:09 <n0n00dz4u> congrats!
134 2012-05-13 02:12:16 <BlueMatt> tell me you havent made /that/ much money...
135 2012-05-13 02:12:39 <Diablo-D3> blueMatt: yes, I am the proud custodian of a large sum of bitcoins.
136 2012-05-13 02:13:02 <n0n00dz4u> hopefully I can secure (read beg) for a start up loan :)
137 2012-05-13 02:13:21 <BlueMatt> I dont know what to think of that...on one hand, its better that you have more mining than deepbit, on the the other...
138 2012-05-13 02:13:56 <Diablo-D3> bluematt: more? no, read the revised plan
139 2012-05-13 02:14:08 <Diablo-D3> the $1m plan doesnt give me 3.5 thash on day one
140 2012-05-13 02:14:09 <n0n00dz4u> congratulatory vlog to be released in honor of DMC
141 2012-05-13 02:14:18 <n0n00dz4u> also live from flannigans
142 2012-05-13 02:14:21 <BlueMatt> well, add some mining power which decreases deepbit's %
143 2012-05-13 02:15:03 <Diablo-D3> blueMatt: if I do everything right, we get north of 1 thash
144 2012-05-13 02:15:13 <BlueMatt> damn...
145 2012-05-13 02:15:15 <Diablo-D3> but not on the first day of full power
146 2012-05-13 02:15:34 <Diablo-D3> the $1m plancalls for 40 BFL MiniRigs
147 2012-05-13 02:15:38 <Diablo-D3> which is 1008 ghash
148 2012-05-13 02:15:59 <n0n00dz4u> tweeted
149 2012-05-13 02:16:11 <n0n00dz4u> what am I drinking diablo?
150 2012-05-13 02:16:14 <n0n00dz4u> glenlevit!
151 2012-05-13 02:16:26 <n0n00dz4u> i'm thinking glenlevit
152 2012-05-13 02:18:40 <Diablo-D3> you're talking to someone who doesnt drink.
153 2012-05-13 02:19:00 <n0n00dz4u> Smoke pot?
154 2012-05-13 02:19:07 <n0n00dz4u> *elbow jabs*
155 2012-05-13 02:19:32 <Diablo-D3> nope.
156 2012-05-13 02:19:35 denisx has quit (Read error: Connection timed out)
157 2012-05-13 02:19:48 <n0n00dz4u> well everyone has something
158 2012-05-13 02:19:55 <n0n00dz4u> I enjoy being intoxicated
159 2012-05-13 02:20:06 <n0n00dz4u> and in light of recent developments
160 2012-05-13 02:20:07 <n0n00dz4u> and you
161 2012-05-13 02:20:10 <n0n00dz4u> your success
162 2012-05-13 02:20:19 <n0n00dz4u> I'm ordering a scotch and recording a vlog
163 2012-05-13 02:20:33 <n0n00dz4u> thats how deathbylollipop treats their friends for the record
164 2012-05-13 02:21:43 copumpkin has joined
165 2012-05-13 02:22:48 <jgarzik> Diablo-D3: "$1m USD" wasn't it originally 1 million bitcoins? or am I misremembering?
166 2012-05-13 02:23:01 <Diablo-D3> it got downsized
167 2012-05-13 02:23:09 <Diablo-D3> due to the poll of epic lamerity.
168 2012-05-13 02:24:21 t7 has quit (Remote host closed the connection)
169 2012-05-13 02:24:28 <jgarzik> Diablo-D3: do you live in Maine already? (i.e. is DMC facility remote or local)
170 2012-05-13 02:24:48 <BlueMatt> arent there cheaper states for power costs?
171 2012-05-13 02:24:57 <Diablo-D3> jgarzik: yes, I am STUCK IN THIS FROZEN WASTELAND
172 2012-05-13 02:25:03 <Diablo-D3> I MEAN, IM LOOKING OUT OF MY WINDOW
173 2012-05-13 02:25:14 <Diablo-D3> AND I SEE A HUNTER RIDING A POLAR BEAR
174 2012-05-13 02:25:26 <BlueMatt> heh, it was high 70s today in philli
175 2012-05-13 02:25:32 <BlueMatt> also, somehow I doubt that...
176 2012-05-13 02:25:52 <jgarzik> BlueMatt: DMC is apparently solar
177 2012-05-13 02:25:58 <BlueMatt> ahhh, nice
178 2012-05-13 02:26:05 <BlueMatt> wait, wtf?
179 2012-05-13 02:26:07 <BlueMatt> solar in maine?
180 2012-05-13 02:26:17 <BlueMatt> thats not efficient...
181 2012-05-13 02:26:21 <jgarzik> BlueMatt: https://bitcointalk.org/index.php?topic=77469.0
182 2012-05-13 02:26:24 <jgarzik> BlueMatt: no, it's not :)
183 2012-05-13 02:26:57 <jgarzik> ideal is Iceland: geothermal power and easy cooling ;)
184 2012-05-13 02:27:07 <BlueMatt> yea...
185 2012-05-13 02:27:57 <BlueMatt> ideal are a lot of places other than maine
186 2012-05-13 02:29:19 <Diablo-D3> jgarzik: that statement is not entirely correct
187 2012-05-13 02:29:46 <jgarzik> Diablo-D3: no statement ever is
188 2012-05-13 02:29:58 <Diablo-D3> actually, it just fails all over the places
189 2012-05-13 02:29:59 <BlueMatt> 89% of statistics are made-up
190 2012-05-13 02:30:08 <Diablo-D3> I mean, one
191 2012-05-13 02:30:19 <Diablo-D3> I REALLY want a 9000 foot tall fucking gigantic wind mill of DOOM
192 2012-05-13 02:30:34 <Diablo-D3> and Im going to install speakers at the base of it, the outdoor weatherized kind
193 2012-05-13 02:30:37 <BlueMatt> and since when is maine windy...?
194 2012-05-13 02:30:41 <Diablo-D3> and have it play that music from n64
195 2012-05-13 02:30:46 <jgarzik> regardless, wind power is quickly being proven stupid
196 2012-05-13 02:30:46 <Diablo-D3> er zelda n64
197 2012-05-13 02:31:02 <Diablo-D3> bluematt: coastal maine has some of the best wind in the USA
198 2012-05-13 02:31:23 <BlueMatt> this whole lets place my new datacenter in maine because I happen to live here business doesnt seem right to me...
199 2012-05-13 02:31:24 <Diablo-D3> jgarzik: "proven" stupid?
200 2012-05-13 02:31:25 <Diablo-D3> how so?
201 2012-05-13 02:31:48 <Diablo-D3> bluematt: no different than doing it in alaska, really
202 2012-05-13 02:32:05 <BlueMatt> well wtf would you put a datacenter in alaska, either?
203 2012-05-13 02:32:18 <BlueMatt> hmmm...didnt realize that...though then shouldnt you put your windmill off the coast in the ocean?
204 2012-05-13 02:32:39 <Diablo-D3> coastal includes NOT in the water too
205 2012-05-13 02:32:48 <luke-jr> sipa: addnode {'ip':â¦, 'port':â¦, 'immediate':bool, 'retain':bool} ?
206 2012-05-13 02:32:56 <BlueMatt> yea, but in the water would be more efficient, more winds there...
207 2012-05-13 02:32:58 <Diablo-D3> maine has surprisingly lots of wind
208 2012-05-13 02:33:01 <Diablo-D3> people forget this
209 2012-05-13 02:33:17 <BlueMatt> or didnt know it, because...who travels to maine???
210 2012-05-13 02:33:42 <Diablo-D3> yeah
211 2012-05-13 02:33:45 <Diablo-D3> but this is the good part
212 2012-05-13 02:33:49 <jgarzik> Diablo-D3: in most places. Maine may be an exception, I admit
213 2012-05-13 02:33:55 <Diablo-D3> land is cheap, its cold, and theres no people
214 2012-05-13 02:34:02 <Diablo-D3> and solar is NOT the worst in the nation
215 2012-05-13 02:34:08 <BlueMatt> theres no people for a reason...
216 2012-05-13 02:34:21 <Diablo-D3> like, people went MOVE TO OREGON OR WASHINGTON
217 2012-05-13 02:34:27 <Diablo-D3> those states have _worse_ solar than maine
218 2012-05-13 02:34:31 <jgarzik> Diablo-D3: the turbines involve huge capital costs, the maintenance is huge, and the current tech constantly breaks down (go go zero power output)
219 2012-05-13 02:34:38 <Diablo-D3> because you keep fucking yourselves over with the insane weather patterns
220 2012-05-13 02:34:46 <Diablo-D3> it rains EVERY SINGLE DAY there
221 2012-05-13 02:34:46 <Diablo-D3> EVERY
222 2012-05-13 02:34:47 <Diablo-D3> SINGLE
223 2012-05-13 02:34:48 <Diablo-D3> DAY
224 2012-05-13 02:34:54 <Diablo-D3> when the fuck does the SUN come out
225 2012-05-13 02:35:00 <Diablo-D3> how the fuck do you people even LIVE
226 2012-05-13 02:35:06 <jgarzik> subsidies are the only thing keeping wind power alive in ~80% of the installed US locations
227 2012-05-13 02:35:09 <BlueMatt> same way as in england ;)
228 2012-05-13 02:35:21 <Diablo-D3> jgarzik: fuck the subsidies
229 2012-05-13 02:35:38 <Diablo-D3> and bullshit, current tech DOESNT constantly break down
230 2012-05-13 02:35:49 <BlueMatt> jgarzik: hey, look at germany, half the country has solar on its roof....and you are north of maine with the cloud cover of the uk...
231 2012-05-13 02:35:50 <Diablo-D3> every break down Im aware of in the past 5 years has been 20 year old turbines.
232 2012-05-13 02:35:56 <jgarzik> Diablo-D3: your DMC prospectus should include the quote "it rains EVERY SINGLE DAY there" in the section on solar power
233 2012-05-13 02:36:01 <jgarzik> under risks
234 2012-05-13 02:36:12 <Diablo-D3> jgarzik: in maine it isnt really bad weather
235 2012-05-13 02:36:21 <Diablo-D3> and 1200kwh/yr is Maine specific
236 2012-05-13 02:36:28 <Diablo-D3> its what has been measured on real panels
237 2012-05-13 02:36:37 <jgarzik> Diablo-D3: really? well done, then.
238 2012-05-13 02:36:53 <Diablo-D3> I mean, I really cant find a better place than maine without moving to canada
239 2012-05-13 02:36:58 <luke-jr> Diablo-D3: solar panels produce more power water-cooled, fwiw
240 2012-05-13 02:37:09 <Diablo-D3> Im actually in luck that I already live here
241 2012-05-13 02:37:59 <BlueMatt> luck is a rather broad term, in this case...
242 2012-05-13 02:38:00 * luke-jr should find out specs on how well his dad's solar panels produce
243 2012-05-13 02:38:31 * BlueMatt should find specs on how well his parent's solar panels produce...in germany...actually, they might be scary
244 2012-05-13 02:39:06 <Diablo-D3> bluematt: panels are getting better
245 2012-05-13 02:39:11 <BlueMatt> still...
246 2012-05-13 02:39:20 <Diablo-D3> btw, where I said 1200khw/yr per panel, thats a 1kw panel
247 2012-05-13 02:39:23 <Diablo-D3> just to be perfectly clear
248 2012-05-13 02:39:36 <Diablo-D3> they manufacture panels of lots of sizes
249 2012-05-13 02:39:39 <Diablo-D3> some much smaller than that
250 2012-05-13 02:39:47 <Diablo-D3> so adjust your measurements accordingly
251 2012-05-13 02:39:51 <luke-jr> I would think Florida has much better solar than Maine
252 2012-05-13 02:39:55 <luke-jr> but it does rain a lot here, sometimes
253 2012-05-13 02:39:57 <Diablo-D3> luke-jr: its not the best
254 2012-05-13 02:40:07 <Diablo-D3> theres a part in arizona that gets insane solar
255 2012-05-13 02:40:07 <JFK911> what panel gives 1kw
256 2012-05-13 02:40:15 <Diablo-D3> JFK911: they make 1kw panels
257 2012-05-13 02:40:18 <Diablo-D3> they're rather huge
258 2012-05-13 02:40:23 <JFK911> what is its dimensions and mass
259 2012-05-13 02:40:48 <JFK911> i have a pallet of kyocera 85 watt things
260 2012-05-13 02:40:58 <Diablo-D3> arent those just cells?
261 2012-05-13 02:41:07 <JFK911> no they are assembled panels
262 2012-05-13 02:41:12 <Diablo-D3> wtf how big are they
263 2012-05-13 02:41:14 <Diablo-D3> they must be tiny
264 2012-05-13 02:41:15 <JFK911> you can buy indiv cells on ebay
265 2012-05-13 02:41:21 <JFK911> they are roof sized
266 2012-05-13 02:41:25 <JFK911> ive got more than 40 on the pallet
267 2012-05-13 02:41:58 <Diablo-D3> yeah, the 1kw ones Ive seen are like 3 by 6 foot or something
268 2012-05-13 02:42:03 <JFK911> 40 x 26 inches
269 2012-05-13 02:42:13 <JFK911> 20 lbs each
270 2012-05-13 02:42:26 <n0n00dz4u> phones charging
271 2012-05-13 02:42:26 <JFK911> mine are old but still sold today
272 2012-05-13 02:42:32 <n0n00dz4u> hey diablo
273 2012-05-13 02:42:33 <JFK911> and not cheaply either
274 2012-05-13 02:42:39 <Diablo-D3> n0n00dz4u: hey
275 2012-05-13 02:42:43 <n0n00dz4u> how man bitcoins do you think I can mine on my blackberry torch?
276 2012-05-13 02:43:05 <n0n00dz4u> 1 million possibly?
277 2012-05-13 02:43:30 <Diablo-D3> JFK911: they have like 500 cells depending on the make I think
278 2012-05-13 02:43:54 <JFK911> google for type kc85
279 2012-05-13 02:44:00 TheSeven has quit (Disconnected by services)
280 2012-05-13 02:44:09 [7] has joined
281 2012-05-13 02:44:56 <Diablo-D3> JFK911: that says 72 cells per panel
282 2012-05-13 02:45:00 <Diablo-D3> and those are pretty funny shaped cells
283 2012-05-13 02:45:18 <JFK911> you were expecting hex shape?
284 2012-05-13 02:45:29 <Diablo-D3> no, the more square ones Ive seen
285 2012-05-13 02:46:17 <JFK911> well i dont have connectors
286 2012-05-13 02:46:24 <JFK911> thats why i havent used any yet
287 2012-05-13 02:51:51 <jgarzik> Diablo-D3: what number of sold shares is DMC's "start moving" point?
288 2012-05-13 02:51:58 one_zero has joined
289 2012-05-13 02:52:38 <jgarzik> Diablo-D3: if you are set on wind, sounds like that's the first power source? because obviously solar won't get you running 24/7 without overcapacity + storage
290 2012-05-13 02:52:57 <Diablo-D3> jgarzik: Im not send on wind, btw
291 2012-05-13 02:53:01 Mike3574 is now known as Ragnarok752
292 2012-05-13 02:53:07 <Diablo-D3> and btw, theres no storage
293 2012-05-13 02:53:12 <Diablo-D3> we just sell it back to the grid
294 2012-05-13 02:53:14 toffoo has joined
295 2012-05-13 02:53:32 <jgarzik> Diablo-D3: yeah that works as long as you are net positive
296 2012-05-13 02:53:37 Ragnarok752 is now known as Mike3574
297 2012-05-13 02:53:48 <n0n00dz4u> vlog recorded
298 2012-05-13 02:54:11 * jgarzik always liked photovoltaic + hydrogen storage
299 2012-05-13 02:55:13 <Diablo-D3> jgarzik: yes
300 2012-05-13 02:55:27 <jgarzik> other options for storage -- excluding batteries, that is -- include compressed air, elevated water, fuel cell production, ...
301 2012-05-13 02:55:38 <Diablo-D3> yeah yeah yeah, it costs money.
302 2012-05-13 02:55:43 <Diablo-D3> its cheaper just to overbuy cells.
303 2012-05-13 02:55:48 <jgarzik> probably
304 2012-05-13 02:55:51 <gmaxwell> jgarzik: flywheels are fun!
305 2012-05-13 02:55:59 <jgarzik> ohhh I forgot flywheels
306 2012-05-13 02:56:09 <Diablo-D3> money, it costs.
307 2012-05-13 02:56:36 <n0n00dz4u> I'm promoting for Diablo just so everyone knows
308 2012-05-13 02:56:46 <jgarzik> yeah grid tie + sufficient photovoltaic to keep your bill >0 definitely makes a lot of sense
309 2012-05-13 02:57:00 <gmaxwell> <=0
310 2012-05-13 02:57:08 <gmaxwell> darn boundary conditions.
311 2012-05-13 02:57:17 * jgarzik is greedy
312 2012-05-13 02:57:31 <gmaxwell> Greedy people like negative bills too.
313 2012-05-13 02:57:33 <jgarzik> if a miner explodes... power profit!
314 2012-05-13 02:57:46 <jgarzik> but really
315 2012-05-13 02:57:49 <Diablo-D3> yeah what gmaxwell said
316 2012-05-13 02:57:52 <jgarzik> with $1m just do an ASIC
317 2012-05-13 02:57:54 <Diablo-D3> negative bills means....
318 2012-05-13 02:58:01 <Diablo-D3> profits.
319 2012-05-13 02:58:02 <Diablo-D3> fuck yeah.
320 2012-05-13 02:58:06 <Diablo-D3> jgarzik: and no
321 2012-05-13 02:58:10 <Diablo-D3> thats $10m
322 2012-05-13 02:58:13 <Diablo-D3> and
323 2012-05-13 02:58:14 <jgarzik> hardly
324 2012-05-13 02:58:18 <Diablo-D3> thats just to GET them
325 2012-05-13 02:58:23 <jgarzik> nope
326 2012-05-13 02:58:31 <Diablo-D3> I have to sell all of them not to go out of business
327 2012-05-13 02:58:34 <luke-jr> jgarzik: ASICs are for sale, not use ;)
328 2012-05-13 02:58:42 <Diablo-D3> jgarzik: dude, sasic and shit asic is shit
329 2012-05-13 02:58:47 <Diablo-D3> Im not going to fuck with that
330 2012-05-13 02:58:56 <Diablo-D3> either I lay waste to all that I can see, or Im not going to do it
331 2012-05-13 02:59:01 <luke-jr> jgarzik: gmaxwell proposes if someone makes ASICs and won't sell them, we change the block hashing algo on them
332 2012-05-13 02:59:23 <Diablo-D3> gmaxwell can, like
333 2012-05-13 02:59:42 <Diablo-D3> I dont disagree with him actually
334 2012-05-13 02:59:45 <luke-jr> (selling them prevents a 51% attack, and ensures there are enough people upset over such a change that it would fail)
335 2012-05-13 03:07:29 <luke-jr> jgarzik: ping
336 2012-05-13 03:08:07 <luke-jr> jgarzik: where is the general locking mechanism for the multithreaded JSON-RPC? or are the calls all threadsafe now?
337 2012-05-13 03:11:11 <JFK911> Diablo-D3: dude you are by the ocean, use wave energy
338 2012-05-13 03:11:37 <Diablo-D3> I love how people think ocean front property is cheap, and navigating bureaucracy is easy
339 2012-05-13 03:13:41 <Diablo-D3> sometime in the future? who knows
340 2012-05-13 03:13:46 <Diablo-D3> but not today, thats for sure
341 2012-05-13 03:14:37 <gmaxwell> just build your stuff in standard shipping containers (they're cheap in the US because we don't export enough anyways)... then your farm can be easily moved
342 2012-05-13 03:14:57 <gmaxwell> Cheap power in antartica? no problem.
343 2012-05-13 03:15:14 <Diablo-D3> gmaxwell: I'd like to keep it in the US
344 2012-05-13 03:15:38 <gmaxwell> Cheap power in alaska? no problem.
345 2012-05-13 03:15:40 <freewil> shipping container is actually a really good idea
346 2012-05-13 03:15:50 <Diablo-D3> Im not moving to alaska
347 2012-05-13 03:15:53 <freewil> just move it whenever electricity costs change
348 2012-05-13 03:15:54 <Diablo-D3> they arent even part of the US anymore
349 2012-05-13 03:16:04 <Diablo-D3> freewil: okay, so, how do I move my solar and wind farm?
350 2012-05-13 03:16:11 <Diablo-D3> you cant get cheaper than free, anyways.
351 2012-05-13 03:16:55 <freewil> you build the solar panels ontop of a collapsing platform that folds into the shipping container :)
352 2012-05-13 03:17:02 <gmaxwell> Diablo-D3: you sell your farm and move where the cheap power is. Don't be so location biased. There are people waiting to be exploited all over the world.
353 2012-05-13 03:18:18 <Diablo-D3> gmaxwell: Im not location biased
354 2012-05-13 03:18:21 <Diablo-D3> but why would I _sell_ it
355 2012-05-13 03:18:24 <Diablo-D3> that seems short sighted
356 2012-05-13 03:20:58 <freewil> you could ship it to china and set it up in some dirty ass coal city
357 2012-05-13 03:21:05 <freewil> probably wont get much solar there though
358 2012-05-13 03:21:56 <Diablo-D3> my hardware doesnt leave the US.
359 2012-05-13 03:23:11 <jgarzik> luke-jr: CRPCTable::execute() ... LOCK2(cs_main, pwalletMain->cs_wallet)
360 2012-05-13 03:23:46 <luke-jr> jgarzik: is there any existing way to unlock those inside the scope?
361 2012-05-13 03:24:04 <jgarzik> luke-jr: you would change that to something like "if strMethod == getwork" { call actor } else { LOCK2()... call actor }
362 2012-05-13 03:24:38 <jgarzik> conditional locking is ugly, but sometimes I'm an ugly guy ;)
363 2012-05-13 03:25:01 <jgarzik> maybe put a big "this code is not your role model" comment
364 2012-05-13 03:26:14 <freewil> i hate comments like that, it's like "hey, im actually a better programmer than this, but i dont give a fuck right now"
365 2012-05-13 03:26:30 <jgarzik> Diablo-D3: re chips, you can do a highly specialized chip, full ASIC, for around $1m if you partner with an existing house that makes a lot of ASICs anyway. deals like that are common.
366 2012-05-13 03:26:52 <gmaxwell> freewil: thats not always what that means.
367 2012-05-13 03:27:10 <Diablo-D3> jgarzik: that takes time and money
368 2012-05-13 03:27:19 <Diablo-D3> Im simply not interested in it.
369 2012-05-13 03:27:23 <Diablo-D3> let somebody else with $1m do it
370 2012-05-13 03:27:28 <gmaxwell> freewil: sometimes it's just "this isn't a great thing to do, but there were complicated tradeoffs here and in this case it was the right decision. That doesn't mean you should copy this elsewhere, kid"
371 2012-05-13 03:27:40 <jgarzik> precisely :)
372 2012-05-13 03:28:08 <freewil> yeah ok justifications are always good i suppose
373 2012-05-13 03:28:08 <jgarzik> code gets cut-n-pasted everywhere in open source
374 2012-05-13 03:28:15 <n0n00dz4u> he bought four I front him five more
375 2012-05-13 03:28:18 <Diablo-D3> NOW
376 2012-05-13 03:28:22 <n0n00dz4u> 9 piece straight 8balls
377 2012-05-13 03:28:26 <Diablo-D3> if someone did asic and it was cheaper mh/$ than the best option?
378 2012-05-13 03:28:30 <Diablo-D3> I'd buy them
379 2012-05-13 03:28:34 <jgarzik> in the kernel, we see bugs in one driver get copied into 5 other drivers
380 2012-05-13 03:28:37 <jgarzik> it's awful
381 2012-05-13 03:28:37 <n0n00dz4u> :D
382 2012-05-13 03:28:47 <jgarzik> you need a license for cut-n-paste coding
383 2012-05-13 03:28:51 <luke-jr> anyone know what lock is supposed to protect pindexBest?
384 2012-05-13 03:28:51 <Diablo-D3> jgarzik: I fucking hate people like that
385 2012-05-13 03:29:30 <jgarzik> luke-jr: honestly, I would benchmark the current solution before assuming that further patches were needed
386 2012-05-13 03:29:36 copumpkin has quit ()
387 2012-05-13 03:29:43 <luke-jr> jgarzik: I'm not trying to optimize anything O.o
388 2012-05-13 03:30:03 <luke-jr> oh, I see your line of thought
389 2012-05-13 03:30:09 <luke-jr> jgarzik: my aim right now is implementing longpolling
390 2012-05-13 03:30:41 <jgarzik> luke-jr: LP + current m-t design will leave a lot of idle threads sitting there
391 2012-05-13 03:30:44 <jgarzik> a -lot-
392 2012-05-13 03:30:50 <freewil> for rpc?
393 2012-05-13 03:30:53 <luke-jr> jgarzik: even if there's only one LP connection?
394 2012-05-13 03:31:15 <jgarzik> luke-jr: one idle thread per client
395 2012-05-13 03:31:26 <jgarzik> luke-jr: you don't want thousands of idle threads
396 2012-05-13 03:31:26 <luke-jr> I think that's OK in this case. for now.
397 2012-05-13 03:31:45 <luke-jr> I can't imagine why there would be more than one getmemorypool longpoll client on bitcoind
398 2012-05-13 03:32:22 * jgarzik doesn't know the miner usage patterns for getmemorypool
399 2012-05-13 03:33:07 <luke-jr> I think in every case for bitcoind, there's only one connection
400 2012-05-13 03:44:09 helo has joined
401 2012-05-13 03:45:46 <luke-jr> hmm
402 2012-05-13 03:45:53 <luke-jr> I don't see any mutex protecting pindexBest :o
403 2012-05-13 03:46:48 <BlueMatt> bitcoin doesnt protect setting pointers in a few cases
404 2012-05-13 03:47:57 <BlueMatt> uhhh...anyone else getting 500 when accessing their fork of bitcoin/bitcoin, or is it my fork?
405 2012-05-13 03:50:31 <BlueMatt> luke-jr: see-also: https://github.com/TheBlueMatt/bitcoin/commit/46154c5589f69f7a8f024c70dd6e75c5a7044b75
406 2012-05-13 03:50:36 <BlueMatt> (mostly the comments)
407 2012-05-13 03:51:13 <luke-jr> i c
408 2012-05-13 03:55:29 <luke-jr> BlueMatt: did you consider using a different (non-IPC non-recursive) mutex just for that?
409 2012-05-13 03:55:43 <BlueMatt> I didnt spend any real time looking into it
410 2012-05-13 03:55:55 <BlueMatt> at the time there was a ton more to do, and I just saw that old bitcoin did it, so I left it
411 2012-05-13 03:57:42 <jgarzik> sipa: any pref for CAddrDB location? (a) back in db.*, (b) a tiny addrdb.*, (c) inside addrman.*, (d) other?
412 2012-05-13 03:57:53 * jgarzik leans toward (a) but is open to more-intelligent solution
413 2012-05-13 04:01:57 <luke-jr> why are we using IPC mutexes anyhow?
414 2012-05-13 04:03:00 b4epoche_ has quit (Ping timeout: 260 seconds)
415 2012-05-13 04:03:42 ZeusAlmighty has joined
416 2012-05-13 04:04:09 ThomasV has joined
417 2012-05-13 04:05:43 b4epoche_ has joined
418 2012-05-13 04:07:15 <n0n00dz4u> listening to see you in hell 2002 by suicide commando on grooveshark
419 2012-05-13 04:07:19 <n0n00dz4u> go diablo!
420 2012-05-13 04:07:20 <n0n00dz4u> go diablo!
421 2012-05-13 04:07:26 <n0n00dz4u> its your birthday :)
422 2012-05-13 04:22:57 paul0 has joined
423 2012-05-13 04:24:08 ThomasV has quit (Ping timeout: 265 seconds)
424 2012-05-13 04:29:28 ThomasV has joined
425 2012-05-13 04:42:15 <jgarzik> ewwww
426 2012-05-13 04:42:18 <jgarzik> GetDataDir is just ugly
427 2012-05-13 04:43:01 <jgarzik> instead, we should call GetDataDirAndDoThatStuffOnce, and then elsewhere in the code refer directly to pathDataDir variable.
428 2012-05-13 04:46:20 n0n00dz4u has quit (Ping timeout: 245 seconds)
429 2012-05-13 04:50:07 minimoose has quit (Quit: minimoose)
430 2012-05-13 04:50:31 <luke-jr> #936 (getmemorypool updates for BIP 22) needs re-reviewing
431 2012-05-13 05:00:20 DamascusVG has quit (Ping timeout: 256 seconds)
432 2012-05-13 05:00:38 <jgarzik> datadir is certainly read-only for the duration of the program
433 2012-05-13 05:02:43 DamascusVG has joined
434 2012-05-13 05:02:44 DamascusVG has quit (Changing host)
435 2012-05-13 05:02:44 DamascusVG has joined
436 2012-05-13 05:06:42 <BCBot> Stats: http://bit.ly/bitcoin-irc-stats
437 2012-05-13 05:07:06 mmoya has joined
438 2012-05-13 05:09:55 brwyatt is now known as brwyatt|Away
439 2012-05-13 05:10:05 da2ce7 has quit (Ping timeout: 260 seconds)
440 2012-05-13 05:11:39 mmoya has quit (Ping timeout: 245 seconds)
441 2012-05-13 05:11:44 <luke-jr> jgarzik: but there's two of them
442 2012-05-13 05:13:05 <jgarzik> luke-jr: two of what?
443 2012-05-13 05:13:13 <luke-jr> datadirs
444 2012-05-13 05:13:21 <jgarzik> luke-jr: can you be more specific?
445 2012-05-13 05:13:37 <luke-jr> jgarzik: there's the dir with the config file, and the dir with the databases
446 2012-05-13 05:13:48 <luke-jr> jgarzik: for mainnet, they're identical, but for testnet different
447 2012-05-13 05:14:05 <luke-jr> at least, I think that's what the whole GetDataDir is about
448 2012-05-13 05:14:46 <jgarzik> luke-jr: the data directory value is static for the entire runtime of the program, whether it is testnet or not
449 2012-05-13 05:15:07 <luke-jr> sure, just noting there'd need to be two such variables
450 2012-05-13 05:15:10 <jgarzik> you must restart to switch data directories to/from testnet
451 2012-05-13 05:15:21 <jgarzik> luke-jr: no, there is no need for two variables
452 2012-05-13 05:15:33 <jgarzik> there is only one datadir for the entire runtime of the program
453 2012-05-13 05:16:02 <luke-jr> testnet uses the same directory as mainnet for some things (config file, at least), and another for others (databases, debug.log)
454 2012-05-13 05:16:04 Cory has quit (Ping timeout: 240 seconds)
455 2012-05-13 05:18:01 Cory has joined
456 2012-05-13 05:24:47 <jgarzik> luke-jr: ah, good point
457 2012-05-13 05:26:21 <jgarzik> looks like just config file is called with GetDataDir(false)
458 2012-05-13 05:31:49 Zarutian has quit (Quit: Zarutian)
459 2012-05-13 05:36:59 TD has joined
460 2012-05-13 05:43:40 paul0 has quit (Quit: paul0)
461 2012-05-13 05:46:55 JZavala has joined
462 2012-05-13 05:47:59 BTC_Bear is now known as BTC_Bear|hbrntng
463 2012-05-13 05:54:52 brwyatt is now known as Away!~brwyatt@pool-96-226-236-130.dllstx.fios.verizon.net|brwyatt
464 2012-05-13 05:56:58 da2ce7 has joined
465 2012-05-13 05:58:38 Snapman is now known as Snapman[afkers]
466 2012-05-13 06:02:51 asuk has joined
467 2012-05-13 06:02:57 * jgarzik pushes out jgarzik/bitcoin.git#datadir
468 2012-05-13 06:08:34 davout has joined
469 2012-05-13 06:08:34 davout has quit (Changing host)
470 2012-05-13 06:08:34 davout has joined
471 2012-05-13 06:13:10 Snapman[afkers] is now known as Snapman
472 2012-05-13 06:13:13 Slix` has quit (Read error: Connection reset by peer)
473 2012-05-13 06:13:20 davout has quit (Ping timeout: 272 seconds)
474 2012-05-13 06:14:47 brwyatt is now known as brwyatt|Away
475 2012-05-13 06:16:51 asuk has quit (Ping timeout: 244 seconds)
476 2012-05-13 06:25:11 eoss has joined
477 2012-05-13 06:25:11 eoss has quit (Changing host)
478 2012-05-13 06:25:11 eoss has joined
479 2012-05-13 06:31:04 JZavala has quit (Ping timeout: 240 seconds)
480 2012-05-13 06:33:39 RainbowDashh has joined
481 2012-05-13 06:34:37 twmz__ has joined
482 2012-05-13 06:34:48 twmz_ has quit (Read error: Connection reset by peer)
483 2012-05-13 06:40:41 osmosis has joined
484 2012-05-13 06:44:03 TD has quit (Quit: TD)
485 2012-05-13 06:44:22 TheSeven has joined
486 2012-05-13 06:45:18 phantomcircuit has joined
487 2012-05-13 06:45:18 Ahimoth has joined
488 2012-05-13 06:45:46 davout has joined
489 2012-05-13 06:45:50 davout has quit (Changing host)
490 2012-05-13 06:45:50 davout has joined
491 2012-05-13 06:51:20 Rabbit67890 has joined
492 2012-05-13 06:51:20 RainbowDashh has quit (Disconnected by services)
493 2012-05-13 06:55:04 ThomasV has quit (Ping timeout: 248 seconds)
494 2012-05-13 06:57:58 ThomasV has joined
495 2012-05-13 07:03:19 osmosis has quit (Quit: Leaving)
496 2012-05-13 07:09:40 Rabbit67890 has quit (Ping timeout: 260 seconds)
497 2012-05-13 07:11:36 eoss has quit (Ping timeout: 272 seconds)
498 2012-05-13 07:13:21 Joric has joined
499 2012-05-13 07:13:21 Joric has quit (Changing host)
500 2012-05-13 07:13:21 Joric has joined
501 2012-05-13 07:14:25 RainbowDashh has joined
502 2012-05-13 07:16:33 <gribble> New news from bitcoinrss: jgarzik opened pull request 1281 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1281>
503 2012-05-13 07:22:06 <gribble> New news from bitcoinrss: jgarzik opened pull request 1282 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1282>
504 2012-05-13 07:32:15 <gribble> New news from bitcoinrss: laanwj opened pull request 1283 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1283>
505 2012-05-13 07:41:21 Bigpiggy01Mining has quit (Read error: Connection reset by peer)
506 2012-05-13 07:42:05 Bigpiggy01Mining has joined
507 2012-05-13 07:50:35 barmstrong has quit (Remote host closed the connection)
508 2012-05-13 07:51:09 sirk390 has joined
509 2012-05-13 07:53:49 barmstrong has joined
510 2012-05-13 08:08:57 RazielZ has joined
511 2012-05-13 08:09:17 sirk390 has quit (Read error: Connection reset by peer)
512 2012-05-13 08:13:28 da2ce7 has quit (Ping timeout: 248 seconds)
513 2012-05-13 08:14:01 setkeh has joined
514 2012-05-13 08:14:01 Diablo-D3 has joined
515 2012-05-13 08:14:01 spq has joined
516 2012-05-13 08:14:01 bob12321 has joined
517 2012-05-13 08:14:01 BlueMattBot has joined
518 2012-05-13 08:14:01 topace has joined
519 2012-05-13 08:14:01 SomeoneWeird has joined
520 2012-05-13 08:14:01 Insti_ has joined
521 2012-05-13 08:14:15 Joric has quit ()
522 2012-05-13 08:15:31 sirk390 has joined
523 2012-05-13 08:16:54 b4epoche_ has quit (Read error: Operation timed out)
524 2012-05-13 08:20:53 b4epoche_ has joined
525 2012-05-13 08:41:08 erle- has joined
526 2012-05-13 08:55:50 <sipa> jgarzik: it can go it db.*; that's already doing several things at once
527 2012-05-13 08:57:36 <sipa> jgarzik: also, splitting off the block database to a separate file sounds dangerous, as you need atomicity on transactions spanning tx and blk indexes
528 2012-05-13 09:01:21 <sipa> luke-jr: a non-IPC mutex?
529 2012-05-13 09:07:36 Turingi has joined
530 2012-05-13 09:07:37 Turingi has quit (Changing host)
531 2012-05-13 09:07:37 Turingi has joined
532 2012-05-13 09:17:18 <sirk390> hi, does anyone what use-case COINBASE_MATURITY prevents?
533 2012-05-13 09:18:22 <ThomasV> you the verb
534 2012-05-13 09:18:23 <sirk390> wouldn't it work exactly as well without this test?
535 2012-05-13 09:19:34 <sirk390> e.g I'm talking about the test in ConnectInputs "If prev is coinbase, check that it's matured"
536 2012-05-13 09:19:58 <freewil> a coinbase block is considered confirmed after 120 blocks
537 2012-05-13 09:20:06 <freewil> everything after is only 6
538 2012-05-13 09:20:10 <freewil> im guessing that is what thats about
539 2012-05-13 09:21:30 molecular has quit (Ping timeout: 260 seconds)
540 2012-05-13 09:21:31 <sirk390> yes but why? the 6 is not enforced at all
541 2012-05-13 09:22:22 molecular has joined
542 2012-05-13 09:22:43 <sirk390> you can even spend a transaction that is in the same block
543 2012-05-13 09:23:19 <sipa> sirk390: if a coinbase transaction is reorged, it is lost
544 2012-05-13 09:23:36 <sipa> contrary to another transaction which is at least attempted to move to the new chain
545 2012-05-13 09:24:21 <sipa> that means that if you'd spend a coinbase output, after 6 confirmations, and it would still get reorganised... the transactions depending on them are lost as well
546 2012-05-13 09:24:47 <sipa> for that reason there is a very conservative requirement of 120 confirmations
547 2012-05-13 09:27:13 BurtyBB has joined
548 2012-05-13 09:27:28 BurtyBB has quit (Client Quit)
549 2012-05-13 09:27:47 <sirk390> sipa: ok I see thanks
550 2012-05-13 09:30:49 BurtyB has quit (Ping timeout: 245 seconds)
551 2012-05-13 09:32:05 Diablo-D3 has quit (Ping timeout: 240 seconds)
552 2012-05-13 09:35:26 doublec_ is now known as doublec
553 2012-05-13 09:35:49 doublec has quit (Changing host)
554 2012-05-13 09:35:49 doublec has joined
555 2012-05-13 09:38:15 chrisb__ has joined
556 2012-05-13 09:42:34 Nicksasa has joined
557 2012-05-13 09:42:34 Nicksasa has quit (Changing host)
558 2012-05-13 09:42:34 Nicksasa has joined
559 2012-05-13 09:46:53 chrisb__ has quit (Remote host closed the connection)
560 2012-05-13 09:47:43 chrisb__ has joined
561 2012-05-13 09:47:55 cande has joined
562 2012-05-13 09:47:56 olp has quit (Quit: Leaving.)
563 2012-05-13 09:49:40 talpan has joined
564 2012-05-13 09:50:18 <gribble> New news from bitcoinrss: laanwj opened pull request 1284 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1284>
565 2012-05-13 09:51:12 cande has quit (Client Quit)
566 2012-05-13 09:58:43 SphericalCow has joined
567 2012-05-13 09:59:35 xenland has quit (Remote host closed the connection)
568 2012-05-13 10:01:07 localhost has quit (Remote host closed the connection)
569 2012-05-13 10:04:30 DamascusVG has quit (Ping timeout: 272 seconds)
570 2012-05-13 10:04:50 localhost has joined
571 2012-05-13 10:05:14 ashish has quit (Quit: Whenever we are together, it's always estatically palpitating!)
572 2012-05-13 10:06:41 abbe has joined
573 2012-05-13 10:13:19 paraipan_ has joined
574 2012-05-13 10:13:51 <Eliel> freewil: actually, the actual hard limit for a coinbase maturity is 100 blocks. However, there's an additional soft limit of 20 blocks on top of that.
575 2012-05-13 10:14:19 paraipan has quit (Ping timeout: 276 seconds)
576 2012-05-13 10:14:23 <freewil> what do you mean by soft limit
577 2012-05-13 10:14:59 <sipa> the protocol requires 100 confirmations
578 2012-05-13 10:15:05 <sipa> but the client enforces 120
579 2012-05-13 10:16:00 <Eliel> as in a block that spends a coinbase after 100 confirmations is accepted but the transaction doing the spend would not get relayed or included in blocks before 120.
580 2012-05-13 10:19:42 Nicksasa has quit (Ping timeout: 272 seconds)
581 2012-05-13 10:19:46 <jine> Crap, thanks for the reminder. I've forgotten to patch main.cpp when i upgrade to 0.6.2 a few days ago. (We're using blocks with 100 confirmations, not 120)
582 2012-05-13 10:20:48 <jine> Had to check when you mentioned it... :)
583 2012-05-13 10:22:23 Nicksasa has joined
584 2012-05-13 10:22:24 Nicksasa has quit (Changing host)
585 2012-05-13 10:22:24 Nicksasa has joined
586 2012-05-13 10:29:50 egecko has quit (Read error: Connection reset by peer)
587 2012-05-13 10:30:35 egecko has joined
588 2012-05-13 10:34:29 davout has quit (Remote host closed the connection)
589 2012-05-13 10:42:27 <gribble> New news from bitcoinrss: sipa opened pull request 1285 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1285>
590 2012-05-13 10:42:58 <sipa> but the client enforces 120
591 2012-05-13 10:48:30 DamascusVG has joined
592 2012-05-13 10:48:30 DamascusVG has quit (Changing host)
593 2012-05-13 10:48:30 DamascusVG has joined
594 2012-05-13 10:51:31 toffoo has quit ()
595 2012-05-13 11:07:31 sirk390 has quit (Quit: Leaving.)
596 2012-05-13 11:09:07 da2ce7 has joined
597 2012-05-13 11:11:59 DamascusVG has quit (Ping timeout: 244 seconds)
598 2012-05-13 11:16:31 DamascusVG has joined
599 2012-05-13 11:33:29 d4de has joined
600 2012-05-13 11:33:29 d4de has quit (Changing host)
601 2012-05-13 11:33:29 d4de has joined
602 2012-05-13 11:34:26 DamascusVG has quit (Ping timeout: 272 seconds)
603 2012-05-13 11:35:07 datagutt has joined
604 2012-05-13 11:40:34 DamascusVG has joined
605 2012-05-13 11:40:49 DamascusVG has quit (Changing host)
606 2012-05-13 11:40:49 DamascusVG has joined
607 2012-05-13 11:42:26 Joric has joined
608 2012-05-13 11:45:41 erle- has quit (Quit: erle-)
609 2012-05-13 11:47:40 tower has quit (Ping timeout: 250 seconds)
610 2012-05-13 11:49:16 sirk390 has joined
611 2012-05-13 11:53:07 tower has joined
612 2012-05-13 11:53:19 ThomasV has quit (Ping timeout: 245 seconds)
613 2012-05-13 11:59:20 ThomasV has joined
614 2012-05-13 12:11:10 d4de has quit (Ping timeout: 272 seconds)
615 2012-05-13 12:16:14 DamascusVG has quit (Ping timeout: 272 seconds)
616 2012-05-13 12:29:29 copumpkin has joined
617 2012-05-13 12:31:21 ThomasV has quit (Ping timeout: 245 seconds)
618 2012-05-13 12:33:08 DamascusVG has joined
619 2012-05-13 12:33:58 b4epoche_ has quit (Ping timeout: 272 seconds)
620 2012-05-13 12:35:45 b4epoche_ has joined
621 2012-05-13 12:35:59 <gribble> New news from bitcoinrss: sipa opened pull request 1286 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1286>
622 2012-05-13 12:36:37 ThomasV has joined
623 2012-05-13 12:41:24 t7 has joined
624 2012-05-13 12:52:05 ThomasV has quit (Ping timeout: 260 seconds)
625 2012-05-13 12:55:10 RainbowDashh has quit (Quit: RainbowDashh)
626 2012-05-13 12:57:41 mmoya has joined
627 2012-05-13 13:00:56 DamascusVG has quit (Ping timeout: 245 seconds)
628 2012-05-13 13:04:17 DamascusVG has joined
629 2012-05-13 13:04:18 DamascusVG has quit (Changing host)
630 2012-05-13 13:04:18 DamascusVG has joined
631 2012-05-13 13:06:22 Internet13 has quit (Quit: Leaving)
632 2012-05-13 13:12:33 <gribble> New news from bitcoinrss: sipa opened pull request 1287 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1287>
633 2012-05-13 13:15:40 erle- has joined
634 2012-05-13 13:16:25 Internet13 has joined
635 2012-05-13 13:21:15 DamascusVG has quit (Ping timeout: 260 seconds)
636 2012-05-13 13:24:43 DamascusVG has joined
637 2012-05-13 13:32:29 Bigpiggy01Mining has quit (Changing host)
638 2012-05-13 13:32:29 Bigpiggy01Mining has joined
639 2012-05-13 13:35:54 Xeranos has joined
640 2012-05-13 13:35:59 p0s has joined
641 2012-05-13 13:39:28 talpan has quit (Remote host closed the connection)
642 2012-05-13 13:42:19 paraipan_ has quit (Ping timeout: 276 seconds)
643 2012-05-13 13:43:05 paraipan_ has joined
644 2012-05-13 13:45:58 RainbowDashh has joined
645 2012-05-13 13:48:07 <gribble> New news from bitcoinrss: Diapolo opened pull request 1288 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1288>
646 2012-05-13 13:58:26 DamascusVG has quit (Ping timeout: 245 seconds)
647 2012-05-13 14:06:31 one_zero has quit ()
648 2012-05-13 14:13:47 <gribble> New news from bitcoinrss: Diapolo opened pull request 1289 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1289>
649 2012-05-13 14:16:58 d4de has joined
650 2012-05-13 14:16:59 d4de has quit (Changing host)
651 2012-05-13 14:16:59 d4de has joined
652 2012-05-13 14:19:26 DamascusVG has joined
653 2012-05-13 14:23:07 erle- has quit (Quit: erle-)
654 2012-05-13 14:23:20 erle- has joined
655 2012-05-13 14:29:54 <kinlo> is there a way to go to a public address from a private address using the official client? Or to find the public address of an address in your wallet?
656 2012-05-13 14:31:50 DamascusVG has quit (Ping timeout: 244 seconds)
657 2012-05-13 14:34:00 b4epoche has quit (Quit: Textual IRC Client: http://www.textualapp.com/)
658 2012-05-13 14:34:00 b4epoche_ is now known as b4epoche
659 2012-05-13 14:35:59 DamascusVG has joined
660 2012-05-13 14:36:48 <freewil> kinlo,
661 2012-05-13 14:37:02 <freewil> there is the rpc call dumpprivkey <bitcoinaddress>
662 2012-05-13 14:37:10 <gmaxwell> kinlo: Not that I can think of, and "public key" not "public address".
663 2012-05-13 14:37:42 <freewil> i guess what i said is opposite of what you want to do
664 2012-05-13 14:37:58 <kinlo> gmaxwell: right, sorry for the misuse of words, but indeed, I can't find it either so I assumed I was overlooking something
665 2012-05-13 14:38:52 <gmaxwell> kinlo: I can't think of any reason we'd have that.
666 2012-05-13 14:38:55 <sipa> kinlo: validateaddress will tell you the public key of an address, if known
667 2012-05-13 14:39:15 <gmaxwell> Ha.
668 2012-05-13 14:39:50 <kinlo> gmaxwell: I'm trying to use addmultisigaddress but how can I do that when I don't want both keys that are to be seperated are required to be in the same wallet
669 2012-05-13 14:40:09 <kinlo> gmaxwell: but I read in the source addmultisigaddress also seems to accept public keys
670 2012-05-13 14:41:09 <sipa> yes, use validateaddress to find all public keys, gather them, and turn them into a multisigaddress
671 2012-05-13 14:41:34 <kinlo> sipa: just a bit stupid that that functionality is hidden
672 2012-05-13 14:41:48 <kinlo> a quick how-to for the multisig addresses might be in place
673 2012-05-13 14:42:55 <sipa> meh; they're not very useful right now anyway, as spending them requires having all keys in the same wallet
674 2012-05-13 14:44:56 <kinlo> oh
675 2012-05-13 14:45:07 <kinlo> that was definatly going to be one of the followup questions :p
676 2012-05-13 14:46:02 <luke-jr> sipa: boost::mutex instead of boost::interprocess::*
677 2012-05-13 14:46:13 <gmaxwell> Well not 'all' you have to satisify the rulesâ you can spend a 1 of 2 for example.
678 2012-05-13 14:46:43 <kinlo> well
679 2012-05-13 14:46:44 <luke-jr> sirk390: it'd be possible to treat coinbase spends as coinbases, but enforcing confirmations is simpler
680 2012-05-13 14:47:04 <kinlo> the whole idea is that you can have several keys working together *not* being in the same wallet
681 2012-05-13 14:47:16 <kinlo> so for now securing a high-value wallet is not yet an option? :)
682 2012-05-13 14:48:09 <luke-jr> sipa: boost::interprocess::* are I presume fork-safe
683 2012-05-13 14:48:16 <luke-jr> sipa: but we shouldn't need that
684 2012-05-13 14:48:29 DamascusVG has quit (Ping timeout: 244 seconds)
685 2012-05-13 14:50:05 DamascusVG has joined
686 2012-05-13 14:50:24 <sipa> luke-jr: i think boost::mutex is just oldr
687 2012-05-13 14:51:02 <luke-jr> sipa: well, boost::interprocess::* apparently is incompatible with boost::condition_variable :p
688 2012-05-13 14:52:06 <sipa> you may be right
689 2012-05-13 14:53:13 <gmaxwell> kinlo: No, it's not. And it wouldn't be if we had the rest of the functionality simply because BIP16 deployment isn't ~100% yet.
690 2012-05-13 14:54:02 sirk390 has quit (Quit: Leaving.)
691 2012-05-13 14:54:17 <luke-jr> " Boost.Threads implements these synchronization utilities between threads inside the same process. Boost.Interprocess implements similar mechanisms to synchronize threads from different processes."
692 2012-05-13 14:54:21 <luke-jr> http://www.boost.org/doc/libs/1_47_0/doc/html/interprocess/synchronization_mechanisms.html
693 2012-05-13 14:55:02 <sipa> luke-jr: i suppose in practice, many of them are simply implemented by pthreads
694 2012-05-13 14:55:16 <sipa> but it's a good point: why are we using interprocess syncing in that case?
695 2012-05-13 14:55:26 <luke-jr> "In boost 1.39.0, there is only specific support for pthreads. On all other platforms, it becomes a busy-loop with a yield call in the middle (essentially the same system that you describe)."
696 2012-05-13 14:55:46 <luke-jr> "What this means is that a contended boost::interprocess::mutex on windows is VERY expensive - although the uncontended case is almost free."
697 2012-05-13 14:56:27 <sipa> interesting
698 2012-05-13 14:56:38 <luke-jr> boost::threads has actual win32 implementation
699 2012-05-13 14:56:50 <luke-jr> this might address that other bug you guys were fighting
700 2012-05-13 14:57:01 <sipa> although that bug was only on BSD/OSX
701 2012-05-13 14:57:52 * luke-jr motion to use boost::threads for everything but BitcoinURI IPC :p
702 2012-05-13 14:58:07 * sipa notices that boost::threads has no semaphore :S
703 2012-05-13 14:58:15 <sipa> but it does have a condition variable...
704 2012-05-13 14:58:53 <luke-jr> I use the conditional variable to implement BIP 22 longpolling
705 2012-05-13 14:59:25 <sipa> although it's trivial to implement a semaphore using condition variables
706 2012-05-13 15:00:01 <sipa> (but the win32 boost::threads implementation uses low-level semaphores to implement condition variables)
707 2012-05-13 15:00:07 <luke-jr> XD
708 2012-05-13 15:00:49 <luke-jr> http://boost.cppll.jp/BDTJ_1_29/libs/thread/doc/faq.html#question10
709 2012-05-13 15:03:19 <sipa> so: i want better than only mutexes; i use interprocess's condition variables; this spinlocks on OSX; it rewrite everything using semaphores; this spinlocks on OSX; i write a polling implementation of semaphores for OSX
710 2012-05-13 15:03:42 <sipa> and now it seems like there's a chance we could have just used boost::threads::condition_variable all along
711 2012-05-13 15:03:55 <sipa> (though the code in general has improved by the rewrites)
712 2012-05-13 15:04:59 <luke-jr> XD
713 2012-05-13 15:05:13 <luke-jr> sorry, I haven't been paying attention to the whole OSX debacle
714 2012-05-13 15:05:52 <sipa> seems like i should write a CSemaphore that uses boost::threads::condition_variable, and try that on OSX
715 2012-05-13 15:08:20 darkee has joined
716 2012-05-13 15:11:22 darkee has quit (Ping timeout: 276 seconds)
717 2012-05-13 15:21:13 abbe has quit (Quit: Whenever we are together, it's always estatically palpitating!)
718 2012-05-13 15:23:04 Internet13 has quit (Ping timeout: 272 seconds)
719 2012-05-13 15:30:52 BTC_Bear is now known as hbrntng!~BTC_Bear@unaffiliated/btc-bear/x-5233302|BTC_Bear
720 2012-05-13 15:32:20 TD has joined
721 2012-05-13 15:32:24 DamascusVG has quit (Ping timeout: 244 seconds)
722 2012-05-13 15:33:01 DamascusVG has joined
723 2012-05-13 15:44:41 darkee is now known as !~darkee@gateway/tor-sasl/darkee|darkee
724 2012-05-13 15:48:49 <jgarzik> sipa: as a code comment indicates, BDB can do cross-file transactions
725 2012-05-13 15:48:56 DamascusVG has quit (Ping timeout: 244 seconds)
726 2012-05-13 15:49:08 <jgarzik> sipa: precisely so that people don't do stupid stuff like Satoshi did, and glom everything into a single key/value db
727 2012-05-13 15:49:16 <sipa> jgarzik: i know it can; but you'll need to implement it :)
728 2012-05-13 15:49:26 <jgarzik> sipa: yes
729 2012-05-13 15:49:34 <jgarzik> sipa: hence the code comment :)
730 2012-05-13 15:50:45 <sipa> still, i think it's ugly to split that data into two files: together they define a consistent view on the current blockchain state
731 2012-05-13 15:51:43 TD has quit (Quit: TD)
732 2012-05-13 15:53:05 <gmaxwell> bleh, the Mac OS X link on the site doesn't go to bitcoin-0.6.2.2 as the macros are all setup to make all the versions the same. Should I do a one off change to the macros with the risk that we'll forget to change it back with the next version?
733 2012-05-13 15:53:26 <gmaxwell> sipa: then the blockchain split from the index is ugly too.
734 2012-05-13 15:53:57 <gmaxwell> sipa: what if we had a $DATADIR/blockchain/ which had the db enviroment for all blockchain stuff as well as the chain files?
735 2012-05-13 15:54:26 DamascusVG has joined
736 2012-05-13 15:54:54 <sipa> gmaxwell: good point
737 2012-05-13 15:56:45 <sipa> combine that with moving to ipaddr.dat, and moving away from bdb wallets :)
738 2012-05-13 15:57:38 rdponticelli has joined
739 2012-05-13 15:58:15 <luke-jr> gmaxwell: make it so we can't forget to change it back :p
740 2012-05-13 15:58:16 <sipa> anyone with the ability to compile on OSX or BSD?
741 2012-05-13 15:59:20 <kinlo> compile bitcoin?
742 2012-05-13 15:59:31 * Eliel wonders why not just make each platform link just show the highest version number for the platform.
743 2012-05-13 15:59:43 <sipa> kinlo: you know, running a compiler and stuffz
744 2012-05-13 16:00:03 <kinlo> sipa: I have a compiler, I have osx, I just haven't yet successfully compiled it yet
745 2012-05-13 16:00:12 <sipa> never mind then
746 2012-05-13 16:00:52 BTC_Bear is now known as BTC_Bear|hbrntng
747 2012-05-13 16:02:06 <gmaxwell> Do we have a release procedure page someplace? (e.g. something that reminds us to nag bluematt to update the ppa and such?)
748 2012-05-13 16:02:30 <sipa> https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.txt ?
749 2012-05-13 16:02:41 <kinlo> sipa: I'll try that release process file btw
750 2012-05-13 16:02:46 <kinlo> perhaps it will just work ;)
751 2012-05-13 16:03:07 <kinlo> I never tried before
752 2012-05-13 16:04:43 n0n00dz4u has joined
753 2012-05-13 16:05:18 <n0n00dz4u> congrats to diablod3 for the release of DMC
754 2012-05-13 16:05:23 banshee12 has joined
755 2012-05-13 16:05:31 <n0n00dz4u> promotional vlog to be released today on youtube
756 2012-05-13 16:05:35 <n0n00dz4u> links in 5
757 2012-05-13 16:05:37 <n0n00dz4u> and uh
758 2012-05-13 16:05:41 <n0n00dz4u> fuck bitcointalk.org
759 2012-05-13 16:06:09 <jgarzik> sipa: I don't care about the files. We can put whatever in whatever file you like
760 2012-05-13 16:06:42 <jgarzik> sipa: the important goal is having a single key/value database for block index entries (key=hash, value=data) and a single key/value database for transactions (key=hash, value=data)
761 2012-05-13 16:06:54 <jgarzik> sipa: andmaking those DB_HASH
762 2012-05-13 16:07:12 <jgarzik> sipa: (speaking of, I wonder if BDB doesn't like mixing DB_BTREE and DB_HASH in same file)
763 2012-05-13 16:08:03 <jgarzik> for bitcoin's two HUGE key/value lookups, we don't need the current crap (heavyweight keys, mixed namespace)
764 2012-05-13 16:08:22 <jgarzik> everything else (picking which files stores the data) is incidental
765 2012-05-13 16:09:17 <gmaxwell> jgarzik: watch out for https://bugzilla.redhat.com/show_bug.cgi?id=523698
766 2012-05-13 16:09:58 setkeh is now known as SETKEHS-CAT
767 2012-05-13 16:10:08 <sipa> jgarzik: i have no problem with separating the databases, putting them in separate files under blockchain/, or using DB_HASH
768 2012-05-13 16:10:16 <gmaxwell> oh nevermind they're just getting caught by the regular backward but not forward incompatiblity.
769 2012-05-13 16:10:35 <gmaxwell> (I thought they were saying that DB_HASH didn't have backward compatiblity either)
770 2012-05-13 16:10:36 <sipa> jgarzik: splitting the file may have cache-related performance improvements
771 2012-05-13 16:14:52 asuk has joined
772 2012-05-13 16:16:05 <kinlo> sipa: I'm usink fink instead of macports, seems to be a daunting task to get bitcoin compiled now
773 2012-05-13 16:16:29 <sipa> kinlo: unless you're interested in being able to do so yourself, i wouldn't botger
774 2012-05-13 16:16:56 <kinlo> sipa: macosx is just an os I use to ssh to real os'es in, so not really :p
775 2012-05-13 16:17:19 <kinlo> besides, I'm doing my exercises
776 2012-05-13 16:17:25 <kinlo> should concentrate
777 2012-05-13 16:17:29 <kinlo> and you should do the same :p
778 2012-05-13 16:21:55 dvide has quit ()
779 2012-05-13 16:23:56 <Graet> n0n00dz4u, whats your problem, spamming me in pm is really ...um pointless
780 2012-05-13 16:25:21 <Graet> [00:22:26] <n0n00dz4u> FUCK BITCOINTALK.ORG YOU DUMB CRACKER
781 2012-05-13 16:25:30 <Graet> feel free to ban the jkerk anyone with ops
782 2012-05-13 16:26:11 <Graet> he's got it on 1sec repeat
783 2012-05-13 16:27:06 shurnormal has joined
784 2012-05-13 16:27:59 <Graet> oh well ignored it
785 2012-05-13 16:28:44 npouillard has joined
786 2012-05-13 16:31:02 <n0n00dz4u> anyway
787 2012-05-13 16:31:12 <n0n00dz4u> suddenly got quiet in here
788 2012-05-13 16:31:16 <n0n00dz4u> let me go check bitcointalk to see what the latest update to the bitcoinica incident is
789 2012-05-13 16:31:20 <n0n00dz4u> all of you suck at computers
790 2012-05-13 16:31:22 <n0n00dz4u> just saying
791 2012-05-13 16:32:13 latsarazzi is now known as kish
792 2012-05-13 16:33:35 <Someguy123> going to go mad, anyone able to help me with this? http://img1.uploadscreenshot.com/images/orig/5/13303193247-orig.png
793 2012-05-13 16:33:40 <Someguy123> I did a -rescan already, didn't fix it
794 2012-05-13 16:33:51 <Someguy123> I've had this TX for over an hour, and it's refusing to broadcast to any nodes
795 2012-05-13 16:34:22 <sipa> what is that?
796 2012-05-13 16:35:14 <Someguy123> sipa, it's my webUI for bitcoin,
797 2012-05-13 16:35:19 <Someguy123> but the point is, I have a TX that's stuck
798 2012-05-13 16:35:23 <Someguy123> refusing to broadcast to any nodes
799 2012-05-13 16:35:34 <Someguy123> and a -rescan didn't fix it
800 2012-05-13 16:35:56 <sipa> rescanning won't help
801 2012-05-13 16:36:44 <sipa> nornmally, it should always rebroadcast every 15-30 minutes
802 2012-05-13 16:36:54 <sipa> until it is confirmed
803 2012-05-13 16:38:02 <n0n00dz4u> I don't what you're talking about
804 2012-05-13 16:38:04 <n0n00dz4u> I'm here to develop my business
805 2012-05-13 16:38:06 <n0n00dz4u> I don't even know who you are
806 2012-05-13 16:38:08 <n0n00dz4u> um
807 2012-05-13 16:38:10 <n0n00dz4u> not me.
808 2012-05-13 16:38:11 <luke-jr> Someguy123: why do you assume it isn't broadcast?
809 2012-05-13 16:38:12 <n0n00dz4u> yeah about that
810 2012-05-13 16:38:15 <gmaxwell> Someguy123: I'm assuming you modified your client to remove the fee rules? Sucks to be you.
811 2012-05-13 16:38:17 <n0n00dz4u> I haven't done anything wrong
812 2012-05-13 16:38:20 <n0n00dz4u> lmfao
813 2012-05-13 16:38:23 <Someguy123> gmaxwell, no, it was a 0.005 fee
814 2012-05-13 16:38:23 <Someguy123> =_=
815 2012-05-13 16:38:37 sipa has quit (Changing host)
816 2012-05-13 16:38:37 sipa has joined
817 2012-05-13 16:39:05 <Someguy123> gmaxwell, 1024
818 2012-05-13 16:39:06 <Someguy123> oops
819 2012-05-13 16:39:10 <Someguy123> http://img1.uploadscreenshot.com/images/orig/5/13302452747-orig.png
820 2012-05-13 16:39:13 <gmaxwell> Someguy123: then it will automatically rebroadcast.
821 2012-05-13 16:39:34 <sipa> and it already did broadcast
822 2012-05-13 16:39:38 <sipa> (to 12 nodes, even)
823 2012-05-13 16:39:50 <Someguy123> sipa, that was invalid it seems
824 2012-05-13 16:39:56 <Someguy123> after a -rescan it stuck at 0 unconfirmewd
825 2012-05-13 16:40:00 <Someguy123> and refused to broadcast anymore
826 2012-05-13 16:40:04 <sipa> rescan has nothing to do with this
827 2012-05-13 16:40:07 <sipa> stop using it
828 2012-05-13 16:40:13 <Someguy123> I used it once =_=
829 2012-05-13 16:40:17 <sipa> it won't matter
830 2012-05-13 16:40:29 <sipa> all it does is find missing wallet transactions
831 2012-05-13 16:40:47 <sipa> transactions that *are* in the block chain, but not in your wallet
832 2012-05-13 16:41:24 <sipa> why do you think it's invalid? if it was invalid back then, it still is
833 2012-05-13 16:42:41 <Someguy123> but still, sipa, what am I supposed to do now?
834 2012-05-13 16:42:49 n0n00dz4u has quit (Read error: Connection reset by peer)
835 2012-05-13 16:42:49 <gmaxwell> Someguy123: just wait.
836 2012-05-13 16:42:56 <Someguy123> gmaxwell, it's been 3 hours
837 2012-05-13 16:43:00 <Someguy123> it still hasn't been sent.
838 2012-05-13 16:43:11 <Someguy123> doesn't show up in any blockexplorer or any other bitcoind
839 2012-05-13 16:43:11 <gmaxwell> Someguy123: why do you keep saying it hasn't been sent?
840 2012-05-13 16:43:18 <gmaxwell> it hasn't been mined yet.
841 2012-05-13 16:43:24 <luke-jr> gmaxwell: blockchain.info doesn't see it either: 942f208d93caca3af9643e2d6a854792ddd38bf0e55bff87b257756e2b92cf36
842 2012-05-13 16:43:35 <Someguy123> luke-jr, yeah I noticed that
843 2012-05-13 16:43:46 <sipa> any chance the tx is a double spend?
844 2012-05-13 16:44:00 <Someguy123> sipa, no idea
845 2012-05-13 16:44:03 <Someguy123> shouldn't be...
846 2012-05-13 16:44:03 <gmaxwell> No mention of it in my logs either. Not even as a reject.
847 2012-05-13 16:44:11 <gmaxwell> Someguy123: are you running multiple bitcoinds with the same wallet?
848 2012-05-13 16:44:18 <Someguy123> gmaxwell, sort-of
849 2012-05-13 16:44:24 <Someguy123> I have some of my keys on blockchain.info
850 2012-05-13 16:44:28 <gmaxwell> ...
851 2012-05-13 16:44:29 <Someguy123> but that shouldn't matter
852 2012-05-13 16:44:37 <sipa> wallets are not meant to be shared
853 2012-05-13 16:44:44 <Someguy123> whenever I recieve or send from blockchain.info, it always ends in my main bitcoin
854 2012-05-13 16:45:08 <sipa> if one node tries to spend, and the other didn't hear about it yet, it may try to spend the came coin
855 2012-05-13 16:45:19 <gmaxwell> run the gettransaction 942f208d93caca3af9643e2d6a854792ddd38bf0e55bff87b257756e2b92cf36 rpc on that node and tell us the output.
856 2012-05-13 16:46:29 <Someguy123> gmaxwell, http://pasteitt.aa.am/showpaste.php?id=21&key=j8OFHpG
857 2012-05-13 16:47:51 <gmaxwell> oh darn, you're not running git.
858 2012-05-13 16:48:15 <Someguy123> yeah, current windows build...
859 2012-05-13 16:48:25 weather has joined
860 2012-05-13 16:48:34 <luke-jr> Someguy123: getmemorypool
861 2012-05-13 16:48:43 <gmaxwell> (the git version of bitcoin decodes the transaction so we can see what input its spending)
862 2012-05-13 16:48:58 b4epoche has quit (Ping timeout: 265 seconds)
863 2012-05-13 16:49:13 t7 has quit (Ping timeout: 272 seconds)
864 2012-05-13 16:49:13 n0n00dz4u has joined
865 2012-05-13 16:49:20 <luke-jr> gmaxwell: Eloipool's modules are useful for decoding binary txn data :D
866 2012-05-13 16:49:34 <luke-jr> Someguy123: pastebin getmemorypool :P
867 2012-05-13 16:49:41 <luke-jr> I gotta run, but that will probably include it
868 2012-05-13 16:49:43 <Someguy123> luke-jr, http://pasteitt.aa.am/showpaste.php?id=22&key=HXMZeei
869 2012-05-13 16:49:44 <luke-jr> â¦maybe
870 2012-05-13 16:49:46 Raignemy has joined
871 2012-05-13 16:50:02 <luke-jr> hmm, no easy way to tell which one it is
872 2012-05-13 16:50:22 <luke-jr> will analyze when I get back if still a problem
873 2012-05-13 16:50:26 <gmaxwell> luke-jr: actually, it won't include it if its a double spend.
874 2012-05-13 16:50:39 <luke-jr> gmaxwell: well, can at least confirm whether it is or not
875 2012-05-13 16:50:41 <n0n00dz4u> had to restart for updates
876 2012-05-13 16:50:52 <Raignemy> Helllo! Did I understand right, that addr.dat file content everithing that i need to backup about addresses? (my adresses and their keys, my "phone book"?)
877 2012-05-13 16:51:02 <gmaxwell> NO.
878 2012-05-13 16:51:05 <Someguy123> no.
879 2012-05-13 16:51:06 <Someguy123> completely wrong
880 2012-05-13 16:51:07 b4epoche has joined
881 2012-05-13 16:51:19 <Someguy123> you want to backup the wallet.dat (while bitcoin is NOT running if possible)
882 2012-05-13 16:51:29 <Someguy123> addr.dat is not needed and will be regenerated automatically
883 2012-05-13 16:51:35 <gmaxwell> Raignemy: addr.dat records the p2p peers. What you want is in wallet.dat.
884 2012-05-13 16:51:53 <gmaxwell> Someguy123: we have a backup function in the client, file->backup ... you don't need to shut down to use that.
885 2012-05-13 16:52:02 <Someguy123> yeah, but I'm just checking
886 2012-05-13 16:52:06 Zarutian has joined
887 2012-05-13 16:52:07 <Raignemy> My private keys also stored in wallet.dat? so, i will able to receive funds on same addresses?
888 2012-05-13 16:52:15 weather is now known as BeTep
889 2012-05-13 16:52:44 <luke-jr> Raignemy: private keys are ONLY stored in wallet.dat
890 2012-05-13 16:52:48 <gmaxwell> Raignemy: your wallet.dat contains all the irreplacable data that distinguishes your bitcoin install from everyone elses... address book, private keys, your transactions and lables.. etc.
891 2012-05-13 16:52:57 <luke-jr> Raignemy: and wallet.dat CANNOT be safely shared between different computers
892 2012-05-13 16:53:13 <Raignemy> luke-jr: gmaxwell: oh, thanks, I get it
893 2012-05-13 16:53:20 <Raignemy> so simple
894 2012-05-13 16:53:24 <luke-jr> guard wallet.dat with your life :P
895 2012-05-13 16:53:46 <luke-jr> Raignemy: anyhow, who told you or where did you read that addr.dat was of any importance?
896 2012-05-13 16:53:56 <Raignemy> and if I will loose all other files, I will able to get everithing back with wallet.dat?
897 2012-05-13 16:54:08 <luke-jr> right
898 2012-05-13 16:54:13 <luke-jr> assuming bitcoin wasn't running
899 2012-05-13 16:54:20 <luke-jr> if bitcoin is running, database/ dir is important
900 2012-05-13 16:54:34 <luke-jr> bbl
901 2012-05-13 16:54:41 <kinlo> yeah, to backup wallet.dat you need to use the backupwallet command, or first shut it down, then copy the file
902 2012-05-13 16:54:51 <Raignemy> okay, thanks =)
903 2012-05-13 17:00:10 <Someguy123> so gmaxwell any ideas on what I should do yet?
904 2012-05-13 17:00:13 <Someguy123> I've just left it for now
905 2012-05-13 17:03:48 <Raignemy> btw, I want to complain about mtgox. In their private API they banned all request methods exept POST. And I spent few days to figure that out.
906 2012-05-13 17:04:16 <kinlo> complain on their own channel, #mtgox
907 2012-05-13 17:04:29 Internet13 has joined
908 2012-05-13 17:04:34 <Raignemy> already =)
909 2012-05-13 17:05:31 sirk390 has joined
910 2012-05-13 17:09:05 t7 has joined
911 2012-05-13 17:21:09 <sipa> twmz: care to try building another solution for the 100% cpu issue?
912 2012-05-13 17:22:02 BurtyB has joined
913 2012-05-13 17:22:15 <twmz> sure
914 2012-05-13 17:23:44 <sipa> twmz: https://github.com/sipa/bitcoin/tree/threadsync
915 2012-05-13 17:23:46 sirk390 has quit (Quit: Leaving.)
916 2012-05-13 17:27:35 <twmz> building...
917 2012-05-13 17:30:31 BTC_Bear is now known as hbrntng!~BTC_Bear@unaffiliated/btc-bear/x-5233302|BTC_Bear
918 2012-05-13 17:39:18 <twmz> bitcoin-qt crashes shortly after startup. trying bitcoind to see if it gives a better error. I don't know how to debug crashes on OS X.
919 2012-05-13 17:41:45 <twmz> hmm, bitcoind is not crashing. waiting for 8 connections to see if the 100% cpu problem is present or fixed
920 2012-05-13 17:44:53 <twmz> sipa: cpu is fine (~2%) with bitcoind after 8 connections and a few minutes. bitcoin-qt crashes. Going to rebuild and try again.
921 2012-05-13 17:45:06 Diablo-D3 has joined
922 2012-05-13 17:51:09 <twmz> getting the stacktrace from gdb now. In the mean time, this is the apple diagnostics report. not sure if there is anything useful in here. Not sure if this was your change or some other 0.7.0 change that causes it either. http://hastebin.com/xubekolufe.txt
923 2012-05-13 17:53:26 <sipa> twmz: i could backport the change to 0.6.2
924 2012-05-13 18:01:18 <twmz> I don't understand the crash. It appears to be in the thread handling RPC requests. I don't see any recent changes nor do I understand why it would be different between bitcoind and bitcoin-qt. It's possible that my QT build environment is just messed up and my bitcoind environment is not.
925 2012-05-13 18:01:24 sirk390 has joined
926 2012-05-13 18:02:15 <sipa> it's very reassuring that it works on bitcoind
927 2012-05-13 18:03:31 <twmz> it's been running for 10 minutes as bitcoind and no problems
928 2012-05-13 18:04:49 optichip has joined
929 2012-05-13 18:05:10 <twmz> I don't really ever use the GUI. I only was using it for the convenience of having a precompiled binary. I'll run with this bitcoind for a while and see if anything crops up over night, etc.
930 2012-05-13 18:05:11 optichip has quit (Client Quit)
931 2012-05-13 18:06:18 Hasbro has quit (Changing host)
932 2012-05-13 18:06:18 Hasbro has joined
933 2012-05-13 18:07:30 merde has quit (Ping timeout: 245 seconds)
934 2012-05-13 18:07:45 merde has joined
935 2012-05-13 18:15:16 D34TH has joined
936 2012-05-13 18:16:37 _flow_ has quit (Ping timeout: 272 seconds)
937 2012-05-13 18:17:39 BladeMcCool has joined
938 2012-05-13 18:20:01 sirk390 has quit (Quit: Leaving.)
939 2012-05-13 18:21:34 Joric has quit ()
940 2012-05-13 18:24:10 <BladeMcCool> i'd really love to beg for some help to install 0.6.2 on ubuntu 10.04LTS over top of an old 0.3 version. i have no idea why "apt-get install bitcoin" tells me i have the latest version. i don't know how to punch it in the face and make it upgrade to 0.6.2
941 2012-05-13 18:25:16 <gmaxwell> BladeMcCool: do you have the ppa setup?
942 2012-05-13 18:25:55 <sipa> BladeMcCool: try installing bitcoind or bitcoin-qt instead
943 2012-05-13 18:26:06 <sipa> i think they're separate packages now
944 2012-05-13 18:26:14 <BladeMcCool> i think i do. but maybe not correctly. i added some lines to sources.list that i found for lucid on https://launchpad.net/~bitcoin/+archive/bitcoin
945 2012-05-13 18:26:46 <BladeMcCool> i will try that sipa, ty for suggestion
946 2012-05-13 18:27:16 <gmaxwell> Maybe we should try contacting canonical and point out that they're distributing remotely exploitable finance software and that perhaps they should stop.
947 2012-05-13 18:28:12 <dusty_> Hi all, I need some help in a testnet issue. Again :-/
948 2012-05-13 18:28:50 BurtyB has quit (Ping timeout: 252 seconds)
949 2012-05-13 18:29:21 <dusty_> I'm trying to understand why block #46728 (http://blockexplorer.com/testnet/block/0000000019eb783f972474131e29c652a365c2a9a0ce619c1fcbe4843e8b618c) has difficulty bits 1c2336a4
950 2012-05-13 18:29:49 <splatster> gmaxwell: They can't/won't/don't care.
951 2012-05-13 18:29:55 <dusty_> I've carefully tried to interpret code in main.cpp : GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlock *pblock)
952 2012-05-13 18:30:31 <dusty_> and it seems to me that the answer should be 0x1d0fffff and not 0x1c2336a4
953 2012-05-13 18:30:42 <BladeMcCool> i have progress! (thanks!) .. now to get past error of "trying to overwrite '/usr/bin/bitcoind', which is also in package bitcoin 0:0.3.24-ppa2~lucid" .. i probably have to remove the old one first yes? whats the proper way to do that (assuming thats what i need to do) and not lose the blockchain?
954 2012-05-13 18:30:45 osmosis has joined
955 2012-05-13 18:30:51 BurtyB has joined
956 2012-05-13 18:30:53 <dusty_> please, can someone give me a hint?
957 2012-05-13 18:30:58 <sipa> BladeMcCool: apt-get purge bitcoin
958 2012-05-13 18:31:42 osmosis has quit (Client Quit)
959 2012-05-13 18:32:14 <sipa> dusty_: it's only 14 minutes after the previous block
960 2012-05-13 18:32:24 <sipa> dusty_: so it uses the normal difficulty rule
961 2012-05-13 18:34:59 osmosis has joined
962 2012-05-13 18:35:56 <BladeMcCool> sipa, gmaxwell: woot! thank you! ("version" : 60200, "blocks" : 180003)
963 2012-05-13 18:37:02 <sipa> ;;bc,blocks
964 2012-05-13 18:37:02 <gribble> 180003
965 2012-05-13 18:40:23 <dusty_> sipa: ouch... how have I missed that? thanks
966 2012-05-13 18:43:19 <n0n00dz4u> happy mothers day crackers
967 2012-05-13 18:43:55 <BladeMcCool> hey its deathbylollipop
968 2012-05-13 18:44:16 <BladeMcCool> happy mothers day to you too. i should call ma now. thanks for the reminder
969 2012-05-13 18:44:33 <gmaxwell> n0n00dz4u: Are you the same person who distributed a link to a malwared miner on the forum?
970 2012-05-13 18:45:05 <n0n00dz4u> gmaxwell if I cared about anything you had to say
971 2012-05-13 18:45:20 <n0n00dz4u> I would tell you I am a swastika carying member of a neo nazi organization
972 2012-05-13 18:45:39 <gmaxwell> BladeMcCool: thanks.
973 2012-05-13 18:45:40 <BladeMcCool> rofl
974 2012-05-13 18:45:45 <BladeMcCool> :D np
975 2012-05-13 18:46:11 <jgarzik> back
976 2012-05-13 18:46:13 Joric has joined
977 2012-05-13 18:46:37 <jgarzik> sipa: yes, splitting the file also permits careful tuning of page size (cluster size), which is constant within a single file (and thus, any databases within that file)
978 2012-05-13 18:47:07 <jgarzik> gmaxwell: noted. I had heard about that DB_HASH issue, but that URL is useful
979 2012-05-13 18:47:15 denisx has joined
980 2012-05-13 18:51:33 <osmosis> it would be nice if the send and receive addresses created locally showed a date, and a date column to sort by.
981 2012-05-13 18:55:27 <Someguy123> so gmaxwell any ideas on what I should do yet?
982 2012-05-13 18:56:03 <Someguy123> still hasn't budged from 0 confirms
983 2012-05-13 18:56:06 <Someguy123> and it's been 6 hours
984 2012-05-13 18:56:54 <gmaxwell> Someguy123: seems likely that you've managed to doublespend an input through the use of sharing private keys between multiple clients.
985 2012-05-13 18:57:12 <gmaxwell> Someguy123: the easiest way to recover is to restore a wallet backup from shortly before that transaction.
986 2012-05-13 18:57:24 <Someguy123> hmm
987 2012-05-13 18:57:55 <Someguy123> gah, last backup was 5 days ago
988 2012-05-13 18:58:25 <gmaxwell> well, if you haven't done more than 100 transactions / getnewaddresses in that time.. then that would be okay.
989 2012-05-13 18:58:33 <sipa> gmaxwell: or generated 100 blocks ;)
990 2012-05-13 18:58:57 <Someguy123> gmaxwell, yeah I've created a few new addresses I think in that time
991 2012-05-13 18:59:20 <gmaxwell> created a few is okay, so long is a few << 100.
992 2012-05-13 18:59:48 denisx has quit (Remote host closed the connection)
993 2012-05-13 18:59:59 denisx has joined
994 2012-05-13 19:00:03 <dusty_> sipa: I've a new one for you :) Block http://blockexplorer.com/testnet/block/00000000A29BEA9EE5B1716D7EBD6E33691D92C4C8BB518DB380D952840BFE54 have time before previous block, but difficulty resets to minimum
995 2012-05-13 19:00:14 <dusty_> any hint on why that behaviour?
996 2012-05-13 19:00:16 <sipa> dusty_: that's a bug :)
997 2012-05-13 19:00:20 <dusty_> ok :)
998 2012-05-13 19:00:21 <Someguy123> I backed up the screwedup wallet just to be sure anyway
999 2012-05-13 19:00:30 <sipa> dusty_: a known one, but fixing it would mean another testnet split
1000 2012-05-13 19:00:32 <dusty_> an overflow I suppose
1001 2012-05-13 19:00:35 <Someguy123> anyway... loading that old backup now
1002 2012-05-13 19:01:28 <dusty_> sipa: in your opinion should I put an exception on my code for that block or simply re-implement the same bug?
1003 2012-05-13 19:01:46 <dusty_> I suppose there will be some other blocks of this kind later in the chain
1004 2012-05-13 19:02:18 <dusty_> so it's better to "implement" the bug, until upstream fixes it
1005 2012-05-13 19:02:19 <Someguy123> okay, gmaxwell I ahve 0.48BTC in this wallet, is it safe to send it to my blockchain.info wallet this time?
1006 2012-05-13 19:02:42 <dusty_> sipa: do you know if there is a plan to fix it before next testnet reset?
1007 2012-05-13 19:02:47 <Someguy123> any way to prevent a doublespend before I do this?
1008 2012-05-13 19:03:05 <gmaxwell> Someguy123: don't send until you're fully synced and have no unconfirmed transaction in any overlapping wallet.
1009 2012-05-13 19:03:13 <Someguy123> fully synced and no unconfirmed here
1010 2012-05-13 19:03:21 <Someguy123> with full connections
1011 2012-05-13 19:03:32 <Someguy123> 8 connections and slowly growing
1012 2012-05-13 19:03:35 <gmaxwell> (no unconfirmed on the other wallet either)
1013 2012-05-13 19:03:44 <Someguy123> gmaxwell, other wallet has no unconfirmed
1014 2012-05-13 19:03:59 <gmaxwell> okay you should be safe to send it then.
1015 2012-05-13 19:04:02 <sipa> dusty_: is it worth it? testnet is quite broken anyway right now; a full reset will fix things, but that will be done simultaneously with fixing this bug
1016 2012-05-13 19:04:03 <Joric> it's usually capped to 8 connections
1017 2012-05-13 19:04:45 <sipa> Joric: 8 outgoing, yes
1018 2012-05-13 19:04:51 <dusty_> sipa: ok, thanks
1019 2012-05-13 19:05:20 <Someguy123> gmaxwell, https://blockchain.info/tx-index/5601121/1f0b294fbfa6217f8e88e135614ba1f66ac8fb5c362d7e2bb8ed6b8b143f698f
1020 2012-05-13 19:05:24 <Someguy123> it worked atleast :)
1021 2012-05-13 19:05:52 <Someguy123> okay great, 1.15 BTC on my blockchain wallet
1022 2012-05-13 19:05:57 <Someguy123> sounds right now :), thanks gmaxwell
1023 2012-05-13 19:06:05 <gmaxwell> Someguy123: no problem.
1024 2012-05-13 19:07:01 <dusty_> sipa: do you know if transactions and block with version != 1 are accepted in prodnet, right now?
1025 2012-05-13 19:07:15 <sipa> version numbers are ignored
1026 2012-05-13 19:07:28 <dusty_> sipa: in both testnet and prodnet?
1027 2012-05-13 19:09:28 <sipa> afaik, yes
1028 2012-05-13 19:12:52 <kinlo> you're going to tell me I can just inject a version 5 block in the chain and no client is going to complain?
1029 2012-05-13 19:13:02 <sipa> yes
1030 2012-05-13 19:13:18 <kinlo> doesn't sound something that is good to do
1031 2012-05-13 19:13:55 datagutt has quit (Quit: kthxbai)
1032 2012-05-13 19:13:58 <sipa> no
1033 2012-05-13 19:15:52 sirk390 has joined
1034 2012-05-13 19:16:14 denisx has quit (Read error: Connection timed out)
1035 2012-05-13 19:17:12 <dusty_> sipa: as always, thanks for being so helpful
1036 2012-05-13 19:17:36 <dusty_> my next stop will be the hell to understand BIP16 :D
1037 2012-05-13 19:18:02 <Eliel> dusty_: it's not so difficult :)
1038 2012-05-13 19:18:12 denisx has joined
1039 2012-05-13 19:18:28 <Eliel> at least, if you already understand the old-style transactions.
1040 2012-05-13 19:18:49 <dusty_> Eliel: I'm not really expert there
1041 2012-05-13 19:19:00 <dusty_> you mean the transactions to IP address?
1042 2012-05-13 19:19:03 <sipa> i haven't implemented BIP16 myself, and i'm sure the devil is in the details :)
1043 2012-05-13 19:19:14 <sipa> dusty_: no, regular pay-to-pubkey-hash transactions
1044 2012-05-13 19:19:34 <dusty_> sipa: the devil is always in the details :)
1045 2012-05-13 19:19:45 <t7> what happened with bitonica then?
1046 2012-05-13 19:20:01 <dusty_> sipa: which language are you implementing in ?
1047 2012-05-13 19:22:11 <dusty_> t7: https://bitcointalk.org/index.php?topic=81045.0;topicseen
1048 2012-05-13 19:22:26 <osmosis> It would be nice if I could right click to lock an address, so that my sends wouldnt come from that address.
1049 2012-05-13 19:22:28 dwon has joined
1050 2012-05-13 19:23:38 <t7> wow £500,000
1051 2012-05-13 19:28:04 <sipa> dusty_: i work on the bitcoin client, so C++, but gavin implemented BIP16
1052 2012-05-13 19:30:40 <gmaxwell> osmosis: what for?
1053 2012-05-13 19:31:26 <gmaxwell> osmosis: (I admit I've had times I would have used thatâ but I'm curious if you'd use it for the same stuff)
1054 2012-05-13 19:31:35 <osmosis> gmaxwell, to make sure money isnt spend from a particular account. In this case, I want all my funds from mining to stay in that address.
1055 2012-05-13 19:32:28 davout has joined
1056 2012-05-13 19:33:32 <gmaxwell> osmosis: Yes, but why?
1057 2012-05-13 19:34:12 RazielZ has quit (Ping timeout: 244 seconds)
1058 2012-05-13 19:34:19 <osmosis> because im neurotic?
1059 2012-05-13 19:38:17 <osmosis> For privacy reasons, Id like to hold onto my coins which came from more anonymous sources.
1060 2012-05-13 19:39:26 <osmosis> i suppose this could also be accomplished with some interface that allowed you to select which accounts to pull from when doing a send.
1061 2012-05-13 19:40:02 <osmosis> but that would be more complicated
1062 2012-05-13 19:40:33 <sipa> i think you're confusing address and account
1063 2012-05-13 19:41:57 RazielZ has joined
1064 2012-05-13 19:42:01 Guest49656 has quit (Remote host closed the connection)
1065 2012-05-13 19:42:09 D34TH has left ("Leaving")
1066 2012-05-13 19:43:29 ovidiusoft has quit (Quit: leaving)
1067 2012-05-13 19:43:30 Blitzboom has joined
1068 2012-05-13 19:43:38 Blitzboom has left ()
1069 2012-05-13 19:46:43 graingert has joined
1070 2012-05-13 19:50:46 <gmaxwell> osmosis: accounts are only bookkeeping there is no actual coins assigned to them.
1071 2012-05-13 19:51:21 <osmosis> yes, addresses
1072 2012-05-13 19:51:44 <osmosis> is that whole account thing going to be pulled out. Ive never heard of anyone actually using it.
1073 2012-05-13 19:52:15 t7 has quit (Ping timeout: 272 seconds)
1074 2012-05-13 19:56:11 olp has joined
1075 2012-05-13 19:58:11 t7 has joined
1076 2012-05-13 19:58:37 ahihi2 has quit (Remote host closed the connection)
1077 2012-05-13 19:59:31 BTC_Bear is now known as BTC_Bear|hbrntng
1078 2012-05-13 20:05:33 rdponticelli has quit (Ping timeout: 272 seconds)
1079 2012-05-13 20:12:07 brwyatt is now known as Away!~brwyatt@pool-96-226-236-130.dllstx.fios.verizon.net|brwyatt
1080 2012-05-13 20:14:04 <gribble> New news from bitcoinrss: Diapolo opened issue 1290 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/issues/1290>
1081 2012-05-13 20:14:32 Raignemy has left ()
1082 2012-05-13 20:16:28 ThomasV has joined
1083 2012-05-13 20:20:18 osmosis has quit (Quit: Leaving)
1084 2012-05-13 20:26:49 graingert has quit (Remote host closed the connection)
1085 2012-05-13 20:27:04 graingert has joined
1086 2012-05-13 20:33:07 Diapolo has joined
1087 2012-05-13 20:33:43 <Diapolo> hello all
1088 2012-05-13 20:37:27 <Diapolo> has anyone an IPv6 node running currently?
1089 2012-05-13 20:38:49 mac-mini has quit (Remote host closed the connection)
1090 2012-05-13 20:39:27 t7_ has joined
1091 2012-05-13 20:39:33 <sipa> Diapolo: not right now
1092 2012-05-13 20:40:01 <Diapolo> sipa: well it seems things are looking better now
1093 2012-05-13 20:40:55 mac-mini has joined
1094 2012-05-13 20:41:39 t7 has quit (Ping timeout: 272 seconds)
1095 2012-05-13 20:41:46 t7_ is now known as t7
1096 2012-05-13 20:44:27 <Diapolo> sipa: but I get 2x Warning:dereferencing pointer 'sockaddr' does break strict-aliasing rules [-Wstrict-aliasing] 1 in netbase.cpp line 340 and the other in net.cpp line 1699
1097 2012-05-13 20:45:12 <jgarzik> sipa gmaxwell: tempting to make block index a flat file. all we do is (a) load 100% of data into mapBlockIndex at startup, and (b) periodically write an index entry. never use erase.
1098 2012-05-13 20:45:29 <jgarzik> that model better fits an append log than a key/value db
1099 2012-05-13 20:45:42 <jgarzik> however... it does use a lot of RAM to keep all those block headers
1100 2012-05-13 20:46:22 <jgarzik> I lean towards keeping key/value index for hash->blockindex, but storing it only on disk, eliminating mapBlockIndex
1101 2012-05-13 20:46:41 <jgarzik> that way, older blocks do not waste RAM
1102 2012-05-13 20:47:22 <jgarzik> already have kernel and bdb cache backing us
1103 2012-05-13 20:47:37 riush has quit (Quit: leaving)
1104 2012-05-13 20:48:49 <jgarzik> eliminating mapBlockIndex would also eliminate a long startup procedure
1105 2012-05-13 20:51:35 <phantomcircuit> jgarzik, optimally the block index would be a mmap'd region
1106 2012-05-13 20:51:43 <phantomcircuit> but that turns into a horrible hack very quickly :)
1107 2012-05-13 20:54:09 <sipa> jgarzik: the block index is already loaded into memory entirely
1108 2012-05-13 20:54:50 <jgarzik> sipa: yes I know... that's what I was just talking about
1109 2012-05-13 20:55:13 <sipa> i've already considered dumping a serialized vector of CDiskBlockIndexes into bdb instead of 180000 key/values
1110 2012-05-13 20:55:30 <jgarzik> <jgarzik> "all we do is" ... "load 100% of data into mapBlockIndex at startup"
1111 2012-05-13 20:55:46 <jgarzik> <jgarzik> "tempting to make block index a flat file"
1112 2012-05-13 20:55:58 <jgarzik> however
1113 2012-05-13 20:56:18 <jgarzik> mapBlockIndex pointlessly wastes RAM, because most older blocks are never accessed
1114 2012-05-13 20:56:35 <jgarzik> we keep almost 200,000 block headers in RAM, and access 10% of that
1115 2012-05-13 20:57:04 <jgarzik> thus
1116 2012-05-13 20:57:26 <jgarzik> _deleting_ mapBlockIndex would reclaim that RAM
1117 2012-05-13 20:57:58 <sipa> you need to make sure its transactionality follows that of the CTxIndex bdb transactions
1118 2012-05-13 20:58:11 <sipa> which is trickier if you have a flat file
1119 2012-05-13 20:59:02 <sipa> (the block connection system relies on being able to abort)
1120 2012-05-13 20:59:07 <jgarzik> sipa: true, however, fundamentally it is (a) append only and (b) only appended when we add a block to another non-bdb file, blk%d.dat
1121 2012-05-13 20:59:30 <sipa> it's not append only
1122 2012-05-13 20:59:43 <jgarzik> sipa: yes, it is. we never erase, only add.
1123 2012-05-13 20:59:57 <sipa> reorganisations change prevBlockHash
1124 2012-05-13 21:00:09 <sipa> eh, hashNextBlock
1125 2012-05-13 21:01:30 <jgarzik> sipa: ah, good point
1126 2012-05-13 21:01:40 <jgarzik> it is updated
1127 2012-05-13 21:01:57 <sipa> it may be possible to do without, actually
1128 2012-05-13 21:01:58 <jgarzik> easy enough to make that append-only
1129 2012-05-13 21:02:15 <sipa> by only.storing back pointers in the index file
1130 2012-05-13 21:02:29 <sipa> and storing a bestblock pointer im bdb still
1131 2012-05-13 21:02:29 <Diapolo> sipa: accepted connection 50.97.128.202:36647 Added time data, samples 2, offset +5742120752267649946 (+95702012537794165 minutes) should this occur on IPv6?
1132 2012-05-13 21:02:36 <jgarzik> yeah
1133 2012-05-13 21:02:40 <sipa> Diapolo: no
1134 2012-05-13 21:02:56 <jgarzik> bbiab, gotta ride bicycle before rain comes
1135 2012-05-13 21:03:26 b4epoche has quit (Ping timeout: 245 seconds)
1136 2012-05-13 21:04:46 sirk390 has quit (Quit: Leaving.)
1137 2012-05-13 21:06:31 b4epoche has joined
1138 2012-05-13 21:06:56 shurnormal has quit (Quit: http://driedleaves.no-ip.org)
1139 2012-05-13 21:06:58 kish is now known as looksirdroids
1140 2012-05-13 21:07:44 <Diapolo> sipa: see http://pastebin.com/Fk3R3e3c
1141 2012-05-13 21:08:05 asuk has quit (Quit: asuk)
1142 2012-05-13 21:09:21 <sipa> Diapolo: looks like expected
1143 2012-05-13 21:09:34 <sipa> anything in particular i should notice?
1144 2012-05-13 21:11:01 riush has joined
1145 2012-05-13 21:11:01 riush has quit (Changing host)
1146 2012-05-13 21:11:01 riush has joined
1147 2012-05-13 21:12:13 <Diapolo> sipa: it should be IPv6 only, why are the connections listing IPv4 addresses?
1148 2012-05-13 21:12:48 <sipa> which version of the code is this?
1149 2012-05-13 21:12:51 <Diapolo> -blocknet="IPv4" -discover=0 and -externalip="6to4_addr"
1150 2012-05-13 21:12:56 <Diapolo> current master network-wise
1151 2012-05-13 21:13:05 ThomasV has quit (Ping timeout: 240 seconds)
1152 2012-05-13 21:15:00 <sipa> oh, just noticed; blocknet doesn't prevent listening by default on such networks
1153 2012-05-13 21:15:06 <sipa> i'll fix that
1154 2012-05-13 21:15:52 <sipa> use -blocknet=ipv4 -bind=youripv6
1155 2012-05-13 21:16:18 <Diapolo> with -externalip specified, too?
1156 2012-05-13 21:16:47 <sipa> if you have discover on, it will add bound addresses automatically as local
1157 2012-05-13 21:17:38 <Diapolo> I disabled discover to ensure no IPv4 add is used, but that's not needed with blocknet then?
1158 2012-05-13 21:18:04 <sipa> no, discover will not addlocal ipv4 addresses if ipv4 is blocked
1159 2012-05-13 21:19:54 <Diapolo> okay
1160 2012-05-13 21:19:57 <sipa> hmm, would a -onlynet= be more useful than a -blocknet= ?
1161 2012-05-13 21:20:33 osmosis has joined
1162 2012-05-13 21:21:11 <Diapolo> I use it to really be able to test IPv6 connectivity only, but perhaps that makes sense yes.
1163 2012-05-13 21:21:45 <sipa> (for now, the only usable networks in master are ipv4 and ipv6, but soon tor may be added as well)
1164 2012-05-13 21:22:24 twmz has quit (Quit: Leaving...)
1165 2012-05-13 21:22:38 <sipa> hmm, who was (free)bsd user here?
1166 2012-05-13 21:22:42 <denisx> me
1167 2012-05-13 21:23:08 <sipa> denisx: would you mind trying to compile my threadsync branch, and see if it exhibits 100% cpu after getting 8 connections?
1168 2012-05-13 21:23:22 <denisx> sipa: sure
1169 2012-05-13 21:23:37 twmz has joined
1170 2012-05-13 21:23:39 twmz__ has quit (Read error: Connection reset by peer)
1171 2012-05-13 21:23:57 <denisx> sipa: link?
1172 2012-05-13 21:24:06 <sipa> https://github.com/sipa/bitcoin/commits/threadsync
1173 2012-05-13 21:25:08 Turingi has quit (Quit: Leaving)
1174 2012-05-13 21:25:33 <denisx> sipa: is that another fix to the 100% than the MAC_OSX fix?
1175 2012-05-13 21:26:12 davout has quit (Remote host closed the connection)
1176 2012-05-13 21:26:19 <sipa> denisx: yes, you don't need to patch anything
1177 2012-05-13 21:28:00 <denisx> my testmachine has the port open, should I close it?
1178 2012-05-13 21:28:11 mac-mini has quit (Read error: Connection reset by peer)
1179 2012-05-13 21:30:20 <sipa> which port?
1180 2012-05-13 21:30:49 Joric_ has joined
1181 2012-05-13 21:30:50 Joric_ has quit (Changing host)
1182 2012-05-13 21:30:50 Joric_ has joined
1183 2012-05-13 21:31:30 talpan has joined
1184 2012-05-13 21:31:31 <denisx> sipa: the port where the connections come in for bittorrent
1185 2012-05-13 21:31:58 toffoo has joined
1186 2012-05-13 21:32:13 <denisx> whatever, right now it run with the port open
1187 2012-05-13 21:32:20 <denisx> we will see whap happens
1188 2012-05-13 21:32:28 <sipa> doesn't matter
1189 2012-05-13 21:32:31 <denisx> ok
1190 2012-05-13 21:32:36 Joric has quit (Ping timeout: 240 seconds)
1191 2012-05-13 21:32:52 <denisx> but I get more than 8 connections! ;)
1192 2012-05-13 21:33:57 <sipa> oh, run with -nolisten if you want to check that
1193 2012-05-13 21:35:41 <denisx> doesnt look good, right now it runs with 115%
1194 2012-05-13 21:35:48 <denisx> but it is still downloading some blocks
1195 2012-05-13 21:36:11 <denisx> ok, now it runs at 100%, all blocks loaded
1196 2012-05-13 21:36:22 <sipa> :(
1197 2012-05-13 21:36:41 <denisx> sipa: but your macosx did run fine for me on freebsd
1198 2012-05-13 21:36:54 <sipa> denisx: yes, that just avoided the issue using polling
1199 2012-05-13 21:36:57 <sipa> not a real/nice solution
1200 2012-05-13 21:37:29 <Diapolo> sipa: with blocknet IPv4 and discover=1 this is happening: GetMyExternalIP() received [88.XX.XX.XX] 88.XX.XX.XX:0 GetMyExternalIP() returned 88.XX.XX.XX AddLocal(88.XX.XX.XX:8333,5)
1201 2012-05-13 21:38:33 <sipa> Diapolo: how old is the code you're running (i fixed that today)
1202 2012-05-13 21:40:48 Nicksasa has quit (Quit: Ik ga weg)
1203 2012-05-13 21:40:57 Nicksasa has joined
1204 2012-05-13 21:40:57 Nicksasa has quit (Changing host)
1205 2012-05-13 21:40:57 Nicksasa has joined
1206 2012-05-13 21:41:10 <Diapolo> it should be up to date I did a clean full compilation round about 1-2 hours ago and have all commits in
1207 2012-05-13 21:41:24 <sipa> hmmm
1208 2012-05-13 21:41:38 <Diapolo> if I set discover=0 it does not do this
1209 2012-05-13 21:41:46 erle- has quit (Quit: erle-)
1210 2012-05-13 21:43:54 <Diapolo> sipa: to which commit are you referring to, I'll double check its in my build
1211 2012-05-13 21:45:48 <sipa> Diapolo: 1653f97c8f
1212 2012-05-13 21:45:56 <sipa> Do not consider blocked networks local
1213 2012-05-13 21:46:15 graingert has quit (Ping timeout: 272 seconds)
1214 2012-05-13 21:46:42 <sipa> Diapolo: doesn't work...
1215 2012-05-13 21:46:44 <sipa> indeed
1216 2012-05-13 21:47:31 <Diapolo> sipa: you made me feel like a newb :) I'm happy I was right with my observation :D
1217 2012-05-13 21:48:27 <Diapolo> I can confirm that commit is in my build.
1218 2012-05-13 21:49:14 <Diablo-D3> Diapolo!
1219 2012-05-13 21:49:19 <Diablo-D3> why have you not bought DMC shares!
1220 2012-05-13 21:49:27 <Diapolo> sipa: And I get 2x Warning:dereferencing pointer 'sockaddr' does break strict-aliasing rules [-Wstrict-aliasing]. 1 in netbase.cpp line 340 and the other in net.cpp line 1699
1221 2012-05-13 21:49:48 <Diapolo> DMC what shares? sorry I kinda seldom read through the forums these days
1222 2012-05-13 21:49:55 <Diapolo> reading
1223 2012-05-13 21:50:28 <Diablo-D3> https://bitcointalk.org/index.php?topic=77469.0
1224 2012-05-13 21:51:04 <Diapolo> are none left?
1225 2012-05-13 21:51:23 <sipa> Diapolo: my mistake
1226 2012-05-13 21:51:25 <Diablo-D3> no, theres a few thousand left
1227 2012-05-13 21:52:37 <Diapolo> Diablo-D3: sounds pretty intersting but I'm currently using https://mybitcointrade.com/en/?content=/sparbuch/sparbuch with most of my coins ...
1228 2012-05-13 21:53:09 <Diablo-D3> what an ugly website
1229 2012-05-13 21:53:13 <Diablo-D3> and I have no clue what it says
1230 2012-05-13 21:53:15 <Diapolo> indeed
1231 2012-05-13 21:53:52 <Diapolo> it gives for 30 Days 6.56 % (+ 0.15 %)
1232 2012-05-13 21:54:37 <sipa> why is that site half-german?
1233 2012-05-13 21:54:44 <Diapolo> I tried it and it worked 2 times ... well currently there is not much I can do with the few coins I own, so I chose this.
1234 2012-05-13 21:55:15 <Diapolo> sipa: I guess becuase it's from a german? I even didn't want to advertise!
1235 2012-05-13 21:55:23 chrisb__ has quit (Quit: Leaving)
1236 2012-05-13 21:56:06 <Diapolo> sipa: Ideas for the compilation-warnings?
1237 2012-05-13 21:56:21 <Diablo-D3> Diapolo: well, I wish everyone would invest in DMC so I can finally save Bitcoin from the clutches of evil
1238 2012-05-13 21:57:05 <Diapolo> Diablo-D3: that sounds a bit god-like, no? I will have to read your posting and I'll do this I promise.
1239 2012-05-13 21:57:27 <sipa> Diapolo: ignore them for now, they're harmless
1240 2012-05-13 21:57:31 <Diablo-D3> no, I just should have budgeted a superhero costume
1241 2012-05-13 21:57:40 <Diapolo> :-P
1242 2012-05-13 21:58:50 graingert has joined
1243 2012-05-13 21:58:55 <Diapolo> sipa: at least with bind="local IPv6 addr" no IPv4 connections are coming :)
1244 2012-05-13 22:00:08 SphericalCow has quit (Quit: Leaving)
1245 2012-05-13 22:00:40 <sipa> denisx: can you retry building threadsync?
1246 2012-05-13 22:00:46 <denisx> sipa: sure
1247 2012-05-13 22:03:00 <Diapolo> I'm off, bye.
1248 2012-05-13 22:03:12 mac-mini has joined
1249 2012-05-13 22:03:44 Diapolo has quit (Quit: Page closed)
1250 2012-05-13 22:06:43 <denisx> sipa: what did you change?
1251 2012-05-13 22:07:30 <denisx> ok, got it
1252 2012-05-13 22:08:56 <sipa> denisx: if it still goes to 100%, can you try checking git master as well?
1253 2012-05-13 22:09:11 <denisx> yes yes, one after another!
1254 2012-05-13 22:09:13 <denisx> ;)
1255 2012-05-13 22:10:00 <sipa> thanks!
1256 2012-05-13 22:12:05 <denisx> 9 connections and it still looks good
1257 2012-05-13 22:13:36 <denisx> this one looks very promising, I will let it runs for some minutes
1258 2012-05-13 22:13:48 olp has quit (Quit: Leaving.)
1259 2012-05-13 22:14:02 olp has joined
1260 2012-05-13 22:14:26 <sipa> can you try with -nolisten?
1261 2012-05-13 22:14:39 <sipa> (that way we're sure you really have 8 outbounds)
1262 2012-05-13 22:19:54 <denisx> 8 connections and it is running fine
1263 2012-05-13 22:20:22 <sipa> 8 outgoing ones?
1264 2012-05-13 22:20:26 RazielZ has quit (Quit: Leaving)
1265 2012-05-13 22:20:28 <denisx> yep
1266 2012-05-13 22:20:33 <sipa> ok, great
1267 2012-05-13 22:20:35 <sipa> thanks
1268 2012-05-13 22:21:08 <denisx> what is the fix? is it nice or a hack?
1269 2012-05-13 22:21:23 <sipa> it's nice :)
1270 2012-05-13 22:21:59 <sipa> using boost::condition_variable instead of boost::interprocess::sync::interprocess_semaphore
1271 2012-05-13 22:22:24 <sipa> the interprocess locking mechanisms are sometimes implemented as spinlocks, it seems
1272 2012-05-13 22:22:32 <denisx> this would work under osx too I assume?
1273 2012-05-13 22:22:48 <sipa> yes, someone already tested it
1274 2012-05-13 22:23:12 <sipa> but i'm surprised you still got 100% a few minutes ago
1275 2012-05-13 22:23:25 <sipa> i don't think much changed in between that could have affected that
1276 2012-05-13 22:23:48 ahihi2 has joined
1277 2012-05-13 22:23:50 <denisx> hmm, maybe I messed something up
1278 2012-05-13 22:23:57 <denisx> git is still a beast for me
1279 2012-05-13 22:24:49 BTC_Bear is now known as hbrntng!~BTC_Bear@unaffiliated/btc-bear/x-5233302|BTC_Bear
1280 2012-05-13 22:25:09 <sipa> do this: git remote add sipa https://sipa@github.com/sipa/bitcoin.git; git fetch sipa; git checkout threadsync; git reset --hard sipa/threadsync
1281 2012-05-13 22:25:32 <sipa> eh
1282 2012-05-13 22:25:46 <sipa> drop the sipa@ there
1283 2012-05-13 22:26:50 <Dagger2> any chance we could change CNetAddr::ToStringIP() to use getnameinfo(), so it prints canonical addresses (i.e. :: and 2a02:348:5e:5a29::1 rather than 0:0:0:0:0:0:0:0 and 2a02:348:5e:5a29:0:0:0:1)?
1284 2012-05-13 22:27:34 <sipa> Dagger2: sure; i originally used the naive way to avoid compatibility issues
1285 2012-05-13 22:27:36 <denisx> sipa: when you said I should retry building threadsync, did you change anything?
1286 2012-05-13 22:27:45 <sipa> denisx: something changed yes
1287 2012-05-13 22:28:05 <sipa> (i rebased against new master, which had some extra bugfixes, but those should have been unrelated)
1288 2012-05-13 22:30:19 graingert_ has joined
1289 2012-05-13 22:31:55 <Dagger2> sipa: you mean failing if getnameinfo() is unavailable? I assume getaddrinfo and getnameinfo come as a set everywhere, and netbase.cpp already uses gai(), so I suspect it would already fail to compile in any situation where the build enviroment doesn't have gni()
1290 2012-05-13 22:32:15 <sipa> Dagger2: good point
1291 2012-05-13 22:32:52 graingert has quit (Ping timeout: 250 seconds)
1292 2012-05-13 22:35:29 graingert has joined
1293 2012-05-13 22:36:55 graingert__ has joined
1294 2012-05-13 22:39:05 graingert_ has quit (Ping timeout: 240 seconds)
1295 2012-05-13 22:39:24 graingert has quit (Read error: Connection reset by peer)
1296 2012-05-13 22:39:43 graingert has joined
1297 2012-05-13 22:41:32 graingert__ has quit (Ping timeout: 250 seconds)
1298 2012-05-13 22:46:49 <sipa> Dagger2: https://github.com/bitcoin/bitcoin/pull/1291/files
1299 2012-05-13 22:50:38 <sipa> denisx: still works fine?
1300 2012-05-13 22:50:46 <denisx> yep
1301 2012-05-13 22:51:10 <gribble> New news from bitcoinrss: sipa opened pull request 1291 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1291>
1302 2012-05-13 22:51:30 mac-mini has quit (Quit: Leaving)
1303 2012-05-13 22:53:13 graingert has quit (Quit: Bye)
1304 2012-05-13 22:53:23 Joric_ has quit ()
1305 2012-05-13 22:53:48 graingert has joined
1306 2012-05-13 22:54:42 mac-mini has joined
1307 2012-05-13 22:58:14 <Dagger2> sipa: that looks, hm... consistent with the rest of the code, anyway
1308 2012-05-13 22:59:27 <Dagger2> my C is rather rusty at the moment. I'm trying to work out why you use sockaddr_storage vs sockaddr based on USE_IPV6
1309 2012-05-13 22:59:27 <sipa> Dagger2: that doesn't sound very approving?
1310 2012-05-13 23:00:08 <sipa> meh, i've done so everywhere; if you're building for a system without IPV6 support, maybe sockaddr_storage doesn't exist either
1311 2012-05-13 23:00:22 <sipa> it's probably pointless as all supported platforms do anyway
1312 2012-05-13 23:00:31 <sipa> but that's more code that can be removed afterwards ;)
1313 2012-05-13 23:01:15 <Dagger2> I mean, in this function it looks "wrong but happens to work", since the only two times you use sockaddr it's cast to (struct sockaddr), so you may as well just declare it as a struct sockaddr in the first place
1314 2012-05-13 23:01:18 <gribble> New news from bitcoinrss: sipa opened pull request 1292 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1292>
1315 2012-05-13 23:01:48 <sipa> Dagger2: oh no, and IPv6 address does not fit in a struct sockaddr
1316 2012-05-13 23:02:08 <sipa> since struct sockaddr_in6 is larger than struct sockaddr
1317 2012-05-13 23:02:40 <sipa> but the network interface is defined as taking a pointer to struct sockaddr, even if the actual data is larger
1318 2012-05-13 23:03:03 denisx has quit (Quit: denisx)
1319 2012-05-13 23:03:22 brwyatt is now known as brwyatt|Away
1320 2012-05-13 23:09:13 <Dagger2> I think my confusion might be that I always use (struct addrinfo)->ai_addr from getaddrinfo(), and thus never have to allocate these things myself
1321 2012-05-13 23:09:38 <Dagger2> and that member is (struct sockaddr *), so I never have to do casts when calling the socket API
1322 2012-05-13 23:09:57 <sipa> it's well hidden :)
1323 2012-05-13 23:11:06 bob12321 has quit (Ping timeout: 240 seconds)
1324 2012-05-13 23:36:02 phantomcircuit has joined
1325 2012-05-13 23:39:07 O2made has quit (Remote host closed the connection)
1326 2012-05-13 23:39:30 O2made has joined
1327 2012-05-13 23:44:21 <graingert> Dagger2: my confusion is I'm a massive dynamic language fag and so don't need to worry
1328 2012-05-13 23:51:46 Zarutian has quit (Ping timeout: 255 seconds)
1329 2012-05-13 23:57:33 bob12321 has joined
1330 2012-05-13 23:57:37 brwyatt is now known as Away!~brwyatt@pool-96-226-236-130.dllstx.fios.verizon.net|brwyatt
1331 2012-05-13 23:57:57 denisx has joined