1 2013-04-29 00:00:15 johnsoft1 has joined
   2 2013-04-29 00:00:19 <travolta> but how the random keys are generated I'm worried if there it a programatic way to guess them
   3 2013-04-29 00:00:26 <travolta> based on the seed generation technique
   4 2013-04-29 00:00:54 <sipa> bitcoind uses a cryptographic PRNG (from OpenSSL) to generate keys
   5 2013-04-29 00:01:01 <Wayward> so have there been any serious attempts at attacking bitcoin addresses with ASIC pools?
   6 2013-04-29 00:01:17 <Wayward> eg, those addresses with 11,111 btc in them
   7 2013-04-29 00:01:17 <travolta> thats a silly question...
   8 2013-04-29 00:01:26 <Luke-Jr> Wayward: you can't attack bitcoin addresses
   9 2013-04-29 00:01:41 <sipa> Wayward: you think someone built 1) an ASIC for bitcoin address generation  2) built a pool out it?
  10 2013-04-29 00:01:45 <Wayward> Luke-Jr, if not, then why do people in #bitcoin-dev continously spout that reusing a bitcoin address weakens its security
  11 2013-04-29 00:01:52 <travolta> only way to attack bitcoin address is if you knew the seed mechanism that was used to create them and if they had a fundamental flaw in its entropy
  12 2013-04-29 00:01:55 <sipa> Wayward: that has nothing to do with that
  13 2013-04-29 00:02:06 <sipa> Wayward: reusing addresses is just bad for privacy of the network
  14 2013-04-29 00:02:07 <travolta> which at the question I asked about a particular private key generation
  15 2013-04-29 00:02:28 <Wayward> sipa: apparently also unwrapping bitcoins with the same address over and over causes crypto weakness
  16 2013-04-29 00:02:40 <sipa> 'unwrapping' wut?
  17 2013-04-29 00:03:02 melvster has quit (Quit: Leaving.)
  18 2013-04-29 00:03:10 <travolta> was I right in what I said sipa?
  19 2013-04-29 00:03:14 <travolta> about addresses?
  20 2013-04-29 00:03:19 johnsoft has quit (Ping timeout: 268 seconds)
  21 2013-04-29 00:03:22 <sipa> travolta: yes
  22 2013-04-29 00:03:28 <Luke-Jr> Wayward: because multiple signatures can, in some cases (not used today), expose the private key
  23 2013-04-29 00:03:37 <Luke-Jr> Wayward: and it harms the network's privacy attributes
  24 2013-04-29 00:03:39 <sipa> travolta: though some addresses are generated from a password ("brainwallets"), which is way more vulnerable
  25 2013-04-29 00:04:19 johnsoft has joined
  26 2013-04-29 00:04:34 <sipa> Luke-Jr: what cases are you talking about?
  27 2013-04-29 00:04:36 <Wayward> Luke-Jr: a single signature wouldn't give -any- advantage?
  28 2013-04-29 00:04:47 <Wayward> even the smallest of
  29 2013-04-29 00:04:51 <travolta> still worries like hell about using a know entropy generating mechanism
  30 2013-04-29 00:04:59 <Luke-Jr> sipa: Lamport
  31 2013-04-29 00:05:00 <sipa> travolta: ??
  32 2013-04-29 00:05:05 <travolta> I think thats a recipe for disaster
  33 2013-04-29 00:05:05 <sipa> Luke-Jr: oh, right o
  34 2013-04-29 00:05:12 <gmaxwell> sipa: he means that reusing signatures breaks our ability to adopt lamport if ecdsa turns out to be weak.
  35 2013-04-29 00:05:15 <sipa> travolta: elaborate
  36 2013-04-29 00:05:16 <travolta> you know if you get a well known private key generating tool
  37 2013-04-29 00:05:24 <travolta> one of the popular ones
  38 2013-04-29 00:05:42 <sipa> no idea what you mean
  39 2013-04-29 00:05:51 <travolta> if your not using some quantum hardware number generator isnt its entropy in essense "weak"
  40 2013-04-29 00:06:02 <travolta> to make private addresses
  41 2013-04-29 00:06:13 johnsoft1 has quit (Ping timeout: 272 seconds)
  42 2013-04-29 00:06:26 <Luke-Jr> travolta: most PCs these days have onboard RNG chips
  43 2013-04-29 00:06:38 <sipa> and even those that don't generate more than enough entropy by other means
  44 2013-04-29 00:06:45 <sipa> (interrupt timings, ...)
  45 2013-04-29 00:06:54 <monda7> I'm reading that non standard scripts are not transmitted.  Why use a scripting system?
  46 2013-04-29 00:07:20 <sipa> monda7: because Satoshi said "there shall be scripts!"
  47 2013-04-29 00:07:44 <travolta> Satoshi isnt real though
  48 2013-04-29 00:07:45 <travolta> lo
  49 2013-04-29 00:07:48 <travolta> he is fictional
  50 2013-04-29 00:07:51 <sipa> maybe
  51 2013-04-29 00:07:54 <monda7> sipa: how do you know if a script is 'standard'?
  52 2013-04-29 00:08:16 <Luke-Jr> monda7: Bitcoin uses a scripting system so that clients can add future features while remaining backward compatible
  53 2013-04-29 00:08:17 <sipa> monda7: when it matches one of the standard script patterns
  54 2013-04-29 00:08:38 <sipa> and yes, making something go from nonstandard to standard is much easier than introducing new script types
  55 2013-04-29 00:09:17 <monda7> Luke-Jr: could you give me an example?
  56 2013-04-29 00:09:22 wei_ has joined
  57 2013-04-29 00:09:31 <monda7> how would you make something go from nonstandard to standard?
  58 2013-04-29 00:09:43 <monda7> any of you guys going to the san jose conference?
  59 2013-04-29 00:10:20 <sipa> yes
  60 2013-04-29 00:10:20 <Luke-Jr> monda7: the old version 0 addresses represent a script: OP_DUP OP_HASH160 OP_EQUALVERIFY OP_CHECKSIG
  61 2013-04-29 00:10:47 <Luke-Jr> monda7: "nonstandard" just means "Bitcoin-Qt won't relay it on p2p"
  62 2013-04-29 00:10:58 <Luke-Jr> oops
  63 2013-04-29 00:11:04 <Luke-Jr> monda7: the old version 0 addresses represent a script: OP_DUP OP_HASH160 <pubkeyhash> OP_EQUALVERIFY OP_CHECKSIG
  64 2013-04-29 00:11:08 <sipa> yeah :)
  65 2013-04-29 00:11:17 jedunnigan has joined
  66 2013-04-29 00:12:02 michagogo has quit (Remote host closed the connection)
  67 2013-04-29 00:12:06 <Luke-Jr> monda7: newer version 5 addresses (p2sh) are a special "magic" template: OP_HASH160 <scripthash> OP_EQUALVERIFY
  68 2013-04-29 00:12:14 <Luke-Jr> err
  69 2013-04-29 00:12:16 <Luke-Jr> OP_EQUAL there
  70 2013-04-29 00:12:22 <monda7> why not just enumerate the standard scripts and embed that single number in the transactions?
  71 2013-04-29 00:12:41 <travolta> I just reliazed something sipa, its probably best to keep multiple wallets right?
  72 2013-04-29 00:12:43 <sipa> monda7: that wouldn't allow added more in the future
  73 2013-04-29 00:12:53 <travolta> if your dealing with like 10,000+ keys
  74 2013-04-29 00:12:59 <sipa> travolta: probably, yes
  75 2013-04-29 00:13:05 <monda7> new clients could define a new script number 8 which they all agree means
  76 2013-04-29 00:13:13 <sipa> monda7: that would require a hard fork
  77 2013-04-29 00:13:14 <monda7> new clients could define a new script number 8 which they all agree means <code>
  78 2013-04-29 00:13:26 <sipa> as every node needs to be able to verify every transaction
  79 2013-04-29 00:13:29 <sipa> in every block
  80 2013-04-29 00:13:38 <monda7> ok
  81 2013-04-29 00:13:46 <sipa> so adding a new script type would require every single client to be updated
  82 2013-04-29 00:13:53 santoscork_ has joined
  83 2013-04-29 00:13:58 <sipa> and all those that don't risk ending up on a fork of the chain
  84 2013-04-29 00:14:13 <sipa> the bitcoin validation rules are really as strict as they can be
  85 2013-04-29 00:14:23 <monda7> i see so, even if a client doesn't relay the transaction, if it disagrees with the other clients about how its verified, it creates a fork
  86 2013-04-29 00:14:33 <amantonop> the scripts are both the best feature and the most flexible part of bitcoin, I love them!
  87 2013-04-29 00:14:54 <sipa> well, i think the design of the script language is really sloppy and handwavy
  88 2013-04-29 00:15:02 <amantonop> they are not Turing complete are they?
  89 2013-04-29 00:15:02 <monda7> so validation matters for more then mining?
  90 2013-04-29 00:15:10 <sipa> monda7: absolutely
  91 2013-04-29 00:15:12 <monda7> amantonop: they are not
  92 2013-04-29 00:15:23 <sipa> monda7: validation is how nodes make sure miners don't cheat!
  93 2013-04-29 00:15:27 <amantonop> so theoretically, they could be implemented in a deterministic and computable state machine
  94 2013-04-29 00:15:35 <sipa> sure
  95 2013-04-29 00:15:41 santoscork has quit (Ping timeout: 256 seconds)
  96 2013-04-29 00:15:41 santoscork_ is now known as santoscork
  97 2013-04-29 00:15:48 <amantonop> with predictable (provable) and consistent behavior
  98 2013-04-29 00:15:55 <monda7> what happens if two nodes disagree about validation?
  99 2013-04-29 00:15:59 <sipa> monda7: fork
 100 2013-04-29 00:16:09 <sipa> well, in the worst case
 101 2013-04-29 00:16:26 Nothing4You has joined
 102 2013-04-29 00:16:26 Nothing4You has quit (Excess Flood)
 103 2013-04-29 00:16:41 <sipa> if one part of the network uses strictly stronger rules (i.e., everything that the others reject, they reject too, and more)
 104 2013-04-29 00:16:52 <sipa> and the stronger rules are enforced by a majority of miners
 105 2013-04-29 00:16:55 Nothing4You has joined
 106 2013-04-29 00:16:56 Nothing4You has quit (Excess Flood)
 107 2013-04-29 00:17:05 <sipa> then no fork can remain
 108 2013-04-29 00:17:32 <sipa> in every other case, you get a permanent fork
 109 2013-04-29 00:18:02 <monda7> ok. thanks
 110 2013-04-29 00:18:25 Nothing4You has joined
 111 2013-04-29 00:18:26 Nothing4You has quit (Excess Flood)
 112 2013-04-29 00:18:32 <amantonop> sipa: would it be accurate to say that minority forks are harmless? That it only matters if a substantial minority forks, causing two well-balanced islands (like what happened with the 0.7.1). If it is just a handful, they will eventually be forced to change software or they're on the useless blockchain?
 113 2013-04-29 00:18:42 <monda7> so scripting allows you to roll out more features that are verified by the older clients
 114 2013-04-29 00:18:50 <monda7> even though the older clients wont relay the transaction
 115 2013-04-29 00:18:51 <sipa> amantonop: all depends on how economically meaningful they are
 116 2013-04-29 00:18:56 Nothing4You has joined
 117 2013-04-29 00:18:56 Nothing4You has quit (Excess Flood)
 118 2013-04-29 00:18:57 <amantonop> right...
 119 2013-04-29 00:18:58 brson has quit (Remote host closed the connection)
 120 2013-04-29 00:19:05 <sipa> adding such a strictly stronger set of rules is called a "soft forking change"
 121 2013-04-29 00:19:10 <Luke-Jr> something happened with 0.7.1?
 122 2013-04-29 00:19:28 <sipa> i assume he means 0.7.x vs 0.8.0
 123 2013-04-29 00:19:30 <amantonop> Luke-Jr: sorry perhaps I quoted the wrong version
 124 2013-04-29 00:19:33 <Wayward> I have a very simple question about scripts.  Is it possible to write a script in a transaction that would make it appear that someone sent you coins, but when you goto spend them you find that it's not possible?  Eg, signing with two keys, or with one key that doesn't even belong to you?
 125 2013-04-29 00:19:38 <amantonop> I mean the BDB bug fork
 126 2013-04-29 00:19:47 <sipa> Wayward: no
 127 2013-04-29 00:20:00 <Wayward> sipa: if no, then why not?
 128 2013-04-29 00:20:07 <sipa> Wayward: scripts evaluate to either true of false, and this does not change over time
 129 2013-04-29 00:20:20 <Wayward> great, true or false
 130 2013-04-29 00:20:27 <Wayward> but you can still sign coins with multiple keys
 131 2013-04-29 00:20:34 <sipa> yes
 132 2013-04-29 00:20:37 <Wayward> assuming the receiver doesn't have both keys
 133 2013-04-29 00:20:41 <Wayward> how do they spend their coin?
 134 2013-04-29 00:20:46 <sipa> wait
 135 2013-04-29 00:20:48 <Luke-Jr> amantonop: that was 0.8.0 breaking compat with everything else
 136 2013-04-29 00:20:50 <Wayward> and assuming bitcoin-qt doesn't anticipate this
 137 2013-04-29 00:21:02 <sipa> if you want to do with, you create an output that is a script requiring two keys
 138 2013-04-29 00:21:11 <Wayward> or a script that mtgox doesn't know how to handle
 139 2013-04-29 00:21:20 <sipa> Wayward: the script is determined by the receiver
 140 2013-04-29 00:21:27 <amantonop> Luke-Jr: right, that's what I meant
 141 2013-04-29 00:21:29 <sipa> an address is a shorthand for a particular script
 142 2013-04-29 00:21:29 <Wayward> the script is determined by the sender
 143 2013-04-29 00:21:42 <sipa> the sender puts the script in the transaction
 144 2013-04-29 00:21:44 <Wayward> sipa: i send you bitcoins, i tell you how you can spend them
 145 2013-04-29 00:21:53 <sipa> but the receiver decides where to send them
 146 2013-04-29 00:21:57 <Wayward> yes
 147 2013-04-29 00:22:07 <Wayward> but i tell you what forms of identification you need to spend them
 148 2013-04-29 00:22:12 <sipa> Wayward: that's like saying "hi, i sent you a letter, to addres 42 wallaby way, sydney"
 149 2013-04-29 00:22:19 <sipa> Wayward: that's ridiculous
 150 2013-04-29 00:22:30 <sipa> the receiver tells you the address at which he accepts transactions
 151 2013-04-29 00:22:42 <Wayward> ok
 152 2013-04-29 00:22:51 <sipa> if you send coins somewhere else, well, you're stupid
 153 2013-04-29 00:23:05 <Wayward> so how can the same coin be signed to two receivers?
 154 2013-04-29 00:23:13 <Wayward> it's possible via script
 155 2013-04-29 00:23:15 <sipa> yes
 156 2013-04-29 00:23:16 <Wayward> allowed even
 157 2013-04-29 00:23:25 <Wayward> but if both people don't know each other
 158 2013-04-29 00:23:30 <sipa> they jointly decide a script that will require them both to sign
 159 2013-04-29 00:23:31 <Wayward> both clients show they have coin to spend but can't spend it
 160 2013-04-29 00:23:35 <sipa> no
 161 2013-04-29 00:23:44 <sipa> clients don't do that, unless they own both keys
 162 2013-04-29 00:23:53 <Wayward> have we tested this
 163 2013-04-29 00:23:56 <sipa> yes
 164 2013-04-29 00:24:09 <sipa> if you want to deal with complex scripts, you'll need custom software anyway
 165 2013-04-29 00:24:18 <Wayward> well, yes
 166 2013-04-29 00:24:21 <Wayward> but so does the receiver
 167 2013-04-29 00:24:23 <monda7> so what scripts are standard.  is there a list somewhere?
 168 2013-04-29 00:24:25 <sipa> but the important part is that despite that, every client out there can send to a multisig address
 169 2013-04-29 00:24:38 <sipa> even without knowing the script involved
 170 2013-04-29 00:24:38 phlogiston has joined
 171 2013-04-29 00:24:46 bitcoinbulletin has quit (Quit: bitcoinbulletin)
 172 2013-04-29 00:25:10 <sipa> monda7: pay-to-pubkey, pay-to-pubkeyhash, pay-to-M-of-N-multisig (with N <= 3)
 173 2013-04-29 00:25:15 <sipa> monda7: that's it, i think
 174 2013-04-29 00:25:27 * sipa zZzZ
 175 2013-04-29 00:25:40 <Wayward> sipa: which site was yours again?
 176 2013-04-29 00:25:45 <sipa> Wayward: bitcoin.sipa.be
 177 2013-04-29 00:25:48 <Wayward> thanks
 178 2013-04-29 00:27:10 <Wayward> it's almost like you can see when a new shipment of asic rigs go out
 179 2013-04-29 00:27:45 gavinandresen has quit (Quit: gavinandresen)
 180 2013-04-29 00:28:07 <Wayward> sipa: is anyone monitoring for transactions that don't require a signature?
 181 2013-04-29 00:28:31 <Wayward> free coin
 182 2013-04-29 00:30:21 Ad0 has joined
 183 2013-04-29 00:30:42 <lianj> Wayward: ofc
 184 2013-04-29 00:31:28 <Wayward> has any ever been spotted?
 185 2013-04-29 00:31:40 <lianj> sure
 186 2013-04-29 00:31:41 <Wayward> at least in the last couple years
 187 2013-04-29 00:31:46 <lianj> yes
 188 2013-04-29 00:31:52 <Wayward> why? lol
 189 2013-04-29 00:32:18 <lianj> dunno, fun or the sender messed something up
 190 2013-04-29 00:32:38 <Wayward> does anyone report on them?  (obviously after they've been spent)
 191 2013-04-29 00:33:01 <Wayward> be nice to see a ledger
 192 2013-04-29 00:33:46 <Wayward> i'm sort of anti-enthused about how bitcoin-qt has this huge database with no tools to access or filter it
 193 2013-04-29 00:34:03 <Wayward> we all hold 6 gigs of crap on our harddrive and still flock to blockchain.info
 194 2013-04-29 00:34:12 foggyb has quit (Ping timeout: 258 seconds)
 195 2013-04-29 00:34:17 sirdefaced has joined
 196 2013-04-29 00:34:24 <lianj> Wayward: for performance reasons
 197 2013-04-29 00:34:36 <lianj> with indecies and all my blockchain is 96GB
 198 2013-04-29 00:34:38 <sirdefaced> What file contains the params for telling bitcoin to start each new address with a 1?
 199 2013-04-29 00:35:03 <Wayward> sirdefaced: the protocol built in the code.
 200 2013-04-29 00:35:27 <sirdefaced> Wayward yea thats what im asking, what file is that protocol stored in.
 201 2013-04-29 00:35:29 <lianj> sirdefaced: ./base58.h PUBKEY_ADDRESS
 202 2013-04-29 00:35:29 <Wayward> you can modify the .conf file to change to testnet, which doesn't start with a 1
 203 2013-04-29 00:35:44 <sirdefaced> lianj you are a good man.
 204 2013-04-29 00:36:19 rdymac has quit (Quit: This computer has gone to sleep)
 205 2013-04-29 00:37:16 <sirdefaced> now to figure out what number is == the letter F ^_^
 206 2013-04-29 00:37:52 <Wayward> vanity addresses?
 207 2013-04-29 00:38:21 robocoin has quit (Ping timeout: 264 seconds)
 208 2013-04-29 00:38:31 caedes has joined
 209 2013-04-29 00:38:31 caedes has quit (Changing host)
 210 2013-04-29 00:38:31 caedes has joined
 211 2013-04-29 00:39:13 <lianj> sirdefaced: 0x14
 212 2013-04-29 00:39:18 <sirdefaced> Wayward well im just playing around with my own alt coin idea, nothing serious, just trying to figure out how bitcoin works Because id like to use the ideologies to create a p2pmarketplace that rewards nodes with coins
 213 2013-04-29 00:39:48 <lianj> sirdefaced: ups. its 14. 0x0e
 214 2013-04-29 00:40:29 <Wayward> Isn't it possible that some different values would cross from, say 8* to 9* prefixes
 215 2013-04-29 00:41:04 <Wayward> kind of sad the prefixes themselves aren't wholly arbitrary
 216 2013-04-29 00:41:12 <sirdefaced> yea
 217 2013-04-29 00:41:14 <Wayward> just an affixed string
 218 2013-04-29 00:41:47 ikea_meatballs has joined
 219 2013-04-29 00:42:12 Gnaf has quit (Remote host closed the connection)
 220 2013-04-29 00:42:19 oru has quit (Quit: ~)
 221 2013-04-29 00:42:45 oru has joined
 222 2013-04-29 00:42:45 oru has quit (Changing host)
 223 2013-04-29 00:42:45 oru has joined
 224 2013-04-29 00:42:57 ielo has quit (Ping timeout: 272 seconds)
 225 2013-04-29 00:46:27 Guest66919 is now known as Cusipzzz
 226 2013-04-29 00:46:34 Cusipzzz has quit (Changing host)
 227 2013-04-29 00:46:34 Cusipzzz has joined
 228 2013-04-29 00:46:50 tg has quit (Ping timeout: 255 seconds)
 229 2013-04-29 00:47:17 seeingidog__ has quit (Quit: Leaving.)
 230 2013-04-29 00:48:50 phlogiston has left ()
 231 2013-04-29 00:50:59 caedes has quit (Ping timeout: 256 seconds)
 232 2013-04-29 00:52:05 <lianj> btw, looks like PUBKEY_ADDRESS = 35 or 36 is right to generate 'F' prefixed ones
 233 2013-04-29 00:52:58 <sirdefaced> I'm going to give 35 a shot. TY for your help.
 234 2013-04-29 00:56:13 Diapolis has quit (Remote host closed the connection)
 235 2013-04-29 00:57:54 brson has joined
 236 2013-04-29 01:00:53 _W_ has quit (Ping timeout: 256 seconds)
 237 2013-04-29 01:02:27 Nothing4You has joined
 238 2013-04-29 01:02:27 Nothing4You has quit (Excess Flood)
 239 2013-04-29 01:02:57 Nothing4You has joined
 240 2013-04-29 01:02:57 Nothing4You has quit (Excess Flood)
 241 2013-04-29 01:03:57 monda7 has quit (Ping timeout: 245 seconds)
 242 2013-04-29 01:04:17 MobPhone has quit (Read error: Connection reset by peer)
 243 2013-04-29 01:04:23 Skav has joined
 244 2013-04-29 01:05:27 stalled has quit (Ping timeout: 264 seconds)
 245 2013-04-29 01:06:25 caedes has joined
 246 2013-04-29 01:06:32 santoscork has quit (Quit: Auto logout …)
 247 2013-04-29 01:09:20 Skav has quit (Ping timeout: 255 seconds)
 248 2013-04-29 01:12:33 RazielZ has quit (Quit: Leaving)
 249 2013-04-29 01:15:15 Tritonio_ has joined
 250 2013-04-29 01:16:47 Tritonio_ has quit (Read error: Connection reset by peer)
 251 2013-04-29 01:16:52 amantonop has quit (Quit: amantonop)
 252 2013-04-29 01:17:24 Tritonio_ has joined
 253 2013-04-29 01:18:25 Tritonio has quit (Ping timeout: 272 seconds)
 254 2013-04-29 01:18:47 Guest58374 has joined
 255 2013-04-29 01:19:33 Guest58374 has quit (Quit: leaving)
 256 2013-04-29 01:19:45 stalled has joined
 257 2013-04-29 01:23:44 crank has quit (Ping timeout: 255 seconds)
 258 2013-04-29 01:25:54 amantonop has joined
 259 2013-04-29 01:26:35 Diapolis has joined
 260 2013-04-29 01:27:33 marr has quit (Ping timeout: 264 seconds)
 261 2013-04-29 01:28:08 crank has joined
 262 2013-04-29 01:31:43 chorao has quit (Ping timeout: 272 seconds)
 263 2013-04-29 01:31:50 twmz has quit (Ping timeout: 255 seconds)
 264 2013-04-29 01:33:27 rushed has quit (Quit: rushed)
 265 2013-04-29 01:34:03 MobPhone has joined
 266 2013-04-29 01:35:09 Diapolis has quit (Ping timeout: 258 seconds)
 267 2013-04-29 01:35:37 chorao has joined
 268 2013-04-29 01:36:00 BlackPrapor has quit (Ping timeout: 245 seconds)
 269 2013-04-29 01:40:35 seeingidog__ has joined
 270 2013-04-29 01:40:49 _W_ has joined
 271 2013-04-29 01:41:16 nova90 has joined
 272 2013-04-29 01:41:53 Skav has joined
 273 2013-04-29 01:44:53 MobPhone has quit (Ping timeout: 255 seconds)
 274 2013-04-29 01:45:01 nova907767 has quit (Ping timeout: 272 seconds)
 275 2013-04-29 01:45:27 sh4k has left ()
 276 2013-04-29 01:45:34 <ecolo> Is there any way to track a transaction with bitcoin? If you only receive money into an account and not send?
 277 2013-04-29 01:46:14 <grapevine> yes
 278 2013-04-29 01:46:21 <grapevine> blockchain it
 279 2013-04-29 01:46:31 <grapevine> and click on the TXID
 280 2013-04-29 01:46:45 chorao has quit (Ping timeout: 252 seconds)
 281 2013-04-29 01:46:50 Skav has quit (Read error: Connection reset by peer)
 282 2013-04-29 01:46:52 <grapevine> well
 283 2013-04-29 01:47:01 <grapevine> they can only see that money was put there
 284 2013-04-29 01:47:03 MobPhone has joined
 285 2013-04-29 01:47:03 _ape has joined
 286 2013-04-29 01:47:24 _ape has left ()
 287 2013-04-29 01:47:34 <ecolo> can anybody track my IP address?
 288 2013-04-29 01:48:27 Muis has quit (Ping timeout: 252 seconds)
 289 2013-04-29 01:48:58 <phantomcircuit> ecolo, VOXILITY
 290 2013-04-29 01:49:08 <grapevine> eh
 291 2013-04-29 01:49:13 <grapevine> debatlable
 292 2013-04-29 01:49:23 <grapevine> use a new btcy addy for all trans
 293 2013-04-29 01:49:28 <grapevine> proxy.tor etc
 294 2013-04-29 01:49:31 <phantomcircuit> wait
 295 2013-04-29 01:49:33 <grapevine> vpn
 296 2013-04-29 01:49:43 <ecolo> i talked about bitcoin
 297 2013-04-29 01:49:45 stalled has quit (Ping timeout: 264 seconds)
 298 2013-04-29 01:49:51 <phantomcircuit> what was the ip address of the person who stole from slush?
 299 2013-04-29 01:49:52 <ecolo> is there any possiblity to trace it? if I only receive money into an account?
 300 2013-04-29 01:50:21 <ecolo> btcy?
 301 2013-04-29 01:50:25 <ecolo> I use bitcoin-qt
 302 2013-04-29 01:50:33 <ecolo> how do I uwse proxy.tor with bitcoin?
 303 2013-04-29 01:51:28 <rdponticelli> ecolo: If you just "received", there's not way of linking your ip with the transaction
 304 2013-04-29 01:51:53 <nsh> ecolo, receiving money is a side effect of someone sending money, not an action in itself on the bitcoin network
 305 2013-04-29 01:51:58 Nothing4You has joined
 306 2013-04-29 01:51:58 Nothing4You has quit (Excess Flood)
 307 2013-04-29 01:52:09 <rdponticelli> When you spend that coin, somebody could be tracking which ip first send the spending transaction, though
 308 2013-04-29 01:52:28 Nothing4You has joined
 309 2013-04-29 01:52:28 Nothing4You has quit (Excess Flood)
 310 2013-04-29 01:52:46 <rdponticelli> That's when tor or a vpn could help...
 311 2013-04-29 01:53:15 <ecolo> nsh: what do you mean by that?
 312 2013-04-29 01:53:18 <gonffen> would be fairly circumstancial though?
 313 2013-04-29 01:53:33 <rdponticelli> ecolo: But if you're concerned about privacy, maybe you can use them always
 314 2013-04-29 01:53:51 <ecolo> rdponticelli: how could somebody tracking the ip if I make a transaction?
 315 2013-04-29 01:53:56 <nsh> ecolo, i mean that there is involvement of the receiving party when bitcoins are sent
 316 2013-04-29 01:54:00 <nsh> *is no involvement
 317 2013-04-29 01:54:08 <nsh> as far as "things happening on the internet"
 318 2013-04-29 01:54:14 stalled has joined
 319 2013-04-29 01:55:04 <rdponticelli> ecolo: Somebody can be connected to a lot of nodes, tracking which of them sends a transaction first
 320 2013-04-29 01:55:07 phebus has joined
 321 2013-04-29 01:55:49 chorao has joined
 322 2013-04-29 01:56:14 brson has quit (Quit: leaving)
 323 2013-04-29 01:57:28 Nothing4You has joined
 324 2013-04-29 01:57:28 Nothing4You has quit (Excess Flood)
 325 2013-04-29 01:57:49 <ecolo> nsh: what do you want to say by that? if I just received money. then my IP not shows?
 326 2013-04-29 01:57:58 Nothing4You has joined
 327 2013-04-29 01:57:58 Nothing4You has quit (Excess Flood)
 328 2013-04-29 01:58:41 <rdponticelli> ecolo: You just receive a new block, like everyone else
 329 2013-04-29 01:59:13 <rdponticelli> Only your wallet knows that one of those transactions pays to an address which is there
 330 2013-04-29 01:59:40 <ecolo> ok thanks
 331 2013-04-29 01:59:44 stalled has quit (Ping timeout: 255 seconds)
 332 2013-04-29 01:59:58 * BlueMatt best there is some kind of timing attack against receivers if they have large wallets
 333 2013-04-29 02:00:28 Nothing4You has joined
 334 2013-04-29 02:00:28 Nothing4You has quit (Excess Flood)
 335 2013-04-29 02:00:57 john5223 has joined
 336 2013-04-29 02:00:58 Nothing4You has joined
 337 2013-04-29 02:00:58 Nothing4You has quit (Excess Flood)
 338 2013-04-29 02:01:31 * rdponticelli thinks is possible
 339 2013-04-29 02:02:16 <rdponticelli> Headers first could help against that, right, BlueMatt?
 340 2013-04-29 02:02:27 <BlueMatt> ummm...no?
 341 2013-04-29 02:02:52 <BlueMatt> Im thinking forward tx...ping, measure latency
 342 2013-04-29 02:03:00 <BlueMatt> look for spikes at individual nodes
 343 2013-04-29 02:03:15 <BlueMatt> if they have a very large wallet (eg a merchant) you may be able to find something there
 344 2013-04-29 02:03:32 <BlueMatt> (provided you're the first to relay said tx)
 345 2013-04-29 02:07:28 Nothing4You has joined
 346 2013-04-29 02:07:28 Nothing4You has quit (Excess Flood)
 347 2013-04-29 02:07:58 Nothing4You has joined
 348 2013-04-29 02:07:58 Nothing4You has quit (Excess Flood)
 349 2013-04-29 02:09:27 <phantomcircuit> BlueMatt, practically it's difficult since merchants worth anything dont have listening nodes with actual wallets
 350 2013-04-29 02:09:44 <BlueMatt> I never said it was easy, just being the first to relay a tx is hard
 351 2013-04-29 02:11:16 Tritonio_ has quit (Read error: Connection reset by peer)
 352 2013-04-29 02:11:38 Tritonio_ has joined
 353 2013-04-29 02:14:17 stalled has joined
 354 2013-04-29 02:14:30 Nothing4You has joined
 355 2013-04-29 02:14:30 Nothing4You has quit (Excess Flood)
 356 2013-04-29 02:14:33 <travolta> hey guys if I pull: https://github.com/CodeShark/bitcoin/ can I merge it with the latest master bitcoin source?
 357 2013-04-29 02:14:51 <grapevine> ugh, my 2.4 nmc isnt worth shit
 358 2013-04-29 02:15:04 Nothing4You has joined
 359 2013-04-29 02:15:04 Nothing4You has quit (Excess Flood)
 360 2013-04-29 02:15:05 <travolta> Or is it already that way
 361 2013-04-29 02:16:13 jaequery has joined
 362 2013-04-29 02:16:36 Skav has joined
 363 2013-04-29 02:16:53 <grapevine> fucking sites and their fees
 364 2013-04-29 02:17:01 <grapevine> .01 for withdrawn
 365 2013-04-29 02:17:08 <grapevine> is horshit with the btc values goin upo
 366 2013-04-29 02:17:08 <travolta> depends on number of bitcoins
 367 2013-04-29 02:17:44 <travolta> 0.01 is only like 1.40 USD :P
 368 2013-04-29 02:17:56 <BlueMatt> grapevine: please stop complaining unless you have something serious to discuss
 369 2013-04-29 02:18:31 Haifisch has quit (Remote host closed the connection)
 370 2013-04-29 02:18:41 <phantomcircuit> BlueMatt, im sure he's working on his business to compete with them right now! </sarcasm>
 371 2013-04-29 02:19:00 <grapevine> ah my bad, i keep thinking im in otc
 372 2013-04-29 02:19:12 MobPhone has quit (Ping timeout: 240 seconds)
 373 2013-04-29 02:21:48 bitit has joined
 374 2013-04-29 02:22:27 sacredchao has quit (Ping timeout: 276 seconds)
 375 2013-04-29 02:22:48 sacredchao has joined
 376 2013-04-29 02:25:05 jaequery has quit (Quit: Computer has gone to sleep.)
 377 2013-04-29 02:27:23 Skav has quit (Read error: Connection reset by peer)
 378 2013-04-29 02:27:29 Diapolis has joined
 379 2013-04-29 02:27:32 MobPhone has joined
 380 2013-04-29 02:27:39 bitit has quit (Remote host closed the connection)
 381 2013-04-29 02:28:42 bitit has joined
 382 2013-04-29 02:29:05 Diablo-D3 has quit (Quit: This computer has gone to sleep)
 383 2013-04-29 02:29:43 jaequery has joined
 384 2013-04-29 02:32:33 john5223 has quit (Ping timeout: 240 seconds)
 385 2013-04-29 02:34:41 witwit has joined
 386 2013-04-29 02:35:06 witwit has quit (Client Quit)
 387 2013-04-29 02:37:32 GlitchNZ has quit (Read error: Connection reset by peer)
 388 2013-04-29 02:38:38 matopek has joined
 389 2013-04-29 02:39:05 GlitchNZ has joined
 390 2013-04-29 02:40:45 Diapolis has quit (Remote host closed the connection)
 391 2013-04-29 02:40:53 RBecker is now known as rbecker
 392 2013-04-29 02:43:10 GlitchNZ has quit (Client Quit)
 393 2013-04-29 02:46:26 ecolo has quit ()
 394 2013-04-29 02:46:49 rdegges has joined
 395 2013-04-29 02:49:21 Goonie_ has quit (Ping timeout: 245 seconds)
 396 2013-04-29 02:51:38 jaequery has quit (Quit: Computer has gone to sleep.)
 397 2013-04-29 02:52:03 Pinion has joined
 398 2013-04-29 02:52:28 Pinion is now known as Guest36810
 399 2013-04-29 02:55:33 fiesh has quit (Ping timeout: 252 seconds)
 400 2013-04-29 02:55:59 Nothing4You has joined
 401 2013-04-29 02:55:59 Nothing4You has quit (Excess Flood)
 402 2013-04-29 02:56:11 ralphtheninja has quit (Ping timeout: 260 seconds)
 403 2013-04-29 02:56:29 Nothing4You has joined
 404 2013-04-29 02:56:29 Nothing4You has quit (Excess Flood)
 405 2013-04-29 02:58:11 toffoo has joined
 406 2013-04-29 02:58:17 fiesh has joined
 407 2013-04-29 03:02:21 ngc0202 has quit (Ping timeout: 264 seconds)
 408 2013-04-29 03:04:43 <travolta> hey sipa, you know the importaddress function on CodeShark's branch, where it says "label" as one of the params is that synomymus for "account"?
 409 2013-04-29 03:05:34 sirdefaced has quit (Ping timeout: 256 seconds)
 410 2013-04-29 03:05:59 Nothing4You has joined
 411 2013-04-29 03:05:59 Nothing4You has quit (Excess Flood)
 412 2013-04-29 03:06:29 Nothing4You has joined
 413 2013-04-29 03:06:30 Nothing4You has quit (Excess Flood)
 414 2013-04-29 03:06:30 Guest36810 has quit (Quit: Has quit)
 415 2013-04-29 03:06:52 chorao has quit (Ping timeout: 256 seconds)
 416 2013-04-29 03:07:21 ngc0202 has joined
 417 2013-04-29 03:08:25 sirdefaced has joined
 418 2013-04-29 03:11:18 Diapolis has joined
 419 2013-04-29 03:14:15 wamatt has quit (Quit: wamatt)
 420 2013-04-29 03:15:00 wamatt has joined
 421 2013-04-29 03:15:02 Pinion has joined
 422 2013-04-29 03:15:26 Pinion is now known as Guest25317
 423 2013-04-29 03:18:26 fanquake has joined
 424 2013-04-29 03:20:02 Diapolis has quit (Ping timeout: 272 seconds)
 425 2013-04-29 03:20:44 Nash has quit (Ping timeout: 255 seconds)
 426 2013-04-29 03:21:14 Silverion has joined
 427 2013-04-29 03:21:51 emryss has quit (Ping timeout: 260 seconds)
 428 2013-04-29 03:26:49 ngc0202 has quit (Ping timeout: 268 seconds)
 429 2013-04-29 03:27:42 chorao has joined
 430 2013-04-29 03:27:42 chorao has quit (Changing host)
 431 2013-04-29 03:27:42 chorao has joined
 432 2013-04-29 03:28:15 caedes has quit (Ping timeout: 272 seconds)
 433 2013-04-29 03:28:38 <travolta> Can someone be so kind to explain to be what importprivkey [label] is on that api call?
 434 2013-04-29 03:28:44 <travolta> *to me
 435 2013-04-29 03:30:29 Nothing4You has joined
 436 2013-04-29 03:30:30 Nothing4You has quit (Excess Flood)
 437 2013-04-29 03:30:48 Guest25317 has quit (Quit: Has quit)
 438 2013-04-29 03:30:59 Nothing4You has joined
 439 2013-04-29 03:31:00 Nothing4You has quit (Excess Flood)
 440 2013-04-29 03:35:43 FredEE has joined
 441 2013-04-29 03:37:00 <EvilPete> gosh damn it.
 442 2013-04-29 03:37:13 <EvilPete> "Failed to write undo data" bitcoin-qt
 443 2013-04-29 03:37:50 <EvilPete> LevelDB write failure: IO error: /Users/peter/Library/Application Support/Bitcoin/chainstate/067308.log: Too many open files
 444 2013-04-29 03:38:34 D34TH has quit (Quit: Leaving)
 445 2013-04-29 03:43:22 <denisx> EvilPete: https://github.com/bitcoin/bitcoin/commit/fe15aa335c223a37a1196d5f509fbe8059b733bb
 446 2013-04-29 03:45:35 Nothing4You has joined
 447 2013-04-29 03:45:36 Nothing4You has quit (Excess Flood)
 448 2013-04-29 03:45:43 caedes has joined
 449 2013-04-29 03:46:30 Nothing4You has joined
 450 2013-04-29 03:46:30 Nothing4You has quit (Excess Flood)
 451 2013-04-29 03:47:55 denisx has quit (Quit: denisx)
 452 2013-04-29 03:52:43 daughterly has joined
 453 2013-04-29 03:53:59 fishfish_ has joined
 454 2013-04-29 03:55:23 richcollins has joined
 455 2013-04-29 03:57:42 fishfish has quit (Ping timeout: 256 seconds)
 456 2013-04-29 03:58:37 witwit has joined
 457 2013-04-29 03:58:58 rfish has joined
 458 2013-04-29 04:01:05 <rfish> Is it possible that certain elements inside the hashPrevBlock make it impossible to find a hash at a certain difficulty regardless of Nonce and hashMerkleRoot?
 459 2013-04-29 04:01:38 <Luke-Jr> yes
 460 2013-04-29 04:01:40 [7] has quit (Disconnected by services)
 461 2013-04-29 04:01:49 TheSeven has joined
 462 2013-04-29 04:01:53 <rfish> so then that can kill the block chain no?
 463 2013-04-29 04:01:58 <Luke-Jr> rfish: yes
 464 2013-04-29 04:02:03 <sirdefaced> wow
 465 2013-04-29 04:02:16 <Luke-Jr> rfish: the chance of it happening are far far far less likely than the Sun exploded and killing everyone, though
 466 2013-04-29 04:02:23 <Luke-Jr> exploding*
 467 2013-04-29 04:02:47 <rfish> oh ok
 468 2013-04-29 04:02:56 <Luke-Jr> rfish: and if it ever seemed like it did, the community *could* hard fork to resolve it
 469 2013-04-29 04:02:57 <rfish> thanks
 470 2013-04-29 04:03:19 <rfish> that makes sense
 471 2013-04-29 04:06:15 phebus has quit (Quit: POKE 1,0)
 472 2013-04-29 04:07:35 <gonffen> Luke-Jr: I assume there is no way to determine if that has occurred versus say, incredibly unlikely bad luck?
 473 2013-04-29 04:07:59 <Luke-Jr> gonffen: there is no difference..
 474 2013-04-29 04:08:41 HM has quit (Ping timeout: 252 seconds)
 475 2013-04-29 04:08:56 paraipan has quit (Quit: Saliendo)
 476 2013-04-29 04:09:21 <gonffen> do you mean literally or practically?
 477 2013-04-29 04:09:37 <Luke-Jr> literally
 478 2013-04-29 04:13:34 chorao has quit (Ping timeout: 256 seconds)
 479 2013-04-29 04:14:49 <rfish> And another question is what incentive do miners have in propigating transactions throughout the network
 480 2013-04-29 04:15:04 <sivu> fees
 481 2013-04-29 04:15:16 <rfish> no, that is for including them in the next block
 482 2013-04-29 04:15:21 <Luke-Jr> fees, and also a healthy network means Bitcoins have value
 483 2013-04-29 04:15:28 jaequery has joined
 484 2013-04-29 04:15:30 <Luke-Jr> rfish: eh, that's all miners do
 485 2013-04-29 04:15:36 <rfish> not for propigating the transaciton, that costs bandwidth with no reward
 486 2013-04-29 04:15:52 <Luke-Jr> rfish: miners are not unique there
 487 2013-04-29 04:15:57 syskk has joined
 488 2013-04-29 04:16:00 <Luke-Jr> all nodes, mining or not, need to relay transactions
 489 2013-04-29 04:16:21 <syskk> hi all. what does vMasterKey represent in wallet.cpp?
 490 2013-04-29 04:16:26 <syskk> is it the decryption key?
 491 2013-04-29 04:16:35 <rfish> all they need is their coinbase theoritically to generate a new block
 492 2013-04-29 04:16:51 FabianB_ has joined
 493 2013-04-29 04:16:51 FabianB_ has quit (Changing host)
 494 2013-04-29 04:16:51 FabianB_ has joined
 495 2013-04-29 04:17:04 <Luke-Jr> rfish: you're confusing something, but I'm not sure what
 496 2013-04-29 04:17:09 <Luke-Jr> there are two things:
 497 2013-04-29 04:17:31 <Luke-Jr> 1) relaying transactions p2p; all nodes (not miners) must do this for the network to function; the incentive is to keep the network functioning so their own bitcoins have value
 498 2013-04-29 04:17:45 <Luke-Jr> 2) including transactions in blocks; only miners do this, and they get the transaction fees for doing it
 499 2013-04-29 04:18:04 FabianB has quit (Ping timeout: 264 seconds)
 500 2013-04-29 04:18:59 <rfish> ok, most people don't care about that, they just assume other people will do it
 501 2013-04-29 04:19:03 <rfish> take torrents for example
 502 2013-04-29 04:19:15 <rfish> people choose not to upload
 503 2013-04-29 04:19:20 <rfish> and to only download
 504 2013-04-29 04:19:38 <rfish> and when it is required there are ways to upload to yourself to fake out the system
 505 2013-04-29 04:21:49 <rfish> I'm sure someone will create a wallet that claims to comsume less bandwidth and it could catch on
 506 2013-04-29 04:27:07 chorao has joined
 507 2013-04-29 04:29:41 phebus has joined
 508 2013-04-29 04:29:42 canoon has quit (Ping timeout: 272 seconds)
 509 2013-04-29 04:35:14 <syskk> how can i get a list of private keys?
 510 2013-04-29 04:35:58 <rfish> whos private keys?
 511 2013-04-29 04:36:11 <Luke-Jr> syskk: I don't think there is a way to do that.
 512 2013-04-29 04:36:32 <Luke-Jr> short of manually dumping the database
 513 2013-04-29 04:36:36 <syskk> Luke-Jr: I just need some help to get started.. I want to implement this feature
 514 2013-04-29 04:37:02 <Luke-Jr> syskk: what feature?
 515 2013-04-29 04:37:16 <syskk> i want to implement a way to dump all private keys
 516 2013-04-29 04:37:27 <syskk> ive taken a look at dumpprivkey() in rpcdump.cpp
 517 2013-04-29 04:37:41 <syskk> but im not sure how to get a list of addresses
 518 2013-04-29 04:39:29 <sivu> getaddressbyaccount
 519 2013-04-29 04:39:37 <Luke-Jr> sivu: won't get all of them
 520 2013-04-29 04:39:40 <Luke-Jr> syskk: why?
 521 2013-04-29 04:39:41 <sivu> sorry, getaddressesbyaccount
 522 2013-04-29 04:40:16 <syskk> Luke-Jr: to make it easier exporting a wallet
 523 2013-04-29 04:40:26 Michail1_ is now known as Michail1
 524 2013-04-29 04:41:09 canoon has joined
 525 2013-04-29 04:41:51 <Luke-Jr> syskk: I believe there's a pullreq for an exportwallet RPC somewhere
 526 2013-04-29 04:43:16 <syskk> Luke-Jr: thanks
 527 2013-04-29 04:43:26 hydrogenesis has joined
 528 2013-04-29 04:44:58 iddo has quit (Read error: Operation timed out)
 529 2013-04-29 04:45:06 iddo has joined
 530 2013-04-29 04:47:31 jedunnigan has quit (Remote host closed the connection)
 531 2013-04-29 04:51:04 canoon has quit (Ping timeout: 264 seconds)
 532 2013-04-29 04:51:35 Nothing4You has joined
 533 2013-04-29 04:51:35 Nothing4You has quit (Excess Flood)
 534 2013-04-29 04:52:32 Nothing4You has joined
 535 2013-04-29 04:52:32 Nothing4You has quit (Excess Flood)
 536 2013-04-29 04:55:17 hydrogenesis has quit (Quit: Colloquy for iPad - http://colloquy.mobi)
 537 2013-04-29 05:00:06 Haifisch has joined
 538 2013-04-29 05:03:30 phebus has quit (Quit: POKE 1,0)
 539 2013-04-29 05:07:08 ericy has joined
 540 2013-04-29 05:08:05 canoon has joined
 541 2013-04-29 05:16:25  has quit (Clown|!Clown@unaffiliated/clown/x-0272709|Ping timeout: 245 seconds)
 542 2013-04-29 05:23:52 Jackneill has joined
 543 2013-04-29 05:24:09 Jackneill has quit (Remote host closed the connection)
 544 2013-04-29 05:26:52 grau has joined
 545 2013-04-29 05:28:59 willbradley has left ()
 546 2013-04-29 05:30:29 owowo has quit (Quit: sayonara)
 547 2013-04-29 05:32:03 ryanender_ has joined
 548 2013-04-29 05:32:16 <ryanender_> looks like the mincoin exchange went live (finally)
 549 2013-04-29 05:33:25 BlackPrapor has joined
 550 2013-04-29 05:34:26 brwyatt is now known as brwyatt|Away
 551 2013-04-29 05:34:47 dansmith_btc has joined
 552 2013-04-29 05:35:04 rushed has joined
 553 2013-04-29 05:35:21 CodeShark has quit (Remote host closed the connection)
 554 2013-04-29 05:35:22 grau has quit (Remote host closed the connection)
 555 2013-04-29 05:36:02 matopek has quit (Quit: Lost terminal)
 556 2013-04-29 05:37:42 <dansmith_btc> Hello, does bitcoind have a built-in events mechanism which notifies when a new block arrives? I know that bitcoinjs does.
 557 2013-04-29 05:39:15 <vazakl-> mincoin is cool
 558 2013-04-29 05:40:59 KoSoVaR has quit ()
 559 2013-04-29 05:42:48 jaequery has quit (Quit: Computer has gone to sleep.)
 560 2013-04-29 05:43:36 felixhandte1 has quit (Ping timeout: 252 seconds)
 561 2013-04-29 05:44:58 <jgarzik> mincoin is from realsolid?  ah hum :)
 562 2013-04-29 05:45:05 witwit has quit (Quit: Konversation terminated!)
 563 2013-04-29 05:45:06 <jgarzik> dansmith_btc: yes
 564 2013-04-29 05:45:22 <ryanender_> think he built the exchange
 565 2013-04-29 05:46:35 <dansmith_btc> jgarzik, what is the mechanism called?
 566 2013-04-29 05:46:59 <jgarzik> dansmith_btc: -blocknotify, which gives a command to execute once per block, on the command line
 567 2013-04-29 05:48:57 grau has joined
 568 2013-04-29 05:49:07 ryanender_ has quit (Quit: Page closed)
 569 2013-04-29 05:50:20 <dansmith_btc> jgarzik, how can I access the new block programmatically after I'm notified of it?
 570 2013-04-29 05:50:38 ThomasV has joined
 571 2013-04-29 05:53:30 <jgarzik> dansmith_btc: depends on what you need
 572 2013-04-29 05:53:43 <jgarzik> dansmith_btc: getblock <hash> returns everything except the transaction data itself
 573 2013-04-29 05:53:50 <dansmith_btc> jgarzik, I need to access block's internals
 574 2013-04-29 05:54:13 <dansmith_btc> jgarzik, and the transactions as well
 575 2013-04-29 05:54:14 <jgarzik> dansmith_btc: unspent transactions are 'gettransaction', otherwise you will need to get down-n-dirty with the raw block serialization
 576 2013-04-29 05:54:20 <jgarzik> or gettxout
 577 2013-04-29 05:54:54 <Luke-Jr> or txindex=1 <.<
 578 2013-04-29 05:55:34 <jgarzik> dansmith_btc: or txindex, as luke indicated
 579 2013-04-29 05:57:27 halfie is now known as bbl!~halfie@ec2-23-22-59-150.compute-1.amazonaws.com|halfie
 580 2013-04-29 05:59:00 canoon has quit (Ping timeout: 272 seconds)
 581 2013-04-29 06:00:11 safra has joined
 582 2013-04-29 06:00:42 tonylorusso has joined
 583 2013-04-29 06:01:24 tonylorusso has quit (Client Quit)
 584 2013-04-29 06:02:21 hydrogenesis has joined
 585 2013-04-29 06:03:51 grau has quit (Remote host closed the connection)
 586 2013-04-29 06:12:04 Nothing4You has joined
 587 2013-04-29 06:12:04 Nothing4You has quit (Excess Flood)
 588 2013-04-29 06:12:13 hydrogenesis has quit (Quit: Colloquy for iPad - http://colloquy.mobi)
 589 2013-04-29 06:12:34 Nothing4You has joined
 590 2013-04-29 06:12:34 Nothing4You has quit (Excess Flood)
 591 2013-04-29 06:13:07 grapevine has quit (Quit: ZNC - http://znc.in)
 592 2013-04-29 06:14:55 grapevine has joined
 593 2013-04-29 06:15:11 grapevine is now known as Guest45459
 594 2013-04-29 06:15:20 Guest45459 is now known as grapevine
 595 2013-04-29 06:15:21 grapevine has quit (Changing host)
 596 2013-04-29 06:15:21 grapevine has joined
 597 2013-04-29 06:21:22 Zero9 has quit ()
 598 2013-04-29 06:22:14 sud3n has quit (Read error: Operation timed out)
 599 2013-04-29 06:23:04 jgarzik has quit (Ping timeout: 272 seconds)
 600 2013-04-29 06:28:05 tucars has quit (Remote host closed the connection)
 601 2013-04-29 06:28:11 seeingidog__ has quit (Quit: Leaving.)
 602 2013-04-29 06:31:03 saulimus has joined
 603 2013-04-29 06:35:49 jgarzik has joined
 604 2013-04-29 06:36:13 jgarzik is now known as Guest10504
 605 2013-04-29 06:45:46 abadr has joined
 606 2013-04-29 06:47:32 Prattler has quit (Quit: ZNC - http://znc.in)
 607 2013-04-29 06:48:30 fishfish_ has quit (Quit: Zzzzz..zzzzz)
 608 2013-04-29 06:53:57 moarrr has joined
 609 2013-04-29 06:55:11 witwit has joined
 610 2013-04-29 06:57:54 abadr has quit (Quit: abadr)
 611 2013-04-29 06:58:13 grau has joined
 612 2013-04-29 06:58:20 fishfish has joined
 613 2013-04-29 07:01:52 moarrr has quit (Ping timeout: 245 seconds)
 614 2013-04-29 07:03:17 idstam has joined
 615 2013-04-29 07:04:35 MobiusL has quit (Quit: Ex-Chat)
 616 2013-04-29 07:06:58 nomailing has joined
 617 2013-04-29 07:07:59 rushed has quit (Quit: rushed)
 618 2013-04-29 07:09:29 MaybeJustNothing has quit (Remote host closed the connection)
 619 2013-04-29 07:10:00 MaybeJustNothing has joined
 620 2013-04-29 07:10:38 Goonie_ has joined
 621 2013-04-29 07:14:43 dvide has joined
 622 2013-04-29 07:14:57 CodesInChaos has joined
 623 2013-04-29 07:16:11 Mobius_ has joined
 624 2013-04-29 07:16:16 fishfish has quit (Ping timeout: 272 seconds)
 625 2013-04-29 07:17:51 Mobius_ is now known as MobiusL
 626 2013-04-29 07:20:02 da2ce7 has joined
 627 2013-04-29 07:20:07 bitit has quit (Remote host closed the connection)
 628 2013-04-29 07:20:19 Belxjander has quit (Quit: Sayonara)
 629 2013-04-29 07:20:27 Goonie_ has left ()
 630 2013-04-29 07:23:38 Steve132 has quit (Remote host closed the connection)
 631 2013-04-29 07:28:21 Nothing4You has joined
 632 2013-04-29 07:28:21 Nothing4You has quit (Excess Flood)
 633 2013-04-29 07:28:51 Nothing4You has joined
 634 2013-04-29 07:28:51 Nothing4You has quit (Excess Flood)
 635 2013-04-29 07:29:15 Belxjander has joined
 636 2013-04-29 07:29:51 Nothing4You has joined
 637 2013-04-29 07:29:53 sud3n has joined
 638 2013-04-29 07:31:25 Prattler has joined
 639 2013-04-29 07:34:38 Tritonio_ has quit (Ping timeout: 272 seconds)
 640 2013-04-29 07:35:43 FredEE has quit (Quit: FredEE)
 641 2013-04-29 07:39:46 BlueMatt has quit (Ping timeout: 245 seconds)
 642 2013-04-29 07:41:44 BlueMatt has joined
 643 2013-04-29 07:41:52 amantonop has left ()
 644 2013-04-29 07:42:00 agricocb has quit (Ping timeout: 258 seconds)
 645 2013-04-29 07:42:35 richcollins has quit (Quit: richcollins)
 646 2013-04-29 07:44:38 Thepok has joined
 647 2013-04-29 07:45:44 egis has joined
 648 2013-04-29 07:48:36 Guest10504 has quit (Changing host)
 649 2013-04-29 07:48:36 Guest10504 has joined
 650 2013-04-29 07:48:46 Guest10504 is now known as jgarzik
 651 2013-04-29 07:48:52 ikea_meatballs has quit (Quit: ikea_meatballs)
 652 2013-04-29 07:49:51 agricocb has joined
 653 2013-04-29 07:53:29 nomailing has quit (Quit: nomailing)
 654 2013-04-29 07:54:11 grau has quit (Remote host closed the connection)
 655 2013-04-29 07:54:14 caedes has quit (Quit: Saliendo)
 656 2013-04-29 07:54:43 grau has joined
 657 2013-04-29 07:56:11 uypp has quit (Ping timeout: 264 seconds)
 658 2013-04-29 07:58:12 melvster1 has joined
 659 2013-04-29 07:59:37 Tritonio has joined
 660 2013-04-29 08:04:13 realazthat_ has joined
 661 2013-04-29 08:04:21 Tritonio has quit (Ping timeout: 276 seconds)
 662 2013-04-29 08:05:00 realazthat has quit (Read error: Connection reset by peer)
 663 2013-04-29 08:06:26 realazthat_ is now known as realazthat
 664 2013-04-29 08:06:42 realazthat has quit (Changing host)
 665 2013-04-29 08:06:42 realazthat has joined
 666 2013-04-29 08:08:26 LainZ has quit (Ping timeout: 256 seconds)
 667 2013-04-29 08:08:31 uypp has joined
 668 2013-04-29 08:13:44 nomailing has joined
 669 2013-04-29 08:17:24 reneg has joined
 670 2013-04-29 08:18:22 ovidiusoft has joined
 671 2013-04-29 08:22:59 Maren has joined
 672 2013-04-29 08:24:00 jojo_ has joined
 673 2013-04-29 08:26:45 reneg has quit (Quit: Leaving)
 674 2013-04-29 08:26:51 <jojo_> Just a question. Is it 6 confirmation i should wait for until i can transfer money from an adress if i make an automatic service that makes an adress and then get the money and then it should trasfer that money to another adress..
 675 2013-04-29 08:28:04 shesek has joined
 676 2013-04-29 08:29:04 whiterabbit has joined
 677 2013-04-29 08:29:17 ielo has joined
 678 2013-04-29 08:30:12 whiterab1it has joined
 679 2013-04-29 08:30:33 <weex> jojo_: will the "another address" be yours?
 680 2013-04-29 08:31:00 Guest41078 has quit (Ping timeout: 276 seconds)
 681 2013-04-29 08:31:16 <weex> if so you can do it immediately but if it might be someone else's then it's safer to wait
 682 2013-04-29 08:31:39 execut3 has quit (Ping timeout: 276 seconds)
 683 2013-04-29 08:31:52 <jojo_> Ok why is it ok if it is my adress?
 684 2013-04-29 08:32:07 <weex> the other thing you can do is make sure the output of the transaction that went to you is used as an input to the payment that sends to another address
 685 2013-04-29 08:32:18 wrabbit has quit (Ping timeout: 276 seconds)
 686 2013-04-29 08:32:20 whiterab1it is now known as wrabbit
 687 2013-04-29 08:32:23 <weex> because the whole reason for waiting for confirmations is to protect yourself against double spending
 688 2013-04-29 08:32:43 <weex> the risk is higher the fewer confirmations you wait for
 689 2013-04-29 08:34:00 <jojo_> ok but if i have a database that keeps track of all the coins will that work to or should i still wait for the confirmationes?
 690 2013-04-29 08:34:15 whiterabbit has quit (Ping timeout: 276 seconds)
 691 2013-04-29 08:34:46 <weex> i'd wait
 692 2013-04-29 08:35:03 <weex> a db doesn't much matter if you get scammed
 693 2013-04-29 08:35:17 <weex> unless you're going to have some kind of deposit
 694 2013-04-29 08:36:49 <jojo_> Ok so then wait to be certain then? How can u get scammed with doublespend?
 695 2013-04-29 08:37:09 <jojo_> Sorry if the questions are noobish but im kinda noob toi :)
 696 2013-04-29 08:38:34 <weex> https://en.bitcoin.it/wiki/Double-spending
 697 2013-04-29 08:38:53 <weex> the wiki is quite good but feel free to ask after reading that
 698 2013-04-29 08:48:06 ielo has quit (Ping timeout: 272 seconds)
 699 2013-04-29 08:48:55 da2ce7 has quit (2!~kvirc@opentransactions/dev/da2ce7|Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
 700 2013-04-29 08:50:54 <jojo_> Read a bit now :) Thanks. One question comes to mind, with all these asic power that will be releasd, will the risk of attacks go down then. Just curious cus all the attacks seems to be done by being the biggest hascher in the world. Am i right or am totally of now? :)
 701 2013-04-29 08:51:17 rainworm has quit ()
 702 2013-04-29 08:52:12 <jojo_> on 0 conf it could be a bit unsecure either way right?
 703 2013-04-29 08:52:50 <jojo_> Just asking cus im curios now.
 704 2013-04-29 08:52:56 <weex> a higher network hashrate makes it harder to do an attack if you don't have an asic
 705 2013-04-29 08:53:05 <weex> even if you do have asics
 706 2013-04-29 08:53:16 t7 has joined
 707 2013-04-29 08:53:45 <weex> the defense for 0 confirmation is not to accept incoming connections and try to connect to well connected nodes
 708 2013-04-29 08:54:41 <jojo_> As i read there are about 47000 orders on bitforce and that hashrate should be pretty hard to get 10% of right?
 709 2013-04-29 08:54:56 paracyst has quit ()
 710 2013-04-29 08:55:45 <jojo_> what meens by incomming connections?
 711 2013-04-29 08:55:52 <weex> well it's better to just look at the network hashrate
 712 2013-04-29 08:56:09 <weex> it's 70th now? so 7th is yeah...pretty hard to get
 713 2013-04-29 08:57:02 <weex> by default a node will connect with just about any other node but you can set a config variable to disallow connections from other than a certain set of nodes
 714 2013-04-29 08:57:11 Chuky has joined
 715 2013-04-29 08:57:42 <jojo_> you meen like ipadresses in the blockchain wallet settings?
 716 2013-04-29 08:57:50 <jojo_> OR am i totally of now?
 717 2013-04-29 09:00:48 <weex> in bitcoin.conf if that's what you mean
 718 2013-04-29 09:01:03 ielo has joined
 719 2013-04-29 09:03:59 <jojo_> I was thinking of blockchain.info
 720 2013-04-29 09:04:09 <jojo_> Or should i not use that?
 721 2013-04-29 09:04:37 <jojo_> I dont want to reli on my computer at home for this service
 722 2013-04-29 09:05:53 <weex> back up, what are you really trying to do?
 723 2013-04-29 09:07:40 <jojo_> im thinging of makiong a app and home page to recieve and send money i have an idea in my head i just have to learn more to get it into a service :)
 724 2013-04-29 09:07:54 taha has joined
 725 2013-04-29 09:08:35 nomailing has quit (Quit: nomailing)
 726 2013-04-29 09:11:59 <weex> jojo_: you can use blockchain.info's api for some things but jsonrpc to bitcoind is more flexible i think
 727 2013-04-29 09:12:56 CaptainBlaze has joined
 728 2013-04-29 09:13:34 viperhr has quit (Read error: Operation timed out)
 729 2013-04-29 09:15:43 Detritus has quit (Ping timeout: 245 seconds)
 730 2013-04-29 09:16:08 execut3 has joined
 731 2013-04-29 09:16:27 <jojo_> The problem with the wallet at home is that if i turn of the computer the service will be down :)
 732 2013-04-29 09:16:40 da2ce7 has joined
 733 2013-04-29 09:17:49 qwebirc99409 has joined
 734 2013-04-29 09:19:20 Diablo-D3 has joined
 735 2013-04-29 09:20:00 shesek has quit (Ping timeout: 252 seconds)
 736 2013-04-29 09:21:44 darkskiez has quit (Read error: Connection reset by peer)
 737 2013-04-29 09:22:22 B0g4r7 has quit (Ping timeout: 276 seconds)
 738 2013-04-29 09:22:29 Detritus has joined
 739 2013-04-29 09:23:14  has joined
 740 2013-04-29 09:23:14  has quit (Clown|!~clown@static-87-79-93-140.netcologne.de|Changing host)
 741 2013-04-29 09:23:14  has joined
 742 2013-04-29 09:23:50 ThomasV has quit (Read error: Operation timed out)
 743 2013-04-29 09:27:06 B0g4r7 has joined
 744 2013-04-29 09:27:30 Detritus has quit (Ping timeout: 255 seconds)
 745 2013-04-29 09:29:09 default_ has joined
 746 2013-04-29 09:29:12 viperhr has joined
 747 2013-04-29 09:29:54 dansmith_btc has quit (Ping timeout: 272 seconds)
 748 2013-04-29 09:31:19 marr has joined
 749 2013-04-29 09:31:37 Detritus has joined
 750 2013-04-29 09:32:54 <jojo_> if i use blockchain.info wallet with api do i have to send an end or something efter i used the api cus when i used the api i can no longer make changes on the homepage i get this all the time "Error Saving Wallet: Error Decrypting Previously encrypted JSON. Not Saving Wallet."
 751 2013-04-29 09:33:46 Arnavion has quit (Ping timeout: 252 seconds)
 752 2013-04-29 09:33:47 Muis has joined
 753 2013-04-29 09:34:04 Arnavion has joined
 754 2013-04-29 09:37:14 darkskiez has joined
 755 2013-04-29 09:37:15 darkskiez has quit (Changing host)
 756 2013-04-29 09:37:15 darkskiez has joined
 757 2013-04-29 09:39:11 HM has joined
 758 2013-04-29 09:43:00 toffoo has quit ()
 759 2013-04-29 09:44:14 mappum has quit (Ping timeout: 268 seconds)
 760 2013-04-29 09:47:41 Nash has joined
 761 2013-04-29 09:49:46 darkskiez has quit (Ping timeout: 245 seconds)
 762 2013-04-29 09:51:46 Skav has joined
 763 2013-04-29 09:54:40 MobPhone has quit (Ping timeout: 264 seconds)
 764 2013-04-29 09:56:25 <sipa> jgarzik: for blockchain transactions, use getrawtransaction; gettransaction is for querying the wallet
 765 2013-04-29 09:56:43 <jgarzik> sipa: I wish we had getrawblock
 766 2013-04-29 09:56:51 hnz has quit (Ping timeout: 245 seconds)
 767 2013-04-29 09:56:51 MobPhone has joined
 768 2013-04-29 09:56:53 <Diablo-D3> why dont we?
 769 2013-04-29 09:57:12 <jgarzik> <shrug>
 770 2013-04-29 09:57:22 <Diablo-D3> we should have four methods
 771 2013-04-29 09:57:38 <Diablo-D3> getrawtransaction, putrawtransaction, getrawblock, putrawblock
 772 2013-04-29 09:57:39 <jgarzik> getrawblock is easy and works great
 773 2013-04-29 09:57:44 <jgarzik> without needing a txindex
 774 2013-04-29 09:58:12 <Diablo-D3> now ask why put
 775 2013-04-29 09:58:25 <jgarzik> or maybe getblocktransaction <blockhash> <txid>
 776 2013-04-29 09:58:44 bakingbread has quit (Ping timeout: 246 seconds)
 777 2013-04-29 09:58:46 <Diablo-D3> p2pool could make use of those to quickly push tx and blocks across the p2pool network
 778 2013-04-29 09:58:51 <Diablo-D3> thus giving us a leg up over other pools
 779 2013-04-29 09:59:18 <syskk> in which object are private keys stored?
 780 2013-04-29 09:59:20 <sipa> travolta: labels and accounts are implementation-wise the same (which just makes it even more confusing), but labels are just for recognizing addresses in your address book, and useful even if you don't use the accounting system
 781 2013-04-29 10:00:09 Skav has quit (Ping timeout: 252 seconds)
 782 2013-04-29 10:01:50 hnz has joined
 783 2013-04-29 10:02:16 darkskiez has joined
 784 2013-04-29 10:02:38 viperhr has quit (Ping timeout: 256 seconds)
 785 2013-04-29 10:03:41 Tritonio has joined
 786 2013-04-29 10:05:01 <syskk> is wallet->mapAddressBook guaranteed to conatin all my public keys?
 787 2013-04-29 10:06:40 da2ce7 has quit (2!~kvirc@opentransactions/dev/da2ce7|Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
 788 2013-04-29 10:07:23 <sipa> syskk: no
 789 2013-04-29 10:07:35 <sipa> it doesn't contain change address or pool addresses
 790 2013-04-29 10:08:02 <sipa> jgarzik: you mean just the raw bytes of the entire block?
 791 2013-04-29 10:08:45 <syskk> sipa: i want to get a list of all my private keys.. where are they stored?
 792 2013-04-29 10:08:54 <syskk> sipa: in the code i mean
 793 2013-04-29 10:09:40 <sipa> syskk: CKeyStore
 794 2013-04-29 10:09:55 <sipa> CWallet derives from it
 795 2013-04-29 10:10:17 <syskk> sipa: thanks
 796 2013-04-29 10:10:36 darkskiez has quit (Ping timeout: 245 seconds)
 797 2013-04-29 10:11:34 qwebirc99409 has quit (Quit: Page closed)
 798 2013-04-29 10:11:54 bakingbread has joined
 799 2013-04-29 10:12:46 PRab_ has joined
 800 2013-04-29 10:13:04 PRab has quit (Ping timeout: 276 seconds)
 801 2013-04-29 10:13:13 robocoin has joined
 802 2013-04-29 10:13:14 robocoin has quit (Changing host)
 803 2013-04-29 10:13:14 robocoin has joined
 804 2013-04-29 10:13:16 PRab_ is now known as PRab
 805 2013-04-29 10:13:33 <syskk> sipa: how can i retrieve the CKeyStore from wallet.cpp?
 806 2013-04-29 10:14:08 giusepp__ has joined
 807 2013-04-29 10:14:22 randy-waterhouse has joined
 808 2013-04-29 10:14:24 giusepp__ has left ()
 809 2013-04-29 10:15:47 <syskk> there is CKeyStore::GetKeys() but it requires a address argument
 810 2013-04-29 10:17:40 <sipa> syskk: eh, no
 811 2013-04-29 10:17:51 <sipa> it takes a vector to put the KeyID's in
 812 2013-04-29 10:17:56 <sipa> *set
 813 2013-04-29 10:19:05 <sipa> you can then run GetKey or GetSecret on each
 814 2013-04-29 10:19:44 PRab_ has joined
 815 2013-04-29 10:20:34 AndChat64721 has joined
 816 2013-04-29 10:21:26 <syskk> got it
 817 2013-04-29 10:21:34 PRab has quit (Ping timeout: 264 seconds)
 818 2013-04-29 10:21:36 PRab_ is now known as PRab
 819 2013-04-29 10:22:14 saulimus has quit (Quit: saulimus)
 820 2013-04-29 10:22:47 darkskiez has joined
 821 2013-04-29 10:23:45 <jgarzik> sipa: yes
 822 2013-04-29 10:23:55 jojo_ has quit (Quit: Page closed)
 823 2013-04-29 10:24:06 <sipa> jgarzik: there are several problems with getblock/getransaction/getrawtransaction imho
 824 2013-04-29 10:24:28 <jgarzik> sipa: the main use case was mentioned earlier on IRC: watching for new blocks, and scanning their entirety yourself
 825 2013-04-29 10:25:08 <sipa> there's no reason why you can't even get parsed raw transactions from the chain, even without txindex
 826 2013-04-29 10:25:37 <sipa> and there should be an equivalent to getrawtransaction, but fetching from wallet instead of mempool/chain
 827 2013-04-29 10:25:44 <jgarzik> sipa: except the lack of an RPC interface permitting one to do so, that is :)
 828 2013-04-29 10:25:50 <sipa> yes, indeed
 829 2013-04-29 10:26:06 <jgm> getrawblock would definitely be handy
 830 2013-04-29 10:26:08 <buZz> does this still work? https://github.com/sacarlson/MultiCoin
 831 2013-04-29 10:26:10 <sipa> there is a pullreq to add a block hash to getrawtransaction
 832 2013-04-29 10:26:23 <sipa> which would work, but is still a hack
 833 2013-04-29 10:27:53 <jgm> Is there any consideration of breaking bitcoind in to its various components?  Daemon/datastore/GUI/wallet is the obvious split, in which case a lot of functionality like this could be added as standalone pieces which wouldn't affect the core bitcoin process
 834 2013-04-29 10:28:04 <syskk> sipa: getting this error: error: cannot call member function 'virtual void CKeyStore::GetKeys(std::set<CKeyID, std::less<CKeyID>, std::allocator<CKeyID> >&) const' without object
 835 2013-04-29 10:28:08 <jgm> (Once the split has occurred, of course; that itself would be a big job)
 836 2013-04-29 10:28:11 <syskk> sorry i am pretty noob with C++
 837 2013-04-29 10:28:15 <jgarzik> jgm: yes, old thoughts
 838 2013-04-29 10:28:15 <sipa> syskk: you need to call it on the wallet
 839 2013-04-29 10:29:07 * sipa would first like to see the wallet split off into a SPV client
 840 2013-04-29 10:29:17 <syskk> sipa: thanks
 841 2013-04-29 10:29:23 <buZz> jgm: i'd like to see the bitcoind to be made multi-coin
 842 2013-04-29 10:29:25 <sipa> but that's not compatible with Gavin's idea of monitoring the mempool to make fee decisions
 843 2013-04-29 10:29:48 <buZz> jgm: its just so pointless to have 99% the same code running multiple times, imho
 844 2013-04-29 10:30:08 Diablo-D3 is now known as DiabloD3
 845 2013-04-29 10:30:30 <jgm> buZz: no offence meant, but given that a lot of the forks are for code-related reasons as much as philosophical reasons that seems like just degenerating into a binfest
 846 2013-04-29 10:30:56 <buZz> hmm yeah i get what you mean
 847 2013-04-29 10:30:57 <jgm> jgarzik: have those thoughts been place on the "too scary" pile or are they likely to progress?
 848 2013-04-29 10:31:41 <The_Fly> +1 for modularisation of bitcoin
 849 2013-04-29 10:31:55 <sipa> there are several changes involved here
 850 2013-04-29 10:32:06 <The_Fly> and quite breaking changes
 851 2013-04-29 10:32:07 <jgarzik> jgm: It is lots of big changes
 852 2013-04-29 10:32:12 <jgarzik> jgm: each with risk
 853 2013-04-29 10:32:16 <sipa> first of is modularization of the code - not necessarily even splitting it into several binaries or processes
 854 2013-04-29 10:32:23 <syskk> sipa: does that sound right? http://pastebin.com/kdivfqVz
 855 2013-04-29 10:32:44 <The_Fly> it is something for a major version number in the milestones perhaps
 856 2013-04-29 10:33:07 <sipa> syskk: that'll just get you key ids, but yes
 857 2013-04-29 10:33:36 <sipa> not sure if CKeyID has a ToString, but don't expect addresses to show up
 858 2013-04-29 10:34:08 TD has joined
 859 2013-04-29 10:34:11 <jgm> Yep suspect that the risk is relatively high.  Trouble is that at some stage (if not already) it's really going to hold back bitcoin development.  If, for example, adding new user-facing features to wallets is considered too dangerous due to potential side-effects to the core daemon that's not a great situation to be in
 860 2013-04-29 10:34:30 ielo has quit (Ping timeout: 272 seconds)
 861 2013-04-29 10:34:34 <sipa> jgm: i'm sure it is holding back development
 862 2013-04-29 10:34:55 <jgarzik> indeed
 863 2013-04-29 10:35:20 <jgarzik> never enough developer bandwidth to fix immediate things + all the Things That Need To Be Done
 864 2013-04-29 10:35:28 <sipa> unfortunately, modularization is not given a high priority (we're too busy with keeping up with other things...)
 865 2013-04-29 10:35:37 <The_Fly> ive got the 0mq support up to date with whats in master
 866 2013-04-29 10:35:48 <syskk> sipa: it does. its showing me a bunch of strings. what is the difference between Key ids and private keys? how do i get the private key from the key id?
 867 2013-04-29 10:35:51 <The_Fly> merge was trivial changes to thread creation/ anagement
 868 2013-04-29 10:36:01 <The_Fly> and added walletnotify 0mq message
 869 2013-04-29 10:36:02 <sipa> syskk: as i said, use GetKey or GetSecret
 870 2013-04-29 10:36:11 <syskk> sipa: ok thanks
 871 2013-04-29 10:36:14 <sipa> The_Fly: nice
 872 2013-04-29 10:36:20 <The_Fly> anyone able to help with rabbitmq? i found a 0mq/rabbitmq adapter
 873 2013-04-29 10:36:23 <jgm> Hmm... what do you reckon would be the lowest-danger/easiest-to-tackle modularization piece?  Not sure I have the time, but if I could at least take a look and work out if I have the time to tackle something
 874 2013-04-29 10:36:23 <The_Fly> sipa: ty
 875 2013-04-29 10:36:42 <sipa> jgm: testing!
 876 2013-04-29 10:36:44 one_zero has quit ()
 877 2013-04-29 10:36:48 <sipa> implementation is not a problem
 878 2013-04-29 10:36:51 Namworld has quit ()
 879 2013-04-29 10:36:54 <The_Fly> should submit a pull request for that?
 880 2013-04-29 10:36:59 <The_Fly> not urgent really
 881 2013-04-29 10:37:00 <sipa> The_Fly: for what?
 882 2013-04-29 10:37:04 <The_Fly> updated 0mq
 883 2013-04-29 10:37:15 <sipa> oh, you're not the original author?
 884 2013-04-29 10:37:19 <The_Fly> no
 885 2013-04-29 10:37:32 <sipa> well, feel free to submit a pullreq with an updated version then
 886 2013-04-29 10:37:34 <jgm> sipa: heh, any list out there of what needs testing?
 887 2013-04-29 10:37:36 <The_Fly> just his branch had not been merged and was stale
 888 2013-04-29 10:37:46 <The_Fly> ok np
 889 2013-04-29 10:37:47 <sipa> jgm: any pull request :)
 890 2013-04-29 10:38:32 <The_Fly> anyone played with https://github.com/rabbitmq/rmq-0mq/wiki ?
 891 2013-04-29 10:39:19 <jgm> sipa: there are a lot of them out there, any prioritization?  Apart from any I raise myself, of course
 892 2013-04-29 10:41:22 <sipa> jgm: those that are tagged with 0.8.2
 893 2013-04-29 10:43:25 ogoffart_ is now known as ogoffart
 894 2013-04-29 10:44:15 <jgm> will take a look and see if any fall anywhere my area of expertise
 895 2013-04-29 10:44:44 <syskk> sipa: what is the difference between getkey and getsecret?
 896 2013-04-29 10:45:00 <sipa> syskk: one gives you a CKey, the other gives you a CSecret
 897 2013-04-29 10:45:18 <sipa> CKey is more powerful, allows conversion/signing/verification, CSecret is just the raw secret
 898 2013-04-29 10:45:23 <sipa> CSecret is likely what you want here
 899 2013-04-29 10:45:38 <syskk> ok
 900 2013-04-29 10:45:47 <syskk> which one does dumpprivkey return?
 901 2013-04-29 10:45:58 <sipa> you can't show a CKey
 902 2013-04-29 10:46:02 <syskk> CSecret right?
 903 2013-04-29 10:46:05 <sipa> yes
 904 2013-04-29 10:46:19 <sipa> CKey is a wrapper around some OpenSSL functions that deal with crypto
 905 2013-04-29 10:46:38 <sipa> look at the dumpprivkey cod
 906 2013-04-29 10:46:57 <sipa> syskk: tbh, i was planning on adding a dumpwallet very soon
 907 2013-04-29 10:47:28 _flow_ has joined
 908 2013-04-29 10:47:30 unnamed has joined
 909 2013-04-29 10:47:54 unnamed is now known as Guest52093
 910 2013-04-29 10:48:44 <syskk> ok well.. im also trying to learn
 911 2013-04-29 10:49:20 <syskk> sipa: why does it show like 20+ secrets but i only actually have 2 receive addresses
 912 2013-04-29 10:49:41 <sipa> syskk: it will include 100 key pool addresses, and all your change addresses
 913 2013-04-29 10:49:52 <sipa> neither of which are visible in the GUI
 914 2013-04-29 10:50:05 <syskk> got it
 915 2013-04-29 10:50:25 <syskk> actually there's something weird… all secrets start with K or L
 916 2013-04-29 10:50:34 ralphtheninja has joined
 917 2013-04-29 10:50:41 ralphtheninja has quit (Client Quit)
 918 2013-04-29 10:50:49 ralphtheninja has joined
 919 2013-04-29 10:51:50 _flow_ has quit (Client Quit)
 920 2013-04-29 10:52:43 <syskk> also, my private keys are missing
 921 2013-04-29 10:52:44 <syskk> :(
 922 2013-04-29 10:54:00 <sipa> why is that weird?
 923 2013-04-29 10:54:18 <syskk> http://pastebin.com/wPB1uDkH
 924 2013-04-29 10:54:36 <syskk> well, my private keys aren't in there...
 925 2013-04-29 10:54:39 <sipa> looks good to me
 926 2013-04-29 10:54:54 <syskk> the ones that i can get using dumpprivkey
 927 2013-04-29 10:55:19 <sipa> sure?
 928 2013-04-29 10:56:20 <syskk> well im not using this wallet so let me pastebin the output
 929 2013-04-29 10:56:43 Guest52093 has quit (Quit: Page closed)
 930 2013-04-29 10:56:46 <sipa> try it on testnet
 931 2013-04-29 10:57:04 rbecker is now known as RBecker
 932 2013-04-29 10:57:53 <syskk> http://pastebin.com/YAdcDk7R
 933 2013-04-29 10:57:56 AndChat64721 has quit (Ping timeout: 272 seconds)
 934 2013-04-29 10:58:46 <syskk> im probably misunderstanding something
 935 2013-04-29 10:59:00 <sipa> they use a different encoding for private keys, it seems
 936 2013-04-29 10:59:02 <sipa> no idea which
 937 2013-04-29 10:59:26 <syskk> ah ok
 938 2013-04-29 10:59:52 <syskk> why are there so many private keys? are they all important?
 939 2013-04-29 11:00:05 <SomeoneWeird> keypool?
 940 2013-04-29 11:00:06 <syskk> according to blockchain.info those 2 private keys are enough to export my wallet
 941 2013-04-29 11:00:08 <sipa> do you understand the purpose of the keypool?
 942 2013-04-29 11:00:16 <syskk> no :O
 943 2013-04-29 11:00:38 <sipa> bitcoind's wallet uses new addresses continuously for privacy (every change goes to a fresh address)
 944 2013-04-29 11:00:42 marr has quit (Ping timeout: 268 seconds)
 945 2013-04-29 11:00:51 <sipa> that means that at every transaction, your wallet backups would become outdated
 946 2013-04-29 11:01:00 <sipa> so they contain 100 future keys already
 947 2013-04-29 11:01:08 <sipa> and new ones are taken from that pool
 948 2013-04-29 11:01:08 <syskk> ah ok just read the wiki
 949 2013-04-29 11:01:29 <The_Fly> this relates to my question earlier about decentralising the wallets
 950 2013-04-29 11:01:41 <The_Fly> now that i have 0mq running i'd like to give it a shot, somehow
 951 2013-04-29 11:02:02 <The_Fly> (signing transactions and passing to the daemon/p2p/database process)
 952 2013-04-29 11:02:27 <syskk> sipa: how do i find out which keys are from the key pool and which are not?
 953 2013-04-29 11:02:30 <The_Fly> i think the stumbling block last time i raised it was how to form the transaction correctly
 954 2013-04-29 11:03:10 <The_Fly> which requires you to store locally (with respect to the wallet) some information about the blockchain
 955 2013-04-29 11:03:11 <sipa> syskk: public addresses will have a corresponding entry in mapAddressBook
 956 2013-04-29 11:03:31 <sipa> The_Fly: not really - you just the need unspent outputs
 957 2013-04-29 11:03:36 <syskk> sipa: ok thanks
 958 2013-04-29 11:03:37 <sipa> which are maintained by the wallet
 959 2013-04-29 11:05:05 <The_Fly> ok, and a keypool local to the wallet right?
 960 2013-04-29 11:05:18 <The_Fly> which it can grow as necessary? (or not?)
 961 2013-04-29 11:05:18 <sipa> yes?
 962 2013-04-29 11:05:23 <sipa> yes, sure
 963 2013-04-29 11:05:31 <sipa> but what are you trying to do?
 964 2013-04-29 11:06:33 <The_Fly> multiple projects which use bitcoin, so want each to have a separate wallet on a separate box, talking to main bitcoind over 0mq
 965 2013-04-29 11:07:00 <sipa> you're implementing a wallet from scratch?
 966 2013-04-29 11:07:20 _flow_ has joined
 967 2013-04-29 11:07:31 <The_Fly> i might have to
 968 2013-04-29 11:07:55 <The_Fly> either that or use codeshark's multiple wallet support
 969 2013-04-29 11:08:23 <The_Fly> which may be an option, but is less secure
 970 2013-04-29 11:08:34 giusepp__ has joined
 971 2013-04-29 11:09:34 <The_Fly> having the private keys on very restricted machines (accessible only within the local network) seems desirable
 972 2013-04-29 11:11:59 <The_Fly> at least the externalisation of transaction signing would be something i'd like to have
 973 2013-04-29 11:12:42 <The_Fly> the main bitcoind process could still respond to wallet specific getbalance/etc queries, just move the signing
 974 2013-04-29 11:13:22 <The_Fly> i assume you only need the public keys of your addresses and the blockchain to know a wallet's balance?
 975 2013-04-29 11:13:31 <The_Fly> *calculate
 976 2013-04-29 11:15:06 CaptainBlaze has quit (Quit: CaptainBlaze)
 977 2013-04-29 11:15:34 <sipa> yes
 978 2013-04-29 11:15:53 <sipa> but you don't need the blockchain... just which outputs you can still spend
 979 2013-04-29 11:16:12 <The_Fly> i dont need the blockchain to sign, just outputs, yes...
 980 2013-04-29 11:16:19 <sipa> obviously you infer that information from the chain by monitoring new blocks, but once you have that, you don't need the chain anymore
 981 2013-04-29 11:16:33 <sipa> arguably, you don't need to *have* the chain, you just need to observe it
 982 2013-04-29 11:16:42 <The_Fly> and update state
 983 2013-04-29 11:16:58 <The_Fly> add db records (where they pertain to your wallet(s))
 984 2013-04-29 11:17:51 <The_Fly> i placed the BZmq_SendWalletTransaction within the same function that -walletnotify thread was forked
 985 2013-04-29 11:18:38 <The_Fly> so i should see all events
 986 2013-04-29 11:18:53 <The_Fly> but say i wanted to import a wallet...
 987 2013-04-29 11:19:06 <DiabloD3> hey sipa
 988 2013-04-29 11:19:07 <The_Fly> i'd have to scan the blockchain for all outputs
 989 2013-04-29 11:19:14 <DiabloD3> whats the maximum number of sends in sendmany?
 990 2013-04-29 11:20:00 <sipa> DiabloD3: no specific limit
 991 2013-04-29 11:20:07 <sipa> The_Fly: yes
 992 2013-04-29 11:20:29 <DiabloD3> sipa: so thousands would be legit?
 993 2013-04-29 11:21:36 giusep___ has joined
 994 2013-04-29 11:21:54 <sipa> DiabloD3: yes, but the transaction would become very large
 995 2013-04-29 11:22:10 <DiabloD3> it'd still be cheaper than doing individual ones, right?
 996 2013-04-29 11:22:52  has quit (Clown|!~clown@unaffiliated/clown/x-0272709|Ping timeout: 264 seconds)
 997 2013-04-29 11:23:16 marr has joined
 998 2013-04-29 11:24:04 giusepp__ has quit (Ping timeout: 264 seconds)
 999 2013-04-29 11:24:38 ielo has joined
1000 2013-04-29 11:29:09 <DiabloD3> sipa: also, how do I unlock the wallet from the rpc to do a tx?
1001 2013-04-29 11:29:48 <DiabloD3> oh, walletpassphrase
1002 2013-04-29 11:29:50 <DiabloD3> nm
1003 2013-04-29 11:29:59 <DiabloD3> I was looking at help and didnt see it at first
1004 2013-04-29 11:30:04 czaanja has joined
1005 2013-04-29 11:30:04 joe_k has quit (Ping timeout: 264 seconds)
1006 2013-04-29 11:33:06 execut3 has quit (Quit: Leaving)
1007 2013-04-29 11:33:14 shesek has joined
1008 2013-04-29 11:34:31 giusep___ has quit (Remote host closed the connection)
1009 2013-04-29 11:34:33 saulimus has joined
1010 2013-04-29 11:34:42 <The_Fly> (for now 0mq+multiwallet support will do for me, so im working on the merge for that also)
1011 2013-04-29 11:35:11 <The_Fly> then will maybe have a try at building a lightweight wallet/transaction signer
1012 2013-04-29 11:35:51  has joined
1013 2013-04-29 11:36:29 joe_k has joined
1014 2013-04-29 11:39:04 <The_Fly> and rely on a secure/offline wallet to minimise damage in case of intrusion
1015 2013-04-29 11:39:33 <buZz> DONT trust ANY 'secure' online wallet!!!
1016 2013-04-29 11:39:40 <The_Fly> thats why im doing this
1017 2013-04-29 11:40:02 <The_Fly> will keep an offline paper wallet or truecrypt usb key
1018 2013-04-29 11:40:08 <The_Fly> or both!
1019 2013-04-29 11:40:17 <buZz> nice
1020 2013-04-29 11:40:23 <The_Fly> :)
1021 2013-04-29 11:40:50 <The_Fly> i think the 0mq+multiwallet will do nicely
1022 2013-04-29 11:41:08 <The_Fly> but, im curious as to how much pentesting has been done with bitcoind
1023 2013-04-29 11:41:32 <The_Fly> are there any remote code execution, buffer overflow, etc. exploits lurking in the code
1024 2013-04-29 11:41:41 <jgm> Eek, which version of boost does bitcoin build with on the test server?  Just tried a patch and got a failure due to a missing function which AFAIK has been in there for years...
1025 2013-04-29 11:43:05 <The_Fly> i've 1.46 installed here
1026 2013-04-29 11:43:39 <DiabloD3> damnit wtf
1027 2013-04-29 11:43:44 <DiabloD3> I cannot get sendmany to work
1028 2013-04-29 11:43:48 <The_Fly> anyone able to respond to query regarding exploits?
1029 2013-04-29 11:43:51 <The_Fly> security etc.
1030 2013-04-29 11:44:12 <DiabloD3> The_Fly: most likely not.
1031 2013-04-29 11:44:28 <DiabloD3> bitcoind has been heavily tested
1032 2013-04-29 11:44:33 <The_Fly> excellent
1033 2013-04-29 11:44:40 <The_Fly> thanks
1034 2013-04-29 11:45:11 <The_Fly> i'll merge then and submit a pull request for both 0mq and 0mq+multiwallet
1035 2013-04-29 11:45:26 JDuke128 has joined
1036 2013-04-29 11:45:30 <The_Fly> the later needs a tiny bit of work to allow subscribing to individual wallets
1037 2013-04-29 11:45:55 <The_Fly> hopefully a one line patch
1038 2013-04-29 11:47:04 <alaricsp> In general, only trust open-source wallets, and even then guardedly so
1039 2013-04-29 11:47:25 <The_Fly> seems multiwallet is missing a createwallet RPC func
1040 2013-04-29 11:47:39 <alaricsp> In theory, the bitcoind devs could try and sneak in a backdoor that, when you enter your wallet passphrase, sends them all your BTC; but being open source, they'd need to be sneakier in doing so.
1041 2013-04-29 11:47:39 <The_Fly> im not sure how i'd create a new "empty" wallet.dat
1042 2013-04-29 11:48:01 <jgm> Boost 1.46 is the earliest version which defaults to filesystem version being 3, which is what the patch needs.  Guess I'll have to ifdef it then, but we must be running a pretty old version of boost
1043 2013-04-29 11:48:10 <alaricsp> Prepackaged binaries from distros could have extra patches added beyond what's in the source, too.
1044 2013-04-29 11:48:15 <DiabloD3> goddamnit, why the fuck is sendmany so broken
1045 2013-04-29 11:48:17 <sipa> jgm: we need to support fs v2 for now
1046 2013-04-29 11:48:21 <The_Fly> alaricsp: im building from source
1047 2013-04-29 11:48:22 <DiabloD3> no matter what syntax I give it, it bitches
1048 2013-04-29 11:48:28 <DiabloD3> error: value is type int, expected obj
1049 2013-04-29 11:48:33 <DiabloD3> WHAT DO YOU WANT FROM ME
1050 2013-04-29 11:48:43 <sipa> DiabloD3: what do you send?
1051 2013-04-29 11:48:45 <The_Fly> it wants to break you
1052 2013-04-29 11:48:47 <sivu> alaricsp: so you always go through the whole code of an open source project before building and running the software?
1053 2013-04-29 11:48:59 <The_Fly> i suppose you dont have to
1054 2013-04-29 11:49:17 <The_Fly> on the assumption that enough eyes are looking to spot something
1055 2013-04-29 11:49:25 <DiabloD3> sipa: Ive tried sendmany address:btc, Ive tried sendmany {address:btc}, Ive tried sendmany {"address":btc}
1056 2013-04-29 11:49:28 <DiabloD3> sipa: all same error
1057 2013-04-29 11:49:30 <alaricsp> sivu: Nope. I just hope that somebody else would have spotted something :-)
1058 2013-04-29 11:49:30 <The_Fly> and that the main devs are also trustworthy
1059 2013-04-29 11:49:36 <alaricsp> sivu: I'm not saying it would be practical to do so, for me
1060 2013-04-29 11:49:57 <sipa> DiabloD3: what's your exact command line (or RPC object you send)?
1061 2013-04-29 11:50:01 <alaricsp> sivu: But perhaps a bank or other large organisation using bitcoin might have their own trusted builds, and inspect every patch they pull down from the public repo.
1062 2013-04-29 11:50:06 <jgm> sipa: fair enough, will ifdef it and resubmit the patch
1063 2013-04-29 11:50:09 <The_Fly> surely some distro package repo has been hacked in the past to spread malicious binaries
1064 2013-04-29 11:50:13 <DiabloD3> sipa: bitcoind sendmany
1065 2013-04-29 11:50:18 <The_Fly> it could happy with bitcoind
1066 2013-04-29 11:50:23 <sipa> DiabloD3: you're not answering my question
1067 2013-04-29 11:50:28 <jgm> DiabloD3: Try '{"address1":btc,"address2":btc}'
1068 2013-04-29 11:50:34 <DiabloD3> sipa: I dont understand your question then
1069 2013-04-29 11:50:45 <DiabloD3> sipa: I wrote it on the command line verbatim
1070 2013-04-29 11:50:59 <DiabloD3> jgm: with the single quotes?
1071 2013-04-29 11:51:05 <jgm> yep
1072 2013-04-29 11:51:08 ielo has quit (Ping timeout: 272 seconds)
1073 2013-04-29 11:51:16 <jgm> you need the single quotes to stop the shell from parsing it, and the double quotes to make it valid JSON
1074 2013-04-29 11:51:33 <The_Fly> any way to create a blank wallet.dat with bitcoind?
1075 2013-04-29 11:51:44 <sipa> DiabloD3: 'bitcoind sendmany' will not do anything (it will show you the help message), and '{"address":btc}' is not a full command
1076 2013-04-29 11:52:03 <The_Fly> i suppose i could just copy from a seed wallet.dat
1077 2013-04-29 11:52:06 <DiabloD3> sipa: er, I clearly said sendmany first.
1078 2013-04-29 11:52:08 <sipa> DiabloD3: so i'll try to help you, but i'd like to see exactly what you're doing
1079 2013-04-29 11:52:14 <DiabloD3> [07:26:45] <DiabloD3> sipa: Ive tried sendmany address:btc, Ive tried sendmany {address:btc}, Ive tried sendmany {"address":btc}
1080 2013-04-29 11:52:19 <DiabloD3> thats the three I tried
1081 2013-04-29 11:52:38 <DiabloD3> sendmany '{"address":btc}' just tells me the sendmany help as an error
1082 2013-04-29 11:52:42 <sipa> DiabloD3: i'm NOT going to try to infer what you're doing from the bits and pieces you've given m
1083 2013-04-29 11:52:49 drizztbsd has joined
1084 2013-04-29 11:52:49 drizztbsd has quit (Changing host)
1085 2013-04-29 11:52:49 drizztbsd has joined
1086 2013-04-29 11:52:55 <DiabloD3> sipa: I dont understand your question then, this is what Ive wrote verbatim
1087 2013-04-29 11:53:21 <DiabloD3> that is the command I gave bitcoind
1088 2013-04-29 11:54:13 <sipa> DiabloD3: ok, first of all, you need the account to debit
1089 2013-04-29 11:54:26 <sipa> the command is sendmany <fromaccount> <amounts>
1090 2013-04-29 11:54:29 <DiabloD3> er, why isnt that optional?
1091 2013-04-29 11:54:38 <DiabloD3> I dont use accounts
1092 2013-04-29 11:54:38 <sipa> is that relevant?
1093 2013-04-29 11:54:47 <DiabloD3> yes, its relevant because sendtransaction doesnt require it
1094 2013-04-29 11:54:51 <sipa> yes, it could be optional, but it clearly isn't
1095 2013-04-29 11:54:53 <DiabloD3> which makes the API confusing
1096 2013-04-29 11:55:02 <sipa> and the help message clearly indicates this
1097 2013-04-29 11:55:04 viperhr has joined
1098 2013-04-29 11:55:24 <DiabloD3> if it clearly indicated this, I wouldnt be having this problem
1099 2013-04-29 11:55:31 marr has quit ()
1100 2013-04-29 11:55:45 <sipa> do you want to bitch about the API and its documentation, or do you want to learn to use sendmany?
1101 2013-04-29 11:55:53 <DiabloD3> OMFG.
1102 2013-04-29 11:56:22 <DiabloD3> sendmany is useless to me
1103 2013-04-29 11:56:23 daybyter has joined
1104 2013-04-29 11:56:33 <sipa> why?
1105 2013-04-29 11:56:40 <DiabloD3> error: {"code":-8,"message":"Invalid parameter, duplicated address: address"}
1106 2013-04-29 11:56:42 <buZz> http://static.seekingalpha.com/uploads/2012/4/18/saupload_corruptiondemotivator.jpg
1107 2013-04-29 11:56:46 <buZz> :DDD
1108 2013-04-29 11:57:07 <sipa> DiabloD3: known problem, and i'm in favor of fixing it
1109 2013-04-29 11:57:15 <sipa> DiabloD3: but it requires changing the API unfortunately
1110 2013-04-29 11:57:32 <sipa> (as JSON doesn't allow duplicate keys in objects)
1111 2013-04-29 11:57:43 <DiabloD3> why is it a json array anyhow
1112 2013-04-29 11:57:53 <sipa> it isn't
1113 2013-04-29 11:57:57 <sipa> it's a json object
1114 2013-04-29 11:58:01 <DiabloD3> whatever
1115 2013-04-29 11:58:06 <sirdefaced> lol
1116 2013-04-29 11:58:06 <DiabloD3> its one of those
1117 2013-04-29 11:58:10 <DiabloD3> why cant it just be a list of text
1118 2013-04-29 11:58:24 <sipa> it could be [[address,amount],[address,amount],...] for example, that would work
1119 2013-04-29 11:58:59 <DiabloD3> yes, so break the api and make it useful
1120 2013-04-29 11:59:27 <jgm> The JSON API is... nonstandard, shall we say
1121 2013-04-29 11:59:36 <sipa> yeah, it's a mess
1122 2013-04-29 11:59:36 <DiabloD3> sipa: okay so wait
1123 2013-04-29 11:59:45 <DiabloD3> why is this giving me that error anyhow?
1124 2013-04-29 11:59:46 agricocb has quit (Quit: Leaving.)
1125 2013-04-29 11:59:54 <DiabloD3> bitcoind as an rpc client should be repeating what I say
1126 2013-04-29 12:00:00 <DiabloD3> and the server should just accept it as is
1127 2013-04-29 12:00:04 Guest27349 is now known as MobGod
1128 2013-04-29 12:00:13 <jgm> DiabloD3: so did you get it working then?  I just tried ./bitcoind --test --conf=bitcoin-testnet.conf sendmany source '{"mwyMcBpFifgJVvtP2natD12STwRX1px2bK":0.001,"mz1TenD3ZSyiEZtTCLRHhBRXe7KcTUahLx":0.001}' and had no problems
1129 2013-04-29 12:00:17 MobGod has quit (Changing host)
1130 2013-04-29 12:00:17 MobGod has joined
1131 2013-04-29 12:00:26 <sipa> jgm: he wants to specify the same address twice
1132 2013-04-29 12:00:26 <DiabloD3> jgm: yes, I got it working
1133 2013-04-29 12:00:32 <DiabloD3> yes what sipa said
1134 2013-04-29 12:00:41 * alaricsp wonders why you'd want to do that
1135 2013-04-29 12:00:49 <sipa> DiabloD3: the person who implemented it, thought that it was a bad idea to support duplicate addresses
1136 2013-04-29 12:00:54 <DiabloD3> alaricsp: because of broken things like SD
1137 2013-04-29 12:00:57 <alaricsp> Perhaps if you were building something like satoshidice?
1138 2013-04-29 12:00:59 <alaricsp> Ah-hah
1139 2013-04-29 12:01:27 <DiabloD3> so wait, why the hell does SD support sendmany
1140 2013-04-29 12:01:29 <DiabloD3> if I cant sendmany
1141 2013-04-29 12:01:34 <jgm> Yep no way of doing that as valid JSON given the current format.  Why not merge the outputs prior to calling sendmany?
1142 2013-04-29 12:01:45 <DiabloD3> jgm: because of SD
1143 2013-04-29 12:02:54 <sipa> well, you can always use the raw transaction API :p
1144 2013-04-29 12:02:56 <alaricsp> SD may be running a patched bitcoind
1145 2013-04-29 12:03:04 <DiabloD3> alaricsp: that doesnt help me, now does it
1146 2013-04-29 12:03:07 <sipa> SD uses a heavily-patched BitcoinJ
1147 2013-04-29 12:03:08 <DiabloD3> I cant _send_ them a sendmany
1148 2013-04-29 12:03:14 <jgm> Okay I get it.  Although if you want to burn all your money it's friendlier to the network if you do it all with one big roll of the dice rather than lots of little ones.
1149 2013-04-29 12:03:15 <alaricsp> DiabloD3: Sadly, no...
1150 2013-04-29 12:03:28 <DiabloD3> sipa: meeeeehh, that confuses the hell out of me
1151 2013-04-29 12:03:37 <sipa> DiabloD3: understandable
1152 2013-04-29 12:03:52 <DiabloD3> all I want to do is make SD pay me lots of money
1153 2013-04-29 12:03:59 <DiabloD3> because I think I can consistently win against it
1154 2013-04-29 12:04:11 <sipa> then perhaps you need a course in statistics
1155 2013-04-29 12:04:19 <DiabloD3> no, I think the people who run SD do
1156 2013-04-29 12:04:39 <DiabloD3> Ive already been doing it, but tx fees are eating my lunch
1157 2013-04-29 12:05:28 <jgm> Patch sendmany locally then.  There's no reason that it isn't allowed in a raw transaction
1158 2013-04-29 12:05:46 <jgm> I can do it if you cut me in on the profits :)
1159 2013-04-29 12:06:01 <sipa> jgm: also on the losses?
1160 2013-04-29 12:06:39 RazielZ has joined
1161 2013-04-29 12:06:48 <jgm> Nah, I just want a cut of the winning rolls.  The losing rolls are DiabloD3's problem
1162 2013-04-29 12:07:01 <DiabloD3> hah.]
1163 2013-04-29 12:09:23 <Scrat> sipa +1, wtf you on DiabloD3
1164 2013-04-29 12:09:27 sirdefaced is now known as CopiaMarket
1165 2013-04-29 12:09:41 <DiabloD3> Scrat: what, its not unusual for people to get statistics wrong
1166 2013-04-29 12:09:45 <DiabloD3> I think SD did.
1167 2013-04-29 12:10:26 <Scrat> you can prove it wrong on my service :p
1168 2013-04-29 12:10:35 <Scrat> s/it/me/
1169 2013-04-29 12:10:35 <The_Fly> it doesn't look like it from his blog post about roll distribution
1170 2013-04-29 12:11:04 CopiaMarket is now known as SirDefaced
1171 2013-04-29 12:12:03 <The_Fly> why not change to [{address:abc, ammount:123.0}, ...]
1172 2013-04-29 12:12:12 <Scrat> sipa: how many sipa points do I get for not using the "from address" -> https://coinroll.it
1173 2013-04-29 12:14:00 <DiabloD3> Scrat: you probably do things correctly
1174 2013-04-29 12:14:08 <The_Fly> where is CodeShark
1175 2013-04-29 12:14:09 <The_Fly> hm
1176 2013-04-29 12:14:49 <sipa> Scrat: 42, obviously
1177 2013-04-29 12:16:21 <The_Fly> hm, i have bugs in his multiwallet patch
1178 2013-04-29 12:16:23 <drizztbsd> what is coinrool?
1179 2013-04-29 12:16:37 <sipa> The_Fly: feel free to report them
1180 2013-04-29 12:16:41 <The_Fly> CDB() : can't open database file wallet.dat, error -30974
1181 2013-04-29 12:17:04 <The_Fly> sipa: create issue on main bitcoin githubs?
1182 2013-04-29 12:17:22 <The_Fly> also the behaviour of loadwallet is not as described
1183 2013-04-29 12:17:28 <The_Fly> does not create new wallet
1184 2013-04-29 12:17:35 <sipa> The_Fly: no, on the pullreq page
1185 2013-04-29 12:17:41 <The_Fly> ok ty
1186 2013-04-29 12:17:57 <The_Fly> (ofc, sorry, this has not been merged yet)
1187 2013-04-29 12:18:15 * The_Fly is still waking up
1188 2013-04-29 12:20:06 <The_Fly> i can unload wallets also but not load them, will try this on a blank ~/.bitcoind and see if i can recreate
1189 2013-04-29 12:20:31 ThomasV has joined
1190 2013-04-29 12:21:28 AndChat64721 has joined
1191 2013-04-29 12:24:22 <The_Fly> ok, seems that nuking .bitcoind saved the day
1192 2013-04-29 12:24:32 <sipa> still shouldn't happen
1193 2013-04-29 12:24:40 <The_Fly> i know, but im hopping between branches
1194 2013-04-29 12:24:52 <The_Fly> yes, you're right though...
1195 2013-04-29 12:25:21 <The_Fly> im not sure what was going on there, all i have is my .bitcoin folder...
1196 2013-04-29 12:25:28 <The_Fly> not much of a useful bug report
1197 2013-04-29 12:25:56 <The_Fly> i think happened when i moved wallet.dat to another name, because i wanted bitcoind to create a new wallet for me
1198 2013-04-29 12:29:37 <The_Fly> ok cool, ive isolated it to that case
1199 2013-04-29 12:29:48 <The_Fly> bug only happens when bitcoind created a new wallet.dat on spinup
1200 2013-04-29 12:30:20 rdymac has joined
1201 2013-04-29 12:32:02 wei_ has quit (Quit: wei_)
1202 2013-04-29 12:33:30 datagutt has joined
1203 2013-04-29 12:34:38 wei_ has joined
1204 2013-04-29 12:35:15 AndChat64721 has quit (Ping timeout: 252 seconds)
1205 2013-04-29 12:35:20 randy-waterhouse has quit (Quit: Page closed)
1206 2013-04-29 12:36:58 <The_Fly> is there any convenient way to see if a transaction was failed to be confirmed at a certain depth?
1207 2013-04-29 12:37:48 <The_Fly> as far as i can tell i'd have to check that confirmations did not increase upon recepit of a new best block
1208 2013-04-29 12:38:34 <The_Fly> (or would #confirmations return to 0 when the chain is simplified?)
1209 2013-04-29 12:38:38 viperhr has quit (Ping timeout: 272 seconds)
1210 2013-04-29 12:44:53 SomeoneWeird has quit (Quit: ZNC - http://znc.in)
1211 2013-04-29 12:45:09 giusepp__ has joined
1212 2013-04-29 12:46:31 SomeoneWeird has joined
1213 2013-04-29 12:48:57 <sipa> 'simplified' ?
1214 2013-04-29 12:48:59 giusepp__ has quit (Remote host closed the connection)
1215 2013-04-29 12:50:27 SomeoneWeird has quit (Client Quit)
1216 2013-04-29 12:51:01 SomeoneWeird has joined
1217 2013-04-29 12:51:53 Bohren has joined
1218 2013-04-29 12:53:12 Bohren has quit (Client Quit)
1219 2013-04-29 12:53:26 Bohren has joined
1220 2013-04-29 12:55:16 jMyles has quit (Ping timeout: 264 seconds)
1221 2013-04-29 12:55:17 Bohren has quit (Remote host closed the connection)
1222 2013-04-29 12:57:05 rdymac has quit (Quit: This computer has gone to sleep)
1223 2013-04-29 12:58:36 <The_Fly> sipa: merged, i meant
1224 2013-04-29 13:00:02 <sipa> chains aren't merged
1225 2013-04-29 13:00:21 wei_ has quit (Quit: wei_)
1226 2013-04-29 13:02:32 <The_Fly> unless there's a fork
1227 2013-04-29 13:02:57 swulf--1 has joined
1228 2013-04-29 13:04:16 <gmaxwell> No, not ever.
1229 2013-04-29 13:04:28 swulf-- has quit (Ping timeout: 245 seconds)
1230 2013-04-29 13:05:01 Sealy has joined
1231 2013-04-29 13:05:11 <The_Fly> ah i see... "When a block becomes an orphan block, all of its valid transactions are re-added to the pool of queued transactions and will be included in another block"
1232 2013-04-29 13:05:27 stalled has quit (Ping timeout: 256 seconds)
1233 2013-04-29 13:06:21 <The_Fly> im wanting to handle fraudulent transactions
1234 2013-04-29 13:07:08 <sipa> transactions will return to confirmations=0 if reorganized
1235 2013-04-29 13:07:13 suporte85 has joined
1236 2013-04-29 13:07:32 agricocb has joined
1237 2013-04-29 13:08:22 <The_Fly> thanks
1238 2013-04-29 13:09:14 <The_Fly> and this has not, or is unlikely to happen, once confirmations >= 6?
1239 2013-04-29 13:10:32 stalled has joined
1240 2013-04-29 13:13:15 <The_Fly> related question, if orphan blocks are still stored is it possible to find all attempts at double-spending in the history of bitcoin?
1241 2013-04-29 13:15:24 arsy has joined
1242 2013-04-29 13:16:19 CaptainBlaze has joined
1243 2013-04-29 13:17:04 arsy has quit (Remote host closed the connection)
1244 2013-04-29 13:18:23 <sipa> The_Fly: you're not guaranteed to see every stale block
1245 2013-04-29 13:18:55 <sipa> as they are not relayed
1246 2013-04-29 13:19:57 jMyles has joined
1247 2013-04-29 13:24:53 BlackPrapor has quit (Ping timeout: 240 seconds)
1248 2013-04-29 13:25:04 CodesInChaos has quit (Ping timeout: 258 seconds)
1249 2013-04-29 13:25:15 n1c has joined
1250 2013-04-29 13:30:47 <The_Fly> i see, thanks, was just curious, would be interesting to get stats on how often people attempt this
1251 2013-04-29 13:33:53 <sipa> attempt?
1252 2013-04-29 13:34:00 <sipa> they happen inevitably
1253 2013-04-29 13:34:03 AndChat64721 has joined
1254 2013-04-29 13:34:18 cc_8 has joined
1255 2013-04-29 13:34:18 cc_8 is now known as alphaguru
1256 2013-04-29 13:34:24 <The_Fly> sure, orphan blocks do
1257 2013-04-29 13:34:28 <The_Fly> but double-spending attempts
1258 2013-04-29 13:34:36 enikanorov_ has quit (Read error: Connection reset by peer)
1259 2013-04-29 13:35:03 <jouke> Can I make a copy of a running .8 node data-dir to bootstrap a new node?
1260 2013-04-29 13:35:31 <sipa> jouke: in theory, yes - just copy chainstate and blocks
1261 2013-04-29 13:35:57 <sipa> the chainstate cannot be newer than the blocks dir, but they may be out of sync otherwise
1262 2013-04-29 13:38:13 enikanorov has joined
1263 2013-04-29 13:38:24 <jouke> I would like to have a node with a full transaction index.
1264 2013-04-29 13:39:03 grau has quit (Remote host closed the connection)
1265 2013-04-29 13:39:12 <sipa> ok, so set txindex=1 in your config file
1266 2013-04-29 13:39:19 Maren has quit (Quit: Leaving)
1267 2013-04-29 13:39:47 <jouke> I don't want to shut down the running node :)
1268 2013-04-29 13:39:58 <jouke> So thats why I want to make a copy.
1269 2013-04-29 13:40:21 <sipa> just copy the blocks directory then, set txindex on the new node, and do a reindex
1270 2013-04-29 13:40:36 <jouke> ok thanks
1271 2013-04-29 13:40:40 <sipa> actually, only the blocks/blk* files
1272 2013-04-29 13:40:45 <sipa> no need to copy the undo files or the index
1273 2013-04-29 13:44:13 grau has joined
1274 2013-04-29 13:45:10 grau has quit (Read error: Connection reset by peer)
1275 2013-04-29 13:45:43 michagogo has joined
1276 2013-04-29 13:47:22 <shesek> using bitcoind, can I get transactions made to a multisig address that's in my wallet, but I don't have all the keys for?
1277 2013-04-29 13:50:28 <sipa> not yet
1278 2013-04-29 13:50:40 <shesek> is there any other tool that allows you to do that?
1279 2013-04-29 13:51:01 saulimus has quit (Quit: saulimus)
1280 2013-04-29 13:51:40 <shesek> and is it planned for the official client?
1281 2013-04-29 13:51:41 kopy has joined
1282 2013-04-29 13:53:09 <kopy> fontas strategy http://www.flickr.com/photos/95336976@N04/8692748538/
1283 2013-04-29 13:53:40 Wayward has quit (Read error: Connection reset by peer)
1284 2013-04-29 13:55:52 felixhandte1 has joined
1285 2013-04-29 13:56:22 jaequery has joined
1286 2013-04-29 13:57:12 grau has joined
1287 2013-04-29 14:01:33 kopy has quit (Ping timeout: 245 seconds)
1288 2013-04-29 14:05:11 JDuke128_ has joined
1289 2013-04-29 14:06:19 malaimo has quit (Ping timeout: 268 seconds)
1290 2013-04-29 14:06:30 Chuky has quit (Quit: • IRcap • 8.71 •)
1291 2013-04-29 14:07:49 malaimo has joined
1292 2013-04-29 14:10:25 czaanja has quit (Quit: Leaving.)
1293 2013-04-29 14:12:04 rdymac has joined
1294 2013-04-29 14:13:17 Zero9 has joined
1295 2013-04-29 14:14:25 <joe_k> dude that's everybody's strategy
1296 2013-04-29 14:14:30 Haifisch has quit (Remote host closed the connection)
1297 2013-04-29 14:21:21 daybyter has quit (Remote host closed the connection)
1298 2013-04-29 14:21:24 Sleepnbum has quit (Ping timeout: 252 seconds)
1299 2013-04-29 14:23:09 daybyter has joined
1300 2013-04-29 14:23:17 syskk has quit (Quit: syskk)
1301 2013-04-29 14:25:23 gavinandresen has joined
1302 2013-04-29 14:25:23 gavinandresen has quit (Changing host)
1303 2013-04-29 14:25:23 gavinandresen has joined
1304 2013-04-29 14:26:33 Skav has joined
1305 2013-04-29 14:28:58 paracyst has joined
1306 2013-04-29 14:28:59 MobPhone has quit (Ping timeout: 252 seconds)
1307 2013-04-29 14:30:53 defunctzombie_zz is now known as defunctzombie
1308 2013-04-29 14:31:36 Skav has quit (Ping timeout: 268 seconds)
1309 2013-04-29 14:33:21 jedunnigan has joined
1310 2013-04-29 14:38:55 egis has quit (Quit: Leaving)
1311 2013-04-29 14:42:25 <The_Fly> lol
1312 2013-04-29 14:45:57 stochasm has quit (Ping timeout: 258 seconds)
1313 2013-04-29 14:47:17 daybyter has quit (Remote host closed the connection)
1314 2013-04-29 14:48:35 ThomasV has quit (Read error: Operation timed out)
1315 2013-04-29 14:49:11 topace has joined
1316 2013-04-29 14:49:31 topace has quit (Changing host)
1317 2013-04-29 14:49:32 topace has joined
1318 2013-04-29 14:50:16 daybyter has joined
1319 2013-04-29 14:52:03 Michail1 is now known as Michail1_
1320 2013-04-29 15:00:02 <sipa> opened my old wallet file again... why do people send me donations of 1 uBTC ?
1321 2013-04-29 15:00:16 taha has quit (Quit: Leaving)
1322 2013-04-29 15:00:36 <Scrat> I do that to piss people off
1323 2013-04-29 15:01:07 saulimus has joined
1324 2013-04-29 15:01:11 czaanja has joined
1325 2013-04-29 15:01:20 PhantomSpark has joined
1326 2013-04-29 15:01:38 taha has joined
1327 2013-04-29 15:02:13 defunctzombie is now known as defunctzombie_zz
1328 2013-04-29 15:02:18 viperhr has joined
1329 2013-04-29 15:02:33 john5223 has joined
1330 2013-04-29 15:03:31 <tgs3> sipa: for all your great work for community, I will be happy to consolidate your wallet into new (not dust) coins, just send it, I can do it for free :}
1331 2013-04-29 15:04:18 newbie has joined
1332 2013-04-29 15:04:42 newbie is now known as Guest36115
1333 2013-04-29 15:04:58 daybyter has quit (Quit: Konversation terminated!)
1334 2013-04-29 15:05:08 <sipa> tgs3: haha
1335 2013-04-29 15:05:12 <Belxjander> Scrat: and how do I earn your ire to get 1uBTC out of you ? :P
1336 2013-04-29 15:05:54 <tgs3> freewalletfixup dot seriousbusiness at bescammed dot gov dot ng
1337 2013-04-29 15:06:13 <_dr> honest.ru
1338 2013-04-29 15:06:20 Sebo has joined
1339 2013-04-29 15:06:21 <tgs3> freedom.us
1340 2013-04-29 15:06:27 <Scrat> bestwallet.cn
1341 2013-04-29 15:06:35 <_dr> serious.biz
1342 2013-04-29 15:06:46 <Scrat> Belxjander: quite hard to pull that off, I'm very easy going
1343 2013-04-29 15:08:10 <Sebo> Hi, do you know any bitcoind patch that would allow to add bitcoin addresses to be watched by the wallet? i.e. to add only the address but not the privete key?
1344 2013-04-29 15:10:06 Clown has joined
1345 2013-04-29 15:10:15  has quit (Clown|!~clown@unaffiliated/clown/x-0272709|Ping timeout: 260 seconds)
1346 2013-04-29 15:10:31 Clown is now known as Guest78993
1347 2013-04-29 15:10:52 <travolta> Yes Sebo
1348 2013-04-29 15:11:09 <travolta> look for CodeShark's git pull
1349 2013-04-29 15:11:10 <Belxjander> Scrat: yeah... I noticed that in the other channel :P
1350 2013-04-29 15:11:12 MobPhone has joined
1351 2013-04-29 15:11:36 <travolta> his importaddress branch
1352 2013-04-29 15:12:46 <travolta> https://github.com/bitcoin/bitcoin/pull/2121
1353 2013-04-29 15:13:26 <travolta> that one scrat ^^
1354 2013-04-29 15:13:26 <travolta> is the one
1355 2013-04-29 15:13:39 <sipa> you mean Sebo i think
1356 2013-04-29 15:13:48 <Sebo> travolta: I'll see
1357 2013-04-29 15:14:19 <travolta> sebo: ok
1358 2013-04-29 15:14:38 <travolta> I'm going to have lunch ttyl!
1359 2013-04-29 15:14:44 travolta is now known as travolta_afk
1360 2013-04-29 15:14:53 JDuke128_ has quit (Quit: Computer has gone to sleep.)
1361 2013-04-29 15:14:54 UukGoblin has quit (Ping timeout: 255 seconds)
1362 2013-04-29 15:14:58 sud3n has quit (Ping timeout: 264 seconds)
1363 2013-04-29 15:16:33 defunctzombie_zz is now known as defunctzombie
1364 2013-04-29 15:17:38 JDuke128_ has joined
1365 2013-04-29 15:21:37 Michail1_ is now known as Michail1
1366 2013-04-29 15:22:05 qwebirc6092 has joined
1367 2013-04-29 15:32:01 ThomasV has joined
1368 2013-04-29 15:32:26 DiabloD3 is now known as Diablo-D3
1369 2013-04-29 15:33:32 n1c has left ()
1370 2013-04-29 15:34:55 <shesek> I'm trying to use a two-of-three multisign, and can't get it working. can someone take a look and tell me what I'm doing wrong? the exact steps I took are here: http://pastie.org/private/k8brhriyhosl56iyg1fphw
1371 2013-04-29 15:35:30 jeewee has quit (Quit: Leaving.)
1372 2013-04-29 15:35:42 <shesek> I'm on v0.8.1.0-g34d62a8-beta
1373 2013-04-29 15:36:52 t7 has quit (Quit: Leaving)
1374 2013-04-29 15:36:57 systemParanoid has joined
1375 2013-04-29 15:38:00 qwebirc6092 has quit (Quit: Page closed)
1376 2013-04-29 15:40:48 gfinn has joined
1377 2013-04-29 15:42:00 nus- has quit (Read error: Connection reset by peer)
1378 2013-04-29 15:42:18 nus- has joined
1379 2013-04-29 15:43:22 grapevine has left ()
1380 2013-04-29 15:43:34 egis has joined
1381 2013-04-29 15:45:49 BlackPrapor has joined
1382 2013-04-29 15:47:12 slavik0329 has joined
1383 2013-04-29 15:47:48 <slavik0329> Is there any way to get unspent outputs of an address you do not know using bitcoind RPC?
1384 2013-04-29 15:48:07 Sealy has quit (Quit: Sealy)
1385 2013-04-29 15:49:44 <nsh> slavik0329, can you rephrase that / expand?
1386 2013-04-29 15:50:21 nus-- has joined
1387 2013-04-29 15:51:11 ovidiusoft has quit (Quit: leaving)
1388 2013-04-29 15:51:57 <slavik0329> nsh: The same info i can get here from any address: http://blockchain.info/unspent?address=1BZ2a763GLLBkpKsi94BMkmRfKGY5qcMQ3
1389 2013-04-29 15:52:05 <slavik0329> nsh: I want to be able to get this info myself
1390 2013-04-29 15:52:16 robocoin has quit (Ping timeout: 258 seconds)
1391 2013-04-29 15:52:41 robocoin has joined
1392 2013-04-29 15:52:42 robocoin has quit (Changing host)
1393 2013-04-29 15:52:42 robocoin has joined
1394 2013-04-29 15:53:05 <shesek> slavik0329, bitcoind only keeps track of addresses in your wallet that you have the private key for
1395 2013-04-29 15:53:09 <shesek> so you can't
1396 2013-04-29 15:53:17 <slavik0329> shesek: is there any other way?
1397 2013-04-29 15:53:18 <shesek> but I understand that its planned
1398 2013-04-29 15:53:48 nus- has quit (Ping timeout: 252 seconds)
1399 2013-04-29 15:54:15 <nsh> it's possible with a little bit of scripting, sl1982-Desktop
1400 2013-04-29 15:54:20 <nsh> * slavik0329
1401 2013-04-29 15:54:29 <nsh> see: https://bitcointalk.org/index.php?topic=117866.0
1402 2013-04-29 16:01:13 <slavik0329> nsh: that still does not provide a method for getting unspent the unspent outputs of an address not owned by me
1403 2013-04-29 16:01:16 rdymac has quit (Quit: This computer has gone to sleep)
1404 2013-04-29 16:02:54 <nsh> slavik0329, my understanding of that post was the script makes a table of all unspent outputs of transactions, regardless of address, but i only read diagonally
1405 2013-04-29 16:03:07 <nsh> i don't feel qualified to advise further and defer to someone with better knowledge
1406 2013-04-29 16:04:32 <sipa> slavik0329: see pull request 2121
1407 2013-04-29 16:04:58 rainworm has joined
1408 2013-04-29 16:05:23 <nsh> ( https://github.com/bitcoin/bitcoin/pull/2121 )
1409 2013-04-29 16:06:30 <slavik0329> sipa: oooo, very nice!
1410 2013-04-29 16:07:13 JDuke128 has quit ()
1411 2013-04-29 16:07:28 rdymac has joined
1412 2013-04-29 16:07:53 rdymac has quit (Remote host closed the connection)
1413 2013-04-29 16:08:15 rdymac has joined
1414 2013-04-29 16:08:49 <shesek> any idea about my multisign issue?
1415 2013-04-29 16:09:12 <shesek> I really want to get it working
1416 2013-04-29 16:11:48 jaequery has quit (Quit: Computer has gone to sleep.)
1417 2013-04-29 16:12:05 defunctzombie is now known as defunctzombie_zz
1418 2013-04-29 16:12:28 <The_Fly> do you have to manually enter the merge messages e.g. "Merge pull request #2564 from Diapolo/walletview" when working on the repo?
1419 2013-04-29 16:12:59 <sipa> no
1420 2013-04-29 16:13:08 <The_Fly> oh that's something github do
1421 2013-04-29 16:13:30 <The_Fly> right...
1422 2013-04-29 16:14:19 <The_Fly> nice githubs
1423 2013-04-29 16:16:23 fanquake has left ()
1424 2013-04-29 16:17:31 Diapolo has joined
1425 2013-04-29 16:18:26 nsillik has joined
1426 2013-04-29 16:19:10 normanrichards has joined
1427 2013-04-29 16:19:26 ngc0202 has joined
1428 2013-04-29 16:19:29 Luke-Jr has quit (Excess Flood)
1429 2013-04-29 16:19:51 Luke-Jr has joined
1430 2013-04-29 16:19:54 <wumpus> it's something that git does, not so much github
1431 2013-04-29 16:23:00 ColinT has joined
1432 2013-04-29 16:23:14 taha has quit (Quit: Leaving)
1433 2013-04-29 16:23:38 <ColinT> Is the UI and Bitcoin source all mashed together still?
1434 2013-04-29 16:26:07 <wumpus> nope; the ui source is in src/qt, the core source in just src
1435 2013-04-29 16:26:24 <ColinT> cool - this "json" folder - do I need that?
1436 2013-04-29 16:26:29 <wumpus> yes
1437 2013-04-29 16:26:39 <ColinT> (if I don't want the UI?)
1438 2013-04-29 16:26:52 <wumpus> especially if you don't want the ui
1439 2013-04-29 16:27:03 <ColinT> hehe
1440 2013-04-29 16:27:06 <wumpus> I suppose you want some kind of entry point? :P
1441 2013-04-29 16:27:34 <wumpus> if you strip the json stuff as well as the ui, you have an interesting node
1442 2013-04-29 16:27:44 michagogo has quit (Remote host closed the connection)
1443 2013-04-29 16:27:50 owowo has joined
1444 2013-04-29 16:27:54 <nsh> headless bitcoin
1445 2013-04-29 16:28:00 <sipa> wumpus: a block relay daemon
1446 2013-04-29 16:28:07 <sipa> not completely useless
1447 2013-04-29 16:28:09 <wumpus> block chain helper
1448 2013-04-29 16:28:11 <ColinT> The bitcoin-qt client is fully useable from the command line correct?
1449 2013-04-29 16:28:29 <sipa> it has the rpc server built-in
1450 2013-04-29 16:28:42 stalled has quit (Ping timeout: 255 seconds)
1451 2013-04-29 16:29:00 <The_Fly> wumpus: yes but merge messages locally are not what i see in github, so github must detect that you merged a branch in a fork (when you merge with a branch from another remote)
1452 2013-04-29 16:29:21 <sipa> github has lots of magic
1453 2013-04-29 16:29:30 <sipa> and cats
1454 2013-04-29 16:29:37 <The_Fly> that clever octopus
1455 2013-04-29 16:30:04 <wumpus> The_Fly: it depends on the options that you provide; by default, in the case of a "fast forward" merge you don't get a merge message, but otherwise it will generate one
1456 2013-04-29 16:30:21 bibbybob has joined
1457 2013-04-29 16:30:26 <wumpus> and if you have conflicts you even get to edit it yourself :)
1458 2013-04-29 16:31:07 <wumpus> github always generates a merge message, even on a fastforward/trivial merge
1459 2013-04-29 16:31:29 <The_Fly> ok, im merging locally
1460 2013-04-29 16:31:39 <The_Fly> and in the bitcoin repo i see all the merge messages for pull request merges
1461 2013-04-29 16:32:10 <wumpus>        --no-ff          Create a merge commit even when the merge resolves as a fast-forward.
1462 2013-04-29 16:32:12 <The_Fly> but here im just merging master into some outdated feature branches of other forks (e.g. fredan/0mq and codeshark/multiwallet)
1463 2013-04-29 16:32:26 <The_Fly> i am using --no-ff at work
1464 2013-04-29 16:32:38 <The_Fly> to force a merge message
1465 2013-04-29 16:32:42 <wumpus> yes
1466 2013-04-29 16:32:54 <The_Fly> confusion is that githubs merge message for pull requests is different than that of gits
1467 2013-04-29 16:33:10 <The_Fly> but that makes sense because they'll be doing the merge
1468 2013-04-29 16:33:23 <The_Fly> when done by the web interface
1469 2013-04-29 16:33:40 <wumpus> indeed, the web interface includes the pull request #
1470 2013-04-29 16:33:54 <The_Fly> in my case (fixing up these stale branches) am i best to merge them master, or merge master into them, or does it not matter
1471 2013-04-29 16:35:15 <wumpus> that only depends on where you want the changes
1472 2013-04-29 16:35:26 <The_Fly> i suppose it probably makes sense to merge master into, as i'll be submitting another pull request
1473 2013-04-29 16:35:50 <wumpus> may be better to use rebase in that case
1474 2013-04-29 16:36:06 <The_Fly> have been doing that so far
1475 2013-04-29 16:36:20 <wumpus> it allows you to avoid a labyrinth of merge commits
1476 2013-04-29 16:36:55 <wumpus> though it's a matter of personal taste, some people like it that way, but with bitcoin we prefer pull requests that don't contain merges themselves
1477 2013-04-29 16:37:14 ColinT has quit (Quit: Leaving...)
1478 2013-04-29 16:37:20 Xeno-Genesis has joined
1479 2013-04-29 16:37:40 <The_Fly> and what about the case where master diverges from the pull request
1480 2013-04-29 16:37:50 <The_Fly> (by a lot)
1481 2013-04-29 16:38:01 JDuke128_ has quit (Quit: Computer has gone to sleep.)
1482 2013-04-29 16:38:19 <wumpus> then you get conflicts while rebasing, which you have to resolve before you can continue
1483 2013-04-29 16:38:38 <The_Fly> sure, i know that lol
1484 2013-04-29 16:38:48 jaequery has joined
1485 2013-04-29 16:39:00 <The_Fly> the conflicts in this case were minimal
1486 2013-04-29 16:39:04 stalled has joined
1487 2013-04-29 16:39:13 <The_Fly> but many files changed in master
1488 2013-04-29 16:39:20 <The_Fly> only conflict was in init.cpp
1489 2013-04-29 16:39:39 <The_Fly> (with 0mq)
1490 2013-04-29 16:39:39 tonikt has joined
1491 2013-04-29 16:40:10 <The_Fly> however i can see codeshark's multiwallet having more conflicts
1492 2013-04-29 16:40:11 john5223 has quit (Ping timeout: 245 seconds)
1493 2013-04-29 16:40:17 <wumpus> ok
1494 2013-04-29 16:40:35 <The_Fly> tbh when i tried rebase vs merge there was no difference
1495 2013-04-29 16:40:44 <The_Fly> so im just wondering what the preference/convention is her
1496 2013-04-29 16:40:46 <tonikt> hi guys. the private key - it cannot by any random 256-bit number, can it?
1497 2013-04-29 16:40:59 paracyst has quit (Read error: Connection reset by peer)
1498 2013-04-29 16:41:02 <wumpus> yes you'll have exactly the same conflicts
1499 2013-04-29 16:41:21 <The_Fly> but history will be different?
1500 2013-04-29 16:41:27 <Diapolo> wumpus: any idea what was updated with our en-master file? I got 2 mails over the last 2 days, but no new strings were available to translate. tcatm is mentioned as last one who edited the file...
1501 2013-04-29 16:41:48 CodeShark has joined
1502 2013-04-29 16:41:49 <wumpus> yes, the history will be different, in the case of a rebase it's easier to preserve a linear-ish history
1503 2013-04-29 16:42:00 <wumpus> Diapolo: no idea I got the mails too
1504 2013-04-29 16:42:10 <The_Fly> wumpus: ok, im sold, i'll go with that
1505 2013-04-29 16:42:13 <The_Fly> thanks
1506 2013-04-29 16:42:57 <Diapolo> tcatm: any information what you updated in bitcoin_en.ts?
1507 2013-04-29 16:44:47 defunctzombie_zz is now known as defunctzombie
1508 2013-04-29 16:47:20 rowit has quit (Read error: Connection reset by peer)
1509 2013-04-29 16:47:36 Xeno-Genesis has quit (Ping timeout: 255 seconds)
1510 2013-04-29 16:49:36 Belxjander has quit (Quit: Sayonara)
1511 2013-04-29 16:49:52 tmsk has joined
1512 2013-04-29 16:51:02 Xeno-Genesis has joined
1513 2013-04-29 16:52:45 <Diapolo> wumpus: seems bitcoin_se.ts is missing now on TX but we now have bitcoin_ar.ts ;)... didn't yet diff the en file
1514 2013-04-29 16:53:17 <wumpus> hm
1515 2013-04-29 16:54:41 idstam has quit (Ping timeout: 264 seconds)
1516 2013-04-29 16:54:43 <sipa> tonikt: almost any 256-bit number
1517 2013-04-29 16:54:55 <Diapolo> wumpus: TX header: <?xml version="1.0" ?><!DOCTYPE TS><TS language="en" version="2.0"> Github header: <?xml version="1.0" encoding="utf-8"?><!DOCTYPE TS><TS version="2.0" language="en">
1518 2013-04-29 16:54:59 <Diapolo> that is the only difference
1519 2013-04-29 16:55:09 <Diapolo> but could aswell been modified by TX
1520 2013-04-29 16:55:44 <sipa> tonikt: http://bitcoin.stackexchange.com/questions/1389/how-are-public-private-keys-in-an-address-created/1715#1715
1521 2013-04-29 16:56:09 john5223 has joined
1522 2013-04-29 16:56:10 Diapolis has joined
1523 2013-04-29 16:56:24 <tonikt> thx, @sipa
1524 2013-04-29 16:56:53 <tonikt> I am writing a key generator and the last thing I need is to generate a key that would not be able to sign, later on
1525 2013-04-29 16:56:57 john5223 has quit (Max SendQ exceeded)
1526 2013-04-29 16:57:29 john5223 has joined
1527 2013-04-29 16:57:46 <tonikt> .. so after I generate a key I do a single sign + verify with it. But I do not know if one successful sign+verify is enough to be sure that the key will always work fine
1528 2013-04-29 16:58:49 taha has joined
1529 2013-04-29 16:59:36 ColinT has joined
1530 2013-04-29 17:00:12 Chuky has joined
1531 2013-04-29 17:02:33 Xeno-Genesis has quit (Ping timeout: 256 seconds)
1532 2013-04-29 17:02:35 rowit has joined
1533 2013-04-29 17:02:54 FredEE has joined
1534 2013-04-29 17:03:17 <tonikt> .. anyway, now I know what range to check for - that should do it. :)
1535 2013-04-29 17:03:56 FredEE has quit (Client Quit)
1536 2013-04-29 17:04:19 toffoo has joined
1537 2013-04-29 17:04:38 <sipa> tonikt: why would it not always work fine?
1538 2013-04-29 17:05:08 Xeno-Genesis has joined
1539 2013-04-29 17:07:56 john5223 has quit (Ping timeout: 256 seconds)
1540 2013-04-29 17:09:15 Xeno-Genesis has quit (Ping timeout: 246 seconds)
1541 2013-04-29 17:09:57 <topace> is there any way of knowing how often the keypool gets refilled? or does it generate a new address each time it uses one ?
1542 2013-04-29 17:10:07 Diapolis has quit (Remote host closed the connection)
1543 2013-04-29 17:10:16 <gmaxwell> sipa: excellent find on the FILE_SHARE_READ
1544 2013-04-29 17:10:21 <topace> basically i want to make sure my backups are frequent enough that i have all keeys in the keypool before they are used.
1545 2013-04-29 17:10:35 <Scrat> topace: does exactly what you said. getinfo gives you the pool size
1546 2013-04-29 17:11:06 <tonikt> sipa: ... yeah, I though there was something wrong with the value, but there was a bug in my verify function. :P
1547 2013-04-29 17:11:50 <topace> keypoololdest is the timestamp of the oldest unused address in the keypool?
1548 2013-04-29 17:12:11 Diapolo has quit (Read error: Connection reset by peer)
1549 2013-04-29 17:12:13 <tonikt> it would indeed be very unlikely to generate a value form outside the range.
1550 2013-04-29 17:13:21 rdymac has quit (Quit: This computer has gone to sleep)
1551 2013-04-29 17:13:37 rdymac has joined
1552 2013-04-29 17:15:29 <Diablo-D3> hey gmaxwell
1553 2013-04-29 17:15:37 <Diablo-D3> #rust isnt being useful
1554 2013-04-29 17:15:54 <Diablo-D3> can I do the "async pipe feeds dequeue and loop eats dequeue" pattern in rust?
1555 2013-04-29 17:15:59 uypp has quit (Ping timeout: 264 seconds)
1556 2013-04-29 17:15:59 rdymac has quit (Read error: Connection reset by peer)
1557 2013-04-29 17:18:12 saracen has quit (Ping timeout: 255 seconds)
1558 2013-04-29 17:18:13 new299__ is now known as new299
1559 2013-04-29 17:19:32 * nsh wishes he knew what Diablo-D3 is talking about
1560 2013-04-29 17:19:50 Thepok has quit (Ping timeout: 256 seconds)
1561 2013-04-29 17:19:58 <helo> select loop?
1562 2013-04-29 17:20:18 <Diablo-D3> nsh: its a common large scale programming technique to use async as much as possible and shove it into a dequeue on the other end
1563 2013-04-29 17:20:34 <Diablo-D3> helo: basically, if you're going to code it that way
1564 2013-04-29 17:20:41 <nsh> Diablo-D3, makes some sense
1565 2013-04-29 17:21:15 <nsh> but why deny yourself the educational experience that is threading...
1566 2013-04-29 17:21:16 <Diablo-D3> its how you're supposed to program concurrent stuff
1567 2013-04-29 17:21:20 <Diablo-D3> nsh: HELL NO
1568 2013-04-29 17:21:22 <Diablo-D3> HATE THREADS
1569 2013-04-29 17:21:33 <nsh> i figured :)
1570 2013-04-29 17:21:35 <Diablo-D3> hell, I gave the entire computer science community the benefit of the doubt
1571 2013-04-29 17:21:42 <Diablo-D3> and tried, for 3 years, to make threads efficiently work
1572 2013-04-29 17:21:45 <Diablo-D3> IT DOES NOT WORK
1573 2013-04-29 17:22:00 <Diablo-D3> I researched every method that exists on how to synchronize things
1574 2013-04-29 17:22:15 caedes has joined
1575 2013-04-29 17:22:31 saracen has joined
1576 2013-04-29 17:22:33 <nsh> everything old is new again. there are some cogent arguments i've read recently that agree with your position
1577 2013-04-29 17:22:41 <grau> Diablo-D3 : try not syncronizing but use immutable
1578 2013-04-29 17:22:55 <Diablo-D3> grau: I was already exploiting that actually
1579 2013-04-29 17:23:11 <Diablo-D3> I ended up coding a large scale STM implementation that automatically retires attempts using longjmp
1580 2013-04-29 17:23:20 <Diablo-D3> at that point I gave up and rejected threads
1581 2013-04-29 17:23:35 <Diablo-D3> (best part is, it did read only transactions concurrently, so no locking bullshit)
1582 2013-04-29 17:23:45 nsillik_ has joined
1583 2013-04-29 17:24:32 <The_Fly> oh, switch back from CodeShark/multiwallet and i get a "ERROR: VerifyDB() : *** block.ReadFromDisk failed at 69375, hash=00000000013e96e52b1f014c8e5eec24e419a80b5ab010494c4b6e10cf222e7c"
1584 2013-04-29 17:25:14 <grau> My experience is not as bad with threads. In fact I would not know how to solve complex things without them.
1585 2013-04-29 17:25:48 <The_Fly> salvagewallet?
1586 2013-04-29 17:25:56 <The_Fly> i think i'll backup first...
1587 2013-04-29 17:26:11 <Diablo-D3> grau: threads means explicit parallelism
1588 2013-04-29 17:26:15 <Diablo-D3> which is usually NOT what you want
1589 2013-04-29 17:26:23 <Diablo-D3> you want concurrent tasks that do not inherently block each other
1590 2013-04-29 17:26:40 <Diablo-D3> what people do is try to emulate that on top of threads and dont realize that they're doing that
1591 2013-04-29 17:26:44 <Diablo-D3> they think thats how its meant to be done
1592 2013-04-29 17:27:12 nsillik has quit (Ping timeout: 256 seconds)
1593 2013-04-29 17:27:12 nsillik_ is now known as nsillik
1594 2013-04-29 17:27:30 brson has joined
1595 2013-04-29 17:27:46 <grau> threads are great for concurrent tasks.
1596 2013-04-29 17:28:18 uypp has joined
1597 2013-04-29 17:28:29 <grau> I used parallel calculation too a lot.
1598 2013-04-29 17:28:35 <The_Fly> damn, -salvagewallet not helping
1599 2013-04-29 17:28:40 <Diablo-D3> threads are _bad_ for concurrent tasks
1600 2013-04-29 17:29:03 <Diablo-D3> they force you to have a unified address space
1601 2013-04-29 17:29:04 <sipa> grau: don't try arguing with Diablo-D3, it leads nowhere
1602 2013-04-29 17:29:13 seeingidog__ has joined
1603 2013-04-29 17:29:14 <grau> Diablo-D3 : I recon now.
1604 2013-04-29 17:29:25 <Diablo-D3> they also force you to use synchronization techniques that ultimately just slow your program down
1605 2013-04-29 17:29:27 <grau> Diablo-D3 : How could I miss this.
1606 2013-04-29 17:29:33 <Diablo-D3> theres also an upper limit of supporting threads
1607 2013-04-29 17:29:51 <Diablo-D3> once 16 and 24 and 32 core CPUs become the norm, threads wont be able to survive on a lot of use cases
1608 2013-04-29 17:30:21 <Diablo-D3> you don't have this problem if you use a consumer/producer type of pipeline done asynchronously
1609 2013-04-29 17:30:49 <Diablo-D3> sipa: no one is really arguing here
1610 2013-04-29 17:31:09 <Diablo-D3> grau: plus, look how NUMA machines are becoming common
1611 2013-04-29 17:31:17 <Diablo-D3> threads will destroy performance on those
1612 2013-04-29 17:31:17 <helo> having dealt with someone using threads as you describe, i like this kind of thinking
1613 2013-04-29 17:32:05 john5223 has joined
1614 2013-04-29 17:32:11 ngc0202 has quit (Ping timeout: 264 seconds)
1615 2013-04-29 17:32:23 <Diablo-D3> in C depending on your problem, it could be as simple as fork() and pipes
1616 2013-04-29 17:33:46 PhantomSpark has quit (Ping timeout: 276 seconds)
1617 2013-04-29 17:34:03 alphaguru has quit ()
1618 2013-04-29 17:36:18 ngc0202 has joined
1619 2013-04-29 17:38:58 Belxjander has joined
1620 2013-04-29 17:39:04 Belxjander has quit (Client Quit)
1621 2013-04-29 17:39:11 realazthat has quit (Disconnected by services)
1622 2013-04-29 17:39:16 yano has quit (Read error: Connection reset by peer)
1623 2013-04-29 17:39:40 Belxjander has joined
1624 2013-04-29 17:40:30 Diapolis has joined
1625 2013-04-29 17:42:05 realazthat has joined
1626 2013-04-29 17:42:11 yano has joined
1627 2013-04-29 17:42:27 nomailing has joined
1628 2013-04-29 17:43:08 Alina-malina has joined
1629 2013-04-29 17:44:21 shesek has quit (Ping timeout: 252 seconds)
1630 2013-04-29 17:45:52 eklass has quit (Quit: Nettalk6 - www.ntalk.de)
1631 2013-04-29 17:46:02 <The_Fly> hm, reindex seemed to fix that problem
1632 2013-04-29 17:46:21 <The_Fly> "ERROR: VerifyDB() : *** block.ReadFromDisk failed at 69375, hash=00000000013e96e52b1f014c8e5eec24e419a80b5ab010494c4b6e10cf222e7c"
1633 2013-04-29 17:46:47 <The_Fly> appearing when switching between orgin/master and codeshark/multiwallet
1634 2013-04-29 17:46:59 <The_Fly> some unclean shutdown somewhere perhaps?
1635 2013-04-29 17:47:37 ielo has joined
1636 2013-04-29 17:48:48 Diapolis has quit (Ping timeout: 258 seconds)
1637 2013-04-29 17:49:10 rushed has joined
1638 2013-04-29 17:49:17 drizztbsd has quit (Remote host closed the connection)
1639 2013-04-29 17:49:37 felixhandte1 has quit (Quit: Leaving.)
1640 2013-04-29 17:50:07 roconnor has joined
1641 2013-04-29 17:50:11 felixhandte1 has joined
1642 2013-04-29 17:53:14 Belxjander has quit (Remote host closed the connection)
1643 2013-04-29 17:53:23 Belxjander has joined
1644 2013-04-29 17:54:53 Steve132 has joined
1645 2013-04-29 17:55:27 jedunnigan has quit (Remote host closed the connection)
1646 2013-04-29 17:55:53 ThomasV has quit (Read error: Operation timed out)
1647 2013-04-29 17:56:25 AndChat64721 has quit (Read error: Connection reset by peer)
1648 2013-04-29 17:56:26 ColinT has quit (Quit: Linkinus - http://linkinus.com)
1649 2013-04-29 17:56:38 resinate has joined
1650 2013-04-29 17:56:56 AndChat64721 has joined
1651 2013-04-29 18:02:11 nsillik has quit (Quit: nsillik)
1652 2013-04-29 18:04:50 ColinT has joined
1653 2013-04-29 18:08:00 Sebo has quit (Ping timeout: 256 seconds)
1654 2013-04-29 18:08:13 Belxjander has quit (Remote host closed the connection)
1655 2013-04-29 18:08:20 Belxjander has joined
1656 2013-04-29 18:09:21 da2ce7_d has joined
1657 2013-04-29 18:11:43 nsillik has joined
1658 2013-04-29 18:11:53 da2ce7 has quit (Ping timeout: 256 seconds)
1659 2013-04-29 18:14:27 * helo wonders how to tell the difference between unclean shutdown effects and disk corruption
1660 2013-04-29 18:14:55 <helo> i think the aim is to make unclean shutdown effects nearly impossible, and blame everything on disk corruption
1661 2013-04-29 18:15:56 <The_Fly> heh
1662 2013-04-29 18:15:59 PhantomSpark has joined
1663 2013-04-29 18:16:06 <The_Fly> idk, it fixed itself *shrugs*
1664 2013-04-29 18:16:19 astrolabe has joined
1665 2013-04-29 18:17:10 <helo> i'd fear for your hard disk 0_o
1666 2013-04-29 18:17:49 ColinT has quit (Quit: Leaving...)
1667 2013-04-29 18:18:05 <The_Fly> ran a scan recently, no read/write errors
1668 2013-04-29 18:18:10 <The_Fly> bad sectors, etc.
1669 2013-04-29 18:19:39 <astrolabe> I had an idea for do-it-yourself escrow with bitcoins.  Would it be on topic to discuss it here?
1670 2013-04-29 18:19:45 <helo> hmmm... seems to be a choice between non-deterministic hashing of block headers by bitcoind, or hard disk problems
1671 2013-04-29 18:19:51 <Diablo-D3> half hour left on asicminer blade auction https://bitcointalk.org/index.php?topic=189248.660
1672 2013-04-29 18:22:08 tmsk has quit (Quit: tmsk)
1673 2013-04-29 18:22:28 <nsh> astrolabe, might be better to write up clearly and post somewhere then link
1674 2013-04-29 18:23:14 Belxjander has quit (Remote host closed the connection)
1675 2013-04-29 18:23:21 Belxjander has joined
1676 2013-04-29 18:23:22 <astrolabe> nsh: thanks.  Here's my attempt, but it's in newbie jail https://bitcointalk.org/index.php?topic=190895.0
1677 2013-04-29 18:23:41 * nsh smiles
1678 2013-04-29 18:24:04 petertodd has quit (Ping timeout: 258 seconds)
1679 2013-04-29 18:24:04 ahf has quit (Ping timeout: 258 seconds)
1680 2013-04-29 18:24:10 <nsh> oh, nice idea
1681 2013-04-29 18:24:19 petertodd has joined
1682 2013-04-29 18:24:22 <astrolabe> thanks
1683 2013-04-29 18:24:43 petertodd is now known as Guest63996
1684 2013-04-29 18:25:21 <nsh> agree on a random value for 'k' maybe a stumbling block
1685 2013-04-29 18:25:25 <nsh> *may be
1686 2013-04-29 18:25:27 ahf has joined
1687 2013-04-29 18:25:46 Diapolis has joined
1688 2013-04-29 18:26:02 <astrolabe> It doesn't matter if they choose 1 I think.  The problem with k comes if you use it twice with the same private key.
1689 2013-04-29 18:26:36 * nsh nods with an air that expresses his relative lack of confidence on account of personal ignorance
1690 2013-04-29 18:26:38 <astrolabe> er I'm a bit muddled on this I admit
1691 2013-04-29 18:26:52 darksk1ez has quit (Ping timeout: 245 seconds)
1692 2013-04-29 18:27:25 torsthaldo has joined
1693 2013-04-29 18:28:08 <astrolabe> Right, you aren't allowed to sign different messages with the same key, but there is no reason to do that here.
1694 2013-04-29 18:28:14 <astrolabe> *the same 'k'
1695 2013-04-29 18:28:21 ThomasV has joined
1696 2013-04-29 18:28:34 darksk1ez has joined
1697 2013-04-29 18:29:14 torsthaldo has quit (Remote host closed the connection)
1698 2013-04-29 18:29:29 torsthaldo has joined
1699 2013-04-29 18:30:46 torsthaldo has quit (Remote host closed the connection)
1700 2013-04-29 18:31:09 nsillik has quit (Quit: nsillik)
1701 2013-04-29 18:31:46 daybyter has joined
1702 2013-04-29 18:33:28 nsillik has joined
1703 2013-04-29 18:34:17 ielo has quit (Quit: Leaving)
1704 2013-04-29 18:34:34 shesek has joined
1705 2013-04-29 18:35:20 <shesek> I'm trying to use a two-of-three multisign, and can't get it working. can someone take a look and tell me what I'm doing wrong? the exact steps I took are here: http://pastie.org/private/k8brhriyhosl56iyg1fphw
1706 2013-04-29 18:35:22 rowit has quit (Ping timeout: 264 seconds)
1707 2013-04-29 18:35:33 rowit1 has joined
1708 2013-04-29 18:36:00 shesek has quit (Max SendQ exceeded)
1709 2013-04-29 18:36:40 shesek has joined
1710 2013-04-29 18:36:54 nsillik_ has joined
1711 2013-04-29 18:37:20 <shesek> (I got disconnected, not sure if it was sent or not, sorry if I'm reposting it) I'm trying to use a two-of-three multisign, and can't get it working. can someone take a look and tell me what I'm doing wrong? the exact steps I took are here: http://pastie.org/private/k8brhriyhosl56iyg1fphw
1712 2013-04-29 18:37:51 nsillik_ has quit (Remote host closed the connection)
1713 2013-04-29 18:38:14 nsillik_ has joined
1714 2013-04-29 18:38:15 Belxjander has quit (Remote host closed the connection)
1715 2013-04-29 18:38:23 Belxjander has joined
1716 2013-04-29 18:38:42 wei_ has joined
1717 2013-04-29 18:38:54 nsillik has quit (Read error: Connection reset by peer)
1718 2013-04-29 18:38:54 nsillik_ is now known as nsillik
1719 2013-04-29 18:39:04 MKCoin has quit (Quit: Leaving)
1720 2013-04-29 18:39:20 wei_ has quit (Client Quit)
1721 2013-04-29 18:40:39 sacredch1o has joined
1722 2013-04-29 18:41:18 BlackPrapor has quit (Ping timeout: 246 seconds)
1723 2013-04-29 18:41:22 sacredchao has quit (Ping timeout: 276 seconds)
1724 2013-04-29 18:44:50 LainZ has joined
1725 2013-04-29 18:46:13 taha has quit (Quit: Leaving)
1726 2013-04-29 18:46:16 jedunnigan has joined
1727 2013-04-29 18:48:19 Thepok has joined
1728 2013-04-29 18:50:02 copumpkin has quit (Ping timeout: 252 seconds)
1729 2013-04-29 18:50:06 normanrichards has quit (Quit: normanrichards)
1730 2013-04-29 18:50:43 copumpkin has joined
1731 2013-04-29 18:52:40 graingert has joined
1732 2013-04-29 18:52:41 graingert has quit (Changing host)
1733 2013-04-29 18:52:41 graingert has joined
1734 2013-04-29 18:53:13 Belxjander has quit (Remote host closed the connection)
1735 2013-04-29 18:53:21 Belxjander has joined
1736 2013-04-29 18:54:51 wei_ has joined
1737 2013-04-29 18:55:02 shesek has quit (Ping timeout: 256 seconds)
1738 2013-04-29 18:57:32 saulimus has quit (Read error: Connection reset by peer)
1739 2013-04-29 18:58:09 <The_Fly> helo: is not my disk thankfully, ive traced it down
1740 2013-04-29 18:58:17 <The_Fly> well... i've recreated it
1741 2013-04-29 18:58:32 <sipa> The_Fly: explain
1742 2013-04-29 18:58:56 <Alina-malina> msg/ sipa how are you? do you remember me, we chat ragarding altercoins while ago, remember?
1743 2013-04-29 18:59:08 <The_Fly> the wallet is intact and works fine on the bitcoin/master and fredan/0mq and codeshark/multiwallet branches
1744 2013-04-29 18:59:09 czaanja has quit (Remote host closed the connection)
1745 2013-04-29 18:59:32 <sipa> The_Fly: but what caused that error?
1746 2013-04-29 18:59:42 <The_Fly> my recent rebase of master to codeshare/multiwallet reproduces it
1747 2013-04-29 18:59:52 <The_Fly> as in, after i fixed the merge conflicts
1748 2013-04-29 18:59:53 <sipa> Alina-malina: i remember your nick
1749 2013-04-29 19:00:01 <Alina-malina> :)
1750 2013-04-29 19:00:19 idstam has joined
1751 2013-04-29 19:00:26 <The_Fly> i was pretty careful in fixing them, and they weren't too painful, so am a bit lost... but will see...
1752 2013-04-29 19:00:33 <nsh> altercoins are down, faltercoins are the new black!
1753 2013-04-29 19:00:48 <Alina-malina> nsh, what is faltercoins? sound scary
1754 2013-04-29 19:00:59 <nsh> (haltercoins have been held up due to threading problems)
1755 2013-04-29 19:01:22 <nsh> Alina-malina, it's an altcoin with an engineered deficiency that shows up roughly at 25% market penetration
1756 2013-04-29 19:01:38 <nsh> (top secretz atm though)
1757 2013-04-29 19:01:41 john5223 has quit (Read error: Operation timed out)
1758 2013-04-29 19:05:09 <Alina-malina> what is atm?
1759 2013-04-29 19:05:17 <Alina-malina> at the same time?
1760 2013-04-29 19:05:40 <nsh> "at the moment"
1761 2013-04-29 19:05:50 <nsh> (also i'm talking nonsense, if that wasn't apparent)
1762 2013-04-29 19:06:08 ovidiusoft has joined
1763 2013-04-29 19:08:07 Namworld has joined
1764 2013-04-29 19:08:13 Belxjander has quit (Remote host closed the connection)
1765 2013-04-29 19:08:20 Belxjander has joined
1766 2013-04-29 19:10:39 ColinT has joined
1767 2013-04-29 19:12:30 neo2 has joined
1768 2013-04-29 19:13:15 resinate has quit (Quit: resinate)
1769 2013-04-29 19:16:41 santoscork has joined
1770 2013-04-29 19:17:29 Guest78993 has quit (Ping timeout: 264 seconds)
1771 2013-04-29 19:18:31 <muhoo> koinecoins
1772 2013-04-29 19:19:41 iddo has quit (Changing host)
1773 2013-04-29 19:19:42 iddo has joined
1774 2013-04-29 19:20:29 ThomasV has quit (Ping timeout: 264 seconds)
1775 2013-04-29 19:20:31 rdymac has joined
1776 2013-04-29 19:23:14 Belxjander has quit (Remote host closed the connection)
1777 2013-04-29 19:23:22 Belxjander has joined
1778 2013-04-29 19:23:32 atweiden has joined
1779 2013-04-29 19:24:06 rdymac has quit (Read error: Connection reset by peer)
1780 2013-04-29 19:26:01 nsillik has quit (Quit: nsillik)
1781 2013-04-29 19:26:43 rowit1 has quit (Ping timeout: 256 seconds)
1782 2013-04-29 19:26:48 datagutt has quit (Remote host closed the connection)
1783 2013-04-29 19:27:43 rowit has joined
1784 2013-04-29 19:28:04 graingert has quit (Ping timeout: 258 seconds)
1785 2013-04-29 19:28:11 john5223 has joined
1786 2013-04-29 19:29:47 idstam has quit (Read error: Connection reset by peer)
1787 2013-04-29 19:30:22 sud3n has joined
1788 2013-04-29 19:30:48 rdymac has joined
1789 2013-04-29 19:31:04 taha has joined
1790 2013-04-29 19:31:38  has joined
1791 2013-04-29 19:31:51 rowit has quit (Ping timeout: 245 seconds)
1792 2013-04-29 19:32:25 defunctzombie is now known as defunctzombie_zz
1793 2013-04-29 19:32:29 rowit has joined
1794 2013-04-29 19:34:24 Guest56740 has joined
1795 2013-04-29 19:36:16 caedes has quit (Ping timeout: 260 seconds)
1796 2013-04-29 19:38:14 Belxjander has quit (Remote host closed the connection)
1797 2013-04-29 19:39:52 PhantomSpark has quit (Ping timeout: 276 seconds)
1798 2013-04-29 19:41:32 Belxjander has joined
1799 2013-04-29 19:43:26 tmsk has joined
1800 2013-04-29 19:43:27 Guest8394 has quit (Remote host closed the connection)
1801 2013-04-29 19:43:39 tmsk has quit (Client Quit)
1802 2013-04-29 19:43:58 tmsk has joined
1803 2013-04-29 19:43:59 kuzetsa_ has joined
1804 2013-04-29 19:44:56 default_ has quit (Ping timeout: 258 seconds)
1805 2013-04-29 19:45:28 kuzetsa_ is now known as kuzetsa
1806 2013-04-29 19:45:28 kuzetsa has quit (Changing host)
1807 2013-04-29 19:45:28 kuzetsa has joined
1808 2013-04-29 19:47:59 richcollins has joined
1809 2013-04-29 19:48:41 caedes has joined
1810 2013-04-29 19:48:59 <etotheipi_> this is a longshot, but I don't suppose you could have *two* P2SH scripts in a single TxOut script, could you?  The P2SH "trigger" only occurs on transactions that meet the special template, not each piece of the script that matches the template...?
1811 2013-04-29 19:50:28 <sipa> what would be the meaning of two P2SH scripts in one output?
1812 2013-04-29 19:50:56 <sipa> (answer is no, the entire script must match the template)
1813 2013-04-29 19:51:01 <etotheipi_> sipa: okay
1814 2013-04-29 19:51:04 <etotheipi_> I don't have a use case, just curious
1815 2013-04-29 19:51:27 <sipa> how portable is strptime() ?
1816 2013-04-29 19:52:08 <nsh> depends on whether we allow americans to play
1817 2013-04-29 19:52:32 <sipa> obviously, MSVC runtime doesn't have it
1818 2013-04-29 19:52:34 <sipa> bah
1819 2013-04-29 19:52:45 <etotheipi_> sipa: isn't it part of the C std library?
1820 2013-04-29 19:52:50 <etotheipi_> or strftime?
1821 2013-04-29 19:53:01 <sipa> which "the" standard library are you talking about?
1822 2013-04-29 19:53:11 <sipa> glibc? posix? susv? xopen?
1823 2013-04-29 19:53:14 Belxjander has quit (Remote host closed the connection)
1824 2013-04-29 19:53:21 Belxjander has joined
1825 2013-04-29 19:53:26 <sipa> the nice thing about standards is that there are so many to choose from
1826 2013-04-29 19:53:30 <nsh> STANDARDS
1827 2013-04-29 19:53:30 <nsh>      The strptime() function conforms to X/Open Portability Guide Issue 4
1828 2013-04-29 19:53:31 <nsh>      (``XPG4'').
1829 2013-04-29 19:53:35 <nsh> - http://www.daemon-systems.org/man/strptime.3.html
1830 2013-04-29 19:53:41 <etotheipi_> sipa: I meant part of the C99 standard
1831 2013-04-29 19:53:42 <nsh> so, there's that...
1832 2013-04-29 19:53:48 <etotheipi_> nm
1833 2013-04-29 19:54:02 <sipa> etotheipi_: unfortunately, we support a platform that doesn't confirm to C99 :)
1834 2013-04-29 19:54:08 <sipa> *conform
1835 2013-04-29 19:54:09 mappum has joined
1836 2013-04-29 19:54:13 <gmaxwell> etotheipi_: shouldn't use C99 as a portability benchmark, MSFT doesn't implment it except where they did so accidentally as a result of supporting C++.
1837 2013-04-29 19:54:39 <etotheipi_> gmaxwell: interesting, I thought they did
1838 2013-04-29 19:54:46 <etotheipi_> but maybe it was just accidental
1839 2013-04-29 19:54:52 <etotheipi_> (to the degree that they did)
1840 2013-04-29 19:55:06 Belkaar has quit (Ping timeout: 256 seconds)
1841 2013-04-29 19:55:40 <gmaxwell> yea. no, they only support parts of C99 that are in C++. For example, they don't support C99 variable length arrays.
1842 2013-04-29 19:57:22 Belkaar has joined
1843 2013-04-29 19:57:41 johnsoft1 has joined
1844 2013-04-29 19:58:49 johnsoft has quit (Killed (zelazny.freenode.net (Nickname regained by services)))
1845 2013-04-29 19:58:49 johnsoft1 is now known as johnsoft
1846 2013-04-29 20:00:07 rowit1 has joined
1847 2013-04-29 20:00:46 rowit has quit (Ping timeout: 256 seconds)
1848 2013-04-29 20:02:33 ThomasV has joined
1849 2013-04-29 20:02:43 intrd has joined
1850 2013-04-29 20:03:17 MKCoin has joined
1851 2013-04-29 20:04:10 rafadefine_1 has joined
1852 2013-04-29 20:04:23 <sipa> wth, is the only portable way to convert a struct tm with UTC values to a time_t: set the TZ env var to "UTC", call mktime(), and reset the TZ env var?
1853 2013-04-29 20:04:29 <sipa> which idiot came up with that?
1854 2013-04-29 20:05:03 nospinzy has joined
1855 2013-04-29 20:05:26 <nsh> that does seem somewhat byzantine
1856 2013-04-29 20:06:12 <intrd> i'm getting 401 error on authproxy.py when eloipool try to coonect on my bitcoind.. but l/s is the same of bitcoin.conf, same port, localhost allowed, all seems ok.. but i get ThreadRPCServer incorrect password attempt from ::ffff:127.0.0.1 anyone get this error?
1857 2013-04-29 20:06:59 <intrd> jgarzik can u helpme? 401 error at your authproxy.py :)
1858 2013-04-29 20:08:14 Belxjander has quit (Remote host closed the connection)
1859 2013-04-29 20:08:21 Belxjander has joined
1860 2013-04-29 20:08:51 Guest56740 has quit (Quit: Guest56740)
1861 2013-04-29 20:09:53 rid3 has quit (Ping timeout: 248 seconds)
1862 2013-04-29 20:10:08 rafadefine_1 has quit (Quit: (( WebIRC Gratuito www.webirc.com.br )) (Ping timeout))
1863 2013-04-29 20:10:18 Belxjander has quit (Remote host closed the connection)
1864 2013-04-29 20:10:27 Belxjander has joined
1865 2013-04-29 20:12:57 Michail1 is now known as Michail1_
1866 2013-04-29 20:14:08 <jouke> I can't specify a port with -rpcconnect?
1867 2013-04-29 20:14:38 resinate has joined
1868 2013-04-29 20:14:48 nsillik has joined
1869 2013-04-29 20:14:49 <topi`> I found an old box running ubuntu/maverick, any ideas whether compiling bitcoind against openssl 0.9.8 and older libboost is a good idea?
1870 2013-04-29 20:15:31 <sipa> jouke: -rpcport :)
1871 2013-04-29 20:16:38 Thepok has quit (Ping timeout: 256 seconds)
1872 2013-04-29 20:18:06 Nash has quit (Ping timeout: 245 seconds)
1873 2013-04-29 20:18:12 witwit has quit (Read error: Connection reset by peer)
1874 2013-04-29 20:18:14 witwit_ has joined
1875 2013-04-29 20:18:21 <jouke> sipa: ah. Thanks :) --help says it is for listening only.
1876 2013-04-29 20:20:39 syskk has joined
1877 2013-04-29 20:20:41 rdymac has quit (Quit: This computer has gone to sleep)
1878 2013-04-29 20:20:48 <syskk> why importing a private key is so slow?
1879 2013-04-29 20:21:30 <darksk1ez> I imagine its because it has to calculate the public key and then walk the blockchain looking for transactions for it.
1880 2013-04-29 20:21:53 <topi`> hmm, libboost 1.42 available for maverick, maybe that's good enough to compile bitcoind 0.8.x
1881 2013-04-29 20:23:14 Belxjander has quit (Remote host closed the connection)
1882 2013-04-29 20:23:22 Belxjander has joined
1883 2013-04-29 20:24:06 defunctzombie_zz is now known as defunctzombie
1884 2013-04-29 20:24:06 <nsh> that's a good point
1885 2013-04-29 20:24:48 <nsh> you could amortise that through indexing the blockchain by addresses during low loads
1886 2013-04-29 20:25:28 <syskk> can anyone confirm that this will give me all the private keys of a bitcoin wallet?
1887 2013-04-29 20:25:29 <syskk> http://pastebin.com/GZXUNH5J
1888 2013-04-29 20:28:11 daybyter has quit (Quit: Konversation terminated!)
1889 2013-04-29 20:30:23 eklass has joined
1890 2013-04-29 20:30:55 Diapolis has quit (Remote host closed the connection)
1891 2013-04-29 20:30:59 shesek has joined
1892 2013-04-29 20:31:10 Belkaar has quit (Ping timeout: 264 seconds)
1893 2013-04-29 20:31:17 <sipa> syskk: looks good to me
1894 2013-04-29 20:31:40 <syskk> im getting some errors when trying to import some keys with jsonrpc interface though
1895 2013-04-29 20:32:09 <syskk> sometimes it says invalid key and other times it says Error adding key to wallet
1896 2013-04-29 20:32:24 Belkaar has joined
1897 2013-04-29 20:32:47 <sipa> error adding key to wallet likely means it's already in there
1898 2013-04-29 20:32:53 <sipa> invalid key seems strange
1899 2013-04-29 20:33:19 <sipa> btw, use importprivkey <key> <label> false
1900 2013-04-29 20:33:23 <sipa> so it doesn't rescan
1901 2013-04-29 20:34:12 <syskk> ah ok thanks
1902 2013-04-29 20:34:25 jeewee has joined
1903 2013-04-29 20:34:42 <syskk> what if i dont want a label
1904 2013-04-29 20:34:49 <syskk> can i still specify "false" ?
1905 2013-04-29 20:35:42 <sipa> yes, use "" as label
1906 2013-04-29 20:35:44 Alina-malina has quit (Read error: Connection reset by peer)
1907 2013-04-29 20:35:46 Guest36115 has quit (Ping timeout: 276 seconds)
1908 2013-04-29 20:35:58 newbie has joined
1909 2013-04-29 20:36:01 <syskk> right haha
1910 2013-04-29 20:36:07 <syskk> wow its so much faster now
1911 2013-04-29 20:36:08 <syskk> thank god
1912 2013-04-29 20:36:20 newbie is now known as Guest7205
1913 2013-04-29 20:36:26 <syskk> now how to rescan?
1914 2013-04-29 20:36:43 <topi`> is everyone using the new openssl 1.0.x libs to compile bitcoind? I looked at the changes in libssl vs. 0.9.8o in maverick, and they're very small
1915 2013-04-29 20:37:03 <topi`> new features are cms and ts but probably not used in bitcoi
1916 2013-04-29 20:37:17 <syskk> is there a way to update my balance without restarting bitcoind?
1917 2013-04-29 20:37:34 <gmaxwell> ...
1918 2013-04-29 20:37:41 <gmaxwell> thats what the rescan that you disabled is for.
1919 2013-04-29 20:38:10 <syskk> i know… but isnt it possible to import a bunch of keys
1920 2013-04-29 20:38:13 <intrd> @gmaxwell can u help with this? i'm getting 401 error on authproxy.py when eloipool try to coonect on my bitcoind.. but l/s is the same of bitcoin.conf, same port, localhost allowed, all seems ok.. but i get ThreadRPCServer incorrect password attempt from ::ffff:127.0.0.1 anyone get this error?
1921 2013-04-29 20:38:13 <syskk> then rescan?
1922 2013-04-29 20:38:14 Belxjander has quit (Remote host closed the connection)
1923 2013-04-29 20:38:20 Belxjander has joined
1924 2013-04-29 20:39:53 <syskk> mmm ive imported a bunch of keys but my balance still shows up as 0$ :(
1925 2013-04-29 20:41:43 Diapolis has joined
1926 2013-04-29 20:42:54 <syskk> I think i must not understand something about bitcoin
1927 2013-04-29 20:43:11 <syskk> ive just imported all the private keys of my old wallet in a new wallet
1928 2013-04-29 20:43:22 <syskk> but the new wallet's balance still shows up as 0
1929 2013-04-29 20:43:44 <syskk> ive tried restarting bitcoind but it didnt update the balance
1930 2013-04-29 20:43:56 <jouke> syskk: start bitcoind with -rescan
1931 2013-04-29 20:44:07 geb has quit (Excess Flood)
1932 2013-04-29 20:44:21 _hadrian_ has joined
1933 2013-04-29 20:44:27 <sipa> syskk: are you aware of how change and change addresses work?
1934 2013-04-29 20:44:31 _hadrian_ has quit (Client Quit)
1935 2013-04-29 20:44:35 <syskk> thanks. i guess it'll take a couple of minutes?
1936 2013-04-29 20:44:40 <syskk> sipa: no
1937 2013-04-29 20:44:48 paracyst has joined
1938 2013-04-29 20:44:58 <syskk> looking up the wiki :(
1939 2013-04-29 20:45:32 grau has quit (Remote host closed the connection)
1940 2013-04-29 20:45:34 <sipa> syskk: read this first: https://en.bitcoin.it/wiki/Change
1941 2013-04-29 20:45:49 <sipa> syskk: and if you didn't rescan, the balance will be zero
1942 2013-04-29 20:45:51 geb has joined
1943 2013-04-29 20:45:51 geb has quit (Excess Flood)
1944 2013-04-29 20:46:00 <sipa> you only need to rescan once
1945 2013-04-29 20:46:51 geb has joined
1946 2013-04-29 20:46:51 geb has quit (Excess Flood)
1947 2013-04-29 20:47:31 geb has joined
1948 2013-04-29 20:47:32 geb has quit (Excess Flood)
1949 2013-04-29 20:47:35 rdponticelli has quit (Ping timeout: 272 seconds)
1950 2013-04-29 20:47:51 geb has joined
1951 2013-04-29 20:47:51 geb has quit (Excess Flood)
1952 2013-04-29 20:48:51 geb has joined
1953 2013-04-29 20:48:51 geb has quit (Excess Flood)
1954 2013-04-29 20:48:55 <syskk> sipa: thanks
1955 2013-04-29 20:49:51 geb has joined
1956 2013-04-29 20:49:51 geb has quit (Excess Flood)
1957 2013-04-29 20:50:32 <syskk> sipa: does the transaction fee proportional to how many keys you are using? meaning that if you have 100 BTC but controlled by 1000 keys.. will it be more expensive to send the 100 BTC then if all 100 BTC were controlled by only a few keys?
1958 2013-04-29 20:50:51 geb has joined
1959 2013-04-29 20:50:51 geb has quit (Excess Flood)
1960 2013-04-29 20:50:52 <sipa> keys have nothing to do with it
1961 2013-04-29 20:51:03 <sipa> the size of a transaction depends on how many input coins you need
1962 2013-04-29 20:51:31 geb has joined
1963 2013-04-29 20:51:32 geb has quit (Excess Flood)
1964 2013-04-29 20:51:35 <syskk> you mean the fee?
1965 2013-04-29 20:51:51 geb has joined
1966 2013-04-29 20:51:51 geb has quit (Excess Flood)
1967 2013-04-29 20:52:22 <topi`> if I send 10 bitcoin transactions that all cause some change to be generated, does that mean that
1968 2013-04-29 20:52:44 <topi`> out of my 100 pre-generated keys, 10 are eaten up by the payments and another 10 by the changes?
1969 2013-04-29 20:52:51 geb has joined
1970 2013-04-29 20:52:51 geb has quit (Excess Flood)
1971 2013-04-29 20:53:06 <buZz>                       |
1972 2013-04-29 20:53:06 <buZz> 22:28:11 < sipa> keys have nothing to do with it                                                              |
1973 2013-04-29 20:53:09 <topi`> this seems to mean that I really need to start backing up my wallet very regularly
1974 2013-04-29 20:53:09 <buZz> 22:28:23 < sipa> the size of a transaction depends on how many input coins you need
1975 2013-04-29 20:53:14 Belxjander has quit (Remote host closed the connection)
1976 2013-04-29 20:53:22 Belxjander has joined
1977 2013-04-29 20:53:51 geb has joined
1978 2013-04-29 20:53:51 geb has quit (Excess Flood)
1979 2013-04-29 20:53:51 rafadefine has joined
1980 2013-04-29 20:53:55 tonikt has quit (Quit: Leaving)
1981 2013-04-29 20:54:06 <topi`> i'm just worried about my wallet. it has 100 pre-generated keys so I did not back it up for a long time
1982 2013-04-29 20:54:20 <topi`> since the early backups contain exactly the same keys as the ones further down in history
1983 2013-04-29 20:54:47 <sipa> syskk: fee depends on the size of the transaction
1984 2013-04-29 20:54:51 geb has joined
1985 2013-04-29 20:54:51 geb has quit (Excess Flood)
1986 2013-04-29 20:55:00 quaz0r has quit (Read error: Operation timed out)
1987 2013-04-29 20:55:26 <sipa> topi`: one key is taken from the keypool for each transaction you create (=change) or for every new receive address you create
1988 2013-04-29 20:55:27 <helo> topi`: if you can see ten bitcoin addresses in the interface, and you've sent bitcoin ten different times, then you still have 80 addresses left before your backup will be out of date
1989 2013-04-29 20:55:39 <topi`> right
1990 2013-04-29 20:55:51 geb has joined
1991 2013-04-29 20:55:51 geb has quit (Excess Flood)
1992 2013-04-29 20:56:11 Prattler has quit (Quit: ZNC - http://znc.in)
1993 2013-04-29 20:56:51 geb has joined
1994 2013-04-29 20:56:51 geb has quit (Excess Flood)
1995 2013-04-29 20:57:51 geb has joined
1996 2013-04-29 20:57:51 geb has quit (Excess Flood)
1997 2013-04-29 20:57:52 <topi`> damn, compiling bitcoind seems to take huge amounts of ram... 512MB is barely enough
1998 2013-04-29 20:57:54 travolta_afk is now known as travolta
1999 2013-04-29 20:58:03 <topi`> I can see the swap growing
2000 2013-04-29 20:58:11 jtimon has joined
2001 2013-04-29 20:58:51 geb has joined
2002 2013-04-29 20:58:51 geb has quit (Excess Flood)
2003 2013-04-29 20:59:41 <buZz> yes, C++ is awesome in sucking up ram
2004 2013-04-29 20:59:45 <syskk> is it normal that bitcoind is still rescanning?
2005 2013-04-29 20:59:51 geb has joined
2006 2013-04-29 20:59:51 geb has quit (Excess Flood)
2007 2013-04-29 20:59:56 <buZz> takes forever syskk
2008 2013-04-29 21:00:03 <buZz> like >4 hours
2009 2013-04-29 21:00:03 caedes has quit (Ping timeout: 255 seconds)
2010 2013-04-29 21:00:05 <buZz> i think
2011 2013-04-29 21:00:21 <buZz> took at least 1 hour on litecoin already, so ..
2012 2013-04-29 21:00:21 <syskk> almost 15 mins now...
2013 2013-04-29 21:00:32 <buZz> at what block are you?
2014 2013-04-29 21:00:33 <syskk> ah ok
2015 2013-04-29 21:00:45 <buZz> you can tail -f ~/.bitcoin/debug.log
2016 2013-04-29 21:00:48 <buZz> to see the output
2017 2013-04-29 21:00:51 geb has joined
2018 2013-04-29 21:00:52 geb has quit (Excess Flood)
2019 2013-04-29 21:01:00 <sipa> buZz: that's reindexing likely
2020 2013-04-29 21:01:05 <buZz> oh right
2021 2013-04-29 21:01:06 <sipa> rescanning should only take minutes
2022 2013-04-29 21:01:09 <buZz> mirroring the blockchain
2023 2013-04-29 21:01:18 <sipa> rescanning is a wallet operation
2024 2013-04-29 21:01:25 <sipa> reindexing is rebuilding the blockchain db
2025 2013-04-29 21:01:34 <buZz> hmhm
2026 2013-04-29 21:01:48 <buZz> rescanning is going through all transactions in blockchain to see if you are featured :P
2027 2013-04-29 21:02:02 <buZz> on a slow machine that could still be a pretty long process
2028 2013-04-29 21:02:12 <syskk> i have a bunch of message like this : TxMemPool::accept() : accepted dee4c6e592 (poolsz 27)
2029 2013-04-29 21:02:25 <syskk> normal?
2030 2013-04-29 21:02:51 geb has joined
2031 2013-04-29 21:02:51 <sipa> sure
2032 2013-04-29 21:02:52 geb has quit (Excess Flood)
2033 2013-04-29 21:03:11 <syskk> poolsz 134
2034 2013-04-29 21:03:17 rid3 has joined
2035 2013-04-29 21:03:18 <syskk> is this an indication on how far i am?
2036 2013-04-29 21:03:51 geb has joined
2037 2013-04-29 21:03:51 geb has quit (Excess Flood)
2038 2013-04-29 21:04:07 witwit_ has quit (Quit: Konversation terminated!)
2039 2013-04-29 21:04:43 john5223 has quit (Quit: Leaving)
2040 2013-04-29 21:04:51 geb has joined
2041 2013-04-29 21:04:52 geb has quit (Excess Flood)
2042 2013-04-29 21:05:51 geb has joined
2043 2013-04-29 21:05:52 geb has quit (Excess Flood)
2044 2013-04-29 21:06:45 rowit1 has quit (Quit: Leaving.)
2045 2013-04-29 21:06:51 geb has joined
2046 2013-04-29 21:06:51 geb has quit (Excess Flood)
2047 2013-04-29 21:07:02 nsillik has quit (Quit: nsillik)
2048 2013-04-29 21:07:49 <sipa> no
2049 2013-04-29 21:07:51 geb has joined
2050 2013-04-29 21:07:51 geb has quit (Excess Flood)
2051 2013-04-29 21:08:16 Belxjander has quit (Remote host closed the connection)
2052 2013-04-29 21:08:24 Belxjander has joined
2053 2013-04-29 21:08:45 rdponticelli has joined
2054 2013-04-29 21:08:51 geb has joined
2055 2013-04-29 21:08:51 geb has quit (Excess Flood)
2056 2013-04-29 21:09:51 geb has joined
2057 2013-04-29 21:09:51 geb has quit (Excess Flood)
2058 2013-04-29 21:10:28 quaz0r has joined
2059 2013-04-29 21:10:51 geb has joined
2060 2013-04-29 21:10:51 geb has quit (Excess Flood)
2061 2013-04-29 21:11:51 geb has joined
2062 2013-04-29 21:11:51 geb has quit (Excess Flood)
2063 2013-04-29 21:12:17 ericy has quit (Ping timeout: 272 seconds)
2064 2013-04-29 21:12:39 copumpkin has quit (Ping timeout: 252 seconds)
2065 2013-04-29 21:12:51 geb has joined
2066 2013-04-29 21:12:51 geb has quit (Excess Flood)
2067 2013-04-29 21:13:14 rdponticelli has quit (Ping timeout: 245 seconds)
2068 2013-04-29 21:13:22 copumpkin has joined
2069 2013-04-29 21:13:45 resinate has quit (Quit: resinate)
2070 2013-04-29 21:13:51 geb has joined
2071 2013-04-29 21:13:51 geb has quit (Excess Flood)
2072 2013-04-29 21:13:56 caedes has joined
2073 2013-04-29 21:14:51 geb has joined
2074 2013-04-29 21:14:51 geb has quit (Excess Flood)
2075 2013-04-29 21:15:51 geb has joined
2076 2013-04-29 21:15:51 geb has quit (Excess Flood)
2077 2013-04-29 21:16:51 geb has joined
2078 2013-04-29 21:16:51 geb has quit (Excess Flood)
2079 2013-04-29 21:17:51 geb has joined
2080 2013-04-29 21:17:51 geb has quit (Excess Flood)
2081 2013-04-29 21:17:52 wallet42 has joined
2082 2013-04-29 21:18:23 john5223 has joined
2083 2013-04-29 21:18:51 geb has joined
2084 2013-04-29 21:18:51 geb has quit (Excess Flood)
2085 2013-04-29 21:19:31 UukGoblin has joined
2086 2013-04-29 21:19:51 geb has joined
2087 2013-04-29 21:19:51 geb has quit (Excess Flood)
2088 2013-04-29 21:20:10 rdponticelli has joined
2089 2013-04-29 21:20:23 AndChat64721 has quit (Ping timeout: 256 seconds)
2090 2013-04-29 21:20:51 geb has joined
2091 2013-04-29 21:20:51 geb has quit (Excess Flood)
2092 2013-04-29 21:21:40 _pr has joined
2093 2013-04-29 21:21:41 _pr has quit (Changing host)
2094 2013-04-29 21:21:41 _pr has joined
2095 2013-04-29 21:21:51 geb has joined
2096 2013-04-29 21:21:51 geb has quit (Excess Flood)
2097 2013-04-29 21:22:26 AndChat64721 has joined
2098 2013-04-29 21:22:51 geb has joined
2099 2013-04-29 21:22:51 geb has quit (Excess Flood)
2100 2013-04-29 21:23:15 Belxjander has quit (Remote host closed the connection)
2101 2013-04-29 21:23:23 Belxjander has joined
2102 2013-04-29 21:23:51 geb has joined
2103 2013-04-29 21:23:51 geb has quit (Excess Flood)
2104 2013-04-29 21:24:30 rdponticelli has quit (Ping timeout: 245 seconds)
2105 2013-04-29 21:24:33 <syskk> i cannot figure out how to compile for windows :(
2106 2013-04-29 21:24:51 geb has joined
2107 2013-04-29 21:24:51 geb has quit (Excess Flood)
2108 2013-04-29 21:25:51 geb has joined
2109 2013-04-29 21:25:51 geb has quit (Excess Flood)
2110 2013-04-29 21:26:31 geb has joined
2111 2013-04-29 21:26:31 geb has quit (Excess Flood)
2112 2013-04-29 21:26:51 geb has joined
2113 2013-04-29 21:26:51 geb has quit (Excess Flood)
2114 2013-04-29 21:26:56 normanrichards has joined
2115 2013-04-29 21:27:51 geb has joined
2116 2013-04-29 21:27:51 geb has quit (Excess Flood)
2117 2013-04-29 21:28:39 mollison has joined
2118 2013-04-29 21:28:51 geb has joined
2119 2013-04-29 21:28:52 geb has quit (Excess Flood)
2120 2013-04-29 21:29:15 jeewee has quit (Quit: Leaving.)
2121 2013-04-29 21:33:11 intrd has quit (Ping timeout: 272 seconds)
2122 2013-04-29 21:33:37 rdponticelli has joined
2123 2013-04-29 21:35:29 JZavala has joined
2124 2013-04-29 21:37:49 keymone has joined
2125 2013-04-29 21:37:51 intrd has joined
2126 2013-04-29 21:37:58 keymone has quit (Client Quit)
2127 2013-04-29 21:38:14 Belxjander has quit (Remote host closed the connection)
2128 2013-04-29 21:38:17 normanrichards has quit (Quit: normanrichards)
2129 2013-04-29 21:38:21 Belxjander has joined
2130 2013-04-29 21:39:31 fishfish has joined
2131 2013-04-29 21:39:47 caedes has quit (Ping timeout: 245 seconds)
2132 2013-04-29 21:40:05 <john5223> /quit
2133 2013-04-29 21:40:32 <fishfish> Good evening! fishfish question of the night: is the QR code that displays a bitcoin public address any different, or special from any other QR? reason I ask is that I want to have my web app (in node.js) return a QR code. Thank you!
2134 2013-04-29 21:40:58 <sipa> is what way would it be different/
2135 2013-04-29 21:41:06 <sipa> it's just a QR code with an address
2136 2013-04-29 21:41:17 <The_Fly> < Diablo-D3> once 16 and 24 and 32 core CPUs become the norm, threads wont be able to survive on a lot of use cases
2137 2013-04-29 21:41:19 <fishfish> gotcha. So any qr generator will do. Happy days!
2138 2013-04-29 21:41:20 <The_Fly> < Diablo-D3> you don't have this problem if you use a consumer/producer type of pipeline done asynchronously
2139 2013-04-29 21:41:22 <fishfish> thank you sipa.
2140 2013-04-29 21:41:28 <jchp> fishfish: it will probably be an address using "bitcoin:" as part of the URI. more info: https://en.bitcoin.it/wiki/BIP_0021
2141 2013-04-29 21:42:09 <fishfish> thank you jchp.
2142 2013-04-29 21:42:12 <The_Fly> Diapolis: so we should split up bitcoind and compose it of several 0mq nodes? ;)
2143 2013-04-29 21:42:23 <The_Fly> *Diablo-D3
2144 2013-04-29 21:43:22 <The_Fly> btw i just completed the merge of codeshark/multiwallet into bitcoin/master
2145 2013-04-29 21:43:25 <The_Fly> runs fine
2146 2013-04-29 21:43:56 <The_Fly> except... that on shutdown I see a bitcoind: /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:46: boost::condition_variable::~condition_variable(): Assertion `!pthread_mutex_destroy(&internal_mutex)' failed.
2147 2013-04-29 21:44:02 <The_Fly> so I'm trying to track that down
2148 2013-04-29 21:44:17 <The_Fly> then should be able to merge 0mq+multiwallet
2149 2013-04-29 21:44:26 <The_Fly> so one can subscribe to wallet.walletname
2150 2013-04-29 21:44:33 <The_Fly> etc
2151 2013-04-29 21:44:39 caedes has joined
2152 2013-04-29 21:45:07 saracen has quit (Ping timeout: 268 seconds)
2153 2013-04-29 21:45:53 <sipa> The_Fly: yeah, i've seen that problem too
2154 2013-04-29 21:45:57 <The_Fly> if anyone has any debugging tips on how to track this boost error i'd appreciate it
2155 2013-04-29 21:46:01 <The_Fly> oh, you have?
2156 2013-04-29 21:46:10 <The_Fly> i could gdb and see... no?
2157 2013-04-29 21:46:26 <sipa> it'd be helpful to see which thread that's in
2158 2013-04-29 21:46:33 <The_Fly> a trace would be good wouldn't it
2159 2013-04-29 21:46:43 <The_Fly> would gdb give me a trace?
2160 2013-04-29 21:46:51 Diapolis has quit (Remote host closed the connection)
2161 2013-04-29 21:47:04 <The_Fly> are we preserving debugging symbols
2162 2013-04-29 21:48:27 defunctzombie is now known as defunctzombie_zz
2163 2013-04-29 21:48:57 <sipa> if you don't strip them
2164 2013-04-29 21:49:06 <sipa> release builds are stipped, i think
2165 2013-04-29 21:49:26 <The_Fly> i'll look in the docs to see how to do a debug build
2166 2013-04-29 21:49:33 <The_Fly> is this fairly low priority?
2167 2013-04-29 21:49:41 <sipa> no, it has to be fixed before 0.8.2
2168 2013-04-29 21:49:50 <The_Fly> ok
2169 2013-04-29 21:50:00 <The_Fly> can you tell me, the destructor on ~CWallet
2170 2013-04-29 21:50:08 <The_Fly> i guess with the switch to CWalletManager
2171 2013-04-29 21:50:15 <The_Fly> the destructor is useless
2172 2013-04-29 21:50:18 <The_Fly> and can go
2173 2013-04-29 21:50:25 <The_Fly> right?
2174 2013-04-29 21:50:39 saracen has joined
2175 2013-04-29 21:50:49 <sipa> no idea, talk to CodeShark
2176 2013-04-29 21:50:54 <syskk> any chance ill be able to build bitcoin for windows on my macbook air (virtualbox+ubuntu+lxc)?
2177 2013-04-29 21:52:50 <sipa> syskk: it's hard to build for windows, but this person described how he did it: https://bitcointalk.org/index.php?topic=149479.0
2178 2013-04-29 21:53:04 <sipa> or you mean gitian?
2179 2013-04-29 21:53:13 <sipa> gitian is nice if it works, but it takes some time to set up
2180 2013-04-29 21:53:13 Belxjander has quit (Remote host closed the connection)
2181 2013-04-29 21:53:22 Belxjander has joined
2182 2013-04-29 21:53:31 gmatteson has quit (Quit: ~ Trillian - www.trillian.im ~)
2183 2013-04-29 21:53:56 <syskk> sipa: thanks a lot
2184 2013-04-29 21:54:11 <syskk> sipa: yeah, im trying to go gitian way for now but not much success.. always errors
2185 2013-04-29 21:57:43 <ahf> the bnProofOfWorkLimit constant in src/main.cpp is used to represent the maximum target, right?
2186 2013-04-29 21:57:55 <sipa> ahf: correct
2187 2013-04-29 21:58:36 <ahf> with the current implementation (~uint256(0) >> 32) the note on this page: https://en.bitcoin.it/wiki/Target about Bitcoin storing the target as a float and thus truncates it, is incorrect, right?
2188 2013-04-29 21:59:23 <sipa> it is correct
2189 2013-04-29 21:59:48 <sipa> the target is compressed to a custom 32-bit floating point format
2190 2013-04-29 22:00:00 <ahf> the compact format?
2191 2013-04-29 22:00:08 <syskk> gitian is stuck at "grabbing package manifest" is it a good or bad sign?
2192 2013-04-29 22:00:10 <sipa> yes?
2193 2013-04-29 22:00:14 <ahf> so the actual check happens against 0x00000000FFFF0000000000000000000000000000000000000000000000000000 and not 0x00000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
2194 2013-04-29 22:00:15 <sipa> syskk: sounds bad
2195 2013-04-29 22:00:15 whiterabbit has joined
2196 2013-04-29 22:00:21 <ahf> cool, i was just curious how to get this code right
2197 2013-04-29 22:00:23 <ahf> thanks again sipa
2198 2013-04-29 22:00:25 <sipa> ahf: indeed
2199 2013-04-29 22:01:09 <The_Fly> ok, because we have ThreadFlushWalletDB we can get rid of the ~CWallet(), if a wallet is UnregisterWallet'd it will have a zero refcount and have its dbfile flushed
2200 2013-04-29 22:01:13 <syskk> oh well, restarted the script now :(
2201 2013-04-29 22:01:52 <syskk> im getting this now : sudo: unable to resolve host my-hostname-here
2202 2013-04-29 22:02:11 <syskk> and back at Grabbing package manifest… :(
2203 2013-04-29 22:02:36 <syskk> ah interesting, now this step only took a few seconds
2204 2013-04-29 22:02:48 <syskk> im at Running build script (log in var/build.log)
2205 2013-04-29 22:03:31 wrabbit has quit (Ping timeout: 276 seconds)
2206 2013-04-29 22:03:32 whiterabbit is now known as wrabbit
2207 2013-04-29 22:03:44 zylche has joined
2208 2013-04-29 22:04:43 nsillik has joined
2209 2013-04-29 22:05:29 ovidiusoft has quit (Ping timeout: 264 seconds)
2210 2013-04-29 22:06:22 <syskk> looks like its building now
2211 2013-04-29 22:06:41 zylche_ has quit (Ping timeout: 264 seconds)
2212 2013-04-29 22:07:43 <The_Fly> DEBUGFLAGS=-g after make, then see what gdb says
2213 2013-04-29 22:07:58 taha has quit (Quit: Leaving)
2214 2013-04-29 22:08:14 Belxjander has quit (Remote host closed the connection)
2215 2013-04-29 22:08:21 Belxjander has joined
2216 2013-04-29 22:08:26 <The_Fly> should be easy enough to get a stacktrace on that assertion
2217 2013-04-29 22:09:22 john5223 has quit (Quit: ZNC - http://znc.in)
2218 2013-04-29 22:09:26 santoscork_ has joined
2219 2013-04-29 22:09:45 john5223 has joined
2220 2013-04-29 22:11:12 santoscork has quit (Ping timeout: 264 seconds)
2221 2013-04-29 22:11:12 santoscork_ is now known as santoscork
2222 2013-04-29 22:11:17 john5223 has quit (Client Quit)
2223 2013-04-29 22:11:48 <The_Fly> seems to only happen when you stop bitcoind during block processing
2224 2013-04-29 22:12:00 ThomasV has quit (Ping timeout: 246 seconds)
2225 2013-04-29 22:12:04 john5223 has joined
2226 2013-04-29 22:15:04 <The_Fly> Program received signal SIGSEGV, Segmentation fault.
2227 2013-04-29 22:15:04 <The_Fly> CreateNewBlock (reservekey=...) at main.cpp:4438
2228 2013-04-29 22:15:21 <The_Fly> that's one of the testcases throwing the assertion reliably
2229 2013-04-29 22:15:21 whiterabbit has joined
2230 2013-04-29 22:15:36 <The_Fly> i shall try to remedy
2231 2013-04-29 22:17:48 JZavala has quit (Ping timeout: 264 seconds)
2232 2013-04-29 22:18:28 wrabbit has quit (Ping timeout: 276 seconds)
2233 2013-04-29 22:18:30 whiterabbit is now known as wrabbit
2234 2013-04-29 22:18:34 milone has quit (Ping timeout: 240 seconds)
2235 2013-04-29 22:18:57 milone has joined
2236 2013-04-29 22:19:26 john5223 has quit (Quit: ZNC - http://znc.in)
2237 2013-04-29 22:19:47 john5223 has joined
2238 2013-04-29 22:20:13 whiterab1it has joined
2239 2013-04-29 22:21:12 whiterab2it has joined
2240 2013-04-29 22:21:45 Sealy has joined
2241 2013-04-29 22:23:13 Belxjander has quit (Remote host closed the connection)
2242 2013-04-29 22:23:17 whiterab3it has joined
2243 2013-04-29 22:23:29 Diapolis has joined
2244 2013-04-29 22:23:40 wrabbit has quit (Ping timeout: 276 seconds)
2245 2013-04-29 22:23:45 whiterab3it is now known as wrabbit
2246 2013-04-29 22:24:05 jMyles has quit (Ping timeout: 264 seconds)
2247 2013-04-29 22:24:40 nizeguy has joined
2248 2013-04-29 22:24:58 whiterab1it has quit (Ping timeout: 276 seconds)
2249 2013-04-29 22:25:37 nsillik_ has joined
2250 2013-04-29 22:26:27 JZavala has joined
2251 2013-04-29 22:26:31 Belxjander has joined
2252 2013-04-29 22:27:34 whiterab2it has quit (Ping timeout: 276 seconds)
2253 2013-04-29 22:27:39 sud3n has quit (Ping timeout: 272 seconds)
2254 2013-04-29 22:28:57 nsillik has quit (Ping timeout: 256 seconds)
2255 2013-04-29 22:29:13 jMyles has joined
2256 2013-04-29 22:30:22 nsillik_ has quit (Ping timeout: 252 seconds)
2257 2013-04-29 22:32:16 rdymac has joined
2258 2013-04-29 22:35:48 whiterabbit has joined
2259 2013-04-29 22:36:47 ThomasV has joined
2260 2013-04-29 22:37:19 wrabbit has quit (Ping timeout: 276 seconds)
2261 2013-04-29 22:37:23 whiterabbit is now known as wrabbit
2262 2013-04-29 22:38:14 Belxjander has quit (Remote host closed the connection)
2263 2013-04-29 22:38:22 Belxjander has joined
2264 2013-04-29 22:42:29 graingert has joined
2265 2013-04-29 22:42:29 graingert has quit (Changing host)
2266 2013-04-29 22:42:29 graingert has joined
2267 2013-04-29 22:43:07 dvide has quit ()
2268 2013-04-29 22:44:01 wallet42 has quit (Quit: Leaving.)
2269 2013-04-29 22:45:41 stalled has quit (Ping timeout: 264 seconds)
2270 2013-04-29 22:47:32 santoscork has quit (Quit: Auto logout …)
2271 2013-04-29 22:47:57 paraipan has joined
2272 2013-04-29 22:50:47 roconnor has quit (Remote host closed the connection)
2273 2013-04-29 22:52:00 ThomasV has quit (Ping timeout: 264 seconds)
2274 2013-04-29 22:53:14 Belxjander has quit (Remote host closed the connection)
2275 2013-04-29 22:53:21 Belxjander has joined
2276 2013-04-29 22:54:10 ThomasV has joined
2277 2013-04-29 22:54:49 nomailing has quit (Ping timeout: 255 seconds)
2278 2013-04-29 22:55:13 Sealy has quit (Quit: Sealy)
2279 2013-04-29 22:57:00 nomailing has joined
2280 2013-04-29 22:57:16 knotwork has quit (Read error: Connection timed out)
2281 2013-04-29 22:57:41 brwyatt is now known as Away!~brwyatt@brwyatt.net|brwyatt
2282 2013-04-29 22:58:15 Belxjander has quit (Quit: Cellphone IRC... the worst kind...)
2283 2013-04-29 22:58:20 impulse has joined
2284 2013-04-29 22:58:43 stalled has joined
2285 2013-04-29 23:00:23 neo2 has quit (Quit: Leaving)
2286 2013-04-29 23:03:39 agricocb has quit (Quit: Leaving.)
2287 2013-04-29 23:05:32 knotwork has joined
2288 2013-04-29 23:07:44 knotwork has quit (Max SendQ exceeded)
2289 2013-04-29 23:08:41 resinate has joined
2290 2013-04-29 23:10:38 knotwork has joined
2291 2013-04-29 23:10:38 knotwork has quit (Changing host)
2292 2013-04-29 23:10:38 knotwork has joined
2293 2013-04-29 23:11:45 Prattler has joined
2294 2013-04-29 23:13:51 tmsk has quit (Quit: tmsk)
2295 2013-04-29 23:17:02 PhantomSpark has joined
2296 2013-04-29 23:17:24 ThomasV has quit (Ping timeout: 256 seconds)
2297 2013-04-29 23:21:01 bibbybob has quit (Quit: Leaving)
2298 2013-04-29 23:21:45 agricocb has joined
2299 2013-04-29 23:24:41 rushed has quit (Quit: rushed)
2300 2013-04-29 23:25:23 rushed has joined
2301 2013-04-29 23:26:26 Belxjander has joined
2302 2013-04-29 23:27:21 Diapolis has quit (Remote host closed the connection)
2303 2013-04-29 23:27:52 melvster1 has quit (Quit: Leaving.)
2304 2013-04-29 23:28:20 wei_ has quit (Quit: wei_)
2305 2013-04-29 23:29:04 <The_Fly> i should be able to stop a bitcoind during initialdownload right???
2306 2013-04-29 23:29:50 <sipa> yes
2307 2013-04-29 23:29:56 <The_Fly> hm
2308 2013-04-29 23:30:09 Diapolis has joined
2309 2013-04-29 23:31:13 <The_Fly> it doesn't seem to want to even connect
2310 2013-04-29 23:31:54 <The_Fly> (to RPC)
2311 2013-04-29 23:33:01 twmz has joined
2312 2013-04-29 23:33:09 <The_Fly> this is the behaviour on master btw
2313 2013-04-29 23:33:14 B0g4r7 has quit (Ping timeout: 276 seconds)
2314 2013-04-29 23:33:44 wei_ has joined
2315 2013-04-29 23:33:54 <The_Fly> not sure if bug has existed several commits back
2316 2013-04-29 23:34:00 <buZz> RPC wont work until download is done
2317 2013-04-29 23:34:09 <The_Fly> ok, conflicting info
2318 2013-04-29 23:34:23 <The_Fly> it seems consistent accross my branches and in master, so at least i know ive not caused it!
2319 2013-04-29 23:34:37 <The_Fly> is this an intentional feature?
2320 2013-04-29 23:34:50 <The_Fly> surely a download can be interrupted?
2321 2013-04-29 23:34:54 <sipa> buZz: that's not true
2322 2013-04-29 23:34:58 <buZz> killall bitcoind :P
2323 2013-04-29 23:35:02 <The_Fly> no
2324 2013-04-29 23:35:03 <buZz> sipa: didnt reply to me
2325 2013-04-29 23:35:13 twmz_ has joined
2326 2013-04-29 23:35:17 <sipa> a few commands are disabled before download is completed, such as getwork/getblocktemplate
2327 2013-04-29 23:35:20 <buZz> i am just saying all bitcoind's i've had, had the behaviour of not replying during RPC
2328 2013-04-29 23:35:23 debiantoruser has quit (Ping timeout: 264 seconds)
2329 2013-04-29 23:35:23 <buZz> ahh
2330 2013-04-29 23:35:54 <The_Fly> sipa: it wont even connect to RPC never mind get to sending the command
2331 2013-04-29 23:35:58 <The_Fly> this is a bug
2332 2013-04-29 23:36:25 <sipa> The_Fly: ever?
2333 2013-04-29 23:36:29 <sipa> or when?
2334 2013-04-29 23:36:46 nsillik has joined
2335 2013-04-29 23:36:52 <The_Fly> well i guess if i squeeze the stop in immediately before download it will work, but i dont know
2336 2013-04-29 23:37:17 <sipa> no, what exactly are you doing, what do you observe, what do you expect
2337 2013-04-29 23:37:22 <The_Fly> i delete my blocks and chainstate dirs to get a new download going
2338 2013-04-29 23:37:30 <The_Fly> i start bitcoind in daemon mode
2339 2013-04-29 23:37:31 <sipa> why would you do that?
2340 2013-04-29 23:38:07 <The_Fly> what happens if those files are corrupted or you import just a wallet.dat somewhere and want to download the blockchain again?
2341 2013-04-29 23:38:16 <sipa> use -reindex
2342 2013-04-29 23:38:36 <sipa> and importing a wallet is just putting the file there (while bitcoin isn't running)
2343 2013-04-29 23:38:37 <The_Fly> sure, but that's not dealing with these cases... you might even be starting a new node on a box
2344 2013-04-29 23:38:48 <The_Fly> and want to shut it down
2345 2013-04-29 23:38:59 <The_Fly> you cant if you are waiting for the downloading to stop
2346 2013-04-29 23:39:03 <The_Fly> which could be a while right?
2347 2013-04-29 23:39:09 twmz has quit (Ping timeout: 258 seconds)
2348 2013-04-29 23:39:19 <sipa> can you paste me a few lines from debug.log?
2349 2013-04-29 23:39:21 <sipa> at the end
2350 2013-04-29 23:39:34 <The_Fly> ok...
2351 2013-04-29 23:41:02 <The_Fly> well now because i kill -9 the last run i have a corrupted block
2352 2013-04-29 23:41:07 <The_Fly> ERROR: bool CBlock::ReadFromDisk(const CDiskBlockPos&)() : deserialize or I/O error
2353 2013-04-29 23:41:10 <The_Fly> *** Failed to read block
2354 2013-04-29 23:41:20 <sipa> heh
2355 2013-04-29 23:41:25 <The_Fly> which explains why i was seeing this earlier, and points towards an unclean shutdown being the cause
2356 2013-04-29 23:41:28 <buZz> dont kill -9
2357 2013-04-29 23:41:31 <sipa> that should be impossibe whatsoever
2358 2013-04-29 23:41:32 <buZz> just kill
2359 2013-04-29 23:41:35 <buZz> without -9
2360 2013-04-29 23:41:41 <buZz> let it write away its files
2361 2013-04-29 23:41:44 <buZz> -9 does not do this
2362 2013-04-29 23:41:51 B0g4r7 has joined
2363 2013-04-29 23:41:59 <sipa> The_Fly: can you please tell me what's going on?
2364 2013-04-29 23:42:11 <The_Fly> if it doens't listen to the daemon stop rpc command a sig_term will do not very much
2365 2013-04-29 23:42:13 <sipa> i have no clue what you're trying to do, what you've done, or how you got in which state
2366 2013-04-29 23:42:26 <The_Fly> never mind... i'll fix this myself
2367 2013-04-29 23:42:39 <The_Fly> it's happening on master, on a fresh .bitcoin folder
2368 2013-04-29 23:42:39 <sipa> ... can you please just paste a few lines from debug.log?
2369 2013-04-29 23:42:43 <The_Fly> ok...
2370 2013-04-29 23:42:44 <sipa> i might just be able to tell you
2371 2013-04-29 23:43:39 nsillik has quit (Ping timeout: 272 seconds)
2372 2013-04-29 23:44:17 twmz_ is now known as twmz
2373 2013-04-29 23:44:22 one_zero has joined
2374 2013-04-29 23:47:33 seeingidog__ has quit (Quit: Leaving.)
2375 2013-04-29 23:48:17 felixhandte2 has joined
2376 2013-04-29 23:48:24 <The_Fly> http://pastebin.com/xr93nUtk
2377 2013-04-29 23:48:33 <The_Fly> right, that's master running on fresh .bitcoin... all seems fine...
2378 2013-04-29 23:49:04 <The_Fly> but somehow it got out of state switching between 0mq and multiwallet branches (which ive both merged with most recent master)
2379 2013-04-29 23:49:23 Chuky has quit (Quit: • IRcap • 8.71 •)
2380 2013-04-29 23:49:27 <The_Fly> so now i'm switching over, will run, try again... see if i can recreate
2381 2013-04-29 23:49:30 <sipa> i meant a piece of debug.log from where your RPC wasn't working
2382 2013-04-29 23:49:55 <The_Fly> im going to get you that
2383 2013-04-29 23:50:12 <The_Fly> removal of blocks and chainstate dirs may be the only trigger...
2384 2013-04-29 23:50:19 <The_Fly> but it's the first time ive tried that
2385 2013-04-29 23:50:40 <The_Fly> if there's another (cleaner, better) way to get a full re-download, please tell me
2386 2013-04-29 23:51:10 felixhandte1 has quit (Read error: Operation timed out)
2387 2013-04-29 23:51:27 torsthaldo has joined
2388 2013-04-29 23:51:27 <jgarzik> The_Fly: Keep a copy of bootstrap.dat on hand, or download via torrent, and use -loadblock    https://bitcointalk.org/index.php?topic=145386.0
2389 2013-04-29 23:52:13 <The_Fly> jgarzik: thanks
2390 2013-04-29 23:52:43 <sipa> The_Fly: to re-download you need indeed to delete blocks/chainstate, but if you just want to rebuild the database (which is code-wise very similar to redownloading), run with -reindex
2391 2013-04-29 23:52:43 nomailing has quit (Quit: nomailing)
2392 2013-04-29 23:53:24 systemParanoid has quit (Quit: Leaving)
2393 2013-04-29 23:54:07 <The_Fly> will that give ma fIsInitialDownload = true?
2394 2013-04-29 23:54:13 <sipa> yes
2395 2013-04-29 23:54:26 <sipa> IsInitialDownload() == true, you mean?
2396 2013-04-29 23:54:29 defunctzombie_zz is now known as defunctzombie
2397 2013-04-29 23:54:51 <The_Fly> if (pindexBest == NULL || fImporting || fReindex || nBestHeight < Checkpoints::GetTotalBlocksEstimate())
2398 2013-04-29 23:54:54 <The_Fly> yes it will
2399 2013-04-29 23:55:14 <The_Fly> ok, i guess nuking those folders isn't in the normal lifecycle of the application
2400 2013-04-29 23:55:27 pierce has joined
2401 2013-04-29 23:55:28 <sipa> it happens more than you think
2402 2013-04-29 23:55:28 <The_Fly> but strange that when i did (confirming now) that RPC would not accept connections
2403 2013-04-29 23:55:40 <sipa> and certainly more than necessary
2404 2013-04-29 23:55:42 <The_Fly> ok... so a reason to see if i can find the steps to recreate
2405 2013-04-29 23:56:36 <sipa> there is one case that would explain what you saw
2406 2013-04-29 23:56:57 <sipa> if you'd delete chainstate but not blocks, bitcoin will at startup try to connect its best block (in one go)
2407 2013-04-29 23:57:28 <The_Fly> think i definitely deleted both, but it is a possibility
2408 2013-04-29 23:57:37 <sipa> and that case take a while, and perhaps it can't be interrupted in that case (that'd be a bug, but it's not a frequently used code path)
2409 2013-04-29 23:57:50 <The_Fly> true
2410 2013-04-29 23:57:53 <sipa> it's sort of a hidden feature to do a performance test of the block verification code
2411 2013-04-29 23:58:04 <sipa> as it does absolutely nothing but that
2412 2013-04-29 23:58:22 <The_Fly> ok, have not recreated with deletion of blocks/chainstate or switch to me 0mq-merge branch
2413 2013-04-29 23:58:41 <The_Fly> now try multiwallet...delete... and then i will get back to doing something more useufl