1 2013-05-10 00:41:02 <seongyupyoo> What's the easiest way to get bitcoins in a set of public/private key into my wallet?
  2 2013-05-10 00:45:33 <seongyupyoo> anyone?
  3 2013-05-10 00:46:01 <seongyupyoo> I know I can make a raw transaction, but I'm asking for a regular user who does not code.
  4 2013-05-10 00:48:47 <d34th> you could import the private key
  5 2013-05-10 00:49:01 <d34th> seongyupyoo: ^
  6 2013-05-10 00:49:06 <seongyupyoo> i don't think you can do that bitcoin-qt can you?
  7 2013-05-10 00:49:19 <d34th> click about
  8 2013-05-10 00:49:23 <d34th> hit debug mode
  9 2013-05-10 00:49:32 <d34th> you can get to the rpc console from there
 10 2013-05-10 00:50:12 <seongyupyoo> oh yeah, i know, but i don't expect users to do that
 11 2013-05-10 00:51:21 <seongyupyoo> lol, i just thought about making a service that takes public and private key and sends the money in there to another address, then i thought, how would anyone trust that service lol
 12 2013-05-10 01:31:54 <monad7> what is the build switch that turns on transaction indexing?
 13 2013-05-10 01:32:39 <gonffen> can't you just set index=1 in bitcoin.conf?
 14 2013-05-10 01:32:49 <monad7> ah thanks
 15 2013-05-10 01:35:09 <gonffen> I think what I saw about that said you would need to -reindex the first time (if that wasn't obvious)
 16 2013-05-10 01:44:24 <monad7> so after you set index=1 in bitcoin.conf do you have to do anything?
 17 2013-05-10 01:44:54 <monad7> oh so
 18 2013-05-10 01:44:58 <monad7> bitcoind -reindex ?
 19 2013-05-10 03:08:04 <gonffen> ;;diff
 20 2013-05-10 03:08:08 <gribble> 1.0076292883418716E7
 21 2013-05-10 05:41:51 <wallet43> when i download the blockchain to a new node what taking the longest time? script/ecdsa verification?
 22 2013-05-10 05:43:42 <sipa> depends
 23 2013-05-10 05:48:03 <wallet43> sipa: on what?
 24 2013-05-10 05:48:42 <sipa> wallet43: the peer you're downloading from, mostly
 25 2013-05-10 05:57:13 <ripemd> as we all know, the security of bitcoins residing at a certain address relies in no small part on the security of the private key.
 26 2013-05-10 05:57:27 <ripemd> entropy, generation must be immaculate
 27 2013-05-10 05:57:40 <sipa> indeed
 28 2013-05-10 05:57:41 <ripemd> let me now draw your attention to this - https://github.com/zamgo/PHPCoinAddress/blob/master/PHPCoinAddress.php
 29 2013-05-10 05:58:00 <ripemd> in particular, the standard for generating the private key, on line 217
 30 2013-05-10 05:58:03 <ripemd> for ($i = 0; $i < 32; $i++) { $privBin .= chr(mt_rand(0, $i ? 0xff : 0xfe)); }
 31 2013-05-10 05:58:51 <ripemd> had to sit down when I read that one.
 32 2013-05-10 05:59:55 <coingenuity> ripemd: lol
 33 2013-05-10 05:59:58 <sipa> what? not even a cryptogrpahic PRNG?
 34 2013-05-10 06:00:19 <sipa> i clearly have been overestimating PHP coder
 35 2013-05-10 06:00:22 <sipa> s
 36 2013-05-10 06:00:27 <coingenuity> i guess they assumed /dev/rand would have sufficient entropy..
 37 2013-05-10 06:00:30 <coingenuity> (noob)
 38 2013-05-10 06:00:40 <ripemd> nope. a pseudorandom generator with a 31bit seed
 39 2013-05-10 06:00:58 <coingenuity> well, thats discomforting
 40 2013-05-10 06:01:03 <jouke> Great warning at php.net/mt-rand "This function does not generate cryptographically secure values, and should not be used for cryptographic purposes."
 41 2013-05-10 06:01:04 <nsh> oooft
 42 2013-05-10 06:01:10 <coingenuity> i guess there's a lot of privkeys out there with crap entropy at the heart
 43 2013-05-10 06:01:13 <coingenuity> :(
 44 2013-05-10 06:01:23 <coingenuity> in before someone pwns them all
 45 2013-05-10 06:01:44 <nsh> they should just replace php.net with a big boilerplate stating "This language does not generate good code and should not be used for programming."
 46 2013-05-10 06:01:45 <sipa> ripemd: so try building a blacklist of those 2^31 private keys, and steal their coibs
 47 2013-05-10 06:02:02 <ripemd> the kicker is, there's an even easier PHP function that will generate a hex string that is from a CSRNG
 48 2013-05-10 06:02:39 <ripemd> sipa: I think it's funny, but I'm not really interested in stealing other people's money
 49 2013-05-10 06:02:51 <coingenuity> ripemd: which function is that?
 50 2013-05-10 06:03:11 <ripemd> coingenuity:  openssl_random_pseudo_bytes()
 51 2013-05-10 06:03:16 <coingenuity> ahh
 52 2013-05-10 06:03:19 <coingenuity> openssl function
 53 2013-05-10 06:03:20 <coingenuity> figures :D
 54 2013-05-10 06:03:44 <coingenuity> good to know, ripemd...taught me something new about PHP today
 55 2013-05-10 06:04:25 <ripemd> coingenuity: if you want to learn more, read the comments on some of the php.net pages
 56 2013-05-10 06:05:04 <ripemd> I found one suggesting that seeding the RNG with crc32(time)) will somehow make it more secure.
 57 2013-05-10 06:05:16 <coingenuity> ripemd: i've been considering coding a cryptographically secure bitcoin stack in php, so i probably shall :)
 58 2013-05-10 06:05:25 <sipa> ripemd: neither am i, would i would be interested in finding out whether people are actually sending coins to those addresses
 59 2013-05-10 06:06:20 <ripemd> coingenuity: you might suffer trying to do that, the math functions for PHP are hilariously slow. you're looking at 2+ seconds to create a single bitcoin address
 60 2013-05-10 06:07:04 <ripemd> sipa: I wouldn't doubt that they are. there's other PHP implementations that are in wider use (part of payment processing plugins mainly) that look suspect as well
 61 2013-05-10 06:07:43 <coingenuity> ripemd: i dont particularly expect it to be fast, at least compared to a native client
 62 2013-05-10 06:08:00 <ripemd> sipa: by the looks of it, even the private key 0x1 has been used before (in 2012)
 63 2013-05-10 06:09:55 <coingenuity> ripemd: speaking of
 64 2013-05-10 06:10:10 <coingenuity> i did find one major gaping hole in one of the most prevalent shopping cart plugins recently
 65 2013-05-10 06:10:29 <coingenuity> (was auditing some of the mainline code out there)
 66 2013-05-10 06:10:31 <ripemd> coingenuity: I suspect I know which one you mean, though the name of it escapes me. it's a plugin for a wordpress setup, right?
 67 2013-05-10 06:11:59 <nsh> !quotes add <coingenuity> ripemd: i've been considering coding a cryptographically secure bitcoin stack in php, so i probably shall :)
 68 2013-05-10 06:12:00 <gribble> Error: "quotes" is not a valid command.
 69 2013-05-10 06:12:08 <nsh> ACTION pets gribble
 70 2013-05-10 06:12:15 <coingenuity> nsh: lol
 71 2013-05-10 06:13:10 <nsh> :)
 72 2013-05-10 06:15:39 <sipa> hmm, 30us to generate a private key in PHP using that code
 73 2013-05-10 06:15:59 <sipa> i think that's comparable to how long it takes to convert a private key to a public key in C...
 74 2013-05-10 06:16:26 <ripemd> surely not
 75 2013-05-10 06:16:39 <sipa> pretty sure it is
 76 2013-05-10 06:16:48 <sipa> (in order of magnitude)
 77 2013-05-10 06:17:13 <coingenuity> PHP isn't the fastest gun in the west, but it's also not horribly slow either
 78 2013-05-10 06:17:21 <sipa> it's not?
 79 2013-05-10 06:17:29 <sipa> tell me something slower
 80 2013-05-10 06:17:32 <coingenuity> i have some math-intensive things written in PHP that are actually fairly quick
 81 2013-05-10 06:17:43 <ripemd> sipa: it takes 1.5s for me to generate a keypair using that code
 82 2013-05-10 06:17:54 <sipa> ripemd: i'm talking about generating a private key
 83 2013-05-10 06:17:56 <coingenuity> sipa: most java(key word most), c#, ruby, shit like that tends to run slower than php
 84 2013-05-10 06:18:01 <chmod755> ^
 85 2013-05-10 06:18:04 <chmod755> java
 86 2013-05-10 06:18:06 <ripemd> sipa: gotcha.
 87 2013-05-10 06:18:07 <chmod755> totally
 88 2013-05-10 06:18:27 <SebX> isn't python a bit slower as well...
 89 2013-05-10 06:18:31 <sipa> hard to believe
 90 2013-05-10 06:18:33 <coingenuity> yes, php can be....not amazingly fast....but its also not terrible in the scope of things
 91 2013-05-10 06:18:37 <coingenuity> SebX: nah, py is faster
 92 2013-05-10 06:18:48 <coingenuity> but its also a lot more annoying to code (in my opinion)
 93 2013-05-10 06:18:54 <sipa> what do you mean by mathy stuff? bigint stuff?
 94 2013-05-10 06:19:17 <coingenuity> sipa: trading algorithm rapid prototyping library
 95 2013-05-10 06:19:25 <sipa> k
 96 2013-05-10 06:19:27 <coingenuity> for running simulations on algo's against historical data
 97 2013-05-10 06:21:06 <chmod755> it also depends on how you're coding things.... i'm pretty sure that 99% of all applications could be faster using the same programming language
 98 2013-05-10 06:21:31 <SebX> Yeah, it's all about knowing what to use...
 99 2013-05-10 06:21:38 <SebX> in php echo is faster than print
100 2013-05-10 06:21:48 <ripemd> most PHP stuff I've seen does nutty things, hitting databases when they really don't need to. most of their bad reputation comes from awful implimentations.
101 2013-05-10 06:22:24 <SebX> Yup
102 2013-05-10 06:22:45 <coingenuity> ripemd: agree 100%
103 2013-05-10 06:23:04 <chmod755> ACTION hits ripemds database
104 2013-05-10 06:23:07 <ripemd> I recently looked over a piece of PHP that base64 encoded every string before inserting into a MySQL database. it worked fine until they wanted to search for a string, in which case they selected every row, dumped it into an array, and iterated through it.
105 2013-05-10 06:23:25 <SebX> o.O
106 2013-05-10 06:23:29 <ripemd> all because the developer didn't know how to escape strings.
107 2013-05-10 06:23:30 <nsh> it's perfectly possible to write excellent php. however it will slowly become awful through sheer osmotic pressure
108 2013-05-10 06:23:30 <SebX> wtf why!?
109 2013-05-10 06:24:00 <ripemd> SebX: people kept using characters that broke his SQL statements. the only way to fix it was to base64 encode everything.
110 2013-05-10 06:24:07 <nsh> baha
111 2013-05-10 06:24:15 <SebX> lol
112 2013-05-10 06:24:29 <coingenuity> LOL
113 2013-05-10 06:24:40 <SebX> wow
114 2013-05-10 06:24:49 <ripemd> and this is why we have PHP bitcoin implementations using mt_rand() to generate private keys.
115 2013-05-10 06:25:19 <SebX> I've seen some bad php code in my time but that's just appaling...
116 2013-05-10 06:25:51 <SebX> shake it like a salt shaker?!
117 2013-05-10 06:25:56 <coingenuity> thats really quite funny
118 2013-05-10 06:26:16 <SebX> =)
119 2013-05-10 06:47:03 <ripemd> good god
120 2013-05-10 06:47:32 <ripemd> this payment processing wordpress plugin doesn't ask for addresses to send client fees to, it instead stores your electrum seed in a variable on the server
121 2013-05-10 06:47:43 <ripemd> what the hell are they thinking?
122 2013-05-10 07:06:38 <kauzu> hello
123 2013-05-10 07:06:56 <kauzu> how was someone able to create this adress? https://blockchain.info/address/1HitLerDidNothingWrongggggghJewfv
124 2013-05-10 07:07:24 <wallet43> wow
125 2013-05-10 07:07:27 <wallet43> thats a sick one
126 2013-05-10 07:07:44 <ripemd> kauzu: easily, but they don't know the private key for it
127 2013-05-10 07:08:14 <wallet43> why woud they send money to it if they dont know the privkey?
128 2013-05-10 07:08:21 <kauzu> so the btc are lost ?
129 2013-05-10 07:08:24 <ripemd> yes
130 2013-05-10 07:08:35 <ripemd> wallet43: for fun? it's an obnoxious looking address I suppose
131 2013-05-10 07:08:50 <wallet43> dumping 0.001 btc for fun??
132 2013-05-10 07:09:02 <wallet43> rich kids of blockchain
133 2013-05-10 07:09:13 <ripemd> I'm sure you've thrown away 10c on candy before
134 2013-05-10 07:09:28 <ripemd> heck, you've probably spent more in TX fees than that
135 2013-05-10 07:12:03 <ripemd> kauzu: here's another with 0.41BTC ??? https://blockchain.info/address/1BitcoinEaterAddressDontSendf59kuE
136 2013-05-10 09:17:27 <Cryo> hmm, you have 0 friends on the btc network.
137 2013-05-10 09:18:33 <Cryo> ah, 2 friends like me now. that took longer than usual.
138 2013-05-10 09:19:53 <ali1234> how do i use the listunspent command?
139 2013-05-10 09:20:11 <ali1234> whatever i do it just says "error parsing json"
140 2013-05-10 09:42:53 <michagogo> Is there any way to see an Alert if you're on a version (such as 0.8.1) it doesn't apply to?
141 2013-05-10 09:43:07 <michagogo> I see that getinfo simply returns ""
142 2013-05-10 09:43:10 <robbak> ali1234: What are you trying to do? The syntax is either "listunspent" or "listunspent 1J9TZS7s1JcNhtcYQQQBSaFKAkMynpurB4"
143 2013-05-10 09:43:23 <ali1234> robbak: the latter, which does not work
144 2013-05-10 09:44:11 <robbak> Well, that is works. Perhaps you've made a mistake typing or copying the key?
145 2013-05-10 09:44:19 <ali1234> key?
146 2013-05-10 09:44:39 <michagogo> address
147 2013-05-10 09:44:44 <ali1234> no
148 2013-05-10 09:45:02 <ali1234> "listunspent" outputs exactly the same thing as "listunspent <anyaddress>"
149 2013-05-10 09:45:44 <ali1234> including addresses that are not mine
150 2013-05-10 09:46:03 <jchp> listunspent's optional paramters is the number of confirmations: https://en.bitcoin.it/wiki/Raw_Transactions#JSON-RPC_API
151 2013-05-10 09:46:26 <ali1234> that is outdated
152 2013-05-10 09:46:42 <ali1234> listunspent [minconf=1] [maxconf=9999999]  ["address",...]
153 2013-05-10 09:46:43 <jchp> oh? hrm.
154 2013-05-10 09:46:46 <ali1234> is the actual syntax
155 2013-05-10 09:47:04 <jchp> did you try putting 0 9999999 address?
156 2013-05-10 09:47:05 <ali1234> so when you do listunspent <address> it parses the "1" from beginning of address as the minconf
157 2013-05-10 09:47:20 <ali1234> jchp: yes, i tried that, it gives "error parsing json"
158 2013-05-10 09:47:41 <jchp> err 1 9999999
159 2013-05-10 09:48:09 <ali1234> ok got it
160 2013-05-10 09:48:24 <ali1234> bitcoind listunspent 1 9999999 '["address"]'
161 2013-05-10 09:49:56 <ali1234> cool, everything working. so any json array/map type parameters have to go in ''
162 2013-05-10 10:18:32 <Gainsbourg> I Discover
163 2013-05-10 10:19:44 <Gainsbourg> ?
164 2013-05-10 10:19:44 <Gainsbourg> Non one here
165 2013-05-10 10:20:05 <daybyter> Hi!
166 2013-05-10 10:20:37 <Gainsbourg> =) its a pleasur
167 2013-05-10 10:21:26 <Gainsbourg> apparently we Hve same preoccuoation !
168 2013-05-10 10:36:13 <tonikt> Hi. Can anyone please give me a hint on what is the format of the signature generated by "signmessage" RPC?
169 2013-05-10 10:36:30 <tonikt> I figured it's base64 encoded, but when I decode it, I get something like:
170 2013-05-10 10:36:35 <tonikt> 1f989099225e64aac372f289ae40083ae6c57da8ebc6e3e248ed3fc4ca2bcfe0b7d44c8317f6e6904f972c08a17e4b771104c48f14a03d446474ac6a269c53c3c6
171 2013-05-10 10:37:04 <tonikt> so: where is the public key, where is the S and where is the R?
172 2013-05-10 10:37:23 <tonikt> Unless I screwed up base64 decoding?
173 2013-05-10 10:39:49 <jchp> tonikt: that is only the signature, it does not include the message iteslf nor the public key (it uses the public key, NOT the derived address, as you cannot verify a message with only the address)
174 2013-05-10 10:42:15 <tonikt> jchp: OK, then where is the signature? It's EC signature, right? So it should have R and S...
175 2013-05-10 10:45:04 <tonikt> ... and also, why do you say that it does not include the public key, at the same time saying that it is required for the the operation, since the address\\ is not enough?
176 2013-05-10 10:45:29 <tonikt> so how do I get the public key?
177 2013-05-10 10:45:56 <jgm> tonikt: what are you actually trying to do?  That might make it easier to help you
178 2013-05-10 10:46:55 <jchp> tonikt: the signature is encoded in a similar format as openssl (DER encoding?)
179 2013-05-10 10:47:24 <alaricsp> Does it not include the PK? I note that "verifymessage" takes an address, the signature, and the message to verify. If the PK isn't in the signature, how's it find it?
180 2013-05-10 10:47:31 <jchp> to VERIFY the message you need the public key (not the address), i preemptively noted that just in case as it's a common error
181 2013-05-10 10:49:29 <kjj_> you really don't need the public key to verify the message
182 2013-05-10 10:49:33 <jchp> actually i think an address might work now?
183 2013-05-10 10:49:44 <jchp> i forget, haven't done it in a long time
184 2013-05-10 10:49:45 <tonikt> jgm: I am trying to write my own code that will be able to verify is a signature of "H5iQmSJeZKrDcvKJrkAIOubFfajrxuPiSO0/xMorz+C31EyDF/bmkE+XLAihfkt3EQTEjxSgPURkdKxqJpxTw8Y=" for a message "This is some test message" has been signed with this address: muTPoTTXbVWdurzw4aqTh7DLQ82RRE8hXz
185 2013-05-10 10:50:36 <jgm> Okay well first thing the address is a hash of a public key so you need the actual public key from which the address came
186 2013-05-10 10:50:48 <tonikt> I mean, I know it was - but just want to write a tool that would be able to verify it, without using bitcond
187 2013-05-10 10:51:00 <tonikt> jgm: I know that
188 2013-05-10 10:51:10 <jgm> Okay good.
189 2013-05-10 10:51:10 <tonikt> so where do I get the public key - this I dont know?
190 2013-05-10 10:51:13 <kjj> you do NOT need the public key.
191 2013-05-10 10:52:17 <tonikt> OK guys, so let me have an alternative question: is it an ECDSA signature, or not?
192 2013-05-10 10:52:18 <kjj> look in key.cpp, function CKey::SignCompact
193 2013-05-10 10:52:25 <tonikt> ok..
194 2013-05-10 10:55:44 <jchp> ah right deriving the pubkey from the signature?
195 2013-05-10 10:56:18 <kjj> yes, you derive the pubkey from the signature, then convert to an address to compare to the address provided
196 2013-05-10 10:58:01 <kjj> and don't forget that a string is prepended to the message before singning.  strMessageMagic is in main.cpp
197 2013-05-10 11:25:49 <ThomasV> !seen etotheipi
198 2013-05-10 11:25:50 <gribble> etotheipi was last seen in #bitcoin-dev 1 year, 47 weeks, 3 days, 11 hours, 6 minutes, and 47 seconds ago: <etotheipi> should I report it in #bitcoin instead?
199 2013-05-10 11:25:56 <gribble> etotheipi_ was last seen in #bitcoin-dev 1 day, 19 hours, 12 minutes, and 59 seconds ago: <etotheipi_> lianj, thanks!
200 2013-05-10 11:25:56 <ThomasV> !seen etotheipi_
201 2013-05-10 11:35:43 <tonikt> kjj: recovering this public key from the signature is basically all about what ECDSA_SIG_recover_key_GFp does, right?
202 2013-05-10 11:36:04 <tonikt> there seems to be some really crazy math going on in there
203 2013-05-10 11:40:33 <gavinandresen> sipa gmaxwell jgarzik wumpus : I'll be tagging 0.8.2rc1 shortly
204 2013-05-10 11:41:06 <sipa> gavinandresen: ACK
205 2013-05-10 11:41:41 <helo> :D
206 2013-05-10 11:42:12 <sipa> tonikt: http://www.secg.org/index.php?action=secg,docs_secg, read SEC1, section 4.1.6
207 2013-05-10 11:48:41 <gavinandresen> sipa: aka Mr. Version Number:  0.8.2rc1 version number should be 0.8.2.0 or 0.8.2.1  ??
208 2013-05-10 11:49:03 <tonikt> ok... thanks guys! that's exactly the hints I needed, but I obviously need some sleep, before I will re-try to figure out how to actually phrase it into my code :)
209 2013-05-10 11:51:31 <gavinandresen> sipa: ???. looks like 0.8.0rc1 was 0.8.0.0 so I'll go with .0 .....
210 2013-05-10 11:54:12 <sipa> gavinandresen: sounds good; i don't think we'll need rc-specific alerts anyway
211 2013-05-10 11:54:25 <sipa> that's the only reason for .1
212 2013-05-10 12:00:19 <BigBitz> wrk|Bit of a potential long shot here but has anyone used vanitygen with the E option and obtained a "protkey" ?
213 2013-05-10 12:00:47 <BTCOxygen> BigBitz|wrk: What do you mena by E option?
214 2013-05-10 12:00:52 <BTCOxygen> mean*
215 2013-05-10 12:01:11 <BigBitz> wrk|if so how do I decrypt my privkey from the protkey.
216 2013-05-10 12:01:26 <BigBitz> wrk|it's the password protect option which is why I assume I Get a protected [protkey].
217 2013-05-10 12:02:36 <BTCOxygen> BigBitz|wrk: http://en.bitcoin.it/wiki/Importprivkey
218 2013-05-10 12:03:14 <BigBitz> wrk|Did you read anything of what I typed BTCOxygen ?
219 2013-05-10 12:03:31 <BigBitz> wrk|I have generated a protected key; not a private key. I need to decrypt the private key from the protected key.
220 2013-05-10 12:04:39 <BTCOxygen> BigBitz|wrk: Oh.
221 2013-05-10 12:04:42 <BigBitz> wrk|:)
222 2013-05-10 12:04:59 <BTCOxygen> BigBitz|wrk: AFAIK, No wallet supports that encyption method.
223 2013-05-10 12:05:13 <BigBitz> wrk|Which is why I need to decrypt it...... :)
224 2013-05-10 12:05:18 <BTCOxygen> You need to use another tool to decrypt your protkey.
225 2013-05-10 12:05:32 <BigBitz> wrk|...
226 2013-05-10 12:05:33 <BTCOxygen> I have heard of a few tools.
227 2013-05-10 12:06:42 <BTCOxygen> BigBitz|wrk: So you have a protkey and need to convert it to a privatekey ?
228 2013-05-10 12:06:47 <BigBitz> wrk|BTCOxygen: yes :)
229 2013-05-10 12:07:12 <BTCOxygen> BigBitz|wrk: Are you fimiliar with Node.Js ?
230 2013-05-10 12:07:23 <BigBitz> wrk|nope :)
231 2013-05-10 12:07:39 <BTCOxygen> :(
232 2013-05-10 12:07:51 <BTCOxygen> BigBitz|wrk: I only know of a node.js decrypter.
233 2013-05-10 12:08:00 <BigBitz> wrk|show me plz.
234 2013-05-10 12:08:01 <BTCOxygen> https://gist.github.com/ianpurton/1139867
235 2013-05-10 12:08:37 <BigBitz> wrk|I saw this link also.
236 2013-05-10 12:08:40 <BigBitz> wrk|not so sure about that.
237 2013-05-10 12:09:07 <BTCOxygen> why
238 2013-05-10 12:10:05 <BigBitz> wrk|let me look at it. I'll figure it out.
239 2013-05-10 12:10:05 <BigBitz> wrk|thx.
240 2013-05-10 12:11:23 <BTCOxygen> np
241 2013-05-10 12:13:12 <gavinandresen> * [new tag]         v0.8.2rc1 -> v0.8.2rc1
242 2013-05-10 12:18:10 <michagogo> gavinandresen: Is there a way to see the alert from this morning on a node running 0.8.1? `getinfo` returns a value for "errors" of ""
243 2013-05-10 12:18:29 <michagogo> Or, are they somewhere on the internet?
244 2013-05-10 12:19:28 <gavinandresen> michagogo: I'll update https://en.bitcoin.it/wiki/Alerts  right now...
245 2013-05-10 12:19:43 <michagogo> Yeah, that's actually why I was asking :-P
246 2013-05-10 12:19:51 <michagogo> (so I could update that)
247 2013-05-10 12:21:51 <Xexe> why is it sometimes so hard to tell to other people about bitcoin?
248 2013-05-10 12:26:47 <helo> because there have been so many terrible hyped up investments in the past
249 2013-05-10 12:27:16 <helo> there are always proponents of these terrible investments that stand to make money if they can convince others to invest too
250 2013-05-10 12:27:35 <helo> so people are used to bad investments being hyped by people that stand to gain a lot
251 2013-05-10 12:28:06 <helo> and just filter stuff that sounds similar entirely
252 2013-05-10 12:28:16 <gavinandresen> Anybody new willing to give gitian-building the 0.8.2rc1 release a try?  I find it is pretty easy using VirtualBox (just takes time to get setup, but it isn't tricky)
253 2013-05-10 12:29:25 <michagogo> gavinandresen: I could help, I guess
254 2013-05-10 12:29:29 <michagogo> What are the prereqs?
255 2013-05-10 12:29:52 <sipa> gavinandresen: i won't be able to build until sunday evening
256 2013-05-10 12:30:00 <gavinandresen> michagogo: VirtualBox and git
257 2013-05-10 12:30:13 <michagogo> git in a VM, or on my local computer?
258 2013-05-10 12:30:19 <gavinandresen> michagogo: ??? and a machine capable of running 64-bit VirtualBox vms
259 2013-05-10 12:30:25 <gavinandresen> git on your local computer
260 2013-05-10 12:30:28 <michagogo> I think I have one of those
261 2013-05-10 12:30:55 <michagogo> What do you want me to do?
262 2013-05-10 12:31:22 <gavinandresen> michagogo: First step:  download/run VirtualBox from https://www.virtualbox.org/
263 2013-05-10 12:31:25 <The_Fly> https://gist.github.com/devrandom/806265
264 2013-05-10 12:31:28 <michagogo> Already have it installed
265 2013-05-10 12:31:46 <michagogo> C:\\Users\\Micha>git --version
266 2013-05-10 12:31:46 <michagogo> git version 1.8.0.msysgit.0
267 2013-05-10 12:32:23 <gavinandresen> michagogo: Step 2:  see the end of https://github.com/bitcoin/bitcoin/blob/master/contrib/gitian-descriptors/README
268 2013-05-10 12:32:35 <Luke-Jr> gavinandresen: tag is missing?
269 2013-05-10 12:32:40 <gavinandresen> "Download the 64-bit Ubuntu Desktop 12.04 LTS .iso CD image from"
270 2013-05-10 12:32:49 <Luke-Jr> or just not part of master somehow
271 2013-05-10 12:33:19 <gavinandresen> Luke-Jr: https://github.com/bitcoin/bitcoin/tags  says it is there.  did you fetch --tags ?
272 2013-05-10 12:33:19 <michagogo> gavinandresen: Does it need to be 12.04?
273 2013-05-10 12:33:26 <michagogo> Got a 13.04 already up and running
274 2013-05-10 12:33:32 <The_Fly> 12.10 runs poor in vbox
275 2013-05-10 12:33:36 <The_Fly> unity
276 2013-05-10 12:33:41 <gavinandresen> michagogo: yes, VM base images have to match or you'll get different binaries
277 2013-05-10 12:33:42 <Luke-Jr> gavinandresen: it's 2 commits ahead of master; --tags is only needed when it's not part of any branch
278 2013-05-10 12:33:46 <michagogo> Okay
279 2013-05-10 12:33:51 <ali1234> The_Fly: 13.04 has not fixed that
280 2013-05-10 12:33:53 <Luke-Jr> anyhow, build started
281 2013-05-10 12:33:54 <michagogo> I'll grab that then
282 2013-05-10 12:34:05 <The_Fly> tag is a ref just like any branch
283 2013-05-10 12:34:25 <michagogo> Is that Precise?
284 2013-05-10 12:34:40 <ali1234> 12.04 is precise LTS release
285 2013-05-10 12:35:18 <The_Fly> and works ok
286 2013-05-10 12:35:23 <michagogo> Is http://releases.ubuntu.com/12.04/ubuntu-12.04.2-desktop-amd64.iso.torrent the correct one?
287 2013-05-10 12:35:41 <Luke-Jr> ACTION wonders why we're updating Qt, but not to the latest bugfix release O.o
288 2013-05-10 12:36:35 <gavinandresen> Luke-Jr: master branch updated/pushed...
289 2013-05-10 12:38:35 <michagogo> The ISO should be downloaded in about 15 mins
290 2013-05-10 12:39:06 <gavinandresen> michagogo: great.  Do not keep following the instructions in that README, let me find the USE_VBOX instructions....
291 2013-05-10 12:39:13 <michagogo> VM created, waiting for the ISO to doenload
292 2013-05-10 12:39:15 <michagogo> download*
293 2013-05-10 12:39:59 <michagogo> gavinandresen: Once Ubuntu installs, should I also install VBox's guest additions?
294 2013-05-10 12:40:00 <gavinandresen> michagogo: ??? correct VM creation instructions are at:  https://github.com/devrandom/gitian-builder
295 2013-05-10 12:40:13 <gavinandresen> michagogo: guest additions aren't necessary
296 2013-05-10 12:40:41 <michagogo> They make the VM work better, though -- shared clipboard and display scaling, most notably
297 2013-05-10 12:41:01 <gavinandresen> michagogo: won't hurt if you want to install them
298 2013-05-10 12:41:05 <michagogo> k
299 2013-05-10 12:41:17 <michagogo> Am I using KVM or LXC?
300 2013-05-10 12:41:22 <michagogo> (no idea what those are)
301 2013-05-10 12:41:42 <gavinandresen> michagogo: You should end up with two VMs, which MUST be named "Gitian-lucid-i386" and "Gitian-lucid-amd64"
302 2013-05-10 12:41:48 <michagogo> Oh
303 2013-05-10 12:41:58 <michagogo> Okay, I'll get rid of the VM I already made then :-P
304 2013-05-10 12:42:54 <Luke-Jr> michagogo: gitian only works on Ubuntu and Gentoo hosts right now (AFAIK)
305 2013-05-10 12:43:01 <michagogo> Hosts?
306 2013-05-10 12:43:08 <Luke-Jr> yes,
307 2013-05-10 12:43:32 <michagogo> If that's the case I can't help :-(
308 2013-05-10 12:43:35 <gavinandresen> Luke-Jr: ???
309 2013-05-10 12:43:48 <Luke-Jr> gavinandresen: am I missing something?
310 2013-05-10 12:43:49 <gavinandresen> Luke-Jr: Last couple of releases I've gitian-built using VirtualBox on OSX host
311 2013-05-10 12:44:13 <Luke-Jr> oh :o
312 2013-05-10 12:44:15 <michagogo> I'm running Windows 7...
313 2013-05-10 12:44:31 <gavinandresen> michagogo: should work
314 2013-05-10 12:44:45 <Luke-Jr> gavinandresen: is that process documented somewhere?
315 2013-05-10 12:45:19 <gavinandresen> Luke-Jr: https://github.com/devrandom/gitian-builder  has the VM setup instructions
316 2013-05-10 12:45:38 <gavinandresen> michagogo: mmm??? windows??? do you have command-line ssh?
317 2013-05-10 12:45:56 <michagogo> I have PuTTY
318 2013-05-10 12:46:08 <michagogo> And I think that comes with a command-line client
319 2013-05-10 12:46:23 <helo> it would be nice if there was a lazy gitian build process that only required a chroot
320 2013-05-10 12:46:28 <gavinandresen> michagogo: hmm.  Not sure if it will work, gitian-builder uses ruby and command-line ssh (and probably other unixy command-line tools)
321 2013-05-10 12:46:38 <helo> shouldn't that be enough to get deterministic builds?
322 2013-05-10 12:46:57 <gavinandresen> helo: "patches welcome"
323 2013-05-10 12:47:03 <Luke-Jr> helo: but then you'd defeat the point of it, by trusting someone else's setup..
324 2013-05-10 12:47:05 <helo> :D
325 2013-05-10 12:47:06 <sipa> gavinandresen: you need a ubuntu host for gitian, afaik
326 2013-05-10 12:47:45 <gavinandresen> sipa: Last couple of releases I've gitian-built using VirtualBox on OSX host
327 2013-05-10 12:47:45 <helo> Luke-Jr: isn't gitian trusting someone else's setup?
328 2013-05-10 12:47:45 <Luke-Jr> sipa: we just went over that >_<
329 2013-05-10 12:47:56 <Luke-Jr> helo: no, that's the point
330 2013-05-10 12:48:33 <sipa> oh, ok
331 2013-05-10 12:48:37 <kinlo> oh you can run gitian on mac now?
332 2013-05-10 12:48:39 <kinlo> even better :)
333 2013-05-10 12:48:43 <michagogo> gavinandresen: If it helps, I have cygwin
334 2013-05-10 12:48:59 <kinlo> now if only we can make mac builds with gitian, then the circle would be round
335 2013-05-10 12:49:24 <michagogo> And in Cygwin I have both ruby and ssh
336 2013-05-10 12:49:29 <gavinandresen> michagogo: might could work??? but you'll be a trailblazer, and could spend a lot of time getting it to almost work and then failing....
337 2013-05-10 12:49:37 <sipa> gavinandresen: wait... you don't happen to mean VirtualBox on OSX with Ubuntu running inside, and gitian running inside that, as a second-level VM?
338 2013-05-10 12:49:46 <gavinandresen> sipa: Nope
339 2013-05-10 12:49:52 <sipa> wow!
340 2013-05-10 12:49:58 <Luke-Jr> kinlo: for a brief part of 0.6.x, I had Mac gitian builds :P
341 2013-05-10 12:50:16 <kinlo> Luke-Jr: oh, do you still have them?
342 2013-05-10 12:50:18 <michagogo> I have an Ubuntu VM, but I suspect I don't have the resources for VMception
343 2013-05-10 12:50:25 <Luke-Jr> kinlo: the compiler is too old for the current code
344 2013-05-10 12:50:39 <kinlo> Luke-Jr: still, would love to have a look
345 2013-05-10 12:51:01 <kinlo> it would help the project if we can fix that :)
346 2013-05-10 12:51:58 <Luke-Jr> kinlo: https://gitorious.org/cross-osx/cross-osx/trees/master/gitian
347 2013-05-10 12:52:10 <Luke-Jr> kinlo: probably easier to start over, considering OS X changed compiler suite entirely
348 2013-05-10 12:52:24 <michagogo> gavinandresen: How much time is "a lot"?
349 2013-05-10 12:52:52 <gavinandresen> I sent an Apple Developer support request asking for advice on repeatable builds a couple days ago??? they're still thinking about it, I guess....
350 2013-05-10 12:52:56 <helo> gitian has to trust something... is the trust in a gitian downloader much different than trust in a signed chroot tarball?
351 2013-05-10 12:53:25 <Luke-Jr> helo: gitian downloader just verifies signatures; not the same thing as gitian
352 2013-05-10 12:53:45 <Luke-Jr> helo: gitian itself compiles the source code to a binary with the same SHA256 hash every time
353 2013-05-10 12:53:56 <gavinandresen> michagogo: could pretty easily chew up ten or twenty hours of your time trying to get all the pieces working on Windows
354 2013-05-10 12:54:05 <Luke-Jr> helo: so you and everyone else can verify the released binaries match the code
355 2013-05-10 12:54:10 <kinlo> Luke-Jr: mmmz :)
356 2013-05-10 12:54:17 <michagogo> Hmm
357 2013-05-10 12:54:28 <gavinandresen> pushed linux and windows gitian.sigs
358 2013-05-10 12:54:48 <helo> i need to use gitian before i talk about it :)
359 2013-05-10 12:55:01 <michagogo> gavinandresen: Okay, I guess I can't help you out with this :-/
360 2013-05-10 12:55:02 <michagogo> Sorry!
361 2013-05-10 12:55:43 <gavinandresen> michagogo: no problem, you helped already
362 2013-05-10 12:55:47 <kinlo> oh, rc1 is released?
363 2013-05-10 12:55:55 <michagogo> I did? o_O
364 2013-05-10 12:55:56 <gavinandresen> kinlo: tagged, not released yet
365 2013-05-10 12:56:08 <kinlo> gavinandresen: and you want gitian sigs? :)
366 2013-05-10 12:56:22 <gavinandresen> michagogo: yes, you made me realize I need to update our docs
367 2013-05-10 12:56:38 <michagogo> Ah. :-)
368 2013-05-10 13:12:37 <Luke-Jr> gavinandresen: my win32 matches
369 2013-05-10 13:13:13 <gavinandresen> Luke-Jr: fantastic, thanks!
370 2013-05-10 13:13:40 <Luke-Jr> should have linux in a few minutes
371 2013-05-10 13:20:12 <Luke-Jr> gavinandresen: linux match, pushed
372 2013-05-10 13:20:46 <gavinandresen> Cool.  OSX and Windows binaries signed, 0.8.2rc1 uploaded to https://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.2/test/
373 2013-05-10 13:25:25 <michagogo> Interesting, 0.8.2 removes IRC bootstrapping entirely?
374 2013-05-10 13:25:39 <Luke-Jr> michagogo: the IRC server is dead
375 2013-05-10 13:26:18 <michagogo> I see.
376 2013-05-10 13:26:23 <michagogo> ACTION upgrades
377 2013-05-10 13:26:42 <Luke-Jr> ali1234: ping
378 2013-05-10 13:27:51 <michagogo> Is that Alert hard-coded into the client?
379 2013-05-10 13:28:13 <michagogo> Or do you just broadcast an alert only applicable to prereleases?
380 2013-05-10 13:29:08 <gavinandresen> uh, we broadcast version-specific alerts when there is an issue that affects that/those versions....
381 2013-05-10 13:29:52 <michagogo> gavinandresen: I mean, is the Alert that's in 0.8.2rc1 an actual Alert, or is it hardcoded in?
382 2013-05-10 13:30:14 <gavinandresen> there is no alert in 0.8.2rc1
383 2013-05-10 13:30:14 <Luke-Jr> pretty sure that's a hardcoded one you're seeing
384 2013-05-10 13:30:21 <michagogo> gavinandresen: "errors" : "This is a pre-release test build - use at your own risk - do not use for mining or merchant applications"
385 2013-05-10 13:30:29 <Luke-Jr> yep
386 2013-05-10 13:30:32 <gavinandresen> Oh, THAT message.
387 2013-05-10 13:30:45 <gavinandresen> ACTION reminds himself to twiddle that bit before final release....
388 2013-05-10 13:30:50 <michagogo> Yeah, that was what I thought
389 2013-05-10 13:30:52 <gavinandresen> yes, that's hard-coded
390 2013-05-10 13:30:52 <michagogo> LOL, yeah
391 2013-05-10 13:31:08 <michagogo> That's not something you want to release with :-P
392 2013-05-10 13:32:09 <Luke-Jr> kinda scary how we just don't notice it anymore, since probably all the devs see it on a regular basis x.x
393 2013-05-10 13:32:55 <gavinandresen> Mmm.  We need a QA team.
394 2013-05-10 13:33:30 <Luke-Jr> ACTION makes a bet on the QA team getting used to the message too :p
395 2013-05-10 13:34:28 <gavinandresen> yeah, they'll forget once and then add it to their release-process checklist...
396 2013-05-10 13:35:10 <hazrd_> anyone know of a BlockChain -> RRD interface/API ?
397 2013-05-10 13:39:39 <The_Fly> lol
398 2013-05-10 13:45:41 <denisx> is there a way to see the spent coins. like listunspent but only for spent?
399 2013-05-10 13:46:11 <WKNiGHT> [10:31] <gavinandresen> Mmm.  We need a QA team.
400 2013-05-10 13:46:17 <WKNiGHT> best statement ever :)
401 2013-05-10 13:52:26 <ali1234> Luke-Jr: pong?
402 2013-05-10 14:01:30 <jaromil> maybe you need a Q&A team so that you can form the QA team (bloody sarcasm)
403 2013-05-10 14:38:12 <thisisengland86> WANT TO SELL 3 BTC PM ME
404 2013-05-10 14:39:48 <thisisengland86> WANT TO SELL 3 BTC PM ME
405 2013-05-10 14:39:54 <sipa> thisisengland86: take it elsewhere
406 2013-05-10 14:40:06 <Michail1> He can't.
407 2013-05-10 14:40:24 <Michail1> Been banned from other chans.
408 2013-05-10 14:41:04 <rdymac> Lol
409 2013-05-10 14:41:58 <sipa> i'm sure nobody in #thisisengland86spamchan will care
410 2013-05-10 14:42:17 <BlueMatt> whats current testnet height?
411 2013-05-10 14:42:28 <BlueMatt> or is there a ,,bc,tnblocks
412 2013-05-10 14:42:28 <gribble> Error: "bc,tnblocks" is not a valid command.
413 2013-05-10 14:43:31 <jgm> BlueMatt: 72057
414 2013-05-10 14:43:45 <sipa> ACTION updated bitcoin.sipa.be to 0.8.2rc1
415 2013-05-10 14:44:05 <BlueMatt> thanks
416 2013-05-10 14:44:08 <dansmith_btc> Hello, how can one access the UTXO set in bitcoind? I need to check if a certain output has been spent.
417 2013-05-10 14:44:20 <sipa> dansmith_btc: gettxout <txid> <index>
418 2013-05-10 14:44:22 <Michail1> sipa - agreed.  :)
419 2013-05-10 14:50:10 <dansmith_btc> sipa, but how can I decode gettxout's output?
420 2013-05-10 14:50:40 <sipa> dansmith_btc: it decodes it for you
421 2013-05-10 14:52:01 <sipa> if there is no output, it has been spent
422 2013-05-10 14:59:01 <BlueMatt> anyone have a alert history with all alerts in it?
423 2013-05-10 14:59:06 <BlueMatt> or atleast recent ones
424 2013-05-10 15:11:05 <The_Fly> is there not one on the wiki
425 2013-05-10 15:11:21 <The_Fly> https://en.bitcoin.it/wiki/Alerts
426 2013-05-10 15:11:22 <The_Fly> ?
427 2013-05-10 15:13:04 <BlueMatt> hmm..I was hoping for testnet alerts
428 2013-05-10 15:13:18 <The_Fly> oh right
429 2013-05-10 16:16:47 <aceat64> are there any admins for the Bitcoin Wiki online?
430 2013-05-10 16:17:24 <aceat64> the plugin used for creating maps (such as for https://en.bitcoin.it/wiki/Real_world_shops) needs to have references to http://maps.google.com changed to use HTTPS
431 2013-05-10 16:17:47 <aceat64> it appears that content should be available via HTTPS from google, so this should be a fairly easy change
432 2013-05-10 16:21:11 <aceat64> MagicalTux, nanotube: you guys are listed as admins for the wiki, just saying your names in case you missed my request
433 2013-05-10 16:27:41 <gribble> I have not seen nakowa.
434 2013-05-10 16:27:41 <iwilcox> ;;seen nakowa
435 2013-05-10 16:40:09 <QuantumQrack> Anybody know the best way to upgrade bitcoin-qt?  The best procedure?  Just download the .exe and run it?
436 2013-05-10 16:40:51 <helo> QuantumQrack: if you want to be excessively careful, back up your wallet.dat first
437 2013-05-10 16:41:19 <helo> but you should already have a good backup, so that may not be necessary
438 2013-05-10 16:41:25 <QuantumQrack> Yeah, I do that automatically every morning.
439 2013-05-10 16:41:41 <QuantumQrack> ok, thanks.
440 2013-05-10 17:13:16 <helo> QuantumQrack: btw, i don't think you get any benefit to backing up more frequently than every 100 transactions + addresses
441 2013-05-10 17:13:40 <helo> hopefully you are doing cascading backups, and not just overwriting the previous backup every morning
442 2013-05-10 17:15:22 <helo> ACTION senses an upcoming -backupnotify=<cmd> option
443 2013-05-10 17:21:14 <ngc0202> * -walletnotify will call a command on receiving transactions that affect the wallet.
444 2013-05-10 17:21:34 <ngc0202> If I had more than a few cents in bitcoins, I'd pay whoever came up with that
445 2013-05-10 17:26:42 <QuantumQrack> helo, its overwriting the previous backup.
446 2013-05-10 17:27:08 <helo> QuantumQrack: so if your wallet was corrupted overnight, in the morning it will overwrite the previous good backup with the corrupted one?
447 2013-05-10 17:27:32 <QuantumQrack> yeah, I guess so.
448 2013-05-10 17:27:50 <QuantumQrack> Not sure how to set up cascading backups, I will have to check into it.
449 2013-05-10 17:27:55 <cjd> this wouldn't have happened if you used ZFS
450 2013-05-10 17:28:03 <helo> heh
451 2013-05-10 17:28:38 <QuantumQrack> I use SpiderOak to back up into cloud storage.
452 2013-05-10 17:30:24 <helo> QuantumQrack: a simple way to do cascading backups is to label your backups according to the day of week (for weekly cascading), day of month (for monthly cascading), etc
453 2013-05-10 17:30:53 <helo> but backing up more frequently than every 100 transactions + addresses is entirely a waste of time
454 2013-05-10 17:31:36 <QuantumQrack> Can you explain that a bit more please?
455 2013-05-10 17:31:45 <helo> the 100 rule?
456 2013-05-10 17:31:48 <QuantumQrack> yeah
457 2013-05-10 17:31:49 <gonffen> does anybody know what this error means?
458 2013-05-10 17:31:51 <gonffen> RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_bg.qm'
459 2013-05-10 17:34:25 <helo> QuantumQrack: a bitcoind/bitcoin-qt wallet has 100 private keys sitting in a queue that haven't been used yet. every time you request a new address or make a transaction, it pulls the front private key from the queue, and generates and appends a new one to the back
460 2013-05-10 17:35:11 <helo> QuantumQrack: so if you have a backup that was made 100 transactions + addresses ago, it will still contain all of the private keys that could have received funds
461 2013-05-10 17:35:48 <QuantumQrack> Something I learned today. :-)
462 2013-05-10 17:45:02 <QuantumQrack> helo, ahh, nevermind.  I guess spideroak automatically does cascading backups.  Good deal.
463 2013-05-10 17:45:28 <helo> yay :)