1 2013-03-29 00:09:57 <Diablo-D3> hey sipa, gmaxwell
  2 2013-03-29 00:10:11 <Diablo-D3> have either of you seen an up to date report on internet traffic in the US?
  3 2013-03-29 00:10:14 <Diablo-D3> Im looking for one
  4 2013-03-29 00:10:28 <Diablo-D3> I found a cisco one thats up to date and includes a nice forecast, but its globally oriented
  5 2013-03-29 00:10:59 <sipa> ACTION knows nothing about the US
  6 2013-03-29 00:11:13 <warren> sipa: neither do Americans
  7 2013-03-29 00:11:16 <Diablo-D3> http://www.cisco.com/en/US/solutions/collateral/ns341/ns525/ns537/ns705/ns827/white_paper_c11-481360.pdf
  8 2013-03-29 00:11:51 <Diablo-D3> according that, per month in 2012 the world used 43 EB
  9 2013-03-29 00:16:57 <jgarzik> sipa: BTW, once CNetMessage lands and is stable
 10 2013-03-29 00:17:12 <jgarzik> sipa: I want to tackle converting the P2P code over to Boost::Asio
 11 2013-03-29 00:17:18 <sipa> w00t
 12 2013-03-29 00:17:52 <jgarzik> sipa: RPC server already uses it... and I really want Boost::Asio for timers.  We use threads in several cases, when a timed-event would be easier, more appropriate and use less system resources.
 13 2013-03-29 00:17:55 <Diablo-D3> not more boost =/
 14 2013-03-29 00:18:13 <jgarzik> sipa: it's trivial to multi-thread boost io_services too
 15 2013-03-29 00:18:29 <gmaxwell> the rpc asio stuff does a bunch of totally inexplicable memory allocation that is current irritating me.
 16 2013-03-29 00:18:29 <jgarzik> sipa: so we could parallelize ProcessMessage()
 17 2013-03-29 00:18:33 <Belxjander> Heya jgarzik ... Ive been looking at the pyminer sources
 18 2013-03-29 00:18:42 <jgarzik> Belxjander: cute :)
 19 2013-03-29 00:18:49 <jgarzik> gmaxwell: RPC asio is a nasty hack ;p
 20 2013-03-29 00:18:55 <sipa> jgarzik: parallellizing ProcessMessage() won't be for tomorrow
 21 2013-03-29 00:19:04 <jgarzik> sipa: for sure
 22 2013-03-29 00:19:06 <gmaxwell> it's also funny that we get a bunch of SSL state allocated even when not using ssl.
 23 2013-03-29 00:19:06 <sipa> as it really needs cs_main
 24 2013-03-29 00:19:18 <Belxjander> jgarzik: yeah...trying to learn the algorithm end of things as I have an AmigaOS system and want my wallet on that :)
 25 2013-03-29 00:19:18 <Retik> doe anyone know where I could find a c# wrapper for the v2 MTGox API?
 26 2013-03-29 00:19:20 <sipa> more network handler threads however, should be quite doable
 27 2013-03-29 00:19:24 <jgarzik> sipa: just saying boost makes it easy for various I/O services to run in parallel, with multiple threads
 28 2013-03-29 00:19:26 <jgarzik> yep
 29 2013-03-29 00:20:15 <SomeoneWeird> is boost really _that_ good?
 30 2013-03-29 00:20:24 <SomeoneWeird> Retik, doubtful
 31 2013-03-29 00:20:38 <jgarzik> SomeoneWeird: no, but it's there and switching costs are high
 32 2013-03-29 00:20:50 <SomeoneWeird> true
 33 2013-03-29 00:22:32 <sipa> gmaxwell: just did a valgrind --leak-check=full --show-reachable on #2420... almost everything is indeed RPC/asio related
 34 2013-03-29 00:23:44 <sipa> does the RPC thread even exit at shutdown?
 35 2013-03-29 00:24:50 <gmaxwell> sipa: your commit message in 2420 needs some improvement. :P (I know what it is??? since we've been talking about it elsewhere)
 36 2013-03-29 00:27:17 <jgarzik> io_service.run_one();
 37 2013-03-29 00:27:17 <jgarzik> vnThreadsRunning[THREAD_RPCLISTENER]--;
 38 2013-03-29 00:27:17 <jgarzik> vnThreadsRunning[THREAD_RPCLISTENER]++;
 39 2013-03-29 00:27:17 <jgarzik> while (!fShutdown)
 40 2013-03-29 00:27:24 <jgarzik> sipa: AFAIK, yes
 41 2013-03-29 00:27:39 <jgarzik> sipa: bloody inefficient way to poll for shutdown
 42 2013-03-29 00:27:51 <sipa> haha
 43 2013-03-29 00:27:58 <jgarzik> I think gavin cleaned that up, though, with his shutdown work
 44 2013-03-29 00:29:46 <sipa> i hope so :)
 45 2013-03-29 00:29:52 <sipa> gmaxwell: better?
 46 2013-03-29 00:35:22 <Retik> well if there isn't a v2 wrapper for c#, i'll just have to make one
 47 2013-03-29 00:37:41 <gmaxwell> sipa: thanks
 48 2013-03-29 00:38:28 <Belxjander> is there anything special to the RPC?
 49 2013-03-29 00:48:02 <Retik> is anyone here really familiar with the v1/v2 mtgox APIs?
 50 2013-03-29 00:48:29 <sipa> on #mtgox, people probably are?
 51 2013-03-29 01:00:26 <BlueMatt> is addnode broken for anything else?
 52 2013-03-29 01:00:38 <BlueMatt> I think its broken but I havent debugged...
 53 2013-03-29 01:17:35 <OneMiner> I wonder if you guys have seen this and if it may help. http://www.google.com/patents/opnpledge/patents/
 54 2013-03-29 01:22:45 <Belxjander> OneMiner: that may help since none of the BitCoin software would become competition to google (they provide a given service, and bitcoin would provide a link to that same service they provide?)
 55 2013-03-29 01:24:52 <OneMiner> http://www.google.com/patents/opnpledge/faq/#toc-criteria
 56 2013-03-29 01:25:32 <OneMiner> I think that shows that it's probably ok. Bitcoin is very free and very open source. So by that definition I can't imagine any problems.
 57 2013-03-29 01:29:31 <OneMiner> They speak of terminating the pledge in the event that someone brings a suit. Is that possible? If these patents are used that may mean that google can't be sued by "bitcoin". If they ripped off any bits of bitcoin and bastardized it, can you imagine The Bitcoin Foundation sueing them over it?
 58 2013-03-29 01:32:36 <Belxjander> OneMiner: not really
 59 2013-03-29 01:32:36 <Diablo-D3> erm
 60 2013-03-29 01:32:42 <Diablo-D3> its open source so how the fuck do you sue
 61 2013-03-29 01:33:06 <OneMiner> I dunno. Heck, I've got literally zero idea if ANY of this is on topic at all.
 62 2013-03-29 01:33:17 <Diablo-D3> btw, is it google suing or google being sued?
 63 2013-03-29 01:33:29 <OneMiner> Nobody is suing anybody.
 64 2013-03-29 01:33:32 <Diablo-D3> because the only person that could sue google from the bitcoin camp is satoshi
 65 2013-03-29 01:33:55 <Diablo-D3> the rest of us dont have that right
 66 2013-03-29 01:34:26 <Luke-Jr> Diablo-D3: Google Code demands a right to ignore your license terms if you use it
 67 2013-03-29 01:34:34 <OneMiner> So in the event that Satoshi sues google it could fall apart. So, it sounds all good. The descriptions of the patents sounds like it's all about data sets. So... Bitcoin does that. Is good?
 68 2013-03-29 01:34:47 <Diablo-D3> Luke-Jr: yup, and good'll do them if I license everything as BSD
 69 2013-03-29 01:35:05 <Luke-Jr> Diablo-D3: BSD can be violated. remember SolidCoin?
 70 2013-03-29 01:35:08 <Belxjander> Luke-Jr: well they can try with my own code but its deliberately brain-dead :)
 71 2013-03-29 01:35:30 <OneMiner> Could it possibly be useful?
 72 2013-03-29 01:35:52 <Belxjander> the core core doesn't know what it Emulates without the plugins and the plugins are the core for each Emulation/VMM
 73 2013-03-29 01:35:57 <Diablo-D3> >BSD
 74 2013-03-29 01:36:00 <Diablo-D3> >violated
 75 2013-03-29 01:36:05 <Diablo-D3> lol.
 76 2013-03-29 02:05:41 <dc8181> JOINS PARTS QUITS NICKS
 77 2013-03-29 02:17:14 <digitalmagus> Hi, when trying to "make -f makefile.unix", I keep getting the following error message: "net.cpp:20:32: fatal error: miniupnpc/miniwget.h: No such file or directory"
 78 2013-03-29 02:17:30 <digitalmagus> I've apt-get install miniupnpc   but problem still persists
 79 2013-03-29 02:17:37 <sipa> either build with USE_UPNP=-, or install libminiupnpc
 80 2013-03-29 02:17:47 <sipa> libminiupnpc-dev
 81 2013-03-29 02:17:56 <digitalmagus> the -dev on?
 82 2013-03-29 02:17:58 <digitalmagus> one
 83 2013-03-29 02:18:03 <digitalmagus> or both
 84 2013-03-29 02:18:12 <sipa> both, but the dev one depends on the other :)
 85 2013-03-29 02:18:20 <digitalmagus> ok thanks let me try that
 86 2013-03-29 02:19:18 <digitalmagus> no such package as "libminiupnpc"
 87 2013-03-29 02:19:32 <digitalmagus> "E: Unable to locate package libminiupnpc"
 88 2013-03-29 02:19:52 <doublec> digitalmagus: libminiupnpc-dev
 89 2013-03-29 02:20:01 <sipa> $ aptitude search libminiupnpc
 90 2013-03-29 02:20:02 <sipa> i   libminiupnpc-dev                                            - UPnP IGD client lightweight library development files
 91 2013-03-29 02:20:05 <sipa> p   libminiupnpc-dev:i386                                       - UPnP IGD client lightweight library development files
 92 2013-03-29 02:20:08 <sipa> c   libminiupnpc5                                               - UPnP IGD client lightweight library
 93 2013-03-29 02:20:11 <sipa> i A libminiupnpc8                                               - UPnP IGD client lightweight library
 94 2013-03-29 02:20:23 <digitalmagus> So install the -dev one first?
 95 2013-03-29 02:20:25 <sipa> but really just installing libminiupnpc-dev will pull in whatever's needed
 96 2013-03-29 02:20:31 <digitalmagus> ah ok
 97 2013-03-29 02:21:32 <digitalmagus> is it considered secure to compile with UPNPC enabled? Or is manual port forwarding recommended instead?
 98 2013-03-29 02:21:54 <digitalmagus> from a security perspective
 99 2013-03-29 02:22:58 <sipa> if you're using a NAT device as a firewall, you're already doing it wrong :)
100 2013-03-29 02:23:09 <sipa> UPnP is designed to get around NAT, not to get through firewalls
101 2013-03-29 02:23:44 <digitalmagus> My modem is both a firewall and a nat device
102 2013-03-29 02:23:54 <digitalmagus> and it supports upnpc
103 2013-03-29 02:27:14 <digitalmagus> btw, the 'make' seems to be chugging along now, so looks like it worked. I wish the docs had been updated with all these (and other steps I had to take) extra steps. Would have saved me a couple of hours of googling and head banging
104 2013-03-29 02:28:16 <sipa> what is missing?
105 2013-03-29 02:29:40 <sipa> Optional: sudo apt-get install libminiupnpc-dev (see USE_UPNP compile flag)
106 2013-03-29 02:29:47 <sipa> (from doc/build-unix.txt)
107 2013-03-29 02:30:12 <digitalmagus> sipa: the Ubuntu instructions in build-unix.txt list the following:
108 2013-03-29 02:30:31 <digitalmagus> sudo apt-get install build-essential
109 2013-03-29 02:30:31 <digitalmagus> sudo apt-get install libboost-all-dev
110 2013-03-29 02:30:31 <digitalmagus> sudo apt-get install libdb4.8-dev
111 2013-03-29 02:30:31 <digitalmagus> sudo apt-get install libdb4.8++-dev
112 2013-03-29 02:30:31 <digitalmagus> sudo apt-get install libqrencode-dev
113 2013-03-29 02:30:31 <digitalmagus> sudo apt-get install libssl-dev
114 2013-03-29 02:30:33 <digitalmagus> ------------
115 2013-03-29 02:30:37 <digitalmagus> What's actually required is:
116 2013-03-29 02:30:44 <digitalmagus> apt-get install build-essential
117 2013-03-29 02:30:44 <digitalmagus> apt-get install libboost-all-dev
118 2013-03-29 02:30:44 <digitalmagus> apt-get install libdb-dev
119 2013-03-29 02:30:44 <digitalmagus> apt-get install libdb++-dev
120 2013-03-29 02:30:44 <digitalmagus> apt-get install libqrencode-dev
121 2013-03-29 02:30:44 <digitalmagus> apt-get install libssl-dev
122 2013-03-29 02:30:44 <digitalmagus> apt-get install  miniupnpc
123 2013-03-29 02:30:45 <digitalmagus> apt-get install libminiupnpc-dev
124 2013-03-29 02:30:47 <digitalmagus> -----------
125 2013-03-29 02:31:04 <digitalmagus> the 4.8 stuff doesnt work with the latest version of ubuntu for example
126 2013-03-29 02:31:04 <sipa> you don't need miniupnpc, that's the command-line client
127 2013-03-29 02:31:20 <digitalmagus> sipa: you dont need it, but it still breaks by default
128 2013-03-29 02:31:25 <digitalmagus> because UPNP=1 is the default
129 2013-03-29 02:31:25 <sipa> sigh
130 2013-03-29 02:31:30 <sipa> yes
131 2013-03-29 02:31:36 <sipa> well new versions of ubuntu don't have BDB 4.8, but you still need it if you want wallets that are compatible
132 2013-03-29 02:32:04 <sipa> a section about modern ubuntu's may be welcome (feel free to submit a pull req!), but it's not exactly wrong
133 2013-03-29 02:32:05 <digitalmagus> From the perspective of a newbie this is head-banging furstrating and took me over 2 hours to sort out.... from the perspective of a linux/bitcoin expert, this probably takes all of 2 minutes to work around
134 2013-03-29 02:33:11 <digitalmagus> Thanks for your help though :)
135 2013-03-29 02:33:55 <Blaster> hey I used this method to recover bereklydb .dat files from my HDD (lost access to my wallet) - and I am left with a directory of 120 .dat files.  How can I narrow them down to ones that are actual bitcoin wallets? (http://www.cyplo.net/2012/04/01/bitcoin-wallet-recovery-photorec/)
136 2013-03-29 02:44:26 <digitalmagus> sipa: I wanted miniupnpc, because it's precisely the commandline that I wanted. I'm not trying to build the miner or the wallet
137 2013-03-29 02:44:54 <digitalmagus> I am hoping to be able to query the block-chain directly, so I can data mine it
138 2013-03-29 02:45:27 <Belxjander> sipa: so ALL bitcoin clients use bdb4.8 formatted wallet.dat files?
139 2013-03-29 02:45:44 <jgarzik> Belxjander: no
140 2013-03-29 02:45:57 <jgarzik> Belxjander: custom builds may link with whatever they want
141 2013-03-29 02:46:21 <Belxjander> jgarzik: I'm talking about the content of the wallet itself
142 2013-03-29 02:46:31 <Belxjander> does it have any special formatting for client to client compatability?
143 2013-03-29 02:47:05 <sipa> digitalmagus: 'miniupnpc' is a command-line UPnP client; 'libminiupnpc' is the library that Bitcoin uses for UPnP
144 2013-03-29 02:47:24 <digitalmagus> oh
145 2013-03-29 02:47:36 <sipa> digitalmagus: and both bitcoind and bitcoin-qt have a built-in miner and wallet
146 2013-03-29 02:47:49 <sipa> the difference is that the former lacks a GUI
147 2013-03-29 02:47:59 <digitalmagus> I see
148 2013-03-29 02:48:01 <jgarzik> Belxjander: "formatting" can mean many things.  bitcoin stores wallet data as key/value pairs, in a special binary format.  BDB is the low level format on-disk, below that.
149 2013-03-29 02:48:03 <sipa> (and the miner is reference only, not practically useful)
150 2013-03-29 02:48:19 <Belxjander> jgarzik: the data key/value pairing
151 2013-03-29 02:48:45 <jgarzik> Belxjander: that is a bitcoin-specific, custom format
152 2013-03-29 02:48:47 <digitalmagus> sipa: So if I wanted to query the block-chain file on my hard drive, to for example, determine the change in difficulty over the last week. What's the approriate tool for that?
153 2013-03-29 02:49:14 <Belxjander> jgarzik: good then I need to impliment that for an AmigaOS based Wallet tool
154 2013-03-29 02:49:25 <sipa> digitalmagus: there are some python tools if you want to inspect the block files themself, but for what you're saying, the RPC interface to bitcoind is probably easiest
155 2013-03-29 02:49:55 <digitalmagus> sipa: is there a doc that explains how to use the RPC interface in bitcoind?
156 2013-03-29 02:50:23 <sipa> https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
157 2013-03-29 02:50:44 <sipa> may not be entirely up to daye; you can use ./bitcoind help <commandname> for some built-in information
158 2013-03-29 02:51:05 <sipa> https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list
159 2013-03-29 02:51:12 <digitalmagus> cool, let me check that out. If I had any bitcoins, or fractions thereof, I'd donate you some :)
160 2013-03-29 02:51:29 <sipa> no need
161 2013-03-29 03:55:48 <bergle> hi all. I am attempting to learn here so bare with me pls, how do i manually generate the ecsda private key to ultimately generate my bitcoin address?
162 2013-03-29 04:04:14 <MrStamp> Hello, I installed bitcoin-server-0.8.1-2.el6.x86_6 on Centos 6.3, from RPMs at http://linux.ringingliberty.com/bitcoin/. When I try to run it, I get the error '/usr/lib64/bitcoin/bitcoind: symbol lookup error: /usr/lib64/bitcoin/bitcoind: undefined symbol: EC_KEY_free'
163 2013-03-29 04:05:01 <MrStamp> this was an issue on a previous version (https://github.com/error10/bitcoin/issues/1), the recommendation is to upgrade, but this is the latest version I believe
164 2013-03-29 04:10:31 <iwilcox> Sounds like whoever packaged it didn't build it properly and/or didn't specify all dependencies.  I think you need to talk to them directly.
165 2013-03-29 04:27:14 <owowodopolous> ;bc,mktcap
166 2013-03-29 04:27:24 <owowodopolous> ;;bc,mktcap
167 2013-03-29 04:27:26 <gribble> 989979107.868
168 2013-03-29 04:27:55 <owowodopolous> i alway forget the ; :oP
169 2013-03-29 04:28:02 <bergle> the part im stuck on is when you take a phrase and sha256 it, how does that get into the 256bit number that is the ecdsa key?
170 2013-03-29 04:28:06 <warren> MrStamp: either he screwed up his RPM build or you need to install his special openssl-compat
171 2013-03-29 04:28:26 <warren> MrStamp: I'm surprised that his rpm would install without demanding the library
172 2013-03-29 04:28:37 <warren> ACTION means to redo his repo correctly sometime.
173 2013-03-29 04:31:42 <MrStamp> warren: thanks, that got me on the right track. The repo contains an openssl-compat-bitcoin RPM, but it did not get installed automatically. After I installed it, bitcoind starts
174 2013-03-29 04:32:06 <iwilcox> MrStamp: Be sure to comment on the bug report then.
175 2013-03-29 04:39:00 <MrStamp> thanks all, I have submitted them a bug report
176 2013-03-29 04:50:38 <warren> MrStamp: they probably have to outright rename their soname for rpm to pull it, or add an explicit Requires: openssl-compat-bitcoin
177 2013-03-29 04:50:51 <warren> MrStamp: or simpler ... static link openssl
178 2013-03-29 04:59:04 <digitalmagus> I get: error: {"code":-1,"message":"value is type str, expected int"}
179 2013-03-29 04:59:04 <digitalmagus> When I run: ./bitcoind getnetworkhashps 220000
180 2013-03-29 04:59:27 <digitalmagus> what am I doing wrong? Isn't 220000 a valid block number to get the network hashrate for?
181 2013-03-29 04:59:59 <digitalmagus> it's expecting an integer... isn't 220000 a valid integer?
182 2013-03-29 05:04:53 <Arnavion> Is getnetworkhashps even a valid RPC call?
183 2013-03-29 05:04:58 <Arnavion> I don't see it in bitcoinrpc.cpp
184 2013-03-29 05:06:12 <gmaxwell> it's some patched up copy of bitcoin
185 2013-03-29 05:06:29 <digitalmagus> sorry I cheated... it's from litecoind :P
186 2013-03-29 05:06:47 <Arnavion> Indeed... litecoin has it
187 2013-03-29 05:07:24 <digitalmagus> I'm wanting to extract the networkhashrate/sec over a period of time from the block-chain. I figured this RPC call might be the correct one
188 2013-03-29 05:07:32 <digitalmagus> how does one do that in bitcoind ?
189 2013-03-29 05:16:17 <Luke-Jr> this isn't #scams either
190 2013-03-29 05:22:04 <zaroth> Google is not being my friend. Does anyone where I could find the typical explanatory table showing the stack vs op_codes at each step of the script eval for a m-of-n being redeemed by OP_0 [sig][sig][sig]?
191 2013-03-29 05:22:12 <zaroth> *know
192 2013-03-29 05:22:42 <zaroth> strangely the BIP11 proposal doesn't both to include one :-)
193 2013-03-29 05:24:13 <gmaxwell> zaroth: why would they? this is day one functionality in bitcoin, not something added by bip 11
194 2013-03-29 05:24:47 <gmaxwell> zaroth: I'm not aware of such a table??? but if you have a more specific question I can probably answer.
195 2013-03-29 05:26:17 <zaroth> just trying to follow exactly what the stack looks like and how OP_CHECKMULTISIG burns through it depending on the different values given for m and n. guess I could go look at some of the multi-sig unit tests some more
196 2013-03-29 05:28:24 <zaroth> have any txids handy of some P2SH multi-sig transactions on the chain?
197 2013-03-29 05:31:53 <zaroth> Like this one for example... its a 2-of-3 you created a month ago  http://blockchain.info/tx/837dea37ddc8b1e3ce646f1a656e79bbd8cc7f558ac56a169626d649ebe2a3ba  (https://gist.github.com/gavinandresen/3966071)
198 2013-03-29 05:36:11 <zaroth> I see the P2SH scriptPubKey {OP_HASH160 f815b036d9bbbce5e9f2a00abd1bf3dc91e95510 OP_EQUAL} and the scriptSig {OP_0 pub pub script}
199 2013-03-29 05:38:18 <zaroth> Just trying to follow how that 4th value in scriptSig gets handled
200 2013-03-29 05:40:21 <zaroth> What am I missing -- I expected to see "2 <pub> <pub> <pub> 3 OP_CHECKMULTISIG somewhere on blockchain.info ?
201 2013-03-29 05:43:55 <gmaxwell> OP_CHECKMULTISIG pops an extra element off the stack for not particular reason??? it's a bug in the original code.
202 2013-03-29 05:49:25 <zaroth> understood, that's what OP_0 is in there for.  I don't even actually see the CHECKMULTISIG in blochain/blockexplorer UI?
203 2013-03-29 05:49:46 <MC1984_> if someone gets into your bitcoind via the RPC interface
204 2013-03-29 05:49:47 <gmaxwell> welp, for that you'd have to ask them.
205 2013-03-29 05:49:49 <MC1984_> what can they do
206 2013-03-29 05:49:53 <gmaxwell> MC1984_: steal all your funds.
207 2013-03-29 05:49:58 <MC1984_> welp
208 2013-03-29 05:50:24 <gmaxwell> MC1984_: sendtoaddres 1MEMEMEME 1allyourmoniez.00btc
209 2013-03-29 05:50:35 <MC1984_> does the interface have any rate limiting and stuff
210 2013-03-29 05:51:37 <MC1984_> i love how bitcoind loaded all the shit THEN told me i forgot bitcoin.conf
211 2013-03-29 05:52:39 <gmaxwell> It doesn't expose itself to the internet normally. It's not ratelimited however.
212 2013-03-29 05:53:03 <MC1984_> its a different port to the p2p port right
213 2013-03-29 05:53:12 <gmaxwell> yes
214 2013-03-29 05:53:24 <zaroth> I guess they just don't de-serialize the script which is at the end of the P2SH scriptSig -- any quick tool to do that?
215 2013-03-29 05:53:29 <MC1984_> that makes sense
216 2013-03-29 05:55:03 <gmaxwell> zaroth: not that I can think of.
217 2013-03-29 06:07:40 <zaroth> k, thanks
218 2013-03-29 06:17:41 <MC1984_> i wonder if excepting bitcoin.exe in my antivirus would help somewhat
219 2013-03-29 06:31:43 <MC1984_> wow bitcoind is over 10 minuts just starting up
220 2013-03-29 06:31:51 <MC1984_> more like 20 actually
221 2013-03-29 06:32:07 <MC1984_> if it is stillstarting up, maybe its running and it just hasnt told me
222 2013-03-29 06:32:46 <MC1984_> i started it with -debug and i have no output after that
223 2013-03-29 06:33:11 <denisx> MC1984_: then just fire a getinfo
224 2013-03-29 06:33:22 <MC1984_> wat
225 2013-03-29 06:33:32 <denisx> MC1984_: all commandline, right?
226 2013-03-29 06:33:38 <denisx> bitcoind getinfo
227 2013-03-29 06:34:15 <MC1984_> im on th windows
228 2013-03-29 06:34:20 <MC1984_> it wont accept input either
229 2013-03-29 06:34:33 <denisx> hmm, then I don't know
230 2013-03-29 06:34:52 <gmaxwell> MC1984_: this is on your fairly slow machine right?
231 2013-03-29 06:35:06 <gmaxwell> MC1984_: ohhh
232 2013-03-29 06:35:09 <MC1984_> 1.6ghz
233 2013-03-29 06:35:23 <gmaxwell> MC1984_: it's just running in the forground because you didn't tell it -daemon=1
234 2013-03-29 06:35:32 <gmaxwell> in another terminal run bitcoind getinfo
235 2013-03-29 06:35:54 <denisx> I use "--daemon"
236 2013-03-29 06:36:15 <gmaxwell> denisx: I would be surprised if that worked.
237 2013-03-29 06:36:32 <denisx> works all the time
238 2013-03-29 06:36:46 <denisx> but I'm on freebsd
239 2013-03-29 06:36:51 <MC1984_> i got "version" : 80000000
240 2013-03-29 06:36:54 <MC1984_> etc
241 2013-03-29 06:37:01 <denisx> then it runs
242 2013-03-29 06:37:24 <MC1984_> aww i wanted a scrolling log of what its doing and stuff
243 2013-03-29 06:37:38 <MC1984_> instead i get a useless dosbox cluttering up my bar
244 2013-03-29 06:37:58 <gmaxwell> MC1984_: look at debug.log
245 2013-03-29 06:38:28 <MC1984_> yeah i know but i thought it would print the contents of debug log in the window too
246 2013-03-29 06:38:40 <MC1984_> this isnt as hacker as id hoped sigh
247 2013-03-29 06:39:01 <MC1984_> needs a -verbose
248 2013-03-29 06:39:02 <gmaxwell> MC1984_: it can...
249 2013-03-29 06:39:07 <gmaxwell> if you start it with uh..
250 2013-03-29 06:39:11 <denisx> first thing to be a hacker is to drop this windows OS
251 2013-03-29 06:39:31 <MC1984_> yah i know windows plebian etc
252 2013-03-29 06:39:35 <gmaxwell> MC1984_: start with -printtoconsole
253 2013-03-29 06:39:41 <gmaxwell> and that will print to console
254 2013-03-29 06:39:47 <Detritus> Yeah, it helps if you actually read documentation
255 2013-03-29 06:39:50 <gmaxwell> (instead of debug.log)
256 2013-03-29 06:40:16 <gmaxwell> MC1984_: or do it like the big boys and tail -f path/to/debug.log   (I suppose you'll need cygwin for that)
257 2013-03-29 06:40:22 <MC1984_> and -daemon=1 does what?
258 2013-03-29 06:40:34 <denisx> start in background
259 2013-03-29 06:40:49 <gmaxwell> MC1984_: puts it in the background so it doesn't just tie up that terminal
260 2013-03-29 06:40:54 <MC1984_> so it becomes a service?
261 2013-03-29 06:41:15 <denisx> it becomes a daemon
262 2013-03-29 06:41:27 <gmaxwell> I assume being a service in window implies more than just detaching.
263 2013-03-29 06:41:39 <gmaxwell> MC1984_: and yea, why are you running windows again? :P
264 2013-03-29 06:41:41 <denisx> thats why it is called bitcoind
265 2013-03-29 06:42:03 <MC1984_> i could run linux but im confortably numb
266 2013-03-29 06:42:34 <MC1984_> i think i used to dual boot suse actually
267 2013-03-29 06:43:07 <MC1984_> how do i cleanly exit bitcoind from the terminal
268 2013-03-29 06:43:21 <MC1984_> just kill it?
269 2013-03-29 06:43:22 <gmaxwell> MC1984_: run bitcoind stop
270 2013-03-29 06:43:39 <MC1984_> ok cool
271 2013-03-29 06:44:48 <MC1984_> cool its tailing debug.log now
272 2013-03-29 06:45:16 <MC1984_> you see as w windows user if a program is not showing me constant signs of life i have to assum its crashed hard
273 2013-03-29 06:47:21 <MC1984_> it seems to be using slightly less ram without the gui which is nice
274 2013-03-29 06:52:22 <MC1984_> i seem to have lost the last 100 blocks after rstarting bitcoind how odd
275 2013-03-29 06:53:25 <MC1984_> oh no i never had them, disregard
276 2013-03-29 07:11:23 <Blaster> is there a method to determine whether a berkely DB .dat file is a BTC wallet or not
277 2013-03-29 07:14:21 <gmaxwell> Blaster: ask the person who gave it to you?
278 2013-03-29 07:15:14 <Blaster> PhotoRec gave it to me
279 2013-03-29 07:15:21 <Blaster> 192 .dat berkeley db files
280 2013-03-29 07:19:41 <MC1984_> ct mempool accept is incoming txn relays right
281 2013-03-29 07:19:59 <MC1984_> and poolz 312 means i have 312 txn in my mempool
282 2013-03-29 07:20:22 <gmaxwell> yes
283 2013-03-29 07:20:29 <gmaxwell> you can see it with getrawmempool
284 2013-03-29 07:22:11 <MC1984_> cool
285 2013-03-29 07:25:57 <tre-spective> so as a test i sent a transaction without any fee at all, still unconfirmed :) that certainly wont happen again
286 2013-03-29 07:26:38 <MC1984_> when?
287 2013-03-29 07:27:01 <gmaxwell> tre-spective: lots of transactions happily get confirmed without fees... just depends on their priority
288 2013-03-29 07:27:22 <midnightmagic> I for example haven't paid a fee in like a year. Feels like a year anyway.
289 2013-03-29 07:27:34 <tre-spective> hmm.. weird
290 2013-03-29 07:27:37 <tre-spective> been a few hours atleast
291 2013-03-29 07:28:10 <tre-spective> https://blockchain.info/tx/1a575e0b20f092b5a47184c0424d23e6df52d18f9306dde607e0e66b4ebe4091
292 2013-03-29 07:38:30 <Belxjander> random question... current bitcoin implimentations are transaction verifications... can you include a message in the transaction as well? or does bitcoin simply not support that kind of data transfer inside the transactions?
293 2013-03-29 07:42:45 <RoboTeddy> Belxjander: jump to slide 11: http://dankaminsky.com/2011/08/05/bo2k11/
294 2013-03-29 07:46:38 <Belxjander> RoboTeddy: thanks... looking now
295 2013-03-29 08:05:19 <_dr> RoboTeddy: interesting read
296 2013-03-29 08:06:14 <MC1984> Error: Couldn't open socket for incoming connections (socket returned error 1004
297 2013-03-29 08:06:15 <MC1984> 7)
298 2013-03-29 08:06:28 <MC1984> this isnt terrible right
299 2013-03-29 08:06:49 <Habbie> ddress family not supported by protocol family.
300 2013-03-29 08:06:54 <Habbie> Address family not supported by protocol family. even
301 2013-03-29 08:07:39 <topi`> what's the right procedure to import an old wallet? (from 0.3.0 times) .. or rather the privkeys in that wallet. I suppose you need some command line option in Bitcoin-Qt
302 2013-03-29 08:08:43 <gmaxwell> topi`: you just run with the wallet.
303 2013-03-29 08:09:04 <topi`> hm, good point
304 2013-03-29 08:09:21 <topi`> is it possible to "share" the blockchain with the secondary wallet?
305 2013-03-29 08:09:47 <topi`> so a 0.3.0 wallet is totally compatible with today's software?
306 2013-03-29 08:10:03 <gmaxwell> wumpus: thanks for closing that pull, everytime I saw an update on it ... it irritated me again.
307 2013-03-29 08:10:12 <gmaxwell> topi`: yep, should be compatible.
308 2013-03-29 08:10:21 <gmaxwell> topi`: no not possible to share.
309 2013-03-29 08:10:30 <topi`> good to know
310 2013-03-29 08:10:34 <gmaxwell> (you can swap the files out, shutting down between)
311 2013-03-29 08:10:48 <gmaxwell> actually multiwallet support is in the works though??? so you can run multiple wallets at once.
312 2013-03-29 08:11:16 <Belxjander> gmaxwell: that would be very nice
313 2013-03-29 08:12:07 <gmaxwell> Belxjander: if you want to see it become a reality??? test it!
314 2013-03-29 08:12:58 <Belxjander> gmaxwell: need to make things work on AmigaOS for me... no linux/windows/mac available to compile with
315 2013-03-29 08:13:48 <gmaxwell> Belxjander: run linux in qemu
316 2013-03-29 08:13:51 <gmaxwell> :P
317 2013-03-29 08:15:47 <Belxjander> gmaxwell: no qemu on AmigaOS
318 2013-03-29 08:15:53 <Belxjander> and qemu doesn't run AmigaOS
319 2013-03-29 08:16:23 <Goonie> Is there a bitcoin-qt for an old Mac G4 somewhere?
320 2013-03-29 08:16:48 <Belxjander> but I am needing to write my own AmigaOS BitCoin software anyway
321 2013-03-29 08:16:56 <Belxjander> I may as well see if I can write up "multiple wallet" handling
322 2013-03-29 08:23:10 <MC1984> is there a list of rpc commands anywhere
323 2013-03-29 08:23:16 <MC1984> im looking on the wiki but cant find
324 2013-03-29 08:23:35 <denisx> keypoololdest means oldest unused key?
325 2013-03-29 08:23:46 <Habbie> MC1984, https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list
326 2013-03-29 08:24:15 <MC1984> thanks
327 2013-03-29 08:28:12 <gmaxwell> denisx: yes
328 2013-03-29 08:28:16 <gmaxwell> MC1984: bitcoind help
329 2013-03-29 08:28:22 <gmaxwell> (better than any list on the wiki)
330 2013-03-29 08:29:00 <denisx> hmm, the keypool is enough for 4 days for me
331 2013-03-29 08:29:05 <denisx> I should increase taht
332 2013-03-29 08:30:29 <MC1984> oooo the diff is not actually integer
333 2013-03-29 08:32:47 <denisx> MC1984: the diff is only the proportion between target and 0x00000000ffff00000000...
334 2013-03-29 08:32:56 <denisx> and the target is actually an integer
335 2013-03-29 08:33:48 <MC1984> 6695826.28259625
336 2013-03-29 08:34:14 <denisx> yes, but that is not used to check the blockhash
337 2013-03-29 08:34:33 <MC1984> oh
338 2013-03-29 08:34:46 <denisx> it just shows how many times it is harder to find a block than diff1
339 2013-03-29 08:36:43 <denisx> and diff1 = 0x00000000ffff0000000000000000000000000000000000000000000000000000
340 2013-03-29 08:39:40 <digitalmagus> Is there a good technical document (not beginner's document) that explains how brute force mining actually works?
341 2013-03-29 08:39:52 <kadoban> is there some technical reason why the bitcoin-qt client doesn't let me encrypt a message to a given bitcoin address? it'd be possible, right? (the opposite of signing basically)
342 2013-03-29 08:40:11 <MC1984> lol i think i turned the generator on
343 2013-03-29 08:40:57 <gmaxwell> kadoban: address? it's not technically possible.
344 2013-03-29 08:41:12 <gmaxwell> kadoban: an address is a hash of a public key, it is not the public key itself.
345 2013-03-29 08:41:33 <kadoban> oh...right, ya i guess that would explain it
346 2013-03-29 08:41:39 <kadoban> haha, thanks
347 2013-03-29 08:52:33 <MC1984> is there a reason mempool accepts seem to be quite 'bursty' in the log?
348 2013-03-29 08:52:44 <MC1984> big groups coming through at once
349 2013-03-29 08:53:05 <MC1984> i would have thought network chatter would be fairly constant
350 2013-03-29 08:56:41 <Belxjander> would it be plausible to run a local "bitcoind" that had no GUI or user access at all and run local programs that use a library to talk to it through the RPC interface by scripting them?
351 2013-03-29 08:57:09 <gmaxwell> uh. yes.
352 2013-03-29 08:58:39 <MC1984> isnt that what its meant for
353 2013-03-29 08:59:08 <gdsl_afk> Morning beautifull people
354 2013-03-29 08:59:51 <gdsl> bitcoinforecast.com 12 hour forecast: 89.838, 3 months target: 200.722
355 2013-03-29 09:00:01 <gdsl> Latest*
356 2013-03-29 09:00:49 <Habbie> oops
357 2013-03-29 09:00:49 <Habbie> Wij passen uw bankrekeningnummer aan
358 2013-03-29 09:26:18 <denisx> uh, in 20 years the block reward halving and a difficutly recalculation will be on the same block
359 2013-03-29 09:29:08 <MC1984> is that bad
360 2013-03-29 09:29:59 <denisx> MC1984: I don't know, it simply has never happened before
361 2013-03-29 09:30:30 <MC1984> how did you work that out
362 2013-03-29 09:31:03 <denisx> 210000 * 6 / 2016 = even number
363 2013-03-29 09:31:50 <denisx> so it will happen on block 1260000
364 2013-03-29 09:34:51 <Graet> sounds like a good time to schedule a hardfork
365 2013-03-29 09:34:57 <Graet> ACTION ducks and runs
366 2013-03-29 09:35:07 <MC1984> well at least we have a rough timeframe fo the end of the world now
367 2013-03-29 09:35:11 <MC1984> better thant he asteroid thing
368 2013-03-29 09:35:55 <denisx> http://www.wolframalpha.com/input/?i=least+common+multiple+210000+2016
369 2013-03-29 09:35:57 <denisx> ;)
370 2013-03-29 09:41:44 <MC1984> shit p2pool takes as much memory as bitcoin
371 2013-03-29 09:41:54 <MC1984> gonna hav to give up
372 2013-03-29 09:42:07 <MC1984> welp i tried
373 2013-03-29 09:42:22 <skinnkavaj> How do you import private keys to Bitcoin-qt!?!???
374 2013-03-29 09:42:40 <MC1984> rpc interface?
375 2013-03-29 10:18:06 <giuseppe_> How can I list all transactions within a block, starting from a CBlockIndex* data structure?
376 2013-03-29 10:54:21 <giuseppe_> block.ReadFromDisk(g_block1);
377 2013-03-29 10:54:21 <giuseppe_> CBlock block;
378 2013-03-29 10:54:21 <giuseppe_> CBlockIndex* g_block1 = FindBlockByHeight(1);
379 2013-03-29 10:54:41 <sipa> yes?
380 2013-03-29 10:55:00 <giuseppe_> It was the answer to my previous question.
381 2013-03-29 10:55:06 <sipa> oh, the question came earlier
382 2013-03-29 10:55:16 <sipa> seems right to me
383 2013-03-29 10:55:33 <sipa> then iterate over block.vtx
384 2013-03-29 10:55:40 <giuseppe_> yes!
385 2013-03-29 10:56:46 <skinnkavaj> so who is creating the new lagfree mtgox?
386 2013-03-29 10:57:51 <giuseppe_> I'm studying to create a tool to analyze transactions
387 2013-03-29 10:58:40 <giuseppe_> I'm at the very beginning!
388 2013-03-29 11:00:08 <giuseppe_> Is timing information in a block? How can I get the exact date at which a block was generated? Just by keeping in mind that blocks are generated each 6 minutes?
389 2013-03-29 11:00:27 <ashod> hello everyone.. -
390 2013-03-29 11:00:51 <Habbie> giuseppe_, i'm pretty sure the timestamp is in there
391 2013-03-29 11:01:10 <giuseppe_> how can you trust that timestamp?
392 2013-03-29 11:01:31 <sipa> giuseppe_: it is part of the block, so part of the hashed data
393 2013-03-29 11:01:58 <sipa> giuseppe_: network rules state that it must be later than the medium of the past 11 blocks' timestamos
394 2013-03-29 11:02:23 <giuseppe_> ah ok! There is a rule!
395 2013-03-29 11:02:34 <sipa> and clients as a policy do not accept blocks with a timestamp more than 2 hours in the future
396 2013-03-29 11:02:41 <ashod> sorry to interrupt - but I recall, when I ran bitcoind on a server it warned me about incorrect time - what potential problems could arise from running a server with the wrong time ? ]
397 2013-03-29 11:02:44 <sipa> so there is some window for inaccuracy
398 2013-03-29 11:04:08 <giuseppe_> ashod: i think you can't validate new transactions, because you have incorrect timestamp.
399 2013-03-29 11:05:26 <sipa> ashod: a few secobds won't hurt, but minutes/hours off will risk not accepting the correct chain
400 2013-03-29 11:06:04 <ashod> @sipa and what's the best way to have the correct time ? - what's the source
401 2013-03-29 11:08:38 <ashod> ntp ? -
402 2013-03-29 11:11:19 <ashod> sorry was that a stupid question ?
403 2013-03-29 11:12:21 <rdponticelli> ashod: Yeah, ntp should do it ok
404 2013-03-29 11:13:35 <ashod> thanks - and does my computers clock have to be set to a certain timezone - ?
405 2013-03-29 11:13:47 <Habbie> no
406 2013-03-29 11:14:29 <rdponticelli> ashod: Whichever fits you
407 2013-03-29 11:14:33 <sipa> ntp is fine
408 2013-03-29 11:14:44 <sipa> hardware clock doesn't matter
409 2013-03-29 11:15:43 <ashod> Can you tell me , how it detects if my clock is in or out of time ?
410 2013-03-29 11:22:05 <MC1984> verifying last 288 blocks at level 3
411 2013-03-29 11:22:12 <MC1984> what are these levels
412 2013-03-29 11:22:20 <MC1984> i have a vague rememberance
413 2013-03-29 11:23:19 <sipa> MC1984: they got new meaning in 0.8
414 2013-03-29 11:23:36 <MC1984> yes thats what i remember
415 2013-03-29 11:28:51 <sipa> MC1984:
416 2013-03-29 11:29:05 <sipa> level 0: just read blocks from disk
417 2013-03-29 11:29:34 <sipa> level 1: verify standalone block validity
418 2013-03-29 11:30:01 <sipa> level 2: read and verify checksum of undo data
419 2013-03-29 11:30:51 <sipa> level 3: check for inconsistencies betwern coinstate and nlocks
420 2013-03-29 11:31:28 <sipa> level 4: effectively redo full verification of last blocks (including signature checks)
421 2013-03-29 11:32:46 <MC1984> ok thanks
422 2013-03-29 11:33:46 <sipa> level 3 and level are limited by -dbcache, as thry require an undo/redo replay of the blocks in memory
423 2013-03-29 11:38:23 <MC1984> wow bitcoind.exe is 60mb
424 2013-03-29 11:38:42 <Scrat> MC1984: nice 50mb trojan you got there
425 2013-03-29 11:38:44 <Scrat> :p
426 2013-03-29 11:39:27 <MC1984> bitcoin.org is handing out trojans?
427 2013-03-29 11:39:32 <MC1984> shit we should tell someone
428 2013-03-29 11:44:29 <Eliel_> Scrat: what are you referring to? I didn't quite get the joke.
429 2013-03-29 11:45:21 <MC1984> strange it just did a whole chunk of processblocks at once
430 2013-03-29 11:46:31 <Scrat> Eliel_: that his bitcoind.exe is 60mb
431 2013-03-29 11:46:44 <MC1984> back down to 51mb!
432 2013-03-29 11:48:25 <Scrat> Eliel_: nvm, it was lame
433 2013-03-29 11:50:11 <MC1984> !blocks
434 2013-03-29 11:50:12 <gribble> 228583
435 2013-03-29 11:50:29 <MC1984> is it me or are bloks going really fast
436 2013-03-29 11:51:59 <Scrat> MC1984: are you a chav?
437 2013-03-29 11:52:23 <MC1984> no m8
438 2013-03-29 11:52:42 <Scrat> "no m8 innit"
439 2013-03-29 11:53:00 <MC1984> il do u now
440 2013-03-29 11:53:39 <MC1984> why would a chav like bitcoins
441 2013-03-29 11:54:29 <Scrat> there are a few tech savvy chavs
442 2013-03-29 11:55:01 <jackieh> can someone help me understand the warning on http://blockexplorer.com/q/addressbalance?
443 2013-03-29 11:55:02 <MC1984> theyre not chavs, just lower class
444 2013-03-29 11:55:14 <MC1984> chav is a state of mind
445 2013-03-29 11:55:29 <jackieh> how does having bitcoins sent from an address but not sent by the person owning the address work?
446 2013-03-29 11:56:04 <MC1984> !blocks
447 2013-03-29 11:56:05 <gribble> 228585
448 2013-03-29 11:56:14 <MC1984> 2 blocks in 6 minutes
449 2013-03-29 11:56:33 <sipa> jackieh: first of akk, you do not send bitcoins "from" an adress; coins are individual entities
450 2013-03-29 11:56:35 <Scrat> jackieh: because in the common use case (ie. bitcoin-qt) it sends coin from quite a few addresses (including change addresses)
451 2013-03-29 11:57:18 <sipa> jackieh: and wallets try to make an abstracrion by showing your coins as a single balance
452 2013-03-29 11:57:32 <sipa> even though they may be coins assigned to tons of addresses
453 2013-03-29 11:57:52 <jackieh> what do you mean by change addresses Scrat?
454 2013-03-29 11:58:57 <Scrat> jackieh: explained in detail here https://en.bitcoin.it/wiki/Change
455 2013-03-29 11:59:13 <jackieh> awesome, thank you
456 2013-03-29 11:59:40 <Scrat> almost all your outgoing transactions will generate a hidden change address (it's just hidden from the UI)
457 2013-03-29 12:14:40 <MC1984> !blocks
458 2013-03-29 12:14:41 <gribble> 228586
459 2013-03-29 12:15:57 <FREESATOSHI> https://instawallet.org/w/gywb8XDrTW9Lwa1eu2pflZOkV8gwptJ5w <- FREE BITCOIN
460 2013-03-29 12:15:58 <FREESATOSHI> https://instawallet.org/w/gywb8XDrTW9Lwa1eu2pflZOkV8gwptJ5w <- FREE BITCOIN
461 2013-03-29 12:35:36 <pegu> !ticker
462 2013-03-29 12:35:37 <gribble> BTCUSD ticker | Best bid: 87.73000, Best ask: 87.75000, Bid-ask spread: 0.02000, Last trade: 87.75000, 24 hour volume: 150244.81237909, 24 hour low: 75.00111, 24 hour high: 94.99000, 24 hour vwap: 86.73526
463 2013-03-29 12:47:54 <Graet> anyone awake with ops that can stop the spam in -mining please?
464 2013-03-29 12:58:08 <Luke-Jr> Graet: you have ops in there.. O.o
465 2013-03-29 12:58:37 <Graet> since when? no-one told me i had
466 2013-03-29 12:59:46 <Luke-Jr> Graet: since nearly a 10 months ago :p
467 2013-03-29 13:00:40 <Graet> oh ok
468 2013-03-29 13:00:44 <Graet> cheers
469 2013-03-29 13:02:39 <Graet> shame i didnt know lol, oh well
470 2013-03-29 13:10:41 <ashod> whats the largest number of transactions known of in a block ?
471 2013-03-29 13:10:45 <denisx> how can I check my pw for the encrypted wallet is still correct without making a transaction?
472 2013-03-29 13:11:23 <sipa> denisx: walletpassphrase rpc
473 2013-03-29 13:11:35 <sipa> denisx: or debug console
474 2013-03-29 13:11:42 <denisx> sipa: yep, swa that right now
475 2013-03-29 13:11:49 <denisx> simply forgot how it worked
476 2013-03-29 13:13:55 <sipa> ashod: #976
477 2013-03-29 13:14:04 <sipa> ashod: sorry, ??976
478 2013-03-29 13:14:08 <sipa> grr!
479 2013-03-29 13:14:16 <sipa> 1976!
480 2013-03-29 13:14:34 <kinlo> not EUR976?
481 2013-03-29 13:14:42 <sipa> block 225203
482 2013-03-29 13:16:07 <ashod> thanks sipa, - whats the upper limit - is there a max ?
483 2013-03-29 13:17:40 <sipa> blocks are limited to 1000000 bytes
484 2013-03-29 13:17:58 <sipa> and typical transactions are around 250 bytes
485 2013-03-29 13:18:52 <ashod> so, block 225023 takes 500k, so would an upper max limit of around 4000 transactions be correct ?
486 2013-03-29 13:20:07 <MC1984> probably the one that broke bitcoin lol
487 2013-03-29 13:21:12 <sipa> no, that one was 970 kB
488 2013-03-29 13:22:03 <sipa> but had fewer (but larger) transavtions
489 2013-03-29 13:23:25 <ashod> http://blockexplorer.com/block/000000000000033818fb20338be1fe1b223f7018bdad8ee4cea5f396cf5523e8
490 2013-03-29 13:23:33 <ashod> shows : Size?: 500.06 kilobytes
491 2013-03-29 13:23:47 <sipa> yes
492 2013-03-29 13:24:11 <sipa> but i'm talking about the recent forking block
493 2013-03-29 13:26:07 <MC1984> oh i thought it had like 10,000 txn in it
494 2013-03-29 13:26:19 <ashod> how often do you guys rely on blockexplorer.com ?
495 2013-03-29 13:32:32 <kinlo> ashod: you should have all data locally in your bitcoinclient
496 2013-03-29 13:33:07 <kinlo> given that you added the correct index, you should be able to query everything you can query on blockexplorer from your local client
497 2013-03-29 13:34:43 <ashod> i understand - why does blockexplorer exist though ?
498 2013-03-29 13:36:07 <Graet> third party sites are made by ppl all over the place
499 2013-03-29 13:36:37 <Graet> why does ant bitcoin related site exist ? because someone took the time to make it :)
500 2013-03-29 13:40:59 <ashod> sure, - but as developers, it's refered to often, - just curious
501 2013-03-29 13:45:27 <Luke-Jr> ashod: once upon a time, bitcoind didn't have getblock or getrawtransaction
502 2013-03-29 13:47:29 <ashod> ok thanks - makes sense
503 2013-03-29 14:04:01 <skinnkavaj> OPERATION APRIL FOOLSCOIN
504 2013-03-29 14:04:02 <skinnkavaj> http://pastebin.com/h7iGK49T
505 2013-03-29 14:06:44 <jgarzik> skinnkavaj: off topic, please post that stuff elsewhere
506 2013-03-29 14:18:31 <Luke-Jr> [15:13:41] <elgrecoFL> Just for fun, we decided to make a satoshidice pool that will run on Fridays at 4pmEDT. Anyone who wants to participate should send in his contribution to: 1Pt4idw17nuesz1MvbYAS9DgTXce6tGNPa
507 2013-03-29 14:18:33 <Luke-Jr> [15:13:41] <elgrecoFL> At 4pm on Fridays, we will keep rolling 0.01BTC bets at the 64000x level and stop only if we hit or go bankrupt. If we hit, each address will be paid out in proportion to what they contributed. Like I said, this is just for fun. There will be no fee or anything. I??m thinking 0.1BTC will be the standard and minimum contribution, but you can send whatever you want above 0.1BTC. Let me know if you have any
508 2013-03-29 14:18:34 <Luke-Jr> questions.
509 2013-03-29 14:19:30 <Luke-Jr> hmm, I should have corrupted the address in that
510 2013-03-29 14:25:07 <MC1984> wow id be stupid not to, thanks Luke-Jr
511 2013-03-29 14:25:35 <Eliel_> ... what's the point?
512 2013-03-29 14:26:30 <Eliel_> that just alters the chances and your potential payoff a little.
513 2013-03-29 14:26:57 <Eliel_> you could probably get the same odds playing the 16000x or 8000x versions yourself
514 2013-03-29 14:32:35 <Jezzz> Eliel_:  that was a message sent to a very small channel of 12 members
515 2013-03-29 14:32:47 <Jezzz> it's meant to be fun.  kind of like an office lottery pool.
516 2013-03-29 14:33:08 <Jezzz> for some reason, Luke-Jr decided he'd also like to invite 500+ members in this channel
517 2013-03-29 14:33:09 <Jezzz> :/
518 2013-03-29 14:36:19 <MC1984> its just like a work lottery syndicate
519 2013-03-29 14:36:38 <MC1984> a bit of fun, and then epic shitstorm of drama if you actually win and funds must be disbursed
520 2013-03-29 14:37:07 <Jezzz> precisely :)
521 2013-03-29 14:40:01 <Eliel_> MC1984: well, I suppose the social aspect could be more interesting than actually winning anything from it.
522 2013-03-29 14:49:03 <mrkent> How does one parse the blockchain?
523 2013-03-29 14:49:35 <mrkent> sorta like how blockchain.info does it with constant updates?
524 2013-03-29 14:52:10 <Jezzz> mrkent:  with bitcoind
525 2013-03-29 14:53:14 <mrkent> Jezzz, which command?
526 2013-03-29 14:53:27 <Jezzz> several
527 2013-03-29 14:53:38 <mrkent> and is it possible to run bitcoind and qt at same time?
528 2013-03-29 14:53:40 <Jezzz> read up on the bitcoin api
529 2013-03-29 14:53:44 <Jezzz> afaik, no
530 2013-03-29 14:57:24 <sipa> mrkent: bitcoind doesn't maintain per-address indexes or balances, so you can't ask for those
531 2013-03-29 14:57:44 <sipa> mrkent: but apart from that, getblock and getrawtransaction can give you data by txid/blockid
532 2013-03-29 14:58:30 <mrkent> sipa, I'd like info such as amount of coins transfered during that block
533 2013-03-29 14:59:07 <sipa> you'll have to look at the individual transactions in it, then
534 2013-03-29 14:59:18 <sipa> it's not a very useful metric imho, though
535 2013-03-29 14:59:29 <sipa> as you'll account for change transfer as well
536 2013-03-29 15:00:23 <Maelstrom> http://www.businessweek.com/articles/2013-03-28/bitcoin-may-be-the-global-economys-last-safe-haven#r=most%20popular
537 2013-03-29 15:01:39 <mrkent> sipa, change always goes back to the original address it came from no?
538 2013-03-29 15:01:55 <sipa> mrkent: hell no
539 2013-03-29 15:02:53 <mrkent> excuse my ignorance then. How does the change determine where to go?
540 2013-03-29 15:03:06 <sipa> the client chooses
541 2013-03-29 15:03:25 <sipa> some clients send back to (one of) the original addresses
542 2013-03-29 15:03:37 <sipa> but others create a new change address for each transaction
543 2013-03-29 15:04:40 <mrkent> sipa, I see. How does blockchain calcualte estimated transaction volume?
544 2013-03-29 15:04:47 <mrkent> blockchain.info
545 2013-03-29 15:04:54 <sipa> they guess
546 2013-03-29 15:05:53 <sipa> (it's "estimated" for a reason)
547 2013-03-29 15:06:58 <Maelstrom> how do i make a bitcoin bank?
548 2013-03-29 15:07:29 <mrkent> hum
549 2013-03-29 15:08:54 <Maelstrom> i have a mining farm so people get interests
550 2013-03-29 15:09:26 <Maelstrom> i can also make loans
551 2013-03-29 15:09:54 <Maelstrom> i wonder why isnt there one already!
552 2013-03-29 15:11:05 <Maelstrom> what good are bitcoins if people are just going to sit on them
553 2013-03-29 15:12:06 <HM> there aren't any bitcoin banks because managing credit risk is hard
554 2013-03-29 15:13:42 <HM> also, why would you deposit your coins in to a bank for a few measily % when the exchange rate is so volatile and you could be +1000% or down to 10% next year
555 2013-03-29 15:13:56 <HM> there are no technical barriers if you want to go make a bank though
556 2013-03-29 15:21:35 <Maelstrom> besides people that way could by stuff from silkroud thru my bank
557 2013-03-29 15:21:58 <Maelstrom> and kieep anoimous
558 2013-03-29 15:23:33 <Maelstrom> that way the people wouldnt have to deal with pesky stuff like ensuring transations are in fact acomplished and good are delivered
559 2013-03-29 15:24:20 <Maelstrom> isnt that why there are banks with the older currencies?
560 2013-03-29 15:31:02 <Maelstrom> lets say some one whats to make a anonymous donation bitcoin is lacking in that respect
561 2013-03-29 15:31:43 <Luke-Jr> Maelstrom: you won't find many fans if Silk Road here.
562 2013-03-29 15:31:47 <Luke-Jr> of*
563 2013-03-29 15:31:49 <Maelstrom> then people would just use my bank and i would do it in their behalf
564 2013-03-29 15:32:05 <Luke-Jr> Maelstrom: and anonymity is not really a goal
565 2013-03-29 15:32:29 <Maelstrom> Luke-Jr: maybe not for you
566 2013-03-29 15:32:48 <Maelstrom> you cant speak in behalf of the community
567 2013-03-29 15:34:11 <Maelstrom> the way i see it no donation is a real donation if the person donating is going to have braggin rights for the donation
568 2013-03-29 15:34:44 <Luke-Jr> ???
569 2013-03-29 15:35:22 <Maelstrom> that way the donation could be seen as a bribe as opposed to a truly charitable donation
570 2013-03-29 15:39:44 <Maelstrom> also if you happed to give something to some one that someone might come after you begging for more or other things like that
571 2013-03-29 15:40:06 <Habbie> the 'begging for more' is my main turnoff with charities
572 2013-03-29 15:45:30 <Luke-Jr> sipa: this is confusing me. my 6-deep reorg is succeeding with only 11000 locks
573 2013-03-29 15:46:23 <Luke-Jr> and with 10000, even one of the blocks in the reorg fails
574 2013-03-29 15:47:11 <Luke-Jr> it's almost as if the reorg doesn't need locks for the whole thing, but somehow releases them after each block
575 2013-03-29 15:47:49 <sipa> that's very strange
576 2013-03-29 15:59:18 <abadr> My `walletnotify` option simply isn't doing anything AFAICT. Meanwhile blocknotify works fine. How can I debug this?
577 2013-03-29 15:59:54 <sipa> abadr: what version are you running?
578 2013-03-29 16:00:16 <abadr> sipa: Bitcoin version v0.8.1-beta
579 2013-03-29 16:00:19 <Luke-Jr> abadr: walletnotify is a new-in-0.9 thing
580 2013-03-29 16:01:16 <abadr> oh, not sure how i missed that
581 2013-03-29 16:01:45 <abadr> thanks. maybe bitcoind should warn if there are options it doesn't understand?
582 2013-03-29 16:01:52 <sipa> abadr: yes, it should
583 2013-03-29 16:02:00 <sipa> abadr: current code makes that pretty hard, though
584 2013-03-29 16:02:24 <abadr> i see. should i make a ticket?
585 2013-03-29 16:03:43 <TD> sipa: :(
586 2013-03-29 16:03:44 <TD> 2013-03-29 16:29:49 mapAlreadyAskedFor.size() == 2338
587 2013-03-29 16:03:44 <TD> 2013-03-29 16:29:49 stored orphan tx af95c1d6db (mapsz 1732)
588 2013-03-29 16:04:05 <TD> sipa: that said, my node seems to bloat up less quickly with your patches. even though before, it didn't seem to make any difference.
589 2013-03-29 16:04:07 <TD> so that's good
590 2013-03-29 16:04:30 <sipa> TD: i made some more patches yesterday, and now i'm running with one that adds per-node memory usage stats to getpeerinfo
591 2013-03-29 16:04:44 <TD> awesome
592 2013-03-29 16:04:48 <TD> you are the patch wizard
593 2013-03-29 16:05:10 <sipa> wth
594 2013-03-29 16:05:18 <sipa> one peer has a send buffer of >100 MiB
595 2013-03-29 16:05:42 <TD> hmmm
596 2013-03-29 16:05:47 <TD> but how much of it is really used?
597 2013-03-29 16:05:55 <TD> is that taking into account the magical nReadOffset or whatever?
598 2013-03-29 16:06:04 <sipa> it measures actually allocated memory
599 2013-03-29 16:06:10 <sipa> including overhead from vectors/sets/...
600 2013-03-29 16:06:11 <TD> without jeffs changes the datastream can grow forever
601 2013-03-29 16:06:19 <sipa> it's with those patches applied already
602 2013-03-29 16:08:10 <TD> ok
603 2013-03-29 16:08:31 <TD> i thought those changes removed the whole concept of send buffer
604 2013-03-29 16:08:36 <TD> or they made it message-based instead.
605 2013-03-29 16:08:43 <TD> so, some huge messages (block chain download?)
606 2013-03-29 16:09:53 <sipa> i've now added a field to show the actual amount of data to be send
607 2013-03-29 16:10:11 <sipa> i wonder if there's weird allocation overhead, or just unbounded amount of data being sent
608 2013-03-29 16:10:26 <abadr> how stable is trunk? should i run it in production if i want -walletnotify?
609 2013-03-29 16:10:41 <TD> sipa: do you swap with an empty vector to clear it?
610 2013-03-29 16:10:49 <sipa> TD: yess
611 2013-03-29 16:10:49 <TD> abadr: it should be stable
612 2013-03-29 16:11:04 <TD> sipa: how do you measure memory usage?
613 2013-03-29 16:11:28 <gmaxwell> abadr: on a wallet with real money in it? I wouldn't just run trunk except for monitoring.
614 2013-03-29 16:11:39 <abadr> yes, real money
615 2013-03-29 16:11:42 <sipa> TD: i looked at the stl code to see what size the actual data structures are
616 2013-03-29 16:11:58 <sipa> TD: and use std::vector:;capacity and friends to count how much is allocated
617 2013-03-29 16:12:22 <TD> ok
618 2013-03-29 16:13:45 <sipa> hmm, both seem large
619 2013-03-29 16:13:50 <HM> you could try attaching a custom allocator to your container
620 2013-03-29 16:14:00 <HM> just passing calls through to std::allocator but doing some accounting
621 2013-03-29 16:14:03 <sipa> "memsendbuffer" : 9295441,
622 2013-03-29 16:14:03 <sipa> "memsendusage" : 6436143,
623 2013-03-29 16:14:26 <sipa> the first is how much data is actually being sent, the second is the allocated size
624 2013-03-29 16:14:41 <abadr> alright. guess i'll keep polling for now.
625 2013-03-29 16:17:53 <Diablo-D3> hey guys
626 2013-03-29 16:18:02 <Diablo-D3> did anyone power benchmark the foundation's avalon unit?
627 2013-03-29 16:18:07 <Diablo-D3> how many watts does it use?
628 2013-03-29 16:22:07 <gjs278> I tried applying for "developer" on avalon's batch 2 to get one earlier than the rest since I have an accepted commit
629 2013-03-29 16:22:29 <gjs278> it would be the one time I would be able to use this watt measuring device
630 2013-03-29 16:24:50 <sanchaz> https://www.youtube.com/watch?v=yW2UMkGTzDE
631 2013-03-29 16:30:08 <mouseofthesteppe> Hello
632 2013-03-29 16:30:41 <mouseofthesteppe> What OSes are supported by the latest 0.8.1. ppa?
633 2013-03-29 16:31:10 <mouseofthesteppe> (some old OSes are not)
634 2013-03-29 16:34:47 <BlueMatt> mouseofthesteppe: maverick is no longer supported because launchpad fails to build anything that is uploaded for maverick
635 2013-03-29 16:34:55 <BlueMatt> also...if anyone is still running on maverick.....
636 2013-03-29 16:36:46 <mouseofthesteppe> what about the linuxes, how new do they have to be?
637 2013-03-29 16:37:26 <BlueMatt> what?
638 2013-03-29 16:37:49 <sipa> mouseofthesteppe: ubuntu is a linux distribution...
639 2013-03-29 16:38:17 <joeghi> is there a bitcoin client for mining using CUDA?
640 2013-03-29 16:38:36 <MC-Droid> dont
641 2013-03-29 16:38:50 <ashod> what's a good IRC channel to discuss ideas to enhance bitcoin ?