1 2013-11-23 00:00:33 Subo1977 has quit (Remote host closed the connection)
   2 2013-11-23 00:01:57 wizkid057 has joined
   3 2013-11-23 00:02:17 coinspender has quit (Remote host closed the connection)
   4 2013-11-23 00:02:53 Subo1977 has joined
   5 2013-11-23 00:03:25 agnostic98 has quit (Ping timeout: 272 seconds)
   6 2013-11-23 00:04:01 Guyver2 has quit (Quit: :))
   7 2013-11-23 00:05:15 saulimus has joined
   8 2013-11-23 00:06:53 brson has quit (Quit: leaving)
   9 2013-11-23 00:07:08 brson has joined
  10 2013-11-23 00:08:10 mynameis_ has quit (Quit: mynameis_)
  11 2013-11-23 00:08:37 Uglux has quit (Remote host closed the connection)
  12 2013-11-23 00:13:58 Krellan_ has quit (Quit: Leaving...)
  13 2013-11-23 00:14:27 hmmma has joined
  14 2013-11-23 00:16:13 objectivec123 has quit (Remote host closed the connection)
  15 2013-11-23 00:16:49 mapppum has quit (Read error: Connection reset by peer)
  16 2013-11-23 00:17:15 mapppum has joined
  17 2013-11-23 00:19:56 Krellan_ has joined
  18 2013-11-23 00:23:26 hemry has quit (Remote host closed the connection)
  19 2013-11-23 00:24:02 hemry has joined
  20 2013-11-23 00:24:25 Jere_Jones has joined
  21 2013-11-23 00:25:38 tsche has quit (Ping timeout: 246 seconds)
  22 2013-11-23 00:28:05 hemry has quit (Ping timeout: 246 seconds)
  23 2013-11-23 00:28:58 agnostic98 has joined
  24 2013-11-23 00:32:30 Grouver has quit (Quit:  HydraIRC -> http://www.hydrairc.com <- s0 d4Mn l33t |t'z 5c4rY!)
  25 2013-11-23 00:33:18 tsche has joined
  26 2013-11-23 00:34:15 mrkent has joined
  27 2013-11-23 00:34:34 deepc0re has quit (Quit: deepc0re)
  28 2013-11-23 00:40:50 eoss has joined
  29 2013-11-23 00:41:52 Thepok has joined
  30 2013-11-23 00:42:41 gingpark1 has quit (Ping timeout: 272 seconds)
  31 2013-11-23 00:46:11 treaki__ has joined
  32 2013-11-23 00:46:51 treaki_ has quit (Ping timeout: 272 seconds)
  33 2013-11-23 00:48:57 mappppum has joined
  34 2013-11-23 00:49:18 canoon has quit (Read error: Connection reset by peer)
  35 2013-11-23 00:51:02 minty has joined
  36 2013-11-23 00:51:19 JontyX has quit (Read error: Connection reset by peer)
  37 2013-11-23 00:51:20 JontyX_ has joined
  38 2013-11-23 00:51:21 JontyX_ has quit (Read error: Connection reset by peer)
  39 2013-11-23 00:51:48 JontyX has joined
  40 2013-11-23 00:52:33 nsh- has joined
  41 2013-11-23 00:52:45 thelorax123 has quit (Remote host closed the connection)
  42 2013-11-23 00:53:11 mapppum has quit (Ping timeout: 272 seconds)
  43 2013-11-23 00:53:18 agnostic98 has quit (Ping timeout: 240 seconds)
  44 2013-11-23 00:53:20 twbt has quit (Ping timeout: 264 seconds)
  45 2013-11-23 00:53:56 thelorax123 has joined
  46 2013-11-23 00:55:34 nsh has quit (Ping timeout: 245 seconds)
  47 2013-11-23 00:58:13 wizkid057 has quit (Quit: Error: erection reset by queer)
  48 2013-11-23 00:58:54 iz has quit (Remote host closed the connection)
  49 2013-11-23 00:59:50 canoon has joined
  50 2013-11-23 01:00:22 <Apocalyptic> hey
  51 2013-11-23 01:00:44 <Apocalyptic> why does signrawtransaction require the txid of the input the transaction is spending ?
  52 2013-11-23 01:01:11 <Apocalyptic> This information is already embedded in the raw tx we pass
  53 2013-11-23 01:01:25 wizkid057 has joined
  54 2013-11-23 01:03:21 drizztbsd has joined
  55 2013-11-23 01:03:30 <phantomcircuit> Apocalyptic, https://en.bitcoin.it/wiki/Raw_Transactions#signrawtransaction_.3Chex_string.3E_.5B.7B.22txid.22:txid.2C.22vout.22:n.2C.22scriptPubKey.22:hex.7D.2C....5D_.5B.3Cprivatekey1.3E.2C....5D_.5Bsighash.3D.22ALL.22.5D
  56 2013-11-23 01:04:25 robbak has quit (Remote host closed the connection)
  57 2013-11-23 01:04:49 robbak has joined
  58 2013-11-23 01:06:52 owowo has quit (Quit: °!°                         ~~ S4n1tY 1S Fut1l3 ~~                          °!°)
  59 2013-11-23 01:07:54 cris has quit ()
  60 2013-11-23 01:08:27 Coincidental has joined
  61 2013-11-23 01:09:23 Eiii has quit (Ping timeout: 246 seconds)
  62 2013-11-23 01:09:44 Anduck has quit (Ping timeout: 245 seconds)
  63 2013-11-23 01:10:47 hmmma has quit (Ping timeout: 252 seconds)
  64 2013-11-23 01:11:48 cris has joined
  65 2013-11-23 01:12:08 cris has quit (Read error: Connection reset by peer)
  66 2013-11-23 01:14:25 hmmma has joined
  67 2013-11-23 01:14:41 cris has joined
  68 2013-11-23 01:16:31 gingpark1 has joined
  69 2013-11-23 01:20:00 Casimir1904 has quit (Remote host closed the connection)
  70 2013-11-23 01:20:15 rnvk_ has joined
  71 2013-11-23 01:20:32 Casimir1904 has joined
  72 2013-11-23 01:21:03 digitalmagus2 has quit (Ping timeout: 252 seconds)
  73 2013-11-23 01:22:04 mapppum has joined
  74 2013-11-23 01:22:19 <Apocalyptic> phantomcircuit, thank you but i find it unclear
  75 2013-11-23 01:22:25 <Apocalyptic> especially the "The optional second argument is an array of parent transaction outputs, so you can create a chain of raw transactions that depend on each other before sending them to the network"
  76 2013-11-23 01:22:34 wizkid057 has quit (Remote host closed the connection)
  77 2013-11-23 01:22:57 <phantomcircuit> Apocalyptic, it's optional
  78 2013-11-23 01:23:18 <phantomcircuit> if you dont supply it the txid you're spending wont exist
  79 2013-11-23 01:23:22 <phantomcircuit> and it will be rejected as invalid
  80 2013-11-23 01:23:52 <Apocalyptic> so it's not **really** optional, is it ?
  81 2013-11-23 01:24:02 rnvk has quit (Ping timeout: 245 seconds)
  82 2013-11-23 01:24:28 <phantomcircuit> Apocalyptic, it's optional if you want to chain transactions together
  83 2013-11-23 01:24:32 <phantomcircuit> otherwise it's optional
  84 2013-11-23 01:24:57 <Apocalyptic> you mean otherwise it's not
  85 2013-11-23 01:25:01 <Apocalyptic> ok, I think i get it
  86 2013-11-23 01:25:17 mappppum has quit (Ping timeout: 240 seconds)
  87 2013-11-23 01:26:21 <Apocalyptic> my goal is to sign transactions and to broadcast them later, but I still don't know why I have to provide the txid once again
  88 2013-11-23 01:27:19 kadoban has joined
  89 2013-11-23 01:27:40 Thepok has quit (Ping timeout: 272 seconds)
  90 2013-11-23 01:29:24 <Apocalyptic> and the same goes for "scriptPubKey", I already have this info when I do decoderawtransaction
  91 2013-11-23 01:29:52 sustrik has quit (Ping timeout: 245 seconds)
  92 2013-11-23 01:30:12 <phantomcircuit> Apocalyptic, you dont unless you're doing what it says you would need to provide it for
  93 2013-11-23 01:30:15 <phantomcircuit> which i assume you're not
  94 2013-11-23 01:33:01 <Apocalyptic> when I only provide the first argument (the raw tx), it returns it and complete is false
  95 2013-11-23 01:33:28 tesserajk has quit (Quit: tesserajk)
  96 2013-11-23 01:33:55 <Apocalyptic> so i guess not much signing has happened
  97 2013-11-23 01:33:57 wallet43 has quit (Quit: Leaving.)
  98 2013-11-23 01:33:59 xiangfu has quit (Ping timeout: 265 seconds)
  99 2013-11-23 01:36:20 Application has quit (Ping timeout: 246 seconds)
 100 2013-11-23 01:38:18 freewil has quit (Quit: Leaving)
 101 2013-11-23 01:38:44 cadaverr has joined
 102 2013-11-23 01:38:56 <Apocalyptic> Oh it got it, the scriptPubKey to provide is the one of the output i'm using as the input in this tx
 103 2013-11-23 01:39:05 <Apocalyptic> so it's definitely needed
 104 2013-11-23 01:39:14 wallet43 has joined
 105 2013-11-23 01:39:16 <kjj> yes
 106 2013-11-23 01:39:33 <Apocalyptic> <phantomcircuit> which i assume you're not // well i want this to be a valid tx to broadcast, so I do
 107 2013-11-23 01:41:02 <kjj> imagine that you are making two transactions, starting with UTXO A.  newtxB is A->B, and newtxC is B->C.  You don't need to broadcast newtxB to make C, you can specify the info that will identify it on the command line
 108 2013-11-23 01:41:39 <Polyatomic> Can I tell bitcoind to give me a notification when receiving coin ? walletnotify did not seem to work.
 109 2013-11-23 01:42:03 <kjj> Polyatomic: it works, but the way it works may not be obvious.  how did you try to do it?
 110 2013-11-23 01:42:46 xiangfu has joined
 111 2013-11-23 01:42:59 andytoshi has quit (Ping timeout: 246 seconds)
 112 2013-11-23 01:43:31 banghouse has quit (Remote host closed the connection)
 113 2013-11-23 01:44:04 <Polyatomic> added walletnotify when I open bitcoind from a command prompt on Windows OS.
 114 2013-11-23 01:45:14 <kjj> ok, never tried it in Windows.  what command is it running?
 115 2013-11-23 01:48:40 <Polyatomic> "C:\Program Files (x86)\Bitcoin\daemon\bitcoind.exe" walletnotify
 116 2013-11-23 01:49:00 <kjj> walletnotify runs a program when a transaction hits your wallet
 117 2013-11-23 01:49:14 Burritoh has quit (Quit: Leaving)
 118 2013-11-23 01:49:27 gnnr has joined
 119 2013-11-23 01:49:30 <kjj> bitcoind.exe -walletnotify=c:\wn.bat %s
 120 2013-11-23 01:49:51 <Apocalyptic> kjj, I think i'm trying to do a much simpler thing here
 121 2013-11-23 01:50:07 <Polyatomic> oh , I thought I might get the little balloon in the bottom right corner like when Bitcoin-QT receives.
 122 2013-11-23 01:50:17 <kjj> and then wn.bat does something.  the first arg to wn.bat will be the txid
 123 2013-11-23 01:50:22 <Apocalyptic> i have a UXTO A, i want to sign A->B
 124 2013-11-23 01:50:41 agnostic98 has joined
 125 2013-11-23 01:50:47 <Apocalyptic> Polyatomic, that's by default
 126 2013-11-23 01:51:22 <Apocalyptic> (the balloon thing on receive)
 127 2013-11-23 01:52:52 robocoin_ has joined
 128 2013-11-23 01:52:54 <kjj> if A is already known to the signing node, it should be easy to fetch scriptpubkey and redeemscript from previous RPC calls.  :)
 129 2013-11-23 01:53:10 <Apocalyptic> that's the thing, A is not known
 130 2013-11-23 01:53:18 <Apocalyptic> it's an offline node
 131 2013-11-23 01:53:24 <kjj> then if it isn't known, you need to specify it
 132 2013-11-23 01:53:39 <Apocalyptic> yeah i get that
 133 2013-11-23 01:54:06 <Apocalyptic> now why do I need to specify the scriptPubKey hex instead of the address ?
 134 2013-11-23 01:54:13 <kjj> I think I missed part of your discussion.  what problem are you having?
 135 2013-11-23 01:54:54 agnostic98 has quit (Ping timeout: 240 seconds)
 136 2013-11-23 01:54:57 <kjj> every utxo has a scriptpubkey, but they don't all have an address
 137 2013-11-23 01:54:57 Xeno-Genesis has joined
 138 2013-11-23 01:55:15 <Apocalyptic> point taken
 139 2013-11-23 01:55:21 <Apocalyptic> wasn't aware of that
 140 2013-11-23 01:55:22 <kjj> and even when there is an address, you can't count on being able to derive the scriptpubkey from it
 141 2013-11-23 01:55:42 robocoin has quit (Ping timeout: 245 seconds)
 142 2013-11-23 01:56:06 <Apocalyptic> of course, i don't count on it, it just seem to be needed for the wallet to know which key it has to use to sign it
 143 2013-11-23 01:56:36 <kjj> but if you know the previous address, and have a good idea what sorts of tranasctions you are going to be working from, you can derive the most common form and get by with that most of the time
 144 2013-11-23 01:56:42 bitspill has joined
 145 2013-11-23 01:56:57 drizztbsd has quit (Quit: Konversation terminated!)
 146 2013-11-23 01:57:06 <Apocalyptic> so providing an address or the scriptPubKey does seem equivalent in this case
 147 2013-11-23 01:57:09 tsche has quit (Ping timeout: 272 seconds)
 148 2013-11-23 01:57:13 <kjj> the signing node doesn't need to know the keys either, those can be specified
 149 2013-11-23 01:57:30 <Apocalyptic> as a 3rd argument yeah
 150 2013-11-23 01:57:53 MKCoin has quit (Quit: Leaving)
 151 2013-11-23 01:57:58 <gmaxwell> Apocalyptic: but that totally breaks in a multisignature case, for example.. you really don't know the scriptpubkey except by providing it.
 152 2013-11-23 01:58:46 <Apocalyptic> alright, i was assuming i deal with a single-sig case
 153 2013-11-23 01:59:11 <kjj> if you are building a tool for limited situations, you can derive most of what you need
 154 2013-11-23 01:59:20 brson has quit (Ping timeout: 264 seconds)
 155 2013-11-23 01:59:48 <Apocalyptic> for sure, i'm just trying to understand
 156 2013-11-23 02:01:42 PiZZaMaN2K has joined
 157 2013-11-23 02:01:48 PiZZaMaN2K has quit (Changing host)
 158 2013-11-23 02:01:48 PiZZaMaN2K has joined
 159 2013-11-23 02:02:02 macboz has joined
 160 2013-11-23 02:02:05 tsche has joined
 161 2013-11-23 02:02:22 PiZZaMaN2K has quit (away!~PiZZaMaN2@unaffiliated/pizzaman2k|Read error: Connection reset by peer)
 162 2013-11-23 02:03:19 <Apocalyptic> so if I understand this correctly, for every tx when one of the output is indentified by address A, the scriptPubKey will be constant
 163 2013-11-23 02:03:37 <Apocalyptic> the scriptPubKey for that output that is
 164 2013-11-23 02:06:27 <kjj> yes, in that case the scriptpubkey will be derived from the address
 165 2013-11-23 02:07:23 <Apocalyptic> and only from the address
 166 2013-11-23 02:07:48 <Apocalyptic> right ?
 167 2013-11-23 02:07:59 iwilcox_ has joined
 168 2013-11-23 02:08:01 <kjj> yes
 169 2013-11-23 02:08:06 iwilcox has quit (Ping timeout: 264 seconds)
 170 2013-11-23 02:08:07 <Apocalyptic> ok, thanks kjj
 171 2013-11-23 02:08:13 iwilcox_ is now known as iwilcox
 172 2013-11-23 02:08:52 <kjj> 76A914 (pubkey) 88AC
 173 2013-11-23 02:10:39 <kjj> (pubkey) isn't the right word there.  it is the RIPEMD160 hash of the EC pubkey.
 174 2013-11-23 02:10:42 <Apocalyptic> assuming it's a standard script starting with OP_DUP OP_HASH160
 175 2013-11-23 02:11:41 tsche has quit (Ping timeout: 248 seconds)
 176 2013-11-23 02:11:46 <kjj> yup.  79 = OP_DUP, A9 = OP_HASH160, 14 = push the next 20 bytes (160 bits), 88 = OP_EQUALVERIFY, AC = OP_CHECKSIG
 177 2013-11-23 02:12:01 <gmaxwell> Apocalyptic: might I ask what you're doing? :P
 178 2013-11-23 02:12:16 <kjj> p2sh is different, which I think you've figured out already
 179 2013-11-23 02:12:24 <gmaxwell> (if you're implementing a tool for others, please don't assume that all txouts are pay-to-hash160 type)
 180 2013-11-23 02:12:30 <Apocalyptic> nothing special, playing with raw tx and signing offline
 181 2013-11-23 02:12:34 <gmaxwell> k.
 182 2013-11-23 02:12:37 <kjj> I'm pretty sure he is just playing with it to get familiar
 183 2013-11-23 02:12:59 skinnkavaj has quit (Ping timeout: 272 seconds)
 184 2013-11-23 02:12:59 <Apocalyptic> yeah, and if I make a tool based on that i'll be the only one using it
 185 2013-11-23 02:13:08 <gmaxwell> hm. I should make a python tool to produce BIP10 signing requests from an online node…
 186 2013-11-23 02:13:15 <Apocalyptic> wouldn't dare release something i don't grasp entirely
 187 2013-11-23 02:13:58 Starduster has quit (Quit: gotta go)
 188 2013-11-23 02:15:08 <phantomcircuit> Apocalyptic, good on you for that
 189 2013-11-23 02:15:12 <phantomcircuit> if only everybody was like that
 190 2013-11-23 02:15:49 xire has joined
 191 2013-11-23 02:16:13 <kjj> gmaxwell: I'd love to seed the internet with nodes that build joint transactions using BIP10 messages
 192 2013-11-23 02:16:21 MKCoin has joined
 193 2013-11-23 02:17:04 <kjj> I'm pretty sure all of the tools are here, and have been for a while.  all that is lacking is the will to put them together
 194 2013-11-23 02:17:37 tsche has joined
 195 2013-11-23 02:18:38 CryptoBuck has quit ()
 196 2013-11-23 02:19:17 jtimon has quit (Remote host closed the connection)
 197 2013-11-23 02:19:25 cadaverr has quit (Ping timeout: 265 seconds)
 198 2013-11-23 02:19:49 CryptoBuck has joined
 199 2013-11-23 02:25:53 starsoccer has quit (Remote host closed the connection)
 200 2013-11-23 02:26:12 Hasimir- has joined
 201 2013-11-23 02:27:09 Hasimir has quit (Ping timeout: 248 seconds)
 202 2013-11-23 02:30:59 johnsoft has quit (Ping timeout: 245 seconds)
 203 2013-11-23 02:31:47 johnsoft has joined
 204 2013-11-23 02:33:33 t7 has quit (Quit: fuuuuuuuuuuu)
 205 2013-11-23 02:34:03 Emi has quit (Remote host closed the connection)
 206 2013-11-23 02:34:26 LiDE_ has joined
 207 2013-11-23 02:37:14 canooon has joined
 208 2013-11-23 02:38:17 LiDE_ has quit (Client Quit)
 209 2013-11-23 02:38:32 LiDE_ has joined
 210 2013-11-23 02:39:49 saivann_ has joined
 211 2013-11-23 02:40:13 iwilcox has quit (Ping timeout: 272 seconds)
 212 2013-11-23 02:40:25 iwilcox has joined
 213 2013-11-23 02:40:25 iwilcox has quit (Changing host)
 214 2013-11-23 02:40:25 iwilcox has joined
 215 2013-11-23 02:40:42 saivann has quit (Ping timeout: 245 seconds)
 216 2013-11-23 02:43:14 Application has joined
 217 2013-11-23 02:45:02 Coincidental has quit (Remote host closed the connection)
 218 2013-11-23 02:45:12 nsh- has quit (Read error: Operation timed out)
 219 2013-11-23 02:45:35 LiDE_ has quit (Quit: Lost terminal)
 220 2013-11-23 02:45:43 LiDE has joined
 221 2013-11-23 02:46:50 hmmma has quit (Ping timeout: 272 seconds)
 222 2013-11-23 02:49:33 Xeno-Genesis has quit (Ping timeout: 248 seconds)
 223 2013-11-23 02:51:48 agnostic98 has joined
 224 2013-11-23 02:52:12 LiDE has quit (Quit: leaving)
 225 2013-11-23 02:54:31 cadaver has joined
 226 2013-11-23 02:55:25 tsche has quit (Ping timeout: 272 seconds)
 227 2013-11-23 02:56:06 agnostic98 has quit (Ping timeout: 240 seconds)
 228 2013-11-23 02:56:32 xire has quit (Ping timeout: 245 seconds)
 229 2013-11-23 02:58:58 tsche has joined
 230 2013-11-23 02:59:40 mintyFresh has joined
 231 2013-11-23 02:59:40 sevenqueue has left ("WeeChat 0.4.1")
 232 2013-11-23 03:00:03 mintyFresh is now known as Guest34381
 233 2013-11-23 03:01:09 minty has quit (Ping timeout: 252 seconds)
 234 2013-11-23 03:02:53 toffoo has quit (Ping timeout: 248 seconds)
 235 2013-11-23 03:12:22 Krellan_ has quit (Remote host closed the connection)
 236 2013-11-23 03:12:49 Krellan_ has joined
 237 2013-11-23 03:17:09 Krellan_ has quit (Ping timeout: 246 seconds)
 238 2013-11-23 03:18:48 skez has joined
 239 2013-11-23 03:19:04 andytoshi has joined
 240 2013-11-23 03:19:55 agricocb has joined
 241 2013-11-23 03:20:09 Subo1977_ has joined
 242 2013-11-23 03:23:33 Subo1977 has quit (Ping timeout: 240 seconds)
 243 2013-11-23 03:23:41 iwilcox has quit (Ping timeout: 248 seconds)
 244 2013-11-23 03:23:48 iwilcox_ has joined
 245 2013-11-23 03:23:48 iwilcox_ has quit (Changing host)
 246 2013-11-23 03:23:48 iwilcox_ has joined
 247 2013-11-23 03:24:11 iwilcox_ is now known as iwilcox
 248 2013-11-23 03:26:36 tsche has quit (Ping timeout: 265 seconds)
 249 2013-11-23 03:26:50 thelorax123 has quit (Remote host closed the connection)
 250 2013-11-23 03:28:01 thelorax123 has joined
 251 2013-11-23 03:29:15 toffoo has joined
 252 2013-11-23 03:31:10 bitspill has quit (Remote host closed the connection)
 253 2013-11-23 03:31:18 CheckDavid has quit (Quit: Leaving)
 254 2013-11-23 03:31:41 TeleDongz has joined
 255 2013-11-23 03:32:20 tsche has joined
 256 2013-11-23 03:33:07 random_cat has joined
 257 2013-11-23 03:38:36 Emi has joined
 258 2013-11-23 03:38:39 wallet43 has quit (Quit: Leaving.)
 259 2013-11-23 03:44:44 tsche has quit (Ping timeout: 272 seconds)
 260 2013-11-23 03:48:43 tsche has joined
 261 2013-11-23 03:50:35 wizkid057 has joined
 262 2013-11-23 03:51:05 jn has joined
 263 2013-11-23 03:52:26 <jn> hey everyone, is this a reasonable way to calculate the average exchange rate: https://gist.github.com/jnordberg/85157cac04b7e3d6b94a ?
 264 2013-11-23 03:52:32 agnostic98 has joined
 265 2013-11-23 03:53:40 Raziel has quit (Ping timeout: 252 seconds)
 266 2013-11-23 03:53:48 <kjj> yes, no, maybe, all three.  what do you mean by "average exchange rate"?
 267 2013-11-23 03:54:25 i2pRelay has quit (Remote host closed the connection)
 268 2013-11-23 03:54:51 <jn> the average worth of a bitcoin
 269 2013-11-23 03:55:18 <jn> i'm updating realtimebitcoin.info and with data from all exchanges
 270 2013-11-23 03:55:20 <kjj> don't be offended by this, but you don't understand the problem
 271 2013-11-23 03:55:44 <kjj> your code, as far as I can tell, does accurately calculate the mean of the vales you feed it
 272 2013-11-23 03:56:46 <jn> so far so good
 273 2013-11-23 03:57:09 <kjj> if your goal is to have "Look, a number!", then you have probably succeeded
 274 2013-11-23 03:57:39 agnostic98 has quit (Ping timeout: 245 seconds)
 275 2013-11-23 03:57:43 <jn> well, you could say that's my goal
 276 2013-11-23 03:57:52 Hasimir_ has joined
 277 2013-11-23 03:57:57 Hasimir_ is now known as Guest66909
 278 2013-11-23 03:58:15 <jn> but i want that number to represent the bitcoin value as closely as possible
 279 2013-11-23 03:58:53 <kjj> now you approach the real problem
 280 2013-11-23 03:58:59 otoburb has joined
 281 2013-11-23 03:58:59 Hasimir- has quit (Ping timeout: 265 seconds)
 282 2013-11-23 03:59:38 <kjj> there is no such thing as "the bitcoin value"
 283 2013-11-23 04:01:01 <jn> yeah?
 284 2013-11-23 04:01:47 <kjj> is the bitcoin value the last price one traded for?  the price you could get for one right now?  the price you could buy one for right now?
 285 2013-11-23 04:01:59 tmsk has joined
 286 2013-11-23 04:02:43 <jn> all those combined to a number i can blurt out in a conversation
 287 2013-11-23 04:03:13 <kjj> in that case, just say "$800"
 288 2013-11-23 04:03:33 <jn> ;)
 289 2013-11-23 04:04:06 <shesek> jn, you should probably take the exchange's volume into account
 290 2013-11-23 04:04:09 denarius_btc has joined
 291 2013-11-23 04:04:16 <shesek> are you aware of https://bitcoinaverage.com/?
 292 2013-11-23 04:05:19 <jn> shesek: no i wasn't
 293 2013-11-23 04:05:49 <jn> that's exactly what i was looking for
 294 2013-11-23 04:05:50 <jn> http://www.investopedia.com/terms/w/weightedaverage.asp
 295 2013-11-23 04:05:52 <jn> thanks
 296 2013-11-23 04:07:47 porquilho has quit ()
 297 2013-11-23 04:07:56 <shesek> bitcoinaverage already do that, and have lots of sources that they keep update
 298 2013-11-23 04:08:00 <shesek> why not just use their api?
 299 2013-11-23 04:08:41 <shesek> https://api.bitcoinaverage.com/ticker/USD
 300 2013-11-23 04:09:16 <shesek> and realtimebitcoin.info is pretty neat, well done!
 301 2013-11-23 04:09:22 Bituser123 has quit (Ping timeout: 240 seconds)
 302 2013-11-23 04:09:29 <shesek> * keep updated
 303 2013-11-23 04:09:54 TheSeven has quit (Read error: Operation timed out)
 304 2013-11-23 04:09:54 <jn> thanks!
 305 2013-11-23 04:10:14 <jn> i don't want to rely on just 1 api
 306 2013-11-23 04:11:24 <jn> (and it's fun to build:)
 307 2013-11-23 04:11:54 <shesek> cool, rock on :)
 308 2013-11-23 04:12:24 TheSeven has joined
 309 2013-11-23 04:12:58 cadaver has quit (Quit: This computer has gone to sleep)
 310 2013-11-23 04:15:12 Tantadruj has joined
 311 2013-11-23 04:18:03 gumpus has joined
 312 2013-11-23 04:20:08 hsmiths has quit (Read error: Connection reset by peer)
 313 2013-11-23 04:21:28 tsche has quit (Ping timeout: 272 seconds)
 314 2013-11-23 04:21:36 roconnor has joined
 315 2013-11-23 04:22:40 hsmiths has joined
 316 2013-11-23 04:26:03 tsche has joined
 317 2013-11-23 04:26:12 dkog has joined
 318 2013-11-23 04:28:25 linagee has joined
 319 2013-11-23 04:28:45 linagee has quit (Changing host)
 320 2013-11-23 04:28:45 linagee has joined
 321 2013-11-23 04:28:48 <linagee> is there a way to ask bitcoind for the balance of a lot of addresses?
 322 2013-11-23 04:28:55 PiZZaMaN2K is now known as PiZZaMaN2K|away
 323 2013-11-23 04:31:02 Zarutian has quit (Quit: Zarutian)
 324 2013-11-23 04:33:03 tsche has quit (Read error: Operation timed out)
 325 2013-11-23 04:36:06 <Luke-Jr> linagee: listreceivedbyaddress you mean?
 326 2013-11-23 04:36:19 <Luke-Jr> linagee: addresses don't have balances; they receive a payment once and that's it
 327 2013-11-23 04:38:01 tsche has joined
 328 2013-11-23 04:38:31 <gulli> So you choose a chaincode and a master-string when creating a HD-wallet right?
 329 2013-11-23 04:39:53 Emi has quit (Remote host closed the connection)
 330 2013-11-23 04:40:06 Guest94559 has joined
 331 2013-11-23 04:41:55 robbak has quit (Remote host closed the connection)
 332 2013-11-23 04:42:21 robbak has joined
 333 2013-11-23 04:44:26 <dexX7> hey Luke-Jr: is there any best practise to broadcast non-standard tx?
 334 2013-11-23 04:44:36 <dexX7> or just push it and wait?
 335 2013-11-23 04:45:09 <shesek> brining a pool owner couldn't hurt
 336 2013-11-23 04:45:21 <shesek> * bribing
 337 2013-11-23 04:46:03 eoss has quit (Remote host closed the connection)
 338 2013-11-23 04:46:08 <dexX7> hehe. i'm asking, because eligius seems to be known for accepting those.
 339 2013-11-23 04:46:24 tsche has quit (Ping timeout: 246 seconds)
 340 2013-11-23 04:50:40 <Luke-Jr> dexX7: see wiki page on free transaction relay network
 341 2013-11-23 04:50:50 <Luke-Jr> dexX7: Eligius also has eligius.st/~wizkid057/newstats/pushtxn.php
 342 2013-11-23 04:50:58 <dexX7> yup, saw that
 343 2013-11-23 04:51:07 <Luke-Jr> also, note Eligius only mines them with tx fees
 344 2013-11-23 04:51:14 tsche has joined
 345 2013-11-23 04:53:23 <gumpus> i'm playing around with private key importation on testnet. how long does it take for a testnet transaction to reach 6 confirmations?
 346 2013-11-23 04:53:50 <dexX7> that's fine of course. i'm just wondering, it's a few hours ago now, first response was positive, all following were rejected (because i assume the tx was already registred)
 347 2013-11-23 04:54:09 agnostic98 has joined
 348 2013-11-23 04:56:56 beethoven8201 has joined
 349 2013-11-23 04:58:18 <Luke-Jr> gumpus: why are you doing that?
 350 2013-11-23 05:00:37 <gumpus> i want to start hacking around on bitcoin-qt so i need a good place to start
 351 2013-11-23 05:00:56 <gumpus> i was going to try implementing sending all coin at an imported private key's address to a newly generated one
 352 2013-11-23 05:01:03 <gumpus> or whatever the next one in the keypool is
 353 2013-11-23 05:01:26 deepc0re has joined
 354 2013-11-23 05:01:32 <gumpus> bad idea...?
 355 2013-11-23 05:03:30 agnostic98 has quit (Remote host closed the connection)
 356 2013-11-23 05:03:49 agnostic98 has joined
 357 2013-11-23 05:04:25 rnvk_ has quit (Remote host closed the connection)
 358 2013-11-23 05:05:04 rnvk has joined
 359 2013-11-23 05:06:43 Guest34381 has left ()
 360 2013-11-23 05:08:27 <shesek> in bitcoind's xmlrpc transaction JSON object, when can a single vout have more than one address?
 361 2013-11-23 05:08:59 <kjj> multisig?
 362 2013-11-23 05:09:51 <Luke-Jr> gumpus: so sweepprivkey?
 363 2013-11-23 05:10:10 <Luke-Jr> gumpus: it's dangerous to import untrusted keys; I'd suggest you just do the sweep and forget it (don't save it)
 364 2013-11-23 05:10:37 <shesek> multisig would still show the single p2sh address
 365 2013-11-23 05:10:38 <gumpus> dangerous how?
 366 2013-11-23 05:10:39 <Luke-Jr> shesek: also note it's JSON-RPC, no XML
 367 2013-11-23 05:10:44 <kjj> multisig != p2sh
 368 2013-11-23 05:10:53 <Luke-Jr> shesek: no, I think multisig would show all addresses
 369 2013-11-23 05:11:02 <shesek> oh, right, it could be a non-p2sh multisig
 370 2013-11-23 05:11:10 <shesek> with the full script in the spending transaction
 371 2013-11-23 05:11:12 <Luke-Jr> gumpus: coins sent to it are included in your balance, even though someone else may have access to them
 372 2013-11-23 05:11:21 <gumpus> oh, right
 373 2013-11-23 05:11:27 <gumpus> how to sweep and forget then?
 374 2013-11-23 05:11:29 deepc0re has quit (Quit: deepc0re)
 375 2013-11-23 05:11:42 tsche has quit (Ping timeout: 252 seconds)
 376 2013-11-23 05:11:45 <shesek> and yeah, dunno where I got xml from
 377 2013-11-23 05:11:57 <gumpus> i mean - sweep and forget is what i want to try implementing.. i don't see  a way of doing that in bitcoin-qt right now
 378 2013-11-23 05:11:59 <Luke-Jr> gumpus: scan the blockchain for the coin; when you find it, create a transaction spending it to one in your keypool and add it to the wallet; then stop scanning
 379 2013-11-23 05:12:00 <shesek> thanks, kjj and Luke-Jr
 380 2013-11-23 05:12:16 <gumpus> right ok
 381 2013-11-23 05:12:17 <CodeShark> "address" used in the context of multisigs just shows how terrible that term is - the individual keys constituting a multisig redeemscript are not addresses in any sense of the word - they are simply hashes of signing pubkeys
 382 2013-11-23 05:12:19 <Luke-Jr> gumpus: it may be useful to allow users to provide a "start sweep at height X"
 383 2013-11-23 05:12:46 <gumpus> to avoid going through a chunk of the block chain that it doesn't need to?
 384 2013-11-23 05:12:53 <Luke-Jr> right
 385 2013-11-23 05:13:02 <gumpus> makes sense
 386 2013-11-23 05:13:22 Coincidental has joined
 387 2013-11-23 05:13:59 beethoven8201 has quit (Remote host closed the connection)
 388 2013-11-23 05:14:24 beethoven8201 has joined
 389 2013-11-23 05:14:52 nem has joined
 390 2013-11-23 05:15:20 hsmiths has quit (Read error: Connection reset by peer)
 391 2013-11-23 05:17:26 hsmiths has joined
 392 2013-11-23 05:17:44 tsche has joined
 393 2013-11-23 05:18:50 Guest66909 has quit (Changing host)
 394 2013-11-23 05:18:50 Guest66909 has joined
 395 2013-11-23 05:18:57 Guest66909 is now known as Hasimir
 396 2013-11-23 05:21:45 TeleDongz has quit (Quit: leaving)
 397 2013-11-23 05:24:27 c0rw1n has quit (Remote host closed the connection)
 398 2013-11-23 05:27:39 robbak has quit (Remote host closed the connection)
 399 2013-11-23 05:28:06 robbak has joined
 400 2013-11-23 05:28:06 robbak has quit (Changing host)
 401 2013-11-23 05:28:06 robbak has joined
 402 2013-11-23 05:34:04 roconnor has quit (Quit: Konversation terminated!)
 403 2013-11-23 05:38:36 ThomasV has joined
 404 2013-11-23 05:40:09 gingpark1 has quit (Ping timeout: 245 seconds)
 405 2013-11-23 05:42:04 joecool has joined
 406 2013-11-23 05:42:11 <joecool> Luke-Jr: we'll do it here
 407 2013-11-23 05:42:14 <Luke-Jr> k
 408 2013-11-23 05:42:27 <Luke-Jr> so paste bt again
 409 2013-11-23 05:42:53 <joecool> http://pastebin.com/mHZxLSwd
 410 2013-11-23 05:43:20 <Luke-Jr> when I say \n, that means Enter
 411 2013-11-23 05:43:25 <Luke-Jr> up \n up \n info locals
 412 2013-11-23 05:44:19 <joecool> No symbol table info available.
 413 2013-11-23 05:44:23 <joecool> :-\
 414 2013-11-23 05:44:37 <Luke-Jr> uh
 415 2013-11-23 05:44:57 <Luke-Jr> print cbappend
 416 2013-11-23 05:45:13 <joecool> http://pastebin.com/tagcFVRr
 417 2013-11-23 05:45:24 <joecool> No symbol "cbappend" in current context.
 418 2013-11-23 05:45:37 <joecool> (sry i noticed first bt was mucked up by output)
 419 2013-11-23 05:45:49 <Luke-Jr> joecool: wtf is the current context? <.<
 420 2013-11-23 05:45:53 <Luke-Jr> did you do the 2 ups?
 421 2013-11-23 05:46:01 <joecool> yeah
 422 2013-11-23 05:46:08 <Luke-Jr> pastebin the whole gdb screen plz
 423 2013-11-23 05:46:32 Hasimir- has joined
 424 2013-11-23 05:47:05 <joecool> http://pastebin.com/bdir92sb
 425 2013-11-23 05:47:37 Hasimir is now known as Guest25669
 426 2013-11-23 05:47:37 Hasimir- has quit (Changing host)
 427 2013-11-23 05:47:37 Hasimir- has joined
 428 2013-11-23 05:47:40 Hasimir- is now known as Hasimir
 429 2013-11-23 05:49:44 Guest25669 has quit (Ping timeout: 264 seconds)
 430 2013-11-23 05:49:46 <joecool> Luke-Jr: ?
 431 2013-11-23 05:51:00 mapppum has quit (Read error: Connection reset by peer)
 432 2013-11-23 05:51:06 <Luke-Jr> joecool: I don't see the ups there
 433 2013-11-23 05:51:23 mapppum has joined
 434 2013-11-23 05:51:25 <joecool> i'm assuming you meant up arrow
 435 2013-11-23 05:52:35 <Luke-Jr> no
 436 2013-11-23 05:52:41 <Luke-Jr> literally the word up, twice
 437 2013-11-23 05:52:56 <joecool> derp
 438 2013-11-23 05:53:26 more_dmesg has quit (Quit: Saliendo)
 439 2013-11-23 05:53:46 <joecool> http://pastebin.com/zWhPwd8h
 440 2013-11-23 05:54:03 <Luke-Jr> wtf
 441 2013-11-23 05:55:31 Jere_Jones has quit ()
 442 2013-11-23 05:56:00 <Luke-Jr> joecool: ok, this looks like a job for valgrind
 443 2013-11-23 05:56:02 gingpark1 has joined
 444 2013-11-23 05:56:25 <Luke-Jr> joecool: valgrind --track-origins=yes <bfgminer cmd> --debuglog 2>valgrind.log
 445 2013-11-23 05:56:37 <Luke-Jr> it will be slow.
 446 2013-11-23 05:58:44 jaekwon1 has quit (Ping timeout: 264 seconds)
 447 2013-11-23 05:59:45 <joecool> Luke-Jr: i gonna need glibc with debug symbols?
 448 2013-11-23 06:02:00 jaekwon has joined
 449 2013-11-23 06:03:19 kjj has quit (Ping timeout: 240 seconds)
 450 2013-11-23 06:03:38 <Luke-Jr> joecool: no.
 451 2013-11-23 06:03:42 <Luke-Jr> well, maybe. not sure
 452 2013-11-23 06:04:11 <joecool> lawl
 453 2013-11-23 06:05:05 <joecool> yeah it needs it
 454 2013-11-23 06:07:14 quijibo has quit (Ping timeout: 272 seconds)
 455 2013-11-23 06:08:02 <cfields> Luke-Jr: that looks to be std::string(NULL)
 456 2013-11-23 06:10:31 <joecool> (got it running, now we wait)
 457 2013-11-23 06:13:07 kjj has joined
 458 2013-11-23 06:14:06 quijibo has joined
 459 2013-11-23 06:15:52 <Luke-Jr> cfields: huh?
 460 2013-11-23 06:17:46 BenderCoin has quit (Read error: Connection reset by peer)
 461 2013-11-23 06:18:32 <cfields> nm, i supposed there'd be lots more std spew in there. i forgot you guys like to write c disguised as c++ anyway :p
 462 2013-11-23 06:24:24 Diablo-D3 has quit (Quit: This computer has gone to sleep)
 463 2013-11-23 06:25:14 <joecool> ofc it's not crashing now that i rebuilt glibc and am running it in valgrind
 464 2013-11-23 06:27:21 cadaver has joined
 465 2013-11-23 06:32:40 <Luke-Jr> cfields: BFGMiner *is* 100% C
 466 2013-11-23 06:32:52 <Luke-Jr> no C++ at all :D
 467 2013-11-23 06:33:11 <Luke-Jr> joecool: I wouldn't be surprised
 468 2013-11-23 06:33:19 <Luke-Jr> joecool: from another shell, grep == valgrind.log
 469 2013-11-23 06:33:44 <Luke-Jr> valgrind's job is to catch memory corruption and report it
 470 2013-11-23 06:33:49 <Luke-Jr> sometimes that makes the program survive better
 471 2013-11-23 06:33:54 <Luke-Jr> but the report is what's important
 472 2013-11-23 06:34:13 <Luke-Jr> most likely -O0 is hiding the corruption by arranging the stack slightly different
 473 2013-11-23 06:34:53 <cfields> Luke-Jr: i guess that explains the "huh?" pretty well, then :)
 474 2013-11-23 06:36:29 <cfields> besides the handful of other reasons that i was obviously wrong, that is
 475 2013-11-23 06:36:40 Diablo-D3 has joined
 476 2013-11-23 06:36:42 <Luke-Jr> XD
 477 2013-11-23 06:44:18 Guest94559 has quit (Quit: Guest94559)
 478 2013-11-23 06:48:23 <joecool> Luke-Jr: what am i grepping for?
 479 2013-11-23 06:49:07 <joecool> o
 480 2013-11-23 06:49:08 <joecool> i see
 481 2013-11-23 06:49:39 macboz_ has joined
 482 2013-11-23 06:51:04 <joecool> Luke-Jr: this is some of it
 483 2013-11-23 06:51:04 <joecool> http://pastebin.com/ERu4UsCm
 484 2013-11-23 06:51:23 <joecool> p.sure its all the same
 485 2013-11-23 06:52:17 macboz has quit (Ping timeout: 272 seconds)
 486 2013-11-23 06:52:45 wereHamster has quit (Read error: Operation timed out)
 487 2013-11-23 06:52:52 Perlboy has quit (Read error: Operation timed out)
 488 2013-11-23 06:54:34 wiretapped has quit (Ping timeout: 240 seconds)
 489 2013-11-23 06:55:14 darkee has quit (Ping timeout: 240 seconds)
 490 2013-11-23 06:55:50 <Luke-Jr> joecool: this was 3.6.0 right?
 491 2013-11-23 06:56:06 <joecool> Luke-Jr: correct
 492 2013-11-23 06:56:51 wereHamster has joined
 493 2013-11-23 06:56:56 darkee has joined
 494 2013-11-23 07:00:05 <Luke-Jr> joecool: before line 2481, please add: applog(LOG_DEBUG,"=== %.100s", cbappend);
 495 2013-11-23 07:00:12 Perlboy has joined
 496 2013-11-23 07:00:20 <Luke-Jr> joecool: then compile and do valgrind again
 497 2013-11-23 07:00:24 <joecool> k
 498 2013-11-23 07:00:29 <Luke-Jr> the == should make it part of the grepped log ofc
 499 2013-11-23 07:02:51 Kimmy has quit (Ping timeout: 250 seconds)
 500 2013-11-23 07:03:13 <joecool> Luke-Jr: miner.c?
 501 2013-11-23 07:03:20 <Luke-Jr> yes
 502 2013-11-23 07:04:29 Starduster has joined
 503 2013-11-23 07:05:40 <joecool> Luke-Jr: waitin for more shit
 504 2013-11-23 07:05:42 wavelet has quit (Quit: Leaving)
 505 2013-11-23 07:05:42 <joecool> http://pastebin.com/pe9sMHdB
 506 2013-11-23 07:06:51 thelorax123 has quit (Remote host closed the connection)
 507 2013-11-23 07:07:07 <joecool> Luke-Jr: it's hittin this
 508 2013-11-23 07:07:08 <joecool>  [2013-11-23 02:01:51] === ===
 509 2013-11-23 07:07:09 <joecool>  [2013-11-23 02:03:19] === ===
 510 2013-11-23 07:07:19 <joecool> i'm assuming you meant for that to be there
 511 2013-11-23 07:07:20 <Luke-Jr> O.o
 512 2013-11-23 07:08:13 thelorax123 has joined
 513 2013-11-23 07:09:00 <Luke-Jr> this makes no sense
 514 2013-11-23 07:09:19 gnnr has quit (Quit: This computer has gone to sleep)
 515 2013-11-23 07:09:23 <Luke-Jr> change it to: fprintf(stderr, "=== %.100s", cbappend);
 516 2013-11-23 07:10:59 <joecool> Luke-Jr: h/o it shat bricks
 517 2013-11-23 07:11:03 <joecool> lemme give you output
 518 2013-11-23 07:11:40 bd_ has quit (Quit: moving)
 519 2013-11-23 07:12:05 <joecool> http://pastebin.com/i9NnXf8F
 520 2013-11-23 07:12:20 <joecool> that's everything after the last 2 msg's i gave you in chan
 521 2013-11-23 07:13:48 <Luke-Jr> with the fprintf?
 522 2013-11-23 07:15:53 <joecool> no before
 523 2013-11-23 07:16:00 <joecool> i still had it running
 524 2013-11-23 07:17:28 debiantoruser has quit (Ping timeout: 240 seconds)
 525 2013-11-23 07:18:37 <joecool> Luke-Jr: i think that made it noisier
 526 2013-11-23 07:19:06 <Luke-Jr> joecool: k
 527 2013-11-23 07:19:19 <joecool> here
 528 2013-11-23 07:19:20 <joecool> https://xwaretech.info/valgrind.txt
 529 2013-11-23 07:19:31 debiantoruser has joined
 530 2013-11-23 07:19:33 <joecool> refresh there's more now
 531 2013-11-23 07:21:46 <joecool> updated again
 532 2013-11-23 07:23:34 <Luke-Jr> joecool: revert that and do this http://codepad.org/I2LER4mn
 533 2013-11-23 07:26:08 KIDC has quit (Ping timeout: 272 seconds)
 534 2013-11-23 07:26:40 <joecool> gluttony bfgminer-3.6.0 # patch -p1 < /srv/tmp/shit.diff
 535 2013-11-23 07:26:40 <joecool> patching file miner.c
 536 2013-11-23 07:26:40 <joecool> Hunk #1 succeeded at 2469 (offset -66 lines).
 537 2013-11-23 07:26:43 <joecool> k here goes
 538 2013-11-23 07:28:26 <joecool> Luke-Jr: dumping live here https://xwaretech.info/valgrind.txt
 539 2013-11-23 07:29:52 robbak has quit (Remote host closed the connection)
 540 2013-11-23 07:29:54 <joecool> Luke-Jr: looks good?¿
 541 2013-11-23 07:29:57 <Luke-Jr> I think I'm going back to blaming GCC..
 542 2013-11-23 07:30:18 robbak has joined
 543 2013-11-23 07:30:26 <Luke-Jr> joecool: remove all except E and J
 544 2013-11-23 07:31:52 <joecool> Luke-Jr: ?
 545 2013-11-23 07:32:30 <Luke-Jr> …
 546 2013-11-23 07:32:43 <Luke-Jr> joecool: look at the patch
 547 2013-11-23 07:32:46 <Luke-Jr> there's a bunch of pritns
 548 2013-11-23 07:32:49 <Luke-Jr> with letters
 549 2013-11-23 07:32:55 <Luke-Jr> leave E and J in there, but remove the rest
 550 2013-11-23 07:33:43 <wumpus> jgarzik: that's strange; I cannot reproduce your bitcoin-cli problem, neither on testnet and mainnet, do you have any special config with regard to ports and such in bitcoin.conf?
 551 2013-11-23 07:34:07 <joecool> Luke-Jr: o
 552 2013-11-23 07:34:39 _pr has joined
 553 2013-11-23 07:34:39 _pr has quit (Changing host)
 554 2013-11-23 07:34:39 _pr has joined
 555 2013-11-23 07:34:44 debiantoruser has quit (Ping timeout: 264 seconds)
 556 2013-11-23 07:35:30 <Luke-Jr> …
 557 2013-11-23 07:35:32 ovidiusoft has joined
 558 2013-11-23 07:35:39 <Luke-Jr> wumpus: is it something a compiler bug could cause?
 559 2013-11-23 07:35:50 <Luke-Jr> oh, that was to jgarzik, not joecool <.<
 560 2013-11-23 07:36:23 debiantoruser has joined
 561 2013-11-23 07:36:26 <wumpus> Luke-Jr: I was replying to jgarzik's comment yesterday
 562 2013-11-23 07:36:40 rnvk has quit (Read error: Connection reset by peer)
 563 2013-11-23 07:36:41 <joecool> Luke-Jr: live again https://xwaretech.info/valgrind.txt
 564 2013-11-23 07:37:02 rnvk has joined
 565 2013-11-23 07:37:41 <Luke-Jr> joecool: http://codepad.org/eX3GUVqF
 566 2013-11-23 07:37:46 <Luke-Jr> hahahaha
 567 2013-11-23 07:37:56 <Luke-Jr> I love GCC
 568 2013-11-23 07:38:32 <Luke-Jr> const char *p; { const char foo[] = "hi there"; p = foo; } <-- oh, let's just delete foo, since it's out of scope before it's used!
 569 2013-11-23 07:40:19 <joecool> live again
 570 2013-11-23 07:40:34 <joecool> i took the printf's out though
 571 2013-11-23 07:40:45 <Luke-Jr> good
 572 2013-11-23 07:41:01 <Luke-Jr> go ahead and test without valgrind
 573 2013-11-23 07:41:05 <joecool> k
 574 2013-11-23 07:43:53 mitz has joined
 575 2013-11-23 07:44:48 phrackage has joined
 576 2013-11-23 07:45:06 johnsofttt has joined
 577 2013-11-23 07:45:24 diki has quit (Ping timeout: 272 seconds)
 578 2013-11-23 07:46:18 <Luke-Jr> some day GCC is going to just break SHA256 with -O99 <.<
 579 2013-11-23 07:47:34 martinn has joined
 580 2013-11-23 07:47:59 <wumpus> -O99?! is there optimization setting inflation as well?
 581 2013-11-23 07:48:28 <Luke-Jr> -O0
 582 2013-11-23 07:48:54 <joecool> well shit worked ok with -O0
 583 2013-11-23 07:48:55 phrackage_ has joined
 584 2013-11-23 07:49:00 <Luke-Jr> of course
 585 2013-11-23 07:49:07 <pankkake> -Ofast is new
 586 2013-11-23 07:49:08 <Luke-Jr> -O0 doesn't try to outsmart you
 587 2013-11-23 07:49:22 phrackage has quit (Ping timeout: 252 seconds)
 588 2013-11-23 07:49:27 phrackage_ is now known as phrackage
 589 2013-11-23 07:49:49 ThomasV has quit (Ping timeout: 241 seconds)
 590 2013-11-23 07:50:04 <Luke-Jr> still.. you'd think if GCC was deciding the end result there was an uninitialised pointed, it'd have been smart enough to warn that I was *using* an uninit ptr too
 591 2013-11-23 07:50:20 <Luke-Jr> pointer*
 592 2013-11-23 07:51:43 <Luke-Jr> hum, I didn't know about openat()
 593 2013-11-23 07:51:58 <Luke-Jr> nor strpbrk
 594 2013-11-23 07:53:41 <wumpus> openat is interesting, I've seen it mentioned but don't think I've ever seen it used
 595 2013-11-23 07:54:54 <joecool> Luke-Jr: looks good, no segfaults yet, running stripped binary as normal
 596 2013-11-23 07:55:08 <Luke-Jr> wumpus: it seems grep uses it; i found it stracing
 597 2013-11-23 07:55:23 * Luke-Jr ponders if grep is multithreaded
 598 2013-11-23 07:55:34 Thepok has joined
 599 2013-11-23 07:55:58 mappppum has joined
 600 2013-11-23 07:56:02 Thepok has quit (Read error: Connection reset by peer)
 601 2013-11-23 07:56:31 mappppum has quit (Read error: Connection reset by peer)
 602 2013-11-23 07:56:40 <wumpus> seemingly it's used for secure directory traversal (ie, preventing race conditions by replacing one of the directory components with a symlink)
 603 2013-11-23 07:56:56 mappppum has joined
 604 2013-11-23 07:57:53 Thepok has joined
 605 2013-11-23 07:58:18 <wumpus> so it makes sense that grep would use it, probably only new versions though
 606 2013-11-23 07:58:29 nsh has joined
 607 2013-11-23 07:58:33 martinn has quit (Ping timeout: 246 seconds)
 608 2013-11-23 07:59:20 mapppum has quit (Ping timeout: 264 seconds)
 609 2013-11-23 08:02:55 robbak has quit (Remote host closed the connection)
 610 2013-11-23 08:03:21 robbak has joined
 611 2013-11-23 08:04:05 Anduck has joined
 612 2013-11-23 08:09:35 sensorii has joined
 613 2013-11-23 08:10:08 BenderCoin has joined
 614 2013-11-23 08:11:42 martinn has joined
 615 2013-11-23 08:11:56 wiretapped has joined
 616 2013-11-23 08:12:28 mappppum has quit (Ping timeout: 252 seconds)
 617 2013-11-23 08:14:09 PhantomGriffin has joined
 618 2013-11-23 08:14:29 rdymac has quit (Excess Flood)
 619 2013-11-23 08:16:22 PhantomGriffin has left ()
 620 2013-11-23 08:16:48 rdymac has joined
 621 2013-11-23 08:24:45 gdoteof has joined
 622 2013-11-23 08:25:12 <gdoteof> i have a few old wallets that arre probably, but maybe not empty; what is the quickest way to check them?  loading them into bitcoin-qt is so slow
 623 2013-11-23 08:28:13 skez has quit (Ping timeout: 245 seconds)
 624 2013-11-23 08:28:36 <wumpus> some other wallet clients are probably able to import bitcoin wallet.dats, maybe armory?  then again, checking them in bitcoin-qt shouldn't take that long either, unless you have a massive number
 625 2013-11-23 08:28:46 phrackage has quit (Ping timeout: 248 seconds)
 626 2013-11-23 08:29:15 <wumpus> jackjack's pywallet may be able to merge wallets (not 100% sure)
 627 2013-11-23 08:29:16 <gmaxwell> wumpus: well if they're old the rescan can take 10 minutes even on a SSD.
 628 2013-11-23 08:29:33 <gmaxwell> I've used this to merge wallets: https://bitcointalk.org/index.php?topic=25091.0
 629 2013-11-23 08:29:39 <gmaxwell> but it only works on unencrypted ones.
 630 2013-11-23 08:29:52 <gmaxwell> e.g. cat them all into a file and run the tool on that file.. tada .. new wallet.
 631 2013-11-23 08:32:46 <wumpus> right, merging encrypted wallets would be quite a bit more difficult, and probably involves decrypting and re-encrypting
 632 2013-11-23 08:34:44 Anduck has quit (Ping timeout: 246 seconds)
 633 2013-11-23 08:37:21 phrackage has joined
 634 2013-11-23 08:41:15 martinn has quit (Ping timeout: 246 seconds)
 635 2013-11-23 08:47:02 damethos has joined
 636 2013-11-23 08:55:09 Krellan_ has joined
 637 2013-11-23 09:00:06 pZombie1 has joined
 638 2013-11-23 09:00:38 Coincidental has quit (Remote host closed the connection)
 639 2013-11-23 09:01:41 macboz_ has quit (Quit: This computer has gone to sleep)
 640 2013-11-23 09:01:46 robbak has quit (Remote host closed the connection)
 641 2013-11-23 09:02:08 pZombie has quit (Ping timeout: 272 seconds)
 642 2013-11-23 09:02:12 robbak has joined
 643 2013-11-23 09:02:12 robbak has quit (Changing host)
 644 2013-11-23 09:02:12 robbak has joined
 645 2013-11-23 09:02:48 iz has joined
 646 2013-11-23 09:03:30 toffoo has quit ()
 647 2013-11-23 09:05:05 <gdoteof> gmaxwell: 'run the tool on that file' is the part that i am not seeing an option for
 648 2013-11-23 09:05:39 <gmaxwell> gdoteof: this tool: https://bitcointalk.org/index.php?topic=25091.0
 649 2013-11-23 09:06:02 <gmaxwell> combine the wallet.dat files into one file. that tool takes, IIRC, a single argument as the 'device' to scan. point it at the file in question.
 650 2013-11-23 09:06:24 <tommygunner> you should be able to do it just with bitcoind, too
 651 2013-11-23 09:06:52 <gmaxwell> tommygunner: no, bitcoind cannot import a wallet.dat file.
 652 2013-11-23 09:07:07 <tommygunner> you can write a small script that uses importprivkey
 653 2013-11-23 09:07:20 <tommygunner> needs a little bit of scanning, but well
 654 2013-11-23 09:08:54 <weex> you can tell importprivkey not to rescan
 655 2013-11-23 09:09:11 <weex> then once all are imported a rescan should fix it all right?
 656 2013-11-23 09:09:37 _ingsoc has joined
 657 2013-11-23 09:10:42 drayah has joined
 658 2013-11-23 09:10:56 <gmaxwell> weex: yep.
 659 2013-11-23 09:12:15 robbak has quit (Remote host closed the connection)
 660 2013-11-23 09:12:42 robbak has joined
 661 2013-11-23 09:12:42 robbak has quit (Changing host)
 662 2013-11-23 09:12:42 robbak has joined
 663 2013-11-23 09:13:06 CryptoBuck has quit (Ping timeout: 246 seconds)
 664 2013-11-23 09:13:19 macboz_ has joined
 665 2013-11-23 09:13:23 CryptoBuck has joined
 666 2013-11-23 09:14:33 macboz_ has quit (Read error: Connection reset by peer)
 667 2013-11-23 09:15:03 macboz_ has joined
 668 2013-11-23 09:25:54 iz has quit (Ping timeout: 240 seconds)
 669 2013-11-23 09:28:11 iz has joined
 670 2013-11-23 09:32:13 mynameis has joined
 671 2013-11-23 09:32:27 <sipa> bitcoind head has dumpwallet and importwallet
 672 2013-11-23 09:32:40 <sipa> using which you can merge wallets
 673 2013-11-23 09:33:49 ThomasV has joined
 674 2013-11-23 09:37:38 tmsk has quit (Quit: tmsk)
 675 2013-11-23 09:37:50 <warren> I looked into backporting that to 0.8.5 OMG but it requires the birthday, refactor fix and lots more.
 676 2013-11-23 09:38:09 Xeno-Genesis has joined
 677 2013-11-23 09:38:12 <warren> It's time for me to stop adding things to 0.8
 678 2013-11-23 09:38:59 <warren> oh fun.
 679 2013-11-23 09:39:10 <warren> bitcoind uses 750MB RES on Fedora
 680 2013-11-23 09:39:21 <warren> disablewallet=1 424MB RES
 681 2013-11-23 09:39:22 <gdoteof> gmaxwell: fwiw; that tool didn't let me just point at the file; im sure i could have made a tmpfs or something but i just went through them manually
 682 2013-11-23 09:39:25 <gdoteof> thanks
 683 2013-11-23 09:39:36 <gdoteof> that is.. it let me but didn't find any private keys
 684 2013-11-23 09:40:04 <gdoteof> pointing it at a concatted (actually valid json put together by hand) set of dumps from pywallet
 685 2013-11-23 09:40:26 skinnkavaj has joined
 686 2013-11-23 09:40:48 ircuser-6 has quit (Read error: Operation timed out)
 687 2013-11-23 09:41:18 dexX7 has quit (Ping timeout: 272 seconds)
 688 2013-11-23 09:41:43 <gmaxwell> gdoteof: it reads wallet.dats not json
 689 2013-11-23 09:42:03 <gmaxwell> I believe I expressed this several times, no? :P
 690 2013-11-23 09:42:28 Guyver2 has joined
 691 2013-11-23 09:42:30 <gmaxwell> gdoteof: the first argument is the file to read, the second is the new wallet.dat to write.
 692 2013-11-23 09:43:54 <gmaxwell> cat wallet1.dat wallet2.dat > merged.dat ; ./wallet-recover merged.dat  new.wallet.dat
 693 2013-11-23 09:44:28 denarius_btc has quit (Ping timeout: 272 seconds)
 694 2013-11-23 09:44:31 <sipa> Luke-Jr: in that foo example, i think it's perfectly legal for the compiler to deallocate foo - i think it's even the only correct thing to do. if you'd declare it as foo*, it would be different
 695 2013-11-23 09:44:59 hemry has joined
 696 2013-11-23 09:47:35 hemry has quit (Read error: Operation timed out)
 697 2013-11-23 09:47:57 <Luke-Jr> sipa: until recently, it was never allocated ;)
 698 2013-11-23 09:48:20 <Luke-Jr> just a constant data block in the RO binary memory
 699 2013-11-23 09:48:31 <Luke-Jr> it probably still isn't allocated..
 700 2013-11-23 09:48:38 <Luke-Jr> from the looks of it, GCC is just removing that code entirely
 701 2013-11-23 09:48:53 c0rw1n has joined
 702 2013-11-23 09:49:37 Tantadruj has quit (Quit: DoubleRecall Turns Paywalls Into Advertising Dollars - NYTimes.com http://nyti.ms/odHOgy)
 703 2013-11-23 09:51:23 iz has quit (Remote host closed the connection)
 704 2013-11-23 09:52:03 iz has joined
 705 2013-11-23 09:55:10 saulimus has quit (Ping timeout: 245 seconds)
 706 2013-11-23 09:56:00 <gdoteof> gmaxwell: ah.  i did it wrong. i just made a json file from dumpwallet; makes sense that it wouldn't work that way
 707 2013-11-23 09:56:08 saulimus has joined
 708 2013-11-23 09:56:55 agnostic98 has quit (Remote host closed the connection)
 709 2013-11-23 09:57:14 p15_ has joined
 710 2013-11-23 09:57:29 agnostic98 has joined
 711 2013-11-23 10:01:43 agnostic98 has quit (Ping timeout: 240 seconds)
 712 2013-11-23 10:02:28 Bituser123 has joined
 713 2013-11-23 10:03:06 drayah has quit (Remote host closed the connection)
 714 2013-11-23 10:03:45 drayah has joined
 715 2013-11-23 10:03:51 deepc0re has joined
 716 2013-11-23 10:04:12 johnsoft has quit (Ping timeout: 272 seconds)
 717 2013-11-23 10:04:19 johnsoft has joined
 718 2013-11-23 10:06:09 drayah_ has joined
 719 2013-11-23 10:08:04 drayah has quit (Ping timeout: 245 seconds)
 720 2013-11-23 10:09:17 drayah_ has quit (Remote host closed the connection)
 721 2013-11-23 10:09:46 eristisk has joined
 722 2013-11-23 10:10:14 Casimir1904 has quit (Ping timeout: 240 seconds)
 723 2013-11-23 10:10:24 drayah has joined
 724 2013-11-23 10:10:35 Emi has joined
 725 2013-11-23 10:10:40 saulimus has quit (Ping timeout: 265 seconds)
 726 2013-11-23 10:11:09 drayah has quit (Remote host closed the connection)
 727 2013-11-23 10:14:30 twbt has joined
 728 2013-11-23 10:17:25 macboz_ has quit (Quit: This computer has gone to sleep)
 729 2013-11-23 10:27:05 Xeno-Genesis has quit (Ping timeout: 246 seconds)
 730 2013-11-23 10:28:59 ircuser-6 has joined
 731 2013-11-23 10:33:31 TD has joined
 732 2013-11-23 10:37:33 rdymac has quit (Excess Flood)
 733 2013-11-23 10:38:13 one_zero has joined
 734 2013-11-23 10:39:22 rdymac has joined
 735 2013-11-23 10:45:47 Silverion has joined
 736 2013-11-23 10:47:09 PhantomGriffin has joined
 737 2013-11-23 10:47:17 saizai has joined
 738 2013-11-23 10:47:41 <saizai> so… FEC bitcoin AOR, v2, by us: https://docs.google.com/document/d/1Bt88bwEqMKjV3-onS6_KDV7AIvyOJSLz9eLA_vC_McE/edit - input welcome.
 739 2013-11-23 10:48:16 PhantomGriffin has left ()
 740 2013-11-23 10:48:51 cadaver has quit (Quit: This computer has gone to sleep)
 741 2013-11-23 10:51:50 Silverion has quit (Remote host closed the connection)
 742 2013-11-23 10:53:14 damethos has quit (Quit: Bye)
 743 2013-11-23 10:54:10 Thepok has quit (Ping timeout: 265 seconds)
 744 2013-11-23 10:54:47 Xeno-Genesis has joined
 745 2013-11-23 10:55:13 Fnar has quit (Quit: Client exiting)
 746 2013-11-23 10:58:01 agnostic98 has joined
 747 2013-11-23 10:59:20 deepc0re has quit (Quit: deepc0re)
 748 2013-11-23 11:02:07 agnostic98 has quit (Ping timeout: 240 seconds)
 749 2013-11-23 11:03:55 p15_ has quit (Ping timeout: 240 seconds)
 750 2013-11-23 11:04:22 squeakytoy has joined
 751 2013-11-23 11:11:24 <warren> https://bitcointalk.org/index.php?topic=337294  MacOS X corruption bounty now increased to 6BTC + 200LTC.
 752 2013-11-23 11:13:42 zrad has quit (Quit: Leaving)
 753 2013-11-23 11:14:00 mitz has quit (Read error: Connection reset by peer)
 754 2013-11-23 11:15:26 _pr has quit (Quit: Leaving)
 755 2013-11-23 11:17:19 <tommygunner> havent had any corruption in a while now
 756 2013-11-23 11:19:45 Bituser123 has quit (Ping timeout: 245 seconds)
 757 2013-11-23 11:19:54 Bituser123 has joined
 758 2013-11-23 11:22:15 debiantoruser has quit (Ping timeout: 245 seconds)
 759 2013-11-23 11:22:39 TD has quit (Quit: TD)
 760 2013-11-23 11:23:44 _ingsoc has quit (Quit: leaving)
 761 2013-11-23 11:23:50 <warren> tommygunner: figure out why
 762 2013-11-23 11:24:33 <tommygunner> just using the latest -Qt
 763 2013-11-23 11:25:08 <tommygunner> mavericks
 764 2013-11-23 11:29:11 reizuki has joined
 765 2013-11-23 11:29:27 debiantoruser has joined
 766 2013-11-23 11:29:34 CheckDavid has joined
 767 2013-11-23 11:30:39 Bituser123 has quit (Ping timeout: 246 seconds)
 768 2013-11-23 11:30:54 MiningBuddy has quit (Ping timeout: 265 seconds)
 769 2013-11-23 11:31:02 Bituser123 has joined
 770 2013-11-23 11:31:06 MiningBuddy has joined
 771 2013-11-23 11:32:46 go1111111 has quit (Ping timeout: 272 seconds)
 772 2013-11-23 11:33:29 Thepok has joined
 773 2013-11-23 11:35:03 Nesetalis has joined
 774 2013-11-23 11:36:38 Grouver has joined
 775 2013-11-23 11:38:24 martinn has joined
 776 2013-11-23 11:38:58 fanquake has quit (Quit: fanquake)
 777 2013-11-23 11:40:56 skinnkavaj has quit (Ping timeout: 246 seconds)
 778 2013-11-23 11:42:33 martinn has quit (Ping timeout: 246 seconds)
 779 2013-11-23 11:47:29 owowo has joined
 780 2013-11-23 11:47:32 Raziel has joined
 781 2013-11-23 11:49:39 PiZZaMaN2K has left (away!~PiZZaMaN2@unaffiliated/pizzaman2k|"Linkinus - http://linkinus.com")
 782 2013-11-23 11:50:41 <jgarzik> wumpus, ~/.bitcoin/bitcoin.conf contains rpcuser, rpcpassword and logtimestamps
 783 2013-11-23 11:50:58 <jgarzik> wumpus, bitcoind is started via -testnet -daemon -txindex=1
 784 2013-11-23 11:51:00 debiantoruser has quit (Ping timeout: 252 seconds)
 785 2013-11-23 11:51:26 ThomasV has quit (Read error: Operation timed out)
 786 2013-11-23 11:52:49 debiantoruser has joined
 787 2013-11-23 11:54:55 skinnkavaj has joined
 788 2013-11-23 11:54:58 skinnkavaj has quit (Changing host)
 789 2013-11-23 11:54:58 skinnkavaj has joined
 790 2013-11-23 11:58:40 Polyatomic has quit (Quit: Leaving)
 791 2013-11-23 11:58:44 robbak has quit (Read error: Connection reset by peer)
 792 2013-11-23 11:58:49 agnostic98 has joined
 793 2013-11-23 11:59:09 robbak has joined
 794 2013-11-23 12:05:01 Grouver has quit (Quit:  HydraIRC -> http://www.hydrairc.com <- Wibbly Wobbly IRC)
 795 2013-11-23 12:08:57 hemry has joined
 796 2013-11-23 12:12:22 hemry has quit (Remote host closed the connection)
 797 2013-11-23 12:12:44 tholenst has joined
 798 2013-11-23 12:15:15 t7 has joined
 799 2013-11-23 12:16:22 Emcy has joined
 800 2013-11-23 12:17:02 Xeno-Genesis has quit (Ping timeout: 252 seconds)
 801 2013-11-23 12:17:40 Grouver has joined
 802 2013-11-23 12:17:56 drayah has joined
 803 2013-11-23 12:18:26 drayah has quit (Remote host closed the connection)
 804 2013-11-23 12:19:44 starsoccer has joined
 805 2013-11-23 12:20:23 macboz_ has joined
 806 2013-11-23 12:22:25 c0rw1n has quit (Remote host closed the connection)
 807 2013-11-23 12:24:53 skinnkavaj has quit (Ping timeout: 245 seconds)
 808 2013-11-23 12:25:32 skinnkavaj has joined
 809 2013-11-23 12:26:19 Guyver2 has quit (Quit: :))
 810 2013-11-23 12:30:57 debiantoruser has quit (Read error: Operation timed out)
 811 2013-11-23 12:32:04 agnostic98 has quit (Ping timeout: 252 seconds)
 812 2013-11-23 12:35:11 TD has joined
 813 2013-11-23 12:37:12 debiantoruser has joined
 814 2013-11-23 12:39:43 hemry has joined
 815 2013-11-23 12:40:44 wyrag has joined
 816 2013-11-23 12:41:14 Xeno-Genesis has joined
 817 2013-11-23 12:42:49 Blasteris has joined
 818 2013-11-23 12:47:23 daybyter has joined
 819 2013-11-23 12:47:26 Belxjander has quit (Ping timeout: 248 seconds)
 820 2013-11-23 12:50:54 todamoon has joined
 821 2013-11-23 12:51:02 _ingsoc has joined
 822 2013-11-23 12:51:23 saizai has quit (Quit: saizai)
 823 2013-11-23 12:54:36 canooon has quit (Remote host closed the connection)
 824 2013-11-23 12:54:43 Animazing has joined
 825 2013-11-23 12:54:49 nadio has quit (Ping timeout: 246 seconds)
 826 2013-11-23 12:59:32 canoon has quit (Ping timeout: 272 seconds)
 827 2013-11-23 13:02:31 mynameis has quit (Quit: mynameis)
 828 2013-11-23 13:02:33 Estas-a-1-click- has joined
 829 2013-11-23 13:02:46 Estas-a-1-click- has left ()
 830 2013-11-23 13:03:21 nadio has joined
 831 2013-11-23 13:03:21 nadio has quit (Changing host)
 832 2013-11-23 13:03:21 nadio has joined
 833 2013-11-23 13:03:28 Namworld has quit ()
 834 2013-11-23 13:03:31 <tholenst> If I understand correctly, a while ago, IsCanonicalSignature(...) was added, because otherwise a valid transaction could be turned into another valid transaction spending the same output with a different hash, which would be annoying. See https://bitcointalk.org/index.php?topic=8392.msg127623#msg127623
 835 2013-11-23 13:04:42 <tholenst> Now, unless I made a mistake on testnet, you can simply double a signature in a transaction, and achieve the same result. The reason is that in script.cpp:909 when FindAndDelete(...) is called it deletes *all* occurences of the signature.
 836 2013-11-23 13:06:33 <CodeShark> the fundamental issue was that the transaction could be modified in transit and still be valid without requiring knowledge of the private keys
 837 2013-11-23 13:07:11 <tholenst> yeah, by doubling the signature it seems to me you achieve the same effect
 838 2013-11-23 13:07:56 <CodeShark> are you saying there's still a defect?
 839 2013-11-23 13:08:27 <tholenst> yes
 840 2013-11-23 13:09:17 <tholenst> This is the transaction I just gave my testnet bitcoind:
 841 2013-11-23 13:09:17 <tholenst> 0100000001e205665b7265cd101ccc5cbfda244d6ae64c4170a5b98625f6850742164b7c1900000000b4483045022100e81e874441149cfd0add9a421951f715daad0dd3d7c46716fbe529c24bfed1c502205603c1824d92bf991641612fe9d1d7a1839273f1fc17fa95906e27ea4abeb3b101483045022100e81e874441149cfd0add9a421951f715daad0dd3d7c46716fbe529c24bfed1c502205603c1824d92bf991641612fe9d1d7a1839273f1fc17fa95906e27ea4abeb3b101210367ecf75b8bccfa26b64a8d27405104c21ec7180e1a89bfcdcbe6349ac5e
 842 2013-11-23 13:10:38 <tholenst> when you decode it you will see that the signature starting with 3045022100e81... occurs twice; I just doubled it from a single instance and adopted the length of the script
 843 2013-11-23 13:10:46 <CodeShark> interesting...
 844 2013-11-23 13:10:53 <CodeShark> if you can do that that would indeed be a bug
 845 2013-11-23 13:11:50 <CodeShark> correct behavior should probably be to consider invalid any transaction that has two signatures that are identical
 846 2013-11-23 13:12:11 <tholenst> would be very nice if you double checked; just take a normal transaction after signing, double the signature (and adopt the length of the script) and see if you observe the same
 847 2013-11-23 13:12:27 <tholenst> (or someone else)
 848 2013-11-23 13:13:02 <CodeShark> if nobody has done this on mainnet I'd rather not do it since fixing this could lead to a fork
 849 2013-11-23 13:13:29 <tholenst> yeah on testnet
 850 2013-11-23 13:13:47 <CodeShark> the new rule would have to begin at a particular block height
 851 2013-11-23 13:13:54 int0x27h has quit (Changing host)
 852 2013-11-23 13:13:54 int0x27h has joined
 853 2013-11-23 13:14:16 <tholenst> I won't touch mainnet lol
 854 2013-11-23 13:14:27 <sipa> tholenst: i think it works, but because of another reason than what you say
 855 2013-11-23 13:14:47 <sipa> findanddelete removes the signature from the output script - which is not where the signature normally is
 856 2013-11-23 13:14:47 <tholenst> oh? what did i get wrong?
 857 2013-11-23 13:15:05 <sipa> adding extra junk onto the scriptSig is a known other way to get malleability
 858 2013-11-23 13:15:16 <sipa> it just never gets executed
 859 2013-11-23 13:15:21 <phrackage> there are a lot of wallet and private key formats... what is the most common?  I don't like having my coinage stuck in some obscure format for a particular client
 860 2013-11-23 13:15:47 <todamoon> anyone knows why bitcoin addresses cannot have more then 5 leading 0s?
 861 2013-11-23 13:16:05 <phrackage> Armory and Multibit have both screwed up in the past.  Armory stopped working and I had to mess around to recover the keys (install in a Linux VM etc)... Multibit refused to see my actual balance on one wallet, so i exported the keys and decrypted using gpg
 862 2013-11-23 13:16:05 <todamoon> base58check says that leading 0s can be omitted from the address
 863 2013-11-23 13:16:18 <todamoon> but i dont understand why addresses cannot be shorter then 27 characters
 864 2013-11-23 13:16:22 TD has quit (Quit: TD)
 865 2013-11-23 13:16:35 <CodeShark> leading zeros are not insignificant in base58 encoding
 866 2013-11-23 13:16:41 <CodeShark> 0 corresponds to the value 1
 867 2013-11-23 13:16:50 <CodeShark> err
 868 2013-11-23 13:16:51 <CodeShark> sorry
 869 2013-11-23 13:16:51 <todamoon> oh... so why some addresses are shorter?
 870 2013-11-23 13:17:21 <CodeShark> yeah, base58 avoids similar alphanumerics, like 1, I, and l
 871 2013-11-23 13:17:43 <tholenst> sipa: thx, thinking about it
 872 2013-11-23 13:18:11 <CodeShark> sorry, I meant the other way around
 873 2013-11-23 13:18:19 <CodeShark> the character 1 represents the value 0
 874 2013-11-23 13:18:31 <todamoon> yep i understand that
 875 2013-11-23 13:18:39 <CodeShark> the character 0 is not used at all
 876 2013-11-23 13:18:49 <todamoon> what i dont understand is why some addresses can be from 27 to 32 characters
 877 2013-11-23 13:19:01 <todamoon> i read that its because leading zeros can be omitted
 878 2013-11-23 13:19:06 <kjj> because each base58 character consumes a variable number of bits
 879 2013-11-23 13:19:15 <todamoon> oh ok
 880 2013-11-23 13:19:17 <kjj> and no, you can't omit anything
 881 2013-11-23 13:19:17 <sipa> tholenst: base58 works as follows: it converts the input bytes to a number, and then converts that number to base58
 882 2013-11-23 13:19:19 <CodeShark> two reasons: one is what kjj says
 883 2013-11-23 13:19:32 <sipa> tholenst: but if there are leading 0 bytes, each is turned into a single leading '1' in base58
 884 2013-11-23 13:19:45 <CodeShark> the other is what sipa just said
 885 2013-11-23 13:19:52 <sipa> tholenst: since that compresses data (1 full byte to a base58 character), the result is shorter
 886 2013-11-23 13:20:04 <CodeShark> actually, they are both the same fundamental reason
 887 2013-11-23 13:20:11 <sipa> ;;calc log(256)/log(58)
 888 2013-11-23 13:20:11 <gribble> 1.36565823731
 889 2013-11-23 13:20:29 <sipa> usually, every input byte is turned into ~1.37 base58 characters
 890 2013-11-23 13:20:32 <todamoon> kjj: makes sense
 891 2013-11-23 13:20:40 <sipa> but for leading bytes, that factor is 1 to 1
 892 2013-11-23 13:20:49 <sipa> leading zero bytes
 893 2013-11-23 13:21:10 ProfMac has quit (Ping timeout: 250 seconds)
 894 2013-11-23 13:21:26 <CodeShark> base58 is very quirky
 895 2013-11-23 13:23:08 LiDE_ has joined
 896 2013-11-23 13:23:48 <CodeShark> it would be far better if we had 6 more characters…but we run out of alphanumerics at 62 and end up with characters that are easily confused with one another
 897 2013-11-23 13:24:26 <sipa> it would be far better if we had used base32 with a 30-bit checksum
 898 2013-11-23 13:24:33 macboz_ has quit (Quit: This computer has gone to sleep)
 899 2013-11-23 13:24:41 <sipa> and an actual checksum instead of a cryptographic hash
 900 2013-11-23 13:24:46 <CodeShark> yeah, indeed
 901 2013-11-23 13:24:52 <kjj> meh.  my computer handles the details of base58.  the benefits of the encoding system far outweigh the nearly zero cost of the quirks
 902 2013-11-23 13:24:54 <CodeShark> perhaps something that supports error correcting codes
 903 2013-11-23 13:25:00 <sipa> actually
 904 2013-11-23 13:25:20 <sipa> it would have been far better if there was just no human-visible interface that showed cryptographic data
 905 2013-11-23 13:25:30 <CodeShark> sipa +1 :)
 906 2013-11-23 13:25:31 <sipa> (i.e., no addresses, just a payment protocol)
 907 2013-11-23 13:25:38 <CodeShark> sipa +10 :)
 908 2013-11-23 13:25:58 <kjj> never happen, as nice as you might wish it were
 909 2013-11-23 13:26:38 <CodeShark> kjj: so you expect users to continue just copy/pasting with the clipboard until the end of time?
 910 2013-11-23 13:27:08 <kjj> not often, but yes
 911 2013-11-23 13:29:08 <CodeShark> is the restriction to alphanumerics really that critical?
 912 2013-11-23 13:29:19 agnostic98 has joined
 913 2013-11-23 13:29:33 <CodeShark> I guess it helps with text editors and ensures no escape sequences
 914 2013-11-23 13:29:36 <kjj> for human-facing stuff?  absolutely
 915 2013-11-23 13:30:06 <CodeShark> or otherwise special characters (i.e. urlencoding)
 916 2013-11-23 13:31:12 <CodeShark> what is at least a tad bit absurd is using qr codes atop base58 :)
 917 2013-11-23 13:31:41 <kjj> yeah, that's pretty silly.
 918 2013-11-23 13:31:55 <todamoon> kjj: so, the shortest address would be a bunch of 'x' ?
 919 2013-11-23 13:31:55 <kjj> but it is hard to get away from
 920 2013-11-23 13:33:05 <todamoon> 1xxx...
 921 2013-11-23 13:33:33 <CodeShark> the shortest address begins with a bunch of 1's
 922 2013-11-23 13:34:03 <CodeShark> the base58 encoding of 32 bytes, all 0
 923 2013-11-23 13:34:06 agnostic98 has quit (Ping timeout: 272 seconds)
 924 2013-11-23 13:34:29 <CodeShark> bitcoins have been sent to it
 925 2013-11-23 13:34:32 <CodeShark> lol
 926 2013-11-23 13:34:46 <CodeShark> never to be seen again
 927 2013-11-23 13:35:01 ThomasV has joined
 928 2013-11-23 13:35:01 _ingsoc has quit (Quit: leaving)
 929 2013-11-23 13:35:03 <todamoon> i meant shortest in terms of characters
 930 2013-11-23 13:35:09 <CodeShark> yes, that's what I mean
 931 2013-11-23 13:35:14 <todamoon> a bunch of 1s would be 32 characters no?
 932 2013-11-23 13:35:33 _ingsoc has joined
 933 2013-11-23 13:35:35 <todamoon> a bunch of x would be 27 characters if im not mistaken
 934 2013-11-23 13:35:40 <CodeShark> the shortest bitcoin addresses all begin with a bunch of 1's
 935 2013-11-23 13:37:04 <CodeShark> err, 20 bytes
 936 2013-11-23 13:37:08 <CodeShark> not 32
 937 2013-11-23 13:37:27 <CodeShark> 1111111111111111111114oLvT2
 938 2013-11-23 13:37:48 <CodeShark> https://blockchain.info/address/1111111111111111111114oLvT2
 939 2013-11-23 13:37:56 <Emi> hi
 940 2013-11-23 13:38:24 <tholenst> more than US$2000 on that address :)
 941 2013-11-23 13:38:54 <matjeh> the private key is most likely unknown for that address, correct?
 942 2013-11-23 13:38:58 <kjj> that is a degenerate address.  there probably is no private key that can be multiplied by G to get a pubkey of all zeros
 943 2013-11-23 13:39:04 <CodeShark> matjeh, I'd say it's a pretty safe bet
 944 2013-11-23 13:39:52 <tholenst> if you can find something which hashes onto whatever string this encodes, you are a famous cryptographer
 945 2013-11-23 13:40:01 <matjeh> kjj: why? its an output of ripemd160 anyway...
 946 2013-11-23 13:40:10 <matjeh> so we dont know what the pubkey is
 947 2013-11-23 13:40:26 <todamoon> interesting
 948 2013-11-23 13:40:42 <kjj> yeah, true.  but there are a bunch of degenerate addresses like that
 949 2013-11-23 13:40:59 <todamoon> so some bytes require more than 1 character in base58?
 950 2013-11-23 13:41:11 <matjeh> without knowing the pubkey, i cant see how you can state it is degenerate
 951 2013-11-23 13:41:15 <kjj> there is an address that corresponds to the all zeros pubkey, and to the all 1s pubkey, and to the all 1s hash, etc, etc
 952 2013-11-23 13:41:32 <CodeShark> 58 is not a power of 8, so necessarily we cannot simply split the numeral into tuples
 953 2013-11-23 13:41:38 <CodeShark> corresponding to bytes
 954 2013-11-23 13:41:53 <todamoon> im trying to answer that question https://bitcointalk.org/index.php?topic=343941.0
 955 2013-11-23 13:42:12 <kjj> gribble calculated the average bits consumed by each base58 character earlier
 956 2013-11-23 13:42:24 <todamoon> cool
 957 2013-11-23 13:43:40 drayah has joined
 958 2013-11-23 13:44:13 drayah has quit (Remote host closed the connection)
 959 2013-11-23 13:45:30 <CodeShark> *multiple, not power
 960 2013-11-23 13:46:26 one_zero has quit ()
 961 2013-11-23 13:46:32 datagutt has quit (Quit: kthxbai)
 962 2013-11-23 13:46:58 drayah has joined
 963 2013-11-23 13:47:13 datagutt has joined
 964 2013-11-23 13:47:59 gritball_ has quit (Read error: Connection reset by peer)
 965 2013-11-23 13:48:16 gritball has joined
 966 2013-11-23 13:50:01 HaltingState has quit (Remote host closed the connection)
 967 2013-11-23 13:51:55 Tom_Soft has joined
 968 2013-11-23 13:52:35 HaltingState has joined
 969 2013-11-23 13:55:41 Blasteris has quit (Ping timeout: 241 seconds)
 970 2013-11-23 13:58:12 xiangfu has quit (Remote host closed the connection)
 971 2013-11-23 13:58:13 <CodeShark> I guess using qr codes atop base58 is necessary as long as people continue to use base58 text and want to be able to use general tools to create qr codes
 972 2013-11-23 13:58:36 <CodeShark> damn you base58!
 973 2013-11-23 13:59:23 shamoon has joined
 974 2013-11-23 13:59:32 CheckDavid has quit (Quit: Leaving)
 975 2013-11-23 13:59:40 <shamoon> i have 2 wallets running... botth are up to block 148011 on testnet
 976 2013-11-23 13:59:47 <shamoon> txid 6b1c51fbdb98af0684a7c5e2ac187fa561d330e7dabf6dc28efec3e35ae185f1 is not found on one of them
 977 2013-11-23 13:59:48 <shamoon> why would that be?
 978 2013-11-23 13:59:57 <shamoon> http://testnet.btclook.com/txn/6b1c51fbdb98af0684a7c5e2ac187fa561d330e7dabf6dc28efec3e35ae185f1 - it confirmed hours ago
 979 2013-11-23 14:00:10 <shamoon> ./bitcoind getrawtransaction 6b1c51fbdb98af0684a7c5e2ac187fa561d330e7dabf6dc28efec3e35ae185f1 1
 980 2013-11-23 14:00:10 <shamoon> error: {"code":-5,"message":"No information available about transaction"}
 981 2013-11-23 14:00:28 <CodeShark> you mean you created wallet.dat on one instance, copied it over to another instance?
 982 2013-11-23 14:00:35 ValicekB has quit (Ping timeout: 246 seconds)
 983 2013-11-23 14:00:46 <shamoon> no
 984 2013-11-23 14:00:49 <shamoon> 2 separate wallet.dats
 985 2013-11-23 14:00:52 <shamoon> i means i'm running 2 instances
 986 2013-11-23 14:01:03 <kjj> did you turn indexing on?
 987 2013-11-23 14:01:05 <CodeShark> then you don't have the tx indexed
 988 2013-11-23 14:01:33 <shamoon> but it says:     "blocks" : 148011,
 989 2013-11-23 14:01:37 <shamoon> so they're caught up to the same block
 990 2013-11-23 14:01:53 <kjj> the node doesn't, by default, keep track of all transactions unless you tell it to
 991 2013-11-23 14:02:00 <CodeShark> by default, bitcoind does not index transactions that are not yours
 992 2013-11-23 14:02:03 robbak has quit (Remote host closed the connection)
 993 2013-11-23 14:02:06 <shamoon> interesting
 994 2013-11-23 14:02:08 <tholenst> i have that tx in the index, "./bitcoind getrawtransaction 6b1c51fbdb98af0684a7c5e2ac187fa561d330e7dabf6dc28efec3e35ae185f1" returns it
 995 2013-11-23 14:02:19 <shamoon> so how do i turn on indexing?
 996 2013-11-23 14:02:29 robbak has joined
 997 2013-11-23 14:02:40 <kjj> if you don't tell it to, it only tracks transacations that involve the local wallet
 998 2013-11-23 14:02:43 <tholenst> txindex=1 in bitcoin.conf, or -txindex=1 as argument
 999 2013-11-23 14:02:45 <CodeShark> add txindex=1 to the config file
1000 2013-11-23 14:03:09 <shamoon> is this new?
1001 2013-11-23 14:03:14 <kjj> new-ish
1002 2013-11-23 14:03:29 <shamoon> https://gist.github.com/anonymous/2cf54ab7c73f84b2446f
1003 2013-11-23 14:03:31 <shamoon> so like that?
1004 2013-11-23 14:03:43 <shamoon> when i restart bitcoin, will it start to index automatically?
1005 2013-11-23 14:03:49 <shamoon> or do i need to reindex?
1006 2013-11-23 14:03:52 <CodeShark> txindex, not index
1007 2013-11-23 14:03:53 damethos has joined
1008 2013-11-23 14:03:57 <shamoon> oops
1009 2013-11-23 14:03:59 <CodeShark> and no, you shouldn't need to reindex
1010 2013-11-23 14:04:02 <Emi> What is dev?
1011 2013-11-23 14:04:21 <CodeShark> devil
1012 2013-11-23 14:05:08 <shamoon> Error: You need to rebuild the databases using -reindex to change -txindex
1013 2013-11-23 14:05:19 <tholenst> well, then you need to reindex :)
1014 2013-11-23 14:05:20 <CodeShark> or, hmm - I guess you do need to run with -reindex
1015 2013-11-23 14:05:22 <shamoon> so i do have to reindex
1016 2013-11-23 14:05:23 <CodeShark> :p
1017 2013-11-23 14:05:25 <shamoon> =)
1018 2013-11-23 14:05:26 <CodeShark> but just the first time
1019 2013-11-23 14:05:35 <shamoon> how new is this?
1020 2013-11-23 14:05:47 <CodeShark> it's been there at least several months
1021 2013-11-23 14:05:47 <kjj> 0.8
1022 2013-11-23 14:06:03 <shamoon> thanks
1023 2013-11-23 14:06:18 CheckDavid has joined
1024 2013-11-23 14:06:23 ValicekB has joined
1025 2013-11-23 14:07:18 <shamoon> damn - now i gotta wait =/
1026 2013-11-23 14:07:48 drayah has quit (Remote host closed the connection)
1027 2013-11-23 14:08:22 saizai has joined
1028 2013-11-23 14:09:24 <shamoon> ./bitcoind getbalance 0
1029 2013-11-23 14:09:32 <shamoon> will that get the balance of all unconfirmed on my server?
1030 2013-11-23 14:09:39 <shamoon> or do i need to specify an account?
1031 2013-11-23 14:09:39 <CodeShark> unfortunately, no
1032 2013-11-23 14:09:47 <CodeShark> I wish that were the behavior
1033 2013-11-23 14:09:52 <shamoon> hmm
1034 2013-11-23 14:09:59 <CodeShark> that got changed a few versions ago, for some silly reason
1035 2013-11-23 14:10:05 <CodeShark> it used to behave like that
1036 2013-11-23 14:10:05 <shamoon> what's it do now?
1037 2013-11-23 14:10:25 <CodeShark> I think it's the same as getbalance 1
1038 2013-11-23 14:10:35 <shamoon> what about the account?
1039 2013-11-23 14:10:37 <CodeShark> or getbalance
1040 2013-11-23 14:10:57 Blasteris has joined
1041 2013-11-23 14:11:10 <CodeShark> I mean, getbalance * 0
1042 2013-11-23 14:11:12 <shamoon> is there any way to get the entire balance? including unconfirmed
1043 2013-11-23 14:11:18 <CodeShark> the first parameter is the account name
1044 2013-11-23 14:11:25 <CodeShark> * is the wildcard
1045 2013-11-23 14:11:37 <shamoon> so ./bitcoind getbalance * 0
1046 2013-11-23 14:11:38 <shamoon> won't do it?
1047 2013-11-23 14:11:49 <CodeShark> last time I tried it didn't
1048 2013-11-23 14:11:50 Belxjander has joined
1049 2013-11-23 14:12:44 <shamoon> hmm
1050 2013-11-23 14:12:50 <CodeShark> it actually broke a bunch of stuff I had done before
1051 2013-11-23 14:13:06 <CodeShark> I no longer rely on the RPC for programmatic access, though
1052 2013-11-23 14:13:30 <tholenst> ./bitcoind help getbalance tells me (among other things): "If [account] is not specified, returns the server's total available balance."
1053 2013-11-23 14:15:07 <shamoon> CodeShark: then what do you rely on?
1054 2013-11-23 14:15:12 <CodeShark> yes, "available" means one confirmation or more
1055 2013-11-23 14:15:13 <tholenst> oh i see what you're asking now :) i guess the above doesn't answer the question
1056 2013-11-23 14:15:28 <CodeShark> shamoon: I have my own bitcoin stack
1057 2013-11-23 14:15:39 <Belxjander> CodeShark: did you write your own ?
1058 2013-11-23 14:15:46 <CodeShark> Belxjander: yes
1059 2013-11-23 14:16:13 <Belxjander> CodeShark: I am considering quite how to do that for an OS currently not supported
1060 2013-11-23 14:16:48 <CodeShark> what OS?
1061 2013-11-23 14:17:14 <Emi> can I say FUCK in here?
1062 2013-11-23 14:17:34 <CodeShark> only in the context of something witty, meaningful, or otherwise intelligent
1063 2013-11-23 14:17:48 p15_ has joined
1064 2013-11-23 14:17:54 eristisk has quit (Ping timeout: 240 seconds)
1065 2013-11-23 14:20:12 <shamoon> how do you interact with your wallet?
1066 2013-11-23 14:20:51 <CodeShark> bitcoind wallets I only use via CLI - for anything that requires programmatic access, I have my own wallet
1067 2013-11-23 14:21:45 <CodeShark> bitcoind's RPC is crap for wallet stuff :p
1068 2013-11-23 14:21:55 <Belxjander> CodeShark: AmigaOS 4.1.6 with updates
1069 2013-11-23 14:22:27 <Belxjander> I currently rely on an Android device that I only connect by Wifi for trading/wallet support right now
1070 2013-11-23 14:23:08 Xeno-Genesis has quit (Ping timeout: 272 seconds)
1071 2013-11-23 14:23:20 <CodeShark> hmm, well the greatest difficulty in porting would probably be libraries
1072 2013-11-23 14:24:43 robocoin_ is now known as robocoin
1073 2013-11-23 14:24:48 <CodeShark> my stack depends heavily on boost and also on OpenSSL(although not as heavily)
1074 2013-11-23 14:24:58 <CodeShark> OpenSSL could be fairly easily swapped for another crypto lib
1075 2013-11-23 14:26:02 xiangfu has joined
1076 2013-11-23 14:26:25 <CodeShark> bitcoind also depends on these two libraries, of course
1077 2013-11-23 14:27:40 <CodeShark> I know next to nothing about AmigaOS, though :p
1078 2013-11-23 14:28:54 <Emi> I keep getting banned for saying FUCK
1079 2013-11-23 14:28:55 <Emi> :/
1080 2013-11-23 14:29:29 <sipa> Emi: can you contribute something useful to the discussion instead?
1081 2013-11-23 14:29:55 <Emi> Hmmm
1082 2013-11-23 14:30:01 agnostic98 has joined
1083 2013-11-23 14:30:02 <Emi> I like bitcoins
1084 2013-11-23 14:30:43 <shamoon> is there no way for me to get the total wallet balance (including unconfirmed)?
1085 2013-11-23 14:31:04 eristisk has joined
1086 2013-11-23 14:31:18 <sipa> getbalance?
1087 2013-11-23 14:31:35 <shamoon> that doesn't get 0 conf's
1088 2013-11-23 14:31:41 <sipa> if you pass minconf as 0, it will
1089 2013-11-23 14:31:52 <shamoon> ./bitcoind getbalance '*' 0
1090 2013-11-23 14:31:53 <shamoon> ?
1091 2013-11-23 14:31:59 <sipa> yes
1092 2013-11-23 14:32:17 <sipa> it may differ between the accounts-based and non-accounts based version
1093 2013-11-23 14:32:56 <shamoon> sipa: https://gist.github.com/anonymous/9e3b1fed5ac6939fa9b7
1094 2013-11-23 14:32:59 <shamoon> no dice
1095 2013-11-23 14:33:04 <shamoon> i should have 0.007
1096 2013-11-23 14:33:08 <shamoon> but getbalnace shows me 0.003
1097 2013-11-23 14:33:12 <shamoon> and i JUST sent 0.004
1098 2013-11-23 14:33:17 <Emi> What's the difference between #bitcoin and #bitcoin-dev?
1099 2013-11-23 14:33:39 <sipa> Emi: this channel is about development of the sysem
1100 2013-11-23 14:33:39 <CodeShark> I forgot which commit it was that changed this - the behavior used to be that getbalance * 0 gave you total balance including unconfirmed
1101 2013-11-23 14:33:39 K1773R has quit (Quit: /dev/null)
1102 2013-11-23 14:33:44 viperhr has joined
1103 2013-11-23 14:34:06 <sipa> shamoon: that looks correct to me?
1104 2013-11-23 14:34:16 <sipa> if you sent  0.004, it won't be counted
1105 2013-11-23 14:34:26 <CodeShark> the current behavior is nothing shows until it's confirmed
1106 2013-11-23 14:34:31 <shamoon> right, that's what i want... a TOTAL balance, including unconf
1107 2013-11-23 14:34:39 <sipa> so, is 0.004 wrong?
1108 2013-11-23 14:34:46 <sipa> eh, 0.003
1109 2013-11-23 14:34:49 <shamoon> right
1110 2013-11-23 14:34:51 <shamoon> it should be .007
1111 2013-11-23 14:34:54 <sipa> why?
1112 2013-11-23 14:35:16 <sipa> things you did yourself are always considered final
1113 2013-11-23 14:35:23 <gulli> So you choose a chaincode and a master-string when creating a HD-wallet right?
1114 2013-11-23 14:35:30 <shamoon> it's from 2 diff wallets
1115 2013-11-23 14:35:30 <sipa> gulli: no, you choose a seed
1116 2013-11-23 14:35:35 nsh- has joined
1117 2013-11-23 14:35:38 copumpkin has quit (Ping timeout: 252 seconds)
1118 2013-11-23 14:35:50 <gulli> https://en.bitcoin.it/wiki/BIP_0032_TestVectors
1119 2013-11-23 14:36:01 <gulli> the first seed here, is 000102030405060708090a0b0c0d0e0f
1120 2013-11-23 14:36:03 <shamoon> sipa: i didn't self send
1121 2013-11-23 14:36:06 <gulli> right?
1122 2013-11-23 14:36:12 <sipa> gulli: yes
1123 2013-11-23 14:36:17 <sipa> shamoon: how do you mean?
1124 2013-11-23 14:36:24 <shamoon> i have 2 instances (2 wallets)
1125 2013-11-23 14:36:26 K1773R has joined
1126 2013-11-23 14:36:30 <shamoon> from 1 of them, i sent 0.004 to the other one
1127 2013-11-23 14:36:40 <shamoon> and on the recipient one, ./bitcoind listreceivedbyaddress 0 true
1128 2013-11-23 14:36:43 <shamoon> shows the 0.007
1129 2013-11-23 14:36:47 <shamoon> but getbalance shows only .003
1130 2013-11-23 14:36:47 <gulli> I see in bitcoinJ you can also supply a chain code if you want, but you dont have to I think
1131 2013-11-23 14:37:04 nsh has quit (Ping timeout: 272 seconds)
1132 2013-11-23 14:37:18 <sipa> shamoon: ah
1133 2013-11-23 14:37:27 <sipa> shamoon: and if you use getbalance game 0?
1134 2013-11-23 14:37:27 <CodeShark> what's the git command for checking which commits involved some particular text?
1135 2013-11-23 14:37:27 ApexBionic has left ()
1136 2013-11-23 14:37:35 <sipa> CodeShark: no idea
1137 2013-11-23 14:37:37 <shamoon> .007
1138 2013-11-23 14:37:43 <Emi> Oh I see
1139 2013-11-23 14:37:58 <sipa> shamoon: ok, there's some known differences between how the account and global balance computation works
1140 2013-11-23 14:38:09 <shamoon> https://gist.github.com/anonymous/c2685e168ca858f4e396
1141 2013-11-23 14:38:14 eristisk has quit (Ping timeout: 240 seconds)
1142 2013-11-23 14:38:14 <sipa> afk
1143 2013-11-23 14:38:20 <shamoon> so to sum up the total
1144 2013-11-23 14:38:24 <CodeShark> whatever commit changed getbalance in rpcwallet.cpp [specifically if (!wtx.IsConfirmed())) continue;]
1145 2013-11-23 14:38:27 <shamoon> i should use listreceivedbyaddress?
1146 2013-11-23 14:38:42 <CodeShark> some commit added that a few months back
1147 2013-11-23 14:38:50 deepc0re has joined
1148 2013-11-23 14:39:08 <shamoon> or ./bitcoind listreceivedbyaccount 0 true
1149 2013-11-23 14:39:09 <CodeShark> that means unconfirmed transactions are ALWAYS ignored in the calculation
1150 2013-11-23 14:39:12 <CodeShark> regardless of parameters
1151 2013-11-23 14:39:13 <shamoon> and just sum it up?
1152 2013-11-23 14:39:21 <shamoon> ./bitcoind listreceivedbyaccount 0 true is still good, right? CodeShark sipa?
1153 2013-11-23 14:39:40 drayah has joined
1154 2013-11-23 14:40:09 <tholenst> CodeShark, i guess "git blame"? It gives "d28bd8b7 (Gavin Andresen           2013-02-04 14:04:26 -0500  543)             if (!wtx.IsConfirmed())" for your line
1155 2013-11-23 14:40:18 <CodeShark> well, there you go :P
1156 2013-11-23 14:40:25 <CodeShark> blame Gavin
1157 2013-11-23 14:40:26 <CodeShark> lol
1158 2013-11-23 14:40:49 <gulli> https://en.bitcoin.it/wiki/BIP_0032_TestVectors   What is the Secret Key? It's not the seed and not the chain code
1159 2013-11-23 14:40:56 <sipa> gulli: read BIP32
1160 2013-11-23 14:41:54 <CodeShark> thanks, tholenst
1161 2013-11-23 14:42:26 <CodeShark> https://github.com/bitcoin/bitcoin/commit/d28bd8b7ca2d0d9ad5f01e005b49acdd3a9eb917
1162 2013-11-23 14:43:32 <gulli> sipa, I did, still trying to get my head around it
1163 2013-11-23 14:44:13 <sipa> BIP32 reasons in terms of extended keys, keys with a chain code associated with them
1164 2013-11-23 14:44:22 <sipa> there are private extended keys and public extended keys
1165 2013-11-23 14:44:25 <CodeShark> unfortunately, the cure seems worse than the disease for this commit
1166 2013-11-23 14:44:52 <sipa> it constructs these in a tree, you start from a master private extended key with associated master public extended key
1167 2013-11-23 14:45:16 <sipa> from extended keys you can compute the child extended keys
1168 2013-11-23 14:45:25 <sipa> to generate the master however, you start from a seed
1169 2013-11-23 14:45:32 <sipa> and now i'm off
1170 2013-11-23 14:46:34 jaakkos has quit (Read error: Operation timed out)
1171 2013-11-23 14:46:37 Zarutian has joined
1172 2013-11-23 14:47:20 viperhr has quit (Remote host closed the connection)
1173 2013-11-23 14:47:44 drayah has quit (Ping timeout: 252 seconds)
1174 2013-11-23 14:48:38 jaakkos has joined
1175 2013-11-23 14:49:31 <CodeShark> the RPC design should not really treat the 0 parameter case as special - it should simply use '*' as a default parameter, IMHO
1176 2013-11-23 14:49:45 <CodeShark> but there's a redundancy in how balance is calculated
1177 2013-11-23 14:50:21 <CodeShark> the balance is either calculated by the wallet method GetBalance or it is calculated inside the getbalance RPC method itself by iterating through the wallet transactions
1178 2013-11-23 14:50:37 markus__ has joined
1179 2013-11-23 14:50:53 eristisk has joined
1180 2013-11-23 14:51:01 <CodeShark> the RPC method probably shouldn't be performing this calculation directly
1181 2013-11-23 14:51:02 debiantoruser has quit (Ping timeout: 252 seconds)
1182 2013-11-23 14:51:08 <CodeShark> it should be always calling a wallet method
1183 2013-11-23 14:51:33 <CodeShark> the real fix would involve doing this rather than adding the IsConfirmed line
1184 2013-11-23 14:51:38 <Belxjander> CodeShark: back again... AmigaOS has a native OpenSSL port ...but only an older boost port
1185 2013-11-23 14:51:40 <shamoon> if i have a .001 input and i want to send it to 2 addresses, (0.0001 and 0.00099) - how would i calculate the fee on that?
1186 2013-11-23 14:51:56 rdymac has quit (Excess Flood)
1187 2013-11-23 14:52:11 <Belxjander> CodeShark: the main issue is that process creation does not happen in the "fork()" manner that unix based tools expect
1188 2013-11-23 14:52:40 <shamoon> 0100000001829554b4aa4d85cd5d577329e36788a78190f55d920086e3c7bdf951df0bf0cc0100000000ffffffff0328230000000000001976a91423d4adb2e2953dcd4927cb7b3b4272cf540e30fc88ace8030000000000001976a914ba52681d1f2f8714200ce40245ecb57d84fe31a388ac10270000000000001976a91466b6f9c1da1bf463a10a3f0b1b867dbf6517fe1488ac00000000
1189 2013-11-23 14:52:41 <shamoon> this tx keeps getting rejected
1190 2013-11-23 14:52:41 <Belxjander> any code that is run through "CreateProc()" actually needs to run as a function entrypoint
1191 2013-11-23 14:52:45 <shamoon> error -22
1192 2013-11-23 14:54:02 <gulli> Yeah I know that about HD wallets :) But I don't get that "secret key"
1193 2013-11-23 14:54:05 deepc0re has quit (Quit: deepc0re)
1194 2013-11-23 14:55:25 <sipa> gulli: secret key and private key is the same thing
1195 2013-11-23 14:55:47 <gulli> ahh thanks
1196 2013-11-23 14:55:48 AusBitBank has quit (Ping timeout: 252 seconds)
1197 2013-11-23 14:56:00 <sipa> is bip32 inconsistent?
1198 2013-11-23 14:56:05 <sipa> in which it uses
1199 2013-11-23 14:56:33 nsh- has quit (Ping timeout: 245 seconds)
1200 2013-11-23 14:56:52 rdymac has joined
1201 2013-11-23 14:57:07 Xeno-Genesis has joined
1202 2013-11-23 14:57:21 <gulli> Well, it uses master key for "seed"
1203 2013-11-23 14:57:29 <CodeShark> Belxjander: hmm, I'm not sure I entirely understand that issue
1204 2013-11-23 14:57:35 <sipa> no, the master key and the seed are not the same thing
1205 2013-11-23 14:57:46 <sipa> you use the seed to generate the master key
1206 2013-11-23 14:57:51 <shamoon> to send a raw tx, i just need to do createrawtransaction then sendtrawtransaction, right?
1207 2013-11-23 14:57:56 <sipa> from the master key, you generate the child keys
1208 2013-11-23 14:58:05 <sipa> each key has a private and public form
1209 2013-11-23 14:58:06 <Apocalyptic> shamoon, you may want to sign it in between
1210 2013-11-23 14:58:16 <shamoon> Apocalyptic: may want to or have to?
1211 2013-11-23 14:58:23 <gulli> ok, im gonna read more and experiment more with this
1212 2013-11-23 14:58:26 <gulli> thanks sipa
1213 2013-11-23 14:58:30 <Apocalyptic> if you want the network to accept it, you have to
1214 2013-11-23 14:58:33 Scrat has quit (Quit: .)
1215 2013-11-23 14:59:02 <shamoon> how do i sign it? specifically, what do the parameters mean?
1216 2013-11-23 14:59:03 <shamoon> signrawtransaction <hex string> [{"txid":txid,"vout":n,"scriptPubKey":hex},...] [<privatekey1>,...] [sighash="ALL"]
1217 2013-11-23 14:59:07 <shamoon> i get the hex string
1218 2013-11-23 14:59:10 saizai has quit (Quit: saizai)
1219 2013-11-23 14:59:10 <CodeShark> create transaction, sign transaction, send transaction is the correct sequence for sending transactions programmatically - doing it in a single function call is unsafe
1220 2013-11-23 14:59:41 <Apocalyptic> please read the wiki about that
1221 2013-11-23 15:00:15 <Apocalyptic> shamoon, or follow https://people.xiph.org/~greg/signdemo.txt
1222 2013-11-23 15:00:22 <Belxjander> CodeShark: certain functions from Unix/Linux/win32 such as "fork()" are just completely missing
1223 2013-11-23 15:00:24 <CodeShark> using sendtoaddress or sendmany programmatically should be discouraged
1224 2013-11-23 15:00:37 <shamoon> brilliant
1225 2013-11-23 15:00:39 <Apocalyptic> CodeShark, huh, why so ,
1226 2013-11-23 15:00:40 <CodeShark> if something happens (i.e. program crashes) you can't recover easily
1227 2013-11-23 15:00:40 <Belxjander> CodeShark: so certain "features" as part of boost and other libraries don't get built at all
1228 2013-11-23 15:01:01 <Apocalyptic> CodeShark, what about sendfrom ?
1229 2013-11-23 15:01:18 <CodeShark> Apocalyptic: same deal
1230 2013-11-23 15:01:41 <CodeShark> if program crashes in the middle of the call, you cannot be sure whether or not it got broadcast
1231 2013-11-23 15:01:48 <shamoon> is that why i get a -22 error when attempting to send?
1232 2013-11-23 15:01:49 <Apocalyptic> yeah
1233 2013-11-23 15:01:49 <CodeShark> to recover, you cannot just send again
1234 2013-11-23 15:01:56 <shamoon> because i haven't signed it?
1235 2013-11-23 15:01:56 <Apocalyptic> but that's not a big deal
1236 2013-11-23 15:02:20 <Apocalyptic> as bitcoind automatically broadcast own unconfirmed tx until they are
1237 2013-11-23 15:02:31 <Apocalyptic> so of course you can just broadcast it again
1238 2013-11-23 15:02:40 <CodeShark> point is it might have crashed before the transaction even got signed
1239 2013-11-23 15:02:47 <CodeShark> or power switched off
1240 2013-11-23 15:02:49 <CodeShark> or whatever
1241 2013-11-23 15:02:54 <Apocalyptic> then it's no big deal either
1242 2013-11-23 15:03:14 agnostic98 has quit (Ping timeout: 246 seconds)
1243 2013-11-23 15:03:16 <CodeShark> Belxjander: ah, I see
1244 2013-11-23 15:04:11 <Belxjander> CodeShark: I am also wanting to become more familiar with the internals of the way BitcoinD and the BitCoin wallet handling works
1245 2013-11-23 15:04:25 <Belxjander> so that I can take the official project and write a wrapper around it and have it usable
1246 2013-11-23 15:04:39 <shamoon> Apocalyptic: https://people.xiph.org/~greg/signdemo.txt where do i get the hex from?
1247 2013-11-23 15:04:45 <shamoon> "hex" : "01000000010c432f4fb3e871a8bda638350b3d5c698cf431db8d6031b53e3fb5159e59d4a9000000006b48304502201123d735229382f75496e84ae5831871796ef78726805adc2c6edd36d23e7210022100faceab822a4943309c4b6b61240ae3a9e18ed90a75117c5dc4bfd8f7e17a21d301210367ce0a1c3b3e84cece6dad1a181d989d8e490b84f5431a1f778a88b284c935e6ffffffff0100f2052a010000001976a9143744841e13b90b4aca16fe793a7f88da3a23cc7188ac00000000",
1248 2013-11-23 15:05:07 viperhr has joined
1249 2013-11-23 15:05:08 debiantoruser has joined
1250 2013-11-23 15:05:29 <Apocalyptic> it's all explained all the way, look at the bitcoind commands used
1251 2013-11-23 15:05:54 beethoven8201 has quit (Ping timeout: 240 seconds)
1252 2013-11-23 15:06:06 <Apocalyptic> that's the signed tx, output of signrawtransaction
1253 2013-11-23 15:06:13 <shamoon> If we're happy, we'll sign. We need to provide the scriptpubkey of the inputs we're signing so our offline wallet knows which of its keys to use.
1254 2013-11-23 15:06:15 <shamoon> Apocalyptic:
1255 2013-11-23 15:06:22 <shamoon> okay, i got the scriptpubkey
1256 2013-11-23 15:06:24 <shamoon> i got the bout
1257 2013-11-23 15:06:25 <shamoon> vout
1258 2013-11-23 15:06:26 <shamoon> txid
1259 2013-11-23 15:06:28 beethoven8201 has joined
1260 2013-11-23 15:06:30 <shamoon> but the third param, i'm not sure about
1261 2013-11-23 15:07:10 <CodeShark> Apocalyptic: there are ways to recover even after sendmany, sendtoaddress, sendfrom, etc… but recovery is more complicated
1262 2013-11-23 15:07:47 <Apocalyptic> of course there are
1263 2013-11-23 15:08:10 <Apocalyptic> i'm not sure what's the probability of bitcoind crashing at that moment
1264 2013-11-23 15:08:17 <Apocalyptic> i expect them to be very low
1265 2013-11-23 15:08:23 <CodeShark> also, using single calls forever bounds you to relying on the same process to perform all three functions
1266 2013-11-23 15:08:35 <CodeShark> which won't scale for enterprise purposes
1267 2013-11-23 15:08:37 <shamoon> Apocalyptic: ahhh.. the third thing is the response
1268 2013-11-23 15:08:39 <shamoon> not a param
1269 2013-11-23 15:08:43 <Apocalyptic> yes
1270 2013-11-23 15:09:16 <CodeShark> but the bitcoind wallet won't scale for enterprise purposes anyhow, I suppose :p
1271 2013-11-23 15:11:03 markus__ has quit (Remote host closed the connection)
1272 2013-11-23 15:11:12 <CodeShark> in any case, I think from a software design POV it's generally bad practice to use a single RPC call to construct a transaction, sign it, and broadcast it
1273 2013-11-23 15:11:50 <CodeShark> it makes sense for a UI
1274 2013-11-23 15:12:00 viperhr has quit (Ping timeout: 272 seconds)
1275 2013-11-23 15:12:28 <CodeShark> but we're talking about a single UI call which could potentially make multiple RPC calls
1276 2013-11-23 15:12:57 <wumpus> the GUI already does seperate building and signing and sending of the transactions
1277 2013-11-23 15:13:13 <CodeShark> wumpus: that's a good thing :)
1278 2013-11-23 15:13:58 <wumpus> from the command line it's useful to just use sendtoaddress/sendmany though
1279 2013-11-23 15:14:03 <Belxjander> am I right in thinking the GUI/UX code will put together a script of RPC calls that it will work through to properly complete discussion with the bitcoind or "wallet" functionality and make a properly complete setup and handling arrangement?
1280 2013-11-23 15:14:03 <CodeShark> yes, indeed
1281 2013-11-23 15:14:21 <CodeShark> indeed to wumpus
1282 2013-11-23 15:14:36 <shamoon> Apocalyptic: i get complete: false
1283 2013-11-23 15:15:02 <Apocalyptic> then all inputs are not signed
1284 2013-11-23 15:15:32 <CodeShark> Belxjander: Bitcoin-Qt's GUI directly accesses the wallet instance
1285 2013-11-23 15:16:03 <CodeShark> it doesn't have to go through the RPC
1286 2013-11-23 15:16:26 <CodeShark> the GUI runs in-process with the daemon
1287 2013-11-23 15:16:35 <Belxjander> CodeShark: so what Objects and methods would apply to "wallet"s?
1288 2013-11-23 15:16:56 <CodeShark> Belxjander: not sure I understand the question
1289 2013-11-23 15:17:30 <Belxjander> CodeShark: I'm wanting to walk through the github// bitcoin/bitcoin code... and hook into it from an AmigaOS "Shared Library" wrapper
1290 2013-11-23 15:17:38 <CodeShark> are you talking about which classes in bitcoind are the wallet?
1291 2013-11-23 15:17:41 <Belxjander> and only use those objects and code sections actually essential
1292 2013-11-23 15:17:48 <wumpus> yes you can just link against the libbitcoin.a and access everything directly, no need to go through RPC, though of course for most applications using RPC is preferred
1293 2013-11-23 15:18:04 <Belxjander> replacing the entire QT "UI" section with my own code but all the functionality sections from the original project code where I can
1294 2013-11-23 15:18:24 <Belxjander> wumpus: how to make that build with only boost present ?
1295 2013-11-23 15:18:41 <wumpus> Belxjander: ./configure --without-qt?
1296 2013-11-23 15:18:42 <shamoon> https://gist.github.com/anonymous/a31feabbaa24151499e7
1297 2013-11-23 15:18:46 <shamoon> Apocalyptic: i only have one input
1298 2013-11-23 15:19:41 <Belxjander> wumpus: I don't have any form of "autoconf" or "autotools" packages (no options either...)
1299 2013-11-23 15:19:59 <wumpus> Belxjander: then build them from source?
1300 2013-11-23 15:20:26 <Belxjander> wumpus: that would be a whole seperate porting effort for each of them
1301 2013-11-23 15:20:39 <DonnchaC> How will transaction signing be handled for BIP0032 wallets. I'd like to be able to great hundreds of BIP0032 derivied address and create unsigned tx's to pass to the bitcoin client to be signed. Unfortunatly there might be large gaps of unused addresses before the addresses for that respective tx's.
1302 2013-11-23 15:20:42 <wumpus> I guess so, but that's the cost of using an obscure OS
1303 2013-11-23 15:21:03 <CodeShark> DonnchaC: in practice, a wallet would need a lookahead
1304 2013-11-23 15:21:12 <DonnchaC> By default, How many address would the bitcoin client look forward for keys to sign a particular tx
1305 2013-11-23 15:21:35 drayah has joined
1306 2013-11-23 15:21:41 <wumpus> or if you start from 0.8.x, that still uses makefiles
1307 2013-11-23 15:22:22 <DonnchaC> Is there any standard or default for the lookahead, or is it up to each client to implement differently.
1308 2013-11-23 15:22:45 _ingsoc has quit (Ping timeout: 264 seconds)
1309 2013-11-23 15:23:08 copumpkin has joined
1310 2013-11-23 15:23:27 <DonnchaC> I'm just wondering how web clients like blockchain.info will deal with this kind of situation. Maybe I'll need to make sure addresses are used sequentially or as close as possible?
1311 2013-11-23 15:23:48 <CodeShark> you want to use them sequentially, yes
1312 2013-11-23 15:23:55 <CodeShark> (or at least in some well-defined order)
1313 2013-11-23 15:24:10 <kjj> I think armory uses a 256 key look-ahead by default
1314 2013-11-23 15:24:17 groglogic has joined
1315 2013-11-23 15:24:36 _ingsoc has joined
1316 2013-11-23 15:25:09 theorbtwo has quit (Ping timeout: 264 seconds)
1317 2013-11-23 15:26:03 todamoon has quit (Quit: todamoon)
1318 2013-11-23 15:26:29 <CodeShark> Belxjander: why are you interested in targeting AmigaOS?
1319 2013-11-23 15:26:58 daybyter has quit (Quit: Konversation terminated!)
1320 2013-11-23 15:27:04 n0g has joined
1321 2013-11-23 15:27:51 mitz has joined
1322 2013-11-23 15:29:48 <DonnchaC> CodeShark: kjj: Great thanks. 256 key lookahead I can deal with. As I though, as close to sequential as possible is for the best.
1323 2013-11-23 15:29:53 <Belxjander> CodeShark: thats what my desktop is ... PowerPC AMCC440EP Embedded processor running AmigaOS v4.1.6 with a Lattice FPGA also present
1324 2013-11-23 15:30:21 <Belxjander> and the FPGA is default programmed for UI through an 80pin custom "geekport" header that is some industry standard I don't know
1325 2013-11-23 15:30:35 damethos has quit (Quit: Bye)
1326 2013-11-23 15:31:24 damethos has joined
1327 2013-11-23 15:31:24 damethos has quit (Client Quit)
1328 2013-11-23 15:31:38 damethos has joined
1329 2013-11-23 15:32:08 <CodeShark> you
1330 2013-11-23 15:32:23 <CodeShark> Belxjander: you're only going to continue finding it harder and harder to support it as time goes on :p
1331 2013-11-23 15:32:27 deepc0re has joined
1332 2013-11-23 15:32:34 drayah has quit (Remote host closed the connection)
1333 2013-11-23 15:34:12 mitz has quit (Remote host closed the connection)
1334 2013-11-23 15:34:30 thelorax123 has quit (Remote host closed the connection)
1335 2013-11-23 15:34:32 diki has joined
1336 2013-11-23 15:34:37 <shamoon> Apocalyptic: Previous output scriptPubKey mismatch
1337 2013-11-23 15:34:39 <shamoon> that's my error
1338 2013-11-23 15:34:50 <shamoon> ./bitcoind signrawtransaction 0100000001829554b4aa4d85cd5d577329e36788a78190f55d920086e3c7bdf951df0bf0cc0100000000ffffffff0150c30000000000001976a91423d4adb2e2953dcd4927cb7b3b4272cf540e30fc88ac00000000 '[{"txid":"ccf00bdf51f9bdc7e38600925df59081a78867e32973575dcd854daab4549582", "vout":1, "scriptPubKey": "76a91423d4adb2e2953dcd4927cb7b3b4272cf540e30fc88ac"}]'
1339 2013-11-23 15:34:56 diki is now known as Guest30026
1340 2013-11-23 15:35:36 thelorax123 has joined
1341 2013-11-23 15:38:03 mitz has joined
1342 2013-11-23 15:42:39 Emi has left ("Leaving...")
1343 2013-11-23 15:50:20 viperhr has joined
1344 2013-11-23 15:51:48 _ingsoc has quit (Ping timeout: 272 seconds)
1345 2013-11-23 15:52:16 rdymac has quit (Excess Flood)
1346 2013-11-23 15:53:20 _ingsoc has joined
1347 2013-11-23 15:54:09 GingerGeek is now known as GingerGeek[Away]
1348 2013-11-23 15:54:53 cads has joined
1349 2013-11-23 15:55:53 rdymac has joined
1350 2013-11-23 15:58:29 ThomasV has quit (Quit: Quitte)
1351 2013-11-23 16:00:19 agnostic98 has joined
1352 2013-11-23 16:00:29 tholenst has quit (Remote host closed the connection)
1353 2013-11-23 16:01:32 xiangfu_ has joined
1354 2013-11-23 16:01:46 wyrag has quit (Quit:  Want to be different? Try HydraIRC -> http://www.hydrairc.com <-)
1355 2013-11-23 16:03:06 xiangfu_ has quit (Client Quit)
1356 2013-11-23 16:05:29 agnostic98 has quit (Ping timeout: 272 seconds)
1357 2013-11-23 16:05:57 CryptoBuck has quit (Ping timeout: 264 seconds)
1358 2013-11-23 16:06:15 CryptoBuck has joined
1359 2013-11-23 16:06:31 macboz_ has joined
1360 2013-11-23 16:08:36 CodeShark has quit (Quit: Goodbye)
1361 2013-11-23 16:09:01 <michagogo> cloud!uid14316@wikia/Michagogo|https://bitcointalk.org/index.php?topic=343962.0
1362 2013-11-23 16:09:01 <michagogo> cloud!uid14316@wikia/Michagogo|...is the second half of that post serious?
1363 2013-11-23 16:09:34 Subo1977_ has quit (Ping timeout: 240 seconds)
1364 2013-11-23 16:13:10 guester has joined
1365 2013-11-23 16:13:24 drayah has joined
1366 2013-11-23 16:14:19 Subo1977 has joined
1367 2013-11-23 16:15:23 <damethos> i am glad i aint in bitcoind core team and have to read/listen that kind of shit all day long
1368 2013-11-23 16:15:33 <damethos> there is always the ignore-internet button ofc :D
1369 2013-11-23 16:17:46 jMyles has quit (Read error: Operation timed out)
1370 2013-11-23 16:18:01 drayah has quit (Ping timeout: 246 seconds)
1371 2013-11-23 16:18:30 <shamoon> error: {"code":-22,"message":"Previous output scriptPubKey mismatch:\nOP_DUP OP_HASH160 b9a7ceb2b44ab6c30053c25cec8b00cf42e4c9ae OP_EQUALVERIFY OP_CHECKSIG\nvs:\nOP_DUP OP_HASH160 56ba661327337537868308af3c64cb283976f83d OP_EQUALVERIFY OP_CHECKSIG"}
1372 2013-11-23 16:18:32 <shamoon> what does that mean?
1373 2013-11-23 16:19:52 Neskia has joined
1374 2013-11-23 16:22:15 Nesetalis has quit (Ping timeout: 245 seconds)
1375 2013-11-23 16:24:24 dexX7 has joined
1376 2013-11-23 16:29:39 dexX7 has quit (Changing host)
1377 2013-11-23 16:29:39 dexX7 has joined
1378 2013-11-23 16:31:37 torsthaldo has joined
1379 2013-11-23 16:41:18 LiDE_ has quit (Ping timeout: 272 seconds)
1380 2013-11-23 16:42:01 martinn has joined
1381 2013-11-23 16:42:45 Gnaf has joined
1382 2013-11-23 16:43:13 Gnaf has quit (Changing host)
1383 2013-11-23 16:43:13 Gnaf has joined
1384 2013-11-23 16:45:14 Anduck has joined
1385 2013-11-23 16:45:14 Anduck has quit (Changing host)
1386 2013-11-23 16:45:14 Anduck has joined
1387 2013-11-23 16:46:08 macboz_ has quit (Ping timeout: 246 seconds)
1388 2013-11-23 16:50:21 <michagogo> cloud!uid14316@wikia/Michagogo|shamoon: what are you doing?
1389 2013-11-23 16:50:57 Wegot has joined
1390 2013-11-23 16:51:45 <owowo> michagogo|cloud: omg, someone should tell that dude that he is looking at QT version 4.8.x, not bitcoin.
1391 2013-11-23 16:51:48 syker53 has joined
1392 2013-11-23 16:54:28 ovidiusoft has quit (Quit: Ex-Chat)
1393 2013-11-23 16:54:31 tsche has quit (Ping timeout: 272 seconds)
1394 2013-11-23 16:55:13 [1]syker53 has joined
1395 2013-11-23 16:55:23 <michagogo> cloud!uid14316@wikia/Michagogo|owowo: indeed
1396 2013-11-23 16:56:40 syker53 has quit (Ping timeout: 265 seconds)
1397 2013-11-23 16:57:37 eristisk has quit (Remote host closed the connection)
1398 2013-11-23 16:58:13 eristisk has joined
1399 2013-11-23 16:58:18 <michagogo> cloud!uid14316@wikia/Michagogo|I guess people see "About Qt"
1400 2013-11-23 16:58:27 <michagogo> cloud!uid14316@wikia/Michagogo|And they know it's called Bitcoin-Qt
1401 2013-11-23 16:58:40 <michagogo> cloud!uid14316@wikia/Michagogo|And maybe even see it referred to as simply "qt"
1402 2013-11-23 16:58:52 <shamoon> michagogo|cloud: trying to hand craft transactions
1403 2013-11-23 16:58:55 <shamoon> to chain inputs to outputs
1404 2013-11-23 16:58:58 <michagogo> cloud!uid14316@wikia/Michagogo|And having never heard of Qt in any other context...
1405 2013-11-23 16:59:08 tsche has joined
1406 2013-11-23 16:59:12 <michagogo> cloud!uid14316@wikia/Michagogo|shamoon: What's the command that returned that error?
1407 2013-11-23 16:59:26 <shamoon> signrawtransaction
1408 2013-11-23 16:59:33 <shamoon> it seems tow ork if i only give the HEX and no second param
1409 2013-11-23 16:59:35 <michagogo> cloud!uid14316@wikia/Michagogo|What's the full command?
1410 2013-11-23 16:59:57 <michagogo> cloud!uid14316@wikia/Michagogo|oh
1411 2013-11-23 17:00:17 <michagogo> cloud!uid14316@wikia/Michagogo|Are you passing the privkey as parameter 2?
1412 2013-11-23 17:00:24 <shamoon> now i'm getting { [Error: TX rejected] code: -22 }
1413 2013-11-23 17:00:31 <shamoon> when i send
1414 2013-11-23 17:00:34 <shamoon> no, no param 2
1415 2013-11-23 17:00:51 <michagogo> cloud!uid14316@wikia/Michagogo|Check debug.log, see why the transaction was rejected
1416 2013-11-23 17:00:57 <michagogo> cloud!uid14316@wikia/Michagogo|(or pastebin it and I can check)
1417 2013-11-23 17:01:52 agnostic98 has joined
1418 2013-11-23 17:01:54 roconnor has joined
1419 2013-11-23 17:01:57 <shamoon> https://gist.github.com/anonymous/d69c36d22bc7fd48a476
1420 2013-11-23 17:02:19 <michagogo> cloud!uid14316@wikia/Michagogo|uh
1421 2013-11-23 17:02:25 <shamoon> that's what debug.log shows
1422 2013-11-23 17:02:30 <shamoon> not helpful
1423 2013-11-23 17:02:57 <michagogo> cloud!uid14316@wikia/Michagogo|that's all it shows?
1424 2013-11-23 17:03:02 <shamoon> yup
1425 2013-11-23 17:03:16 <michagogo> cloud!uid14316@wikia/Michagogo|After the sendrawtransaction there should be ERROR: CTxMemPool::accept() : something
1426 2013-11-23 17:03:33 <michagogo> cloud!uid14316@wikia/Michagogo|Is that the debug.log verbatim?
1427 2013-11-23 17:03:36 <michagogo> cloud!uid14316@wikia/Michagogo|Or did you cut out lines?
1428 2013-11-23 17:03:37 <shamoon> yup
1429 2013-11-23 17:03:44 <shamoon> $ tail -f .bitcoin/testnet3/debug.log
1430 2013-11-23 17:04:03 tesserajk has joined
1431 2013-11-23 17:04:03 <michagogo> cloud!uid14316@wikia/Michagogo|o_O
1432 2013-11-23 17:04:14 <michagogo> cloud!uid14316@wikia/Michagogo|Did you start with any command-line flags?
1433 2013-11-23 17:04:20 <michagogo> cloud!uid14316@wikia/Michagogo|What's in your config file?
1434 2013-11-23 17:04:21 <shamoon> daemon
1435 2013-11-23 17:04:29 <Apocalyptic> that's a very verbose debug
1436 2013-11-23 17:04:31 <michagogo> cloud!uid14316@wikia/Michagogo|Anything relating to logs?
1437 2013-11-23 17:04:40 <Apocalyptic> almost usefull
1438 2013-11-23 17:04:42 <michagogo> cloud!uid14316@wikia/Michagogo|Apocalyptic: uh, what?
1439 2013-11-23 17:04:43 <shamoon> https://gist.github.com/anonymous/4e0c049576da68dea6fe
1440 2013-11-23 17:04:56 <michagogo> cloud!uid14316@wikia/Michagogo|Odd.
1441 2013-11-23 17:05:03 <Apocalyptic> michagogo|cloud, that was ironic
1442 2013-11-23 17:05:06 <michagogo> cloud!uid14316@wikia/Michagogo|shamoon: What's the transaction that's being rejected?
1443 2013-11-23 17:05:14 <michagogo> cloud!uid14316@wikia/Michagogo|Apocalyptic: Ah, I see
1444 2013-11-23 17:05:58 <shamoon> {"txid":"ae4df1a5f0465a7508ea8443b10b2f7f87529225c6317c24b5507a0a1ac632a2","version":1,"locktime":0,"vin":[{"txid":"585dd8a933aa43d557d13444112c32a0e2d2fe0299b2f5f4216f12ccb99c666e","vout":0,"scriptSig":{"asm":"","hex":""},"sequence":4294967295}],"vout":[{"value":0.09,"n":0,"scriptPubKey":{"asm":"OP_DUP OP_HASH160 23d4adb2e2953dcd4927cb7b3b4272cf540e30fc OP_EQUALVERIFY OP_CHECKSIG","hex":"76a91423d4adb2e2953dcd4927cb
1445 2013-11-23 17:05:58 <shamoon> 7b3b4272cf540e30fc88ac","reqSigs":1,"type":"pubkeyhash","addresses":["minQivu39FFwRHvcUDC2f31Q79vNjaDRSW"]}},{"value":0.01,"n":1,"scriptPubKey":{"asm":"OP_DUP OP_HASH160 fb415394d8fdaaed89ee62528941a2e6c09ee86a OP_EQUALVERIFY OP_CHECKSIG","hex":"76a914fb415394d8fdaaed89ee62528941a2e6c09ee86a88ac","reqSigs":1,"type":"pubkeyhash","addresses":["n4RUAAfuRtGR3zgmKFfWEStUfNWf5mD1Se"]}},{"value":0.8995,"n":2,"scriptPubKey":
1446 2013-11-23 17:05:58 <shamoon> {"asm":"OP_DUP OP_HASH160 849b1498af5879ebbf8b3a44680bebcc71c0833e OP_EQUALVERIFY OP_CHECKSIG","hex":"76a914849b1498af5879ebbf8b3a44680bebcc71c0833e88ac","reqSigs":1,"type":"pubkeyhash","addresses":["msc7GZ7iQiz5vPoDN4RCKErn3MPQM8MFkS"]}}]}
1447 2013-11-23 17:06:01 <shamoon> oops
1448 2013-11-23 17:06:05 <shamoon> sorry - meant to bin it
1449 2013-11-23 17:06:22 <shamoon> 01000000016e669cb9cc126f21f4f5b29902fed2e2a0322c114434d157d543aa33a9d85d580000000000ffffffff0340548900000000001976a91423d4adb2e2953dcd4927cb7b3b4272cf540e30fc88ac40420f00000000001976a914fb415394d8fdaaed89ee62528941a2e6c09ee86a88ac30875c05000000001976a914849b1498af5879ebbf8b3a44680bebcc71c0833e88ac00000000
1450 2013-11-23 17:08:04 Grouver has quit (Quit:  HydraIRC -> http://www.hydrairc.com <- Nine out of ten l33t h4x0rz prefer it)
1451 2013-11-23 17:08:18 patcon has joined
1452 2013-11-23 17:09:20 <michagogo> cloud!uid14316@wikia/Michagogo|Well
1453 2013-11-23 17:09:27 <michagogo> cloud!uid14316@wikia/Michagogo|That will be rejected because it isn't signed
1454 2013-11-23 17:10:07 agnostic98 has quit (Ping timeout: 240 seconds)
1455 2013-11-23 17:11:03 <shamoon> when i try to sign it, it gives more errors
1456 2013-11-23 17:11:05 <michagogo> cloud!uid14316@wikia/Michagogo|shamoon: What was the signrawtransaction command you were using that was giving you an error?
1457 2013-11-23 17:11:18 <shamoon> finding
1458 2013-11-23 17:11:45 deepc0re has quit (Quit: deepc0re)
1459 2013-11-23 17:14:02 <shamoon> [ { txid: '585dd8a933aa43d557d13444112c32a0e2d2fe0299b2f5f4216f12ccb99c666e',
1460 2013-11-23 17:14:02 <shamoon>     vout: 0,
1461 2013-11-23 17:14:02 <shamoon>     scriptPubKey: '76a91423d4adb2e2953dcd4927cb7b3b4272cf540e30fc88ac' } ]
1462 2013-11-23 17:14:09 Xeno-Genesis has quit (Ping timeout: 272 seconds)
1463 2013-11-23 17:14:33 _fronti has quit (Ping timeout: 265 seconds)
1464 2013-11-23 17:15:06 <shamoon> michagogo|cloud: ./bitcoind signrawtransaction 01000000016e669cb9cc126f21f4f5b29902fed2e2a0322c114434d157d543aa33a9d85d580000000000ffffffff0340548900000000001976a91423d4adb2e2953dcd4927cb7b3b4272cf540e30fc88ac40420f00000000001976a914fb415394d8fdaaed89ee62528941a2e6c09ee86a88ac30875c05000000001976a914849b1498af5879ebbf8b3a44680bebcc71c0833e88ac00000000 '[{"txid":"585dd8a933aa43d557d13444112c32a0e2d2fe0299b2f5f4216f12c
1465 2013-11-23 17:15:06 <shamoon> cb99c666e","vout":0,"scriptPubKey":"76a91423d4adb2e2953dcd4927cb7b3b4272cf540e30fc88ac"}]'
1466 2013-11-23 17:15:11 <shamoon> which yields, complete: false
1467 2013-11-23 17:15:13 _fronti has joined
1468 2013-11-23 17:15:22 [1]syker53 has quit (Read error: Connection reset by peer)
1469 2013-11-23 17:16:54 [1]syker53 has joined
1470 2013-11-23 17:19:28 <shamoon> michagogo|cloud: what do you think?
1471 2013-11-23 17:20:26 _fronti has quit (Ping timeout: 246 seconds)
1472 2013-11-23 17:21:02 <michagogo> cloud!uid14316@wikia/Michagogo|hmm
1473 2013-11-23 17:21:10 <michagogo> cloud!uid14316@wikia/Michagogo|What's 585dd8a933aa43d557d13444112c32a0e2d2fe0299b2f5f4216f12c?
1474 2013-11-23 17:21:11 <danneu> What does reorganization look like in blk*.dat files? is the latest .dat file simply rewritten?
1475 2013-11-23 17:21:26 kinglet has joined
1476 2013-11-23 17:21:26 kinglet has quit (Changing host)
1477 2013-11-23 17:21:26 kinglet has joined
1478 2013-11-23 17:21:44 qbasicer has quit (Ping timeout: 252 seconds)
1479 2013-11-23 17:21:45 <shamoon> michagogo|cloud: that was the transaction that sent btc to the address in question
1480 2013-11-23 17:21:55 <michagogo> cloud!uid14316@wikia/Michagogo|uh
1481 2013-11-23 17:21:59 <kjj> block files are not rewritten
1482 2013-11-23 17:22:07 drayah has joined
1483 2013-11-23 17:22:12 daybyter has joined
1484 2013-11-23 17:22:18 Zarutian has quit (Quit: Zarutian)
1485 2013-11-23 17:22:19 <sipa> danneu: you don't see reorgs in the block files
1486 2013-11-23 17:22:21 <michagogo> cloud!uid14316@wikia/Michagogo|< getrawtransaction 585dd8a933aa43d557d13444112c32a0e2d2fe0299b2f5f4216f12c
1487 2013-11-23 17:22:32 <sipa> danneu: the block files just contain blocks, not the current state of the chain
1488 2013-11-23 17:22:34 <michagogo> cloud!uid14316@wikia/Michagogo|> parameter 1 must be hexadecimal string (not '585dd8a933aa43d557d13444112c32a0e2d2fe0299b2f5f4216f12c') (code -8)
1489 2013-11-23 17:22:43 <michagogo> cloud!uid14316@wikia/Michagogo|shamoon: double-check that txid
1490 2013-11-23 17:22:52 <shamoon> hmm
1491 2013-11-23 17:23:10 <shamoon> should be 585dd8a933aa43d557d13444112c32a0e2d2fe0299b2f5f4216f12ccb99c666e
1492 2013-11-23 17:23:12 <michagogo> cloud!uid14316@wikia/Michagogo|Oh
1493 2013-11-23 17:23:15 <michagogo> cloud!uid14316@wikia/Michagogo|It's truncated
1494 2013-11-23 17:23:23 <michagogo> cloud!uid14316@wikia/Michagogo|That raw transaction spends
1495 2013-11-23 17:23:24 <michagogo> cloud!uid14316@wikia/Michagogo|585dd8a933aa43d557d13444112c32a0e2d2fe0299b2f5f4216f12ccb99c666e
1496 2013-11-23 17:23:36 <kjj> yeah, that error almost always means you have an odd number of hexits
1497 2013-11-23 17:24:13 <shamoon> went to 2 lines
1498 2013-11-23 17:24:27 <danneu> sipa: Ah, so the chain state is represented only in leveldb?
1499 2013-11-23 17:24:47 <michagogo> cloud!uid14316@wikia/Michagogo|oh
1500 2013-11-23 17:24:52 <kjj> no, the chain state is in memory
1501 2013-11-23 17:24:59 <sipa> danneu: yes
1502 2013-11-23 17:25:01 <sipa> kjj: both
1503 2013-11-23 17:25:06 <michagogo> cloud!uid14316@wikia/Michagogo|shamoon: My node hasn't seen 585dd8a933aa43d557d13444112c32a0e2d2fe0299b2f5f4216f12ccb99c666e
1504 2013-11-23 17:25:14 <michagogo> cloud!uid14316@wikia/Michagogo|oh, nvm
1505 2013-11-23 17:25:15 <michagogo> cloud!uid14316@wikia/Michagogo|it has
1506 2013-11-23 17:25:19 <shamoon> testnet
1507 2013-11-23 17:25:25 <danneu> cool. so the chain state is deterministically recreated from all the blk.dat should the leveldb blow away
1508 2013-11-23 17:25:35 <sipa> danneu: that's called reindexing
1509 2013-11-23 17:25:37 <danneu> right
1510 2013-11-23 17:25:43 <michagogo> cloud!uid14316@wikia/Michagogo|danneu: That's literally what a rein-
1511 2013-11-23 17:25:47 <michagogo> cloud!uid14316@wikia/Michagogo|yep
1512 2013-11-23 17:26:07 Blasteris has quit (Ping timeout: 240 seconds)
1513 2013-11-23 17:26:09 _fronti has joined
1514 2013-11-23 17:27:57 <danneu> so if i had my own blockexplorer tool that sits on top of bitcoind, i could just consume blk.dats
1515 2013-11-23 17:28:08 <danneu> that's better than i thought
1516 2013-11-23 17:28:56 <shamoon> michagogo|cloud: any thoughts?
1517 2013-11-23 17:28:59 Eiii has joined
1518 2013-11-23 17:29:02 * michagogo cloud!uid14316@wikia/Michagogo|looks
1519 2013-11-23 17:29:13 <sipa> danneu: you'd need to maintain your own indexes
1520 2013-11-23 17:30:22 <michagogo> cloud!uid14316@wikia/Michagogo|shamoon: Have you got the privkey for msc7GZ7iQiz5vPoDN4RCKErn3MPQM8MFkS in your wallet?
1521 2013-11-23 17:30:44 <shamoon> yes
1522 2013-11-23 17:31:45 <danneu> sipa: right. i've been getting the blockchain into a new backend. i've started sewing up the loose ends to provide an alternative to bitcoin-abe.
1523 2013-11-23 17:32:17 <kjj> the hard part of that is figuring out the funky transactions
1524 2013-11-23 17:32:36 <michagogo> cloud!uid14316@wikia/Michagogo|hmm, `help signrawtransaction` suggests there should be a "redeemscript":hex in that {}
1525 2013-11-23 17:33:04 <danneu> kjj: agreed. ive been putzing around for far too long playing with scripting and full verification
1526 2013-11-23 17:33:07 <michagogo> cloud!uid14316@wikia/Michagogo|danneu, kjj: and take extreme care when parsing scripts
1527 2013-11-23 17:33:07 <sipa> michagogo|cloud: only necessary for P2SH
1528 2013-11-23 17:33:10 <michagogo> cloud!uid14316@wikia/Michagogo|because of things like https://blockchain.info/tx/59bd7b2cff5da929581fc9fef31a2fba14508f1477e366befb1eb42a8810a000?show_adv=true
1529 2013-11-23 17:33:13 <michagogo> cloud!uid14316@wikia/Michagogo|sipa: ah
1530 2013-11-23 17:33:17 <michagogo> cloud!uid14316@wikia/Michagogo|Any ideas, then?
1531 2013-11-23 17:33:25 <shamoon> michagogo|cloud: what should the redeemScript be?
1532 2013-11-23 17:33:34 <michagogo> cloud!uid14316@wikia/Michagogo|shamoon: nevermind
1533 2013-11-23 17:33:40 <michagogo> cloud!uid14316@wikia/Michagogo|(see what sipa just said)
1534 2013-11-23 17:33:46 <shamoon> word
1535 2013-11-23 17:33:46 <sipa> (afaik)
1536 2013-11-23 17:35:22 Sleepnbum has joined
1537 2013-11-23 17:35:49 <michagogo> cloud!uid14316@wikia/Michagogo|shamoon: what if you just try ./bitcoind signrawtransaction <transaction>
1538 2013-11-23 17:35:59 <michagogo> cloud!uid14316@wikia/Michagogo|The input is confirmed, your node should see iot
1539 2013-11-23 17:36:00 <michagogo> cloud!uid14316@wikia/Michagogo|it*
1540 2013-11-23 17:36:02 coin1 has quit (Read error: Connection reset by peer)
1541 2013-11-23 17:36:05 <shamoon> michagogo|cloud: so what else can i try?
1542 2013-11-23 17:36:18 <shamoon> let me try that
1543 2013-11-23 17:36:22 coin1 has joined
1544 2013-11-23 17:36:39 <shamoon> https://gist.github.com/anonymous/37fd08c24e0c950ac51e
1545 2013-11-23 17:36:42 <shamoon> michagogo|cloud: ^
1546 2013-11-23 17:37:14 <michagogo> cloud!uid14316@wikia/Michagogo|um
1547 2013-11-23 17:37:16 <michagogo> cloud!uid14316@wikia/Michagogo|so unchanged then
1548 2013-11-23 17:37:32 <shamoon> maybe i already spent it?
1549 2013-11-23 17:37:41 <michagogo> cloud!uid14316@wikia/Michagogo|nah
1550 2013-11-23 17:37:44 <michagogo> cloud!uid14316@wikia/Michagogo|it'd still sign
1551 2013-11-23 17:38:10 <michagogo> cloud!uid14316@wikia/Michagogo|do you get a result for `./bitcoind getrawtransaction 585dd8a933aa43d557d13444112c32a0e2d2fe0299b2f5f4216f12ccb99c666`?
1552 2013-11-23 17:38:15 <michagogo> cloud!uid14316@wikia/Michagogo|er
1553 2013-11-23 17:38:24 <michagogo> cloud!uid14316@wikia/Michagogo|`./bitcoind getrawtransaction 585dd8a933aa43d557d13444112c32a0e2d2fe0299b2f5f4216f12ccb99c666e`
1554 2013-11-23 17:38:46 <shamoon> michagogo|cloud: yeah, 010000000188960952f2fb23bf0eb2f47fa030b0ae67574759afc119aaa4b806aa1f8e8cc4000000006b483045022100b1fda5a5e4bf8e6b5e1e7402a747982187cd584e0cc10acaec0db9f58b398e80022005956dc051e267ac05149d2bdd21757b55f399004547cd7bcf4ed425af2e117c012102c58396d26ae2962b072e4921ee8bea06b7c2618f83819c0ba23cf536ac1d8dbfffffffff0200e1f505000000001976a914849b1498af5879ebbf8b3a44680bebcc71c0833e88ac602d5202000000001976a
1555 2013-11-23 17:38:46 <shamoon> 91424e13879667b35a52f5cae168ec1e48475b49a6d88ac00000000
1556 2013-11-23 17:38:48 <michagogo> cloud!uid14316@wikia/Michagogo|(no need to pastebin -- I just want to know whether you get a hex string or an error)
1557 2013-11-23 17:38:55 <shamoon> yup
1558 2013-11-23 17:38:57 <michagogo> cloud!uid14316@wikia/Michagogo|k
1559 2013-11-23 17:39:25 <michagogo> cloud!uid14316@wikia/Michagogo|try `./bitcoind validateaddress minQivu39FFwRHvcUDC2f31Q79vNjaDRSW`
1560 2013-11-23 17:39:42 viperhr has quit (Ping timeout: 248 seconds)
1561 2013-11-23 17:39:51 <shamoon> https://gist.github.com/anonymous/159856e9288cdc2cda49
1562 2013-11-23 17:39:58 <michagogo> cloud!uid14316@wikia/Michagogo|Okay
1563 2013-11-23 17:40:04 <michagogo> cloud!uid14316@wikia/Michagogo|That address isn't in your wallet
1564 2013-11-23 17:40:17 <michagogo> cloud!uid14316@wikia/Michagogo|So it can't sign, because it doesn't have the privkey
1565 2013-11-23 17:40:18 <shamoon> but that's not the one you asked about earlier
1566 2013-11-23 17:40:20 <shamoon> msc7GZ7iQiz5vPoDN4RCKErn3MPQM8MFkS
1567 2013-11-23 17:40:23 <shamoon> was the one you asked about
1568 2013-11-23 17:40:25 <michagogo> cloud!uid14316@wikia/Michagogo|um
1569 2013-11-23 17:40:28 * michagogo cloud!uid14316@wikia/Michagogo|checks
1570 2013-11-23 17:40:30 xiangfu has quit (Remote host closed the connection)
1571 2013-11-23 17:40:37 <shamoon> "ismine" : true,
1572 2013-11-23 17:40:52 Zarutian has joined
1573 2013-11-23 17:41:02 coin1 has quit (Read error: Connection reset by peer)
1574 2013-11-23 17:41:08 rnvk_ has joined
1575 2013-11-23 17:41:25 coin1 has joined
1576 2013-11-23 17:41:27 <michagogo> cloud!uid14316@wikia/Michagogo|Is 01000000016e669cb9cc126f21f4f5b29902fed2e2a0322c114434d157d543aa33a9d85d580000000000ffffffff0340548900000000001976a91423d4adb2e2953dcd4927cb7b3b4272cf540e30fc88ac40420f00000000001976a914fb415394d8fdaaed89ee62528941a2e6c09ee86a88ac30875c05000000001976a914849b1498af5879ebbf8b3a44680bebcc71c0833e88ac00000000
1577 2013-11-23 17:41:39 <michagogo> cloud!uid14316@wikia/Michagogo|the transaction you're trying to sign, or the transaction you're trying to spend?
1578 2013-11-23 17:41:52 <michagogo> cloud!uid14316@wikia/Michagogo|That particular transaction is unsigned
1579 2013-11-23 17:42:06 <michagogo> cloud!uid14316@wikia/Michagogo|txid ae4df1a5f0465a7508ea8443b10b2f7f87529225c6317c24b5507a0a1ac632a2, it spends 585dd8a933aa43d557d13444112c32a0e2d2fe0299b2f5f4216f12ccb99c666e
1580 2013-11-23 17:42:33 <shamoon> not sure what 01000000016e669cb9cc126f21f4f5b29902fed2e2a0322c114434d157d543aa33a9d85d580000000000ffffffff0340548900000000001976a91423d4adb2e2953dcd4927cb7b3b4272cf540e30fc88ac40420f00000000001976a914fb415394d8fdaaed89ee62528941a2e6c09ee86a88ac30875c05000000001976a914849b1498af5879ebbf8b3a44680bebcc71c0833e88ac00000000 is
1581 2013-11-23 17:42:41 <michagogo> cloud!uid14316@wikia/Michagogo|wait
1582 2013-11-23 17:42:47 * michagogo cloud!uid14316@wikia/Michagogo|is confused
1583 2013-11-23 17:42:56 <michagogo> cloud!uid14316@wikia/Michagogo|I seem to be getting mixed up
1584 2013-11-23 17:42:58 <shamoon> basically... i received X btc at my address. i want to create a new transaction that consumes that input
1585 2013-11-23 17:43:10 <michagogo> cloud!uid14316@wikia/Michagogo|Okay, let's start from scratch...
1586 2013-11-23 17:43:17 <michagogo> cloud!uid14316@wikia/Michagogo|(sorry)
1587 2013-11-23 17:43:18 <shamoon> okay... let me generate new addresses
1588 2013-11-23 17:43:20 <shamoon> and tx's
1589 2013-11-23 17:43:57 <shamoon> there
1590 2013-11-23 17:43:59 <shamoon> just sent 10 BTC
1591 2013-11-23 17:44:04 <shamoon> to mqAyVPnjh4cA6FbVUpdYSyPWvHbeJeJkrv
1592 2013-11-23 17:44:07 rnvk has quit (Ping timeout: 246 seconds)
1593 2013-11-23 17:44:10 <shamoon> with txid: 4ee297a654a3721dd858f892f0b6415ea5cfcf739f628cc3960ce18e401da22e
1594 2013-11-23 17:44:38 <michagogo> cloud!uid14316@wikia/Michagogo|Okay, I have 4ee297a654a3721dd858f892f0b6415ea5cfcf739f628cc3960ce18e401da22e
1595 2013-11-23 17:45:07 Xeno-Genesis has joined
1596 2013-11-23 17:45:08 <shamoon> so now i should create a raw
1597 2013-11-23 17:45:39 <shamoon> my end goal is to send 5btc to mg94rKr6ePNLQ6Tet7STWs42Mx1AG4KRjk
1598 2013-11-23 17:45:57 <michagogo> cloud!uid14316@wikia/Michagogo|Yeah -- create a transaction that spends {"txid":"4ee297a654a3721dd858f892f0b6415ea5cfcf739f628cc3960ce18e401da22e","vout":0}
1599 2013-11-23 17:45:58 rnvk_ has quit (Ping timeout: 265 seconds)
1600 2013-11-23 17:46:20 mitz has quit (Read error: Connection reset by peer)
1601 2013-11-23 17:46:24 <shamoon> ./bitcoind createrawtransaction '[{"txid":"4ee297a654a3721dd858f892f0b6415ea5cfcf739f628cc3960ce18e401da22e","vout":0}]' '{"mg94rKr6ePNLQ6Tet7STWs42Mx1AG4KRjk":5}'
1602 2013-11-23 17:46:28 <shamoon> that should do it, right?
1603 2013-11-23 17:46:35 <shamoon> so i get a hex: 01000000012ea21d408ee10c96c38c629f73cfcfa55e41b6f092f858d81d72a354a697e24e0000000000ffffffff010065cd1d000000001976a91406d472987be40ed3e17ad17c64cf4af2f4e781db88ac00000000
1604 2013-11-23 17:46:35 <michagogo> cloud!uid14316@wikia/Michagogo|shamoon: eek
1605 2013-11-23 17:46:37 <kjj> if you don't mind paying 5 BTC in fees, sure
1606 2013-11-23 17:46:39 <michagogo> cloud!uid14316@wikia/Michagogo|don't forget about change
1607 2013-11-23 17:46:53 <shamoon> well - it's testnet, so i'm cool with paying 5btc away
1608 2013-11-23 17:46:58 <michagogo> cloud!uid14316@wikia/Michagogo|Well, yeah :-P
1609 2013-11-23 17:46:59 <shamoon> i can add multiple outputs later
1610 2013-11-23 17:47:12 LiDE has joined
1611 2013-11-23 17:47:17 <shamoon> https://gist.github.com/anonymous/e63fbb2f3b444f709692
1612 2013-11-23 17:47:20 <shamoon> so far, so good, right?
1613 2013-11-23 17:47:37 <michagogo> cloud!uid14316@wikia/Michagogo|shamoon: wait, is the wallet encrypted?
1614 2013-11-23 17:47:40 <shamoon> no
1615 2013-11-23 17:47:45 <michagogo> cloud!uid14316@wikia/Michagogo|That signrawtransaction did nothing
1616 2013-11-23 17:47:53 <michagogo> cloud!uid14316@wikia/Michagogo|Input and output are identical, and complete is false
1617 2013-11-23 17:48:52 <shamoon> didn't sign yet
1618 2013-11-23 17:48:54 <shamoon> that's the next step
1619 2013-11-23 17:48:57 <michagogo> cloud!uid14316@wikia/Michagogo|uh
1620 2013-11-23 17:49:03 <michagogo> cloud!uid14316@wikia/Michagogo|what was the signrawtransaction for?
1621 2013-11-23 17:49:10 <shamoon> https://gist.github.com/anonymous/e63fbb2f3b444f709692
1622 2013-11-23 17:49:11 <shamoon> that?
1623 2013-11-23 17:49:13 <shamoon> that's decode
1624 2013-11-23 17:49:17 Xeno-Genesis has quit (Client Quit)
1625 2013-11-23 17:49:23 <shamoon> which sign are you talking about?
1626 2013-11-23 17:49:23 <michagogo> cloud!uid14316@wikia/Michagogo|https://gist.github.com/anonymous/37fd08c24e0c950ac51e
1627 2013-11-23 17:49:25 <michagogo> cloud!uid14316@wikia/Michagogo|that
1628 2013-11-23 17:49:31 <shamoon> that's old shit
1629 2013-11-23 17:49:33 <shamoon> 13 min ago
1630 2013-11-23 17:49:36 <michagogo> cloud!uid14316@wikia/Michagogo|Um, is that an old tab I ahve open?
1631 2013-11-23 17:49:37 <michagogo> cloud!uid14316@wikia/Michagogo|oops
1632 2013-11-23 17:49:37 <shamoon> we're starting fresh
1633 2013-11-23 17:49:42 <michagogo> cloud!uid14316@wikia/Michagogo|my bad
1634 2013-11-23 17:49:44 <shamoon> lol
1635 2013-11-23 17:49:46 <michagogo> cloud!uid14316@wikia/Michagogo|right
1636 2013-11-23 17:49:49 <shamoon> so now i gotta sign
1637 2013-11-23 17:50:39 <michagogo> cloud!uid14316@wikia/Michagogo|right
1638 2013-11-23 17:50:59 <shamoon> ./bitcoind signrawtransaction 01000000012ea21d408ee10c96c38c629f73cfcfa55e41b6f092f858d81d72a354a697e24e0000000000ffffffff010065cd1d000000001976a91406d472987be40ed3e17ad17c64cf4af2f4e781db88ac00000000 '[{"txid":"4ee297a654a3721dd858f892f0b6415ea5cfcf739f628cc3960ce18e401da22e", "vout":0,  "scriptPubKey": "76a91469e9efc2bd387a09958b7db3d600adf4e768fcb688ac"}]
1639 2013-11-23 17:51:02 <shamoon> does taht look about right?
1640 2013-11-23 17:51:07 <michagogo> cloud!uid14316@wikia/Michagogo|no need
1641 2013-11-23 17:51:10 <shamoon> is that the right scriptPubKey and the right tx?
1642 2013-11-23 17:51:16 <michagogo> cloud!uid14316@wikia/Michagogo|./bitcoind signrawtransaction 01000000012ea21d408ee10c96c38c629f73cfcfa55e41b6f092f858d81d72a354a697e24e0000000000ffffffff010065cd1d000000001976a91406d472987be40ed3e17ad17c64cf4af2f4e781db88ac00000000
1643 2013-11-23 17:51:22 <michagogo> cloud!uid14316@wikia/Michagogo|that's all you need
1644 2013-11-23 17:51:25 LiDE has quit (Ping timeout: 245 seconds)
1645 2013-11-23 17:51:28 <shamoon> okay
1646 2013-11-23 17:51:31 <shamoon> i got a true
1647 2013-11-23 17:51:42 <michagogo> cloud!uid14316@wikia/Michagogo|Because your node already knows about 4ee297a654a3721dd858f892f0b6415ea5cfcf739f628cc3960ce18e401da22e
1648 2013-11-23 17:51:55 <shamoon> bam
1649 2013-11-23 17:51:57 <shamoon> done!
1650 2013-11-23 17:51:59 _ingsoc has quit (Quit: leaving)
1651 2013-11-23 17:52:12 <shamoon> got a txid back
1652 2013-11-23 17:52:13 <shamoon> you da man
1653 2013-11-23 17:52:16 paracyst has quit ()
1654 2013-11-23 17:52:26 <shamoon> but now if i try to sign and send again, it cmplains
1655 2013-11-23 17:52:30 <shamoon> becuase it was already consumed
1656 2013-11-23 17:52:50 <michagogo> cloud!uid14316@wikia/Michagogo|You need the [{"txid":txid,"vout":n,"scriptPubKey":hex,"redeemScript":hex},...] if you're signing a spend of a transaction that your node doesn't know about
1657 2013-11-23 17:53:02 <michagogo> cloud!uid14316@wikia/Michagogo|So if you create and sign a raw transaction
1658 2013-11-23 17:53:07 <shamoon> gotcha
1659 2013-11-23 17:53:10 <shamoon> you the man michagogo|cloud
1660 2013-11-23 17:53:11 <shamoon> thank you
1661 2013-11-23 17:53:29 <michagogo> cloud!uid14316@wikia/Michagogo|and then before sendrawtransaction, you create a raw transaction spending the previous transaction
1662 2013-11-23 17:53:49 <shamoon> sweet
1663 2013-11-23 17:53:58 <michagogo> cloud!uid14316@wikia/Michagogo|you'll need the txid, vout, and scriptpubkey for the first transaction so that it knows how to sign the second one
1664 2013-11-23 17:54:16 <michagogo> cloud!uid14316@wikia/Michagogo|shamoon: I thought you were hand-crafting transactions? :-P
1665 2013-11-23 17:54:20 Coincidental has joined
1666 2013-11-23 17:54:24 <shamoon> i am
1667 2013-11-23 17:54:34 <shamoon> as i get an input, i'm chaining that
1668 2013-11-23 17:55:47 gdoteof has quit (Quit: Lost terminal)
1669 2013-11-23 17:55:52 <michagogo> cloud!uid14316@wikia/Michagogo|Maybe we mean different things by handcrafting
1670 2013-11-23 17:56:06 <michagogo> cloud!uid14316@wikia/Michagogo|When I hand-craft a transaction, I do it in notepad
1671 2013-11-23 17:56:16 <shamoon> LOL
1672 2013-11-23 17:56:19 <michagogo> cloud!uid14316@wikia/Michagogo|With some hel from https://en.bitcoin.it/wiki/Transactions
1673 2013-11-23 17:56:21 <michagogo> cloud!uid14316@wikia/Michagogo|help*
1674 2013-11-23 17:56:39 <michagogo> cloud!uid14316@wikia/Michagogo|(well, notepad++)
1675 2013-11-23 17:56:44 <shamoon> i guess i meant in code
1676 2013-11-23 17:56:45 <sipa> you mean you don't use a magnetized needle and a steady hand?
1677 2013-11-23 17:56:51 <michagogo> cloud!uid14316@wikia/Michagogo|sipa: Nope
1678 2013-11-23 17:56:55 <shamoon> michagogo|cloud: thank you
1679 2013-11-23 17:57:00 <michagogo> cloud!uid14316@wikia/Michagogo|Nor do I set the constants of the universe
1680 2013-11-23 17:57:08 <michagogo> cloud!uid14316@wikia/Michagogo|or use a butterfly
1681 2013-11-23 17:57:09 <sipa> (xkcd 378)
1682 2013-11-23 17:57:12 <sipa> ok :p
1683 2013-11-23 17:57:29 <michagogo> cloud!uid14316@wikia/Michagogo|Yeah, I knew the reference
1684 2013-11-23 17:57:42 <michagogo> cloud!uid14316@wikia/Michagogo|and I thought it was xkcd, but wasn't sure
1685 2013-11-23 17:58:40 <sipa> ha, i forgot the alttest apparently :)
1686 2013-11-23 17:59:18 <michagogo> cloud!uid14316@wikia/Michagogo|Lol, I didn't know that thing was in the alttext
1687 2013-11-23 18:00:20 <JyZyXEL> how long should it take for bitcoind to close after you give it the kill signal?
1688 2013-11-23 18:01:16 <jgarzik> JyZyXEL, depends on the version.  Usually within a couple seconds, but older versions sometimes could take a few minutes
1689 2013-11-23 18:01:21 Sleepnbum has quit (Read error: Operation timed out)
1690 2013-11-23 18:03:14 patcon has quit (Remote host closed the connection)
1691 2013-11-23 18:03:14 FabianB has joined
1692 2013-11-23 18:03:39 <gulli> One of the things that has been messing with my mind when I've been dabbling with Bitcoinj, is that the master key here: https://en.bitcoin.it/wiki/BIP_0032#Test_Vectors  is called the seed in Bitcionj
1693 2013-11-23 18:03:41 patcon has joined
1694 2013-11-23 18:04:02 <gulli> But the seed makes the masterkey and the chainkey
1695 2013-11-23 18:04:09 FabianB_ has quit (Ping timeout: 264 seconds)
1696 2013-11-23 18:04:21 <gulli> master secret key
1697 2013-11-23 18:05:23 <sipa> gulli: haven't seen the bitcoinj code
1698 2013-11-23 18:06:16 omniden has quit (Ping timeout: 265 seconds)
1699 2013-11-23 18:06:49 omniden has joined
1700 2013-11-23 18:07:09 damethos has quit (Quit: Bye)
1701 2013-11-23 18:07:12 agnostic98 has joined
1702 2013-11-23 18:08:12 Belxjander has quit (Quit: Sayonara)
1703 2013-11-23 18:08:13 patcon has quit (Ping timeout: 245 seconds)
1704 2013-11-23 18:08:33 patcon has joined
1705 2013-11-23 18:09:10 debiantoruser has quit (Ping timeout: 265 seconds)
1706 2013-11-23 18:09:28 _fronti has quit (Ping timeout: 245 seconds)
1707 2013-11-23 18:09:45 _fronti has joined
1708 2013-11-23 18:11:19 agnostic98 has quit (Ping timeout: 240 seconds)
1709 2013-11-23 18:14:57 pZombie1 has quit (Ping timeout: 264 seconds)
1710 2013-11-23 18:16:50 Belxjander has joined
1711 2013-11-23 18:16:51 Belxjander has quit (Changing host)
1712 2013-11-23 18:16:51 Belxjander has joined
1713 2013-11-23 18:17:10 LiDE has joined
1714 2013-11-23 18:18:34 twiceaday has quit (Ping timeout: 252 seconds)
1715 2013-11-23 18:19:04 twiceaday has joined
1716 2013-11-23 18:20:18 viperhr has joined
1717 2013-11-23 18:20:45 debiantoruser has joined
1718 2013-11-23 18:20:51 viperhr has quit (Max SendQ exceeded)
1719 2013-11-23 18:21:18 viperhr has joined
1720 2013-11-23 18:21:32 mjl has joined
1721 2013-11-23 18:22:52 patcon has quit (Remote host closed the connection)
1722 2013-11-23 18:23:20 patcon has joined
1723 2013-11-23 18:25:14 _fronti has quit (Read error: Operation timed out)
1724 2013-11-23 18:25:18 Eiii has quit (Ping timeout: 245 seconds)
1725 2013-11-23 18:25:25 rnvk has joined
1726 2013-11-23 18:25:58 Eiii has joined
1727 2013-11-23 18:26:28 Zarutian has quit (Quit: Zarutian)
1728 2013-11-23 18:26:45 groglogic has quit (Remote host closed the connection)
1729 2013-11-23 18:28:15 patcon has quit (Ping timeout: 272 seconds)
1730 2013-11-23 18:30:34 <shamoon> getbalance
1731 2013-11-23 18:30:55 _fronti has joined
1732 2013-11-23 18:31:46 <sipa> 21000000.00
1733 2013-11-23 18:33:03 Emcy has quit (Read error: Connection reset by peer)
1734 2013-11-23 18:34:38 <shamoon> nice
1735 2013-11-23 18:34:38 <shamoon> lol
1736 2013-11-23 18:34:51 <shamoon> sipa: when sending a rawtransaction, how do i get a change address?
1737 2013-11-23 18:35:13 <sipa> you create one yourself, and send the change to it
1738 2013-11-23 18:35:29 <sipa> it's all manual
1739 2013-11-23 18:36:11 Tom_Soft has quit ()
1740 2013-11-23 18:36:40 drayah has quit (Remote host closed the connection)
1741 2013-11-23 18:36:54 <shamoon> if i send to my own address, will i have to account for fees?
1742 2013-11-23 18:37:13 <sipa> with rawtransactions, you set the fees yourself
1743 2013-11-23 18:37:23 <sipa> (it's the difference between inputs and outputs)
1744 2013-11-23 18:37:26 <shamoon> will it be an off-block tx?
1745 2013-11-23 18:37:31 <shamoon> if i send back to my own wallet?
1746 2013-11-23 18:37:36 <sipa> eh, no
1747 2013-11-23 18:37:37 <kjj> and the network doesn't know or care if an address is owned by the same person as the sender
1748 2013-11-23 18:37:51 <sipa> and off-block transaction doesn't exist in bitcoin-the-netowkr
1749 2013-11-23 18:38:02 <sipa> you wouldn't use bitcoind to do them
1750 2013-11-23 18:38:12 <shamoon> well - with regular "sendtoaddress", if i send to myself
1751 2013-11-23 18:38:14 <shamoon> does it hit the network?
1752 2013-11-23 18:38:17 <sipa> of course
1753 2013-11-23 18:38:20 <sipa> it's a bitcoin transaction
1754 2013-11-23 18:38:39 <shamoon> gotcha
1755 2013-11-23 18:38:55 <kjj> I'm a bank.  two people each have 10 BTC on deposit with me.  Person A tells me to give 2 BTC to person B.  I adjust their accounts to 8 and 12.  that was off-chain
1756 2013-11-23 18:38:55 <sipa> an off-chain transaction is one where somehow you have external accounts and perform a transaction between them
1757 2013-11-23 18:39:26 <danneu> i.e. with beancounters
1758 2013-11-23 18:39:28 <sipa> they are transactions denominated in bitcoin-the-currency, but they have nothing to do with bitcoin-the-technology
1759 2013-11-23 18:40:08 Burritoh has joined
1760 2013-11-23 18:40:28 kaptah has joined
1761 2013-11-23 18:42:40 deepc0re has joined
1762 2013-11-23 18:43:19 guester has quit (Quit: Page closed)
1763 2013-11-23 18:43:46 ralphtheninja has joined
1764 2013-11-23 18:48:46 thelorax123 has quit (Remote host closed the connection)
1765 2013-11-23 18:49:53 thelorax123 has joined
1766 2013-11-23 18:51:15 dexX7_ has joined
1767 2013-11-23 18:51:28 dexX7_ has quit (Changing host)
1768 2013-11-23 18:51:28 dexX7_ has joined
1769 2013-11-23 18:53:08 Application has quit (Remote host closed the connection)
1770 2013-11-23 18:53:29 agnostic98 has joined
1771 2013-11-23 18:54:36 dexX7 has quit (Ping timeout: 265 seconds)
1772 2013-11-23 18:55:20 ThomasV has joined
1773 2013-11-23 18:55:36 dexX7_ is now known as dexX7
1774 2013-11-23 18:57:50 dexX7 has quit (Quit: Leaving)
1775 2013-11-23 18:58:16 <coin1> how can i get bitcoins for the testnet?
1776 2013-11-23 18:58:33 <coin1> im kind of a noob and want to play with multisig transactions
1777 2013-11-23 19:01:03 agnostic98 has quit (Remote host closed the connection)
1778 2013-11-23 19:01:19 <kjj> testnet faucet
1779 2013-11-23 19:01:56 <coin1> oh cool, somehow i missed that
1780 2013-11-23 19:03:12 <Apocalyptic> coin1, ask nkuttler
1781 2013-11-23 19:03:39 <coin1> thanks, I think it won´t be necessary if the faucet works
1782 2013-11-23 19:03:57 <coin1> i just need a couple of coins for test
1783 2013-11-23 19:06:13 daybyter has quit (Quit: Konversation terminated!)
1784 2013-11-23 19:06:21 patcon has joined
1785 2013-11-23 19:07:39 tesserajk has quit (Quit: tesserajk)
1786 2013-11-23 19:09:55 Eiii has quit (Ping timeout: 252 seconds)
1787 2013-11-23 19:10:10 skinnkavaj has quit (Ping timeout: 240 seconds)
1788 2013-11-23 19:10:32 chmod755 has joined
1789 2013-11-23 19:10:50 ovidiusoft has joined
1790 2013-11-23 19:10:56 skinnkavaj has joined
1791 2013-11-23 19:11:11 Eiii has joined
1792 2013-11-23 19:13:30 patcon has quit (Ping timeout: 245 seconds)
1793 2013-11-23 19:14:16 porquilho has joined
1794 2013-11-23 19:15:32 Wegot has quit (Quit: Page closed)
1795 2013-11-23 19:15:43 viperhr has quit (Ping timeout: 245 seconds)
1796 2013-11-23 19:18:25 johnsofttt1 has joined
1797 2013-11-23 19:18:57 shamoon has quit (Read error: Connection reset by peer)
1798 2013-11-23 19:20:31 johnsoft has quit (Ping timeout: 248 seconds)
1799 2013-11-23 19:20:55 johnsofttt has quit (Ping timeout: 252 seconds)
1800 2013-11-23 19:21:10 johnsoft has joined
1801 2013-11-23 19:21:36 drayah has joined
1802 2013-11-23 19:21:51 rdymac has quit (Read error: Connection reset by peer)
1803 2013-11-23 19:22:53 reneg has joined
1804 2013-11-23 19:23:38 t7 has quit (Remote host closed the connection)
1805 2013-11-23 19:26:01 shamoon has joined
1806 2013-11-23 19:26:02 paracyst has joined
1807 2013-11-23 19:29:55 rdymac has joined
1808 2013-11-23 19:30:23 patcon has joined
1809 2013-11-23 19:31:44 Coincidental has quit (Remote host closed the connection)
1810 2013-11-23 19:32:12 Coincidental has joined
1811 2013-11-23 19:32:18 tesserajk has joined
1812 2013-11-23 19:32:28 drayah has quit (Remote host closed the connection)
1813 2013-11-23 19:32:40 Starduster has quit (Quit: gotta go)
1814 2013-11-23 19:32:40 LiDE has quit (Ping timeout: 245 seconds)
1815 2013-11-23 19:35:50 ProfMac has joined
1816 2013-11-23 19:36:23 skez has joined
1817 2013-11-23 19:36:25 Coincidental has quit (Ping timeout: 245 seconds)
1818 2013-11-23 19:39:13 iz has quit (Remote host closed the connection)
1819 2013-11-23 19:39:33 iz has joined
1820 2013-11-23 19:39:37 Thepok has quit (Ping timeout: 252 seconds)
1821 2013-11-23 19:49:09 hsmiths has quit (Read error: Connection reset by peer)
1822 2013-11-23 19:50:42 rastapopuloto has joined
1823 2013-11-23 19:50:48 hsmiths has joined
1824 2013-11-23 19:52:32 skez has quit (Ping timeout: 240 seconds)
1825 2013-11-23 19:59:03 reneg has quit (Ping timeout: 245 seconds)
1826 2013-11-23 20:01:17 chmod755 has quit (Quit: Leaving)
1827 2013-11-23 20:03:41 <shesek> hmm... I was playing with bitcoin's code and got myself into "Safe mode: Warning: Displayed transactions may not be correct"
1828 2013-11-23 20:04:15 <shesek> anything I can do about that other than deleting everything and re-downloading the blockchain?
1829 2013-11-23 20:06:34 <sipa> yes, start with -reindex
1830 2013-11-23 20:06:52 <sipa> never ever delete and redownload your blockchain
1831 2013-11-23 20:07:17 skez has joined
1832 2013-11-23 20:07:35 anonymous23596 has joined
1833 2013-11-23 20:07:37 <shesek> oh, duh, that should've been the first thing to try
1834 2013-11-23 20:07:45 reneg has joined
1835 2013-11-23 20:08:05 <shesek> thanks, I'll just undo some changes and re-compile, and try that
1836 2013-11-23 20:08:26 <sipa> reindex does the same thing as redownloading  except using the blocks you already have
1837 2013-11-23 20:10:52 anonymous23596 has quit (Client Quit)
1838 2013-11-23 20:11:02 <shesek> yeah, I know, but forgot about it somehow. thanks again
1839 2013-11-23 20:12:06 <shesek> another question - how can I verify a partially-signed m-of-n transaction signature is correct?
1840 2013-11-23 20:14:04 shamoon has quit (Remote host closed the connection)
1841 2013-11-23 20:14:40 reneg_ has joined
1842 2013-11-23 20:14:44 mrkent has quit (Ping timeout: 272 seconds)
1843 2013-11-23 20:16:38 reneg has quit (Ping timeout: 272 seconds)
1844 2013-11-23 20:16:54 thelorax123 has quit (Remote host closed the connection)
1845 2013-11-23 20:17:30 cadaverr has joined
1846 2013-11-23 20:17:59 thelorax123 has joined
1847 2013-11-23 20:18:26 tesserajk has left ()
1848 2013-11-23 20:19:22 freewil has joined
1849 2013-11-23 20:19:34 LiDE has joined
1850 2013-11-23 20:26:26 LiDE has quit (Ping timeout: 265 seconds)
1851 2013-11-23 20:27:05 go1111111 has joined
1852 2013-11-23 20:31:22 avantgeek_ has quit (Read error: Connection reset by peer)
1853 2013-11-23 20:32:09 Zarutian has joined
1854 2013-11-23 20:32:16 Neozonz has joined
1855 2013-11-23 20:32:27 avantgeek_ has joined
1856 2013-11-23 20:32:35 Neozonz has quit (Ping timeout: 246 seconds)
1857 2013-11-23 20:34:10 avantgeek_ has quit (Client Quit)
1858 2013-11-23 20:34:18 agnostic98 has joined
1859 2013-11-23 20:35:16 avantgeek_ has joined
1860 2013-11-23 20:36:25 patcon has quit (Remote host closed the connection)
1861 2013-11-23 20:36:44 rdymac has quit (Excess Flood)
1862 2013-11-23 20:36:57 patcon has joined
1863 2013-11-23 20:37:57 rdymac has joined
1864 2013-11-23 20:38:34 patcon has quit (Read error: Connection reset by peer)
1865 2013-11-23 20:38:46 patcon has joined
1866 2013-11-23 20:40:07 skez has quit (Ping timeout: 252 seconds)
1867 2013-11-23 20:41:13 throwaway123 has joined
1868 2013-11-23 20:41:14 nadio has quit (Quit: reboot)
1869 2013-11-23 20:41:25 nadio has joined
1870 2013-11-23 20:41:32 n0g has quit (Quit: Jesus is Lord.)
1871 2013-11-23 20:43:15 random_cat has quit (Ping timeout: 240 seconds)
1872 2013-11-23 20:44:38 wumpus has quit ()
1873 2013-11-23 20:44:54 wumpus has joined
1874 2013-11-23 20:46:10 skez has joined
1875 2013-11-23 20:46:19 iz has joined
1876 2013-11-23 20:47:22 Alan-1 has quit (Remote host closed the connection)
1877 2013-11-23 20:47:40 Alan-1 has joined
1878 2013-11-23 20:48:12 nadio has quit (Quit: reboot)
1879 2013-11-23 20:48:19 nadio has joined
1880 2013-11-23 20:48:19 nadio has quit (Changing host)
1881 2013-11-23 20:48:19 nadio has joined
1882 2013-11-23 20:51:19 drayah has joined
1883 2013-11-23 20:51:29 skinnkavaj has quit (Ping timeout: 246 seconds)
1884 2013-11-23 20:53:24 drayah has quit (Remote host closed the connection)
1885 2013-11-23 20:53:45 drayah has joined
1886 2013-11-23 20:54:06 ralphtheninja has quit (Quit: leaving)
1887 2013-11-23 20:54:54 drayah has quit (Remote host closed the connection)
1888 2013-11-23 20:55:23 go1111111 has quit (Read error: Operation timed out)
1889 2013-11-23 20:56:20 random_cat has joined
1890 2013-11-23 20:56:21 drayah has joined
1891 2013-11-23 20:57:56 go1111111 has joined
1892 2013-11-23 20:58:24 Namworld has joined
1893 2013-11-23 21:00:25 wiretapped has joined
1894 2013-11-23 21:00:30 <michagogo> cloud!uid14316@wikia/Michagogo|define 'correct'
1895 2013-11-23 21:02:16 skinnkavaj has joined
1896 2013-11-23 21:02:38 <shesek> michagogo|cloud, signed with the correct pubkey?
1897 2013-11-23 21:03:05 <shesek> I'm creating a transaction with bitcoinjs-lib, and bitcoind refuses to accept it... I'm trying to figure out why
1898 2013-11-23 21:03:10 <michagogo> cloud!uid14316@wikia/Michagogo|Well, just verify the signature against the pubkey
1899 2013-11-23 21:03:36 <michagogo> cloud!uid14316@wikia/Michagogo|(don't think you can do that with bitcoind, need some other tool)
1900 2013-11-23 21:03:53 <shesek> any idea what tool allows to do that?
1901 2013-11-23 21:04:06 <michagogo> cloud!uid14316@wikia/Michagogo|openssl?
1902 2013-11-23 21:05:36 <shesek> my openssl doesn't support ecdsa for some reason... I'll try compiling from source
1903 2013-11-23 21:05:38 <shesek> thanks
1904 2013-11-23 21:06:15 <sipa> verifying with openssl would be very tricky
1905 2013-11-23 21:06:25 MobPhone has quit (Ping timeout: 246 seconds)
1906 2013-11-23 21:06:28 <linagee> Luke-Jr: /j #bitcoin
1907 2013-11-23 21:06:37 <shesek> why? and is there an alternative you would suggest?
1908 2013-11-23 21:06:39 <sipa> you'd need to export the pubkey in a format that openssl supports (PEM or whatever), and know the signatue hash
1909 2013-11-23 21:06:39 drayah has quit (Remote host closed the connection)
1910 2013-11-23 21:06:49 <linagee> ignore, wrong window
1911 2013-11-23 21:06:53 <sipa> if bitcoind accepts it in its mempool, it should be fine
1912 2013-11-23 21:07:00 <sipa> otherwise, there can be ton of things that go wrong
1913 2013-11-23 21:07:19 MobPhone has joined
1914 2013-11-23 21:07:31 MobPhone has quit (Max SendQ exceeded)
1915 2013-11-23 21:07:36 <shesek> I do know the signature hash, I was comparing that of bitcoinjs-lib with what bitcoind ends up with
1916 2013-11-23 21:07:37 <sipa> missing dependencies, not enough fee, relay policy, non-standard transactions, ...
1917 2013-11-23 21:07:59 <sipa> can you paste the signature?
1918 2013-11-23 21:08:24 <shesek> sure
1919 2013-11-23 21:08:29 <sipa> there were some known issues with the signatures bitcoinjs generates
1920 2013-11-23 21:08:37 <sipa> but i thought those were fixed years ago
1921 2013-11-23 21:09:40 MobPhone has joined
1922 2013-11-23 21:09:53 <shesek> it was already working awhile ago, but I recently switched to vbuterin's fork and make a bunch of other changes, and something broke
1923 2013-11-23 21:10:05 Tativie has joined
1924 2013-11-23 21:10:21 MobPhone has quit (Client Quit)
1925 2013-11-23 21:10:52 <Tativie> Is there a line that I can add to the the bitcoin config file to limit the upload speed?
1926 2013-11-23 21:10:58 <sipa> no
1927 2013-11-23 21:11:01 <sipa> use -nolisten
1928 2013-11-23 21:11:04 <sipa> (for now)
1929 2013-11-23 21:11:23 <shesek> here's the tx: http://pastie.org/8503998
1930 2013-11-23 21:11:44 <Tativie> sipa: How do I do that in bitcoin config file?
1931 2013-11-23 21:11:45 CryptoBuck has quit ()
1932 2013-11-23 21:11:45 <shesek> the sigs are after "47/48 push length"
1933 2013-11-23 21:12:22 <shesek> the transaction hash used for the signature is identical to what bitcoind is creating
1934 2013-11-23 21:12:34 <shesek> and bitcoinjs-lib is able to verify the signature that it creates
1935 2013-11-23 21:12:36 <sipa> Tativie: nolisten=1
1936 2013-11-23 21:12:44 <sipa> shesek: there's something truncated there
1937 2013-11-23 21:12:47 <Tativie> sipa: Thanks.
1938 2013-11-23 21:12:55 <sipa> or listen=0 i guess
1939 2013-11-23 21:13:08 <shesek> I've been debugging that for hours, I'm not quite sure how to go about that :O
1940 2013-11-23 21:13:13 <shesek> what's truncated?
1941 2013-11-23 21:13:18 <shesek> its scrollable
1942 2013-11-23 21:13:21 <sipa> the signatures
1943 2013-11-23 21:13:24 ielo has joined
1944 2013-11-23 21:13:53 <sipa> eh, never mind
1945 2013-11-23 21:13:59 <sipa> looks good
1946 2013-11-23 21:15:39 <shesek> what would you suggest me to look into?
1947 2013-11-23 21:16:07 <shesek> I'm not sure what could be causing that, other than the signatures themselves being wrong
1948 2013-11-23 21:16:21 <sipa> anything in debug.log?
1949 2013-11-23 21:17:05 lordbunson has quit (Ping timeout: 272 seconds)
1950 2013-11-23 21:17:39 <shesek> yeah - CScriptCheck() VerifySignature failed and CTxMemPool::accept() ConnectInputs failed
1951 2013-11-23 21:17:56 <shesek> but nothing more specific than that
1952 2013-11-23 21:18:25 <sipa> ok, so it's actually the signature
1953 2013-11-23 21:19:00 <gulli> hey sipa, what is the seed for these testvectors? https://en.bitcoin.it/wiki/BIP_0032_TestVectors
1954 2013-11-23 21:19:19 <shesek> I looked though the code, it seems like there are a bunch of cases that would cause that error
1955 2013-11-23 21:19:58 <sipa> gulli: the hex string after 'Master:'; i should change that
1956 2013-11-23 21:20:11 <shesek> its VerifyScript returning false, which has a bunch of `if (...) return false`s
1957 2013-11-23 21:20:19 <gulli> 000102030405060708090a0b0c0d0e0f ?
1958 2013-11-23 21:20:23 <sipa> yes
1959 2013-11-23 21:20:44 <sipa> shesek: yes, it's just the script evaluation that fails; could be several things
1960 2013-11-23 21:21:24 <michagogo> cloud!uid14316@wikia/Michagogo|Would anything like  "warning: cache image returned by the server ..." ever show up in debug.log?
1961 2013-11-23 21:21:30 Tantadruj has joined
1962 2013-11-23 21:21:40 <sipa> michagogo|cloud: heh?
1963 2013-11-23 21:22:04 <michagogo> cloud!uid14316@wikia/Michagogo|sipa: idk
1964 2013-11-23 21:22:18 <michagogo> cloud!uid14316@wikia/Michagogo|Someone in #bitcoin, apparently he's not seeing coins show up
1965 2013-11-23 21:22:29 <michagogo> cloud!uid14316@wikia/Michagogo|on a fully synced node, confirmed transaction
1966 2013-11-23 21:22:53 drayah has joined
1967 2013-11-23 21:23:03 <shesek> sipa, isn't there some way to get bitcoind to verify a multisig transaction with one of the two required sigs?
1968 2013-11-23 21:23:18 <michagogo> cloud!uid14316@wikia/Michagogo|Am I correct to assume that RPC commands aren't affected by language settings?
1969 2013-11-23 21:23:37 <sipa> shesek: if it's a 1-of-2 multisig, sure?
1970 2013-11-23 21:23:54 <shesek> no, its a 2-of-3, but which has 1 of the 2 requires signatures
1971 2013-11-23 21:24:01 <shesek> s/requires/required
1972 2013-11-23 21:24:12 <sipa> well then it should fail
1973 2013-11-23 21:24:15 <shesek> (not the one I pasted, another one)
1974 2013-11-23 21:24:48 <shesek> yeah, it should, because the 2nd signature is missing... but can't I somehow check if the 1st one is correct?
1975 2013-11-23 21:25:10 <shesek> say someone received a partially signed tx. can't he somehow verify that he got a valid signature?
1976 2013-11-23 21:25:53 <sipa> the signing code could have some trickery to decode specific types of transactions, and do those checks individually
1977 2013-11-23 21:26:06 <sipa> but from the point of the script evaluation code, it's just an invalid script
1978 2013-11-23 21:26:24 <sipa> so i don't think there is, but i don't know all details of the raw transaction acpi
1979 2013-11-23 21:26:28 <sipa> acpi
1980 2013-11-23 21:26:28 <sipa> api
1981 2013-11-23 21:26:33 saizai has joined
1982 2013-11-23 21:26:39 <sipa> damn, muscle memory
1983 2013-11-23 21:27:02 drayah has quit (Remote host closed the connection)
1984 2013-11-23 21:27:24 deepc0re has quit (Quit: deepc0re)
1985 2013-11-23 21:31:04 damethos has joined
1986 2013-11-23 21:33:15 Starduster has joined
1987 2013-11-23 21:34:21 AusBitBank has joined
1988 2013-11-23 21:36:00 whatthe-bull has joined
1989 2013-11-23 21:37:33 failavail has joined
1990 2013-11-23 21:39:58 Application has joined
1991 2013-11-23 21:40:53 Tativie has left ()
1992 2013-11-23 21:44:39 Application has quit (Ping timeout: 252 seconds)
1993 2013-11-23 21:44:57 CryptoBuck has joined
1994 2013-11-23 21:46:37 tmsk has joined
1995 2013-11-23 21:48:31 <michagogo> cloud!uid14316@wikia/Michagogo|sipa: Ah, so that guy is switching wallet.dat files around
1996 2013-11-23 21:48:44 <michagogo> cloud!uid14316@wikia/Michagogo|(which he didn't feel the need to mention, apparently)
1997 2013-11-23 21:48:54 <michagogo> cloud!uid14316@wikia/Michagogo|He's got a rescan running now
1998 2013-11-23 21:49:06 <michagogo> cloud!uid14316@wikia/Michagogo|And it worked :-P
1999 2013-11-23 21:51:10 Application has joined
2000 2013-11-23 21:51:50 zer0def has quit (Quit: Quit:)
2001 2013-11-23 21:52:37 zer0def has joined
2002 2013-11-23 21:52:46 agnostic_ has joined
2003 2013-11-23 21:52:57 agnostic98 has quit (Read error: Connection reset by peer)
2004 2013-11-23 21:53:32 agnostic98 has joined
2005 2013-11-23 21:57:15 agnostic_ has quit (Ping timeout: 245 seconds)
2006 2013-11-23 21:58:15 ovidiusoft has quit (Remote host closed the connection)
2007 2013-11-23 22:05:06 damethos has quit (Quit: Bye)
2008 2013-11-23 22:07:48 rnvk has quit (Ping timeout: 245 seconds)
2009 2013-11-23 22:07:57 kill\switch has joined
2010 2013-11-23 22:10:34 patcon has quit (Remote host closed the connection)
2011 2013-11-23 22:11:06 patcon has joined
2012 2013-11-23 22:12:26 gritball_ has joined
2013 2013-11-23 22:12:31 pataroose has joined
2014 2013-11-23 22:12:53 pataroose has quit (Client Quit)
2015 2013-11-23 22:13:55 dustjn- has quit (Quit: I'll love you forever, I'll like you for always.)
2016 2013-11-23 22:14:43 gritball has quit (Ping timeout: 272 seconds)
2017 2013-11-23 22:15:35 Burritoh has quit (Read error: Connection reset by peer)
2018 2013-11-23 22:15:42 patcon has quit (Ping timeout: 272 seconds)
2019 2013-11-23 22:16:01 Burritoh has joined
2020 2013-11-23 22:18:50 dustjn has joined
2021 2013-11-23 22:18:57 <shesek> anyone happen to have a running testnet and can verify this is failing for him too? http://pastie.org/pastes/8504083/text
2022 2013-11-23 22:19:18 LiDE has joined
2023 2013-11-23 22:23:46 LiDE has quit (Ping timeout: 246 seconds)
2024 2013-11-23 22:24:27 <matjeh> shesek: error: {"code":-22,"message":"TX rejected"}
2025 2013-11-23 22:24:34 <shesek> thanks
2026 2013-11-23 22:26:58 _fronti has quit (Ping timeout: 245 seconds)
2027 2013-11-23 22:28:46 thelorax123 has quit (Read error: Connection reset by peer)
2028 2013-11-23 22:29:58 thelorax123 has joined
2029 2013-11-23 22:30:26 Syphor_William has joined
2030 2013-11-23 22:31:18 Guest38985 has quit (Quit: Leaving)
2031 2013-11-23 22:32:30 Liquid has joined
2032 2013-11-23 22:32:33 _fronti has joined
2033 2013-11-23 22:32:53 Liquid is now known as Guest76232
2034 2013-11-23 22:35:18 jaekwon has quit (Ping timeout: 245 seconds)
2035 2013-11-23 22:37:31 rastapopuloto has left ()
2036 2013-11-23 22:39:50 Starduster has quit (Quit: gotta go)
2037 2013-11-23 22:41:07 <HM2> hmm
2038 2013-11-23 22:41:14 <HM2> is the new Ripple technically interesting?
2039 2013-11-23 22:41:37 <HM2> last i looked at ripple nobody seemed to know what the smeg they were doing
2040 2013-11-23 22:41:59 <sipa> doesn't seem anyone cares either
2041 2013-11-23 22:42:19 <amiller> i'm pissed at ripple
2042 2013-11-23 22:42:25 <amiller> as far as i can tell i am the only one that gives a shit
2043 2013-11-23 22:42:30 <amiller> i hate their consensus algortihm and think it makes no sense
2044 2013-11-23 22:42:41 <sipa> i don't think it makes sense either
2045 2013-11-23 22:42:43 cadaverr has quit (Read error: Connection reset by peer)
2046 2013-11-23 22:42:51 <warren> amiller: I'm not pissed at Ripple, I just regularly point out how it's a pile of fail.
2047 2013-11-23 22:42:57 <amiller> but i can't swoop in like a superhero and demonstrate an attack because they can't commit to any actual attack model
2048 2013-11-23 22:43:01 <HM2> well they have a nice flashy site and professional look
2049 2013-11-23 22:43:07 <HM2> and apparently raised $3.5M in investment
2050 2013-11-23 22:43:12 <warren> amiller: and how it relies entirely on centralized issuers
2051 2013-11-23 22:43:49 <amiller> i am trying to goad them into technical conversation here https://ripple.com/forum/viewtopic.php?f=2&t=4118
2052 2013-11-23 22:44:12 <amiller> and here http://lists.w3.org/Archives/Public/public-webpayments/2013Nov/0056.html
2053 2013-11-23 22:45:04 <amiller> i'm pissed at them because they are simultaneously a) a weird consensus algorithm I don't think works and b) using a social collateral based credit network scheme, basically
2054 2013-11-23 22:45:30 <amiller> i think they will have serious problems due to a), but b) is actually my favorite kind of economic thing, so i will be really sad if they end up spoiling b) for eveyrone
2055 2013-11-23 22:45:35 dustjn has quit (Quit: I'll love you forever, I'll like you for always.)
2056 2013-11-23 22:46:08 dustjn has joined
2057 2013-11-23 22:46:12 <HM2> i've never liked b)
2058 2013-11-23 22:46:20 <HM2> i like my money cold and heartless
2059 2013-11-23 22:46:40 <amiller> well there's no reason to couple them
2060 2013-11-23 22:46:45 <amiller> i could try to change your mind a bit about b
2061 2013-11-23 22:47:01 <sipa> i like b) for small social networks with low diameter
2062 2013-11-23 22:47:01 <amiller> but it's entirely orthogonal to the disaster that is a.
2063 2013-11-23 22:47:18 <amiller> sipa, the point of social collateral is that they can bridge across networks
2064 2013-11-23 22:47:23 <sipa> i don't think b works for anything where people are more than 2-3 hops apart
2065 2013-11-23 22:47:28 <sipa> amiller: i know it can in theory
2066 2013-11-23 22:48:04 <amiller> well i like b) but recognize that it is a controversial topic that is not as well understood or optimistic in the first place by many people
2067 2013-11-23 22:48:21 dustjn has quit (Client Quit)
2068 2013-11-23 22:48:24 <amiller> so if a) causes ripple's experiment to go awry, it could take a very long time to convince anyone to give b) another shot in any other form either :)
2069 2013-11-23 22:48:53 dustjn has joined
2070 2013-11-23 22:49:51 cadaver has joined
2071 2013-11-23 22:50:23 d3p0rt3d has quit (Read error: No route to host)
2072 2013-11-23 22:50:57 <edcba> amiller: is there a description of their consensus algorithm somewhere ?
2073 2013-11-23 22:51:05 ielo has quit (Quit: Leaving)
2074 2013-11-23 22:51:12 <amiller> edcba, yes
2075 2013-11-23 22:51:25 d3p0rt3d has joined
2076 2013-11-23 22:51:28 d3p0rt3d has quit (Max SendQ exceeded)
2077 2013-11-23 22:51:29 <amiller> edcba, https://ripple.com/wiki/Consensus
2078 2013-11-23 22:51:46 <amiller> the weird part is here though: https://ripple.com/wiki/Unique_Node_List
2079 2013-11-23 22:51:48 <edcba> graphic and video...
2080 2013-11-23 22:51:50 <edcba> wtf
2081 2013-11-23 22:51:55 d3p0rt3d has joined
2082 2013-11-23 22:51:56 deepc0re has joined
2083 2013-11-23 22:52:03 <amiller> they don't have a formal whitepaper but they have described the algorithm in pretty good detail
2084 2013-11-23 22:52:10 <amiller> the thing that is sketchy is the way that nodes select themselves in the first place
2085 2013-11-23 22:52:27 <amiller> in a traditional distributed system, there are n nodes, they are desginated by some administrator at the beginning of time, and they all agree on each other's identities at least
2086 2013-11-23 22:52:42 <amiller> Bitcoin is a pretty big departure from the 40 years of academic work on this topic, because it doesn't assume there's preestablished identities
2087 2013-11-23 22:52:57 <amiller> selecting the longest proof-of-work chain is a pretty clever substitute for that
2088 2013-11-23 22:53:08 <amiller> with Ripple, there's no proof of work, nor preestablished participants
2089 2013-11-23 22:53:19 <amiller> instead every node (and every user, who is not necessarily a node) just chooses for themselves
2090 2013-11-23 22:53:45 <amiller> it's a little like saying the Certificate Authority system is decentralized, because every user can go into their browser settings and remove/insert different roots if they want
2091 2013-11-23 22:54:04 <sipa> ha, that's a nice comparison
2092 2013-11-23 22:54:19 <edcba> ok i see
2093 2013-11-23 22:54:25 rnvk has joined
2094 2013-11-23 22:54:29 <edcba> so ripple labs certify nodes
2095 2013-11-23 22:54:33 <amiller> so any analysis (there is none) would have to take into account some rationale for how users and nodes choose these lists
2096 2013-11-23 22:54:56 <HM2> i think you're a pressimist amiller
2097 2013-11-23 22:54:59 <amiller> in their simulations, they did something like, fix a global set of 1000 nodes, and each users selects a dozen uniformly at random
2098 2013-11-23 22:55:00 <HM2> they had me at the  Wile E. Coyote metaphor
2099 2013-11-23 22:55:04 <amiller> LOL
2100 2013-11-23 22:55:07 <HM2> that guys plans always work out
2101 2013-11-23 22:55:18 johnsofttt has joined
2102 2013-11-23 22:55:42 ralphtheninja has joined
2103 2013-11-23 22:56:44 <gmaxwell> well, the worst thing for me is that you can have topologies of choosing where the system fails forever even though there are no attackers.
2104 2013-11-23 22:56:52 iddo has quit (Changing host)
2105 2013-11-23 22:56:52 iddo has joined
2106 2013-11-23 22:57:17 <amiller> yes but if you point that out it's easy for them to say "those topologies will not happen"
2107 2013-11-23 22:57:37 <amiller> so what i am trying to do is get them to commit to a topology
2108 2013-11-23 22:57:48 <gmaxwell> I tried to get them to state the necessary topological constraint to prevent that (since I couldn't be bothered to figure it out for my self, I just gave one example), and all they would say is don't do that.
2109 2013-11-23 22:57:49 <amiller> selecting 32 at random from an a priori fixed set of 1000 is a step in that direction.
2110 2013-11-23 22:58:04 johnsoft has quit (Ping timeout: 246 seconds)
2111 2013-11-23 22:58:09 johnsofttt1 has quit (Ping timeout: 264 seconds)
2112 2013-11-23 22:58:20 <gmaxwell> I dunno how they hope to achieve "don't do that" when they can't articulate the actual requirement.
2113 2013-11-23 22:58:28 Pengoo has joined
2114 2013-11-23 22:59:11 johnsoft has joined
2115 2013-11-23 22:59:34 c0rw1n has joined
2116 2013-11-23 22:59:45 <HM2> I can't get my head around that Consesus page. It seems to be saying people I find untrustworthy would never collude because they can't, by definition, be stupid enough to trust one another
2117 2013-11-23 23:00:14 <edcba> yes i wonder how do you code that
2118 2013-11-23 23:01:14 <sipa> you don't
2119 2013-11-23 23:01:28 <sipa> you put it on a "consensus" page
2120 2013-11-23 23:02:07 <iddo> gmaxwell: what's your example of topology that can cause the network to diverge?
2121 2013-11-23 23:02:52 <edcba> gov create a lot of nodes trusting each other and that's it ?
2122 2013-11-23 23:03:26 Thepok has joined
2123 2013-11-23 23:03:40 <edcba> or a hacker hacking enough nodes...
2124 2013-11-23 23:03:45 <iddo> i wonder if there are financial interests at stake, instead of just benign behavior that gives bad topology, then it's even more likely for ripple to diverge and netsplit because of economic interests?
2125 2013-11-23 23:03:45 <c0rw1n> HM2 that's where Nash's theorems come in
2126 2013-11-23 23:03:55 <amiller> there's no explicit incentives in Ripple
2127 2013-11-23 23:04:01 <amiller> nodes don't directly receive payment for participating
2128 2013-11-23 23:04:09 <amiller> so there's no game theory analysis you can do the way you do with bitcon
2129 2013-11-23 23:04:21 <gmaxwell> iddo: the simplest one is that you have two fully connected clusters (say of 8 nodes) and a just a couple edges between them (maybe even high latency edges). Now an attacker creates a pair of conflicting transactions and gives it to each cluster.
2130 2013-11-23 23:04:24 <amiller> not that anyone has done that yet... outside of the selfish mining paper and ed felten's paper
2131 2013-11-23 23:04:31 <edcba> amiller: amount of xrp ?
2132 2013-11-23 23:04:35 <gmaxwell> (s/attacker/clueless idiot/)
2133 2013-11-23 23:04:41 <amiller> edcba, validators don't get xrp though
2134 2013-11-23 23:04:57 <gmaxwell> the xrp is destroyed.
2135 2013-11-23 23:05:25 <shesek> How does the matching between pubkeys and signatures work with m-of-n transactions? I'm looking here https://github.com/bitcoin/bitcoin/blob/master/src/script.cpp#L915-L935 and trying to debug it, and it seems like it never attempts one of the sigs against its matching pubkey
2136 2013-11-23 23:05:37 <shesek> does it rely on some specific signature ordering or something?
2137 2013-11-23 23:05:51 <iddo> gmaxwell: ripple consensus doesn't have any mechanism to re-converge after such a netsplit?
2138 2013-11-23 23:06:14 <gmaxwell> iddo: no. manual. unless they've added something.
2139 2013-11-23 23:06:21 <sipa> shesek: yes, the signatures have to be in the same order as the public keys
2140 2013-11-23 23:06:45 <gmaxwell> iddo: at least the way they originally described it, it stops if a majority of its trusted peers are down.
2141 2013-11-23 23:06:55 <sipa> shesek: oh, you're aware of the bug that it pops off one value too many?
2142 2013-11-23 23:07:15 eristisk has quit (Ping timeout: 240 seconds)
2143 2013-11-23 23:07:15 <shesek> yeah, I am
2144 2013-11-23 23:07:23 <shesek> the one that OP_0 resolves, right?
2145 2013-11-23 23:07:28 <sipa> yup
2146 2013-11-23 23:07:35 <gmaxwell> iddo: so in the fully connected graph there is no problem with a netsplit, the network just stops. and when the split ends it continues.
2147 2013-11-23 23:08:32 Polyatomic has joined
2148 2013-11-23 23:08:48 <shesek> is the signatures being order-sensitive mentioned anywhere? I didn't notice that anywhere
2149 2013-11-23 23:09:16 <sipa> shesek: well, there's no good specification of the rules anyway, afaik
2150 2013-11-23 23:09:27 <shesek> and thanks, I think that was what's causing it not to work. I've been trying to debug that for a few hours now :-\
2151 2013-11-23 23:09:33 <gmaxwell> iddo: but I wasn't suggesting a netsplit with my clusters approach, that fails because there are two orthorgonal majorities, and so if they prefer inconsistent transactions (e.g. just doe to latency), they'll never converge.
2152 2013-11-23 23:09:39 <sipa> shesek: if it wasn't the case, you'd need O(m*n) signature checks to verify
2153 2013-11-23 23:10:14 <sipa> updating the wiki with things you seem to miss, is always nice
2154 2013-11-23 23:10:36 <gmaxwell> sipa: well not really, you'd do M pubkey recoveries. :P
2155 2013-11-23 23:10:40 <iddo> gmaxwell: what causes the split to end with fully connected graph? couldn't you have a split into fractions where the best fraction has plurality but not majority?
2156 2013-11-23 23:10:55 <sipa> gmaxwell: ha!
2157 2013-11-23 23:11:07 <petertodd> amiller: you can add my "do bitcoin miners have an incentive to actually distribute blocks?" thinking to that short list...
2158 2013-11-23 23:11:40 <amiller> cuniculas "game theory primer for bitcoin people" too
2159 2013-11-23 23:11:57 <petertodd> gmaxwell: you realize that if there was a way to punch someone in the face over the internet that could actually help the ripple consensus algorithm converge?
2160 2013-11-23 23:12:02 <gmaxwell> iddo: because they believe a majority of their configured peers, and if a majority of their configured peers is offline they stop processing.
2161 2013-11-23 23:12:03 cadaver has quit (Quit: This computer has gone to sleep)
2162 2013-11-23 23:12:05 EmLeX has quit (Ping timeout: 272 seconds)
2163 2013-11-23 23:12:09 <petertodd> amiller: oh, cool, I haven't read that one
2164 2013-11-23 23:12:14 <shesek> sipa, yep, that was it! I've been banging my head trying to solve that
2165 2013-11-23 23:12:21 <shesek> thank you! :)
2166 2013-11-23 23:12:24 EmLeX has joined
2167 2013-11-23 23:12:28 <sipa> shesek: sorry, i assumed it was well-known
2168 2013-11-23 23:13:00 <gmaxwell> iddo: so if the netsplit creates a bunch of large segments they'll all stop.
2169 2013-11-23 23:13:02 <shesek> the weird thing is that I tested this multiple times with random data, and it always worked without taking care of explicit ordering
2170 2013-11-23 23:13:21 <petertodd> shesek: did you have more valid sigs than required?
2171 2013-11-23 23:13:26 <shesek> I must've gotten lucky and has the ordering correct by accident
2172 2013-11-23 23:13:28 martinn has quit (Ping timeout: 246 seconds)
2173 2013-11-23 23:13:30 <shesek> * had
2174 2013-11-23 23:13:35 <gmaxwell> iddo: if a split creates a 51% segment and a 49% segement, the 51% segment will go on processing and the 49% will sync with it when it comes back online. etc.
2175 2013-11-23 23:13:51 <shesek> petertodd, no, just in the wrong order
2176 2013-11-23 23:14:16 Heimdallr has joined
2177 2013-11-23 23:14:20 patcon has joined
2178 2013-11-23 23:14:28 <shesek> the last pubkey had its signature first
2179 2013-11-23 23:14:41 <gmaxwell> iddo: but in the non-fully connected model my ability to analyize fails, since what percentage is unreachable widly depends on where you are in the graph.
2180 2013-11-23 23:15:04 <iddo> gmaxwell: so if there's a bunch of large segments (<50$ each) and they all stop, does the ripple consensus recover from this?
2181 2013-11-23 23:15:26 <iddo> s/50$/50%
2182 2013-11-23 23:16:14 ralphtheninja has quit (Quit: leaving)
2183 2013-11-23 23:16:20 <iddo> it will recover only after some nodes modify manually who they trust?
2184 2013-11-23 23:18:49 <gmaxwell> iddo: my understanding is that they'll all just stop processing until they can reach >50% of their configured peers, or are reconfigured.
2185 2013-11-23 23:19:09 <iddo> ok
2186 2013-11-23 23:21:58 tmsk has quit (Quit: tmsk)
2187 2013-11-23 23:22:24 Zarutian has quit (Quit: Zarutian)
2188 2013-11-23 23:23:35 <iddo> also i think there was an interesting experiment by TradeFortress about trusting him with 100 BTC on ripple, in exchange for his 1 ripple-issued BTC ? i think that's more about issue (b) than issue (a) that amiller raised
2189 2013-11-23 23:24:27 patcon has quit (Ping timeout: 246 seconds)
2190 2013-11-23 23:24:45 shesek has quit (Ping timeout: 252 seconds)
2191 2013-11-23 23:24:59 <Polyatomic> iddo:was the experiment a success ?
2192 2013-11-23 23:25:45 <iddo> the idea was to show that "social collateral based credit" is susceptible to human gullibility?
2193 2013-11-23 23:26:27 fanquake has joined
2194 2013-11-23 23:28:07 <iddo> Polyatomic: success == showing that ripple doesn't work ?
2195 2013-11-23 23:28:42 johnsofttt1 has joined
2196 2013-11-23 23:29:09 <iddo> not sure what he did with the trust that users lent him
2197 2013-11-23 23:29:11 zeddan81 has quit (Quit: Lämnar)
2198 2013-11-23 23:29:57 johnsofttt has quit (Ping timeout: 264 seconds)
2199 2013-11-23 23:30:05 johnsoft has quit (Ping timeout: 272 seconds)
2200 2013-11-23 23:30:13 <petertodd> shesek: were you testing on testnet?
2201 2013-11-23 23:30:45 <petertodd> shesek: one very odd thing about CHECKMULTISIG is that it lets signatures fail
2202 2013-11-23 23:30:48 johnsoft has joined
2203 2013-11-23 23:31:09 whatthe-bull has quit (Ping timeout: 264 seconds)
2204 2013-11-23 23:31:38 zeddan81 has joined
2205 2013-11-23 23:33:43 ThomasV has quit (Read error: Operation timed out)
2206 2013-11-23 23:35:47 <petertodd> shesek: wait, never mind... my memory is faulty...
2207 2013-11-23 23:36:22 theorbtwo has joined
2208 2013-11-23 23:36:49 [1]syker53 has quit (Quit:  HydraIRC -> http://www.hydrairc.com <-)
2209 2013-11-23 23:37:50 shesek has joined
2210 2013-11-23 23:39:28 lachesis has quit (Quit: ZNC - http://znc.in)
2211 2013-11-23 23:41:18 <sipa> petertodd:
2212 2013-11-23 23:41:45 <sipa> for an m-of-n multisig! you can have n-m failed checks i be
2213 2013-11-23 23:41:48 <sipa> lieve
2214 2013-11-23 23:42:11 <HM2> sipa, remind me. the bloom filter impl has a privacy feature doesn't it?
2215 2013-11-23 23:42:28 <petertodd> sipa: right, but every signature in the scriptSig must be valid for at least for pubkey - you can't have a signature that's evaluated and isn't valid for any pubkey
2216 2013-11-23 23:43:09 lachesis has joined
2217 2013-11-23 23:43:19 <HM2> ah found it
2218 2013-11-23 23:44:01 Thepok has quit (Ping timeout: 272 seconds)
2219 2013-11-23 23:44:08 <sipa> petertodd: indeed
2220 2013-11-23 23:44:45 LiDE_ has joined
2221 2013-11-23 23:44:46 <sipa> HM2: bloom filterimg has false positives; if you tolerate a higher FP rate, you can better hide your interests
2222 2013-11-23 23:45:08 <petertodd> sipa: I was misremembering an oddity with this this: 78f2b2c726167eed60f4131c2304467bfe5c14c49cfb1a2eb0d61ef726f253ed Dark Wallet's anonymous donation address, which looks like someone spent it using a buggy implementation that didn't get rid of placeholder sigs...
2223 2013-11-23 23:46:01 shesek has quit (Ping timeout: 246 seconds)
2224 2013-11-23 23:46:06 <petertodd> sipa: not that I'm implying libbitcoin might have bugs in it or anything, not at all...
2225 2013-11-23 23:47:03 <HM2> sipa, ty
2226 2013-11-23 23:51:21 <amiller> is libbitcoin really that bad
2227 2013-11-23 23:52:12 <amiller> bitcoinj is the second most reputable independent implementation, i'm curious what's the third?
2228 2013-11-23 23:52:31 deepc0re has quit (Ping timeout: 248 seconds)
2229 2013-11-23 23:52:42 <petertodd> amiller: python-bitcoinlib, which says a hell of a lot about the state of independent implementations...
2230 2013-11-23 23:52:56 deepc0re has joined
2231 2013-11-23 23:53:34 <petertodd> amiller: any implmentation that thinks it's going to get it right is written by either fools or world-class geniuses - which do you think is more likely?
2232 2013-11-23 23:54:16 hnz has quit (Ping timeout: 265 seconds)
2233 2013-11-23 23:54:57 <HM2> bitcoinj is ambitious
2234 2013-11-23 23:55:37 shesek has joined
2235 2013-11-23 23:55:58 Sleepnbum has joined
2236 2013-11-23 23:56:15 <petertodd> HM2: yup, and Matt and Mike both don't think they're replacing bitcoind, and aren't fools...
2237 2013-11-23 23:56:23 Sleepnbum is now known as Guest14808
2238 2013-11-23 23:56:24 <HM2> I've read both codebases though and I think the C++ is still easier to understand :S
2239 2013-11-23 23:56:57 <gmaxwell> even bitcoinj still is recently hitting embarassing validation bugs. :(
2240 2013-11-23 23:56:58 <petertodd> yeah, though bitcoinj has better comments than bitcoind, though they have the advantage of experience
2241 2013-11-23 23:57:07 jaakkos has quit (Read error: Operation timed out)
2242 2013-11-23 23:57:12 <amiller> i don't see what's wrong with libbitcoin other than using a less-common async library
2243 2013-11-23 23:57:30 <amiller> and using the "manifesto" style of documentation conventions
2244 2013-11-23 23:57:38 <petertodd> amiller: what's wrong with it is it has a goal of being a ground-up reimplementation that's actually compatible
2245 2013-11-23 23:57:43 <HM2> what async library is it using?
2246 2013-11-23 23:57:45 <gmaxwell> (like CHECKSIG behaving like CHECKSIGVERIFY)
2247 2013-11-23 23:58:14 hnz has joined
2248 2013-11-23 23:58:19 <amiller> HM2, boost async io
2249 2013-11-23 23:58:37 <HM2> i wouldn't call that less common in the C++ world :S
2250 2013-11-23 23:58:53 Guest30026 has left ()
2251 2013-11-23 23:59:48 <amiller> petertodd, i don't follow, its code, it doesn't intrinsically have a goal