1 2013-04-20 00:00:11 rdymac has joined
2 2013-04-20 00:00:43 nsillik has quit (Quit: nsillik)
3 2013-04-20 00:00:51 i2pRelay has quit (Remote host closed the connection)
4 2013-04-20 00:00:53 Lophie_ has joined
5 2013-04-20 00:01:08 <Lophie_> sorry, disconnected for a sec there
6 2013-04-20 00:01:23 i2pRelay has joined
7 2013-04-20 00:01:24 <Lophie_> :S
8 2013-04-20 00:01:36 Lophie has quit (Ping timeout: 245 seconds)
9 2013-04-20 00:01:43 <saracen> (you were reading the pdf again as usual...)
10 2013-04-20 00:02:33 <sipa> who doesnt right?
11 2013-04-20 00:02:44 <zw> i gotta go and this is like a nail biter for some reason
12 2013-04-20 00:03:29 Diapolis has quit (Ping timeout: 252 seconds)
13 2013-04-20 00:03:30 Diapolis_ has quit (Read error: Connection reset by peer)
14 2013-04-20 00:03:40 <saracen> I'm intrigued too. It's the first time I've seen anybody come here having already read the PDF
15 2013-04-20 00:04:15 dbe has joined
16 2013-04-20 00:04:18 Irencus has quit ()
17 2013-04-20 00:04:33 <saracen> Maybe he's having problems with propagation time
18 2013-04-20 00:04:38 dbe is now known as Guest88228
19 2013-04-20 00:05:46 Lophie_ has quit (Ping timeout: 245 seconds)
20 2013-04-20 00:06:20 <zw> without knowing his remarks, it really is hard to tell eh
21 2013-04-20 00:08:05 ralphtheninja has joined
22 2013-04-20 00:08:18 Tantadruj has joined
23 2013-04-20 00:08:52 CodesInChaos_ has quit (Ping timeout: 256 seconds)
24 2013-04-20 00:08:53 i2pRelay has quit (Remote host closed the connection)
25 2013-04-20 00:09:07 joesmoe has quit (Ping timeout: 264 seconds)
26 2013-04-20 00:09:25 i2pRelay has joined
27 2013-04-20 00:09:44 TwilightSparklee has quit (Quit: Colloquy for iPhone - http://colloquy.mobi)
28 2013-04-20 00:10:39 rdymac has quit (Read error: Connection reset by peer)
29 2013-04-20 00:11:21 jaequery has joined
30 2013-04-20 00:11:31 rdymac has joined
31 2013-04-20 00:11:31 Michail1_ is now known as Michail1
32 2013-04-20 00:11:56 <sipa> gmaxwell: there is _something_ to be learnt from observed public keys in the chain, assuming no hashing in between
33 2013-04-20 00:12:45 reCrypto1 has joined
34 2013-04-20 00:13:22 <sipa> if you see several pubkeys as inputs in a tx, you can subtract them from eachother, try to compute the 'gcd' from them (try some small numbers, checking whether multiplying the result with constants results in a different difference, ...)
35 2013-04-20 00:14:11 <sipa> doing that on many transactions, you could reasonably be able to find common gcds among different transactions, making it much more likely they are from the same sender
36 2013-04-20 00:14:27 <vrs> that's the same as the rsa birthday attack, isn't it?
37 2013-04-20 00:14:32 reCrypto has quit (Ping timeout: 258 seconds)
38 2013-04-20 00:15:44 Haifisch_ has joined
39 2013-04-20 00:15:44 Haifisch has quit (Read error: Connection reset by peer)
40 2013-04-20 00:16:41 richcollins has quit (Quit: richcollins)
41 2013-04-20 00:16:53 <vrs> https://www.nytimes.com/2012/02/15/technology/researchers-find-flaw-in-an-online-encryption-method.html?hp&_r=0 http://eprint.iacr.org/2012/064.pdf this one
42 2013-04-20 00:16:56 i2pRelay has quit (Remote host closed the connection)
43 2013-04-20 00:17:10 TwilightSparklee has joined
44 2013-04-20 00:17:28 i2pRelay has joined
45 2013-04-20 00:18:44 <vrs> I don't know how ecdsa works so I don't know how well it translates
46 2013-04-20 00:18:45 reCrypto1 has quit (Quit: Leaving.)
47 2013-04-20 00:18:50 reCrypto has joined
48 2013-04-20 00:20:50 nus- has joined
49 2013-04-20 00:22:55 nus has quit (Read error: Connection reset by peer)
50 2013-04-20 00:22:55 nus-- has joined
51 2013-04-20 00:23:33 B0g4r7 has quit (Ping timeout: 276 seconds)
52 2013-04-20 00:24:58 i2pRelay has quit (Remote host closed the connection)
53 2013-04-20 00:25:30 i2pRelay has joined
54 2013-04-20 00:25:45 nus- has quit (Read error: Connection reset by peer)
55 2013-04-20 00:26:18 nus has joined
56 2013-04-20 00:26:26 nus-- has quit (Read error: Connection reset by peer)
57 2013-04-20 00:26:51 toffoo has joined
58 2013-04-20 00:28:20 robocoin has quit (Ping timeout: 258 seconds)
59 2013-04-20 00:28:21 macboz has joined
60 2013-04-20 00:28:52 CodesInChaos has joined
61 2013-04-20 00:30:10 TwilightSparklee has quit (Quit: Colloquy for iPhone - http://colloquy.mobi)
62 2013-04-20 00:30:10 xenesis has quit (Read error: Operation timed out)
63 2013-04-20 00:31:01 Btceldur has quit (Ping timeout: 248 seconds)
64 2013-04-20 00:31:23 B0g4r7 has joined
65 2013-04-20 00:32:14 xenesis has joined
66 2013-04-20 00:33:01 joesmoe has joined
67 2013-04-20 00:33:01 i2pRelay has quit (Remote host closed the connection)
68 2013-04-20 00:33:19 reCrypto has quit (Ping timeout: 258 seconds)
69 2013-04-20 00:33:33 i2pRelay has joined
70 2013-04-20 00:35:33 clarkm_ has joined
71 2013-04-20 00:35:50 clarkm_ has left ()
72 2013-04-20 00:36:45 colintulloch has joined
73 2013-04-20 00:36:55 colintulloch is now known as ColinT
74 2013-04-20 00:37:08 bitcoinmike has joined
75 2013-04-20 00:37:48 clarkm has left ()
76 2013-04-20 00:38:02 joesmoe has quit (Ping timeout: 252 seconds)
77 2013-04-20 00:39:51 joesmoe has joined
78 2013-04-20 00:41:03 i2pRelay has quit (Remote host closed the connection)
79 2013-04-20 00:41:08 ielo has quit (Ping timeout: 256 seconds)
80 2013-04-20 00:41:20 wamatt has quit (Quit: wamatt)
81 2013-04-20 00:41:35 i2pRelay has joined
82 2013-04-20 00:45:31 <dino__> sipa what's a "gcd"
83 2013-04-20 00:45:39 Azetab has quit (Quit: Azetab)
84 2013-04-20 00:46:00 <vrs> greatest common denominator, used in euclid's algorithm for example
85 2013-04-20 00:46:21 <vrs> err computed by*
86 2013-04-20 00:46:26 <dino__> vrs That's interesting
87 2013-04-20 00:46:41 <vrs> greatest common divisor*
88 2013-04-20 00:46:53 <vrs> my english, meh
89 2013-04-20 00:46:58 dr0ne_ is now known as sleep!~airlia@c-24-20-141-205.hsd1.or.comcast.net|dr0ne_
90 2013-04-20 00:47:37 <dino__> I always wondered if there was a way to deduce some common ownership amongst addresses. For example, if someone pays me 10 BTC, I can look at the transaction and see the inputs for those BTC - might be a few other transactions used as input to mine, with some change going back. Would be interesting to see the source, or path of those coins.
91 2013-04-20 00:47:59 Cache_Money has joined
92 2013-04-20 00:48:36 <dino__> If someone stole a bunch of coins, there is some kind of transaction trail - probably passing through a bunch of addresses. Might be interesting to try to follow the path and look for relationships.
93 2013-04-20 00:49:04 i2pRelay has quit (Remote host closed the connection)
94 2013-04-20 00:49:06 richcollins has joined
95 2013-04-20 00:49:30 <vrs> yes, that's been done
96 2013-04-20 00:49:34 Tantadruj has quit (Quit: DoubleRecall Turns Paywalls Into Advertising Dollars - NYTimes.com http://nyti.ms/odHOgy)
97 2013-04-20 00:49:36 i2pRelay has joined
98 2013-04-20 00:49:41 denisx has joined
99 2013-04-20 00:49:52 Azetab has joined
100 2013-04-20 00:50:21 <vrs> taint analysis
101 2013-04-20 00:50:28 <dino__> vrs anywhere I can read about that?
102 2013-04-20 00:50:41 <dino__> I'm sure it gets really messy, very quickly, but might be interesting.
103 2013-04-20 00:51:05 <moore> one can build things like this: http://bitcoin-r.nfshost.com/
104 2013-04-20 00:51:16 <moore> I have a not so good tool that built that
105 2013-04-20 00:51:32 <moore> it shows the local graph around a given address
106 2013-04-20 00:53:17 <vrs> dino__: yes it does become really messy
107 2013-04-20 00:53:36 <vrs> https://en.bitcoin.it/wiki/Anonymity https://en.bitcoin.it/wiki/Mixing_service
108 2013-04-20 00:54:08 <dino__> vrs of course, mixing kills tracing, but how many people use it?
109 2013-04-20 00:54:50 <vrs> personally I'd only use it for separating identities when I absolutely have to move bitcoins between them
110 2013-04-20 00:55:09 reCrypto has joined
111 2013-04-20 00:55:28 <vrs> so, I don't know, probably relatively few
112 2013-04-20 00:56:55 <vrs> I don't know if people have attempted to measure the mixing services yet
113 2013-04-20 00:57:06 i2pRelay has quit (Remote host closed the connection)
114 2013-04-20 00:57:39 i2pRelay has joined
115 2013-04-20 00:59:17 ProfNeurus has joined
116 2013-04-20 00:59:17 ProfNeurus has quit (Changing host)
117 2013-04-20 00:59:17 ProfNeurus has joined
118 2013-04-20 00:59:31 bitit has joined
119 2013-04-20 01:01:16 Bohren has quit (Remote host closed the connection)
120 2013-04-20 01:02:18 <gmaxwell> sipa: right, assuming no hash.
121 2013-04-20 01:02:24 arij_ has joined
122 2013-04-20 01:02:33 canooon has joined
123 2013-04-20 01:03:17 arij has quit (Ping timeout: 240 seconds)
124 2013-04-20 01:03:40 richcollins has quit (Quit: richcollins)
125 2013-04-20 01:03:55 Bohren has joined
126 2013-04-20 01:04:49 jaequery has quit (Quit: Computer has gone to sleep.)
127 2013-04-20 01:05:09 i2pRelay has quit (Remote host closed the connection)
128 2013-04-20 01:05:41 i2pRelay has joined
129 2013-04-20 01:06:44 torsthaldo has quit (Remote host closed the connection)
130 2013-04-20 01:08:51 torsthaldo has joined
131 2013-04-20 01:13:04 qbasicer has quit (Read error: No route to host)
132 2013-04-20 01:13:11 i2pRelay has quit (Remote host closed the connection)
133 2013-04-20 01:13:43 i2pRelay has joined
134 2013-04-20 01:13:47 qbasicer has joined
135 2013-04-20 01:13:50 systemParanoid has quit (Ping timeout: 272 seconds)
136 2013-04-20 01:13:55 CodesInChaos has quit (Ping timeout: 260 seconds)
137 2013-04-20 01:15:36 Haifisch_ is now known as Haifisch
138 2013-04-20 01:15:45 TradeFortress has joined
139 2013-04-20 01:17:12 john5223 has quit (Ping timeout: 252 seconds)
140 2013-04-20 01:17:38 da2ce7 has joined
141 2013-04-20 01:19:56 Bohren has quit (Remote host closed the connection)
142 2013-04-20 01:21:13 i2pRelay has quit (Remote host closed the connection)
143 2013-04-20 01:21:28 xenesis has quit (Read error: Operation timed out)
144 2013-04-20 01:21:36 imsaguy has joined
145 2013-04-20 01:21:45 i2pRelay has joined
146 2013-04-20 01:22:42 Bohren has joined
147 2013-04-20 01:23:42 xenesis has joined
148 2013-04-20 01:25:23 <zw> the beauty in a good bitcoin system is that it will always be much more incentive to use x computational power to mine new blocks rather than to use it to undermine the system
149 2013-04-20 01:25:24 <zw> i think
150 2013-04-20 01:25:28 Bohren has quit (Remote host closed the connection)
151 2013-04-20 01:25:39 TradeFortress has quit (Read error: Connection reset by peer)
152 2013-04-20 01:25:54 arij_ is now known as arij
153 2013-04-20 01:26:07 arij has quit (Changing host)
154 2013-04-20 01:26:07 arij has joined
155 2013-04-20 01:26:15 john5223 has joined
156 2013-04-20 01:28:12 <zw> hm i suppose when there's massive complexity and probably if any currency is involved all attacks should be analyzed
157 2013-04-20 01:29:16 i2pRelay has quit (Remote host closed the connection)
158 2013-04-20 01:29:47 i2pRelay has joined
159 2013-04-20 01:29:52 Tantadruj has joined
160 2013-04-20 01:29:54 <zw> that birthday attack is probably possible, but it would take much computation not to mention a certain level of sophistication
161 2013-04-20 01:30:05 <zw> probably more worthwhile to mine blocks?
162 2013-04-20 01:31:34 gmatteson_ has joined
163 2013-04-20 01:32:35 <gmatteson_> quick question. i was reading - https://en.bitcoin.it/wiki/Accounts_explained and this section "Customer creates an account on the website: web server either assigns them a unique customer id number or uses their email address or other unique identifier, calls getaccountaddress "userid" and tells the customer to send to that address to fund their account. " at the bottom of the page, does this mean that the customer
164 2013-04-20 01:32:37 <zw> perhaps in essense, the security of transactions ect should be somewhat dependant on mining difficulty
165 2013-04-20 01:33:49 <zw> not that it isn't already
166 2013-04-20 01:33:52 <zw> ok rant over
167 2013-04-20 01:34:47 <vrs> gmatteson_: your message was cut off at "does this mean that the customer"
168 2013-04-20 01:34:48 <gmatteson_> nevermind. I just saw i missed the answer! Bitcoin version 0.3.18 and later implements several RPC methods to maintain separate account balances in a single Bitcoin wallet. The accounts feature makes it easy to create web services that maintain a separate bitcoin balance for each customer. .
169 2013-04-20 01:35:03 <gmatteson_> does this mean that the customers would all be using the same wallet but different account addresses? that was my question but i found the answer
170 2013-04-20 01:35:04 <gmatteson_> thanks
171 2013-04-20 01:35:19 <jspilman> if I have raw transaction hex for a fully signed transaction, but none of the inputs or keys are in bitcoind's blockchain or wallet, if I do 'signrawtransaction <hex>' ... would you expect it to return complete:true?
172 2013-04-20 01:35:45 <gmatteson_> one last question... what would the JSON command look like using c# to create a new account?
173 2013-04-20 01:36:17 <gmatteson_> i am able to query the server through the web but i can't seem to find the API to create the account in the wallet
174 2013-04-20 01:37:07 robbak has quit (Remote host closed the connection)
175 2013-04-20 01:37:19 i2pRelay has quit (Remote host closed the connection)
176 2013-04-20 01:37:35 robbak has joined
177 2013-04-20 01:37:46 <jspilman> or is there another CLI command that can check if a rawtransaction is fully signed and valid without sending it?
178 2013-04-20 01:37:51 i2pRelay has joined
179 2013-04-20 01:37:58 TradeFortress has joined
180 2013-04-20 01:39:03 <jspilman> oh, looks like I need to pass in all the inputs to 'signrawtransaction' for it to check completeness, which makes sense of course
181 2013-04-20 01:40:57 qbasicer has quit (Read error: No route to host)
182 2013-04-20 01:41:41 qbasicer has joined
183 2013-04-20 01:44:34 <phantomcircuit> gmatteson_, do NOT use the accounts feature
184 2013-04-20 01:44:38 <gmaxwell> http://luke.dashjr.org/programs/bitcoin/files/charts/bestblocks.html < somewhat better but not as much as I'd hoped
185 2013-04-20 01:44:59 <phantomcircuit> seriously
186 2013-04-20 01:45:00 <phantomcircuit> just dont
187 2013-04-20 01:45:08 <gmatteson_> okay, what would you suggest? is there a better way?
188 2013-04-20 01:45:20 i2pRelay has quit (Remote host closed the connection)
189 2013-04-20 01:45:28 <phantomcircuit> gmatteson_, keep a mapping of users to addresses in your normal database
190 2013-04-20 01:45:53 i2pRelay has joined
191 2013-04-20 01:45:55 <gmatteson_> yup, i have that part. each user account is being tracked in a SQL database using UserID which is a unique number
192 2013-04-20 01:46:29 <phantomcircuit> gmatteson_, then just simply have a transaction list
193 2013-04-20 01:46:47 <gmatteson_> so then i would just create a new address in the server's wallet based on the userID or their logon name
194 2013-04-20 01:47:10 <phantomcircuit> gmatteson_, just create a new address and assign it to the user in your database
195 2013-04-20 01:47:30 <phantomcircuit> do not try to use the accounts feature in bitcoin to keep track of users bitcoin balances
196 2013-04-20 01:47:46 <phantomcircuit> it doesn't work the way you expect it to and is effectively impossible to maintain current backups
197 2013-04-20 01:48:01 <gmatteson_> okay. thanks! if i wanted to return the balance of a users account, would i have to query the transaction list?
198 2013-04-20 01:48:06 <gmatteson_> okay, thanks for the information
199 2013-04-20 01:48:33 joesmoe has quit (Ping timeout: 252 seconds)
200 2013-04-20 01:49:50 nova907767 has joined
201 2013-04-20 01:50:08 ProfNeurus has quit (Quit: ProfNeurus)
202 2013-04-20 01:51:56 Cache_Money1 has joined
203 2013-04-20 01:52:55 joesmoe has joined
204 2013-04-20 01:53:06 nova90 has quit (Ping timeout: 272 seconds)
205 2013-04-20 01:53:22 i2pRelay has quit (Remote host closed the connection)
206 2013-04-20 01:53:55 i2pRelay has joined
207 2013-04-20 01:54:50 reCrypto has quit (Read error: Connection reset by peer)
208 2013-04-20 01:55:31 reCrypto has joined
209 2013-04-20 01:55:45 owowo has quit (Quit: sayonara)
210 2013-04-20 01:55:56 Cache_Money has quit (Ping timeout: 256 seconds)
211 2013-04-20 01:56:01 <gmatteson_> phantomcircuit, do you happen to know what API to use to create a new address?
212 2013-04-20 01:56:11 <gmatteson_> i dont see anything listed in the API reference
213 2013-04-20 01:56:21 <iwilcox> getnewaddress IIRC
214 2013-04-20 01:56:25 <phantomcircuit> getnewaddress
215 2013-04-20 01:57:01 <gmatteson_> thank you guys, very helpful
216 2013-04-20 01:58:16 <phantomcircuit> gmatteson_, https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list
217 2013-04-20 01:58:41 <skinnkavaj> can anyone donate some testnet coins?
218 2013-04-20 01:58:41 <gmatteson_> excellent. thanks. ill let you know how it turns out
219 2013-04-20 01:58:55 Bohren has joined
220 2013-04-20 02:01:24 i2pRelay has quit (Remote host closed the connection)
221 2013-04-20 02:01:54 Guest88228 has quit (Ping timeout: 256 seconds)
222 2013-04-20 02:01:56 i2pRelay has joined
223 2013-04-20 02:02:23 john5223 has quit (Ping timeout: 245 seconds)
224 2013-04-20 02:03:55 <MC1984_> skinnkavaj wat for
225 2013-04-20 02:08:50 qbasicer has quit (Read error: No route to host)
226 2013-04-20 02:09:27 i2pRelay has quit (Remote host closed the connection)
227 2013-04-20 02:09:58 i2pRelay has joined
228 2013-04-20 02:10:55 qbasicer has joined
229 2013-04-20 02:11:52 eoss has quit (Read error: Connection reset by peer)
230 2013-04-20 02:14:26 diki has joined
231 2013-04-20 02:16:22 xait9999 has joined
232 2013-04-20 02:16:30 <diki> I was able to create my own C implementation of constructing the merkle hash for a genesis block. I can do it just fine with Bitcoin's timestamp and pubkey, but when I tried with some alt-coins for verification, it produced different results. I then saw that the other chains have an apostrophe that appear to get replaced with some bytes
233 2013-04-20 02:16:38 <diki> can anyone tell me if there is something like that?
234 2013-04-20 02:17:02 <diki> *the other chains have an apostrophe in their timestamp message
235 2013-04-20 02:17:29 i2pRelay has quit (Remote host closed the connection)
236 2013-04-20 02:18:01 i2pRelay has joined
237 2013-04-20 02:18:17 orblivion has joined
238 2013-04-20 02:19:11 ColinT has quit (Quit: Leaving...)
239 2013-04-20 02:20:46 <fishfish> hey guys, anyone aware of anyone building a distributed, decentralized exchange? I love the idea but I don't see how it would work OTC
240 2013-04-20 02:21:08 <diki> I read about Buttercoin
241 2013-04-20 02:21:16 kuzetsa has quit (Read error: Operation timed out)
242 2013-04-20 02:21:55 <diki> I'd love to see how anyone can move fiat in and out from a decentralized exchange
243 2013-04-20 02:22:07 <fishfish> well that's the thing isn't it
244 2013-04-20 02:22:10 <fishfish> :)
245 2013-04-20 02:22:17 <fishfish> i don't get that part at all
246 2013-04-20 02:22:35 kuzetsa has joined
247 2013-04-20 02:22:37 xenesis has quit (Read error: Operation timed out)
248 2013-04-20 02:22:44 <fishfish> i mean in a 'don't end up in jail for a million year for breaching AML' sorta way
249 2013-04-20 02:23:22 <diki> which means a decentralized exchange can probably(and I do emphasize on this word, as I might be wrong) enable users to trade only between btc and altcoins
250 2013-04-20 02:23:39 <phantomcircuit> fishfish, it's not possible
251 2013-04-20 02:23:48 duder has quit (Ping timeout: 276 seconds)
252 2013-04-20 02:24:17 quijibo has quit (Ping timeout: 252 seconds)
253 2013-04-20 02:24:41 duder has joined
254 2013-04-20 02:24:54 treaki__ has joined
255 2013-04-20 02:24:59 <phantomcircuit> fishfish, fundamentally a "trade" is an agreement between parties to actually exchange a specific amount at a specific price
256 2013-04-20 02:25:06 <phantomcircuit> decentralizing that is possible
257 2013-04-20 02:25:18 <phantomcircuit> but decentralizing the actual exchange is complicated and risky
258 2013-04-20 02:25:29 <phantomcircuit> centralized versions will always win out
259 2013-04-20 02:25:30 i2pRelay has quit (Remote host closed the connection)
260 2013-04-20 02:25:42 <fishfish> thats indeed my current understanding of things
261 2013-04-20 02:25:47 treaki_ has quit (Ping timeout: 260 seconds)
262 2013-04-20 02:26:02 i2pRelay has joined
263 2013-04-20 02:26:35 <phantomcircuit> fishfish, good on you then :)
264 2013-04-20 02:26:41 <fishfish> shame
265 2013-04-20 02:27:08 franl has joined
266 2013-04-20 02:27:12 <fishfish> because i see centralization of power as the demise of btc, or at least a good part of what will prevent its entry in the mainstream.
267 2013-04-20 02:28:01 <phantomcircuit> fishfish, the joke is that as bitcoin becomes larger the exchanges should become less and less important
268 2013-04-20 02:29:00 PhantomSpark has quit (Ping timeout: 276 seconds)
269 2013-04-20 02:29:25 <fishfish> you mean in terms of transactions processed? through merchant adoption?
270 2013-04-20 02:30:14 <diki> phantomcircuit:Exchanges will not become less important
271 2013-04-20 02:30:20 <diki> they will become more important in fact
272 2013-04-20 02:30:47 <diki> Exchanging say Bitcoin for gold or silver, or other alt-coins
273 2013-04-20 02:30:58 robbak has quit (Remote host closed the connection)
274 2013-04-20 02:31:21 robbak has joined
275 2013-04-20 02:31:31 <fishfish> what i'm particularly concerned about, is that if the money supply is irrelevant, because of the 8 decimals, then why is satoshi+team holding on to 1m btc, and why are the what's their face brothers owning 1% of the coinage in circulation.
276 2013-04-20 02:31:46 <phantomcircuit> fishfish, bitcoins are currently largely worth something because you can get USD/EUR/ETC for them
277 2013-04-20 02:32:09 <phantomcircuit> fishfish, as the market for regular things you can purchase expands, that becomes less important
278 2013-04-20 02:32:19 orblivion has quit (Ping timeout: 260 seconds)
279 2013-04-20 02:32:35 <vrs> fishfish: it's not even proven that satoshi or whoever mined all those early coins still has access to them
280 2013-04-20 02:32:43 <fishfish> vrs: true
281 2013-04-20 02:32:50 <fishfish> nothing is proven
282 2013-04-20 02:33:29 <vrs> I mean, there's a really plausible theory in the forums that much of the first year mining was a network backbone miner by satoshi and that the coins went nowhere
283 2013-04-20 02:33:32 i2pRelay has quit (Remote host closed the connection)
284 2013-04-20 02:33:41 <phantomcircuit> fishfish, im not sure anybody sane has ever said the money supply is irrelevant, just that the money supply being limited will not stop people from transacting in small fractions of the standard unit
285 2013-04-20 02:33:41 <vrs> (second part being less plausible)
286 2013-04-20 02:34:04 i2pRelay has joined
287 2013-04-20 02:34:13 <phantomcircuit> vrs, some of the very early coins have been spent and others have not
288 2013-04-20 02:34:14 reCrypto has quit (Read error: Connection reset by peer)
289 2013-04-20 02:34:28 reCrypto has joined
290 2013-04-20 02:34:29 <phantomcircuit> i think it's pretty unlikely that anybody has the private keys for the ones that have been not
291 2013-04-20 02:34:31 <vrs> coins from the backbone miner pattern?
292 2013-04-20 02:34:58 <phantomcircuit> simply because it would be terrible for maintaining anonymity to leave them in the original coinbase transactions
293 2013-04-20 02:35:12 <phantomcircuit> even just a few transactions a month would heavily obscure their origin
294 2013-04-20 02:35:34 <phantomcircuit> and satoshi obviously went to a great deal of effort to obscure his/her/their identity
295 2013-04-20 02:35:54 <vrs> well if zerocoin becomes viable it's entirely possible these might enter the coin pool
296 2013-04-20 02:35:57 <phantomcircuit> so it simply doesn't make any sense that they would have those private keys and not be actively attempting to hide their origin
297 2013-04-20 02:36:02 <vrs> that would imply a great deal of foresight though
298 2013-04-20 02:36:17 <vrs> but yes, makes sense
299 2013-04-20 02:36:58 daughterly has joined
300 2013-04-20 02:38:23 Casimir1904 has quit (Ping timeout: 260 seconds)
301 2013-04-20 02:39:16 johnsoft1 has joined
302 2013-04-20 02:40:27 Bohren has quit (Ping timeout: 256 seconds)
303 2013-04-20 02:40:52 franl has quit (Ping timeout: 252 seconds)
304 2013-04-20 02:41:04 denisx has quit (Quit: denisx)
305 2013-04-20 02:41:33 viperhr1 has joined
306 2013-04-20 02:41:34 i2pRelay has quit (Remote host closed the connection)
307 2013-04-20 02:41:44 johnsoft has quit (Ping timeout: 258 seconds)
308 2013-04-20 02:42:06 i2pRelay has joined
309 2013-04-20 02:42:13 Belxjander has quit (Read error: Connection reset by peer)
310 2013-04-20 02:43:00 da2ce7 has quit (Ping timeout: 252 seconds)
311 2013-04-20 02:43:48 Belxjander has joined
312 2013-04-20 02:45:14 viperhr has quit (Ping timeout: 256 seconds)
313 2013-04-20 02:45:50 quijibo has joined
314 2013-04-20 02:47:14 canooon has quit (Ping timeout: 256 seconds)
315 2013-04-20 02:48:11 RazielZ has quit (Ping timeout: 246 seconds)
316 2013-04-20 02:49:01 Azetab has quit (Quit: Azetab)
317 2013-04-20 02:49:36 ProfMac has joined
318 2013-04-20 02:49:37 i2pRelay has quit (Remote host closed the connection)
319 2013-04-20 02:49:44 Azetab has joined
320 2013-04-20 02:50:09 i2pRelay has joined
321 2013-04-20 02:51:54 canooon has joined
322 2013-04-20 02:51:55 phish has joined
323 2013-04-20 02:54:28 phish- has quit (Ping timeout: 245 seconds)
324 2013-04-20 02:55:46 ProfMac has quit (Ping timeout: 245 seconds)
325 2013-04-20 02:56:05 fiesh has quit (Ping timeout: 248 seconds)
326 2013-04-20 02:57:41 i2pRelay has quit (Remote host closed the connection)
327 2013-04-20 02:58:12 i2pRelay has joined
328 2013-04-20 02:58:35 rdymac has quit (Quit: This computer has gone to sleep)
329 2013-04-20 02:58:38 fiesh has joined
330 2013-04-20 03:03:41 richcollins has joined
331 2013-04-20 03:04:27 GlitchNZ has joined
332 2013-04-20 03:05:23 ubias has quit (Quit: Leaving)
333 2013-04-20 03:05:42 i2pRelay has quit (Remote host closed the connection)
334 2013-04-20 03:05:58 Cache_Money1 has quit (Quit: Leaving)
335 2013-04-20 03:06:14 i2pRelay has joined
336 2013-04-20 03:08:15 <brocktice> Ah there we go, I changed the MAX_OUTBOUND_CONNECTIONS define and it's now going past 8
337 2013-04-20 03:08:26 phish is now known as phish-
338 2013-04-20 03:09:29 clarkm has joined
339 2013-04-20 03:09:29 clarkm has quit (Changing host)
340 2013-04-20 03:09:29 clarkm has joined
341 2013-04-20 03:11:18 ProfMac has joined
342 2013-04-20 03:11:27 <gmatteson_> what format should my json object being using to create a new address? getnewaddress myemail@domain.com or getnewaddress("myemail@domain.com" etc? i just dont know what format to send the string to the bitcoin server
343 2013-04-20 03:12:14 <gmatteson_> pretty sures its supposed to be the first option.
344 2013-04-20 03:12:42 <gmatteson_> i am using newtonsoft json with C# not sure how to send paramters i cam getting a server 500 error when i use this
345 2013-04-20 03:12:52 <gmatteson_> JObject objJSON = new JObject(); objJSON.Add(new JProperty("jsonrpc", "1.0")); objJSON.Add(new JProperty("id", "1")); objJSON.Add(new JProperty("method", txtAPICommand.Text)); //objJSON.Add(new JProperty("params", txtParameters.Text, new JArray())); objJSON.Add(new JProperty("params", txtParameters.Text));
346 2013-04-20 03:13:01 orblivion has joined
347 2013-04-20 03:13:44 i2pRelay has quit (Remote host closed the connection)
348 2013-04-20 03:14:16 i2pRelay has joined
349 2013-04-20 03:14:33 <kadoban> gmatteson_: there's JSON RPC libraries out there that make this easier, not sure for that language, but...ya
350 2013-04-20 03:19:07 reCrypto1 has joined
351 2013-04-20 03:20:38 Sealy has joined
352 2013-04-20 03:20:49 reCrypto has quit (Ping timeout: 258 seconds)
353 2013-04-20 03:20:56 ProfMac has quit (Quit: Page closed)
354 2013-04-20 03:21:45 i2pRelay has quit (Remote host closed the connection)
355 2013-04-20 03:22:17 i2pRelay has joined
356 2013-04-20 03:29:48 i2pRelay has quit (Remote host closed the connection)
357 2013-04-20 03:30:20 i2pRelay has joined
358 2013-04-20 03:32:56 nsillik has joined
359 2013-04-20 03:35:21 TheLordOfTime has quit (Read error: Operation timed out)
360 2013-04-20 03:35:52 brimster has quit (Read error: Connection reset by peer)
361 2013-04-20 03:43:00 TheLordOfTime has joined
362 2013-04-20 03:43:00 brimster has joined
363 2013-04-20 03:43:00 wamatt has joined
364 2013-04-20 03:45:00 torsthaldo has joined
365 2013-04-20 03:45:51 i2pRelay has quit (Remote host closed the connection)
366 2013-04-20 03:46:02 Plinker has quit (Remote host closed the connection)
367 2013-04-20 03:46:23 i2pRelay has joined
368 2013-04-20 03:46:31 brson has quit (Ping timeout: 260 seconds)
369 2013-04-20 03:46:35 jaequery has joined
370 2013-04-20 03:46:42 Plinker has joined
371 2013-04-20 03:47:02 xait9999 has quit (Quit: Leaving.)
372 2013-04-20 03:49:14 nsillik has quit (Quit: nsillik)
373 2013-04-20 03:50:41 AndChat377264 has quit (Ping timeout: 256 seconds)
374 2013-04-20 03:52:51 wamatt has quit (Quit: wamatt)
375 2013-04-20 03:53:38 fishfish_ has joined
376 2013-04-20 03:53:51 i2pRelay has quit (Remote host closed the connection)
377 2013-04-20 03:54:24 i2pRelay has joined
378 2013-04-20 03:54:29 Davincij15 has quit (Ping timeout: 252 seconds)
379 2013-04-20 03:55:24 hneio has joined
380 2013-04-20 03:57:21 fishfish has quit (Ping timeout: 248 seconds)
381 2013-04-20 03:59:19 nimdAHK_ has quit (Ping timeout: 252 seconds)
382 2013-04-20 03:59:25 bitit has quit (Remote host closed the connection)
383 2013-04-20 03:59:42 hof has quit (Ping timeout: 264 seconds)
384 2013-04-20 04:01:52 i2pRelay has quit (Remote host closed the connection)
385 2013-04-20 04:02:24 i2pRelay has joined
386 2013-04-20 04:05:21 bitit has joined
387 2013-04-20 04:09:54 i2pRelay has quit (Remote host closed the connection)
388 2013-04-20 04:10:26 i2pRelay has joined
389 2013-04-20 04:10:54 eoss has joined
390 2013-04-20 04:12:56 [7] has quit (Disconnected by services)
391 2013-04-20 04:13:05 TheSeven has joined
392 2013-04-20 04:17:56 i2pRelay has quit (Remote host closed the connection)
393 2013-04-20 04:18:19 orblivion has quit (Read error: Connection reset by peer)
394 2013-04-20 04:18:28 i2pRelay has joined
395 2013-04-20 04:18:30 richcollins has quit (Quit: richcollins)
396 2013-04-20 04:18:45 robbak has quit (Remote host closed the connection)
397 2013-04-20 04:19:12 robbak has joined
398 2013-04-20 04:21:13 wamatt has joined
399 2013-04-20 04:21:13 richcollins has joined
400 2013-04-20 04:21:16 orblivion has joined
401 2013-04-20 04:24:24 nimdAHK has joined
402 2013-04-20 04:24:43 richcollins has quit (Client Quit)
403 2013-04-20 04:25:13 hneio has quit (Ping timeout: 258 seconds)
404 2013-04-20 04:25:32 ThomasV has joined
405 2013-04-20 04:25:42 Tom_Soft has joined
406 2013-04-20 04:25:59 i2pRelay has quit (Remote host closed the connection)
407 2013-04-20 04:26:31 i2pRelay has joined
408 2013-04-20 04:26:33 reCrypto1 has quit (Quit: Leaving.)
409 2013-04-20 04:26:44 reCrypto has joined
410 2013-04-20 04:27:40 Haifisch has joined
411 2013-04-20 04:29:34 wamatt has quit (Quit: wamatt)
412 2013-04-20 04:30:03 macboz has quit (Quit: This computer has gone to sleep)
413 2013-04-20 04:30:09 AlbertTuring has joined
414 2013-04-20 04:30:37 wamatt has joined
415 2013-04-20 04:31:21 reCrypto has quit (Ping timeout: 258 seconds)
416 2013-04-20 04:33:24 banghouse has quit (Remote host closed the connection)
417 2013-04-20 04:34:01 i2pRelay has quit (Remote host closed the connection)
418 2013-04-20 04:34:33 i2pRelay has joined
419 2013-04-20 04:36:33 AndChat377264 has joined
420 2013-04-20 04:37:06 reCrypto has joined
421 2013-04-20 04:40:33 petertodd has quit (Ping timeout: 258 seconds)
422 2013-04-20 04:41:42 eoss has quit (Ping timeout: 258 seconds)
423 2013-04-20 04:42:04 i2pRelay has quit (Remote host closed the connection)
424 2013-04-20 04:42:21 robbak has quit (Remote host closed the connection)
425 2013-04-20 04:42:36 i2pRelay has joined
426 2013-04-20 04:42:48 robbak has joined
427 2013-04-20 04:45:35 defunctzombie is now known as defunctzombie_zz
428 2013-04-20 04:46:10 orblivion has quit (Read error: Connection reset by peer)
429 2013-04-20 04:48:06 orblivion has joined
430 2013-04-20 04:50:06 i2pRelay has quit (Remote host closed the connection)
431 2013-04-20 04:50:38 i2pRelay has joined
432 2013-04-20 04:50:57 lenny__ has joined
433 2013-04-20 04:51:48 <lenny__> hello, is anyone experiencing issues with the blockchain api's?
434 2013-04-20 04:53:24 <Luke-Jr> hard to experience issues with it when you don't use it
435 2013-04-20 04:53:31 <Luke-Jr> also, you mean blockchain.INFO
436 2013-04-20 04:54:21 gmatteson__ has joined
437 2013-04-20 04:54:23 <Luke-Jr> the blockchain has no API
438 2013-04-20 04:54:47 <diki> Luke-Jr:is there some kind of escaping
439 2013-04-20 04:54:54 <diki> done in the scripting system?
440 2013-04-20 04:55:07 <diki> Like for instance apostrophe or other characters?
441 2013-04-20 04:55:26 <gmatteson__> curl --user user --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/ - how would i format the parameters section of this to support the getnewaddress?
442 2013-04-20 04:55:27 <Luke-Jr> diki: that doesn't even make sense
443 2013-04-20 04:55:44 <diki> Luke-Jr:I wrote an application that given a timestamp,pubkey and nbits calculates the merkle root
444 2013-04-20 04:55:50 <diki> works fine with satoshi's message
445 2013-04-20 04:56:13 <diki> But when I tried it with other chains
446 2013-04-20 04:56:26 <diki> which have timestamps with apostrophes, then it produced different results
447 2013-04-20 04:57:16 <diki> I compared it with the other coinbases and saw that the apostrophe was escaped and different bytes had replaced it
448 2013-04-20 04:58:10 i2pRelay has quit (Remote host closed the connection)
449 2013-04-20 04:58:18 <Luke-Jr> diki: what the heck are you talking about?
450 2013-04-20 04:58:27 <Luke-Jr> transactions don't have timestamps
451 2013-04-20 04:58:35 <diki> genesis block's coinbase does
452 2013-04-20 04:58:41 <Luke-Jr> ………………………………..
453 2013-04-20 04:58:42 i2pRelay has joined
454 2013-04-20 04:58:48 <phantomcircuit> im guessing he's talking about the rpc api
455 2013-04-20 04:59:04 <diki> No, I am talking about the timestamp, i.e satoshi's message.
456 2013-04-20 04:59:18 <diki> even the variable is called pszTimestamp
457 2013-04-20 04:59:29 <Luke-Jr> phantomcircuit: I'm guessing he hasn't read the spec
458 2013-04-20 05:01:44 <lenny__> yes Luke-Jr you are correct i did mean blockchain.info . The websocket was connecting before but not receiving anything. Looks like it was a fluke or something on my end although i didn't change anything in my code.
459 2013-04-20 05:02:09 <Luke-Jr> lenny__: this isn't the channel for that, I bet nobody active here has ever used it
460 2013-04-20 05:02:51 <lenny__> well my apologies
461 2013-04-20 05:03:16 <Luke-Jr> np, you might try #bitcoin-tech
462 2013-04-20 05:04:22 <lenny__> thank you, I will head on over sorry about that.
463 2013-04-20 05:04:26 lenny__ has left ("Leaving")
464 2013-04-20 05:06:12 i2pRelay has quit (Remote host closed the connection)
465 2013-04-20 05:06:44 i2pRelay has joined
466 2013-04-20 05:07:29 brwyatt is now known as brwyatt|Away
467 2013-04-20 05:07:53 petertodd has joined
468 2013-04-20 05:09:17 saracen has quit (Ping timeout: 240 seconds)
469 2013-04-20 05:10:33 twobitcoins has joined
470 2013-04-20 05:12:13 saracen has joined
471 2013-04-20 05:12:19 GlitchNZ has quit ()
472 2013-04-20 05:14:13 i2pRelay has quit (Remote host closed the connection)
473 2013-04-20 05:14:45 i2pRelay has joined
474 2013-04-20 05:17:23 skeledrew has quit (Read error: Connection reset by peer)
475 2013-04-20 05:17:36 skeledrew has joined
476 2013-04-20 05:17:53 reCrypto has quit (Read error: Connection reset by peer)
477 2013-04-20 05:18:51 roconnor has quit (Remote host closed the connection)
478 2013-04-20 05:19:29 <jspilman> re: lenny__ - was like twilight zone trying to figure out what he was talking about
479 2013-04-20 05:19:35 reCrypto has joined
480 2013-04-20 05:22:13 i2pRelay has quit (Remote host closed the connection)
481 2013-04-20 05:22:46 i2pRelay has joined
482 2013-04-20 05:23:48 paraipan has quit (Quit: Saliendo)
483 2013-04-20 05:26:42 jspilman has quit (Ping timeout: 264 seconds)
484 2013-04-20 05:28:26 milone has quit (Ping timeout: 256 seconds)
485 2013-04-20 05:28:37 jspilman has joined
486 2013-04-20 05:28:54 milone has joined
487 2013-04-20 05:30:15 i2pRelay has quit (Remote host closed the connection)
488 2013-04-20 05:30:47 i2pRelay has joined
489 2013-04-20 05:34:19 AndChat377264 has quit (Read error: No route to host)
490 2013-04-20 05:35:06 dino__ has quit (Quit: Textual IRC Client: www.textualapp.com)
491 2013-04-20 05:38:16 i2pRelay has quit (Remote host closed the connection)
492 2013-04-20 05:38:48 i2pRelay has joined
493 2013-04-20 05:39:24 paybitcoin has joined
494 2013-04-20 05:39:37 AndChat377264 has joined
495 2013-04-20 05:39:49 flykoko has joined
496 2013-04-20 05:39:54 sl1982-Desktop has joined
497 2013-04-20 05:39:58 ksldfjl has joined
498 2013-04-20 05:40:08 _nomazda has joined
499 2013-04-20 05:40:09 aspect__ has joined
500 2013-04-20 05:40:20 BTCOxygen has joined
501 2013-04-20 05:40:35 aspect__ has quit (Client Quit)
502 2013-04-20 05:40:43 aspect__ has joined
503 2013-04-20 05:40:54 AlbertTuring2 has joined
504 2013-04-20 05:40:56 kadoban_ has joined
505 2013-04-20 05:42:24 flykoko has quit (Ping timeout: 256 seconds)
506 2013-04-20 05:42:42 <amiller> has anyone used cbitcoin for anything
507 2013-04-20 05:42:54 vrs_ has joined
508 2013-04-20 05:42:55 wereHams1er has joined
509 2013-04-20 05:43:09 tkolsto_ has joined
510 2013-04-20 05:43:33 JunK-Y_ has joined
511 2013-04-20 05:44:00 phish has joined
512 2013-04-20 05:44:05 arij has quit (Ping timeout: 245 seconds)
513 2013-04-20 05:44:09 fiesh_ has joined
514 2013-04-20 05:44:26 phish- has quit (Disconnected by services)
515 2013-04-20 05:44:30 phish is now known as phish-
516 2013-04-20 05:45:35 petertodd has quit (Ping timeout: 252 seconds)
517 2013-04-20 05:46:19 i2pRelay has quit (Remote host closed the connection)
518 2013-04-20 05:46:42 tumdum_ has joined
519 2013-04-20 05:46:44 RedEmerald_ has joined
520 2013-04-20 05:46:51 i2pRelay has joined
521 2013-04-20 05:47:35 Apexseals has joined
522 2013-04-20 05:47:54 RedEmerald_ is now known as RedEmerald
523 2013-04-20 05:50:25 cuqa has joined
524 2013-04-20 05:50:26 da2ce7 has joined
525 2013-04-20 05:50:38 petertodd has joined
526 2013-04-20 05:51:17 macboz has joined
527 2013-04-20 05:54:22 i2pRelay has quit (Remote host closed the connection)
528 2013-04-20 05:54:54 i2pRelay has joined
529 2013-04-20 05:55:04 Azetab has quit (Quit: Azetab)
530 2013-04-20 05:55:33 mollison has joined
531 2013-04-20 05:58:09 <mollison> i want to create a bunch of wallets. is there anything _wrong_ with starting bitcoin-qt, moving the new wallet.dat to where i want it, and then repeating the process ad infinitum? in particular, should i be concerned about not having good private keys in these wallets due to depleting the entropy on my system?
532 2013-04-20 05:58:10 bitcoinbulletin has quit (Remote host closed the connection)
533 2013-04-20 05:58:49 MKCoin has joined
534 2013-04-20 06:02:20 robbak has quit (Remote host closed the connection)
535 2013-04-20 06:02:24 i2pRelay has quit (Remote host closed the connection)
536 2013-04-20 06:02:52 robbak has joined
537 2013-04-20 06:02:56 i2pRelay has joined
538 2013-04-20 06:04:00 bitcoinbulletin has joined
539 2013-04-20 06:09:50 vigilyn2 has quit (Read error: Connection reset by peer)
540 2013-04-20 06:10:05 vigilyn has joined
541 2013-04-20 06:10:05 vigilyn has quit (Changing host)
542 2013-04-20 06:10:06 vigilyn has joined
543 2013-04-20 06:10:26 i2pRelay has quit (Remote host closed the connection)
544 2013-04-20 06:10:59 i2pRelay has joined
545 2013-04-20 06:18:29 i2pRelay has quit (Remote host closed the connection)
546 2013-04-20 06:18:44 <Luke-Jr> mollison: be sure bitcoin-qt shuts down cleanly each time
547 2013-04-20 06:18:55 kanzure has joined
548 2013-04-20 06:18:59 jspilman01 has joined
549 2013-04-20 06:19:01 i2pRelay has joined
550 2013-04-20 06:19:34 <zw> what ended up happening with the guy who posted the big double spend after chain split
551 2013-04-20 06:19:36 <mollison> Luke-Jr: OK, thanks. so basically i have determined that openssl is using /dev/urandom, but it looks like it checks to make sure that there is enough entropy and adds more if needed... is that correct?
552 2013-04-20 06:20:15 <Luke-Jr> mollison: I would be shocked if OpenSSL used urandom
553 2013-04-20 06:20:31 Toresh has quit (Ping timeout: 264 seconds)
554 2013-04-20 06:20:47 jspilman has quit (Ping timeout: 256 seconds)
555 2013-04-20 06:21:03 Silverion has quit (Ping timeout: 276 seconds)
556 2013-04-20 06:21:22 Thepok has joined
557 2013-04-20 06:21:27 <mollison> Luke-Jr: delete ~/.bitcoin/wallet.dat and do strace bitcion-qt and look at the log, you will see /dev/urandom. also, i am looking at the source code of openssl and i can see that it does (though I can't claim to fully understand openssl... that is certainly what it looks like)
558 2013-04-20 06:22:05 Toresh has joined
559 2013-04-20 06:22:16 Tantadruj has quit (Ping timeout: 256 seconds)
560 2013-04-20 06:23:12 <mollison> Luke-Jr: the relevant file in the openssl source code is crypto/rand/rand_unix.c
561 2013-04-20 06:25:14 <diki> Oh come on dude
562 2013-04-20 06:25:17 <diki> stop being paranoid
563 2013-04-20 06:25:52 Tantadruj has joined
564 2013-04-20 06:26:31 i2pRelay has quit (Remote host closed the connection)
565 2013-04-20 06:27:01 i2pRelay has joined
566 2013-04-20 06:27:45 <mollison> diki: i assume you are the one that knows how to exploit this particular case, then :P
567 2013-04-20 06:27:58 jspilman01 has quit (Remote host closed the connection)
568 2013-04-20 06:28:18 jspilman has joined
569 2013-04-20 06:28:25 <diki> No, but chances are your address will get in my list of addresses to crack either way
570 2013-04-20 06:28:41 gst has quit (Quit: leaving)
571 2013-04-20 06:28:48 <diki> It's going to take a very long time, but it's just an experiment
572 2013-04-20 06:28:51 gfinn has quit (Ping timeout: 276 seconds)
573 2013-04-20 06:29:03 dbe has joined
574 2013-04-20 06:29:08 <diki> I recently optimized by bruteforcer and gained 200% increase in speed per 30k addresses
575 2013-04-20 06:29:25 stretchwarren has joined
576 2013-04-20 06:29:27 dbe is now known as Guest14554
577 2013-04-20 06:29:32 <mollison> diki: but it's just doing a brute force search?
578 2013-04-20 06:29:33 gst has joined
579 2013-04-20 06:29:48 <diki> Yes, like your name, but with a 'c' :P
580 2013-04-20 06:29:50 da2ce7 has joined
581 2013-04-20 06:30:14 <mollison> diki: i didn't get that joke
582 2013-04-20 06:30:19 <diki> In linux a source of entropy is time(NULL)
583 2013-04-20 06:30:36 <diki> among others
584 2013-04-20 06:31:12 <diki> s/In Linux/In OpenSSL on linux
585 2013-04-20 06:31:17 <Luke-Jr> mollison: I'm tempted to replace my /dev/urandom with a link to /dev/random now -.-
586 2013-04-20 06:31:26 <Luke-Jr> gmaxwell: am I missing something? :/
587 2013-04-20 06:32:12 <mollison> Luke-Jr: I tried that symlink idea and I get the same error from the GUI that i get when /dev/urandom is simply removed... probably because openssl tries to open /dev/urandom with O_NONBLOCK which will not work for /dev/random
588 2013-04-20 06:32:24 da2ce7 has quit (2!~kvirc@opentransactions/dev/da2ce7|Read error: Connection reset by peer)
589 2013-04-20 06:32:26 <Luke-Jr> ugh
590 2013-04-20 06:33:27 <mollison> Luke-Jr: I just tried recompiling openssl with /dev/random and removing the O_NONBLOCK param, but there is test suite that runs after you compile and it gave me an error about not having sufficient entropy. like it wasn't patient for /dev/random to collect entropy, or something.
591 2013-04-20 06:33:33 <diki> Here is a comment from OpenSSL 1.0.1e
592 2013-04-20 06:33:33 <diki> /* Use a random entropy pool device. Linux, FreeBSD and OpenBSD
593 2013-04-20 06:33:34 <diki> * have this. Use /dev/urandom if you can as /dev/random may block
594 2013-04-20 06:33:34 <diki> * if it runs out of random entries. */
595 2013-04-20 06:33:38 skeledrew has quit (Ping timeout: 258 seconds)
596 2013-04-20 06:34:08 antix_ has joined
597 2013-04-20 06:34:31 <zw> are you able to symlink to anything else besides urandom
598 2013-04-20 06:34:35 i2pRelay has quit (Remote host closed the connection)
599 2013-04-20 06:35:07 i2pRelay has joined
600 2013-04-20 06:35:11 gst has quit (Quit: leaving)
601 2013-04-20 06:35:13 <mollison> diki: when you say openssl uses time(NULL) on linux, are you referring to lines 404 and 405?
602 2013-04-20 06:35:33 <diki> I'd imagine so
603 2013-04-20 06:35:47 <diki> and since it can easily be manipulated to an older date
604 2013-04-20 06:36:17 <diki> You end up with ver very slightly weaker entropy
605 2013-04-20 06:36:22 <diki> *very
606 2013-04-20 06:36:38 <mollison> zw: i didn't understand your question about symlinking. you mean symlink to something besides /dev/random?
607 2013-04-20 06:36:47 <zw> yeah
608 2013-04-20 06:37:04 gst has joined
609 2013-04-20 06:37:22 <mollison> zw: what else would i try? you mean just link to a regular file that i could put random data into?
610 2013-04-20 06:37:31 <diki> On Windows, a screenshot is taken of the screen as a source of entropy as well as a call to CryptGenRandom
611 2013-04-20 06:37:55 <diki> though most of the time the PC will be idle, so no changes in the screen
612 2013-04-20 06:38:04 TradeFortress has quit (Quit: Leaving)
613 2013-04-20 06:38:06 johnsoft1 is now known as johnsoft
614 2013-04-20 06:38:34 <zw> yeah, although i don't know what is 0_nonblock so it's just a thought
615 2013-04-20 06:39:25 <mollison> zw: it means the system call can't block. i think in practice symlinking to a file with random data might work, but i don't want to actually go that route in practice.
616 2013-04-20 06:39:28 <jspilman> Trying to sendrawtransaction, getting TX rejected (code -22). signrawtransaction on the same returns complete:true, spending coins from the local wallet...I assume -22 is completely non-specific? This is on test-net. Any suggestions for how to debug the tx?
617 2013-04-20 06:39:42 <gmaxwell> jspilman: look at debug.log
618 2013-04-20 06:39:52 <mollison> zw: most likely somebody will convince me, sooner or later, that there is nothing to worry about anyway
619 2013-04-20 06:40:19 <diki> I still think you are a bit too paranoid
620 2013-04-20 06:40:54 <mollison> diki: why do you think that? i mean, specifically
621 2013-04-20 06:41:06 <diki> Because you've been asking this on the forums for a few days now
622 2013-04-20 06:41:36 <mollison> diki: that's kind of irrelevant to whether my paranoia is justified or not
623 2013-04-20 06:42:11 <mollison> diki: also most of the replies were off-topic, unfortunately
624 2013-04-20 06:42:12 <diki> Think of it this way, why would someone want to crack your address, and not say someone with more coins?
625 2013-04-20 06:42:24 <diki> and crack is a very strong word
626 2013-04-20 06:42:38 i2pRelay has quit (Remote host closed the connection)
627 2013-04-20 06:43:10 i2pRelay has joined
628 2013-04-20 06:43:17 antix_ has quit (Ping timeout: 248 seconds)
629 2013-04-20 06:43:45 antix_ has joined
630 2013-04-20 06:43:45 antix_ has quit (Changing host)
631 2013-04-20 06:43:45 antix_ has joined
632 2013-04-20 06:44:43 <mollison> diki: i'm more concerned about something automated (and in the future) where someone has an attack that can discover certain private keys if other private keys generated without sufficient entropy are known... not a targeted attack against me. anyway, it sounds like you understand better than me what openssl is actually doing, so maybe you can convince me that way.
633 2013-04-20 06:45:01 <gmaxwell> mollison: it's not something to be concerned about, both the kernel and openssl have cryptographically secure prngs, the entropy estimates in the kernel are very conservative. Ideally it would be a little less stupid since these may be long term keys, but that is pure in paranoia land.
634 2013-04-20 06:45:57 <diki> mollison:The more you think about security of your keys the more it will consume you
635 2013-04-20 06:46:28 <diki> next thing you know, you will be visiting a shrink telling him how you see keys everywhere.
636 2013-04-20 06:46:29 <mollison> gmaxwell: thanks, i appreciate it. so is it correct that openssl is actually checking that the numbers it produces have met a certain entropy threshhold?
637 2013-04-20 06:46:37 daktak has quit (Ping timeout: 240 seconds)
638 2013-04-20 06:46:38 <diki> no offense intended btw
639 2013-04-20 06:46:47 <gmaxwell> mollison: It's not possible to do that in any case.
640 2013-04-20 06:46:59 BTCOxygen is now known as 1!~BTCOxygen@unaffiliated/btcoxygen|BTCOxygen
641 2013-04-20 06:47:03 daktak has joined
642 2013-04-20 06:47:21 <mollison> gmaxwell: not possible to check that sufficient entropy exists, or not possible to do the crypto attack i described above?
643 2013-04-20 06:47:32 <gmaxwell> (and even if the kernel PRNG had failed and gone totally determinstic, it would pass any generic test for "randomness")
644 2013-04-20 06:47:41 <gmaxwell> mollison: It's not possible to check that sufficient entropy exists.
645 2013-04-20 06:48:38 <mollison> gmaxwell: the only thing that still makes me hesitant really is that you said, "Ideally it would be a little less stupid since these may be long term keys." i'd like to keep the wallets i'm generating around for many years.
646 2013-04-20 06:48:39 <gmaxwell> mollison: You can test for certian 'obvious' sequences which might come out of broken sources with particular structure— with a tiny risk of rejecting perfectly good random sources, but the kernel isn't one of those sources.
647 2013-04-20 06:48:58 <diki> I do remember a few years back
648 2013-04-20 06:49:18 <diki> and I mean an old OpenSSL on some OS had some flaw that created less random entropy or something
649 2013-04-20 06:49:34 <mollison> diki: that was NetBSD, and it was pretty recently
650 2013-04-20 06:49:57 <_dr> it was debian
651 2013-04-20 06:50:04 <_dr> wasn't it?
652 2013-04-20 06:50:05 <mollison> diki: BTW, i have already been thinking about key security for weeks, and i've already had convos with the armory dev... so it's too late to save my sanity and tell me to turn back
653 2013-04-20 06:50:22 <zw> gmaxwell: how many more keys need to be generated before it does become an issue? like a whole lot more ?
654 2013-04-20 06:50:26 <diki> What does 'convos' mean?
655 2013-04-20 06:50:29 <_dr> http://it.slashdot.org/story/08/05/13/1533212/debian-bug-leaves-private-sslssh-keys-guessable
656 2013-04-20 06:50:31 <mollison> _dr: http://www.theregister.co.uk/2013/03/26/netbsd_crypto_bug/
657 2013-04-20 06:50:37 <wumpus> _dr: debian had such a flaw too, one of the developers patched openssl without understanding what he was doing
658 2013-04-20 06:50:41 i2pRelay has quit (Remote host closed the connection)
659 2013-04-20 06:50:48 <_dr> ah okay, so they both suck :}
660 2013-04-20 06:50:52 LainZ has quit (Ping timeout: 260 seconds)
661 2013-04-20 06:50:57 <mollison> diki: convos = conversations. (on IRC)
662 2013-04-20 06:51:04 <diki> and what did he say?
663 2013-04-20 06:51:14 i2pRelay has joined
664 2013-04-20 06:51:20 <jspilman> thanks gmaxwell... telling me value in < value out, but should be enough with .0005 fee left over... ah, i was pointing to the wrong vin on a prevout! doh
665 2013-04-20 06:51:27 <mollison> diki: well he suggested i make a forum post... which i think i will
666 2013-04-20 06:51:46 <gmaxwell> zw: it's not really a question of how many keys are generated. The kernel random pool gains at least 100 bits per second... and you start off with thousands of bits of randomness in it.
667 2013-04-20 06:51:47 <diki> ...you already did
668 2013-04-20 06:51:53 <mollison> diki: ultimately i decided i want to not just rely on armory, but also have multiple wallets that stay offline until i really need them.
669 2013-04-20 06:52:02 <mollison> diki: no, i mean a forum post about something completely different
670 2013-04-20 06:52:12 <gmaxwell> jspilman: ouch, good that it was too much value.. the other way would kinda sucked.
671 2013-04-20 06:52:28 <mollison> diki: don't worry, you'll see it... i don't want to open that can of worms right now... but it's nothing to be concerned about, just an idea to make armory even more secure, basically.
672 2013-04-20 06:52:34 <gmaxwell> mollison: Why are you going to make a forum post? What answer are you looking for?
673 2013-04-20 06:53:06 <jspilman> gmaxwell: testnet
674 2013-04-20 06:53:10 antix_ has quit (Ping timeout: 246 seconds)
675 2013-04-20 06:53:11 <jspilman> :-)
676 2013-04-20 06:53:16 <mollison> gmaxwell: sorry, i was talking about a forum post about something different than the entropy thing, not related to the current discussion.
677 2013-04-20 06:53:41 <gmaxwell> mollison: ah. kay.
678 2013-04-20 06:54:10 antix_ has joined
679 2013-04-20 06:54:30 gst has quit (Remote host closed the connection)
680 2013-04-20 06:55:14 gst has joined
681 2013-04-20 06:55:34 <mollison> gmaxwell: does the simple fact that openssl uses time(NULL) to seed the entropy pool mean i can safely assume that the successive wallets won't have any meaningful relationship? (assuming that no malware is making time stand still or go backwards.)
682 2013-04-20 06:55:40 nus- has joined
683 2013-04-20 06:55:43 <diki> mollison:post a link
684 2013-04-20 06:55:51 <diki> mollison:i am curious
685 2013-04-20 06:55:57 <mollison> diki: link to what?
686 2013-04-20 06:56:06 <mollison> diki: the forum post i shouldn't have mentioned and have not made yet?
687 2013-04-20 06:56:12 <diki> when you make tge thread
688 2013-04-20 06:56:18 <diki> *the
689 2013-04-20 06:56:18 nus has quit (Read error: Connection reset by peer)
690 2013-04-20 06:56:22 <mollison> diki: oh. well, i'm not gonna make it tonight
691 2013-04-20 06:56:37 <mollison> diki: might be a few days, i'm pretty busy
692 2013-04-20 06:57:14 nus-- has joined
693 2013-04-20 06:57:17 robbak has quit (Remote host closed the connection)
694 2013-04-20 06:57:33 <diki> time(null) returns the current unix time in seconds
695 2013-04-20 06:57:40 robbak has joined
696 2013-04-20 06:57:41 <mollison> diki: i know that
697 2013-04-20 06:58:00 RedEmerald has joined
698 2013-04-20 06:58:03 <diki> i can easily rewind my clock
699 2013-04-20 06:58:10 <mollison> diki: what i'm asking is, basically, can i assume that the pseudorandom output of openssl actually depends on time(NULL) or not
700 2013-04-20 06:58:10 <diki> and voila
701 2013-04-20 06:58:32 <mollison> diki: yeah but i'm going to generate my wallet on a system where i can assume that doesn't happen... so it's a non-issue
702 2013-04-20 06:58:42 i2pRelay has quit (Remote host closed the connection)
703 2013-04-20 06:58:57 <zw> diki: what do you do to rewind the clock
704 2013-04-20 06:59:14 i2pRelay has joined
705 2013-04-20 06:59:18 <mollison> i don't know whether the output of the PRNG depends on all the bytes of entropy in the entropy pool
706 2013-04-20 06:59:28 <mollison> zw: just change the time on your computer
707 2013-04-20 06:59:35 <wumpus> mollison: the number of seconds since the epoch is a very bad random seed as its a) not random b) very predictable
708 2013-04-20 06:59:52 <wumpus> c) has only a very restricted range of values
709 2013-04-20 07:00:23 nus- has quit (Ping timeout: 252 seconds)
710 2013-04-20 07:00:39 <mollison> wumpus: true, but it's only _part_ of the entropy pool. so it's not the whole seed. i guess? I don't know if the entire entropy pool is used as input to the PRNG or not.
711 2013-04-20 07:01:01 <gmaxwell> mollison: that fact that openssl uses the kernel random device means you "can safely assume that the successive wallets won't have any meaningful relationship"
712 2013-04-20 07:01:21 <wumpus> mollison: clock differences may be part of the entropy pool; I also think it depends on your OS, as I suppose OpenSSL internally makes use of things like /dev/random
713 2013-04-20 07:01:25 <gmaxwell> mollison: yes the prng depends on all the bytes of entropy in the entropy pool.
714 2013-04-20 07:01:30 <mollison> gmaxwell: you realize it's using /dev/urandom and not /dev/random, right?
715 2013-04-20 07:01:37 <gmaxwell> mollison: Yes, and thats fine.
716 2013-04-20 07:01:52 nus- has joined
717 2013-04-20 07:02:27 <gmaxwell> mollison: I think you're laboring under a misunderstanding of what /dev/u?random does.
718 2013-04-20 07:02:38 <gmaxwell> It doesn't just output the same data no matter how long you run it.
719 2013-04-20 07:03:11 <mollison> gmaxwell: the thing that made me worry about /dev/urandom was this page: http://major.io/2007/07/01/check-available-entropy-in-linux/
720 2013-04-20 07:03:15 <gmaxwell> It's cryptographically secure PRNG based on sha1 IIRC which has an enormous state.
721 2013-04-20 07:03:37 <jspilman> is it just me, or are the txid's displayed in bitcoind backwards :-)
722 2013-04-20 07:03:47 <gmaxwell> mollison: yes, what its talking about there is poor performance.
723 2013-04-20 07:03:57 antix_ has quit (Ping timeout: 276 seconds)
724 2013-04-20 07:04:12 <mollison> gmaxwell: it says "If it returns anything less than 100-200, you have a problem"
725 2013-04-20 07:04:14 antix_ has joined
726 2013-04-20 07:04:20 <wumpus> mollison: I think the concern is when you have a VM with all-virtual hardware, and do everything in a predictable order, then you need to be wary about the entropy pool
727 2013-04-20 07:04:26 <gmaxwell> mollison: and thats only a potential issue on high volume ssl servers— the randomness pool gets about 100 bits per second added to it at a minimum in linux.
728 2013-04-20 07:04:40 <gmaxwell> mollison: yes. _a performance problem_
729 2013-04-20 07:05:10 <mollison> gmaxwell: oh, i understand now the point about a "performance problem."
730 2013-04-20 07:05:12 nus-- has quit (Read error: Connection reset by peer)
731 2013-04-20 07:05:23 <gmaxwell> because /dev/random will then block. And some things use it (e.g. ssh at least on some systems)
732 2013-04-20 07:05:34 <zw> slow hard drive dds?
733 2013-04-20 07:05:37 nus has joined
734 2013-04-20 07:05:40 <wumpus> gpg uses it too afaik
735 2013-04-20 07:05:46 <gmaxwell> And then you start getting slow logins. Or e.g. depending on your ssl.conf slow ssl session establishments.
736 2013-04-20 07:06:06 <mollison> gmaxwell: you said the randomness pool gets 100 bits per second, but based on looking a tcat /proc/sys/kernel/random/entropy_avail, i don't see that
737 2013-04-20 07:06:29 <gmaxwell> mollison: its can't go higher than 4000.
738 2013-04-20 07:06:38 <gmaxwell> (er 4096)
739 2013-04-20 07:06:43 i2pRelay has quit (Remote host closed the connection)
740 2013-04-20 07:06:58 <mollison> gmaxwell: mind just reported 700 some, then i waited a few seconds, and then it reported 200 some. In other words, it's giving me pretty low numbers.
741 2013-04-20 07:07:02 <mollison> *mine
742 2013-04-20 07:07:16 i2pRelay has joined
743 2013-04-20 07:07:16 <gmaxwell> Sure there are things consuming it.
744 2013-04-20 07:07:26 <gmaxwell> e.g. fork consumes it because of ASLR.
745 2013-04-20 07:07:38 chovy has joined
746 2013-04-20 07:07:40 <chovy> howdy
747 2013-04-20 07:07:57 <mollison> gmaxwell: so should i wait for it to "refill" between generating additional wallets? i'm guessing based on what you've already said that it's really not necessary to worry about waiting for it to refill even if the numbers are in the low hundreds.
748 2013-04-20 07:08:05 nus- has quit (Ping timeout: 252 seconds)
749 2013-04-20 07:08:26 <chovy> would it be possible to write a javascript function that sends money through blockchain.info wallet with the click of a button?
750 2013-04-20 07:08:39 <gmaxwell> mollison: It does not matter. It's already been "filled and drained" many times between your wallet generations.
751 2013-04-20 07:09:07 <gmaxwell> Though the whole concept of filled and drained is a bit misleading since nothing is being filled and drained.
752 2013-04-20 07:09:24 whiterabbit has joined
753 2013-04-20 07:10:06 <mollison> gmaxwell: it makes sense if it's being filled and drained many times in, say, a second. but why is it misleading to say it's being filled and drained? because entropy is just some kind of estimate of how good the pool is?
754 2013-04-20 07:10:40 <gmaxwell> The kernel keeps a simple counter of a conservative estimate of the amount of randomness added (Actual randomness added is much greater), which is capped at 4096 bits. The idea is that so long as there is more real randomness than data you've taken out then no amount of cryptographic breaks of anything could recover the state. Of course thats all kind of moot when most of the randomness leaving is going into things like your processes ...
755 2013-04-20 07:10:46 whiterab1it has joined
756 2013-04-20 07:10:46 <gmaxwell> ... address space randomization where an attacker couldn't get it..
757 2013-04-20 07:11:27 aspect_ has joined
758 2013-04-20 07:11:40 <gmaxwell> mollison: because it's just a (very conservative) estimate of how much more data you can still remove before an ideally perfect attacker who has totally broken sha1 and observed all the data that has come out could guess the data coming out.
759 2013-04-20 07:12:44 aspect__ has quit (Ping timeout: 256 seconds)
760 2013-04-20 07:13:00 antix_ has quit (Ping timeout: 256 seconds)
761 2013-04-20 07:13:03 wrabbit has quit (Ping timeout: 276 seconds)
762 2013-04-20 07:13:10 whiterab3it has joined
763 2013-04-20 07:13:15 whiterab3it is now known as wrabbit
764 2013-04-20 07:13:44 antix_ has joined
765 2013-04-20 07:13:51 <gmaxwell> mollison: e.g. say you had an attacker on your system already, in theory, he could read out a ton of data from /dev/urandom and then if you read 128 bits more before the kernel adds more randomness.. and the attacker has some uber quantum computer or some major cryptoanalitic breakthroughs that can generically reverse sha1 then he could determin the key'd you'd get out.
766 2013-04-20 07:14:45 i2pRelay has quit (Remote host closed the connection)
767 2013-04-20 07:15:00 whiterabbit has quit (Ping timeout: 276 seconds)
768 2013-04-20 07:15:17 <gmaxwell> but your use case doesn't have the attacker on your machine, he's not able to observe the state— except perhaps tiny amounts via other keys (which you somehow leaked) which were generated based on entropy many tens of seconds apart (during which the kernel has added many thousands of new random bits)
769 2013-04-20 07:15:19 i2pRelay has joined
770 2013-04-20 07:16:18 whiterab1it has quit (Ping timeout: 276 seconds)
771 2013-04-20 07:16:21 zeiris has quit (Ping timeout: 248 seconds)
772 2013-04-20 07:17:00 <gmaxwell> I said ideally above because it would actually be good to be more secure against an attacker on the same system, or in the case of a VM which may have busted randomness we should prefer to fail safe... and also "ideally" because it would avoid anyone having to spend time thinking if it were actually an issue. :)
773 2013-04-20 07:17:25 ThomasV has quit (Ping timeout: 245 seconds)
774 2013-04-20 07:17:30 Plornt has quit (Read error: Connection reset by peer)
775 2013-04-20 07:17:39 Plornt has joined
776 2013-04-20 07:18:00 jrra has quit (Ping timeout: 272 seconds)
777 2013-04-20 07:18:11 <gmaxwell> (As an aside, I've expirenced randomness depletion performance problems first hand— https://mf4.xiph.org/munin/xiph.org/mf4.xiph.org/entropy.html see the bottom right graph for times when the entropy daemon went down on that host)
778 2013-04-20 07:20:36 <mollison> gmaxwell: ok, thanks, all very interesting. So, the only thing that weirds me out is that if i repeatedly check the entropy value, i can actually see it decrease. e.g. it will say ~800, then ~700, then ~600 (checking the value every few seconds using echo) and then once it gets to ~100, it stays there. So I suspect that the entropy is not actually being "refilled and emptied" many times every second, but I also suspect that the kernel adds randomness
779 2013-04-20 07:21:51 antix_ has quit (Ping timeout: 252 seconds)
780 2013-04-20 07:22:02 <mollison> probably the kernel is checking the value as part of exec() or somewhere in the scheduler, and adding randomness but (obviously) not blocking.
781 2013-04-20 07:22:17 <mollison> not that the kernel ever blocks... sorry that was sort of mis-spoken
782 2013-04-20 07:22:32 antix_ has joined
783 2013-04-20 07:22:48 i2pRelay has quit (Remote host closed the connection)
784 2013-04-20 07:23:03 toffoo has quit ()
785 2013-04-20 07:23:20 i2pRelay has joined
786 2013-04-20 07:23:28 ramir has joined
787 2013-04-20 07:23:30 <wumpus> sounds like very little entropy is being added on your system or a lot is being drained, it's ~3500 here all the time
788 2013-04-20 07:23:34 <gmaxwell> mollison: last time I checked the kernel added 1 bit from the every hit on the 100hz scheduler timer. (it adds in other places too but doesn't credit many of them)
789 2013-04-20 07:24:02 <mollison> wumpus: i agree. it seems weirdly low.
790 2013-04-20 07:24:24 <gmaxwell> Unfortunately your echoing of /proc/sys/kernel/random/entropy_avail actually consumes entropy itself, so thats a bit distorting.
791 2013-04-20 07:24:51 <wumpus> I suppose you could find out which processes are reading from random/urandom and how much
792 2013-04-20 07:25:35 X-Factor has joined
793 2013-04-20 07:25:59 <mollison> gmaxwell: ok. well, thanks very much for all your wisdom. at this point i am perfectly happy to believe you that it's nothing to worry about.
794 2013-04-20 07:26:18 <mollison> gmaxwell: actually i got to that stage a while ago, but i was just still curious so i kept asking questions. anyway, thanks a lot.
795 2013-04-20 07:26:34 <mollison> wumpus: you know an easy way to do that?
796 2013-04-20 07:26:55 <mollison> wumpus: or a hard way
797 2013-04-20 07:28:02 <wumpus> if you're really concerned about randomness, there are hardware random number generator devices that you can buy (though I have no idea how secure those are in practice)
798 2013-04-20 07:28:16 coolsa has quit (Read error: Connection reset by peer)
799 2013-04-20 07:28:59 <jspilman> gmaxwell: spending a '2 PK1 PK2 2' multisig, with one input and one output, PK1 signs with SINGLE, then add an output and PK2 signs with ALL. my library verifies the sig happily, bitcoind gives -22. debug.log says VerifySignature Failed. In theory, is it allowed to sign MULTISIG with different hash types?
800 2013-04-20 07:29:11 <wumpus> mollison: I don't know how to do it by heart
801 2013-04-20 07:29:14 <gmaxwell> or if the number bothers you ... you can start http://www.issihosts.com/haveged/ and always get a nice number out.
802 2013-04-20 07:29:26 <wamatt> http://www.random.org/ randomness from atmospheric noise
803 2013-04-20 07:30:08 <gmaxwell> wamatt: or carefully constructed in order to 0wn your gambling site... you never know.
804 2013-04-20 07:30:14 <mollison> gmaxwell: yeah. i was hoping to avoid installing extra 3rd party software, but that looks pretty reasonable.
805 2013-04-20 07:30:15 <wumpus> taking "secure" random numbers from a site is a joke though
806 2013-04-20 07:30:37 <mollison> wumpus: how about taking one from IRC? 4 // random dice roll
807 2013-04-20 07:30:38 antix_ has quit (Ping timeout: 252 seconds)
808 2013-04-20 07:30:42 <wumpus> hahaha
809 2013-04-20 07:30:48 i2pRelay has quit (Remote host closed the connection)
810 2013-04-20 07:30:56 <wumpus> you could use satoshidice outputs from the block chain! :P
811 2013-04-20 07:31:10 <phantomcircuit> gmaxwell, haveged <3
812 2013-04-20 07:31:13 antix_ has joined
813 2013-04-20 07:31:21 i2pRelay has joined
814 2013-04-20 07:31:49 <jspilman> looks like nHashType is passed in once into EvalScript and used for all sigs...
815 2013-04-20 07:31:53 <wumpus> haveged looks interesting
816 2013-04-20 07:32:12 <phantomcircuit> it's probably not theoretically secure
817 2013-04-20 07:32:17 vucx has quit (Ping timeout: 258 seconds)
818 2013-04-20 07:32:21 <phantomcircuit> but practically defeating it would be a significant achievement
819 2013-04-20 07:32:23 <wamatt> gmaxwell that is about as likely that the hardware device you have is actually made by "<insert spooky organization here>" . time to take off the tin foil. random.org is the real deal
820 2013-04-20 07:32:28 <jspilman> but each sig has its own sigType byte...
821 2013-04-20 07:33:15 <jspilman> maybe it's 0 at that point -- in which case CheckSig would pull it from the sig
822 2013-04-20 07:33:33 reCrypto has quit (Read error: Connection reset by peer)
823 2013-04-20 07:33:50 reCrypto has joined
824 2013-04-20 07:34:31 grau has joined
825 2013-04-20 07:34:40 <wumpus> wamatt: I think it's meant for monte carlo and simulations, not so much for key generation .. don't forget the random stream will go over the wire unencrypted
826 2013-04-20 07:34:52 <gmaxwell> wamatt: random.org is incredibly vague about their process and regardless of how 'good' the randomness is they or anyone who has compromised their system can monitor all of it.
827 2013-04-20 07:35:59 <wamatt> gmaxwell wumpus both good points :) for the record i wasn't suggesting it was necessarily practical… that's a separate debate
828 2013-04-20 07:36:14 <wamatt> was just saying.. i highly doubt they are shady or some elaborate scheme
829 2013-04-20 07:36:34 <wamatt> the same could be said of any thing you choose to do.. even rolling supposedly your "own hardware"
830 2013-04-20 07:36:34 <gmaxwell> I've seen services setup in such a way that random.org (or its operators) could trivally have exploited them for thousands of bitcoins.
831 2013-04-20 07:36:48 <wamatt> chinese have been known to install backdoors in hardware etc
832 2013-04-20 07:36:51 <gmaxwell> So, yea, I'm gonna call out anyone advocating it.
833 2013-04-20 07:37:16 <wamatt> except gmaxwell random was around long before bitcoin...
834 2013-04-20 07:37:22 <wamatt> so they not related at all
835 2013-04-20 07:37:27 <gmaxwell> wamatt: your hardware doesn't become magically backdoored because someone cracked one random internet exposed machine.
836 2013-04-20 07:37:40 <wamatt> I'm a nerd.. and read about it years ago on some unrelated matter to bitcoin
837 2013-04-20 07:37:41 <gmaxwell> Who said they were related?
838 2013-04-20 07:38:00 <wamatt> gmaxwell thought u were suggesting they are setup to exploit bitcoin?
839 2013-04-20 07:38:17 * gmaxwell loans wamatt a y and o key.
840 2013-04-20 07:38:23 <gmaxwell> No, that isn't what I was saying.
841 2013-04-20 07:38:26 <wamatt> ok
842 2013-04-20 07:38:40 <gmaxwell> (which wouldn't make any sense, because no competent bitcoin user would do anything with it.)
843 2013-04-20 07:38:43 <wumpus> MITMing them is very possible too, even if the operators are trustable
844 2013-04-20 07:38:50 i2pRelay has quit (Remote host closed the connection)
845 2013-04-20 07:39:12 <gmaxwell> Forget trustable— trustable and with perfectly secure equipment.
846 2013-04-20 07:39:16 <wamatt> wumpus my understanding was that MITM is actually rather difficult (practically speaking)
847 2013-04-20 07:39:17 <wumpus> just link it to /dev/zero instead :-)
848 2013-04-20 07:39:17 antix_ has quit (Ping timeout: 240 seconds)
849 2013-04-20 07:39:22 i2pRelay has joined
850 2013-04-20 07:39:57 <gmaxwell> wamatt: it's actually rather trivial— for anything where you have reasonable access to the network.
851 2013-04-20 07:40:01 <wumpus> wamatt: for plain http it's very, very easy.. for SSL it is more difficult
852 2013-04-20 07:40:04 <wamatt> as you need to do two things. 1) insert yourself along the the packet route physically. e.g. compromise ISP. 2) setup the attack
853 2013-04-20 07:40:16 antix_ has joined
854 2013-04-20 07:41:03 <grau> !ticker
855 2013-04-20 07:41:03 <gribble> BTCUSD ticker | Best bid: 117.63101, Best ask: 118.37999, Bid-ask spread: 0.74898, Last trade: 118.36998, 24 hour volume: 154548.70133541, 24 hour low: 110.25010, 24 hour high: 136.43210, 24 hour vwap: 120.76478
856 2013-04-20 07:41:06 <gmaxwell> wamatt: being on the same lan as the target and running a single command isn't much of a barrier.
857 2013-04-20 07:41:20 <wamatt> i operate an ISP for years.. we had hacking incidents all the time.. how many involving MITM? 0. zero. nadda
858 2013-04-20 07:41:22 <wamatt> operated
859 2013-04-20 07:41:33 <wumpus> MITMs don't happen at the ISP level, usually
860 2013-04-20 07:41:47 <wumpus> just some compromised device on your network is enough, or a misleaded DNS server
861 2013-04-20 07:41:55 <wamatt> yeah.. but most attackers aren't on your lan either… hence the attack surface is smaller
862 2013-04-20 07:42:07 <wamatt> thus coming back to the "practicality" assertion
863 2013-04-20 07:42:27 <gmaxwell> wamatt: I've seen MITM's performed in the wild, hell we had someone in here a month or so ago catch one.
864 2013-04-20 07:42:27 <wumpus> it's pretty easy to get on someones lan... for example through printers and network cameras
865 2013-04-20 07:42:30 reCrypto has quit (Read error: Connection reset by peer)
866 2013-04-20 07:43:12 <gmaxwell> I ... cannot believe you are defending getting randomness from a third party http server for long term cryptographic keys. You must be trying to troll us. Congrats. You won. We've been trolled.
867 2013-04-20 07:43:25 <wumpus> please don't be naive or cocky about security, take proper precautions, especially if you're handling btc
868 2013-04-20 07:43:47 <wamatt> wumpus those are vectors yes
869 2013-04-20 07:44:09 <wamatt> wumpus wow . thats a big value judgment.
870 2013-04-20 07:44:22 reCrypto has joined
871 2013-04-20 07:44:28 <wumpus> it's just a warning, don't take it personal
872 2013-04-20 07:44:36 <wamatt> security is tradeoffs, unless u want to disagree with Bruce Schneir
873 2013-04-20 07:44:46 <wamatt> well u made it personal suggesting I'm naive and cocky
874 2013-04-20 07:44:51 <wamatt> leave personal out of it fella
875 2013-04-20 07:44:54 <wamatt> we discussing a topic
876 2013-04-20 07:44:58 * gmaxwell loans wamatt some more y and o keys.
877 2013-04-20 07:45:21 vucx has joined
878 2013-04-20 07:45:30 <wumpus> I've seen some very bad things hapening from close-up, and that was without thousands of dollars of bitcoin involved but because of a game... never underestimate your attackers
879 2013-04-20 07:46:05 <wamatt> wumpus what if i told you i agree with you….
880 2013-04-20 07:46:10 <gmaxwell> wamatt: Getting 'random' data for long term cryptographic keys from a third party service over a public network isn't a sensable tradeoff in any context I can think of.
881 2013-04-20 07:46:21 <wamatt> saying risks need to be evaluated, does in now way related to being sloppy or underestimation
882 2013-04-20 07:46:41 <gmaxwell> And normally it's a suggestion that I'd just ignore but having seen some people do things like this, I no longer underestimate how foolish people can be.
883 2013-04-20 07:46:43 <wamatt> gmaxwell in testing its fine
884 2013-04-20 07:46:52 i2pRelay has quit (Remote host closed the connection)
885 2013-04-20 07:47:02 <wamatt> actual random data to check your alto against
886 2013-04-20 07:47:12 <wamatt> i wanst freaking advocating using in in production ffs
887 2013-04-20 07:47:16 <wamatt> stop jumping on me ppl
888 2013-04-20 07:47:24 i2pRelay has joined
889 2013-04-20 07:47:32 <wamatt> its like a royal assumption gang bang here :_
890 2013-04-20 07:47:34 <wamatt> :)
891 2013-04-20 07:47:51 <wamatt> "algo against"
892 2013-04-20 07:48:12 <gmaxwell> As far as I could tell, you directed someone who was looking to create long term cryptographic keys to random.org.
893 2013-04-20 07:48:25 <gmaxwell> Sounds like a simple miscommunication then.
894 2013-04-20 07:48:36 <wamatt> gmaxwell i did nothing of the sort. i saw the word random and discussing sources for it
895 2013-04-20 07:48:38 jspilman has quit (Ping timeout: 276 seconds)
896 2013-04-20 07:48:41 antix_ has quit (Ping timeout: 255 seconds)
897 2013-04-20 07:48:45 <wamatt> and i remembered some site i went to years ago from slashdot or something
898 2013-04-20 07:48:54 <gmaxwell> Though in testing I'd also strongly recommend against it. You'd use a CSPRNG so that you can repeat the tests should they fail!
899 2013-04-20 07:48:54 <wamatt> and posted it as a tangential piece for discussion
900 2013-04-20 07:49:05 antix_ has joined
901 2013-04-20 07:49:10 <gmaxwell> wamatt: OK.
902 2013-04-20 07:49:43 tonikt has quit (Quit: Leaving)
903 2013-04-20 07:50:01 <gmaxwell> In any case, this channel is for bitcoin systems development. I feel bad that we've flooded the logs with four kilobytes of tangent now. Sorry for making you feel piled on, I thought you were recommending something with greater impact on the conversation than you were.
904 2013-04-20 07:51:11 <wamatt> ok
905 2013-04-20 07:52:13 <wamatt> i should have given a bit of context too. before throwing things out there :)
906 2013-04-20 07:52:26 <mollison> so i made a program that just prints looks at the kernel's entropy in a loop and prints it when it changes. it goes up about 1 increment a second on my system, but the cool thing is, it goes up much faster as i move the mouse.
907 2013-04-20 07:52:45 <gmaxwell> mollison: interesting. what kernel version?
908 2013-04-20 07:52:55 Jere_Jones has quit ()
909 2013-04-20 07:53:11 <gmaxwell> mollison: maybe they made the timer interupt add less to the pool?
910 2013-04-20 07:53:14 <wamatt> i thought "sources of random" was interesting. and its probably boring to most, but i for one didn't realize atmospheric noise could be used
911 2013-04-20 07:53:20 <gmaxwell> s/less to the pool/less to the ocunt/
912 2013-04-20 07:53:27 <gmaxwell> heh count.
913 2013-04-20 07:53:48 <mollison> gmaxwell: 3.8.7-1 ... so pretty recent
914 2013-04-20 07:54:06 <wamatt> i remember reading about some nuclear decay or maybe some quantum state that generated random too. don't know much about hardware generators tbh
915 2013-04-20 07:54:37 Jackneill has joined
916 2013-04-20 07:54:54 i2pRelay has quit (Remote host closed the connection)
917 2013-04-20 07:55:14 CodesInChaos has joined
918 2013-04-20 07:55:25 i2pRelay has joined
919 2013-04-20 07:56:20 ItsHappening666 has quit (Ping timeout: 255 seconds)
920 2013-04-20 07:57:15 ItsHappening666 has joined
921 2013-04-20 07:57:48 n5 has joined
922 2013-04-20 07:59:01 Thepok has quit (Ping timeout: 256 seconds)
923 2013-04-20 08:02:08 Jere_Jones has joined
924 2013-04-20 08:02:57 vucx has quit (Ping timeout: 258 seconds)
925 2013-04-20 08:02:57 i2pRelay has quit (Remote host closed the connection)
926 2013-04-20 08:03:29 i2pRelay has joined
927 2013-04-20 08:03:43 antix_ has quit (Ping timeout: 264 seconds)
928 2013-04-20 08:04:07 antix_ has joined
929 2013-04-20 08:04:52 pecket has quit (Quit: I'm not stupid. I'm just unlucky when I think.)
930 2013-04-20 08:05:15 <Wayward> Bitcoin on Stephen Colbert Show -- http://www.colbertnation.com/full-episodes/wed-april-17-2013-alan-cumming
931 2013-04-20 08:06:26 Jere_Jones has quit (Ping timeout: 252 seconds)
932 2013-04-20 08:06:42 Jere_Jones has joined
933 2013-04-20 08:06:42 Jere_Jones has quit (Changing host)
934 2013-04-20 08:06:42 Jere_Jones has joined
935 2013-04-20 08:07:42 chovy has left ()
936 2013-04-20 08:08:57 SvenDiagram has quit (Ping timeout: 276 seconds)
937 2013-04-20 08:10:30 <mollison> based on my little entropy monitoring tool, if i just due a ton of disk i/o, my entropy value stays really high. so for peace of mind, i'll just do that while creating my wallets. easy solution.
938 2013-04-20 08:11:00 i2pRelay has quit (Remote host closed the connection)
939 2013-04-20 08:11:13 testnode9 has quit (Ping timeout: 272 seconds)
940 2013-04-20 08:11:32 i2pRelay has joined
941 2013-04-20 08:12:26 antix_ has quit (Ping timeout: 252 seconds)
942 2013-04-20 08:12:58 antix_ has joined
943 2013-04-20 08:16:01 vucx has joined
944 2013-04-20 08:17:11 <wumpus> mollison: do make sure it's a real disk, ssd access times are much more predictable so provide less randomness :-)
945 2013-04-20 08:17:48 tcatm has quit (Quit: No Ping reply in 180 seconds.)
946 2013-04-20 08:17:54 <mollison> wumpus: that may be an issue on the platform i am planning to generate wallets on, but if so, i'll find out with my entropy monitoring tool
947 2013-04-20 08:18:04 tcatm has joined
948 2013-04-20 08:18:18 GMP has quit (Ping timeout: 264 seconds)
949 2013-04-20 08:18:28 <mollison> wumpus: you seem to know a lot about crypto, maybe you could just generate some wallets for me and send them to me :P
950 2013-04-20 08:19:04 i2pRelay has quit (Remote host closed the connection)
951 2013-04-20 08:19:35 i2pRelay has joined
952 2013-04-20 08:19:39 <wumpus> hahahaha 'custom wallets, hand-made by crypto experts'
953 2013-04-20 08:21:29 <diki> wumpus:you still here?
954 2013-04-20 08:21:44 antix_ has quit (Ping timeout: 258 seconds)
955 2013-04-20 08:21:46 <wumpus> I think so
956 2013-04-20 08:23:16 <phantomcircuit> gmaxwell, cookies
957 2013-04-20 08:23:36 <phantomcircuit> SELLING VERY VERY RANDOM PRIVATE KEYS
958 2013-04-20 08:23:40 ItsHappening666 has quit (Ping timeout: 252 seconds)
959 2013-04-20 08:23:40 <phantomcircuit> ONLY 1 BTC EACH
960 2013-04-20 08:23:46 antix_ has joined
961 2013-04-20 08:23:58 <phantomcircuit> I TOTALLY PROMISE I WONT WRITE THEM DOWN
962 2013-04-20 08:24:41 <wumpus> the cynic in me says that such a snake oil scheme could even work, if you manage to promote it looking 'trustworthy enough'
963 2013-04-20 08:24:44 ItsHappening666 has joined
964 2013-04-20 08:25:03 <phantomcircuit> wumpus, the sad part is i would actually not write them down
965 2013-04-20 08:25:42 <wumpus> I wouldn't, either
966 2013-04-20 08:27:06 i2pRelay has quit (Remote host closed the connection)
967 2013-04-20 08:27:37 i2pRelay has joined
968 2013-04-20 08:27:53 diki has quit ()
969 2013-04-20 08:28:29 <wumpus> huh, he asks whether I'm here then doesn't ask a question but quits, interesting
970 2013-04-20 08:28:45 <phantomcircuit> wumpus, he's coming for you
971 2013-04-20 08:28:48 <phantomcircuit> RUN
972 2013-04-20 08:29:00 <wumpus> LOL the connection came from... inside my house!
973 2013-04-20 08:29:19 <phantomcircuit> OH GOD IT'S THAT FUCKING CAMP STORY ALL OVER AGAIN
974 2013-04-20 08:29:21 n5 has quit ()
975 2013-04-20 08:30:07 <phantomcircuit> hmm
976 2013-04-20 08:30:09 <phantomcircuit> it's 1am
977 2013-04-20 08:30:13 <phantomcircuit> im hungry
978 2013-04-20 08:30:21 <phantomcircuit> i have overly salted almonds
979 2013-04-20 08:30:30 <phantomcircuit> and things that will take 15 minutes to be edible
980 2013-04-20 08:30:33 <phantomcircuit> decisions decisions
981 2013-04-20 08:31:15 jdnavarro has joined
982 2013-04-20 08:32:08 lonelybyte has joined
983 2013-04-20 08:32:21 holorga has quit (Ping timeout: 276 seconds)
984 2013-04-20 08:32:37 JZavala has joined
985 2013-04-20 08:33:04 antix_ has quit (Ping timeout: 260 seconds)
986 2013-04-20 08:33:55 <mollison> phantomcircuit: no decision needs to be made, just eat the almonds for 15 mintues and then the other stuff
987 2013-04-20 08:34:37 antix_ has joined
988 2013-04-20 08:35:09 i2pRelay has quit (Remote host closed the connection)
989 2013-04-20 08:35:41 i2pRelay has joined
990 2013-04-20 08:35:54 forgot has joined
991 2013-04-20 08:39:35 diki has joined
992 2013-04-20 08:40:21 <diki> wumpus:I tried editing the Bitcoin UI with the intent to add some more labels and print more data, however I was unable to align the labels, like the ones "Balance,Unconfirmed,Immature" with their repsectful values "0 BTC"
993 2013-04-20 08:40:34 <diki> like each label has the 0BTC at the same position as the one above
994 2013-04-20 08:41:18 <diki> but I couldn't do it myself no matter what I tried.
995 2013-04-20 08:41:28 <diki> Is there any trick that's supposed to be used? :P
996 2013-04-20 08:42:02 da2ce7-mobile has joined
997 2013-04-20 08:42:49 antix_ has quit (Ping timeout: 258 seconds)
998 2013-04-20 08:43:11 i2pRelay has quit (Remote host closed the connection)
999 2013-04-20 08:43:43 i2pRelay has joined
1000 2013-04-20 08:44:22 da2ce7 has quit (Ping timeout: 256 seconds)
1001 2013-04-20 08:44:24 antix_ has joined
1002 2013-04-20 08:44:31 FlyingLeap has quit (Quit: No Ping reply in 180 seconds.)
1003 2013-04-20 08:44:59 SvenDiagram has joined
1004 2013-04-20 08:45:27 FlyingLeap has joined
1005 2013-04-20 08:46:11 lonelybyte has quit (Quit: Leaving)
1006 2013-04-20 08:46:32 Scrat has quit (Ping timeout: 252 seconds)
1007 2013-04-20 08:51:14 i2pRelay has quit (Remote host closed the connection)
1008 2013-04-20 08:51:45 i2pRelay has joined
1009 2013-04-20 08:53:48 antix_ has quit (Ping timeout: 276 seconds)
1010 2013-04-20 08:54:06 Scrat has joined
1011 2013-04-20 08:54:36 <wumpus> diki: a QFormLayout
1012 2013-04-20 08:55:11 <wumpus> it will automatically align labels and such, that's the idea behind it
1013 2013-04-20 08:55:23 antix_ has joined
1014 2013-04-20 08:58:30 tonikt has joined
1015 2013-04-20 08:59:16 i2pRelay has quit (Remote host closed the connection)
1016 2013-04-20 08:59:49 i2pRelay has joined
1017 2013-04-20 09:00:00 Guest56070 has quit (Read error: Connection reset by peer)
1018 2013-04-20 09:00:14 MiningBuddy has quit (K-Lined)
1019 2013-04-20 09:00:38 MiningBuddy has joined
1020 2013-04-20 09:01:34 <diki> Well I did add a form
1021 2013-04-20 09:01:38 <diki> then I added the labels inside
1022 2013-04-20 09:01:48 <diki> it was aligned somewhat, but not like the ones you have added
1023 2013-04-20 09:02:20 <zw> do you guys, like, ever sleep
1024 2013-04-20 09:02:27 <diki> I sleep less these days
1025 2013-04-20 09:03:18 antix_ has quit (Ping timeout: 240 seconds)
1026 2013-04-20 09:03:36 <zw> these dudes just sit around waiting for chains to fork up
1027 2013-04-20 09:03:48 <diki> fork up?
1028 2013-04-20 09:03:55 <diki> do you mean alt-coins or actual fork of the chain?
1029 2013-04-20 09:04:11 <zw> no idea, i'm asleep
1030 2013-04-20 09:04:40 <diki> It's 11:38 AM here
1031 2013-04-20 09:04:48 <diki> I had woken up around 12 hours ago
1032 2013-04-20 09:04:53 <diki> no, even more
1033 2013-04-20 09:05:11 <zw> lies
1034 2013-04-20 09:05:19 antix_ has joined
1035 2013-04-20 09:05:19 antix_ has quit (Changing host)
1036 2013-04-20 09:05:19 antix_ has joined
1037 2013-04-20 09:05:22 <diki> When there's money to be made, I can't afford sleep which is so overrated
1038 2013-04-20 09:06:34 <zw> i need to take a minute to consider that statement
1039 2013-04-20 09:07:17 i2pRelay has quit (Remote host closed the connection)
1040 2013-04-20 09:07:48 i2pRelay has joined
1041 2013-04-20 09:09:39 grau has quit (Remote host closed the connection)
1042 2013-04-20 09:09:52 viperhr1 has joined
1043 2013-04-20 09:10:11 grau has joined
1044 2013-04-20 09:13:23 rcknight has joined
1045 2013-04-20 09:14:50 antix_ has quit (Ping timeout: 256 seconds)
1046 2013-04-20 09:14:57 Guest56070 has joined
1047 2013-04-20 09:15:18 <zw> i like it
1048 2013-04-20 09:15:20 i2pRelay has quit (Remote host closed the connection)
1049 2013-04-20 09:15:48 i2pRelay has joined
1050 2013-04-20 09:16:31 <zw> the internet does still live in some places
1051 2013-04-20 09:17:00 antix_ has joined
1052 2013-04-20 09:18:31 Davincij15 has joined
1053 2013-04-20 09:23:21 i2pRelay has quit (Remote host closed the connection)
1054 2013-04-20 09:23:53 i2pRelay has joined
1055 2013-04-20 09:25:48 ielo has joined
1056 2013-04-20 09:25:55 antix_ has quit (Ping timeout: 264 seconds)
1057 2013-04-20 09:26:57 B0g4r7 has quit (Ping timeout: 276 seconds)
1058 2013-04-20 09:28:07 antix_ has joined
1059 2013-04-20 09:29:52 MJR__ has joined
1060 2013-04-20 09:29:53 MJR__ has quit (Remote host closed the connection)
1061 2013-04-20 09:30:13 MJR__ has joined
1062 2013-04-20 09:31:22 i2pRelay has quit (Remote host closed the connection)
1063 2013-04-20 09:31:41 <tonikt> hi guys. a compressed public key starts with 02 or 03. but what to do with one that begins with 00?
1064 2013-04-20 09:31:43 <tonikt> 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f20
1065 2013-04-20 09:31:55 i2pRelay has joined
1066 2013-04-20 09:32:01 JDuke128 has joined
1067 2013-04-20 09:32:02 B0g4r7 has joined
1068 2013-04-20 09:32:08 paracyst has quit ()
1069 2013-04-20 09:32:08 robbak has quit (Read error: Connection reset by peer)
1070 2013-04-20 09:32:32 robbak has joined
1071 2013-04-20 09:32:45 <JDuke128> hello , i 'm using bitcoinj java api.I need to get Wallet's address , but i didn't see any documentation for that ?
1072 2013-04-20 09:32:50 <JDuke128> how can i get wallet address ?
1073 2013-04-20 09:33:52 <JDuke128> wallet.keychain.get(0).toAddress(params); <= this ? it returns byte[] value = address.getHash160(); , but how can i print it as String ?
1074 2013-04-20 09:37:41 antix_ has quit (Ping timeout: 252 seconds)
1075 2013-04-20 09:38:10 Namworld has quit ()
1076 2013-04-20 09:39:24 i2pRelay has quit (Remote host closed the connection)
1077 2013-04-20 09:39:57 i2pRelay has joined
1078 2013-04-20 09:40:36 ielo has quit (Ping timeout: 256 seconds)
1079 2013-04-20 09:40:55 <Scrat> CodesInChaos: wow, ciphercloud must be really desperate
1080 2013-04-20 09:40:57 ThomasV has joined
1081 2013-04-20 09:43:14 antix_ has joined
1082 2013-04-20 09:44:52 <sipa> tonikt: not a public kry
1083 2013-04-20 09:44:54 <sipa> key
1084 2013-04-20 09:45:45 <CodesInChaos> Scrat: and they apparently never heard of the streisand effect
1085 2013-04-20 09:45:51 <diki> wow
1086 2013-04-20 09:45:55 <diki> inventor of hashcash on the forums
1087 2013-04-20 09:46:08 <diki> that's like the "grandfather" of bitcoin
1088 2013-04-20 09:47:27 i2pRelay has quit (Remote host closed the connection)
1089 2013-04-20 09:47:58 i2pRelay has joined
1090 2013-04-20 09:49:25 Guest14554 has quit (Remote host closed the connection)
1091 2013-04-20 09:52:19 antix_ has quit (Ping timeout: 264 seconds)
1092 2013-04-20 09:52:58 <diki> JDuke128:You need to covert those bytes to hex
1093 2013-04-20 09:53:10 <JDuke128> ah thanks
1094 2013-04-20 09:53:24 Casimir1904 has joined
1095 2013-04-20 09:53:30 <JDuke128> btw , bitcoinj is not opensource
1096 2013-04-20 09:53:37 <diki> yes it is
1097 2013-04-20 09:53:40 <JDuke128> its dependency libraries closed source
1098 2013-04-20 09:53:54 <diki> bouncy/spongycastle?
1099 2013-04-20 09:53:59 <JDuke128> its open source but requires some extra "unknown" library
1100 2013-04-20 09:54:00 <JDuke128> spongy
1101 2013-04-20 09:54:04 PartTimeLegend has joined
1102 2013-04-20 09:54:56 antix_ has joined
1103 2013-04-20 09:55:05 <diki> looks open source to me
1104 2013-04-20 09:55:08 <diki> http://www.bouncycastle.org/latest_releases.html
1105 2013-04-20 09:55:08 hnz has quit (Ping timeout: 255 seconds)
1106 2013-04-20 09:55:10 <jgm_> JDuke128: spongycastle is available from maven, including source. Plus it's just a repackage of bouncycastle
1107 2013-04-20 09:55:27 <JDuke128> where
1108 2013-04-20 09:55:28 i2pRelay has quit (Remote host closed the connection)
1109 2013-04-20 09:55:29 jgm_ is now known as jgm
1110 2013-04-20 09:56:01 i2pRelay has joined
1111 2013-04-20 09:56:09 <CodesInChaos> spongycastle is essentially bouncycastle renamed to avoid a naming conflict with the version of bouncycastle built into android
1112 2013-04-20 09:56:30 <jgm> http://mvnrepository.com/artifact/com.madgag/scprov-jdk15
1113 2013-04-20 09:56:52 <diki> CodeShark:Which are old.
1114 2013-04-20 09:57:10 <diki> As in, Android ships with old bouncycastle
1115 2013-04-20 09:58:04 fishfish_ has quit (Quit: Bye!)
1116 2013-04-20 09:59:30 <CodesInChaos> looks like you can produce spongy castle by running some script over the bouncy source code
1117 2013-04-20 09:59:32 <CodesInChaos> https://github.com/rtyley/spongycastle/blob/spongy-master/become-spongy.sh
1118 2013-04-20 10:00:04 reCrypto1 has joined
1119 2013-04-20 10:00:38 reCrypto has quit (Ping timeout: 258 seconds)
1120 2013-04-20 10:00:54 hnz has joined
1121 2013-04-20 10:01:03 <JDuke128> Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/util/concurrent/CycleDetectingLockFactory$Policy
1122 2013-04-20 10:01:11 <JDuke128> ...
1123 2013-04-20 10:01:12 <tonikt> sipa: thx. I figured, but did not know how the script should behave. now I see that I just load any key and then fail the sig check
1124 2013-04-20 10:01:48 <tonikt> .. instead of calling panic :)
1125 2013-04-20 10:02:17 <sipa> ah, indeed
1126 2013-04-20 10:02:40 <JDuke128> many many dependencies
1127 2013-04-20 10:03:33 i2pRelay has quit (Remote host closed the connection)
1128 2013-04-20 10:03:50 <Arnavion> That's why you use maven
1129 2013-04-20 10:03:53 <jgm> JDuke128: Just use maven
1130 2013-04-20 10:03:55 <Arnavion> It gets the dependencies for you
1131 2013-04-20 10:04:04 i2pRelay has joined
1132 2013-04-20 10:04:08 antix_ has quit (Ping timeout: 255 seconds)
1133 2013-04-20 10:04:10 <JDuke128> okay but there is no maven xml data ?
1134 2013-04-20 10:04:16 <JDuke128> i only have bitcoinj.jar
1135 2013-04-20 10:04:18 <JDuke128> nothing more
1136 2013-04-20 10:04:23 <JDuke128> where is maven xml ?
1137 2013-04-20 10:04:25 <JDuke128> pom.xml
1138 2013-04-20 10:04:41 <jgm> JDuke128: where did you get the jar from?
1139 2013-04-20 10:04:49 pecket has joined
1140 2013-04-20 10:04:49 <JDuke128> code google
1141 2013-04-20 10:04:52 <JDuke128> downloads
1142 2013-04-20 10:04:54 <Arnavion> http://repo2.maven.org/maven2/org/bouncycastle/
1143 2013-04-20 10:05:08 <JDuke128> http://code.google.com/p/bitcoinj/
1144 2013-04-20 10:05:09 <jgm> JDuke128: http://code.google.com/p/bitcoinj/wiki/UsingMaven gives you the dependency information
1145 2013-04-20 10:07:18 MJR__ has quit (Ping timeout: 240 seconds)
1146 2013-04-20 10:09:25 MJR__ has joined
1147 2013-04-20 10:09:38 SvenDiagram has quit (Quit: SvenDiagram)
1148 2013-04-20 10:09:41 BlackPrapor has joined
1149 2013-04-20 10:11:33 i2pRelay has quit (Remote host closed the connection)
1150 2013-04-20 10:12:05 i2pRelay has joined
1151 2013-04-20 10:12:52 robbak has quit (Remote host closed the connection)
1152 2013-04-20 10:13:28 robbak has joined
1153 2013-04-20 10:15:29 mappum has quit (Ping timeout: 246 seconds)
1154 2013-04-20 10:19:05 antix_ has joined
1155 2013-04-20 10:19:35 i2pRelay has quit (Remote host closed the connection)
1156 2013-04-20 10:20:07 i2pRelay has joined
1157 2013-04-20 10:20:28 PK has joined
1158 2013-04-20 10:24:19 parasciidic has joined
1159 2013-04-20 10:24:46 rdymac has joined
1160 2013-04-20 10:24:55 AlbertTuring2 has quit (Quit: Nettalk6 - www.ntalk.de)
1161 2013-04-20 10:25:08 zeiris has joined
1162 2013-04-20 10:26:10 antix_ has quit (Ping timeout: 245 seconds)
1163 2013-04-20 10:26:58 ramir has quit (Quit: Leaving)
1164 2013-04-20 10:27:34 dbe has joined
1165 2013-04-20 10:27:37 i2pRelay has quit (Remote host closed the connection)
1166 2013-04-20 10:27:45 BlackPrapor has quit (Ping timeout: 252 seconds)
1167 2013-04-20 10:27:57 dbe is now known as Guest74306
1168 2013-04-20 10:28:09 i2pRelay has joined
1169 2013-04-20 10:28:53 X-Factor has quit (Quit: ThrashIRC v2.8 sic populo comunicated)
1170 2013-04-20 10:33:59 antix_ has joined
1171 2013-04-20 10:35:15 da2ce7-mobile has quit (Quit: Bye)
1172 2013-04-20 10:35:40 i2pRelay has quit (Remote host closed the connection)
1173 2013-04-20 10:36:12 i2pRelay has joined
1174 2013-04-20 10:36:15 ielo has joined
1175 2013-04-20 10:43:34 Jackneill has quit (Read error: Operation timed out)
1176 2013-04-20 10:43:43 i2pRelay has quit (Remote host closed the connection)
1177 2013-04-20 10:44:15 i2pRelay has joined
1178 2013-04-20 10:45:05 rottenchris has joined
1179 2013-04-20 10:45:12 antix_ has quit (Ping timeout: 256 seconds)
1180 2013-04-20 10:46:52 egis has joined
1181 2013-04-20 10:48:34 kronicd_ has joined
1182 2013-04-20 10:51:47 i2pRelay has quit (Remote host closed the connection)
1183 2013-04-20 10:52:19 i2pRelay has joined
1184 2013-04-20 10:52:51 antix_ has joined
1185 2013-04-20 10:56:26 RazielZ has joined
1186 2013-04-20 10:58:23 Guest74306 has quit (Remote host closed the connection)
1187 2013-04-20 10:59:50 i2pRelay has quit (Remote host closed the connection)
1188 2013-04-20 11:00:22 i2pRelay has joined
1189 2013-04-20 11:01:09 Btceldur has joined
1190 2013-04-20 11:02:22 n5 has joined
1191 2013-04-20 11:03:20 pecket has quit (Quit: I'm not stupid. I'm just unlucky when I think.)
1192 2013-04-20 11:03:48 antix_ has quit (Ping timeout: 260 seconds)
1193 2013-04-20 11:05:02 nouitfvf has joined
1194 2013-04-20 11:05:16 nouitfvf has quit (Client Quit)
1195 2013-04-20 11:06:24 nouitfvf has joined
1196 2013-04-20 11:07:08 rdymac has quit (Quit: This computer has gone to sleep)
1197 2013-04-20 11:07:50 i2pRelay has quit (Remote host closed the connection)
1198 2013-04-20 11:08:23 i2pRelay has joined
1199 2013-04-20 11:11:20 antix_ has joined
1200 2013-04-20 11:12:51 rcknight has quit (Quit: Computer has gone to sleep.)
1201 2013-04-20 11:13:50 quaz0r has quit (Ping timeout: 256 seconds)
1202 2013-04-20 11:15:54 i2pRelay has quit (Remote host closed the connection)
1203 2013-04-20 11:16:26 i2pRelay has joined
1204 2013-04-20 11:16:31 dvide has quit ()
1205 2013-04-20 11:16:57 <JDuke128> i got problem when i tried bitcoinj : java.lang.NoClassDefFoundError: com/google/common/util/concurrent/CycleDetectingLockFactory$Policy
1206 2013-04-20 11:17:11 <JDuke128> when debugger goes to wallet = new Wallet(params);
1207 2013-04-20 11:17:19 <JDuke128> whats that jar ?
1208 2013-04-20 11:20:57 pecket has joined
1209 2013-04-20 11:20:59 robbak has quit (Remote host closed the connection)
1210 2013-04-20 11:21:22 robbak has joined
1211 2013-04-20 11:21:24 stalled has quit (Ping timeout: 264 seconds)
1212 2013-04-20 11:22:16 <PK> JDuke128: guava probably
1213 2013-04-20 11:22:42 <JDuke128> now i got again error , why all dependencies not zipped on repo ???
1214 2013-04-20 11:22:45 antix_ has quit (Ping timeout: 252 seconds)
1215 2013-04-20 11:22:48 <JDuke128> they force me to search on web
1216 2013-04-20 11:23:09 <JDuke128> this time that : Exception in thread "pool-1-thread-1" java.lang.NoClassDefFoundError: org/spongycastle/asn1/ASN1Primitive
1217 2013-04-20 11:23:33 <PK> well, spongycastle jar :) that's an easy one.
1218 2013-04-20 11:23:47 Tom_Soft has quit (Ping timeout: 256 seconds)
1219 2013-04-20 11:23:56 i2pRelay has quit (Remote host closed the connection)
1220 2013-04-20 11:24:28 i2pRelay has joined
1221 2013-04-20 11:25:27 ielo has quit (Ping timeout: 256 seconds)
1222 2013-04-20 11:25:44 Guest90733 has joined
1223 2013-04-20 11:26:19 quaz0r has joined
1224 2013-04-20 11:29:23 <Plornt> Does anyone here know javascript & python and can help me with what I am doing wrong for a mtgox trading bot?
1225 2013-04-20 11:29:41 <Plornt> Still cant get it to auth in :(
1226 2013-04-20 11:30:50 antix_ has joined
1227 2013-04-20 11:30:52 quaz0r has quit (Ping timeout: 260 seconds)
1228 2013-04-20 11:31:44 systemParanoid has joined
1229 2013-04-20 11:32:03 i2pRelay has quit (Remote host closed the connection)
1230 2013-04-20 11:32:36 dbe has joined
1231 2013-04-20 11:32:36 i2pRelay has joined
1232 2013-04-20 11:32:48 stalled has joined
1233 2013-04-20 11:33:00 dbe is now known as Guest49988
1234 2013-04-20 11:35:39 Apocaly has joined
1235 2013-04-20 11:36:36 profmac has joined
1236 2013-04-20 11:37:35 Guest49988 has quit (Ping timeout: 252 seconds)
1237 2013-04-20 11:37:56 profmac has quit (Client Quit)
1238 2013-04-20 11:39:40 moses_ has joined
1239 2013-04-20 11:39:52 <moses_> hi guys
1240 2013-04-20 11:40:00 i2pRelay has quit (Remote host closed the connection)
1241 2013-04-20 11:40:06 <moses_> could anyone help me with this question? http://www.reddit.com/r/Bitcoin/comments/1cqeur/who_knows_how_to_use_sighash_anyonecanpay_for/
1242 2013-04-20 11:40:32 i2pRelay has joined
1243 2013-04-20 11:40:33 wamatt has quit (Quit: wamatt)
1244 2013-04-20 11:40:50 wamatt has joined
1245 2013-04-20 11:43:00 antix_ has quit (Ping timeout: 260 seconds)
1246 2013-04-20 11:43:26 quaz0r has joined
1247 2013-04-20 11:45:30 <Apocaly> moses_, why do you think of sighash_* in the first place ?
1248 2013-04-20 11:45:52 <Apocaly> can't you just list the last transactions to this address ?
1249 2013-04-20 11:45:54 <moses_> because the guy in the video uses it for this purpose
1250 2013-04-20 11:46:39 <moses_> did you guys watch that part of the video? it seems like there is a function that serves exactly this purpose already implemented in the protocol
1251 2013-04-20 11:46:42 stalled has quit (Ping timeout: 256 seconds)
1252 2013-04-20 11:46:46 wamatt has quit (Ping timeout: 248 seconds)
1253 2013-04-20 11:46:49 <Apocaly> i wonder why, haven't seen the video, but i would use the RPC call listtransactions
1254 2013-04-20 11:47:02 <Apocaly> listtransactions [account] [count=10] [from=0] Returns up to [count] most recent transactions skipping the first [from] transactions for account [account]. If [account] not provided will return recent transaction from all accounts
1255 2013-04-20 11:47:16 wamatt has joined
1256 2013-04-20 11:47:18 <Apocaly> if you have only that address in the account, it would do exactly that
1257 2013-04-20 11:47:36 <JDuke128> this time i got error like : WARNING: Deleted temp file after failed save.
1258 2013-04-20 11:47:36 <JDuke128> Exception in thread "pool-1-thread-1" java.lang.UnsupportedOperationException: This is supposed to be overridden by subclasses.
1259 2013-04-20 11:47:36 <JDuke128> at com.google.protobuf.GeneratedMessage.getUnknownFields(GeneratedMessage.java:180)
1260 2013-04-20 11:47:57 bwen has joined
1261 2013-04-20 11:48:03 i2pRelay has quit (Remote host closed the connection)
1262 2013-04-20 11:48:18 <moses_> ok unfortunatly i don´t know much about programming. what i want is that the transactions will only go through if the goal is met by a certain date. if not, everything is transferred back.
1263 2013-04-20 11:48:26 reCrypto1 has left ()
1264 2013-04-20 11:48:29 <bwen> can I has signhash_anyonecanpay?
1265 2013-04-20 11:48:35 i2pRelay has joined
1266 2013-04-20 11:48:45 <Apocaly> moses_, ah ok
1267 2013-04-20 11:48:50 <JDuke128> someone can help ?
1268 2013-04-20 11:49:00 <Apocaly> i misunderstood
1269 2013-04-20 11:49:14 <moses_> so it serves as a trusted indicator without the need of a 3rd party
1270 2013-04-20 11:49:41 <Apocaly> if you want to rollover the transactions i can't help unfortunatly i haven't knowledge of that
1271 2013-04-20 11:49:42 robbak has quit (Remote host closed the connection)
1272 2013-04-20 11:49:48 <moses_> the video is very well worth a watch to see some functions that exist in the protocoll but are not used yet
1273 2013-04-20 11:50:07 <Apocaly> if i were to do it i would probably go my way and refund the transactions if it fail to meet the criteria
1274 2013-04-20 11:50:08 <JDuke128> wallet.saveToFile(walletFile); throws exception
1275 2013-04-20 11:50:11 robbak has joined
1276 2013-04-20 11:50:28 <moses_> it seems like the amount of people who actually are familiar with the bitcoin protocoll in depths is very small.
1277 2013-04-20 11:50:45 antix_ has joined
1278 2013-04-20 11:50:51 <Apocaly> moses_, it is indeed
1279 2013-04-20 11:50:54 <moses_> where would i find someone to do it? bitcointalk.org
1280 2013-04-20 11:51:03 <Apocaly> probably here
1281 2013-04-20 11:51:03 <JDuke128> Exception in thread "pool-1-thread-1" java.lang.UnsupportedOperationException: This is supposed to be overridden by subclasses.
1282 2013-04-20 11:51:03 <JDuke128> at com.google.protobuf.GeneratedMessage.getUnknownFields(GeneratedMessage.java:180)
1283 2013-04-20 11:51:03 <JDuke128> at org.bitcoinj.wallet.Protos$Key.getSerializedSize(Protos.java:1199)
1284 2013-04-20 11:51:05 <JDuke128> at com.google.protobuf.CodedOutputStream.computeMessageSizeNoTag(CodedOutputStream.java:749)
1285 2013-04-20 11:51:05 <JDuke128> at com.google.protobuf.CodedOutputStream.computeMessageSize(CodedOutputStream.java:530)
1286 2013-04-20 11:51:05 <JDuke128> at org.bitcoinj.wallet.Protos$Wallet.getSerializedSize(Protos.java:6887)
1287 2013-04-20 11:51:07 <JDuke128> at com.google.protobuf.AbstractMessageLite.writeTo(AbstractMessageLite.java:75)
1288 2013-04-20 11:51:07 <JDuke128> at com.google.bitcoin.store.WalletProtobufSerializer.writeWallet(WalletProtobufSerializer.java:102)
1289 2013-04-20 11:51:07 <JDuke128> at com.google.bitcoin.core.Wallet.saveToFileStream(Wallet.java:701)
1290 2013-04-20 11:51:09 <JDuke128> at com.google.bitcoin.core.Wallet.saveToFile(Wallet.java:389)
1291 2013-04-20 11:51:09 <JDuke128> at com.google.bitcoin.core.Wallet.saveToFile(Wallet.java:432)
1292 2013-04-20 11:51:09 <JDuke128> at PaymentReporterClient$1.run(PaymentReporterClient.java:54)
1293 2013-04-20 11:51:11 <JDuke128> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
1294 2013-04-20 11:51:11 <JDuke128> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
1295 2013-04-20 11:51:11 <JDuke128> at java.lang.Thread.run(Thread.java:680)
1296 2013-04-20 11:51:12 <lianj> moses_: here
1297 2013-04-20 11:51:13 <JDuke128> i got this error on coding
1298 2013-04-20 11:51:21 <Apocaly> JDuke128, stop that..
1299 2013-04-20 11:51:25 <Apocaly> use pastebin
1300 2013-04-20 11:51:28 <JDuke128> why this error occurs?
1301 2013-04-20 11:51:31 <JDuke128> ok
1302 2013-04-20 11:51:34 <JDuke128> next time
1303 2013-04-20 11:51:51 <moses_> so i just keep coming back and ask the same question until someone is online who can help me? :)
1304 2013-04-20 11:52:00 <Apocaly> that's the plan
1305 2013-04-20 11:52:14 <moses_> ok fair enough
1306 2013-04-20 11:52:16 stalled has joined
1307 2013-04-20 11:52:17 <Apocaly> of you learn this on your own by that time
1308 2013-04-20 11:52:25 <Apocaly> it can be well worth it
1309 2013-04-20 11:52:31 antix_ has quit (Read error: Connection reset by peer)
1310 2013-04-20 11:52:48 <moses_> one super-noob question.. what programming language would one have to know to review the protocoll and implement such a function?
1311 2013-04-20 11:53:03 tumdum_ is now known as tumdum
1312 2013-04-20 11:53:04 <Apocaly> C++
1313 2013-04-20 11:53:04 tumdum has quit (Changing host)
1314 2013-04-20 11:53:04 tumdum has joined
1315 2013-04-20 11:53:13 <moses_> thanks
1316 2013-04-20 11:53:20 <Apocaly> the original client is written in that language
1317 2013-04-20 11:54:08 <lianj> moses_: the problem is that its (relativly) hard for others to sign your anyonecanpay tx. its not a feature implemented in the gui of bitcoin-qt for example
1318 2013-04-20 11:54:20 one_zero has quit ()
1319 2013-04-20 11:54:26 <moses_> alright. i´ll keep looking into it and searching someone
1320 2013-04-20 11:55:02 <bwen> lianj: is there an ETA for these features to appear in the client?
1321 2013-04-20 11:55:10 <lianj> moses_: i think my answer is the reason its not commonly done today.
1322 2013-04-20 11:55:13 rottenchris has left ()
1323 2013-04-20 11:55:15 <lianj> bwen: patches welcome ;)
1324 2013-04-20 11:55:22 <moses_> oh i thought that once it is set up anyone could send money to that adress and the btc would sort of be frozen until pledge is met or deadline is over..
1325 2013-04-20 11:55:51 <bwen> moses_: you need the client to craft a SPECIFIC transaction
1326 2013-04-20 11:55:56 <bwen> and they dont right now
1327 2013-04-20 11:56:04 i2pRelay has quit (Remote host closed the connection)
1328 2013-04-20 11:56:06 <bwen> so if you would code it yourself
1329 2013-04-20 11:56:11 <lianj> no, you create a tx with you desired output amount and others have to add their anyonecanpay inputs
1330 2013-04-20 11:56:18 <bwen> you would have to make EVERYONE use YOUR bitcoin client
1331 2013-04-20 11:56:21 <bwen> for all this to work
1332 2013-04-20 11:56:36 i2pRelay has joined
1333 2013-04-20 11:56:45 <moses_> ah ok, that sucks. so it wouldn´t be a hazzle not just for me to set it up, but also for anyone who wants to participate
1334 2013-04-20 11:56:57 <moses_> damn
1335 2013-04-20 11:57:01 <lianj> moses_: right. currently.
1336 2013-04-20 11:57:17 <moses_> so we need a new client that supports these things :)
1337 2013-04-20 11:57:35 <lianj> or extend todays ones
1338 2013-04-20 11:57:40 <CodeShark> submit a pull request, get it reviewed, and perhaps one day the official client will have that feature :)
1339 2013-04-20 11:57:42 Sealy has quit (Quit: Sealy)
1340 2013-04-20 11:57:44 <moses_> yeah true
1341 2013-04-20 11:57:58 <moses_> how do i do that?
1342 2013-04-20 11:58:01 <bwen> moses_: we need to put pressure on these dev guys to add the features in the current client
1343 2013-04-20 11:58:02 <moses_> @codesharl
1344 2013-04-20 11:58:15 <CodeShark> go to the official repository on github
1345 2013-04-20 11:58:17 <CodeShark> fork it
1346 2013-04-20 11:58:27 MJR____ has joined
1347 2013-04-20 11:58:42 <CodeShark> create a new branch with your feature
1348 2013-04-20 11:58:46 <CodeShark> submit a pull request
1349 2013-04-20 11:58:47 <lianj> moses_: same with multisig txs. still not made easily accessible and thus not used much
1350 2013-04-20 11:58:58 <moses_> well i won´t be able to program this but i would like to "submit a pull request"
1351 2013-04-20 11:59:13 <moses_> how do i do that?
1352 2013-04-20 11:59:16 <CodeShark> a pull request means you have added something to the source code
1353 2013-04-20 11:59:18 <bwen> I really think that implementing the sighash_anyonecanpay will help more bitcoin projects! This is an awsome, if not a core feature, to have for contracts and such
1354 2013-04-20 11:59:20 <CodeShark> or changed something
1355 2013-04-20 11:59:30 <lianj> moses_: then you can create an issue on github suggesting someone please make a pull request with code out of it
1356 2013-04-20 11:59:44 MJR__ has quit (Ping timeout: 256 seconds)
1357 2013-04-20 11:59:52 <sipa> eh, signrawtransaction supports anyonecanpay just fine
1358 2013-04-20 11:59:57 <sipa> there is no user interface for it
1359 2013-04-20 12:00:07 <lianj> moses_: what sipa said
1360 2013-04-20 12:00:10 <sipa> but the core infrastructure to create and use such transactions works just fine
1361 2013-04-20 12:00:33 <sipa> the hard part is working out the non-core parts of how such transactions work
1362 2013-04-20 12:00:46 <sipa> how do people communicate their partially-signed transactions, for example
1363 2013-04-20 12:00:54 <bwen> sipa: this is something we need in the client to help new bitcoin projects... okay one of mine xD
1364 2013-04-20 12:01:23 <bwen> siipa: make it happen #1
1365 2013-04-20 12:01:27 <lianj> sipa: right, its the off core protocol flows that also hold back multisigs
1366 2013-04-20 12:01:34 PartTimeLegend has quit (Remote host closed the connection)
1367 2013-04-20 12:01:35 <JDuke128> whats bitcoinj required for protobuf ?
1368 2013-04-20 12:01:41 <JDuke128> protobuf version ?
1369 2013-04-20 12:01:45 <moses_> well guys thanks for the input. i will try to do the request and hope for the best! for this project we might have to do it old school :D
1370 2013-04-20 12:01:58 <sipa> moses_: there is nothing you can request, as there is nothing to change
1371 2013-04-20 12:02:09 <Apocaly> we might have to do it old school /// that's probably the way to go
1372 2013-04-20 12:02:23 <Apocaly> iif you don't want to wait for months
1373 2013-04-20 12:02:42 <sipa> moses_: well, there is, once it's clear how this will work, it's viable to get it in the reference client
1374 2013-04-20 12:02:45 <moses_> what do you mean sipa?
1375 2013-04-20 12:02:51 <sipa> but if anything, people need to experiment with this first
1376 2013-04-20 12:02:54 <sipa> it needs to _work_
1377 2013-04-20 12:03:04 <moses_> yeah i agree
1378 2013-04-20 12:03:11 <CodeShark> in other words, what we need are implementations - not requests to implement it :)
1379 2013-04-20 12:03:17 <sipa> and the hard part is not implementing it, it's knowing and agreeing upon how to do it
1380 2013-04-20 12:03:23 <bwen> Apocaly: months.. not years? thats acceptable.. what you base that ETA on? is there something somewhere that says these will be implemented in the client?
1381 2013-04-20 12:03:50 <sipa> i don't think that right now such things even belong in the reference client
1382 2013-04-20 12:03:52 ielo has joined
1383 2013-04-20 12:04:07 i2pRelay has quit (Remote host closed the connection)
1384 2013-04-20 12:04:09 <JDuke128> this time i got this error : com.google.bitcoin.store.BlockStoreException: com.google.bitcoin.store.BlockStoreException: File size on disk does not match expected size: 108 vs 641024
1385 2013-04-20 12:04:27 <sipa> and the hardest part isn't even implementing it, but deciding on communicating between the different involved parties
1386 2013-04-20 12:04:39 i2pRelay has joined
1387 2013-04-20 12:04:50 <sipa> likely that will mean some extension to the payment protocol (which in itself isn't entirely finished yet)
1388 2013-04-20 12:05:07 macboz has quit (Ping timeout: 256 seconds)
1389 2013-04-20 12:05:43 <sipa> JDuke128: talk to TD or BlueMatt
1390 2013-04-20 12:06:15 Guest90733 has quit (Ping timeout: 256 seconds)
1391 2013-04-20 12:06:30 <kinlo> JDuke128: sounds like a diskfull issue
1392 2013-04-20 12:09:59 MJR____ has quit (Quit: MJR____)
1393 2013-04-20 12:10:52 bwen has left ()
1394 2013-04-20 12:12:08 i2pRelay has quit (Remote host closed the connection)
1395 2013-04-20 12:12:35 <JDuke128> diskfull ?
1396 2013-04-20 12:12:40 i2pRelay has joined
1397 2013-04-20 12:12:43 <JDuke128> i ve 300GB+ free
1398 2013-04-20 12:12:48 <JDuke128> on my disk
1399 2013-04-20 12:15:07 <JDuke128> i got this error on bitcoinj api : http://pastie.org/7672492
1400 2013-04-20 12:15:08 rdymac has joined
1401 2013-04-20 12:16:52 <sipa> JDuke128: i think you'll have to wait until some people knowledgeable about BitcoinJ appear
1402 2013-04-20 12:17:15 bitit has quit (Ping timeout: 276 seconds)
1403 2013-04-20 12:17:44 bitit has joined
1404 2013-04-20 12:17:57 gdbz has quit (Ping timeout: 252 seconds)
1405 2013-04-20 12:18:55 duckybsd has quit (Read error: Connection reset by peer)
1406 2013-04-20 12:19:14 gdbz has joined
1407 2013-04-20 12:19:16 ielo_ has joined
1408 2013-04-20 12:19:44 quaz0r has quit (Ping timeout: 246 seconds)
1409 2013-04-20 12:19:47 hydrogenesis has joined
1410 2013-04-20 12:20:12 i2pRelay has quit (Remote host closed the connection)
1411 2013-04-20 12:20:44 i2pRelay has joined
1412 2013-04-20 12:21:16 OPrime has joined
1413 2013-04-20 12:24:18 rdymac has quit (Ping timeout: 240 seconds)
1414 2013-04-20 12:24:24 pete772 has joined
1415 2013-04-20 12:26:40 ielo_ has quit (Ping timeout: 258 seconds)
1416 2013-04-20 12:26:41 ielo has quit (Ping timeout: 258 seconds)
1417 2013-04-20 12:27:10 twobitcoins_ has joined
1418 2013-04-20 12:28:12 gdbz has quit (Ping timeout: 258 seconds)
1419 2013-04-20 12:28:13 i2pRelay has quit (Remote host closed the connection)
1420 2013-04-20 12:28:44 i2pRelay has joined
1421 2013-04-20 12:29:03 hydrogenesis has quit (Quit: Colloquy for iPad - http://colloquy.mobi)
1422 2013-04-20 12:29:30 rdymac has joined
1423 2013-04-20 12:29:43 twobitcoins has quit (Read error: Operation timed out)
1424 2013-04-20 12:30:02 Sealy has joined
1425 2013-04-20 12:33:58 canooon has quit (Ping timeout: 258 seconds)
1426 2013-04-20 12:34:00 quaz0r has joined
1427 2013-04-20 12:34:41 n5 has quit ()
1428 2013-04-20 12:34:49 Plornt has quit (Ping timeout: 276 seconds)
1429 2013-04-20 12:34:55 Scrat has quit (Remote host closed the connection)
1430 2013-04-20 12:36:16 i2pRelay has quit (Remote host closed the connection)
1431 2013-04-20 12:36:48 i2pRelay has joined
1432 2013-04-20 12:36:59 rdymac has quit (Quit: This computer has gone to sleep)
1433 2013-04-20 12:37:37 robbak has quit (Remote host closed the connection)
1434 2013-04-20 12:38:05 robbak has joined
1435 2013-04-20 12:39:11 rdymac has joined
1436 2013-04-20 12:42:11 <kronicd_> hi, I'm trying to understand how the generation/tx fees get allocated when a block is created/pushed out to the network.
1437 2013-04-20 12:42:30 twobitcoins has joined
1438 2013-04-20 12:42:35 <kronicd_> is "txNew.vout[0].scriptPubKey << reservekey.GetReservedKey() << OP_CHECKSIG;"
1439 2013-04-20 12:42:55 <kronicd_> basically saying, for tx 0 in the newly mined block, assign a key from the wallet as the rcpt address for funds?
1440 2013-04-20 12:44:18 i2pRelay has quit (Remote host closed the connection)
1441 2013-04-20 12:44:34 freefox has joined
1442 2013-04-20 12:44:39 <freefox> how can I skip the account in "bitcoind getbalance [account] [minconf]" and only specify a minconf?
1443 2013-04-20 12:44:50 i2pRelay has joined
1444 2013-04-20 12:45:30 bibbybob has joined
1445 2013-04-20 12:45:55 twobitcoins_ has quit (Ping timeout: 256 seconds)
1446 2013-04-20 12:47:03 holorga has joined
1447 2013-04-20 12:47:20 <jouke> freefox: *
1448 2013-04-20 12:47:56 <freefox> jouke: thanks!
1449 2013-04-20 12:48:44 owowo has joined
1450 2013-04-20 12:50:18 freefox has quit (Quit: freefox)
1451 2013-04-20 12:52:19 i2pRelay has quit (Remote host closed the connection)
1452 2013-04-20 12:52:51 i2pRelay has joined
1453 2013-04-20 12:54:15 Tantadruj has quit (Ping timeout: 255 seconds)
1454 2013-04-20 12:55:46 Tantadruj has joined
1455 2013-04-20 12:56:53 macboz has joined
1456 2013-04-20 13:00:20 i2pRelay has quit (Remote host closed the connection)
1457 2013-04-20 13:00:52 i2pRelay has joined
1458 2013-04-20 13:01:39 grug has joined
1459 2013-04-20 13:01:59 LainZ has joined
1460 2013-04-20 13:03:23 robbak has quit (Remote host closed the connection)
1461 2013-04-20 13:03:51 robbak has joined
1462 2013-04-20 13:04:07 daybyter has joined
1463 2013-04-20 13:08:17 moses_ has quit (Ping timeout: 245 seconds)
1464 2013-04-20 13:08:23 i2pRelay has quit (Remote host closed the connection)
1465 2013-04-20 13:08:55 i2pRelay has joined
1466 2013-04-20 13:16:04 erle- has joined
1467 2013-04-20 13:16:25 i2pRelay has quit (Remote host closed the connection)
1468 2013-04-20 13:16:58 i2pRelay has joined
1469 2013-04-20 13:19:55 chorao3 has quit (Ping timeout: 256 seconds)
1470 2013-04-20 13:21:10 <skinnkavaj> hi one question, how do i name a btc adress so it will show up on blockchain.info?
1471 2013-04-20 13:21:36 darkskiez has quit (Ping timeout: 245 seconds)
1472 2013-04-20 13:22:06 <OneMiner> They all do.
1473 2013-04-20 13:22:21 fishfish has joined
1474 2013-04-20 13:22:41 darkskiez has joined
1475 2013-04-20 13:24:29 i2pRelay has quit (Remote host closed the connection)
1476 2013-04-20 13:24:29 Blitzboom has quit (Ping timeout: 246 seconds)
1477 2013-04-20 13:24:50 Guest90733 has joined
1478 2013-04-20 13:25:01 i2pRelay has joined
1479 2013-04-20 13:28:32 <pjorrit_> gimme the private key i'll get it on there for you
1480 2013-04-20 13:30:29 <kronicd_> I'm trying to understand more about how new blocks are created/fee reciepents specified. Is "txNew.vout[0].scriptPubKey << reservekey.GetReservedKey() << OP_CHECKSIG;" stating the recipeint address coming from a key within the current wallet?
1481 2013-04-20 13:32:30 i2pRelay has quit (Remote host closed the connection)
1482 2013-04-20 13:33:04 i2pRelay has joined
1483 2013-04-20 13:33:12 <lianj> "fee reciepents"?
1484 2013-04-20 13:33:16 macboz has quit (Ping timeout: 245 seconds)
1485 2013-04-20 13:33:41 <kronicd_> as in, the recipeint of the first tx in the block
1486 2013-04-20 13:33:48 <kronicd_> who gets the block reward/tx fees
1487 2013-04-20 13:34:33 <lianj> the output scripts in the coinbase(first tx in block) tx
1488 2013-04-20 13:35:20 <lianj> its usually a pubkey or address of the miner
1489 2013-04-20 13:36:08 <kronicd_> yup
1490 2013-04-20 13:37:17 <kronicd_> any idea where in the src I'd find that? I'm tryin gto build a bitcoind that can accept a list of recipents for the mined coins (basically so all miners get paid in by the block mined)
1491 2013-04-20 13:37:21 <kronicd_> just a toy idea heh
1492 2013-04-20 13:37:42 Guest90733 has quit (Ping timeout: 248 seconds)
1493 2013-04-20 13:38:06 <lianj> kronicd_: some pool do or used to do that
1494 2013-04-20 13:38:22 imTorim has joined
1495 2013-04-20 13:38:45 <lianj> when crafting your coinbase tx just make more outputs instead of the common one output
1496 2013-04-20 13:39:02 <lianj> dunno where its in the source, never looked much into mining with bitcoind
1497 2013-04-20 13:39:11 <kronicd_> no problem, thanks very much
1498 2013-04-20 13:39:24 <kronicd_> I've been digging throug the source for hours and what you're saying does sound familiar
1499 2013-04-20 13:39:27 <kronicd_> thanks :)
1500 2013-04-20 13:40:32 i2pRelay has quit (Remote host closed the connection)
1501 2013-04-20 13:41:04 i2pRelay has joined
1502 2013-04-20 13:41:41 <lianj> kronicd_: quick grep of bitcoind, CreateNewBlock inside main.cpp, // Create coinbase tx, just define more outputs
1503 2013-04-20 13:41:55 <kronicd_> awesome, thankyou.
1504 2013-04-20 13:42:04 <lianj> just remember the combined value must be right or the block ofc is invalid
1505 2013-04-20 13:42:12 <lianj> combined value = reward + fees
1506 2013-04-20 13:43:33 <lianj> pblock->vtx[0].vout[0].nValue = GetBlockValue(pindexPrev->nHeight+1, nFees); instead of putting that value into the first/one output, split it over the others. each output paying the share he mined/processed for
1507 2013-04-20 13:44:04 Muis_ has joined
1508 2013-04-20 13:45:24 <kronicd_> yup, found that earlier
1509 2013-04-20 13:45:41 <robbak> Anyone here have a tesnet client open that would like to trade coinage with mpjtqtTTNpp2dx4osUvftwn9LNhjb4PpF2 for testing?
1510 2013-04-20 13:46:25 <Apocaly> is there a way to send amounts from multiple addresses in one transaction ?
1511 2013-04-20 13:46:35 <Apocaly> i have seen that on blockchain info
1512 2013-04-20 13:46:40 <robbak> Yes. There is even a way to prevent it.
1513 2013-04-20 13:46:45 <saracen> Apocaly: That happens automatically
1514 2013-04-20 13:47:07 <robbak> If you have balances on multple addresses in your wallet, that's what will happen.
1515 2013-04-20 13:47:31 Muis has quit (Ping timeout: 272 seconds)
1516 2013-04-20 13:48:03 <Apocaly> saracen, but then the addresses must be under the same account, right ?
1517 2013-04-20 13:48:14 <saracen> The bitcoin client doesnt allow you to select what address the coins come from, it just selects a bunch to make up the total
1518 2013-04-20 13:48:33 i2pRelay has quit (Remote host closed the connection)
1519 2013-04-20 13:49:05 i2pRelay has joined
1520 2013-04-20 13:49:09 <saracen> I don't think so. But I'm not entirely sure.
1521 2013-04-20 13:49:51 <kronicd_> lianj: thanks again. just confirmed it :D
1522 2013-04-20 13:49:53 <SomeoneWeird> the satoshi client doesn't, no
1523 2013-04-20 13:49:57 <SomeoneWeird> other clients do
1524 2013-04-20 13:50:37 Muis_ is now known as Muis
1525 2013-04-20 13:51:38 Impaler_ has joined
1526 2013-04-20 13:54:51 Impaler has quit (Ping timeout: 258 seconds)
1527 2013-04-20 13:56:12 copumpkin has quit (Ping timeout: 252 seconds)
1528 2013-04-20 13:56:19 robbak has quit (Remote host closed the connection)
1529 2013-04-20 13:56:32 btcfaucet has joined
1530 2013-04-20 13:56:34 <btcfaucet> hi
1531 2013-04-20 13:56:35 i2pRelay has quit (Remote host closed the connection)
1532 2013-04-20 13:56:37 <btcfaucet> terminate called after throwing an instance of 'std::runtime_error' what(): CWallet::GenerateNewKey() : AddKey failed
1533 2013-04-20 13:56:41 <btcfaucet> got this for the 4th time now today
1534 2013-04-20 13:56:48 robbak has joined
1535 2013-04-20 13:56:48 <btcfaucet> have to restart bitcoind
1536 2013-04-20 13:56:51 <btcfaucet> ideas?
1537 2013-04-20 13:56:53 copumpkin has joined
1538 2013-04-20 13:57:07 i2pRelay has joined
1539 2013-04-20 13:57:47 o2 has joined
1540 2013-04-20 14:00:23 defunctzombie_zz is now known as defunctzombie
1541 2013-04-20 14:00:35 malaimo has quit (Ping timeout: 258 seconds)
1542 2013-04-20 14:00:54 <kronicd_> scriptPubKey = recipient address?
1543 2013-04-20 14:01:26 vrs_ is now known as vrs
1544 2013-04-20 14:01:29 vrs has quit (Changing host)
1545 2013-04-20 14:01:30 vrs has joined
1546 2013-04-20 14:01:56 <saracen> btcfaucet: is the wallet encrypted?
1547 2013-04-20 14:02:30 malaimo has joined
1548 2013-04-20 14:02:34 <bibbybob> robbak, do you still need testnet coins?
1549 2013-04-20 14:03:37 <btcfaucet> saracen: yes
1550 2013-04-20 14:04:38 i2pRelay has quit (Remote host closed the connection)
1551 2013-04-20 14:04:51 <saracen> btcfaucet: Is the walletpassphrase timing out?
1552 2013-04-20 14:05:11 i2pRelay has joined
1553 2013-04-20 14:05:57 <btcfaucet> you mean it times out just when the server is doing it? because lately it's been under a lot of stress, many timeouts where i don't know if coins were sent or not, kind of annoying
1554 2013-04-20 14:06:11 <btcfaucet> i'll try to increase the walletpassphrase timeout
1555 2013-04-20 14:06:19 <btcfaucet> (also, moving daemon to a diff server tonight)
1556 2013-04-20 14:06:21 <btcfaucet> thaks for the tip
1557 2013-04-20 14:07:11 rdymac has quit (Quit: This computer has gone to sleep)
1558 2013-04-20 14:09:19 <PK> wtf, I tried to download the block chain on 0.8.1 three times now. Either it gets stuck on a wrong chain or the database gets corrupted?!? Is that a know issue?
1559 2013-04-20 14:09:48 Jackneill has joined
1560 2013-04-20 14:09:54 <sipa> PK: what OS, what kind of hardware?
1561 2013-04-20 14:10:04 Plornt has joined
1562 2013-04-20 14:10:06 rdymac has joined
1563 2013-04-20 14:10:37 <PK> Win XP 64, kind of hardware... well, good old hard disk that spins rather than a SSD.
1564 2013-04-20 14:10:52 <sipa> how much RAM?
1565 2013-04-20 14:10:56 <PK> 5 GB
1566 2013-04-20 14:11:13 <PK> 3x 1 + 1x2 ... don't ask.
1567 2013-04-20 14:11:17 <sipa> PK: ok
1568 2013-04-20 14:11:26 <sipa> can you start the client with "-reindex" on the command-line?
1569 2013-04-20 14:11:28 orblivion has quit (Read error: Connection reset by peer)
1570 2013-04-20 14:11:53 <sipa> PK: and if it happens again, as soon as possible afterwards, come back here and put your debug.log file somewhere
1571 2013-04-20 14:11:54 <PK> doing that right now.
1572 2013-04-20 14:12:13 <sipa> it's something we're seeing from time to time, but can't reproduce
1573 2013-04-20 14:12:41 i2pRelay has quit (Remote host closed the connection)
1574 2013-04-20 14:12:57 <sipa> if you have some memory to spare, you can speed up the reindexing by passing -dbcache=1000
1575 2013-04-20 14:13:05 <sipa> (which means use 1 GB of in-memory cache)
1576 2013-04-20 14:13:11 <PK> You should have told me before -reindex. Now the log is gone.
1577 2013-04-20 14:13:13 i2pRelay has joined
1578 2013-04-20 14:13:24 orblivion has joined
1579 2013-04-20 14:13:49 <sipa> you can exit the client during the reindex, and start again - it will continue where it left off
1580 2013-04-20 14:13:54 robbak has quit (Remote host closed the connection)
1581 2013-04-20 14:14:22 robbak has joined
1582 2013-04-20 14:15:48 <PK> it's running with -dbcache=3000 now. I'll let you know when it's done or breaks again.
1583 2013-04-20 14:18:28 <PK> sipa: it's technically not possible to parallelize the reindexing, is it?
1584 2013-04-20 14:19:14 paraipan has joined
1585 2013-04-20 14:19:30 <sipa> PK: 3000 may be too much (windows builds are 32 bit and only support 4 GiB of address space)
1586 2013-04-20 14:19:50 <PK> 3000 would be 3GB, right?
1587 2013-04-20 14:20:06 chmod755 has joined
1588 2013-04-20 14:20:07 <sipa> PK: the cpu untensive part (signature checking, which is only enabled at the end)
1589 2013-04-20 14:20:12 Sealy has quit (Quit: Sealy)
1590 2013-04-20 14:20:17 <sipa> is already parallellized
1591 2013-04-20 14:20:20 <sipa> the rest is a lot harder
1592 2013-04-20 14:20:42 i2pRelay has quit (Remote host closed the connection)
1593 2013-04-20 14:20:54 paraipan has quit (Client Quit)
1594 2013-04-20 14:21:08 <PK> Was afraid so, otherwise it would have been a good use for the gpu.
1595 2013-04-20 14:21:13 <sipa> yes 3000 is 3 GB
1596 2013-04-20 14:21:15 i2pRelay has joined
1597 2013-04-20 14:21:34 <sipa> but that's far from tje only thing that needs address space
1598 2013-04-20 14:22:25 robbak has quit (Remote host closed the connection)
1599 2013-04-20 14:22:47 robbak has joined
1600 2013-04-20 14:22:52 erle- has quit (Quit: erle-)
1601 2013-04-20 14:23:10 robocoin has joined
1602 2013-04-20 14:24:05 rainworm has quit ()
1603 2013-04-20 14:24:06 JDuke128 has quit (Quit: Computer has gone to sleep.)
1604 2013-04-20 14:24:53 ThomasV has quit (Quit: Leaving)
1605 2013-04-20 14:25:11 Impaler_ has quit (Remote host closed the connection)
1606 2013-04-20 14:27:22 <HM2> you won't even get 4 GiB on 32bit Windows
1607 2013-04-20 14:27:48 <HM2> the kernel consumes 2 GiB of it
1608 2013-04-20 14:28:34 systemParanoid has quit (Ping timeout: 258 seconds)
1609 2013-04-20 14:28:44 i2pRelay has quit (Remote host closed the connection)
1610 2013-04-20 14:29:16 i2pRelay has joined
1611 2013-04-20 14:30:18 iddo has quit (Ping timeout: 264 seconds)
1612 2013-04-20 14:30:53 ProfMac has joined
1613 2013-04-20 14:31:07 iddo has joined
1614 2013-04-20 14:31:55 tonikt has quit (Quit: Leaving)
1615 2013-04-20 14:35:13 skeledrew has joined
1616 2013-04-20 14:35:15 Thepok has joined
1617 2013-04-20 14:36:03 OPrime has quit (Quit: OPrime)
1618 2013-04-20 14:36:46 i2pRelay has quit (Remote host closed the connection)
1619 2013-04-20 14:36:49 valparaiso_ has joined
1620 2013-04-20 14:37:17 i2pRelay has joined
1621 2013-04-20 14:37:28 <PK> sipa: http://pastebin.ca/2362928
1622 2013-04-20 14:38:26 <Apocaly> <HM2> the kernel consumes 2 GiB of it // is trolling allowed here ?
1623 2013-04-20 14:38:26 <PK> HM2: you can change that to 1GB and leave 3GB to the apps with the right flags. But I use xp64 which is a 64bit OS, so the applications should get the full 4 GB if they are aware of the large memory.
1624 2013-04-20 14:38:27 <sipa> PK: is it always at the same block that it fails?
1625 2013-04-20 14:38:48 <Apocaly> HM2, it's a bit farfetched, 1GB kernel the oher one explorer.exe :)
1626 2013-04-20 14:39:05 <sipa> Apocaly: we're not talking about memory usage, but about address spaces
1627 2013-04-20 14:39:10 <HM2> PK, yeah but a lot of drivers fall over with /3GB, especially graphics drivers
1628 2013-04-20 14:39:15 <Apocaly> oh, my bad sipa
1629 2013-04-20 14:39:25 <PK> sipa: no
1630 2013-04-20 14:39:39 valparaiso has quit (Ping timeout: 252 seconds)
1631 2013-04-20 14:39:39 valparaiso_ is now known as valparaiso
1632 2013-04-20 14:39:44 <sipa> PK: can you verify by running -reindex again?
1633 2013-04-20 14:39:46 <Apocaly> "consumes" isn't a proper wording for talking about address space though...
1634 2013-04-20 14:39:58 <HM2> reserves then
1635 2013-04-20 14:40:00 <sipa> Apocaly: sure it is, it's a limited resource
1636 2013-04-20 14:40:04 <Apocaly> yes
1637 2013-04-20 14:40:09 <Apocaly> reserves is good
1638 2013-04-20 14:40:14 <sipa> ok ok, reserves
1639 2013-04-20 14:40:25 <HM2> lol
1640 2013-04-20 14:40:26 <sipa> or "allocates", even more technically correct
1641 2013-04-20 14:40:32 <PK> Apocaly, HM2, everyone else: Detailed answer here: http://stackoverflow.com/questions/5686459/what-is-the-maximum-memory-available-to-a-c-application-on-32-bit-windows
1642 2013-04-20 14:41:24 <HM2> If you're not using a 64bit OS by now you need to save your Bitcoins
1643 2013-04-20 14:42:05 <HM2> interestingly, Windows has an API that lets you unmap stuff from memory and then remap it later without loss
1644 2013-04-20 14:42:18 <HM2> so with a bit of a dance you can access more than 4 GiB of ram from a 32bit process
1645 2013-04-20 14:43:06 <Apocaly> <HM2> interestingly, Windows has an API that lets you unmap stuff from memory and then remap it later without loss // only to some very limited extent
1646 2013-04-20 14:43:23 <Apocaly> or maybe using swap
1647 2013-04-20 14:43:28 <sipa> HM2: imagine it was 64 KiB, would you say the same?
1648 2013-04-20 14:43:31 <PK> HM2: that's more like playing twister than a dance. A 32bit process doesn't have the pointers to point to more than 2^32 addresses.
1649 2013-04-20 14:44:00 <Apocaly> PK, it will save some stuff on disk i believe
1650 2013-04-20 14:44:02 <HM2> sipa?
1651 2013-04-20 14:44:14 <Apocaly> of course it doesn't have more than 2^32..
1652 2013-04-20 14:44:16 <HM2> Apocaly: no it'll keep it in RAM, it just won't be mapped
1653 2013-04-20 14:44:23 <kinlo> in the listunspent rpc call, what is the meaning of the scriptPubKey field?
1654 2013-04-20 14:44:36 <sipa> kinlo: the scriptPubKey of the unspent output
1655 2013-04-20 14:44:46 <PK> Apocaly: then the "process" can't use it. Maybe the OS can be offering up to 4GB to each process.
1656 2013-04-20 14:44:49 i2pRelay has quit (Remote host closed the connection)
1657 2013-04-20 14:45:13 <kinlo> sipa: so basicly the bitcoin address to which the output is sent?
1658 2013-04-20 14:45:18 joesmoe has quit (Ping timeout: 264 seconds)
1659 2013-04-20 14:45:21 i2pRelay has joined
1660 2013-04-20 14:45:30 <sipa> kinlo: assuming it's a standard pay-to-pubkeyhash script, yes
1661 2013-04-20 14:45:50 <sipa> there's a pull request to add the address to the output; not sure if it's already merged
1662 2013-04-20 14:45:59 <kinlo> sipa: kinda hard to believe
1663 2013-04-20 14:46:09 <kinlo> sipa: the data I see isn't that
1664 2013-04-20 14:46:13 <sipa> explain?
1665 2013-04-20 14:46:29 <sipa> or give an example
1666 2013-04-20 14:46:48 <kinlo> the scriptPubKey is the same, while the unspent transactions are to different adresses
1667 2013-04-20 14:47:14 <kinlo> oh wait
1668 2013-04-20 14:47:30 <kinlo> they LOOK the same, they all start and end with the same data
1669 2013-04-20 14:47:37 <kinlo> I mistaken them for being equal
1670 2013-04-20 14:47:42 <sipa> yes, standard scripts look similar
1671 2013-04-20 14:47:50 macboz has joined
1672 2013-04-20 14:48:01 <kinlo> yeah, when comparing you only look at the beginning and the end :p
1673 2013-04-20 14:48:20 <HM2> won't be a problem once hashed scripts arrive. right sips? :P
1674 2013-04-20 14:48:37 <kinlo> so they all end on 88ac and start with 76a914
1675 2013-04-20 14:48:50 <sipa> HM2: even P2SH scripts look similar
1676 2013-04-20 14:51:01 brocktice has quit (Quit: leaving)
1677 2013-04-20 14:51:52 brocktice has joined
1678 2013-04-20 14:52:51 i2pRelay has quit (Remote host closed the connection)
1679 2013-04-20 14:53:23 i2pRelay has joined
1680 2013-04-20 14:53:28 brocktice has quit (Client Quit)
1681 2013-04-20 14:55:30 brocktice has joined
1682 2013-04-20 14:55:55 brocktice has quit (Client Quit)
1683 2013-04-20 14:57:52 ProfMac has quit (Ping timeout: 245 seconds)
1684 2013-04-20 14:58:30 brocktice has joined
1685 2013-04-20 15:00:14 macboz has quit (Quit: This computer has gone to sleep)
1686 2013-04-20 15:00:53 i2pRelay has quit (Remote host closed the connection)
1687 2013-04-20 15:01:25 i2pRelay has joined
1688 2013-04-20 15:01:32 <sipa> PK: any progress?
1689 2013-04-20 15:01:58 BTCOxygen has quit (Ping timeout: 248 seconds)
1690 2013-04-20 15:02:34 emryss has joined
1691 2013-04-20 15:03:00 BTCOxygen has joined
1692 2013-04-20 15:04:21 Confused has joined
1693 2013-04-20 15:07:43 <Confused> What the hell...Solution Found but send Param WRONG!!!
1694 2013-04-20 15:07:55 <Confused> My Source Data is
1695 2013-04-20 15:08:03 <Confused> 00000002b15704f4ecae05d077e54f6ec36da7f20189ef73b77603225ae56d2b00000000bcf59695a4e35a2f7535e1a86b306a3b08c212bf0b833764018fe39f01919381510c28111c0e8a3700000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000.
1696 2013-04-20 15:08:08 <Confused> The Correct Send Param is:
1697 2013-04-20 15:08:14 <Confused> 00000002b15704f4ecae05d077e54f6ec36da7f20189ef73b77603225ae56d2b00000000b052cbbdeed2489ccb13a526b77fadceef4caf7d3bb82a9eb0b69ebb90f9f5a7510c27fd1c0e8a37fa531338000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
1698 2013-04-20 15:08:20 <Confused> The First 73 is the same as the Source Data but then what Voodoo Magic happened that caused the next the 71 characters to change ? I thought we are just suppose to replace the nonce from the source data to the correct nonce[Convert to Hex and Convert to Big Endian] ?
1699 2013-04-20 15:08:56 i2pRelay has quit (Remote host closed the connection)
1700 2013-04-20 15:09:28 i2pRelay has joined
1701 2013-04-20 15:11:02 <PK> sipa: it's still scanning. Old PC isn't that fast.
1702 2013-04-20 15:12:33 <PK> sipa: it's at 168470 now. So past the last block it couldn't validate.
1703 2013-04-20 15:13:08 <sipa> that can only mean that either it misread it from disk previous time, or there's some bug with your CPU or RAM...
1704 2013-04-20 15:13:15 egis has quit (Quit: Leaving)
1705 2013-04-20 15:14:57 <jrmithdobbs> lollin so hard at that press page website github issue
1706 2013-04-20 15:15:10 <jrmithdobbs> while we're at it, let's add weev to the fuckin press page guys!
1707 2013-04-20 15:15:14 <jrmithdobbs> for fair and balanced coverage!
1708 2013-04-20 15:15:23 <jrmithdobbs> he loves to promot bitcoin!
1709 2013-04-20 15:15:27 <sipa> weev?
1710 2013-04-20 15:15:33 jaequery has quit (Quit: Computer has gone to sleep.)
1711 2013-04-20 15:15:50 <jrmithdobbs> sipa: @rabite ... the att/ipad/wget is a cfaa violation now guy
1712 2013-04-20 15:16:01 sensorii has quit (Ping timeout: 276 seconds)
1713 2013-04-20 15:16:35 <sipa> i didn't understand anything of that sentence except 'the', 'is', 'a', 'now' and 'guy'
1714 2013-04-20 15:16:35 <jrmithdobbs> aka, horrible awful human being who lives to troll and take advantage of people (much like the tards being proposed to be added as official press on bitcoin.org, lulz)
1715 2013-04-20 15:16:51 jspilman has joined
1716 2013-04-20 15:16:59 i2pRelay has quit (Remote host closed the connection)
1717 2013-04-20 15:17:06 <JWU42> sipa: you are not alone in the lack of comprehension ;)
1718 2013-04-20 15:17:19 guruvan has quit (Ping timeout: 276 seconds)
1719 2013-04-20 15:17:31 i2pRelay has joined
1720 2013-04-20 15:17:34 <jrmithdobbs> sipa: who weev is: http://www.nytimes.com/2008/08/03/magazine/03trolls-t.html?pagewanted=all&_r=0 ... why anyone knows his name: http://motherboard.vice.com/blog/no-more-lulz-should-weev-the-world-s-most-notorious-troll-go-to-jail-for-hacking
1721 2013-04-20 15:18:05 JDuke128 has joined
1722 2013-04-20 15:19:34 <jrmithdobbs> sipa: he just happens to rant about bitcoin constantly, and therefore would obviously be as good an addition to the press page on bitcoin.org as jon matonis / roger ver (aka https://github.com/bitcoin/bitcoin.org/issues/145 )
1723 2013-04-20 15:19:50 <sipa> great
1724 2013-04-20 15:20:01 <sipa> i've seen enough not to bother reading further
1725 2013-04-20 15:20:04 <jrmithdobbs> sipa: i say i say i say it's a joke son.
1726 2013-04-20 15:20:34 <jrmithdobbs> (i'm calling the people who are arguing in that issue stupid, not srsly proposing any mention of weev be added to the website, if you're missing that part.)
1727 2013-04-20 15:21:42 guruvan has joined
1728 2013-04-20 15:21:43 roconnor has joined
1729 2013-04-20 15:22:12 sensorii has joined
1730 2013-04-20 15:22:17 FrenchieTucker has joined
1731 2013-04-20 15:22:53 debiantoruser has quit (Ping timeout: 256 seconds)
1732 2013-04-20 15:24:20 <HM2> asio is one whacky library
1733 2013-04-20 15:24:40 debiantoruser has joined
1734 2013-04-20 15:24:43 robbak has quit (Read error: Connection reset by peer)
1735 2013-04-20 15:24:47 <HM2> the i/o objects do nothing but forward calls almost verbatim to the backend service, and the backend service does almost nothing but forward the calls to the implementation
1736 2013-04-20 15:25:00 i2pRelay has quit (Remote host closed the connection)
1737 2013-04-20 15:25:08 robbak has joined
1738 2013-04-20 15:25:31 i2pRelay has joined
1739 2013-04-20 15:26:40 BlackPrapor has joined
1740 2013-04-20 15:27:07 roconnor has quit (Remote host closed the connection)
1741 2013-04-20 15:30:10 <HM2> and nothing seems to make use of this architecture
1742 2013-04-20 15:31:03 owowo has quit (Remote host closed the connection)
1743 2013-04-20 15:31:21 Davincij15 has quit (Ping timeout: 252 seconds)
1744 2013-04-20 15:31:39 owowo has joined
1745 2013-04-20 15:32:45 dino__ has joined
1746 2013-04-20 15:33:02 i2pRelay has quit (Remote host closed the connection)
1747 2013-04-20 15:33:26 BlackPrapor has quit (Ping timeout: 248 seconds)
1748 2013-04-20 15:33:34 i2pRelay has joined
1749 2013-04-20 15:34:17 enquirer has quit (Quit: Nettalk6 - www.ntalk.de)
1750 2013-04-20 15:37:20 ProfMac has joined
1751 2013-04-20 15:38:06 <kronicd_> I'm back again! I'm trying to figure out how to parse an address into a vector suitable for use as a scriptPubKey
1752 2013-04-20 15:38:10 <kronicd_> any advice?
1753 2013-04-20 15:39:33 Confused has quit (Quit: Page closed)
1754 2013-04-20 15:39:55 <lianj> kronicd_: you need to parse out the hash160 of the address. that comes into the script. not the address itself
1755 2013-04-20 15:39:56 agricocb has quit (Remote host closed the connection)
1756 2013-04-20 15:41:05 i2pRelay has quit (Remote host closed the connection)
1757 2013-04-20 15:41:15 robbak has quit (Remote host closed the connection)
1758 2013-04-20 15:41:38 i2pRelay has joined
1759 2013-04-20 15:41:42 robbak has joined
1760 2013-04-20 15:42:13 BlackPrapor has joined
1761 2013-04-20 15:43:34 <kronicd_> lianj: thanks again
1762 2013-04-20 15:44:37 jaequery has joined
1763 2013-04-20 15:45:00 <lianj> kronicd_: https://en.bitcoin.it/wiki/Transactions#Types_of_Transaction you want 'Transfer to Bitcoin address'
1764 2013-04-20 15:45:33 daybyter has quit (Quit: Konversation terminated!)
1765 2013-04-20 15:46:34 sensorii has quit (Ping timeout: 276 seconds)
1766 2013-04-20 15:46:34 guruvan has quit (Ping timeout: 276 seconds)
1767 2013-04-20 15:47:13 i2pRelay has quit (Ping timeout: 276 seconds)
1768 2013-04-20 15:47:13 random_cat has quit (Ping timeout: 276 seconds)
1769 2013-04-20 15:48:52 jaequery has quit (Client Quit)
1770 2013-04-20 15:49:57 ProfMac has quit (Ping timeout: 245 seconds)
1771 2013-04-20 15:50:00 <kronicd_> excuse the dump (only five lines or so), but heres where I am at the moment in test code
1772 2013-04-20 15:50:04 <kronicd_> CBitcoinAddress testAddr("1GftTpgiMP2xfSdtTTtVBdKTBEDAiRh7ia");
1773 2013-04-20 15:50:06 <kronicd_> CScript testScriptPubKey;
1774 2013-04-20 15:50:09 <kronicd_> testScriptPubKey.SetDestination(testAddr);
1775 2013-04-20 15:50:11 <kronicd_> txNew.vout[0].scriptPubKey = CScript() << testScriptPubKey.SOMETHING? << OP_CHECKSIG;
1776 2013-04-20 15:50:36 median^ has quit (Ping timeout: 252 seconds)
1777 2013-04-20 15:50:45 <Graet> but maybe i should try to come to japan for a night or 3 next time you are there :P
1778 2013-04-20 15:50:50 <Graet> oops
1779 2013-04-20 15:51:02 <sipa> kronicd_: just txNew.vout[0].scriptPubKey.SetDestination(testAddr)
1780 2013-04-20 15:51:41 <kronicd_> oh crap
1781 2013-04-20 15:51:45 <kronicd_> sipa: thanks...
1782 2013-04-20 15:51:49 <kronicd_> I feel pretty tarded right now.
1783 2013-04-20 15:52:08 robocoin has quit (Ping timeout: 258 seconds)
1784 2013-04-20 15:52:25 <kronicd_> do I still need the OP_CHECKSIG;?
1785 2013-04-20 15:52:44 guruvan has joined
1786 2013-04-20 15:53:01 <sipa> no
1787 2013-04-20 15:53:03 robocoin has joined
1788 2013-04-20 15:53:03 robocoin has quit (Changing host)
1789 2013-04-20 15:53:03 robocoin has joined
1790 2013-04-20 15:53:44 sensorii has joined
1791 2013-04-20 15:53:51 <sipa> .SetDestination builds a standard script (including the OP_CHECKSIG) of a payment to an address
1792 2013-04-20 15:54:37 JDuke128 has quit (Quit: Computer has gone to sleep.)
1793 2013-04-20 15:55:11 metabyte_ has quit (Remote host closed the connection)
1794 2013-04-20 15:55:51 <kronicd_> I've just tried that out and I'm getting the error no known conversion for argument 2 from 'BitcoinAddress' to 'const CKeyID&' any clue?
1795 2013-04-20 15:56:04 Apocaly has quit (Read error: Connection reset by peer)
1796 2013-04-20 15:56:05 Apocaly4 has joined
1797 2013-04-20 15:56:09 metabyte_ has joined
1798 2013-04-20 15:56:21 random_cat has joined
1799 2013-04-20 15:58:18 <sipa> oh, you need to convert the CBitcoinAddress to a CDestination
1800 2013-04-20 15:58:48 Davincij15 has joined
1801 2013-04-20 15:58:52 <sipa> so .SetDestination(testAddr.Get())
1802 2013-04-20 15:58:56 jaequery has joined
1803 2013-04-20 15:59:13 <sipa> CBitcoinAddress is the base58 converted form of a CTxDestination
1804 2013-04-20 16:00:22 <kronicd_> ahh
1805 2013-04-20 16:01:14 rdymac has quit (Quit: This computer has gone to sleep)
1806 2013-04-20 16:02:24 joesmoe has joined
1807 2013-04-20 16:02:30 Peacemaker420 has joined
1808 2013-04-20 16:02:52 rdymac has joined
1809 2013-04-20 16:03:16 rdymac has quit (Read error: Connection reset by peer)
1810 2013-04-20 16:04:37 rdymac has joined
1811 2013-04-20 16:06:29 jaequery has quit (Quit: Textual IRC Client: www.textualapp.com)
1812 2013-04-20 16:06:30 Belxjander has quit (Ping timeout: 248 seconds)
1813 2013-04-20 16:07:06 joesmoe has quit (Ping timeout: 252 seconds)
1814 2013-04-20 16:09:54 erle- has joined
1815 2013-04-20 16:09:55 FrenchieTucker has left ()
1816 2013-04-20 16:12:01 ThomasV has joined
1817 2013-04-20 16:13:00 <kronicd_> looking a lot better, binary is having some db creation errors, but I'll try rebuilding db 4.8.30 first
1818 2013-04-20 16:18:11 dino__ has quit (Quit: Textual IRC Client: www.textualapp.com)
1819 2013-04-20 16:18:36 BitCuriousJ has joined
1820 2013-04-20 16:19:12 agricocb has joined
1821 2013-04-20 16:19:44 Davincij15 has quit (Ping timeout: 260 seconds)
1822 2013-04-20 16:19:59 BitCuriousJ has left ()
1823 2013-04-20 16:23:37 BitCuriousJ has joined
1824 2013-04-20 16:23:40 BitCuriousJ has left ()
1825 2013-04-20 16:24:28 Namworld has joined
1826 2013-04-20 16:27:42 marijnfs has joined
1827 2013-04-20 16:28:00 JDuke128 has joined
1828 2013-04-20 16:33:24 ProfMac has joined
1829 2013-04-20 16:34:06 <marijnfs> hello, im trying communicate with the testnetwork to understand the protocol
1830 2013-04-20 16:34:39 <marijnfs> i open a tcp connection with one of the nodes at their port 18333 and send the version message, but i get nothing back
1831 2013-04-20 16:35:01 robbak has quit (Remote host closed the connection)
1832 2013-04-20 16:35:09 <marijnfs> i should expect a version messgae back over the tcp connection, right?
1833 2013-04-20 16:35:26 robbak has joined
1834 2013-04-20 16:35:54 <sipa> yes, and a verack
1835 2013-04-20 16:37:19 <[psy]> maybe its ssl?
1836 2013-04-20 16:37:27 ProfMac has quit (Ping timeout: 245 seconds)
1837 2013-04-20 16:37:52 <sipa> no, it isn't
1838 2013-04-20 16:38:05 <Ferroh_> Who is the bitcoincharts guy?
1839 2013-04-20 16:38:15 <lianj> tcatm
1840 2013-04-20 16:38:41 <Ferroh_> tcatm: You suck.
1841 2013-04-20 16:38:47 <Ferroh_> fix your api
1842 2013-04-20 16:39:01 Ferroh_ has left ("*poof*")
1843 2013-04-20 16:39:17 <lianj> Ferroh_: pft, he is friendly and provides a longrunning great service
1844 2013-04-20 16:39:57 <lianj> oh gone. what a douche
1845 2013-04-20 16:40:14 Ferroh has joined
1846 2013-04-20 16:40:47 <lianj> Ferroh: youre a douche, he is friendly and provides a longrunning great service. whats wrong with the api?
1847 2013-04-20 16:41:22 <Ferroh> according to him he made a "slight semantic change"
1848 2013-04-20 16:41:28 <Ferroh> which now renders it basically useless
1849 2013-04-20 16:42:15 <lianj> whats the change? in which part of the api?
1850 2013-04-20 16:42:19 vucx has quit (Ping timeout: 264 seconds)
1851 2013-04-20 16:42:49 <Ferroh> I shouldn't say useless, it's just that you now have to make many requests to get the data you want
1852 2013-04-20 16:43:01 <Ferroh> the change is that he removed the start paramete
1853 2013-04-20 16:43:11 <marijnfs> sipa: so i connect to his port 18333, but on my side its on another port, is that a problem?
1854 2013-04-20 16:43:13 <Ferroh> so if you want 24 hours of data from 30 days ago for example,
1855 2013-04-20 16:43:15 <HM2> welcome to the painful world of API design
1856 2013-04-20 16:43:25 <sipa> marijnfs: no, that's very normal
1857 2013-04-20 16:43:41 <Ferroh> then you now have to specify an end time, and he gives you 2000 trades
1858 2013-04-20 16:43:56 <Ferroh> so now think about how you would discover the 24 hours of data you want.
1859 2013-04-20 16:44:34 <Ferroh> or to be clearer:
1860 2013-04-20 16:44:46 <Ferroh> You specify and end time, and he gives you 2000 trades before the end time.
1861 2013-04-20 16:44:54 <Ferroh> So getting data is now a big pain.
1862 2013-04-20 16:45:06 <Ferroh> I am annoyed
1863 2013-04-20 16:45:38 nus- has joined
1864 2013-04-20 16:45:57 <lianj> its a free service walk back the time and fetch them then, or even better capture and store them live
1865 2013-04-20 16:46:00 <sipa> "aaargh, this free service works differently now, so i have to do work!"
1866 2013-04-20 16:46:17 xenesis has joined
1867 2013-04-20 16:47:53 <fishfish> hi guys, do you know if it's possible to use the bitcoinqt client as a daemon for testing purposes? got a test machine I don't feel like building bitcoind on.
1868 2013-04-20 16:48:45 <Ferroh> lianj, sipa: You can only call the API once per 15 minutes.
1869 2013-04-20 16:48:54 <Ferroh> It's not about doing it differently, its that you cannot do it.
1870 2013-04-20 16:49:01 <Ferroh> What if there are more than 2000 trades in a 15 minute period?
1871 2013-04-20 16:49:27 nus has quit (Ping timeout: 252 seconds)
1872 2013-04-20 16:50:01 <lianj> Ferroh: `nc bitcoincharts.com 27007`
1873 2013-04-20 16:50:24 <marijnfs> sipa: what could cause the other node to just keep the connection open?
1874 2013-04-20 16:50:34 <marijnfs> if it doesnt accept the version, it would close the connection right?
1875 2013-04-20 16:50:53 <sipa> marijnfs: depending on what code it is, it may just drop the packet it doesn't understand
1876 2013-04-20 16:51:07 <sipa> git head will disconnect
1877 2013-04-20 16:53:26 <marijnfs> sipa: im using 'gobit' code, but i think it might be an old protocol version. version messages now need a checksum right?
1878 2013-04-20 16:53:58 <sipa> yes
1879 2013-04-20 16:54:07 <sipa> never heard of gobit
1880 2013-04-20 16:54:21 <Ferroh> lianj: Ya, that's not the API. If I wanted to just listen then I might as well just listen to MtGox directly, instead of adding a second point of failure.
1881 2013-04-20 16:55:05 vucx has joined
1882 2013-04-20 16:57:30 <Ferroh> sipa: Bitcoin is a free service. Should I not complain if it stops working?
1883 2013-04-20 16:58:10 <Ferroh> although I guess thats not quite what you said
1884 2013-04-20 16:58:13 <Ferroh> so ok fine.
1885 2013-04-20 16:58:22 joesmoe has joined
1886 2013-04-20 16:58:27 <fishfish> hi guys, say i have one wallet with 3 addresses on it. I want to transfer from address 1 and 2 to address 3 but I'd rather not pay trx fees. Is there no way around it? Seems odd I have to pay trx fee when all the addresses are on the same wallet.
1887 2013-04-20 16:58:45 Tom_Soft has joined
1888 2013-04-20 16:59:28 <sipa> fishfish: the bitcoin network doesn't know or care whether those addresses are your own or not, but you are asking the network to secure the transaction
1889 2013-04-20 17:01:44 nus-- has joined
1890 2013-04-20 17:04:16 <fishfish> thanks sipa!
1891 2013-04-20 17:05:09 cuqa has quit (Changing host)
1892 2013-04-20 17:05:09 cuqa has joined
1893 2013-04-20 17:05:24 nus- has quit (Ping timeout: 252 seconds)
1894 2013-04-20 17:07:49 bitit has quit (Ping timeout: 276 seconds)
1895 2013-04-20 17:11:40 RazielXYZ has joined
1896 2013-04-20 17:13:33 thebadplus has joined
1897 2013-04-20 17:14:05 RazielZ has quit (Ping timeout: 246 seconds)
1898 2013-04-20 17:18:03 orblivion has quit (Ping timeout: 252 seconds)
1899 2013-04-20 17:20:40 orblivion has joined
1900 2013-04-20 17:22:41 metabyte has joined
1901 2013-04-20 17:22:54 <bibbybob> Is it worthwhile to cpu mine on the testnet?
1902 2013-04-20 17:24:22 <Apocaly4> fishfish, there is a way !
1903 2013-04-20 17:24:35 <Apocaly4> if each adress is on a different account
1904 2013-04-20 17:24:44 <Apocaly4> you just use the move RPC call
1905 2013-04-20 17:25:01 <Apocaly4> no tx fee as a transaction won't be created and it's instant
1906 2013-04-20 17:25:18 <Apocaly4> move <fromaccount> <toaccount> <amount> [minconf=1] [comment] Move from one account in your wallet to another
1907 2013-04-20 17:25:30 <fishfish> oh really
1908 2013-04-20 17:25:53 <Apocaly4> fishfish, i use that on a daily basis, works like a charm
1909 2013-04-20 17:26:01 metabyte_ has quit (Ping timeout: 276 seconds)
1910 2013-04-20 17:26:08 paraipan has joined
1911 2013-04-20 17:26:11 <fishfish> so i need to create an account per address then?
1912 2013-04-20 17:26:17 <sipa> fishfish: it doesn't change the address
1913 2013-04-20 17:26:25 <sipa> it just changes the local balance in the wallet
1914 2013-04-20 17:26:30 <sipa> if you use the accounts feature
1915 2013-04-20 17:26:37 <Apocaly4> sipa BS
1916 2013-04-20 17:26:42 <sipa> Apocaly4: please
1917 2013-04-20 17:26:47 <sipa> accounts have nothing to do with addresses
1918 2013-04-20 17:26:48 <Apocaly4> why would such a feature be there ?
1919 2013-04-20 17:26:51 robbak has quit (Remote host closed the connection)
1920 2013-04-20 17:26:51 <Apocaly4> they have
1921 2013-04-20 17:27:06 <Apocaly4> fishfish, use the set account if you don't have addresses
1922 2013-04-20 17:27:06 <Apocaly4> setaccount <bitcoinaddress> <account> Sets the account associated with the given address. Assigning address that is already assigned to the same account will create a new address associated with that account.
1923 2013-04-20 17:27:16 robbak has joined
1924 2013-04-20 17:27:20 <sipa> Apocaly4: you're confused, and you're confusing fishfish
1925 2013-04-20 17:27:25 <Apocaly4> that way you can map each address to an account if you don't have already
1926 2013-04-20 17:27:31 whiterab1it has joined
1927 2013-04-20 17:27:33 <Apocaly4> and then use the move call
1928 2013-04-20 17:27:33 <sipa> accounts are purely a feature inside the wallet
1929 2013-04-20 17:27:40 <Apocaly4> sipa, yes
1930 2013-04-20 17:27:42 <Apocaly4> so ?
1931 2013-04-20 17:27:43 <sipa> to keep track of multiple users sharing a wallet
1932 2013-04-20 17:27:52 <sipa> coins do not belong to accounts
1933 2013-04-20 17:27:53 <Apocaly4> he's talking about 3 addresses inside the same wallet too
1934 2013-04-20 17:27:56 <sipa> accounts can go negative
1935 2013-04-20 17:28:12 <Apocaly4> <sipa> accounts can go negative // why is this relevant ?
1936 2013-04-20 17:28:23 <sipa> it's relevant to show you that coins do not belong to accounts
1937 2013-04-20 17:28:30 <Apocaly4> i know that
1938 2013-04-20 17:28:37 <sipa> if you want to change the address a coin is assigned to, you need bitcoin transaction
1939 2013-04-20 17:28:52 <sipa> the move command is only useful to change the virtual balance of an account inside your wallet
1940 2013-04-20 17:29:10 <sipa> they may be what you want to, but unless you're already using the accounts feature, that's probably not the case
1941 2013-04-20 17:29:55 wrabbit has quit (Ping timeout: 276 seconds)
1942 2013-04-20 17:29:58 whiterab1it is now known as wrabbit
1943 2013-04-20 17:30:47 daveluke has joined
1944 2013-04-20 17:31:23 <TheSeven> does someone know of a base58check validator implemented in javascript?
1945 2013-04-20 17:31:42 brwyatt is now known as Away!~brwyatt@brwyatt.net|brwyatt
1946 2013-04-20 17:31:47 <sipa> fishfish: unless you're implementing a service that holds a wallet for several people, the move command is unlikely to be what you want
1947 2013-04-20 17:33:02 <fishfish> sipa: thank you! i am indeed a multi user server. Each user has an address and i'm trying to move money from all addresses to a single one
1948 2013-04-20 17:33:14 <fishfish> at a regular interval hence the reticence to pay trx fees
1949 2013-04-20 17:33:35 <sipa> fishfish: one address per user is pretty bad for privacy
1950 2013-04-20 17:33:54 rdymac has quit (Quit: This computer has gone to sleep)
1951 2013-04-20 17:34:17 <sipa> but in that case you can actually use the accounts feature; getaccountaddress will give a new address for a particular user, and when payments are received to it, that user's account will be credited
1952 2013-04-20 17:34:43 <sipa> you'll need to use sendfrom to specify which account to debit when making payments
1953 2013-04-20 17:35:13 <sipa> also: please understand that these accounts have nothing to do with coins... the coins in the wallets will be shared among users, and assigned to any and all addresses in it
1954 2013-04-20 17:35:23 <fishfish> ah.
1955 2013-04-20 17:35:42 gglon has joined
1956 2013-04-20 17:36:16 erle- has quit (Quit: erle-)
1957 2013-04-20 17:37:08 ielo_ has joined
1958 2013-04-20 17:40:36 daybyter has joined
1959 2013-04-20 17:42:32 da2ce7 has joined
1960 2013-04-20 17:44:02 <Apocaly4> fishfish, i'm in the same situation
1961 2013-04-20 17:44:45 da2ce7_d has quit (Ping timeout: 256 seconds)
1962 2013-04-20 17:45:35 marijnfs has quit (Quit: Leaving)
1963 2013-04-20 17:46:00 rich__ has left ("Leaving")
1964 2013-04-20 17:47:09 <Apocaly4> sipa, since you seem to know a lot about accounts vs addresses
1965 2013-04-20 17:47:23 quaz0r has quit (Ping timeout: 256 seconds)
1966 2013-04-20 17:47:27 <Apocaly4> how do I move funds from all acounts to a single address in a single transaction ?
1967 2013-04-20 17:47:36 <Apocaly4> well, all except one
1968 2013-04-20 17:47:49 <sipa> accounts have nothing to do with addresses!
1969 2013-04-20 17:48:03 <sipa> you can move the balance to one account, using several move commands
1970 2013-04-20 17:48:17 <sipa> or you can move the coins to one address using sendtoaddress
1971 2013-04-20 17:48:19 <Apocaly4> i want to move to an address on another waller
1972 2013-04-20 17:48:25 <Apocaly4> so no move here
1973 2013-04-20 17:48:30 <Apocaly4> i need a real transaction
1974 2013-04-20 17:48:40 <sipa> right, so you need sendtoaddress or sendfrom
1975 2013-04-20 17:48:43 <Apocaly4> sendtoaddress <bitcoinaddress> <amount> [comment] [comment-to]
1976 2013-04-20 17:48:55 <sipa> sendtoaddress will debit the "" account
1977 2013-04-20 17:49:03 defunctzombie is now known as defunctzombie_zz
1978 2013-04-20 17:49:05 <Apocaly4> that's bad because i want to leave exactly 1 address untouched
1979 2013-04-20 17:49:08 <Apocaly4> OH
1980 2013-04-20 17:49:19 <Apocaly4> <sipa> sendtoaddress will debit the "" account // are you absolutly sure ?
1981 2013-04-20 17:49:23 <sipa> yes
1982 2013-04-20 17:49:26 <Apocaly4> if yes that's great news
1983 2013-04-20 17:49:31 <sipa> why?
1984 2013-04-20 17:49:38 <sipa> sendfrom "" does the same
1985 2013-04-20 17:49:38 <Apocaly4> let's say i have account "" , 1 and 2
1986 2013-04-20 17:49:47 jdnavarro has quit (Remote host closed the connection)
1987 2013-04-20 17:49:59 <sipa> sendtoaddress is the same as sendfrom, but always debiting ""
1988 2013-04-20 17:50:01 <Apocaly4> account 1 holds 1 BTC, account 2 hold 3 BTC, account '' holds 0.5 BTC
1989 2013-04-20 17:50:06 <sipa> ok
1990 2013-04-20 17:50:29 <Apocaly4> if i issue "sendtoaddress someadress 1 BTC"
1991 2013-04-20 17:50:39 <Apocaly4> it should trigger an error right ? insufficient funds
1992 2013-04-20 17:50:43 <sipa> no it won't
1993 2013-04-20 17:50:53 <Apocaly4> it won't take the funds from account 1 & 2
1994 2013-04-20 17:50:54 <sipa> you have 4.5 BTC in your wallet, so there are enough funds
1995 2013-04-20 17:50:55 <Apocaly4> why not ?
1996 2013-04-20 17:51:04 <sipa> because accounts have nothing to do with coins1
1997 2013-04-20 17:51:08 <sipa> there are enough coins
1998 2013-04-20 17:51:10 <Apocaly4> yeah but i want to send from account ' ' only !
1999 2013-04-20 17:51:21 <Apocaly4> hum ok i get it
2000 2013-04-20 17:51:26 <sipa> what's the point?
2001 2013-04-20 17:51:27 <Apocaly4> so that's why i will do
2002 2013-04-20 17:51:32 <sipa> accounts are _ONLY_ numbers
2003 2013-04-20 17:51:39 <sipa> they are not coins, and they are not addresses
2004 2013-04-20 17:51:45 Balthamos has joined
2005 2013-04-20 17:51:45 <Apocaly4> i will call "getbalance [account] [minconf=1]"
2006 2013-04-20 17:51:54 <Apocaly4> to be sure account '' has the balance
2007 2013-04-20 17:52:09 Balthamos is now known as Guest71952
2008 2013-04-20 17:52:09 <saracen> Apocaly4: The only way you'd be able to send from this wallet without touching a specific address, is if you were to remove that address from the wallet. But, you'd need to make sure the money is actually on that address, and not inside of a change address
2009 2013-04-20 17:52:25 <sipa> that's dangerous in any case
2010 2013-04-20 17:52:41 <sipa> unless you completely understand how wallets are implemented, you'll likely shoot yourself in the foot
2011 2013-04-20 17:52:52 <Apocaly4> move <fromaccount> <toaccount> <amount> [minconf=1] [comment] // how do you explain the miniconf arg here
2012 2013-04-20 17:52:53 <Apocaly4> ?
2013 2013-04-20 17:53:01 Maroni has joined
2014 2013-04-20 17:53:12 <sipa> it's legacy, not used anymore
2015 2013-04-20 17:53:33 <sipa> move used to prevent accounts from going negative, so it needed to know what incoming transactions to count or not
2016 2013-04-20 17:54:21 <sipa> but as preventing accounts from going negative is impossible in the first place (what about reverted transactions, for example), that was removed and you're now responsible yourself for not letting them go negative if you don't want that
2017 2013-04-20 17:56:07 Tom_Soft has quit (Ping timeout: 264 seconds)
2018 2013-04-20 17:58:03 JDuke128 has quit (Quit: Computer has gone to sleep.)
2019 2013-04-20 17:58:12 ielo_ has quit (Ping timeout: 252 seconds)
2020 2013-04-20 17:58:40 <fishfish> right so say someone wanted to build a satoshicircle clone, then they would use individual deposit addresses all under one wallet and when 'aggregating' the funds just send to a 3rd party address? Sounds like accounts wouldn't be a good option here
2021 2013-04-20 17:58:52 ielo_ has joined
2022 2013-04-20 17:59:46 <Apocaly4> "so say someone wanted to build a satoshicircle clone" // are you ?
2023 2013-04-20 17:59:53 <sipa> no idea how satoshicircle works
2024 2013-04-20 18:00:54 mollison has left ("QUIT :Leaving.")
2025 2013-04-20 18:01:26 quaz0r has joined
2026 2013-04-20 18:02:11 <fishfish> like instawallet really
2027 2013-04-20 18:02:27 <fishfish> user comes in, address is generated 'here's your deposit address'
2028 2013-04-20 18:02:33 <fishfish> then they rake the accounts at night
2029 2013-04-20 18:02:45 <fishfish> to their 'hotwallet' and probably move some of that to cold storage
2030 2013-04-20 18:03:38 [Tycho] has joined
2031 2013-04-20 18:04:57 <Apocaly4> fishfish, that's a global sendtoaddress command i believe
2032 2013-04-20 18:05:01 <[Tycho]> ;;seen slush
2033 2013-04-20 18:05:02 <gribble> slush was last seen in #bitcoin-dev 3 weeks, 2 days, 8 hours, 44 minutes, and 45 seconds ago: <slush> not really :(
2034 2013-04-20 18:08:25 idstam has quit ()
2035 2013-04-20 18:11:04 vigilyn has quit (Read error: Connection reset by peer)
2036 2013-04-20 18:11:11 vigilyn has joined
2037 2013-04-20 18:11:11 vigilyn has quit (Changing host)
2038 2013-04-20 18:11:11 vigilyn has joined
2039 2013-04-20 18:11:36 darkskiez has quit (Ping timeout: 245 seconds)
2040 2013-04-20 18:12:33 darkskiez has joined
2041 2013-04-20 18:17:42 johnsoft has quit (Ping timeout: 256 seconds)
2042 2013-04-20 18:18:44 robbak has quit (Remote host closed the connection)
2043 2013-04-20 18:19:11 robbak has joined
2044 2013-04-20 18:22:45 PhantomSpark has joined
2045 2013-04-20 18:23:55 coolsa has joined
2046 2013-04-20 18:26:59 <rdponticelli> fishfish: If you want to be safe, you won't have the private key online in the first place
2047 2013-04-20 18:27:04 <rdponticelli> No need to move the coin after receiving them
2048 2013-04-20 18:28:41 FredEE has quit (Quit: FredEE)
2049 2013-04-20 18:28:47 JZavala has quit (Ping timeout: 256 seconds)
2050 2013-04-20 18:28:47 <fishfish> rdponticelli : i'd love that - but I don't understand how i cannot hold the private key on the server if I need to 'send' regularly from the wallet
2051 2013-04-20 18:30:48 <rdponticelli> fishfish: Coins are fungible
2052 2013-04-20 18:30:48 <rdponticelli> You don't have to send the exact same coins
2053 2013-04-20 18:30:52 <rdponticelli> You're better receiving them offline
2054 2013-04-20 18:32:09 <fishfish> i can receive them offline, but on a large enough user base, how would I automate the sending?
2055 2013-04-20 18:32:32 graingert_ has joined
2056 2013-04-20 18:32:33 <rdponticelli> And if you have to maintaing a hot wallet (which is a poor security practice, btw), you refill it from the offline wallet
2057 2013-04-20 18:34:38 <fishfish> rdponticelli: so , say i have a server. On the wallet are 10 addresses: 9 users, 1 hot wallet. Every 10 minutes I push all the 9 user coins to my hot wallet. Every 20 minutes I push from the hotwallet to offsite. I need the keys on the server for that.
2058 2013-04-20 18:34:42 forgot has left ("Leaving")
2059 2013-04-20 18:34:43 <rdponticelli> On a large user base you need to make some engineering, but I'll use some callback mechanism
2060 2013-04-20 18:34:59 <fishfish> what you're saying is, send the coins from elsewhere, in which case i need some form of manual process?
2061 2013-04-20 18:36:25 ielo_ has quit (Ping timeout: 264 seconds)
2062 2013-04-20 18:36:29 <rdponticelli> fishfish: You can automate some, or all the process
2063 2013-04-20 18:36:34 jedunnig_ has joined
2064 2013-04-20 18:37:06 <fishfish> i'm confused as the 'how' part - do you have links to tutorials?
2065 2013-04-20 18:37:44 <rdponticelli> But having the coins on a server, ready to send is a hacker's wet dream
2066 2013-04-20 18:37:49 <rdponticelli> fishfish: But, yes, send the coins from elsewhere, after validating that the withdrawal is legit
2067 2013-04-20 18:38:03 <fishfish> gotcha!
2068 2013-04-20 18:41:11 Thepok has quit (Ping timeout: 258 seconds)
2069 2013-04-20 18:42:18 Guest71952 has quit (Quit: Saliendo)
2070 2013-04-20 18:46:02 robbak has quit (Remote host closed the connection)
2071 2013-04-20 18:46:26 robbak has joined
2072 2013-04-20 18:51:49 noah has joined
2073 2013-04-20 18:52:07 noah has quit (Client Quit)
2074 2013-04-20 18:53:19 defunctzombie_zz is now known as defunctzombie
2075 2013-04-20 18:53:34 dino__ has joined
2076 2013-04-20 18:58:14 dbe has joined
2077 2013-04-20 18:58:38 dbe is now known as Guest11125
2078 2013-04-20 18:59:55 netsan has joined
2079 2013-04-20 19:00:12 michagogo has joined
2080 2013-04-20 19:00:13 netsan has left ()
2081 2013-04-20 19:00:22 paybitcoin has quit (Ping timeout: 248 seconds)
2082 2013-04-20 19:00:53 paybitcoin has joined
2083 2013-04-20 19:01:57 <devrandom> fishfish: Every 20 minutes I push from the hotwallet to offsite. I need the keys on the server for that.
2084 2013-04-20 19:02:04 KoSoVaR has joined
2085 2013-04-20 19:02:19 <devrandom> fishfish: that's not true. you can send to offline with just the offline public key
2086 2013-04-20 19:03:29 BenderCoin has quit (Read error: Operation timed out)
2087 2013-04-20 19:08:31 egis has joined
2088 2013-04-20 19:08:53 RazielXYZ has quit (Ping timeout: 246 seconds)
2089 2013-04-20 19:09:42 Guest11125 has quit (Remote host closed the connection)
2090 2013-04-20 19:10:58 gdbz has joined
2091 2013-04-20 19:11:08 dr0ne_ has quit ()
2092 2013-04-20 19:11:50 daveluke has quit (Quit: daveluke)
2093 2013-04-20 19:12:32 ProfMac has joined
2094 2013-04-20 19:16:20 <etotheipi_> gmaxwell: sipa: did you see TierNolan's post? I find it super-intriguing: https://bitcointalk.org/index.php?topic=88208.msg1896213#msg1896213
2095 2013-04-20 19:16:52 <etotheipi_> it's an interesting property of having this address-based lookup
2096 2013-04-20 19:17:08 JDuke128 has joined
2097 2013-04-20 19:18:02 sagax has joined
2098 2013-04-20 19:18:48 sagax has quit (Remote host closed the connection)
2099 2013-04-20 19:19:07 suporte85 has joined
2100 2013-04-20 19:19:08 <gmaxwell> We've talked before about moving the txout storage costs to the user... but I've not seen any actually fleshed out designs for it, including how you handle offline recieving.
2101 2013-04-20 19:19:16 citiz3n has quit ()
2102 2013-04-20 19:19:57 <gmaxwell> (and how do you keep the tree balanced when there are unreachable nodes?)
2103 2013-04-20 19:21:31 <etotheipi_> gmaxwell: you don't have balancing issues with trie-based structures
2104 2013-04-20 19:21:39 <etotheipi_> I just commented about that... it only matters if you use BSTs
2105 2013-04-20 19:21:44 Apocaly4 has quit (Quit: Leaving)
2106 2013-04-20 19:23:14 copumpkin has quit (Ping timeout: 252 seconds)
2107 2013-04-20 19:23:35 <gmaxwell> etotheipi_: say you're using a 256way trie. How the heck do I insert a new txout next to some dead user's 15 levels in?
2108 2013-04-20 19:24:35 <etotheipi_> gmaxwell: oh crap, good point... I forgot that you need both the sender's *and* receiver's sub-branch
2109 2013-04-20 19:24:38 stretchwarren has quit (Ping timeout: 246 seconds)
2110 2013-04-20 19:25:17 <etotheipi_> the idea was that the sender can submit his sub-branch to you... but you're right, the receiver cannot
2111 2013-04-20 19:25:37 <etotheipi_> unless you have some guarantee that addresses will never be reused
2112 2013-04-20 19:25:49 copumpkin has joined
2113 2013-04-20 19:26:04 <etotheipi_> BIP 39: no address re-use, ever. go
2114 2013-04-20 19:26:29 <gmaxwell> even then, the network still has to store the full tree so that you could insert a new address at some not-fully-populated branch.
2115 2013-04-20 19:28:27 <gmaxwell> In any case, the simplest form of this— and the only one I've given any real thought to— is that you store the uxto's by their hash. so then you at least push the utxo storage cost itself to the user... of course, you then can't do any by-address indexing.
2116 2013-04-20 19:28:41 <gmaxwell> but that doesn't save the network the cost of storing the tree.
2117 2013-04-20 19:28:49 <[Tycho]> Address re-use is fun :)
2118 2013-04-20 19:28:58 <etotheipi_> gmaxwell: can you post to that thread to clarify, before anyone else gets excited about it :)
2119 2013-04-20 19:29:28 denisx has joined
2120 2013-04-20 19:30:17 <jspilman> hey etotheipi - question for you about the tx replcement vs. 0 confirmation txs thread you were commenting on a couple days ago...
2121 2013-04-20 19:30:25 <forrestv> gmaxwell, perhaps you could store the created txouts by reusing the branches from the txins?
2122 2013-04-20 19:30:31 <etotheipi_> jspilman: sure
2123 2013-04-20 19:30:49 <jspilman> I understand if seq is < max, maybe you don't trust the 0 confirm tx, but if seq is MAX, then replacement isn't a factor, right?
2124 2013-04-20 19:31:40 <etotheipi_> jspilman: it depends what's actually being talked about in that thread (I'm not sure exactly)
2125 2013-04-20 19:31:53 <jspilman> It's John's $500 bounty on enabled replacement-for-fee
2126 2013-04-20 19:32:06 <etotheipi_> technically, even with max sequence, if I miner receives a conflicting tx with a higher fee, they can drop the previous one and start mining the new one
2127 2013-04-20 19:32:11 ProfMac_ has joined
2128 2013-04-20 19:32:17 <etotheipi_> the difference is, with replacement, they are *obligated* to drop the previous one
2129 2013-04-20 19:32:47 <jspilman> or is there some idea that you can replace-with-fee a seq=max tx?
2130 2013-04-20 19:33:15 <etotheipi_> jspilman: there is no network rule that allows you to replace a zero-conf seq=max tx, but miners can still do it if the previous transaciton hasn't been mined yet
2131 2013-04-20 19:33:18 ProfMac has quit (Ping timeout: 245 seconds)
2132 2013-04-20 19:33:32 <sipa> memory pool behaviour is just policy
2133 2013-04-20 19:33:33 xenesis_ has joined
2134 2013-04-20 19:33:39 <sipa> it has nothing to do with network rules
2135 2013-04-20 19:33:42 <jspilman> what's *obligated* mean? :-) miner can put whatever tx they want in the block, they are all valid. I never really understood how the whole incrementing seq value can be trusted
2136 2013-04-20 19:33:59 <etotheipi_> and that was the point of the thread... there's nothing stopping miners from adopting a memory pool policy that always picks the tx with the highest fee when they get a conflicting tx
2137 2013-04-20 19:34:01 xenesis has quit (Read error: Operation timed out)
2138 2013-04-20 19:34:01 xenesis_ is now known as xenesis
2139 2013-04-20 19:34:04 <etotheipi_> as long as it hasn't been mined yet
2140 2013-04-20 19:34:39 <jspilman> ok, so it's replacement-by-fee of mempool txs as a general policy
2141 2013-04-20 19:35:14 <etotheipi_> right, and there's no network rule that can change that, because zero-conf tx don't actually "exist" until it's in a block
2142 2013-04-20 19:35:22 <etotheipi_> so you can't declare that any one is more right than any other
2143 2013-04-20 19:35:32 <etotheipi_> so miners might as well just pick the one with the highest fee
2144 2013-04-20 19:35:42 <jspilman> what about incrementing seq... if you have 5 versions of a tx with different seq numbers, there's no guarantee which one will make it in the blockchain, right?
2145 2013-04-20 19:35:42 <etotheipi_> it just so happens that default behavior in bitcoind is to keep the first one they received
2146 2013-04-20 19:36:04 <gmaxwell> You can but your declariation doesn't have the force of a protocol rule. You can claim people are dishonest network destroying theiving scumm for doing otherwise... but the system can't stop them.
2147 2013-04-20 19:36:24 <jspilman> heh
2148 2013-04-20 19:36:35 <etotheipi_> actually, interesting point jspilman
2149 2013-04-20 19:36:45 <etotheipi_> gmaxwell: I'm sure you'll find a hole in this logic
2150 2013-04-20 19:36:52 <etotheipi_> let's say miners really are evil
2151 2013-04-20 19:36:54 <[Tycho]> Is there anyone knowing how stratum works ?
2152 2013-04-20 19:36:58 <etotheipi_> like... *really* evil
2153 2013-04-20 19:37:06 <etotheipi_> and 30% of them adopt a policy
2154 2013-04-20 19:37:38 <etotheipi_> the policy is that they will continue to mine the first non-final tx they see, even if they receive a valid replacement
2155 2013-04-20 19:38:16 <jspilman> nothing to stop them, right?
2156 2013-04-20 19:38:23 <etotheipi_> theoretically, thye don't have to "see" the replacements, and they're just mining whatever they did see
2157 2013-04-20 19:38:35 <etotheipi_> so 30% chance, your replacements are useless
2158 2013-04-20 19:39:01 <etotheipi_> (of course, most of the time replacement isn't intended to be "used", only as a backup if one party acts maliciously)
2159 2013-04-20 19:39:43 <etotheipi_> maybe this is what Mike Hearn was saying about how every replacement must have a higher fee, in order to be compelling for miners to do the replacement
2160 2013-04-20 19:39:53 <jspilman> so e.g. payment channels, you can't decrease the total paid to payee in a higher seq number, because payee can pay miners to mine the earlier one
2161 2013-04-20 19:39:56 <etotheipi_> ?
2162 2013-04-20 19:40:46 <jspilman> yeah, perhaps - but it's worse than that, because you can but a bounty for miners of the entire delta in a follow-on transaction
2163 2013-04-20 19:40:58 <jspilman> so for fees to be compelling, fees == delta
2164 2013-04-20 19:41:10 Skav has joined
2165 2013-04-20 19:41:16 Skav has quit (Max SendQ exceeded)
2166 2013-04-20 19:41:25 <jspilman> delta being whatever the difference is to the payer/payee and they would then donate the miners just to screw with the other party
2167 2013-04-20 19:41:39 <etotheipi_> yeah... is my logic wrong? should we consider replacement not be "guaranteed" other than the altruism of miners to do the replacement (which we have to assume they are altruistic since this whole discussion is about unethical miners)
2168 2013-04-20 19:41:43 <jspilman> s/but a bounty/put a bounty
2169 2013-04-20 19:41:48 Skav has joined
2170 2013-04-20 19:42:27 <gmaxwell> etotheipi_: that was the point of the post about the bounty for maximally greedy replacement: we can't embrace the reliability of replacment, so we should just reject it being reliable entirely.
2171 2013-04-20 19:42:33 <gmaxwell> I dunno.
2172 2013-04-20 19:42:39 <jspilman> that's the rub
2173 2013-04-20 19:42:40 copumpkin has quit (Ping timeout: 252 seconds)
2174 2013-04-20 19:42:48 Haifisch has quit (Remote host closed the connection)
2175 2013-04-20 19:42:56 <jspilman> incremental fees don't fix it, because in the worst case the whole tx goes to fees
2176 2013-04-20 19:43:19 <jspilman> I mean, if one party wants to blow up the tx, they can force the whole tx to go to fees
2177 2013-04-20 19:43:21 <etotheipi_> gmaxwell: I misunderstood... I thought we were talking about miners simply replacing already-final tx with another already-final tx, even though "normal" network behavior would be to drop the second one
2178 2013-04-20 19:43:24 <azizLIGHTS> how do i go about generating a bootstrap.dat file from bitcon-qt's fully synced blockchain data in %appdata%/bitcoin/blocks/* ?
2179 2013-04-20 19:43:34 <jspilman> that's what I started asking about, then I changed the topic :-)
2180 2013-04-20 19:43:41 MobPhone has quit (Ping timeout: 260 seconds)
2181 2013-04-20 19:43:44 <jspilman> sorry for jumping around
2182 2013-04-20 19:43:47 <sipa> azizLIGHTS: just concatenate the blk* files together
2183 2013-04-20 19:44:07 <etotheipi_> I didn't realize this also applied to legitimate replacements
2184 2013-04-20 19:44:14 <etotheipi_> (in the reverse)
2185 2013-04-20 19:44:23 <sipa> gmaxwell: what's your thought about that
2186 2013-04-20 19:44:36 <azizLIGHTS> sipa: is it only the blk* files? how do i concatenate them?
2187 2013-04-20 19:44:40 jMyles has joined
2188 2013-04-20 19:44:44 <sipa> azizLIGHTS: cat?
2189 2013-04-20 19:45:42 <sipa> it feels to me that a large part of the mempool behaviour (as intended by satoshi) depends on a hard-to-enforce agreement between nodes that implement it
2190 2013-04-20 19:45:54 AndChat377264 has quit (Read error: Connection reset by peer)
2191 2013-04-20 19:46:01 <gmaxwell> sipa: I have mixed thoughts. Actively undermining the security of the network is not in miners long term interests. But there are all kinds of weird things happening that make "miners" not very long term: miners are mostly pool ops who don't have long term hardware investments, etc. Also— there is no great way to prevent defection.
2192 2013-04-20 19:46:04 AndChat377264 has joined
2193 2013-04-20 19:46:21 <sipa> exactly, it works as long as people do it
2194 2013-04-20 19:46:21 copumpkin has joined
2195 2013-04-20 19:46:36 <gmaxwell> I do have some affection for "if people can survive the worst case, lets make the best and worst case the same, so that no one is surprised" kind of thinking.
2196 2013-04-20 19:46:47 <sipa> but once a significant amount chooses a more short-term greedy approach, i don't know if it makes sense to not make it default
2197 2013-04-20 19:47:19 daybyter has quit (Quit: Konversation terminated!)
2198 2013-04-20 19:47:25 <sipa> it'd be a false sense of security anyway
2199 2013-04-20 19:47:30 <gmaxwell> Often in interactions between parties the specific rules don't matter as much as the fact that both parties understand the rules they are transacting under.
2200 2013-04-20 19:47:39 <jspilman> I think more miners will eventually have code like Eligius which can detect 'optimal fee' scenarios -- and if you assume anything about miners, 'fee optimized' seems like a good assumption
2201 2013-04-20 19:48:00 <sipa> or fee per byte optimized, assuming block size limitations
2202 2013-04-20 19:48:17 <jspilman> hopefully! but tradgedy of the commons still applies
2203 2013-04-20 19:48:49 <jspilman> but yes, definitely if they are up against a block size limit
2204 2013-04-20 19:49:08 <jspilman> actually, block size limit is the only thing that will make a miner care about block size... good argument for reducing it!
2205 2013-04-20 19:49:15 <gmaxwell> otoh, we could actually fix some of this. For example, I could discourage blocks that mine a defecting replacement from one I've known for a while. I'd still think that forcing replacement to increase fees, however, would make sense.
2206 2013-04-20 19:49:48 <gmaxwell> jspilman: lol, I guess you haven't read much on that subject ... since thats something that people saying it needs to be limited have been saying all along. :)
2207 2013-04-20 19:49:54 <jspilman> 'discourage' as in 'try to orphan'?
2208 2013-04-20 19:50:01 <gmaxwell> Correct.
2209 2013-04-20 19:50:18 <jspilman> I should have said, 'the argument'
2210 2013-04-20 19:50:44 <gmaxwell> that works so long as most miners do it, but it's fragle and creates a longer time to consensus.
2211 2013-04-20 19:50:45 <jspilman> orphan attempts are costly unless you have a super-majority on your side
2212 2013-04-20 19:51:15 <gmaxwell> jspilman: sure but replacement being useful (esp replacement that involves increasing fees) is strongly in the public interest.
2213 2013-04-20 19:51:21 <gmaxwell> The thing we need to remove is the defection risk.
2214 2013-04-20 19:51:55 <jspilman> absolutely - but frustrating that it depends on concensus and not simply crypto
2215 2013-04-20 19:52:09 twobitcoins_ has joined
2216 2013-04-20 19:52:19 <sipa> Distributed systems are hard. Let's go do crypto.
2217 2013-04-20 19:52:21 <jspilman> I guess it all depends on concensus in the end, so not really any different
2218 2013-04-20 19:52:27 torsthaldo has quit (Read error: Connection reset by peer)
2219 2013-04-20 19:52:34 tonikt has joined
2220 2013-04-20 19:52:47 <gmaxwell> On a related subject, it occured to me that my transaction-checkpoint thing could actually be extended to also enforce mempool consistency, but I couldn't figure out why someone would include things in their mempool commitments when it risks their txn not being mined.
2221 2013-04-20 19:53:05 <gmaxwell> jspilman: yea, it all reduces to concensus.
2222 2013-04-20 19:53:23 <gmaxwell> jspilman: "ecdsa broken! (by people not caring if the signatures are valid)"
2223 2013-04-20 19:53:23 <tonikt> hi guys. can anyone tell me how many unspent outputs are there ATM?
2224 2013-04-20 19:53:44 <gmaxwell> tonikt: run the gettxoutsetinfo rpc
2225 2013-04-20 19:54:02 <jspilman> but in the meantime, we simply have "ERROR: CTxMemPool::accept() : inputs already spent"
2226 2013-04-20 19:54:35 <tonikt> gmaxwell: thanks! did not know that command
2227 2013-04-20 19:54:36 <jspilman> I fixed my bug with SIGHASH_SINGLE and got through my whole payment channel poc
2228 2013-04-20 19:54:54 <jspilman> but of course, I get that at the end when I try to 'close the channel' since there's the nLockTime seq=0 already in the mempool
2229 2013-04-20 19:55:10 <tonikt> ok, so I'm missing few :)
2230 2013-04-20 19:55:14 Jackneill has quit (Read error: Connection reset by peer)
2231 2013-04-20 19:55:31 twobitcoins has quit (Ping timeout: 264 seconds)
2232 2013-04-20 19:55:36 <jspilman> I was kind of hoping if I came along with a nSeq=MAX nLockTime=0 it would take it, but of course not
2233 2013-04-20 19:58:43 <jspilman> back to getting this enabled on test-net vs. Anti-DOS -- what about starting by allowing nSeq of 0 and MAX only?
2234 2013-04-20 19:59:41 <jspilman> although I don't really get why we need Anti-DoS just to enable replacement [with higher nSeq] on test-net
2235 2013-04-20 20:00:49 <gmaxwell> because enabling it on testnet in a form we couldn't possibly allow on mainnet seems silly.
2236 2013-04-20 20:00:51 <sipa> if it just gets enabled as-is right now, you can just keep sending tons of replaced versions of a transaction
2237 2013-04-20 20:01:15 <sipa> pay a fee once (in every replacement), and it will be relayed immediately without any throttling
2238 2013-04-20 20:01:40 LainZ has quit (Read error: Connection reset by peer)
2239 2013-04-20 20:01:50 ielo has joined
2240 2013-04-20 20:02:02 <jspilman> I guess at least it allows demonstrating things like payment channels actually working, where we can share txids, and build shared infrastructure around it
2241 2013-04-20 20:02:44 <gmaxwell> except they may have to work differently if anti-dos changes the kinds of txn they can create.
2242 2013-04-20 20:02:49 safra has quit (Ping timeout: 256 seconds)
2243 2013-04-20 20:02:49 nanotube is now known as bitcoin
2244 2013-04-20 20:02:51 roconnor has joined
2245 2013-04-20 20:02:54 <jspilman> like multisig, it's not just about the network support, there's a lot of layers above that also take a LONG time to build
2246 2013-04-20 20:02:55 <gmaxwell> you can also do a payment channel without replacement.
2247 2013-04-20 20:03:01 <gmaxwell> so long as no one cheats.
2248 2013-04-20 20:03:10 <jspilman> certainly
2249 2013-04-20 20:03:13 defunctzombie is now known as defunctzombie_zz
2250 2013-04-20 20:03:15 <gmaxwell> jspilman: yes, so don't build for a system we _cannot_ deploy.
2251 2013-04-20 20:03:17 <jspilman> or use a 3rd party
2252 2013-04-20 20:03:29 bitcoin is now known as nanotube
2253 2013-04-20 20:03:35 <jspilman> well, so back to how about nSeq = 0 OR MAX
2254 2013-04-20 20:04:05 <jspilman> that enables a lot of replacement use cases, since a lot of cases can be reduced to needing exactly one replacement that will ever be broadcast
2255 2013-04-20 20:04:33 <gmaxwell> I don't see it.
2256 2013-04-20 20:04:44 systemParanoid has joined
2257 2013-04-20 20:04:49 <sipa> that means breaking the semantics of nSeq=0, when you start to allow more nSeq values
2258 2013-04-20 20:05:06 <sipa> you want to enable rules in a way that is likely to ever work in practice
2259 2013-04-20 20:05:07 <jspilman> how so?
2260 2013-04-20 20:05:24 <sipa> from 'can be replaced once' to 'can be replaced'
2261 2013-04-20 20:05:57 robbak has quit (Remote host closed the connection)
2262 2013-04-20 20:06:01 <jspilman> so the 2nd behavior is a proper superset, making the 1st behavior not a bad starting point
2263 2013-04-20 20:06:11 <jspilman> certainly non-forking
2264 2013-04-20 20:06:26 robbak has joined
2265 2013-04-20 20:06:34 <jspilman> right now we get nSeq=0 and nothing else, right?
2266 2013-04-20 20:06:47 <jspilman> once you broadcase nSeq=0 it's essentially the same as nSeq=MAX
2267 2013-04-20 20:06:49 stainrat has joined
2268 2013-04-20 20:06:59 toffoo has joined
2269 2013-04-20 20:07:18 <sipa> i'd like enabling replacement, where the mempool keeps track of the sum of the sizes of replacements it has seen
2270 2013-04-20 20:07:31 <sipa> en does fee and priority calculations based on that summed size
2271 2013-04-20 20:08:00 tonikt has quit (Quit: Leaving)
2272 2013-04-20 20:08:02 <sipa> it seems trivial to implement, and would prevent DoS no less than non-replacement transactions
2273 2013-04-20 20:08:14 <sipa> i only don't know whether it enabled the intended use cases
2274 2013-04-20 20:08:33 <jspilman> btw - I think it makes sense to enable replacement for non-final transactions first, and then consider this other case of replacing final non-mined transactions separately? or do you think it should be all handled together by common code
2275 2013-04-20 20:09:27 <sipa> all depends on what 'we' want
2276 2013-04-20 20:10:06 <sipa> if we expect miners to go for greedy short-term behaviour, the only replacement rule that makes sense is "allow all replacement, if it improves fee (or fee/byte)"
2277 2013-04-20 20:10:38 <sipa> at that point, no infrastructure that depends on the specifics of replacing non-final transactions can work anymore, afaict
2278 2013-04-20 20:10:59 n5 has joined
2279 2013-04-20 20:11:45 <jspilman> if someone wrote a patch which improved miner fees by changing the mempool policy, how effective would it be? I mean, if clients are not relaying then are miners hyper-connected in the p2p network so they will still get the transactions?
2280 2013-04-20 20:12:12 <jspilman> aside from the point that you would also need client code willing the transmit the tx in the first place
2281 2013-04-20 20:12:29 <sipa> miners would make sure they do are well-connected, so the replacement would work
2282 2013-04-20 20:15:04 Ferroh has quit (Quit: *poof*)
2283 2013-04-20 20:15:24 Ferroh has joined
2284 2013-04-20 20:15:48 ubias has joined
2285 2013-04-20 20:15:51 treaki__ has quit (Ping timeout: 256 seconds)
2286 2013-04-20 20:16:29 ielo has quit (Ping timeout: 256 seconds)
2287 2013-04-20 20:16:32 <jspilman> I guess someone trying to replace a tx would just be sure to run mempool policy that allows it, and connect directly to miners who could relay it between each other. so 'ferengi miners' could happen regardless of what bitcoind implements
2288 2013-04-20 20:17:17 <jspilman> back to what 'users' want -- they want ways to speed up stuck transactions, and (less likely) they want payment channels
2289 2013-04-20 20:17:41 <jspilman> and ideally, they want to go on naively putting some amount of trust in 0-conf
2290 2013-04-20 20:17:59 <jspilman> delete 'ideally'
2291 2013-04-20 20:22:00 <jspilman> sipa: I think your approach definitely enables replacement use cases - I don't think replacement is a license for HFT over the P2P, if you are taking system resources you have to expect to pay
2292 2013-04-20 20:22:41 <jspilman> is there a (policy) limit to how soon nLockTime must be for a tx to be accepted into the mempool?
2293 2013-04-20 20:23:00 <sipa> yes, no non-final transactions are currently allowed in the mempool
2294 2013-04-20 20:23:19 <jspilman> even local mempool?
2295 2013-04-20 20:23:33 <sipa> which other is there that you can control?
2296 2013-04-20 20:23:47 <jspilman> I submitted a nSeq = 0 / nLockTime = DateTime + 15 minutes, and it accepted it, and ended up in a block, on test-net
2297 2013-04-20 20:24:04 <sipa> so, that means it's final?
2298 2013-04-20 20:24:13 <jspilman> why?
2299 2013-04-20 20:24:20 <sipa> because the locktime was in the future?
2300 2013-04-20 20:24:48 <jspilman> I thought "final" was defined as nSeq = MAX, sorry...
2301 2013-04-20 20:24:55 <sipa> that's one way
2302 2013-04-20 20:25:13 Irencus has joined
2303 2013-04-20 20:25:21 <jspilman> so will mempool accept nSeq = 0 / nLockTime = 2020 ?
2304 2013-04-20 20:26:10 <sipa> yes
2305 2013-04-20 20:26:13 <sipa> eh, no
2306 2013-04-20 20:26:17 <sipa> wait, what
2307 2013-04-20 20:26:23 <sipa> i'm confused
2308 2013-04-20 20:26:35 <sipa> a transaction is final if it's locktime is in the past of course, not in the future
2309 2013-04-20 20:26:46 <wumpus> no way it will stay in the mempool that long, in practice, even if it were accepted
2310 2013-04-20 20:28:17 <jspilman> so mempool is accepting non-final, at least my 0.8.1 accepted a locktime 15 minutes in the future, and it ended up as http://blockexplorer.com/testnet/rawtx/b8ed89e90e1d4ce2c6abe9910d00d7417d14ac673e35db900048b45813ff1cd6
2311 2013-04-20 20:28:43 treaki__ has joined
2312 2013-04-20 20:29:24 <sipa> oh!
2313 2013-04-20 20:29:36 <sipa> the non-final test is done in IsStandard()
2314 2013-04-20 20:29:40 <sipa> which is disabled on testnet
2315 2013-04-20 20:29:54 <jspilman> wumpus: sure, I'm just thinking about exactly how the current policy works. e.g. if you can't replace, then perhaps you could set the nSeq=0 locktime far enough in the future that mempools wouldn't accept it until after the channel should be closed anyway
2316 2013-04-20 20:30:02 <jspilman> ah, perfect
2317 2013-04-20 20:30:13 <jspilman> so you can do payment channels on main-net today, even with "replacement"
2318 2013-04-20 20:30:25 <jspilman> because the refund transaction can't even be broadcast until after nLockTime
2319 2013-04-20 20:30:35 <jspilman> so testing on test-net was actually breaking my poc :-)
2320 2013-04-20 20:30:48 <jspilman> thank you very much
2321 2013-04-20 20:31:06 <jspilman> ok, now I *don't* want you to enable replacement :-P
2322 2013-04-20 20:31:27 <jspilman> lool
2323 2013-04-20 20:32:09 iddo has quit (Read error: Operation timed out)
2324 2013-04-20 20:32:17 iddo has joined
2325 2013-04-20 20:32:30 <midnightmagic> is the leveldb stuff compatible across architectures (32 vs 64)?
2326 2013-04-20 20:32:57 <sipa> it should be
2327 2013-04-20 20:33:03 <midnightmagic> hrm.
2328 2013-04-20 20:33:06 <etotheipi_> sipa: this is interesting, I hadn't considered that my arguments for the replace-by-fee were all equally applicable to miners defecting on their "obligation" to replace tx according ot the rules
2329 2013-04-20 20:33:21 <etotheipi_> I guess I kind of have to accept neither or both
2330 2013-04-20 20:33:46 <etotheipi_> the "rules"
2331 2013-04-20 20:37:39 stainrat has left ("Leaving...")
2332 2013-04-20 20:39:05 loltu- has quit (Read error: Operation timed out)
2333 2013-04-20 20:39:08 Tykling has quit (Read error: Operation timed out)
2334 2013-04-20 20:39:33 Peacemaker420 has quit (Ping timeout: 255 seconds)
2335 2013-04-20 20:40:31 Tykling has joined
2336 2013-04-20 20:40:48 pete772 has quit (Quit: Page closed)
2337 2013-04-20 20:41:31 loltu has joined
2338 2013-04-20 20:41:51 dvide has joined
2339 2013-04-20 20:43:35 Peacemaker420 has joined
2340 2013-04-20 20:43:41 rdymac has joined
2341 2013-04-20 20:44:10 MobPhone has joined
2342 2013-04-20 20:45:58 Skav has quit (Ping timeout: 252 seconds)
2343 2013-04-20 20:46:53 testnode9 has joined
2344 2013-04-20 20:47:57 grau has quit (Remote host closed the connection)
2345 2013-04-20 20:48:42 HM2 has quit (Ping timeout: 252 seconds)
2346 2013-04-20 20:49:04 TheEslbear has joined
2347 2013-04-20 20:50:21 ponas has quit (Ping timeout: 240 seconds)
2348 2013-04-20 20:50:30 crolab has joined
2349 2013-04-20 20:50:41 ponas has joined
2350 2013-04-20 20:50:52 xenesis_ has joined
2351 2013-04-20 20:52:18 Peacemaker420 has quit (Ping timeout: 240 seconds)
2352 2013-04-20 20:52:42 TheEslbear has quit (Client Quit)
2353 2013-04-20 20:53:38 xenesis has quit (Ping timeout: 240 seconds)
2354 2013-04-20 20:53:39 xenesis_ is now known as xenesis
2355 2013-04-20 20:54:40 paracyst has joined
2356 2013-04-20 20:55:14 egis has quit (Remote host closed the connection)
2357 2013-04-20 20:55:53 Peacemaker420 has joined
2358 2013-04-20 20:57:29 safra has joined
2359 2013-04-20 20:58:43 JDuke128 has quit (Quit: Textual IRC Client: www.textualapp.com)
2360 2013-04-20 20:59:52 robbak has quit (Remote host closed the connection)
2361 2013-04-20 20:59:53 mappum has joined
2362 2013-04-20 21:00:09 jtimon has joined
2363 2013-04-20 21:00:16 robbak has joined
2364 2013-04-20 21:02:48 iwilcox is now known as OX
2365 2013-04-20 21:02:56 OX is now known as TONNE
2366 2013-04-20 21:03:11 ThomasV has quit (Ping timeout: 256 seconds)
2367 2013-04-20 21:03:36 <midnightmagic> hrm.. "Unacceptable log file /.bitcoin/database/log.0000000002: unsupported log version 17"
2368 2013-04-20 21:06:07 hydrogenesis has joined
2369 2013-04-20 21:07:47 HM2 has joined
2370 2013-04-20 21:09:25 <sipa> midnightmagic: BDB incompatibility
2371 2013-04-20 21:09:31 tcatm has quit (Quit: No Ping reply in 180 seconds.)
2372 2013-04-20 21:09:34 <midnightmagic> neat.
2373 2013-04-20 21:09:47 tcatm has joined
2374 2013-04-20 21:09:47 tcatm has quit (Changing host)
2375 2013-04-20 21:09:47 tcatm has joined
2376 2013-04-20 21:09:59 <sipa> assuming you had a clean shutdown, you can just delete the database subdir on 0.8.0+
2377 2013-04-20 21:10:07 <sipa> in 0.7.x, you need -detachdb
2378 2013-04-20 21:12:19 <midnightmagic> sipa: Working fine. Thanks for the hint.
2379 2013-04-20 21:16:15 mow_ has joined
2380 2013-04-20 21:16:29 mow has quit (Read error: Connection reset by peer)
2381 2013-04-20 21:16:38 ProfMac_ has quit (Ping timeout: 245 seconds)
2382 2013-04-20 21:16:42 hydrogenesis has quit (Quit: Colloquy for iPad - http://colloquy.mobi)
2383 2013-04-20 21:17:21 saracen has quit (Ping timeout: 255 seconds)
2384 2013-04-20 21:18:07 ProfMac has joined
2385 2013-04-20 21:18:18 saracen has joined
2386 2013-04-20 21:19:21 <TheSeven> this whole endianness mess is driving me mad once again :/
2387 2013-04-20 21:19:23 dumpster has joined
2388 2013-04-20 21:19:34 * TheSeven fails at building the merkle tree
2389 2013-04-20 21:20:05 Industrial has joined
2390 2013-04-20 21:20:05 <TheSeven> I can successfully build valid blocks, unless they contain non-coinbase txns
2391 2013-04-20 21:20:09 TONNE is now known as iwilcox
2392 2013-04-20 21:20:13 michagogo has quit (Quit: /me just noticed it's midnight)
2393 2013-04-20 21:20:32 <TheSeven> is there anything (flipping, whatever) that I need to do to the transaction hashes provided by GBT before building the step hashes from them?
2394 2013-04-20 21:20:36 <Industrial> Is there a list of (free/open source) bitcoin charting software?
2395 2013-04-20 21:21:17 <Luke-Jr> TheSeven: since GBT doesn't guarantee the hashes, most clients just use the transaction data (and hash it)
2396 2013-04-20 21:21:59 <Luke-Jr> TheSeven: compare your code with libblkmaker or python-blkmaker?
2397 2013-04-20 21:22:40 <sipa> Luke-Jr: doesn't guarantee the hashes?
2398 2013-04-20 21:22:48 ThomasV has joined
2399 2013-04-20 21:23:07 <TheSeven> I wonder why there is no simple standard for endianness in the bitcoin world, it seems like every field works differently and I have to flip things around a dozen times to build a block
2400 2013-04-20 21:23:12 Spami has joined
2401 2013-04-20 21:23:31 <Luke-Jr> sipa: GBT responses might not have the "hash" key on transactions
2402 2013-04-20 21:23:51 <Luke-Jr> TheSeven: blame Satoshi :<
2403 2013-04-20 21:24:04 <Luke-Jr> TheSeven: but there shouldn't be any unnecessary endian issues in GBT
2404 2013-04-20 21:24:29 * TheSeven suspects that most of the inconsistencies weren't even then back when satoshi was still active
2405 2013-04-20 21:24:31 <sipa> TheSeven: it's really simple: it's always little-endian, except when it's related to cryptography :p
2406 2013-04-20 21:24:44 <sipa> (which is, unfortunately, frequently)
2407 2013-04-20 21:25:01 <TheSeven> hm, isn't most of it related to cryptography to varying degrees?
2408 2013-04-20 21:25:26 <sipa> right, but bitcoin pretty much considers crypto as black boxes
2409 2013-04-20 21:25:35 PK has quit ()
2410 2013-04-20 21:25:41 <sipa> for example, it considers sha256 as outputting a byte array
2411 2013-04-20 21:25:44 taha has joined
2412 2013-04-20 21:26:03 <sipa> but even though the data in it is constructed using big-endian interpretation
2413 2013-04-20 21:26:06 * Luke-Jr facepalms
2414 2013-04-20 21:26:06 HM2 has quit (Ping timeout: 252 seconds)
2415 2013-04-20 21:26:13 brson has joined
2416 2013-04-20 21:26:15 <sipa> when converting it to a number, it's interpreted as little-endian
2417 2013-04-20 21:26:46 <Luke-Jr> TheSeven: dblsha(data)[::-1] == hash
2418 2013-04-20 21:26:56 HM2 has joined
2419 2013-04-20 21:27:08 <Luke-Jr> perhaps unnecessary, but probably done that way to match txids
2420 2013-04-20 21:27:17 <TheSeven> apparently not always
2421 2013-04-20 21:27:56 <Luke-Jr> merkletree uses the big-endian hash
2422 2013-04-20 21:28:02 <TheSeven> anyway, looks like I can get away with just hashing the transactions myself
2423 2013-04-20 21:30:26 suporte85 has quit (Remote host closed the connection)
2424 2013-04-20 21:32:13 fishfish has quit (Ping timeout: 264 seconds)
2425 2013-04-20 21:35:09 jspilman01 has joined
2426 2013-04-20 21:38:43 jspilman has quit (Ping timeout: 276 seconds)
2427 2013-04-20 21:41:22 suporte85 has joined
2428 2013-04-20 21:44:28 crolab has quit (Quit: leaving)
2429 2013-04-20 21:44:37 roconnor has quit (Remote host closed the connection)
2430 2013-04-20 21:50:09 turbo815 has joined
2431 2013-04-20 21:50:15 <turbo815> hello everyone.
2432 2013-04-20 21:50:33 <turbo815> i have a pool i was going to ask a couple people to try, maybe?
2433 2013-04-20 21:50:56 xenesis has quit (Read error: Operation timed out)
2434 2013-04-20 21:51:18 <turbo815> if anyone is interested send me a pm, maybe?
2435 2013-04-20 21:51:18 K1773R is now known as K1773R|OFF
2436 2013-04-20 21:51:51 K1773R is now known as OFF!~K1773Rfre@unaffiliated/k1773r|K1773R
2437 2013-04-20 21:52:17 xenesis has joined
2438 2013-04-20 21:54:01 xenesis_ has joined
2439 2013-04-20 21:54:29 i2pRelay has joined
2440 2013-04-20 21:56:38 xenesis has quit (Ping timeout: 240 seconds)
2441 2013-04-20 21:56:39 xenesis_ is now known as xenesis
2442 2013-04-20 21:59:39 iwilcox is now known as TONNE
2443 2013-04-20 21:59:46 gmatteson_ has left ()
2444 2013-04-20 22:00:03 agricocb has quit (Quit: Leaving.)
2445 2013-04-20 22:00:07 bitnumus is now known as bitscotty
2446 2013-04-20 22:00:16 TONNE is now known as iwilcox
2447 2013-04-20 22:00:42 bitscotty is now known as bitnumus
2448 2013-04-20 22:02:04 i2pRelay has quit (Remote host closed the connection)
2449 2013-04-20 22:02:34 i2pRelay has joined
2450 2013-04-20 22:07:28 <Luke-Jr> turbo815: wrong channel
2451 2013-04-20 22:09:10 Skav has joined
2452 2013-04-20 22:09:33 HM2 has quit (Ping timeout: 252 seconds)
2453 2013-04-20 22:09:47 MobPhone has quit (Read error: Connection reset by peer)
2454 2013-04-20 22:10:07 i2pRelay has quit (Remote host closed the connection)
2455 2013-04-20 22:10:08 jspilman01 is now known as jspilman
2456 2013-04-20 22:10:38 i2pRelay has joined
2457 2013-04-20 22:10:39 jMyles has quit (Ping timeout: 252 seconds)
2458 2013-04-20 22:16:34 LainZ has joined
2459 2013-04-20 22:16:49 robbak has quit (Remote host closed the connection)
2460 2013-04-20 22:17:15 robbak has joined
2461 2013-04-20 22:18:08 i2pRelay has quit (Remote host closed the connection)
2462 2013-04-20 22:18:39 i2pRelay has joined
2463 2013-04-20 22:18:43 ProfMac has quit (Ping timeout: 245 seconds)
2464 2013-04-20 22:19:56 Sealy has joined
2465 2013-04-20 22:23:17 Haifisch has joined
2466 2013-04-20 22:25:01 <MC1984_> if i wanted to make a requet for a small change to bitcoind for developers consideration, how best to do that
2467 2013-04-20 22:25:24 ovidiusoft has quit (Quit: leaving)
2468 2013-04-20 22:25:49 <gmaxwell> mention it here and see if you get laughed at, then write it up as an issue if you don't.
2469 2013-04-20 22:26:09 i2pRelay has quit (Remote host closed the connection)
2470 2013-04-20 22:26:32 <MC1984_> i notice that printtoconsole actually redirects debug output and leaves the logfile empty
2471 2013-04-20 22:26:40 i2pRelay has joined
2472 2013-04-20 22:26:42 <MC1984_> would be more useful if it just duplicated it?
2473 2013-04-20 22:27:14 <MC1984_> and then maybe it could be called -verbose instead which is more conventional but whatever
2474 2013-04-20 22:28:33 <gmaxwell> I think you should totally submit a patch for that. It's a ~one line change.
2475 2013-04-20 22:28:54 fronti has quit (Ping timeout: 248 seconds)
2476 2013-04-20 22:29:50 <MC1984_> that would make me happy
2477 2013-04-20 22:30:35 fronti has joined
2478 2013-04-20 22:31:04 chmod755 has quit (Quit: chmod755)
2479 2013-04-20 22:32:19 SvenDiagram has joined
2480 2013-04-20 22:32:51 gmatteson_ has joined
2481 2013-04-20 22:33:42 <gmatteson_> hello all, would i be able to use getnewaddress myemail@domain.com to create a new address for a user?
2482 2013-04-20 22:34:10 i2pRelay has quit (Remote host closed the connection)
2483 2013-04-20 22:34:24 <[Tycho]> Why e-mail ?
2484 2013-04-20 22:34:33 <Luke-Jr> MC1984_: I wouldn't be surprised if someone objected, but seems reasonable to me.
2485 2013-04-20 22:34:42 i2pRelay has joined
2486 2013-04-20 22:34:44 <Luke-Jr> MC1984_: good to learn the process, at least
2487 2013-04-20 22:34:47 <gmatteson_> or rather than email a userid that i specify the user
2488 2013-04-20 22:35:03 <Luke-Jr> gmatteson_: just be aware bitcoind does not scale
2489 2013-04-20 22:35:26 JTF195 has joined
2490 2013-04-20 22:35:40 <gmatteson_> okay. my thoughts are i may be able to limit a number of addresses per wallet and have multiple bitcoind's running on seperate systems
2491 2013-04-20 22:36:00 <gmatteson_> when i run getnewaddress i am returned - {"result":"13ZkCwkzdqPLE1PebrzBxRKUbydRmxNXGf","error":null,"id":"1"}
2492 2013-04-20 22:36:14 <gmatteson_> is that ID the 1st address for the wallet?
2493 2013-04-20 22:36:15 Phraust has joined
2494 2013-04-20 22:37:02 KoSoVaR has quit ()
2495 2013-04-20 22:37:26 <kadoban_> gmatteson_: i think that id is a JSONRPC thing, not bitcoin
2496 2013-04-20 22:37:41 <gmatteson_> ah okay, i wasnt sure, i think you are right
2497 2013-04-20 22:37:55 <Luke-Jr> gmatteson_: that means anything sent to 13ZkCwkzdqPLE1PebrzBxRKUbydRmxNXGf is added to the account you created
2498 2013-04-20 22:38:15 <gmatteson_> i just ran it again and another adresss was returned with the ID of 1 as well
2499 2013-04-20 22:38:19 <gmatteson_> okay thank you luke-jr
2500 2013-04-20 22:38:29 <gmatteson_> one last question.
2501 2013-04-20 22:38:34 JTF195 has left ()
2502 2013-04-20 22:39:08 <gmatteson_> would this be the proper format to send to the bitcoind "getnewaddress 12345" with 12345 the userid that i created for the user
2503 2013-04-20 22:39:25 <Luke-Jr> you can use any kind of string you want as the account names
2504 2013-04-20 22:39:36 jrra has joined
2505 2013-04-20 22:40:04 <gmatteson_> ahh okay thanks. i am writing a quick little app so i can send commands to the bitcoind so i can see the results before i put it in code and i have been using
2506 2013-04-20 22:40:11 <gmatteson_> newtonsoft JSON for .NET
2507 2013-04-20 22:40:28 <gmatteson_> JObject objJSON = new JObject(); objJSON.Add(new JProperty("jsonrpc", "1.0")); objJSON.Add(new JProperty("id", "1")); objJSON.Add(new JProperty("method", txtAPICommand.Text)); objJSON.Add(new JProperty("params", new JArray()));
2508 2013-04-20 22:40:47 <gmatteson_> i just dont know how to send parameters from a textbox to the params seciton of this...
2509 2013-04-20 22:40:58 <gmatteson_> beacuse i dont know what bitcoind is expecting. thoughts?
2510 2013-04-20 22:41:13 <gmatteson_> i tried objJSON.Add(new JProperty("params", txtParams.text));
2511 2013-04-20 22:41:21 HM2 has joined
2512 2013-04-20 22:42:13 i2pRelay has quit (Remote host closed the connection)
2513 2013-04-20 22:42:20 monokrome has quit (Read error: Connection reset by peer)
2514 2013-04-20 22:42:45 i2pRelay has joined
2515 2013-04-20 22:42:48 <ubias> https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list
2516 2013-04-20 22:42:53 <ubias> https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
2517 2013-04-20 22:43:13 PhantomSpark has quit (Ping timeout: 276 seconds)
2518 2013-04-20 22:43:15 <ubias> http://www.copterlabs.com/blog/json-what-it-is-how-it-works-how-to-use-it/
2519 2013-04-20 22:43:27 <gmatteson_> thank you ubias-
2520 2013-04-20 22:46:18 <ubias> lookinto this txtAPICommand.Tex and this new JArray()
2521 2013-04-20 22:46:19 <MC1984_> gmaxwell could you point me to the line number?
2522 2013-04-20 22:46:21 turbo815 has left ()
2523 2013-04-20 22:47:11 <gmatteson_> if i dont add any parameters to the txtParams.text box then the command getnewaddress works
2524 2013-04-20 22:47:33 <gmatteson_> if i add something to this text box the command returns as 404 erorr.. not sure how to format the array to send to the bitcoind
2525 2013-04-20 22:47:44 <gmatteson_> so i can specify the name of the address when it gets created
2526 2013-04-20 22:47:48 <gmatteson_> reading those links you sent me
2527 2013-04-20 22:48:04 <gmaxwell> MC1984_: somewhere in util.cpp, search for the name of the commandline option.
2528 2013-04-20 22:48:40 fishfish has joined
2529 2013-04-20 22:49:04 rdymac has quit (Quit: This computer has gone to sleep)
2530 2013-04-20 22:49:49 AndChat377264 has quit (Read error: Connection reset by peer)
2531 2013-04-20 22:50:03 AndChat377264 has joined
2532 2013-04-20 22:50:16 i2pRelay has quit (Remote host closed the connection)
2533 2013-04-20 22:50:48 i2pRelay has joined
2534 2013-04-20 22:51:21 <MC1984_> ok
2535 2013-04-20 22:51:51 gglon has quit (Quit: Page closed)
2536 2013-04-20 22:52:17 <ubias> gmatteson_, iam not sure about .net but using curl if you replace txtAPICommand.Text with "getnewaddress" and newJArray with "acountname"
2537 2013-04-20 22:52:18 <ubias> it works
2538 2013-04-20 22:56:19 xenesis_ has joined
2539 2013-04-20 22:56:45 xenesis has quit (Read error: Operation timed out)
2540 2013-04-20 22:56:45 xenesis_ is now known as xenesis
2541 2013-04-20 22:58:18 i2pRelay has quit (Remote host closed the connection)
2542 2013-04-20 22:58:51 i2pRelay has joined
2543 2013-04-20 22:59:07 ielo has joined
2544 2013-04-20 23:03:56 sl1982-Desktop has quit (Read error: Connection reset by peer)
2545 2013-04-20 23:05:26 sl1982 has joined
2546 2013-04-20 23:06:00 mow_ is now known as mow
2547 2013-04-20 23:06:21 i2pRelay has quit (Remote host closed the connection)
2548 2013-04-20 23:06:52 i2pRelay has joined
2549 2013-04-20 23:08:08 Skav has quit (Read error: Connection reset by peer)
2550 2013-04-20 23:08:24 MobPhone has joined
2551 2013-04-20 23:08:44 owowo is now known as owowodopolous
2552 2013-04-20 23:08:51 HM has joined
2553 2013-04-20 23:08:57 HM2 has quit (Ping timeout: 252 seconds)
2554 2013-04-20 23:09:54 <gmatteson_> thanks ubias. with curl it works, but with .NET hmm.. havent been able to get that to work yet. i think its the way the .NET libary is working.. looking into it some more. thanks
2555 2013-04-20 23:10:13 dbe has joined
2556 2013-04-20 23:10:35 robbak has quit (Remote host closed the connection)
2557 2013-04-20 23:10:36 dbe is now known as Guest69568
2558 2013-04-20 23:10:59 robbak has joined
2559 2013-04-20 23:12:35 <MC1984_> welp time to press that clone on windows button
2560 2013-04-20 23:12:45 <MC1984_> i have no idea what im doing, this should be fun
2561 2013-04-20 23:14:23 i2pRelay has quit (Remote host closed the connection)
2562 2013-04-20 23:14:48 Guest69568 has quit (Ping timeout: 255 seconds)
2563 2013-04-20 23:14:55 i2pRelay has joined
2564 2013-04-20 23:15:18 PhantomSpark has joined
2565 2013-04-20 23:17:37 xenesis_ has joined
2566 2013-04-20 23:17:57 xenesis has quit (Read error: Operation timed out)
2567 2013-04-20 23:17:57 xenesis_ is now known as xenesis
2568 2013-04-20 23:20:41 Peacemaker420 has quit (Ping timeout: 260 seconds)
2569 2013-04-20 23:22:25 i2pRelay has quit (Remote host closed the connection)
2570 2013-04-20 23:22:57 i2pRelay has joined
2571 2013-04-20 23:23:19 Sealy has quit (Quit: Sealy)
2572 2013-04-20 23:23:29 ThomasV has quit (Quit: Quitte)
2573 2013-04-20 23:24:39 i2pRelay has quit (Remote host closed the connection)
2574 2013-04-20 23:24:54 daughterly has quit (Quit: leaving)
2575 2013-04-20 23:25:05 Irencus has quit ()
2576 2013-04-20 23:29:18 i2pRelay has joined
2577 2013-04-20 23:30:29 SwedFTP3 is now known as SwedFTP
2578 2013-04-20 23:30:58 SwedFTP is now known as Guest37573
2579 2013-04-20 23:31:52 MobPhone has quit (Read error: Connection reset by peer)
2580 2013-04-20 23:32:21 MobPhone has joined
2581 2013-04-20 23:32:26 Guest37573 has quit (Quit: Nettalk6 - www.ntalk.de)
2582 2013-04-20 23:32:39 Guest37573 has joined
2583 2013-04-20 23:32:52 Guest37573 has quit (Read error: Connection reset by peer)
2584 2013-04-20 23:36:11 zw has quit ()
2585 2013-04-20 23:36:51 i2pRelay has quit (Remote host closed the connection)
2586 2013-04-20 23:37:23 i2pRelay has joined
2587 2013-04-20 23:38:13 robbak has quit (Remote host closed the connection)
2588 2013-04-20 23:38:38 robbak has joined
2589 2013-04-20 23:39:02 taha has quit (Remote host closed the connection)
2590 2013-04-20 23:41:23 Haifisch has quit (Remote host closed the connection)
2591 2013-04-20 23:42:07 thebadplus has quit (Ping timeout: 256 seconds)
2592 2013-04-20 23:44:54 i2pRelay has quit (Remote host closed the connection)
2593 2013-04-20 23:45:25 i2pRelay has joined
2594 2013-04-20 23:47:30 CodesInChaos has quit (Ping timeout: 246 seconds)
2595 2013-04-20 23:48:00 BlackPrapor has quit (Ping timeout: 252 seconds)
2596 2013-04-20 23:48:58 xenesis_ has joined
2597 2013-04-20 23:49:02 thebadplus has joined
2598 2013-04-20 23:49:59 xenesis has quit (Read error: Operation timed out)
2599 2013-04-20 23:49:59 xenesis_ is now known as xenesis
2600 2013-04-20 23:51:16 Guest37573 has joined
2601 2013-04-20 23:52:04 SwedFTP has joined
2602 2013-04-20 23:52:23 Guest37573 has quit (Client Quit)
2603 2013-04-20 23:52:57 i2pRelay has quit (Remote host closed the connection)
2604 2013-04-20 23:53:28 i2pRelay has joined
2605 2013-04-20 23:55:16 xenesis_ has joined
2606 2013-04-20 23:57:41 colintulloch has joined
2607 2013-04-20 23:57:47 roconnor has joined
2608 2013-04-20 23:57:51 colintulloch is now known as ColinT
2609 2013-04-20 23:58:13 xenesis has quit (Ping timeout: 252 seconds)
2610 2013-04-20 23:58:13 xenesis_ is now known as xenesis