1 2014-03-04 00:02:31 olalonde is now known as LiKaShing
   2 2014-03-04 00:02:39 LiKaShing is now known as olalonde
   3 2014-03-04 00:03:03 adam_ has joined
   4 2014-03-04 00:05:23 adam_ has quit (Client Quit)
   5 2014-03-04 00:05:33 catguy has left ()
   6 2014-03-04 00:06:04 kurtosis has joined
   7 2014-03-04 00:06:46 NLNico_ has quit (Quit: Leaving)
   8 2014-03-04 00:06:49 jaychristopher has joined
   9 2014-03-04 00:07:57 <jaychristopher> Whats the easiest way to delete a 0 conf transaction from bitcoind wallet?
  10 2014-03-04 00:08:41 <gmaxwell> jaychristopher: wait until the next release and zapwallet.
  11 2014-03-04 00:08:42 basva has quit (Quit: Computer has gone to sleep.)
  12 2014-03-04 00:08:46 <sipa> with 0.9, start with -zapwallettxes
  13 2014-03-04 00:08:53 OperatorSyn has joined
  14 2014-03-04 00:09:03 <jaychristopher> thats a command?
  15 2014-03-04 00:09:10 <sipa> a command line flag
  16 2014-03-04 00:09:28 <gmaxwell> makes it purge out all the transactions and relearn them from the blockchain.
  17 2014-03-04 00:09:37 <jaychristopher> oh interesting
  18 2014-03-04 00:09:48 <jaychristopher> can i run that on -qt?
  19 2014-03-04 00:09:53 <jaychristopher> from command line
  20 2014-03-04 00:10:03 <sipa> why not just something that removes unconfirmed transactions, btw?
  21 2014-03-04 00:10:07 <sipa> no need for a rescan...
  22 2014-03-04 00:10:13 <sipa> and most likely what you want
  23 2014-03-04 00:10:25 InsiderJ_ has joined
  24 2014-03-04 00:10:35 <jaychristopher> agreed, id rather not rescan
  25 2014-03-04 00:10:39 <sipa> (jaychristopher: not a question to you - just asking aloud why we don't have that)
  26 2014-03-04 00:11:40 <gmaxwell> Sounds fantastic to me. Arguably it could be automatic.
  27 2014-03-04 00:11:58 drayah has joined
  28 2014-03-04 00:12:18 Burrito has quit (Ping timeout: 240 seconds)
  29 2014-03-04 00:12:30 <jaychristopher> second time I've had this problem, but been 2 years since last time
  30 2014-03-04 00:12:40 InsiderJoe has quit (Ping timeout: 240 seconds)
  31 2014-03-04 00:12:59 Gyps has left ()
  32 2014-03-04 00:13:10 OperatorSyn has quit (Ping timeout: 240 seconds)
  33 2014-03-04 00:13:19 melvster has quit (Ping timeout: 240 seconds)
  34 2014-03-04 00:14:51 yubrew has joined
  35 2014-03-04 00:15:21 imagegami1 has quit (Read error: Connection reset by peer)
  36 2014-03-04 00:15:25 catguy has joined
  37 2014-03-04 00:16:21 macboz has joined
  38 2014-03-04 00:18:18 bumlike has quit (Ping timeout: 264 seconds)
  39 2014-03-04 00:19:05 catguy has left ()
  40 2014-03-04 00:19:30 yubrew has quit (Ping timeout: 264 seconds)
  41 2014-03-04 00:20:32 hmmma has joined
  42 2014-03-04 00:22:35 adam3us has quit (Ping timeout: 252 seconds)
  43 2014-03-04 00:23:16 InsiderJ_ is now known as InsiderJoe
  44 2014-03-04 00:23:34 <jaychristopher> Btw, Thanks zipa
  45 2014-03-04 00:23:50 <jaychristopher> sipa
  46 2014-03-04 00:23:51 <jaychristopher> lol
  47 2014-03-04 00:23:51 <jaychristopher> sorry
  48 2014-03-04 00:24:23 jakov has joined
  49 2014-03-04 00:25:00 Burrito has joined
  50 2014-03-04 00:25:00 Burrito has quit (Changing host)
  51 2014-03-04 00:25:00 Burrito has joined
  52 2014-03-04 00:25:51 llllllllll has quit ()
  53 2014-03-04 00:26:08 guest___2 has joined
  54 2014-03-04 00:26:27 bluekelp has joined
  55 2014-03-04 00:26:54 <olalonde> mornin'
  56 2014-03-04 00:29:14 drayah has quit (Remote host closed the connection)
  57 2014-03-04 00:30:31 BTC_Bear is now known as hbrntng!~BTC_Bear@unaffiliated/btc-bear/x-5233302|BTC_Bear
  58 2014-03-04 00:31:10 InsiderJoe has quit (Ping timeout: 240 seconds)
  59 2014-03-04 00:31:38 liteStrikening has quit (Excess Flood)
  60 2014-03-04 00:31:43 ConvivialMatt has joined
  61 2014-03-04 00:31:49 liteStrikening has joined
  62 2014-03-04 00:32:10 glitch-hat has joined
  63 2014-03-04 00:32:11 <jaychristopher> Ah gmaxwell - i saw you answered too and now i see that it's not part of this version huh
  64 2014-03-04 00:32:16 <jaychristopher> thats why it's not working
  65 2014-03-04 00:33:07 <sipa> in 0.8.6, you can use -salvagewallet
  66 2014-03-04 00:33:13 <sipa> but that's a very rough tool
  67 2014-03-04 00:33:24 <sipa> it removes everything except your private keys, and rebuilds from there
  68 2014-03-04 00:33:38 <sipa> so it loses address book, transactions, timestamps, ...
  69 2014-03-04 00:34:01 Dyaheon- has quit ()
  70 2014-03-04 00:34:49 <gmaxwell> I still have a wallet that -salvagewallet throughly corrupts.
  71 2014-03-04 00:35:56 <sipa> :o
  72 2014-03-04 00:37:08 <gmaxwell> my main testnet wallet.. run it through salvage wallet and it goes from like 200k BTC balance to 50 BTC, and unlock doesn't work anymore.
  73 2014-03-04 00:37:18 hmsimha has joined
  74 2014-03-04 00:37:23 <gmaxwell> No one else seems to have reported this, however.
  75 2014-03-04 00:38:28 <edcba> haha
  76 2014-03-04 00:38:31 Dyaheon has joined
  77 2014-03-04 00:39:11 <edcba> i have a completly borked wallet
  78 2014-03-04 00:39:58 drayah has joined
  79 2014-03-04 00:39:59 glitch-hat has quit (Ping timeout: 240 seconds)
  80 2014-03-04 00:41:45 wallet421 has joined
  81 2014-03-04 00:41:46 wallet42 has quit (Killed (asimov.freenode.net (Nickname regained by services)))
  82 2014-03-04 00:41:46 wallet421 is now known as wallet42
  83 2014-03-04 00:41:59 kwukduck has quit (Ping timeout: 240 seconds)
  84 2014-03-04 00:43:28 drayah has quit (Remote host closed the connection)
  85 2014-03-04 00:44:19 Guest23137 has joined
  86 2014-03-04 00:44:36 mrkent has quit (Ping timeout: 252 seconds)
  87 2014-03-04 00:45:03 drayah has joined
  88 2014-03-04 00:48:45 Guest23137 has left ()
  89 2014-03-04 00:52:04 <GMP> gmaxwell: -salvagewallet have dangerous feature: new wallet have priv keys missing in original wallet. if you salvage 50 btc and send 1btc, then delete salvaged wallet, 49 btc (change) is lost forever!!!
  90 2014-03-04 00:52:24 <gmaxwell> yes, it gets a new keypool.
  91 2014-03-04 00:52:48 W0rmDr1nk has joined
  92 2014-03-04 00:52:55 W0rmDr1nk has quit (Changing host)
  93 2014-03-04 00:52:55 W0rmDr1nk has joined
  94 2014-03-04 00:53:02 <jaychristopher> so i should send the entire balance to a safe address right away just in case? :)
  95 2014-03-04 00:53:06 Gabralkhan has quit (Ping timeout: 264 seconds)
  96 2014-03-04 00:53:43 adam3us has joined
  97 2014-03-04 00:53:52 richcollins has quit (Read error: Operation timed out)
  98 2014-03-04 00:54:31 <GMP> or, maybe, add some warning somewhere
  99 2014-03-04 00:55:14 <gmaxwell> maybe we should hide salvage ... it's really intended to be a last resort rescue option.
 100 2014-03-04 00:56:03 <jaychristopher> I just backed up the wallet file and am running salvage - then will transfer full balance immediately to see what happens.
 101 2014-03-04 00:56:32 <gmaxwell> make sure you don't transfer it to a key you just got from that wallet. :P
 102 2014-03-04 01:00:14 mhanne has left ()
 103 2014-03-04 01:00:40 GabNet has joined
 104 2014-03-04 01:01:29 mhanne has joined
 105 2014-03-04 01:02:08 <mhanne> hi olalonde! nice to see you here, i wanted to ask you about the blproof thing..
 106 2014-03-04 01:02:24 <mhanne> is the server supposed to generate a new tree whenever the balance table changes, or in intervals like once a day?
 107 2014-03-04 01:02:25 TD has quit (Quit: TD)
 108 2014-03-04 01:02:38 benrcole has left ()
 109 2014-03-04 01:02:50 <gmaxwell> mhanne: you shouldn't update it constantly or you exacerbate the substition problem.
 110 2014-03-04 01:02:52 richcollins has joined
 111 2014-03-04 01:03:06 <gmaxwell> My expectation was that it would get used once a day.
 112 2014-03-04 01:03:10 <olalonde> mhanne: hi :) happy to help
 113 2014-03-04 01:03:20 <gmaxwell> but other people may have better thoughts.
 114 2014-03-04 01:03:34 <olalonde> mhanne: this is not really specified... I'm not really sure what would be best. I guess once a day would be good for now. Eventually it would be nice to have shorter intervals but we would need a way for clients to verify their root.json automatically
 115 2014-03-04 01:04:03 imagegami has joined
 116 2014-03-04 01:04:05 <gmaxwell> mhanne: basically you need to make sure that the service is not giving one tree to one user, and a different tree to another user.
 117 2014-03-04 01:04:13 <olalonde> right now.. root.json must be verified manually so the interval should not be too short to let users take the time to make sure the root.json is correct
 118 2014-03-04 01:04:14 GabNet has left ()
 119 2014-03-04 01:04:23 <mhanne> substitution problem? you mean that different people can verify they are shown the same root?
 120 2014-03-04 01:04:49 <mhanne> that would be hard if it's too often i guess
 121 2014-03-04 01:04:50 <olalonde> this could be probably automated by having a trusted third party server that fetches root.json for you and sends it back to you
 122 2014-03-04 01:05:00 <olalonde> mhanne: yes
 123 2014-03-04 01:05:06 <gmaxwell> mhanne: e.g. say the bank like thing has two customers with 100 coins each. But it's fractional and only owns 100 coins.  It gives each user a different root, which shows that all 100 belong to that user.
 124 2014-03-04 01:05:49 <gmaxwell> can also be addressed by commitming to the root in the blockchain. or a bunch of other ways. but the criticality of addressing it just depends on how often the updates happen.
 125 2014-03-04 01:06:00 <mhanne> yea, that's one thing, they need to be compared by different people
 126 2014-03-04 01:06:08 benrcole has joined
 127 2014-03-04 01:06:25 pminer has joined
 128 2014-03-04 01:06:25 <mhanne> putting it in the blockchain could help yea
 129 2014-03-04 01:06:52 <mhanne> but the other way, if you don't update often, the tree doesn't match the user's balance and you can't verify it automatically
 130 2014-03-04 01:07:16 <mhanne> (without either trusting the exchange to truthfully report the changes since the root was generated, or have the user think about it)
 131 2014-03-04 01:07:19 [\\\] has joined
 132 2014-03-04 01:08:21 T3mpn4me has joined
 133 2014-03-04 01:08:55 <olalonde> gmaxwell: if it is committed to the blockchain, then wouldn't users need to verify they are given the same transaction?
 134 2014-03-04 01:08:57 T3mpn4me has quit (Client Quit)
 135 2014-03-04 01:09:08 yubrew has joined
 136 2014-03-04 01:09:47 <olalonde> one easy to do it would be to use your browser in incognito mode, preferably behind a VPN/proxy and fetch the root.json file
 137 2014-03-04 01:10:00 <olalonde> for now...
 138 2014-03-04 01:10:02 <gmaxwell> olalonde: to be uber fun with it you commit to it in the coins that you use in the assets side of the proof.  To be more realistic, you just have some very well known coin asscoiated with the service.
 139 2014-03-04 01:10:12 <olalonde> eventually that process will probably be automated by the extension
 140 2014-03-04 01:10:30 <olalonde> gmaxwell: right
 141 2014-03-04 01:10:49 BTC_Bear has quit (Ping timeout: 244 seconds)
 142 2014-03-04 01:11:22 <olalonde> mhanne: are you planning to implement the scheme on your website?
 143 2014-03-04 01:12:48 lmatteis has quit (Quit: Connection closed for inactivity)
 144 2014-03-04 01:13:30 yubrew has quit (Ping timeout: 240 seconds)
 145 2014-03-04 01:13:39 <mhanne> yes, in fact i already have some code working.. that's the other thing i wanted to ask you.. i first started by just extending the code that generates bitcoin merkle trees, and make it carry along the value. i was surprised to find you build the tree in a completely different way. is there a particular reason?
 146 2014-03-04 01:14:21 bumlike has joined
 147 2014-03-04 01:15:06 BTC_Bear has joined
 148 2014-03-04 01:15:16 just[dead] is now known as justanotheruser
 149 2014-03-04 01:15:26 <olalonde> mhanne: what do you mean? there are 2 formats that the tool outputs for partial trees... one format is for debugging purposes (using --human flag) and the other one is a JSON format
 150 2014-03-04 01:15:56 ericmuyser has quit (Remote host closed the connection)
 151 2014-03-04 01:15:59 <olalonde> mhanne: the complete tree is in a different format because it's just meant for use internally, it is not supposed to be shared with anyone... I was lazy so I just output the internal representation (an array)
 152 2014-03-04 01:15:59 InsiderJoe has joined
 153 2014-03-04 01:17:08 <olalonde> mhanne: internally, all trees are represented as an array to simplify things a bit. but the ouput of the partial tree is in a different format because an array would be too big
 154 2014-03-04 01:17:57 <olalonde> mhanne: when the tool loads a partial tree, it transforms the json representation into an array
 155 2014-03-04 01:18:00 assd has quit (Ping timeout: 245 seconds)
 156 2014-03-04 01:18:16 <olalonde> mhanne: not sure if I understood your question
 157 2014-03-04 01:18:53 <mhanne> sorry, i'm probably misunderstanding something..
 158 2014-03-04 01:19:08 <mhanne> https://gist.github.com/mhanne/9338371 this is the code i was using at first
 159 2014-03-04 01:19:40 <mhanne> i didn't really understand how you do it, but your way of building the tree seems a lot more fancy
 160 2014-03-04 01:19:45 <olalonde> mhanne: you're writing an alternative implementation?
 161 2014-03-04 01:20:22 <mhanne> yes.. i've also ported some of your code in the meantime.. but it still didn't help me see what's going on :P
 162 2014-03-04 01:20:26 <olalonde> ok, let me have a look. my Ruby is a bit rusty
 163 2014-03-04 01:21:23 <mhanne> it basically just loops over all hashes two at a time, hashing them together and adding them to the end of the array
 164 2014-03-04 01:22:40 <olalonde> sounds right
 165 2014-03-04 01:22:46 <olalonde> actually smarter then what I did eheh
 166 2014-03-04 01:22:51 joelsbeard has quit (Remote host closed the connection)
 167 2014-03-04 01:22:55 <olalonde> I put the leafs at the end of the array
 168 2014-03-04 01:23:32 <olalonde> I didn't know what a merkle tree was before doing this -_-
 169 2014-03-04 01:23:56 soheil has quit (Remote host closed the connection)
 170 2014-03-04 01:23:57 Gyps has joined
 171 2014-03-04 01:24:18 Gyps has quit (Client Quit)
 172 2014-03-04 01:24:19 <olalonde> the complete tree representation is not specified because it is just used internally to extract partial trees
 173 2014-03-04 01:24:37 Gyps has joined
 174 2014-03-04 01:24:47 <olalonde> once you got your complete tree, you need a function to extract a partial tree for a given leaf
 175 2014-03-04 01:24:58 <olalonde> you can just duplicate your array and remove all irrelevant nodes
 176 2014-03-04 01:25:07 <mhanne> well, tbqh. i didn't come up with this myself either ;)
 177 2014-03-04 01:25:24 <mhanne> but i was under the impression that that's the way merkle trees are grown in bitcoin-land
 178 2014-03-04 01:25:42 <olalonde> yes, I believe it is
 179 2014-03-04 01:26:08 <olalonde> my implementation is not very idiomatic
 180 2014-03-04 01:26:08 <olalonde> after you removed the nodes, then you got an array with a bunch of null values and relevant nodes
 181 2014-03-04 01:26:47 <olalonde> you need to convert that array representation to a node graph that you can serialize to JSON
 182 2014-03-04 01:27:13 <olalonde> each node has the following properties: left, right, value, hash. you start at the root node and build the tree
 183 2014-03-04 01:27:27 mrkent has joined
 184 2014-03-04 01:27:27 mrkent has quit (Changing host)
 185 2014-03-04 01:27:27 mrkent has joined
 186 2014-03-04 01:28:15 <olalonde> maybe would have been easier to stick to the array representation...
 187 2014-03-04 01:28:36 <olalonde> but its not optimal because you could end up with a huge array with bunch of null values everywhere
 188 2014-03-04 01:29:37 <mhanne> ah ok
 189 2014-03-04 01:29:53 <mhanne> so you want to keep the current json format
 190 2014-03-04 01:30:01 richcollins has quit (Quit: richcollins)
 191 2014-03-04 01:30:09 banghouse has quit (Remote host closed the connection)
 192 2014-03-04 01:30:28 <mhanne> fair enough, i was just confused, thought maybe it offered some advantage i didn't see
 193 2014-03-04 01:30:43 banghouse has joined
 194 2014-03-04 01:31:21 Starduster has quit (Quit: gotta go)
 195 2014-03-04 01:31:27 phoenix52 has quit (Quit: Leaving.)
 196 2014-03-04 01:32:10 <mhanne> i'll try to get my version compatible, but probably won't have time before the weekend..
 197 2014-03-04 01:32:22 soheil has joined
 198 2014-03-04 01:34:45 Luke-Jr has quit (Ping timeout: 260 seconds)
 199 2014-03-04 01:34:59 banghouse has quit (Ping timeout: 240 seconds)
 200 2014-03-04 01:36:07 <olalonde> mhanne: here is how the serialized version of a partial tree should look like https://gist.github.com/olalonde/9338482#file-gistfile1-json
 201 2014-03-04 01:36:27 albertojimenez has joined
 202 2014-03-04 01:36:29 <olalonde> yes, I think it's better to keep this format for publishing the files.. internally you can use arrays
 203 2014-03-04 01:37:11 <mhanne> alright, thank you :)
 204 2014-03-04 01:37:15 Luke-Jr has joined
 205 2014-03-04 01:37:56 <olalonde> the problem with arrays is that it's not very optimized if you have a bunch of empty nodes in the middle of the array... the object representation doesn't care about empty nodes
 206 2014-03-04 01:38:12 <olalonde> mhanne: no problem, keep me updated on progress :) I'll link to your implementation
 207 2014-03-04 01:38:24 albertojimenez has quit (Client Quit)
 208 2014-03-04 01:38:58 mattco_ has joined
 209 2014-03-04 01:38:59 mattco has quit (Disconnected by services)
 210 2014-03-04 01:39:39 <olalonde> mhanne: this might help you https://github.com/olalonde/blind-liability-proof/blob/master/lib/tree.js#L226 (array to object representation function)
 211 2014-03-04 01:41:30 <olalonde> https://github.com/olalonde/blind-liability-proof/blob/master/lib/tree.js#L65 functions to get left/right indexes for a given index .. yours should be a bit different since your leafs are at the beginning of the array
 212 2014-03-04 01:41:40 Zifre_ has joined
 213 2014-03-04 01:41:48 <olalonde> back to work, good luck :)
 214 2014-03-04 01:42:20 <mhanne> ah, great
 215 2014-03-04 01:42:46 phantomspark has quit (Ping timeout: 265 seconds)
 216 2014-03-04 01:42:49 <mhanne> i actually have half of your tree class ported by now... now i'm not sure if i shouldn't just finish it that way
 217 2014-03-04 01:43:52 <mhanne> but yea it seems to be easy enough to convert too
 218 2014-03-04 01:43:54 Zifre has quit (Ping timeout: 240 seconds)
 219 2014-03-04 01:44:17 draino_ has joined
 220 2014-03-04 01:45:17 Gerendon has joined
 221 2014-03-04 01:46:13 rusty78 has joined
 222 2014-03-04 01:46:38 justanotheruser is now known as just[dead]
 223 2014-03-04 01:46:53 drayah has quit (Remote host closed the connection)
 224 2014-03-04 01:47:16 <warren> wumpus: https://github.com/bitcoin/bitcoin/pull/3383#issuecomment-36453324   wangbus wants to finish this PR, but someone needs to explain what exactly would be acceptable for the separate balances in RPC and UI.
 225 2014-03-04 01:47:27 TheWinnerFjk has joined
 226 2014-03-04 01:47:31 drayah has joined
 227 2014-03-04 01:47:31 TheWinnerFjk has left ()
 228 2014-03-04 01:47:47 <warren> wumpus: I'm guessing the watch-only shouldn't mix into real balances for existing RPC commands, and we want new RPC for watch-only?
 229 2014-03-04 01:47:49 albertojimenez has joined
 230 2014-03-04 01:48:00 <warren> wumpus: and for qt UI we want unconfirmed and confirmed?
 231 2014-03-04 01:48:11 draino has quit (Ping timeout: 252 seconds)
 232 2014-03-04 01:48:30 <gmaxwell> I think for everything we want confirmed/unconfirmed/watched
 233 2014-03-04 01:48:49 <warren> oh, you don't want watched to have confirmed/unconfirmed of its own?
 234 2014-03-04 01:48:55 <gmaxwell> oh
 235 2014-03-04 01:48:56 <gmaxwell> maybe.
 236 2014-03-04 01:49:02 <gmaxwell> No opinion.
 237 2014-03-04 01:49:07 <gmaxwell> I misunderstood your cmment there.
 238 2014-03-04 01:49:22 phantomspark has joined
 239 2014-03-04 01:50:01 theymos has joined
 240 2014-03-04 01:50:44 <warren> Luke-Jr: sipa: anyone else have an opinion on what is desired for watch-only RPC and qt UI?
 241 2014-03-04 01:51:34 <gmaxwell> conf unconf wconf wunconf sounds fine to me. ... maybe someone would complain about figure bloat. The GUI could hide the latter two if you're not watching anything.
 242 2014-03-04 01:51:40 drayah has quit (Ping timeout: 240 seconds)
 243 2014-03-04 01:51:41 viajero has left ()
 244 2014-03-04 01:51:59 <warren> gmaxwell: which RPC commands in particular should have variants?
 245 2014-03-04 01:52:01 <Luke-Jr> warren: that PR is totally broken and should not be merged in any form.
 246 2014-03-04 01:52:06 drayah has joined
 247 2014-03-04 01:52:21 <warren> Luke-Jr: I'm going based on what wumpus said earlier, please comment in the PR
 248 2014-03-04 01:53:01 zerwas has left ()
 249 2014-03-04 01:53:10 <Luke-Jr> warren: I already did
 250 2014-03-04 01:53:14 <warren> Luke-Jr: if it no longer causes confusion with mixing, do you have any concerns beyond encouraging resuse?
 251 2014-03-04 01:53:15 <warren> reuse?
 252 2014-03-04 01:53:37 <Luke-Jr> you mean if it only shows receives?
 253 2014-03-04 01:53:42 mE\Ta_ has quit (Ping timeout: 244 seconds)
 254 2014-03-04 01:53:52 <warren> Luke-Jr: no
 255 2014-03-04 01:54:02 <Luke-Jr> then what doy uo mean "mixing"?
 256 2014-03-04 01:54:18 TinkerTom has quit (Ping timeout: 264 seconds)
 257 2014-03-04 01:54:21 <warren> Luke-Jr: confusion of "real" and "watched" coins in the same balance, I think people agree they don't want that.
 258 2014-03-04 01:54:36 <Luke-Jr> warren: that's the smallest of the problems with it
 259 2014-03-04 01:54:50 jakov has quit (Quit: Leaving)
 260 2014-03-04 01:54:51 <warren> Luke-Jr: I am not too concerned about the reuse issue because we already have that, and we need HD
 261 2014-03-04 01:54:58 <Luke-Jr> the big problems are 1) showing "sent" transactions that are entirely unrelated to the added addresses
 262 2014-03-04 01:55:03 <Luke-Jr> and 2) encouraging address reuse
 263 2014-03-04 01:55:21 <Luke-Jr> warren: we don't have ANYTHING encouraigng reuse right now
 264 2014-03-04 01:55:59 <Gerendon> Hiring a programmer proficient in Ruby for a blockchain parser. PM for more information.
 265 2014-03-04 01:56:06 drayah has quit (Remote host closed the connection)
 266 2014-03-04 01:56:11 basva has joined
 267 2014-03-04 01:56:24 _ImI_ has quit (Quit: _ImI_)
 268 2014-03-04 01:57:01 <Luke-Jr> the *only* "use case" proposed for this, is one that we already support easier
 269 2014-03-04 01:57:11 torsthaldo has left ()
 270 2014-03-04 01:57:41 drayah has joined
 271 2014-03-04 01:57:59 <warren> Gerendon: try #bitcoin-ruby
 272 2014-03-04 01:58:17 <Gerendon> warren: thank you
 273 2014-03-04 01:58:54 soheil has quit (Remote host closed the connection)
 274 2014-03-04 01:59:11 <warren> Luke-Jr: how is #1 a problem?
 275 2014-03-04 01:59:29 soheil has joined
 276 2014-03-04 01:59:35 <Luke-Jr> warren: uh, how is it *not*?
 277 2014-03-04 01:59:41 <Luke-Jr> everything about #1 is a bug
 278 2014-03-04 02:00:08 <warren> Luke-Jr: if it doesn't effect any balances and it is informational only its still a problem?
 279 2014-03-04 02:00:25 basva has quit (Ping timeout: 244 seconds)
 280 2014-03-04 02:00:31 <Luke-Jr> rephrased: when it is used, it adds transactiosn that have *nothing* to do with the wallet or address, to your wallet
 281 2014-03-04 02:00:54 DougieBot5000 has quit (Quit: Leaving)
 282 2014-03-04 02:00:57 <warren> concrete example?
 283 2014-03-04 02:01:01 spagett has joined
 284 2014-03-04 02:01:35 TheLordOfTime is now known as teward
 285 2014-03-04 02:02:25 <Luke-Jr> warren: import an address used by Joe. When he receives, that shows up in your wallet. Now when he spends bitcoins at some random time in the future entirely unrelated to the address (which is only used to receive of course), his transaction now shows up in your wallet as "send" even though you are not watching any of the addresses nor have anything to do with it
 286 2014-03-04 02:03:09 papes11 has joined
 287 2014-03-04 02:03:15 <papes11> helix coin is now having bounties up guys!
 288 2014-03-04 02:03:33 yubrew has joined
 289 2014-03-04 02:03:39 soheil has quit (Ping timeout: 240 seconds)
 290 2014-03-04 02:03:41 Cylta has left ()
 291 2014-03-04 02:05:08 <papes11> Helixcoin is now doing bounties. Please join #thehelixcoin
 292 2014-03-04 02:05:10 papes11 has left ()
 293 2014-03-04 02:05:11 _ImI_ has joined
 294 2014-03-04 02:05:19 <SomeoneWeird> :|
 295 2014-03-04 02:06:25 stickie has joined
 296 2014-03-04 02:08:13 yubrew has quit (Ping timeout: 252 seconds)
 297 2014-03-04 02:08:42 ericmuyser has joined
 298 2014-03-04 02:10:44 _ImI_ has quit (Quit: _ImI_)
 299 2014-03-04 02:11:54 Krellan_ has quit (Ping timeout: 240 seconds)
 300 2014-03-04 02:24:05 TheGreatAl has quit (Quit: TheGreatAl)
 301 2014-03-04 02:25:48 derbumi has joined
 302 2014-03-04 02:33:36 tunage has left ()
 303 2014-03-04 02:36:50 draino_ has quit (Remote host closed the connection)
 304 2014-03-04 02:37:57 benrcole has quit (Quit: Leaving.)
 305 2014-03-04 02:39:19 ConvivialMatt has quit (Ping timeout: 265 seconds)
 306 2014-03-04 02:39:37 draino has joined
 307 2014-03-04 02:40:00 <warren> Luke-Jr: how is it entirely unrelated if an input from that address is involved?
 308 2014-03-04 02:40:24 <warren> Luke-Jr: as long as the unrelated part  doesn't effect a balance within the wallet I don't see how this is an issue.
 309 2014-03-04 02:40:58 antephialtic has joined
 310 2014-03-04 02:42:09 AndrewJackson has quit (Read error: Connection reset by peer)
 311 2014-03-04 02:43:27 ntio3 has joined
 312 2014-03-04 02:43:51 MaxSan1 has joined
 313 2014-03-04 02:44:18 MaxSan has quit (Ping timeout: 240 seconds)
 314 2014-03-04 02:44:22 AndrewJackson has joined
 315 2014-03-04 02:44:43 albertojimenez has quit (Quit: albertojimenez)
 316 2014-03-04 02:47:05 <warren> Luke-Jr: perhaps it can be considered as "known" but disregarded in a similar manner as a conflicted tx?
 317 2014-03-04 02:47:22 <warren> except for the watch-only balance effected by the spent input
 318 2014-03-04 02:47:42 bumlike has quit (Ping timeout: 264 seconds)
 319 2014-03-04 02:47:50 ntio3 has quit (Ping timeout: 252 seconds)
 320 2014-03-04 02:48:12 <warren> Luke-Jr: err ... the wallet is already effect in weird ways if you import one address that contributed to a larger tx with unrelated inputs, how is this any different?
 321 2014-03-04 02:49:15 pminer has quit (Quit: pminer)
 322 2014-03-04 02:51:15 StSeek has joined
 323 2014-03-04 02:52:02 <flound1129> how can this be:
 324 2014-03-04 02:52:20 <flound1129> $ bitcoind getbalance -> 0.00248484
 325 2014-03-04 02:52:21 <flound1129> $ bitcoind getbalance "" -> 1.65183409
 326 2014-03-04 02:53:57 just[dead] is now known as justanotheruser
 327 2014-03-04 02:55:22 _ImI_ has joined
 328 2014-03-04 02:59:54 Techguy305 has quit (Ping timeout: 240 seconds)
 329 2014-03-04 03:01:03 InsiderJoe has quit (Quit: Goodnight InsiderJoe & OperatorSyn)
 330 2014-03-04 03:02:05 wallet42 has quit (Quit: Leaving.)
 331 2014-03-04 03:03:02 gavinandresen has joined
 332 2014-03-04 03:04:21 torokun has joined
 333 2014-03-04 03:05:00 Application has quit (Ping timeout: 244 seconds)
 334 2014-03-04 03:05:03 Inkata has quit (Remote host closed the connection)
 335 2014-03-04 03:06:23 justanotheruser is now known as just[dead]
 336 2014-03-04 03:07:25 <gmaxwell> flound1129: because "" is not "*"
 337 2014-03-04 03:08:03 <gmaxwell> also in current releases immature coins are counted inconsistently.
 338 2014-03-04 03:08:19 SpiralVortex has quit (Ping timeout: 265 seconds)
 339 2014-03-04 03:08:40 SpiralVortex has joined
 340 2014-03-04 03:09:50 torokun has quit (Remote host closed the connection)
 341 2014-03-04 03:10:23 hmsimha has quit (Ping timeout: 252 seconds)
 342 2014-03-04 03:10:48 Neozonz has joined
 343 2014-03-04 03:12:40 wallet42 has joined
 344 2014-03-04 03:12:57 leofidus has joined
 345 2014-03-04 03:13:16 Neozonz has quit (Ping timeout: 244 seconds)
 346 2014-03-04 03:14:14 jMyles has quit (Ping timeout: 252 seconds)
 347 2014-03-04 03:15:38 leofidus-ger has quit (Ping timeout: 252 seconds)
 348 2014-03-04 03:15:38 leofidus is now known as leofidus-ger
 349 2014-03-04 03:17:30 wallet42 has quit (Ping timeout: 265 seconds)
 350 2014-03-04 03:17:34 derbumi_ has joined
 351 2014-03-04 03:20:06 derbumi has quit (Ping timeout: 264 seconds)
 352 2014-03-04 03:20:06 derbumi_ is now known as derbumi
 353 2014-03-04 03:22:07 Gabralkhan has joined
 354 2014-03-04 03:23:17 just[dead] is now known as justanotheruser
 355 2014-03-04 03:27:27 venzen has joined
 356 2014-03-04 03:28:02 hmsimha_ has joined
 357 2014-03-04 03:28:31 drayah has quit (Remote host closed the connection)
 358 2014-03-04 03:28:35 oneginlaptop has joined
 359 2014-03-04 03:30:28 _ImI_ has quit (Quit: _ImI_)
 360 2014-03-04 03:31:16 banghouse has joined
 361 2014-03-04 03:34:02 antephialtic has quit (Read error: Connection reset by peer)
 362 2014-03-04 03:34:32 antephialtic has joined
 363 2014-03-04 03:36:00 banghouse has quit (Ping timeout: 244 seconds)
 364 2014-03-04 03:37:59 skinnkavaj has quit (Ping timeout: 240 seconds)
 365 2014-03-04 03:38:52 BTC_Bear is now known as BTC_Bear|hbrntng
 366 2014-03-04 03:40:16 Zifre_ has quit (Read error: Connection reset by peer)
 367 2014-03-04 03:41:38 <gmaxwell> [OT] https://www.gitorious.org/gnutls/gnutls/commit/6aa26f78150ccbdf0aec1878a41c17c41d358a3b  GNU TLS, basically the same bug as OSX in certificate validation.
 368 2014-03-04 03:42:00 jogos has quit (Read error: Connection reset by peer)
 369 2014-03-04 03:42:37 <copumpkin> news at 11: fucked-up control flow is easy to get wrong
 370 2014-03-04 03:42:49 <copumpkin> (news at 10:42)
 371 2014-03-04 03:42:49 <flound1129> can I do a sendmany from *?
 372 2014-03-04 03:42:52 gavinandresen has quit (Quit: gavinandresen)
 373 2014-03-04 03:43:23 <The_Fly> if my bitcoind saw a tx, but it never showed up in a block and there's no public (blockchain.info etc.) record of it... has it either just fallen out of mempools and failed to propagate or could there be a doublespend at work
 374 2014-03-04 03:43:43 <gmaxwell> copumpkin: more of a statement about the total lack of testing in basically all SSL libraries, alas.... and the fundimental difficulty of testing it.
 375 2014-03-04 03:43:51 <maaku> The_Fly: either one? check for yourself
 376 2014-03-04 03:43:54 <The_Fly> i have a very low threshold on zeroconf txs anyway so it's not really an issue, i also block withdrawals until all user txs confirm at least once as a measure
 377 2014-03-04 03:44:02 <The_Fly> maaku: how can i check
 378 2014-03-04 03:44:07 <maaku> see if the inputs are spent
 379 2014-03-04 03:44:16 <The_Fly> i can't getrawtransaction on it
 380 2014-03-04 03:44:54 <gmaxwell> then it's completely spent. (I don't think there is any other case where that doesn't work) to double check do a gettxout
 381 2014-03-04 03:45:19 Gyps has quit (Quit: Gyps)
 382 2014-03-04 03:45:39 WormDr1nk has joined
 383 2014-03-04 03:45:40 gnutun has quit (Quit: Leaving)
 384 2014-03-04 03:46:07 <The_Fly> gettxout returns nothing
 385 2014-03-04 03:46:15 <maaku> gettxout on what parameters?
 386 2014-03-04 03:46:40 <The_Fly> the exact ammount was sent a second time, so i think the user just sent again, which confuses me because his first tx was credited
 387 2014-03-04 03:46:42 RedEmerald has left ()
 388 2014-03-04 03:47:00 <The_Fly> i do check the inputs for confs, they must have at least one
 389 2014-03-04 03:47:03 twobitcoins_ has joined
 390 2014-03-04 03:47:32 <The_Fly> maaku: oh do i need includemempool?
 391 2014-03-04 03:48:42 twobitcoins has quit (Ping timeout: 240 seconds)
 392 2014-03-04 03:48:48 <maaku> The_Fly: for each input, check for it with gettxout (you'll get nothing if it's spent)
 393 2014-03-04 03:49:11 Emcy has quit (Read error: Connection reset by peer)
 394 2014-03-04 03:49:25 <The_Fly> checking the inputs of the tx which is stuck at 0 confs?
 395 2014-03-04 03:49:32 <maaku> *spent or chained 0 conf
 396 2014-03-04 03:49:39 <The_Fly> i am stuck at even querying that tx
 397 2014-03-04 03:49:40 Emcy has joined
 398 2014-03-04 03:49:40 Emcy has quit (Changing host)
 399 2014-03-04 03:49:40 Emcy has joined
 400 2014-03-04 03:49:40 <maaku> es
 401 2014-03-04 03:49:41 <maaku> yes
 402 2014-03-04 03:50:06 Gabralkhan_ has joined
 403 2014-03-04 03:50:25 <maaku> I'm confused. You have a transaction in your bitcoind that is not yet in the blockchain, yes?
 404 2014-03-04 03:50:31 <The_Fly> correct
 405 2014-03-04 03:50:56 <maaku> But somehow you don't have that transaction? ("<The_Fly> i am stuck at even querying that tx")
 406 2014-03-04 03:50:58 owowo has quit (Quit: owowo)
 407 2014-03-04 03:51:15 <The_Fly> ./bitcoind getrawtransaction 2f60b5cbf2e4873382949e720c7941eeec3f1017583623b145f222187d8e57e5
 408 2014-03-04 03:51:18 <The_Fly> error: {"code":-5,"message":"No information available about transaction"}
 409 2014-03-04 03:51:43 yubrew has joined
 410 2014-03-04 03:51:54 Gabralkhan has quit (Ping timeout: 240 seconds)
 411 2014-03-04 03:52:04 <maaku> so how did you get that txid in the first place?
 412 2014-03-04 03:52:13 <The_Fly> *shrugs*
 413 2014-03-04 03:52:17 Gabralkhan_ has left ()
 414 2014-03-04 03:52:35 <The_Fly> user looks legit, i have their oauth on g+ and know what project they're connected with
 415 2014-03-04 03:52:57 <The_Fly> they sent the funds (exact same value) again, 10 mins later roughly
 416 2014-03-04 03:53:17 <The_Fly> it's not hugely important, i might just have to completely remove zero-conf deposits
 417 2014-03-04 03:53:19 hmsimha_ has quit (Ping timeout: 240 seconds)
 418 2014-03-04 03:54:04 <The_Fly> i *do* set tight limits on them, as i said, including disallowing subsequent withdrawal until all user deposit txs confirm at least once
 419 2014-03-04 03:54:09 <maaku> yes, you should remove zero-conf deposits anyway
 420 2014-03-04 03:54:23 <The_Fly> i know, i wanted it for fluidity
 421 2014-03-04 03:54:51 <maaku> i won't pounce on you for that this time
 422 2014-03-04 03:54:54 _ImI_ has joined
 423 2014-03-04 03:54:54 <maaku> what i'm saying is, it doesn't sound like 2f60b5cbf2e4873382949e720c7941eeec3f1017583623b145f222187d8e57e5 ever was a transaction
 424 2014-03-04 03:55:08 <The_Fly> it appears in listtransactions
 425 2014-03-04 03:55:52 <The_Fly> thanks for not pouncing maaku, i do know it is a security hole, hence the tight guards around it
 426 2014-03-04 03:56:10 yubrew has quit (Ping timeout: 240 seconds)
 427 2014-03-04 03:56:14 <The_Fly> i was just doing a bit of db auditing, and if this came up again it would mean a user could not withdraw
 428 2014-03-04 03:56:39 <The_Fly> since i would deny it on account that they had a stuck tx (in the current implementation)
 429 2014-03-04 03:56:45 <The_Fly> hm, that might also have to go...
 430 2014-03-04 03:56:47 <maaku> ok well getrawtransaction won't pull from the wallet
 431 2014-03-04 03:56:58 <maaku> but if it's in the wallet it should be in the mempool
 432 2014-03-04 03:57:20 basva has joined
 433 2014-03-04 03:57:45 <The_Fly> box has been rebooted since
 434 2014-03-04 03:57:47 <The_Fly> perhaps
 435 2014-03-04 03:57:56 <The_Fly> so, it's gone?
 436 2014-03-04 03:59:28 <The_Fly> actually im probably going to leave things the way they are, in the case of a double spend i would block any withdrawal (say the user makes a prize, wants to cash out)
 437 2014-03-04 03:59:33 <The_Fly> so i dont think im at risk
 438 2014-03-04 03:59:38 <maaku> well it would be re-added to the mempool if there wasn't another conflicting transaction
 439 2014-03-04 03:59:44 <The_Fly> ./bitcoind gettxout 2f60b5cbf2e4873382949e720c7941eeec3f1017583623b145f222187d8e57e5 1 true ?
 440 2014-03-04 03:59:45 <maaku> so you can assume that was the case
 441 2014-03-04 04:00:02 <maaku> i assume the one you received 10 min later was a mutated version of the same
 442 2014-03-04 04:00:42 Emcy has quit (Read error: Connection reset by peer)
 443 2014-03-04 04:01:11 Emcy has joined
 444 2014-03-04 04:01:11 Emcy has quit (Changing host)
 445 2014-03-04 04:01:11 Emcy has joined
 446 2014-03-04 04:01:38 <The_Fly> what do you mean? it's from the same address, same value, different time (so different txid)
 447 2014-03-04 04:01:58 basva has quit (Ping timeout: 265 seconds)
 448 2014-03-04 04:02:55 <The_Fly> listtransactions -> http://pastebin.com/9pH5N6Jn
 449 2014-03-04 04:03:25 <maaku> The_Fly: there is no time in transactions
 450 2014-03-04 04:03:40 <maaku> it has a different txid because some aspect of the transaction is different
 451 2014-03-04 04:04:08 <The_Fly> ah sorry
 452 2014-03-04 04:04:29 <maaku> this is the classic example of a mutated transaction
 453 2014-03-04 04:04:34 <maaku> (and why you don't accept them)
 454 2014-03-04 04:04:42 <maaku> the txid associated with a transaction is not final until it hits the chain
 455 2014-03-04 04:04:43 <The_Fly> its the only one ive had
 456 2014-03-04 04:04:46 <maaku> this confuses the wallet
 457 2014-03-04 04:05:23 <The_Fly> i accept zeroconf on the grounds that they cannot withdraw
 458 2014-03-04 04:05:32 <The_Fly> if it fails to hit the chain
 459 2014-03-04 04:05:48 <The_Fly> but there are non-malicious reasons this could happen, so that is again bad practice?
 460 2014-03-04 04:06:38 <The_Fly> mutated == malicious?
 461 2014-03-04 04:07:15 shaileshg has joined
 462 2014-03-04 04:07:15 <The_Fly> (yes i have been following the gox story :P)
 463 2014-03-04 04:07:41 radiator has joined
 464 2014-03-04 04:10:27 <The_Fly> it's odd that he moved the funds to 1CfqARw9zMmwWK9svSzcFSGJC3ktjpQ8ir first
 465 2014-03-04 04:11:07 <The_Fly> wait, no, that was the deposit address i issued.
 466 2014-03-04 04:11:41 <maaku> no, mutated does not mean malicious
 467 2014-03-04 04:11:51 <maaku> it could have been anybody between him and the miner
 468 2014-03-04 04:11:54 <maaku> and even accidental
 469 2014-03-04 04:12:41 <The_Fly> you mean the tx was broken during relay?
 470 2014-03-04 04:12:50 <maaku> not broken
 471 2014-03-04 04:13:12 <maaku> the hash from which you get the txid covers bits which anyone can change in certain ways without  invalidating the transaction
 472 2014-03-04 04:13:38 <The_Fly> right
 473 2014-03-04 04:13:55 <The_Fly> i think i see what happened, he's sent two to the same address
 474 2014-03-04 04:14:02 <The_Fly> i automatically issue a new address every tx
 475 2014-03-04 04:14:19 <maaku> no, no, if he did that you would have seen two confirmed transactions
 476 2014-03-04 04:14:24 <maaku> what happened was he sent one tx
 477 2014-03-04 04:14:48 <maaku> and, somewhere along the way, some bits of it were changed and when it hit the blockchain it had a different hash
 478 2014-03-04 04:14:54 macboz_ has joined
 479 2014-03-04 04:15:06 <maaku> but it's the same transaction
 480 2014-03-04 04:15:17 macboz has quit (Read error: Connection reset by peer)
 481 2014-03-04 04:15:19 kurtosis has quit (Ping timeout: 240 seconds)
 482 2014-03-04 04:15:37 <maaku> and all it did was confuse applications which accept zero-conf transactions (like yours) into crediting his account twice
 483 2014-03-04 04:16:18 <The_Fly> http://pastebin.com/raw.php?i=kuWPX1ep
 484 2014-03-04 04:16:32 <The_Fly> any way to explain the timestamp i have in my db though
 485 2014-03-04 04:16:36 wei__ has joined
 486 2014-03-04 04:16:54 <The_Fly> i do realise zero conf is terrible, granted, but isn't my no-withdrawl safeguard enough?
 487 2014-03-04 04:17:13 <The_Fly> as in, in his state he would not be able to get any funds out until there is a manual audit
 488 2014-03-04 04:18:08 ThomasV has joined
 489 2014-03-04 04:18:11 <The_Fly> so im covered
 490 2014-03-04 04:18:18 <The_Fly> (if it was malicious)
 491 2014-03-04 04:18:36 <The_Fly> in his case since it was accidental, yes it's an annoyance for the user
 492 2014-03-04 04:18:42 <The_Fly> but hopefully very rare...
 493 2014-03-04 04:18:59 <maaku> i don't know what kind of business you run
 494 2014-03-04 04:19:23 <maaku> but if it is an exchange, for example, he could use the double-counted balance for a leveraged position
 495 2014-03-04 04:19:39 <The_Fly> yes for sure, i would turn instant deposit OFF in that case
 496 2014-03-04 04:19:48 <maaku> generally you shouldn't let the user do *anything* with funds that have no confirmation
 497 2014-03-04 04:19:59 <The_Fly> absolutely, i agree
 498 2014-03-04 04:20:10 <The_Fly> i just wanted flexibility in this system
 499 2014-03-04 04:20:23 <The_Fly> it's currently built for a very low-risk project
 500 2014-03-04 04:20:36 <maaku> the timestamp is just the localtime when your node saw the transaction
 501 2014-03-04 04:20:43 antephialtic has quit (Remote host closed the connection)
 502 2014-03-04 04:20:48 <maaku> in the first case when you saw it on the network, in the second when you saw it in the blockchain
 503 2014-03-04 04:21:04 <The_Fly> ok, i see
 504 2014-03-04 04:21:17 <The_Fly> same tx, came in twice, once mutated
 505 2014-03-04 04:21:55 <The_Fly> hmmm if only i could write a test vector for this
 506 2014-03-04 04:22:17 <The_Fly> the long term goal is to make wallet software that provides some kind of assurance (if i license it)
 507 2014-03-04 04:22:20 <radiator> Hi, is anyone working on a decentralized exchange ?
 508 2014-03-04 04:22:30 <The_Fly> maaku: but for now it is just in-house
 509 2014-03-04 04:22:33 Application has joined
 510 2014-03-04 04:22:34 <maaku> The_Fly: speaking of test vecotrs, make sure you handle a reorg properly
 511 2014-03-04 04:23:07 <maaku> in a related attack, the first transaction can get a single confirm, then is reorg'd away, and the second transaction accepted
 512 2014-03-04 04:23:27 <The_Fly> maaku: yes, if miners collude this can be pulled off right?
 513 2014-03-04 04:23:30 <maaku> you need to recognize they are double spends of each other
 514 2014-03-04 04:23:47 <maaku> it coudl even be accidental although this is less likely
 515 2014-03-04 04:24:16 <The_Fly> waiting for more confs reduces risk of reorg
 516 2014-03-04 04:24:48 <The_Fly> actually i do it in a bracketed fashion, so i accpet 0.1 btc or less 0conf, 1btc or less 1conf, 2btc or less 2 conf etc. etc.
 517 2014-03-04 04:24:53 <The_Fly> user configurable
 518 2014-03-04 04:25:03 <The_Fly> so they can adjust to their desired risk profile
 519 2014-03-04 04:25:29 <The_Fly> i am tempted to just say 3 confs for everything now, and then the only thing which would hurt me is hardfork
 520 2014-03-04 04:25:35 richcollins has joined
 521 2014-03-04 04:25:38 <The_Fly> which i dont know how to detect
 522 2014-03-04 04:25:52 theymos has left ("Leaving")
 523 2014-03-04 04:25:54 <The_Fly> but i shut down my box when i get a bitcoind alert... heh
 524 2014-03-04 04:26:11 kobayashi_ has quit (Quit: Connection closed for inactivity)
 525 2014-03-04 04:26:34 <The_Fly> (i mean client configurable, customers who use this wallet software)
 526 2014-03-04 04:27:37 <The_Fly> lol http://pastebin.com/raw.php?i=kuWPX1ep "Another blockchain reorg of six or more blocks before July 1, 2013"
 527 2014-03-04 04:27:49 <The_Fly> * http://betsofbitco.in/item?id=1408
 528 2014-03-04 04:28:01 <maaku> The_Fly: be sure to also shut down if the block rate significantly slows down
 529 2014-03-04 04:28:15 <The_Fly> oh yeah?
 530 2014-03-04 04:28:27 <The_Fly> that would happen if mining was to grind to a halt?
 531 2014-03-04 04:28:28 Namworld has quit ()
 532 2014-03-04 04:28:34 <maaku> that's a locally detectable indication that you are on a fork, or a 51% attack started
 533 2014-03-04 04:28:45 darkskiez has quit (Ping timeout: 245 seconds)
 534 2014-03-04 04:28:59 <The_Fly> thanks maaku, all good information
 535 2014-03-04 04:29:05 <maaku> could be caused by lots of things - network partition, accidental bug, explicit attack
 536 2014-03-04 04:29:25 <The_Fly> what is a good threshold, i guess i can statistically look at the blockchain
 537 2014-03-04 04:29:37 <The_Fly> and distribution of blocktime deltas
 538 2014-03-04 04:29:52 CSKiro has joined
 539 2014-03-04 04:30:06 <maaku> you should be able to figure it out mathmatically - since block finding is a Poisson process
 540 2014-03-04 04:30:17 kurtosis has joined
 541 2014-03-04 04:30:36 <maaku> I'm feeding my daughter right now so it's hard to break out a pencil & paper
 542 2014-03-04 04:30:38 <The_Fly> ok nice math challenge for me :)
 543 2014-03-04 04:30:44 <The_Fly> maaku: that's ok
 544 2014-03-04 04:30:45 StSeek_ has joined
 545 2014-03-04 04:30:56 <The_Fly> feeding her is much more important lol
 546 2014-03-04 04:30:56 StSeek_ has quit (Client Quit)
 547 2014-03-04 04:30:59 _ImI_ has quit (Quit: _ImI_)
 548 2014-03-04 04:31:21 <maaku> basically just decide what false positive rate you want (how often you can accept your service shutting down & sending you an email/sms under normal circumstances)
 549 2014-03-04 04:31:45 <maaku> and how quickly you want to react (how many blocks of history to consider)
 550 2014-03-04 04:31:45 <The_Fly> it's a poisson process, is that the case under rapidly increasing/decreasing network hashrate
 551 2014-03-04 04:31:53 <The_Fly> and when diff changes
 552 2014-03-04 04:32:07 <maaku> yes it is, it is just the rate that changes
 553 2014-03-04 04:32:12 roconnor has quit (Remote host closed the connection)
 554 2014-03-04 04:32:29 <maaku> but you shouldn't have to model that, just assume 10 min
 555 2014-03-04 04:32:42 omefire has quit (Ping timeout: 264 seconds)
 556 2014-03-04 04:32:55 wereHamster has quit (Read error: Connection reset by peer)
 557 2014-03-04 04:33:09 <maaku> gmaxwell would probably have more input on filter problems like this
 558 2014-03-04 04:33:12 duc1969 has joined
 559 2014-03-04 04:33:57 CSKiro has left ()
 560 2014-03-04 04:34:18 StSeek has quit (Ping timeout: 240 seconds)
 561 2014-03-04 04:34:35 <The_Fly> ok, im interested to discuss this futher at some point, for now the basic implementation i have is quite robust (apart from this double deposit case ive found, which risk can be mitigated by value-bracketed min confirmation limits)
 562 2014-03-04 04:35:04 <The_Fly> and withdrawal hold on stuck 0conf tx
 563 2014-03-04 04:35:09 <The_Fly> hold/block
 564 2014-03-04 04:35:35 <The_Fly> then the only relevant issues beyond this are 51% attack detection/prevention, as you mentioned
 565 2014-03-04 04:36:27 <The_Fly> and reorgs (covered in the client-configurable settings, e.g. they can set a hard minconfs of 3 for all deposits)
 566 2014-03-04 04:36:57 <The_Fly> for my stupid website https://the-million-bitcoin-homepage.com/
 567 2014-03-04 04:37:02 <The_Fly> selling valueless pixels
 568 2014-03-04 04:37:21 <The_Fly> i think i can tolerate zeroconf-related failures :P
 569 2014-03-04 04:39:03 <The_Fly> although in the case of prize funds it would act as a gradual drain unless the limit is set quite low, so i might move to requiring 1 conf when i inject prize money (anyway thats offtopic)
 570 2014-03-04 04:39:14 <The_Fly> thanks again maaku , i really appreciate your help & time
 571 2014-03-04 04:40:09 [\\\] has quit (Ping timeout: 265 seconds)
 572 2014-03-04 04:41:30 darkskiez has joined
 573 2014-03-04 04:44:25 toffoo has joined
 574 2014-03-04 04:46:08 yubrew has joined
 575 2014-03-04 04:46:22 EasyAt is now known as EasyAt|Sofa
 576 2014-03-04 04:46:42 Gyps has joined
 577 2014-03-04 04:47:12 _ImI_ has joined
 578 2014-03-04 04:49:17 TheBison has quit (Quit: TheBison)
 579 2014-03-04 04:49:19 tinaivanova has quit (Ping timeout: 240 seconds)
 580 2014-03-04 04:49:52 TheBison has joined
 581 2014-03-04 04:50:31 yubrew has quit (Ping timeout: 252 seconds)
 582 2014-03-04 04:50:59 _ImI_ has quit (Client Quit)
 583 2014-03-04 04:50:59 Zarutian has quit (Quit: Zarutian)
 584 2014-03-04 04:52:24 TheSeven has quit (Disconnected by services)
 585 2014-03-04 04:52:45 [7] has joined
 586 2014-03-04 04:54:52 justanotheruser is now known as just[dead]
 587 2014-03-04 04:55:40 mrkent has quit (Ping timeout: 240 seconds)
 588 2014-03-04 04:56:29 <The_Fly> well at least i audit my database and transaction processing system, unlike karpeles :P
 589 2014-03-04 04:57:24 <radiator> The_Fly: please, dont mention that name in here
 590 2014-03-04 04:58:11 <The_Fly> okay
 591 2014-03-04 05:02:52 CBit has quit (Ping timeout: 265 seconds)
 592 2014-03-04 05:03:19 Soligor has quit (Quit: Soligor)
 593 2014-03-04 05:03:45 banghouse has joined
 594 2014-03-04 05:04:19 banghouse has quit (Remote host closed the connection)
 595 2014-03-04 05:04:28 sacrelege has quit (Quit: Leaving)
 596 2014-03-04 05:06:36 <Luke-Jr> warren: there is no from address
 597 2014-03-04 05:07:28 dustcoin has quit ()
 598 2014-03-04 05:07:57 eoss has joined
 599 2014-03-04 05:11:54 guest___2 has quit (Ping timeout: 240 seconds)
 600 2014-03-04 05:12:58 just[dead] is now known as justanotheruser
 601 2014-03-04 05:13:01 skarloey has joined
 602 2014-03-04 05:13:02 dustcoin has joined
 603 2014-03-04 05:14:08 guest____ has joined
 604 2014-03-04 05:19:05 roidster has joined
 605 2014-03-04 05:19:53 suhailski has joined
 606 2014-03-04 05:22:28 suhailski has quit (Read error: Connection reset by peer)
 607 2014-03-04 05:22:44 suhailski has joined
 608 2014-03-04 05:22:48 dansmith_btc2 has joined
 609 2014-03-04 05:23:05 CheckDavid has quit (Quit: Connection closed for inactivity)
 610 2014-03-04 05:23:17 mrkent has joined
 611 2014-03-04 05:25:34 omefire has joined
 612 2014-03-04 05:26:09 default_ has joined
 613 2014-03-04 05:26:17 default_ has quit (Read error: Connection reset by peer)
 614 2014-03-04 05:27:49 maaku has quit (Remote host closed the connection)
 615 2014-03-04 05:28:59 m104 has joined
 616 2014-03-04 05:31:19 antephialtic has joined
 617 2014-03-04 05:31:25 maaku has joined
 618 2014-03-04 05:31:30 dansmith_btc2 has quit (Ping timeout: 240 seconds)
 619 2014-03-04 05:31:48 maaku is now known as Guest63600
 620 2014-03-04 05:32:05 antephialtic has quit (Remote host closed the connection)
 621 2014-03-04 05:32:41 antephialtic has joined
 622 2014-03-04 05:34:25 rasmuzen has joined
 623 2014-03-04 05:35:24 <rasmuzen> hi
 624 2014-03-04 05:36:27 prophetx has joined
 625 2014-03-04 05:36:56 [\\\] has joined
 626 2014-03-04 05:37:05 <rasmuzen> I'm trying to create a giant table of all utxos that are associated with scriptpubkeys (and the scriptpubkey they're associated with, of course)
 627 2014-03-04 05:37:54 <rasmuzen> is there some way I can process the transactions that are downloaded by bitcoind to create such a table?
 628 2014-03-04 05:38:20 <rasmuzen> jcorgan: CodeShark: hey :P
 629 2014-03-04 05:39:40 <justanotheruser> rasmuzen: I think there is a blockchain parser on bitcointalk
 630 2014-03-04 05:40:07 yubrew has joined
 631 2014-03-04 05:40:35 eoss has quit (Ping timeout: 265 seconds)
 632 2014-03-04 05:41:03 realazthat has quit (Ping timeout: 265 seconds)
 633 2014-03-04 05:41:15 <rasmuzen> thanks
 634 2014-03-04 05:41:53 <rasmuzen> justanotheruser: do you know if it would be possible to do such a thing using just the rpc api?
 635 2014-03-04 05:42:47 prophetx has quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
 636 2014-03-04 05:44:36 richcollins has quit (Quit: richcollins)
 637 2014-03-04 05:44:42 yubrew has quit (Ping timeout: 240 seconds)
 638 2014-03-04 05:45:35 ntio3 has joined
 639 2014-03-04 05:47:39 torokun has joined
 640 2014-03-04 05:49:59 ntio3 has quit (Ping timeout: 240 seconds)
 641 2014-03-04 05:50:03 sbrossie1 has quit (Quit: Leaving.)
 642 2014-03-04 05:50:20 radiator has quit (Quit: radiator)
 643 2014-03-04 05:50:50 antephialtic has quit (Remote host closed the connection)
 644 2014-03-04 05:54:01 eoss has joined
 645 2014-03-04 05:55:28 brson has joined
 646 2014-03-04 05:56:31 Coincidental has quit (Remote host closed the connection)
 647 2014-03-04 05:56:36 skarloey has quit (Quit: Leaving.)
 648 2014-03-04 05:57:10 HeySteve has quit ()
 649 2014-03-04 05:57:30 wei__ has quit (Ping timeout: 265 seconds)
 650 2014-03-04 05:58:06 basva has joined
 651 2014-03-04 05:59:28 gary77 has joined
 652 2014-03-04 06:00:41 eoss has quit (Ping timeout: 244 seconds)
 653 2014-03-04 06:00:56 freetx has joined
 654 2014-03-04 06:01:37 freetx has left ()
 655 2014-03-04 06:02:18 basva has quit (Ping timeout: 240 seconds)
 656 2014-03-04 06:02:39 <dansmith_btc> rasmuzen, can you iterate over each tx with gettransaction check if it is unspent with gettxout and finally get its script with decoderawtx?
 657 2014-03-04 06:03:02 m104 has quit (Quit: brb)
 658 2014-03-04 06:04:04 HeySteve has joined
 659 2014-03-04 06:04:32 liteStrikening has quit ()
 660 2014-03-04 06:07:15 <anton000> just clarifying  in getrawtransaction <txid> 1
 661 2014-03-04 06:07:44 <anton000> the returned "value" entry for each vout is in bitcoins already and not satoshi?
 662 2014-03-04 06:07:55 shesek has quit (Ping timeout: 244 seconds)
 663 2014-03-04 06:09:16 paveljanik has joined
 664 2014-03-04 06:10:09 eoss has joined
 665 2014-03-04 06:10:13 <anton000> nvm... lol checked on blockchain
 666 2014-03-04 06:11:07 ralphtheninja has joined
 667 2014-03-04 06:12:06 skarloey has joined
 668 2014-03-04 06:12:44 suhailski has quit (Read error: Connection reset by peer)
 669 2014-03-04 06:12:45 suhailski1 has joined
 670 2014-03-04 06:13:59 closer has quit (Ping timeout: 252 seconds)
 671 2014-03-04 06:15:05 djcoin_ has joined
 672 2014-03-04 06:15:54 eoss has quit (Ping timeout: 264 seconds)
 673 2014-03-04 06:16:11 ValicekB has quit (Ping timeout: 244 seconds)
 674 2014-03-04 06:16:14 closer has joined
 675 2014-03-04 06:17:06 phantomspark has quit (Ping timeout: 240 seconds)
 676 2014-03-04 06:20:45 ThomasV has quit (Ping timeout: 252 seconds)
 677 2014-03-04 06:21:43 ielo has joined
 678 2014-03-04 06:23:14 derbumi has quit (Quit: derbumi)
 679 2014-03-04 06:24:03 ValicekB has joined
 680 2014-03-04 06:24:17 leofidus-ger has quit (Ping timeout: 252 seconds)
 681 2014-03-04 06:26:00 SwampTony has joined
 682 2014-03-04 06:29:44 c0rw1n has quit (Remote host closed the connection)
 683 2014-03-04 06:30:04 Gyps has quit (Quit: Gyps)
 684 2014-03-04 06:33:41 Ursium has quit (Quit: Ursium)
 685 2014-03-04 06:34:19 yubrew has joined
 686 2014-03-04 06:36:35 WormDr1nk has quit (Read error: Connection reset by peer)
 687 2014-03-04 06:36:54 W0rmDr1nk has quit (Read error: Connection reset by peer)
 688 2014-03-04 06:36:56 rdymac has quit (Ping timeout: 252 seconds)
 689 2014-03-04 06:37:48 brson has quit (Ping timeout: 252 seconds)
 690 2014-03-04 06:38:42 yubrew has quit (Ping timeout: 240 seconds)
 691 2014-03-04 06:39:12 brson has joined
 692 2014-03-04 06:39:37 antephialtic has joined
 693 2014-03-04 06:39:50 delboy_ has joined
 694 2014-03-04 06:40:19 rav` has joined
 695 2014-03-04 06:40:44 rdymac has joined
 696 2014-03-04 06:42:22 torokun has quit (Remote host closed the connection)
 697 2014-03-04 06:42:23 Winrarz has joined
 698 2014-03-04 06:44:40 eoss has joined
 699 2014-03-04 06:45:18 justanotheruser is now known as just[dead]
 700 2014-03-04 06:46:30 ntio3 has joined
 701 2014-03-04 06:47:42 jaromil has quit (Ping timeout: 264 seconds)
 702 2014-03-04 06:47:48 jaromil has joined
 703 2014-03-04 06:49:22 foamy has joined
 704 2014-03-04 06:50:19 Coincourse has joined
 705 2014-03-04 06:50:42 kurtosis has quit (Ping timeout: 240 seconds)
 706 2014-03-04 06:51:03 tombtc has joined
 707 2014-03-04 06:51:09 ntio3 has quit (Ping timeout: 265 seconds)
 708 2014-03-04 06:54:21 tombtc has quit (Client Quit)
 709 2014-03-04 06:54:32 dangerm00se has joined
 710 2014-03-04 06:55:02 spagett has quit (Quit: Leaving)
 711 2014-03-04 06:56:23 SwampTony has quit (Remote host closed the connection)
 712 2014-03-04 06:58:10 CryptoBuck has quit (Ping timeout: 252 seconds)
 713 2014-03-04 06:59:49 Coincidental has joined
 714 2014-03-04 07:02:45 ralphtheninja has quit (Ping timeout: 265 seconds)
 715 2014-03-04 07:03:16 skarloey has quit (Quit: Leaving.)
 716 2014-03-04 07:03:18 ValicekB has quit (Ping timeout: 264 seconds)
 717 2014-03-04 07:04:38 Subo1977 has joined
 718 2014-03-04 07:05:29 CryptoBuck has joined
 719 2014-03-04 07:08:57 ValicekB has joined
 720 2014-03-04 07:09:43 Coincourse has quit (Ping timeout: 252 seconds)
 721 2014-03-04 07:09:54 CryptoBuck has quit (Ping timeout: 240 seconds)
 722 2014-03-04 07:12:59 duc1969 has quit (Ping timeout: 240 seconds)
 723 2014-03-04 07:13:52 coeus has quit (Ping timeout: 265 seconds)
 724 2014-03-04 07:14:34 oneginlaptop has quit (Ping timeout: 244 seconds)
 725 2014-03-04 07:18:36 kurtosis has joined
 726 2014-03-04 07:20:21 smash_ has quit (Remote host closed the connection)
 727 2014-03-04 07:23:32 kurtosis has quit (Ping timeout: 265 seconds)
 728 2014-03-04 07:24:43 ziggamon has joined
 729 2014-03-04 07:28:27 yubrew has joined
 730 2014-03-04 07:32:23 CBit has joined
 731 2014-03-04 07:32:23 delboy_ has quit (Quit: Page closed)
 732 2014-03-04 07:32:39 yubrew has quit (Ping timeout: 240 seconds)
 733 2014-03-04 07:35:28 antephialtic has quit (Remote host closed the connection)
 734 2014-03-04 07:36:06 antephialtic has joined
 735 2014-03-04 07:38:22 MoALTz_ has joined
 736 2014-03-04 07:39:00 paveljanik has quit (Ping timeout: 265 seconds)
 737 2014-03-04 07:40:18 ircuser-6 has joined
 738 2014-03-04 07:40:19 antephialtic has quit (Ping timeout: 240 seconds)
 739 2014-03-04 07:40:59 antephialtic has joined
 740 2014-03-04 07:43:11 ValicekB has quit (Ping timeout: 240 seconds)
 741 2014-03-04 07:47:12 ntio3 has joined
 742 2014-03-04 07:47:49 TheBison has quit (Quit: TheBison)
 743 2014-03-04 07:48:57 ValicekB has joined
 744 2014-03-04 07:49:42 venzen has quit (Ping timeout: 244 seconds)
 745 2014-03-04 07:51:54 ntio3 has quit (Ping timeout: 264 seconds)
 746 2014-03-04 07:52:02 markus__ has joined
 747 2014-03-04 07:54:29 brson has quit (Quit: leaving)
 748 2014-03-04 07:57:14 SwampTony has joined
 749 2014-03-04 07:58:49 basva has joined
 750 2014-03-04 08:01:29 twobitcoins_ has quit (Quit: Leaving)
 751 2014-03-04 08:01:53 abossard has joined
 752 2014-03-04 08:02:59 petcat has quit (Quit: Leaving.)
 753 2014-03-04 08:03:05 basva has quit (Ping timeout: 252 seconds)
 754 2014-03-04 08:03:21 msvb-lab has joined
 755 2014-03-04 08:04:07 petcat has joined
 756 2014-03-04 08:04:55 Coincidental has quit (Remote host closed the connection)
 757 2014-03-04 08:05:56 ebfull has joined
 758 2014-03-04 08:08:08 WormDr1nk has joined
 759 2014-03-04 08:08:42 olalonde has quit (Ping timeout: 264 seconds)
 760 2014-03-04 08:08:48 olalonde_ has joined
 761 2014-03-04 08:09:31 AriseChikun has quit (Ping timeout: 240 seconds)
 762 2014-03-04 08:09:57 W0rmDr1nk has joined
 763 2014-03-04 08:10:30 WormDr1nk has quit (Client Quit)
 764 2014-03-04 08:11:06 roidster has quit (Quit: ChatZilla 0.9.90.1 [SeaMonkey 2.22.1/20131113180422])
 765 2014-03-04 08:11:36 Techguy305 has joined
 766 2014-03-04 08:13:46 rusty78 has quit (Quit: Leaving)
 767 2014-03-04 08:14:23 Gerendon has quit (Quit: Leaving)
 768 2014-03-04 08:16:07 wateratosthenes has joined
 769 2014-03-04 08:17:12 twobitcoins has joined
 770 2014-03-04 08:17:28 e4xit has joined
 771 2014-03-04 08:19:07 kurtosis has joined
 772 2014-03-04 08:22:36 yubrew has joined
 773 2014-03-04 08:23:30 e4xit has quit (Quit: Right I'm out!)
 774 2014-03-04 08:23:41 Pucilowski has joined
 775 2014-03-04 08:23:50 e4xit has joined
 776 2014-03-04 08:23:57 kurtosis has quit (Ping timeout: 265 seconds)
 777 2014-03-04 08:26:42 yubrew has quit (Ping timeout: 240 seconds)
 778 2014-03-04 08:27:05 toffoo has quit ()
 779 2014-03-04 08:28:04 Grouver has joined
 780 2014-03-04 08:28:09 buhbuh has joined
 781 2014-03-04 08:29:34 TheGreatAl has joined
 782 2014-03-04 08:31:02 smash has joined
 783 2014-03-04 08:34:06 Emcy has quit (Ping timeout: 265 seconds)
 784 2014-03-04 08:35:30 smash has quit (Ping timeout: 240 seconds)
 785 2014-03-04 08:35:54 rasmuzen has quit (Quit: Page closed)
 786 2014-03-04 08:36:15 Raziel has quit (Ping timeout: 245 seconds)
 787 2014-03-04 08:36:46 TheGreatAl has quit (Quit: TheGreatAl)
 788 2014-03-04 08:37:05 wallet42 has joined
 789 2014-03-04 08:38:18 markus__ has quit (Read error: Connection reset by peer)
 790 2014-03-04 08:40:36 TheGreatAl has joined
 791 2014-03-04 08:41:04 melvster has joined
 792 2014-03-04 08:42:24 ext0 has quit (Ping timeout: 244 seconds)
 793 2014-03-04 08:43:06 paveljanik has joined
 794 2014-03-04 08:45:00 TheGreatAl has quit (Ping timeout: 245 seconds)
 795 2014-03-04 08:45:05 stonecoldpat has joined
 796 2014-03-04 08:45:41 wallet42 has quit (Quit: Leaving.)
 797 2014-03-04 08:49:14 ziggamon has quit (Remote host closed the connection)
 798 2014-03-04 08:52:49 e4xit has quit (Ping timeout: 240 seconds)
 799 2014-03-04 08:53:42 Techguy305 has quit (Ping timeout: 252 seconds)
 800 2014-03-04 08:54:24 eoss has quit (Remote host closed the connection)
 801 2014-03-04 08:55:47 <paveljanik> --help for discover should state --discover=<n>
 802 2014-03-04 08:56:01 e4xit has joined
 803 2014-03-04 08:56:15 kurtosis has joined
 804 2014-03-04 08:56:23 <michagogo> cloud!uid14316@wikia/Michagogo|paveljanik: feel free to correct it
 805 2014-03-04 08:56:24 MoALTz_ has quit (Quit: brb)
 806 2014-03-04 08:56:33 airbreather_1 has joined
 807 2014-03-04 08:56:36 MoALTz has joined
 808 2014-03-04 08:58:25 Eagle[TM] has joined
 809 2014-03-04 08:59:43 airbreather has quit (Ping timeout: 265 seconds)
 810 2014-03-04 09:00:16 <paveljanik> will try...
 811 2014-03-04 09:06:49 TheBison has joined
 812 2014-03-04 09:07:00 mattco has joined
 813 2014-03-04 09:08:58 benrcole has joined
 814 2014-03-04 09:09:23 ericmuyser has quit (Remote host closed the connection)
 815 2014-03-04 09:09:59 mattco_ has quit (Ping timeout: 252 seconds)
 816 2014-03-04 09:11:01 qwebirc51581 has joined
 817 2014-03-04 09:12:52 Eiii has quit ()
 818 2014-03-04 09:13:32 Eggman33 has quit (Read error: Connection reset by peer)
 819 2014-03-04 09:13:41 ielo has quit (Ping timeout: 240 seconds)
 820 2014-03-04 09:13:44 Lightsword has joined
 821 2014-03-04 09:14:11 Eggman33 has joined
 822 2014-03-04 09:14:31 <Lightsword> does anyone know of any reference code for how to manage generation transaction pool payouts similar to how eligius works?
 823 2014-03-04 09:15:12 ntio3 has joined
 824 2014-03-04 09:15:48 <paveljanik> michagog|cloud: done
 825 2014-03-04 09:15:52 <paveljanik> o, sorry
 826 2014-03-04 09:16:10 ntio3 has quit (Client Quit)
 827 2014-03-04 09:16:49 yubrew has joined
 828 2014-03-04 09:20:59 Eggman33 has quit (Ping timeout: 265 seconds)
 829 2014-03-04 09:21:11 yubrew has quit (Ping timeout: 240 seconds)
 830 2014-03-04 09:22:58 OneMiner1 has joined
 831 2014-03-04 09:24:51 olalonde_ has quit (Ping timeout: 265 seconds)
 832 2014-03-04 09:24:52 seksifemale has joined
 833 2014-03-04 09:25:30 adam3us has quit (Ping timeout: 264 seconds)
 834 2014-03-04 09:25:34 olalonde has joined
 835 2014-03-04 09:26:08 lalopalo has joined
 836 2014-03-04 09:26:10 OneMiner has quit (Ping timeout: 252 seconds)
 837 2014-03-04 09:28:55 TheGreatAl has joined
 838 2014-03-04 09:29:15 Eggman33 has joined
 839 2014-03-04 09:29:18 ext0 has joined
 840 2014-03-04 09:30:07 olalonde_ has joined
 841 2014-03-04 09:30:11 olalonde has quit (Ping timeout: 240 seconds)
 842 2014-03-04 09:30:12 olalonde_ is now known as olalonde
 843 2014-03-04 09:33:25 phantomspark has joined
 844 2014-03-04 09:33:37 Goonie has joined
 845 2014-03-04 09:34:20 Hunger- has quit (Ping timeout: 240 seconds)
 846 2014-03-04 09:35:42 olalonde has quit (Ping timeout: 264 seconds)
 847 2014-03-04 09:36:20 Persopolis has joined
 848 2014-03-04 09:36:57 benrcole has quit (Quit: Leaving.)
 849 2014-03-04 09:38:20 <paveljanik> and now ACKed. Thanks. 10minutes from my github registration. Good.
 850 2014-03-04 09:38:21 <paveljanik> ;-)
 851 2014-03-04 09:38:29 CBit has quit (Quit: Leaving)
 852 2014-03-04 09:39:10 <wumpus> paveljanik: yes, documentation improvements are really easy to ACK, we need more of them :)
 853 2014-03-04 09:39:21 adam3us has joined
 854 2014-03-04 09:39:31 jogos has joined
 855 2014-03-04 09:39:51 oftb has quit (Read error: Connection reset by peer)
 856 2014-03-04 09:41:39 NLNico has joined
 857 2014-03-04 09:42:02 olalonde has joined
 858 2014-03-04 09:47:10 dreamspark has quit (Ping timeout: 245 seconds)
 859 2014-03-04 09:49:15 venzen has joined
 860 2014-03-04 09:51:00 lalopalo has quit (Ping timeout: 240 seconds)
 861 2014-03-04 09:51:41 lalopalo has joined
 862 2014-03-04 09:51:41 dreamspark has joined
 863 2014-03-04 09:54:15 afafaf has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
 864 2014-03-04 09:55:26 fanquake has joined
 865 2014-03-04 09:55:49 paveljanik has quit (Read error: Operation timed out)
 866 2014-03-04 09:57:39 tinaivanova has joined
 867 2014-03-04 09:57:46 ntio has joined
 868 2014-03-04 09:58:05 skarloey has joined
 869 2014-03-04 09:58:30 Eggman33 has quit (Ping timeout: 264 seconds)
 870 2014-03-04 09:58:35 gfhxc has joined
 871 2014-03-04 09:59:03 Eggman33 has joined
 872 2014-03-04 09:59:33 basva has joined
 873 2014-03-04 09:59:34 <wumpus> anyone with advice here? https://github.com/bitcoin/bitcoin/issues/3748   submitter has a conflicted transaction and wants to reissue it, but is unsure how
 874 2014-03-04 10:00:09 phoenix52 has joined
 875 2014-03-04 10:00:36 <Diablo-D3> wumpus: just make another one
 876 2014-03-04 10:00:44 <Diablo-D3> the conflicted one can never be valid
 877 2014-03-04 10:01:20 <Diablo-D3> wumpus: the way Ive always interpreted those, its effectively an accidental double spend attempt
 878 2014-03-04 10:01:20 <wumpus> are you really sure? I'm afraid to cause gox-like issues
 879 2014-03-04 10:01:36 <Diablo-D3> heh, afaict, gox never had gox-like issues
 880 2014-03-04 10:01:42 <Diablo-D3> gox had magicaltux stealing $400m issues
 881 2014-03-04 10:02:02 <wumpus> usually when reissuing the advice is to spend at least one input, but how to actually do that using bitcoind I don't know
 882 2014-03-04 10:03:24 <Persopolis> if it's conflicted, could it not mean the other version of this tracsaction went through and therefore another should NOT be created to replace it?  but i don't know
 883 2014-03-04 10:03:43 paveljanik has joined
 884 2014-03-04 10:03:44 <wumpus> Persopolis: right, that's also an option, that's why I'm not rushing to answer
 885 2014-03-04 10:04:11 <wumpus> tho ,"walletconflicts":[]
 886 2014-03-04 10:04:30 basva has quit (Ping timeout: 264 seconds)
 887 2014-03-04 10:04:30 <wumpus> I'd interpret that as 'there is no direct duplicate'
 888 2014-03-04 10:04:38 <Diablo-D3> Persopolis: thats the way Ive always interpreted it
 889 2014-03-04 10:04:42 <Diablo-D3> its not the first time its come up
 890 2014-03-04 10:05:21 <wumpus> well there are multiple ways in which a transaction can become conflicted, one is that a malleated duplicate made it into a block, in which case you *don't* want to reissue
 891 2014-03-04 10:05:42 <wumpus> another is that the person spent unconfirmed change and the intermediate transaction was malleated, causing the transaction to be 'orphaned'
 892 2014-03-04 10:06:00 <Persopolis> so is there a way for him to check outputs he was spending with this transaction and see if anything on blockchain spent that output?
 893 2014-03-04 10:06:25 <wumpus> another one is a double-spend attempt (from a wallet backup, for example)
 894 2014-03-04 10:06:34 <wumpus> so... yeah :-)
 895 2014-03-04 10:07:28 <Diablo-D3> wumpus: yeah it sounds like its either a wallet backup and he tried to issue a tx before the chain completed updating, or he has the wallet running concurrently thus breaking shit
 896 2014-03-04 10:07:42 macboz_ has quit (Quit: This computer has gone to sleep)
 897 2014-03-04 10:10:22 Lexa has quit (Write error: Connection reset by peer)
 898 2014-03-04 10:10:22 t3st3r has quit (Write error: Connection reset by peer)
 899 2014-03-04 10:10:22 justusranvier has quit (Write error: Connection reset by peer)
 900 2014-03-04 10:10:22 dignork has quit (Write error: Connection reset by peer)
 901 2014-03-04 10:10:27 derbumi has joined
 902 2014-03-04 10:11:04 yubrew has joined
 903 2014-03-04 10:12:40 phantomspark has quit (Ping timeout: 240 seconds)
 904 2014-03-04 10:13:38 mattco_ has joined
 905 2014-03-04 10:13:39 mattco has quit (Disconnected by services)
 906 2014-03-04 10:14:29 hmsimha_ has joined
 907 2014-03-04 10:16:05 yubrew has quit (Ping timeout: 265 seconds)
 908 2014-03-04 10:19:54 Eggman33 has quit (Ping timeout: 240 seconds)
 909 2014-03-04 10:20:43 Coincidental has joined
 910 2014-03-04 10:21:36 Eggman33 has joined
 911 2014-03-04 10:22:13 liteStrikening has joined
 912 2014-03-04 10:23:34 JackH has joined
 913 2014-03-04 10:23:54 DorothyIV has left ()
 914 2014-03-04 10:24:40 nsh has quit (Ping timeout: 240 seconds)
 915 2014-03-04 10:25:02 thrasher1 has quit (Ping timeout: 252 seconds)
 916 2014-03-04 10:25:32 thrasher has joined
 917 2014-03-04 10:26:55 JackH has quit (Client Quit)
 918 2014-03-04 10:29:05 koshii has joined
 919 2014-03-04 10:29:27 <koshii> Is this a good place to ask kind of newbie bitcoin dev questions (as in, not core dev, but building things with Bitcoin) ?
 920 2014-03-04 10:30:21 <Diablo-D3> koshii: that'd be better for #bitcoin I think
 921 2014-03-04 10:30:25 <koshii> OK
 922 2014-03-04 10:30:28 <Diablo-D3> but everyone is asleep anyhow
 923 2014-03-04 10:30:33 <koshii> Thanks.
 924 2014-03-04 10:30:40 koshii has quit (Client Quit)
 925 2014-03-04 10:33:54 Coincidental has quit (Ping timeout: 240 seconds)
 926 2014-03-04 10:34:36 Abishek__ is now known as abishek
 927 2014-03-04 10:34:40 TD has joined
 928 2014-03-04 10:37:11 Lightsword has quit (Ping timeout: 240 seconds)
 929 2014-03-04 10:39:24 kobayashi_ has joined
 930 2014-03-04 10:39:36 GMP has quit (Read error: Connection reset by peer)
 931 2014-03-04 10:41:28 <michagogo> cloud!uid14316@wikia/Michagogo|12:01:24 <wumpus> usually when reissuing the advice is to spend at least one input, but how to actually do that using bitcoind I don't know
 932 2014-03-04 10:41:45 <michagogo> cloud!uid14316@wikia/Michagogo|wumpus: `bitcoind help createrawtransaction`
 933 2014-03-04 10:44:37 kurtosis has quit (Ping timeout: 265 seconds)
 934 2014-03-04 10:45:55 Garnenya has joined
 935 2014-03-04 10:46:35 <Garnenya> hello here
 936 2014-03-04 10:46:44 <Garnenya> I have question about bitcoin
 937 2014-03-04 10:47:28 <Garnenya> which libdb developers are using and why it's not the newest libdb-5?
 938 2014-03-04 10:49:14 <sipa> Garnenya: libdb has bad compatibility properties
 939 2014-03-04 10:50:05 <sipa> Garnenya: if you have a bitcoind linked against bdb 5.1, you're not able to open your wallet file using 4.8 anymore
 940 2014-03-04 10:50:35 <sipa> that is why release binaries use the earliest still-commonly-available bdb version
 941 2014-03-04 10:50:52 skarloey has quit (Quit: Leaving.)
 942 2014-03-04 10:51:19 dustcoin has quit (Read error: Connection reset by peer)
 943 2014-03-04 10:51:58 dustcoin has joined
 944 2014-03-04 10:52:04 ThomasV has joined
 945 2014-03-04 10:52:24 <Garnenya> sipa: does it means that if i will move wallet.dat on PC where is only libdb 4.8 i won't be able to open it?:x
 946 2014-03-04 10:53:04 <michagogo> cloud!uid14316@wikia/Michagogo|Garnenya: yes, if BDB 5.1 has touched that wallet
 947 2014-03-04 10:53:14 rdymac has quit (Ping timeout: 252 seconds)
 948 2014-03-04 10:53:15 <Garnenya> I see...
 949 2014-03-04 10:53:22 <Garnenya> thanks for answer:)
 950 2014-03-04 10:54:03 <michagogo> cloud!uid14316@wikia/Michagogo|Garnenya: it's theoretically possible to downgrade, using db5.1_dump and db4.8_load, IIRC
 951 2014-03-04 10:54:24 <michagogo> cloud!uid14316@wikia/Michagogo|But I haven't done it myself, so I can't guarantee that works
 952 2014-03-04 10:54:40 go1111111 has quit (Ping timeout: 244 seconds)
 953 2014-03-04 10:55:11 hmsimha_ has quit (Ping timeout: 244 seconds)
 954 2014-03-04 10:55:15 rdymac has joined
 955 2014-03-04 10:56:14 <sipa> downgrading manually is possible yes
 956 2014-03-04 10:58:17 <Garnenya> uh-huh... useful :) hmmm.. what about wallet on Windows? i haven't digged about this matter myself yet... but what lib is using windows for making wallet.dat? is it possible to move that file on linux wallet with no harm?
 957 2014-03-04 10:58:45 <michagogo> cloud!uid14316@wikia/Michagogo|Garnenya: windows and linux both use bdb
 958 2014-03-04 11:00:30 <Garnenya> 4.8? or 5.1?
 959 2014-03-04 11:00:52 <Diablo-D3> 4.8 iirc
 960 2014-03-04 11:01:04 <Garnenya> kthx
 961 2014-03-04 11:02:36 wateratosthenes has quit (Quit: wateratosthenes)
 962 2014-03-04 11:02:56 Eggman33 has quit (Ping timeout: 245 seconds)
 963 2014-03-04 11:04:13 macboz has joined
 964 2014-03-04 11:05:05 b4epoche has quit (Read error: Operation timed out)
 965 2014-03-04 11:05:10 antephialtic has quit (Remote host closed the connection)
 966 2014-03-04 11:05:15 yubrew has joined
 967 2014-03-04 11:06:55 b4epoche has joined
 968 2014-03-04 11:08:06 hmmma has quit (Ping timeout: 244 seconds)
 969 2014-03-04 11:09:02 Eggman33 has joined
 970 2014-03-04 11:09:29 TheBison has quit (Quit: TheBison)
 971 2014-03-04 11:09:54 yubrew has quit (Ping timeout: 264 seconds)
 972 2014-03-04 11:14:06 adam3us has quit (Ping timeout: 264 seconds)
 973 2014-03-04 11:15:02 antephialtic has joined
 974 2014-03-04 11:15:20 Emcy has joined
 975 2014-03-04 11:15:21 Emcy has quit (Changing host)
 976 2014-03-04 11:15:21 Emcy has joined
 977 2014-03-04 11:18:12 lalopalo has quit (Remote host closed the connection)
 978 2014-03-04 11:18:18 MaxSan1 has left ()
 979 2014-03-04 11:18:19 <wumpus> michagogo|cloud: that's not really useful in this case is it, if I have to explain to every newbie how to use raw transactions ...
 980 2014-03-04 11:18:54 johnsoft has quit (Ping timeout: 264 seconds)
 981 2014-03-04 11:19:07 antephialtic has quit (Ping timeout: 240 seconds)
 982 2014-03-04 11:19:16 TheBison has joined
 983 2014-03-04 11:19:20 johnsoft has joined
 984 2014-03-04 11:22:11 Eggman33 has quit (Ping timeout: 240 seconds)
 985 2014-03-04 11:23:34 Eggman33 has joined
 986 2014-03-04 11:27:31 Eggman33 has quit (Ping timeout: 240 seconds)
 987 2014-03-04 11:27:32 suhailski1 has quit (Quit: Leaving.)
 988 2014-03-04 11:28:47 adam3us has joined
 989 2014-03-04 11:30:00 Eggman33 has joined
 990 2014-03-04 11:30:01 Emcy has quit (Read error: Connection reset by peer)
 991 2014-03-04 11:30:29 draino has quit (Read error: Connection reset by peer)
 992 2014-03-04 11:30:39 Emcy has joined
 993 2014-03-04 11:30:43 draino has joined
 994 2014-03-04 11:30:46 dangerm00se has quit (Remote host closed the connection)
 995 2014-03-04 11:36:00 Garnenya has quit (Ping timeout: 240 seconds)
 996 2014-03-04 11:37:17 suhailski has joined
 997 2014-03-04 11:37:31 dlb76 has quit (Ping timeout: 245 seconds)
 998 2014-03-04 11:40:33 one_zero has quit ()
 999 2014-03-04 11:43:44 <CodeShark> I realized from our earlier conversation on a generalized multisig policy that nested m-of-n is fundamentally related to the theory of symmetric functions
1000 2014-03-04 11:44:07 airbreather_1 is now known as airbreather
1001 2014-03-04 11:44:51 <CodeShark> Sm,n = x1 x2 x3 … xm + x1 x2 x3 … x_{m-1} x_{m+1} + ...
1002 2014-03-04 11:45:26 <CodeShark> the symmetric polynomial where each term is at most linear in each variable
1003 2014-03-04 11:46:26 <CodeShark> over the field {0,1}
1004 2014-03-04 11:47:08 <CodeShark> finding the simplest representation using solely m-of-n as a primitive amounts to finding the shortest expression only using the symmetric polynomials
1005 2014-03-04 11:47:26 <CodeShark> the two problems are isomorphic
1006 2014-03-04 11:48:25 Eggman33 has quit (Ping timeout: 265 seconds)
1007 2014-03-04 11:50:42 ThomasV has quit (Ping timeout: 264 seconds)
1008 2014-03-04 11:51:26 <CodeShark> I believe the expression in terms of the symmetric polynomials is actually nique
1009 2014-03-04 11:51:28 <CodeShark> *unique
1010 2014-03-04 11:51:44 <sipa> where is n?
1011 2014-03-04 11:51:53 hno has joined
1012 2014-03-04 11:52:56 Eggman33 has joined
1013 2014-03-04 11:53:42 TheGreatAl has quit (Quit: TheGreatAl)
1014 2014-03-04 11:54:04 <CodeShark> the symmetric polynomial Sm,n(x1, x2, x3, …, xm) is the sum of all products of exactly m variables
1015 2014-03-04 11:54:48 <CodeShark> it has the interesting feature over the field {0,1} that it is 0 if fewer than m of the x's are 1
1016 2014-03-04 11:55:10 <CodeShark> it is 1 when exactly m of the x's are 1
1017 2014-03-04 11:55:43 <CodeShark> err, sorry
1018 2014-03-04 11:55:54 <CodeShark> I meant Sm,n(x1, x2, x3, …, xn)
1019 2014-03-04 11:56:03 <CodeShark> we form m-tuple products
1020 2014-03-04 11:56:10 <CodeShark> and sum over all such terms
1021 2014-03-04 11:56:46 <CodeShark> every polynomial function has a unique representation in terms of the symmetric polynomials
1022 2014-03-04 11:56:58 <CodeShark> it's an important theorem in galois theory :)
1023 2014-03-04 11:57:07 derbumi has quit (Quit: derbumi)
1024 2014-03-04 11:57:33 <CodeShark> over the field {0,1}, it's even simpler since higher powers than 1 are idempotent
1025 2014-03-04 11:57:43 <CodeShark> so we only need to consider the exponents 0 and 1
1026 2014-03-04 11:57:49 Emcy has quit (Read error: Connection reset by peer)
1027 2014-03-04 11:58:46 derbumi has joined
1028 2014-03-04 11:59:01 derbumi has quit (Client Quit)
1029 2014-03-04 11:59:20 yubrew has joined
1030 2014-03-04 11:59:23 t7 has joined
1031 2014-03-04 11:59:37 <CodeShark> since any truth table over a finite set of boolean variables can be represented as a polynomial over {0,1}, there must be a unique representation in terms of the symmetric polynomials
1032 2014-03-04 12:00:20 basva has joined
1033 2014-03-04 12:00:45 Emcy has joined
1034 2014-03-04 12:00:54 <CodeShark> so I think the only issue that remains is the ordering of the variables
1035 2014-03-04 12:01:20 TD has quit (Ping timeout: 240 seconds)
1036 2014-03-04 12:01:31 * t7 googles symmetric polynomials
1037 2014-03-04 12:01:56 MaxSan has joined
1038 2014-03-04 12:03:05 paveljanik has quit (Quit: This computer has gone to sleep)
1039 2014-03-04 12:03:19 <CodeShark> actually, the theorem states that every symmetric polynomial has a unique representation in terms of the elementary symmetric polynomials
1040 2014-03-04 12:03:28 HaltingState has quit (Quit: Leaving)
1041 2014-03-04 12:04:11 yubrew has quit (Ping timeout: 269 seconds)
1042 2014-03-04 12:04:41 basva has quit (Ping timeout: 240 seconds)
1043 2014-03-04 12:05:00 aegis has quit (Ping timeout: 240 seconds)
1044 2014-03-04 12:05:10 Eggman33 has quit (Ping timeout: 252 seconds)
1045 2014-03-04 12:05:20 jtimon has quit (Ping timeout: 265 seconds)
1046 2014-03-04 12:05:20 <CodeShark> in general, the function we'd be dealing with would not be symmetric - so the problem then becomes splitting it into nested symmetric functions
1047 2014-03-04 12:05:52 paveljanik has joined
1048 2014-03-04 12:06:48 TheGreatAl has joined
1049 2014-03-04 12:06:50 Eggman33 has joined
1050 2014-03-04 12:07:20 TheGreatAl has quit (Client Quit)
1051 2014-03-04 12:07:22 graingert_ has joined
1052 2014-03-04 12:07:46 <CodeShark> hmm, in our particular application, satisfaction really just means that at least one of the terms is 1, so + corresponds to inclusive or rather than exclusive or
1053 2014-03-04 12:09:11 ircuser-6 has quit (Ping timeout: 240 seconds)
1054 2014-03-04 12:09:18 rdymac has quit (Read error: Connection reset by peer)
1055 2014-03-04 12:09:24 <CodeShark> I'm sure this problem's been studied to death :p
1056 2014-03-04 12:10:35 <CodeShark> inclusive or is equivalent to 1-of-n
1057 2014-03-04 12:11:28 <CodeShark> so we can first factor the polynomial if we can, then treat each factor as a 1-of-n over a set of products
1058 2014-03-04 12:12:25 TheGreatAl has joined
1059 2014-03-04 12:13:09 SwampTony has quit (Remote host closed the connection)
1060 2014-03-04 12:13:43 SwampTony has joined
1061 2014-03-04 12:14:43 xabbix has quit (Ping timeout: 240 seconds)
1062 2014-03-04 12:15:22 Xeno-Genesis has joined
1063 2014-03-04 12:16:03 Jasmin68k has joined
1064 2014-03-04 12:16:27 digby has joined
1065 2014-03-04 12:16:58 <CodeShark> a single term is n-of-n
1066 2014-03-04 12:17:24 Emcy has quit (Read error: Connection reset by peer)
1067 2014-03-04 12:17:35 <Xeno-Genesis> Does anyone know of some web service API providing “sendrawtransaction” facilities through an HTTP request, similar to http://blockchain.info/pushtx, but that actually works for P2SH?
1068 2014-03-04 12:17:39 phoenix52 has quit (Quit: Leaving.)
1069 2014-03-04 12:18:22 <CodeShark> so for instance, x1 x2 + x1 x3 factors into x1 (x2 + x3) which leads us to 2of(x1, 1of(x2, x3))
1070 2014-03-04 12:18:23 SwampTony has quit (Ping timeout: 265 seconds)
1071 2014-03-04 12:18:25 Emcy has joined
1072 2014-03-04 12:18:48 phoenix52 has joined
1073 2014-03-04 12:20:08 <CodeShark> now what happens when you can't factor? say x1 x2 + x1 x3 + x3 x4
1074 2014-03-04 12:21:46 Eggman33 has quit (Ping timeout: 265 seconds)
1075 2014-03-04 12:22:03 TD has joined
1076 2014-03-04 12:23:19 Eggman33 has joined
1077 2014-03-04 12:23:27 <airbreather> x1 x2 + x1 x3 + x3 x4, you'd have to pick, right?  either x1(x2 + x3) + (x3 x4) or (x1 x2) + x3(x1 + x4)... couldn't you just always factor out the lowest term?
1078 2014-03-04 12:23:28 porquilho has joined
1079 2014-03-04 12:23:58 <CodeShark> let's count the number of m-of-n operations we must perform in each case
1080 2014-03-04 12:24:39 <airbreather> at least, when the number of m-of-n operations is tied for the lowest
1081 2014-03-04 12:24:50 <TD> sipa: it seems that we need to fix the mining code to compare < nMinRelayFee otherwise the fee drop is useless. concur?
1082 2014-03-04 12:25:36 johnsoft has quit (Ping timeout: 244 seconds)
1083 2014-03-04 12:25:40 <CodeShark> the two forms you gave are equivalent up to a permutation in the x's, airbreather :)
1084 2014-03-04 12:25:53 shaileshg has quit (Quit: Connection closed for inactivity)
1085 2014-03-04 12:26:19 benrcole has joined
1086 2014-03-04 12:26:20 johnsoft has joined
1087 2014-03-04 12:26:39 <airbreather> so, the policy would accept or reject them both the same?
1088 2014-03-04 12:26:50 <CodeShark> so we can have a canonical sorting of the variables and a well-defined rule in the order of operations
1089 2014-03-04 12:27:29 <CodeShark> for instance, we can put terms containing fewer factors on the left
1090 2014-03-04 12:27:53 orweinberger has quit (Read error: Operation timed out)
1091 2014-03-04 12:28:11 ValicekB has quit (Ping timeout: 244 seconds)
1092 2014-03-04 12:28:46 <CodeShark> in expanded form, we have 1of(2of(x1, x2), 2of(x1, x3), 2of(x3, x4))
1093 2014-03-04 12:30:31 <CodeShark> not sure what exactly we're optimizing for
1094 2014-03-04 12:30:46 Coincidental has joined
1095 2014-03-04 12:31:29 <CodeShark> the three forms we just gave require exactly four m-of-n operations, but the expanded form doesn't nest more than two levels deep
1096 2014-03-04 12:31:34 <airbreather> hmm... I see, rote factorization like what I did doesn't reduce below 4 yeah
1097 2014-03-04 12:31:54 TheGreatAl has quit (Quit: TheGreatAl)
1098 2014-03-04 12:32:10 <CodeShark> so perhaps we really can't do any better than that
1099 2014-03-04 12:32:17 TheGreatAl has joined
1100 2014-03-04 12:32:58 benrcole has quit (Quit: Leaving.)
1101 2014-03-04 12:33:10 <CodeShark> on the other hand, what you did reduces the number of variables in any given layer to at most two
1102 2014-03-04 12:33:37 <CodeShark> whereas the expanded form requires three at a single level
1103 2014-03-04 12:34:05 ValicekB has joined
1104 2014-03-04 12:34:17 <sipa> TD: i think the fee drop is useless in any case
1105 2014-03-04 12:34:28 <CodeShark> which is more efficient for our purposes seems to depend entirely on the computational model we apply
1106 2014-03-04 12:34:36 <CodeShark> the virtual machine
1107 2014-03-04 12:34:37 TheGreatAl has quit (Client Quit)
1108 2014-03-04 12:34:43 <sipa> TD: it will just result in more transactions not confirming
1109 2014-03-04 12:34:53 TheGreatAl has joined
1110 2014-03-04 12:34:59 llllllllll has joined
1111 2014-03-04 12:35:07 Coincidental has quit (Ping timeout: 240 seconds)
1112 2014-03-04 12:35:23 <CodeShark> a stack machine would probably do better with fewer operands and more nesting
1113 2014-03-04 12:35:37 <CodeShark> whereas a register machine might be the exact opposite
1114 2014-03-04 12:36:19 Eggman33 has quit (Ping timeout: 240 seconds)
1115 2014-03-04 12:36:35 <Persopolis> are you talking about using logic simplification like karnaugh maps?  not following where you are heading :)
1116 2014-03-04 12:37:21 <CodeShark> in a way, yes
1117 2014-03-04 12:37:42 HeySteve has quit (Read error: Connection reset by peer)
1118 2014-03-04 12:37:48 <Persopolis> i mean what is your goal?
1119 2014-03-04 12:37:54 HeySteve has joined
1120 2014-03-04 12:38:23 <CodeShark> to construct the most efficient bitcoin script in terms of required computational resources to evaluate a nested m-of-n expression
1121 2014-03-04 12:38:26 derbumi has joined
1122 2014-03-04 12:38:31 <michagogo> cloud!uid14316@wikia/Michagogo|Xeno-Genesis: there are a few places I know where you can push a raw tx
1123 2014-03-04 12:39:08 <michagogo> cloud!uid14316@wikia/Michagogo|In addition to bc.i, they exist at (among others) webbtc, coinbin, and eligius
1124 2014-03-04 12:39:14 <CodeShark> or to construct the shortest possible script
1125 2014-03-04 12:39:18 <CodeShark> might be a better goal
1126 2014-03-04 12:39:39 <CodeShark> the smallest possible script in terms of number of bytes in the script
1127 2014-03-04 12:39:46 <Persopolis> Xeno-Genesis - is running your own bitcoind instance not an option with RPC?
1128 2014-03-04 12:40:19 Neozonz has joined
1129 2014-03-04 12:40:40 phoenix52 has quit (Quit: Leaving.)
1130 2014-03-04 12:40:48 <Xeno-Genesis> Thank you michagogo|cloud
1131 2014-03-04 12:41:08 orw has joined
1132 2014-03-04 12:41:33 <Xeno-Genesis> Persopolis, I have some clients that are demoing my technology, and I rather have them install only our command-line software, without dependencies.
1133 2014-03-04 12:42:06 Eggman33 has joined
1134 2014-03-04 12:42:17 <Xeno-Genesis> Persopolis, I can assume they’ll have curl on their systems, but not an up-to-date bitcoind, electrum, or similar.
1135 2014-03-04 12:42:29 <CodeShark> run the bitcoind on your own servers, then :)
1136 2014-03-04 12:43:10 <Persopolis> Xeno-Genesis - just watch out for running foul of web based api calls not being construed as DoS - many of the providers will see repeated rapid api calls as a DoS
1137 2014-03-04 12:43:24 <michagogo> cloud!uid14316@wikia/Michagogo|Xeno-Genesis: also, you could theoretically find a bunch of peers, connect to them, send the tx, and disconnect
1138 2014-03-04 12:43:30 Neozonz has quit (Disc!~Neozonz@unaffiliated/neozonz|Ping timeout: 264 seconds)
1139 2014-03-04 12:43:41 <CodeShark> actually, you only need to connect to one :)
1140 2014-03-04 12:44:14 <Xeno-Genesis> michagogo|cloud, That will be availalbe soon with the SPV library. I wish to use something patchy for now until SPV support is done.
1141 2014-03-04 12:44:40 <michagogo> cloud!uid14316@wikia/Michagogo|CodeShark: true, but that one may not relay
1142 2014-03-04 12:44:40 <Xeno-Genesis> Persopolis, The demo is run manually, I will never send more than a couple of transactions per minute.
1143 2014-03-04 12:44:45 <michagogo> cloud!uid14316@wikia/Michagogo|michagogo|cloud: SPV library?
1144 2014-03-04 12:44:46 orweinberger has joined
1145 2014-03-04 12:44:57 <Xeno-Genesis> michagogo|cloud, Yes, that speaks Bitcoin P2P protocol.
1146 2014-03-04 12:45:01 <michagogo> cloud!uid14316@wikia/Michagogo|Xeno-Genesis:*
1147 2014-03-04 12:45:13 <michagogo> cloud!uid14316@wikia/Michagogo|Xeno-Genesis: you don't need a full implementation
1148 2014-03-04 12:45:24 <michagogo> cloud!uid14316@wikia/Michagogo|Just a socket and a few messages
1149 2014-03-04 12:45:32 <CodeShark> just a handshake and a tx message, really
1150 2014-03-04 12:45:34 <Xeno-Genesis> michagogo|cloud, No, just connect to a peer, deliver the TX, disconnect. I get it.
1151 2014-03-04 12:45:34 <Persopolis> ver / verack
1152 2014-03-04 12:45:50 <CodeShark> send version, receive verack, send tx, disconnect
1153 2014-03-04 12:46:04 <michagogo> cloud!uid14316@wikia/Michagogo|Xeno-Genesis: right - you can easily put the ~4-5 messages you need in your code
1154 2014-03-04 12:46:21 <CodeShark> then connect to another node and grab the mempool and see if your transaction is there :)
1155 2014-03-04 12:46:37 <Xeno-Genesis> WebBTC is cool.
1156 2014-03-04 12:46:43 <Xeno-Genesis> I’ll try it.
1157 2014-03-04 12:48:09 djcoin_ has quit (Quit: djcoin_)
1158 2014-03-04 12:49:01 <michagogo> cloud!uid14316@wikia/Michagogo|CodeShark: or connect to a handful, send to one or two
1159 2014-03-04 12:49:16 <michagogo> cloud!uid14316@wikia/Michagogo|See if the others inv it
1160 2014-03-04 12:49:18 <CodeShark> yeah, that's the right way to do it
1161 2014-03-04 12:49:19 twanschik has joined
1162 2014-03-04 12:49:44 <CodeShark> but managing more than one connection at a time requires either multithreading or async i/o :_)
1163 2014-03-04 12:50:21 <CodeShark> and if he's looking for a service that essentially does what sendrawtransaction does, I'm guessing he's not looking to do that
1164 2014-03-04 12:50:28 <michagogo> cloud!uid14316@wikia/Michagogo|Yeah
1165 2014-03-04 12:50:38 <michagogo> cloud!uid14316@wikia/Michagogo|True.
1166 2014-03-04 12:51:32 CheckDavid has joined
1167 2014-03-04 12:52:09 ThomasV has joined
1168 2014-03-04 12:52:46 aegis has joined
1169 2014-03-04 12:53:33 yubrew has joined
1170 2014-03-04 12:54:57 ircuser-6 has joined
1171 2014-03-04 12:55:11 twanschik has quit (Quit: Page closed)
1172 2014-03-04 12:57:06 fanquake has quit (Quit: fanquake)
1173 2014-03-04 12:57:43 <Persopolis> btw how does the code distinguish nodes from one another - i assume it's not purely network address
1174 2014-03-04 12:58:01 yubrew has quit (Ping timeout: 265 seconds)
1175 2014-03-04 12:58:11 ntio1 has joined
1176 2014-03-04 12:58:39 HeySteve has quit (Read error: Connection reset by peer)
1177 2014-03-04 12:58:51 HeySteve has joined
1178 2014-03-04 12:58:51 HeySteve has quit (Changing host)
1179 2014-03-04 12:58:51 HeySteve has joined
1180 2014-03-04 12:59:33 GMP has joined
1181 2014-03-04 13:00:40 ntio has quit (Ping timeout: 240 seconds)
1182 2014-03-04 13:01:21 HeySteve has quit (Read error: Connection reset by peer)
1183 2014-03-04 13:01:32 HeySteve has joined
1184 2014-03-04 13:01:53 Eggman33 has quit (Ping timeout: 265 seconds)
1185 2014-03-04 13:02:05 <michagogo> cloud!uid14316@wikia/Michagogo|Persopolis: what exactly do you mean?
1186 2014-03-04 13:03:41 <Persopolis> so if I have multiple bitcoid clients running on private network and connecting to other nodes through NAT... what do the multiple nodes look like to the external nodes - does it see them as one node? or is there some way it distinguishes them from a single node trying to connect to it multiple times
1187 2014-03-04 13:04:07 <jgarzik> Persopolis, the internal nodes become invisible
1188 2014-03-04 13:04:11 Zarutian has joined
1189 2014-03-04 13:04:19 HeySteve has quit (Read error: Connection reset by peer)
1190 2014-03-04 13:04:31 <jgarzik> Persopolis, Network only knows nodes and what they relay.
1191 2014-03-04 13:04:48 <jgarzik> oh, sorry, I thought you were building a DMZ
1192 2014-03-04 13:05:11 <jgarzik> Persopolis, if it's just multiple nodes behind a NAT, with -no- DMZ, it looks like multiple nodes on the same IP address
1193 2014-03-04 13:05:50 <Persopolis> indeed - does this create a problem?
1194 2014-03-04 13:07:32 asoltys has joined
1195 2014-03-04 13:07:34 Eggman33 has joined
1196 2014-03-04 13:07:39 rdymac has joined
1197 2014-03-04 13:07:44 peper has joined
1198 2014-03-04 13:07:58 venzen has quit (Ping timeout: 244 seconds)
1199 2014-03-04 13:08:33 Ursium has joined
1200 2014-03-04 13:08:42 Neozonz has quit (Ping timeout: 264 seconds)
1201 2014-03-04 13:08:50 HeySteve has joined
1202 2014-03-04 13:08:50 HeySteve has quit (Changing host)
1203 2014-03-04 13:08:51 HeySteve has joined
1204 2014-03-04 13:11:31 ielo has joined
1205 2014-03-04 13:11:31 <jgarzik> Persopolis, for the network?  no.  for you?  maybe.
1206 2014-03-04 13:13:15 <Persopolis> ah ConnectNode refuses connection from same address by the looks of it - so your internal nodes will probably end up connecting to differing external nodes
1207 2014-03-04 13:13:56 <Persopolis> maybe not - I think i misread that...
1208 2014-03-04 13:14:06 orperelman has quit (Ping timeout: 264 seconds)
1209 2014-03-04 13:15:04 AriseChikun has joined
1210 2014-03-04 13:15:12 HeySteve has quit (Ping timeout: 244 seconds)
1211 2014-03-04 13:15:26 <Persopolis> bummer - that's not so good
1212 2014-03-04 13:15:32 lmatteis has joined
1213 2014-03-04 13:18:04 Gyps has joined
1214 2014-03-04 13:18:43 CheckDavid has quit (Changing host)
1215 2014-03-04 13:18:43 CheckDavid has joined
1216 2014-03-04 13:18:45 lmatteis has quit (Changing host)
1217 2014-03-04 13:18:45 lmatteis has joined
1218 2014-03-04 13:19:58 Subo1977_ has joined
1219 2014-03-04 13:20:20 Subo1977 has quit (Ping timeout: 240 seconds)
1220 2014-03-04 13:20:51 Eggman33 has quit (Ping timeout: 245 seconds)
1221 2014-03-04 13:22:39 <Persopolis> ideally the nodes should be added based on some sort of unique id generated by the node - that way they can be distinguished from one another
1222 2014-03-04 13:22:56 <sipa> why?
1223 2014-03-04 13:24:07 Xeno-Genesis has quit (Ping timeout: 265 seconds)
1224 2014-03-04 13:24:20 <Persopolis> if a service provider doesn't want to expose those servers through a DMZ, they end up with a single point of failiure
1225 2014-03-04 13:25:29 Eggman33 has joined
1226 2014-03-04 13:25:59 zelgadan has joined
1227 2014-03-04 13:26:34 Xeno-Genesis has joined
1228 2014-03-04 13:26:36 <jgarzik> Persopolis, it is a single point failure for the network at large, to have a bunch of nodes on the same network
1229 2014-03-04 13:26:37 ntio1 has quit (Quit: WeeChat 0.4.3)
1230 2014-03-04 13:26:53 shesek has joined
1231 2014-03-04 13:27:19 <sipa> the reason for avoiding the same subnet is to make sybil attacks harder
1232 2014-03-04 13:27:31 <sipa> as it means the attacker has to control many networks
1233 2014-03-04 13:27:51 pablog has joined
1234 2014-03-04 13:28:01 viajero has joined
1235 2014-03-04 13:28:19 <Persopolis> jgarzik - come on - not really a problem for the network...  but it is a problem for a service provider if they can only run a single instance of bitcoind
1236 2014-03-04 13:28:33 zer0def has quit (Quit: Quit:)
1237 2014-03-04 13:29:27 <jgarzik> Persopolis, yes, it is a problem for the network if measures are not taken, think about it
1238 2014-03-04 13:29:40 abishek has quit (Ping timeout: 244 seconds)
1239 2014-03-04 13:29:56 <Persopolis> jgarzik out of the entire network, how many node do you think would be run out of the same subnet
1240 2014-03-04 13:30:29 <Persopolis> not a large percentage... so this is not a network resilience issue - this is a system resilience issue for the provider
1241 2014-03-04 13:30:32 <jgarzik> Persopolis, mostly irrelevant to the security discussion of many nodes clustered on a single network
1242 2014-03-04 13:30:34 realazthat has joined
1243 2014-03-04 13:30:43 <jgarzik> Persopolis, locally, you can run as many as you want
1244 2014-03-04 13:30:43 Eggman33 has quit (Ping timeout: 240 seconds)
1245 2014-03-04 13:30:50 TheGreatAl has quit (Quit: TheGreatAl)
1246 2014-03-04 13:31:43 <Persopolis> jgarzik the point is to try and avoid service providers having a single point failure
1247 2014-03-04 13:32:13 <Persopolis> but i think there is a way to satisfy both
1248 2014-03-04 13:33:14 <Persopolis> you can currently specifiy connect=<ip>,  adding a flag to say if <ip> not aviable then switch to any
1249 2014-03-04 13:34:03 <Persopolis> that way a provider can have primary server with no connect switch, a secondary server with connect=primary server + switch to connect to any if primary not avail
1250 2014-03-04 13:34:28 zer0def has joined
1251 2014-03-04 13:34:58 Eggman33 has joined
1252 2014-03-04 13:35:08 <Persopolis> how does that sound?
1253 2014-03-04 13:37:39 <jgarzik> Persopolis, like I said, locally, you may run however many you want.  The point I was trying to make is that the network will try to avoid clusters of nodes, for very important reasons.
1254 2014-03-04 13:38:03 <jgarzik> Persopolis, a big provider running multiple nodes is just fine
1255 2014-03-04 13:39:02 <Persopolis> jgarzik - but currently they are limited to having one interface with outside network - i'm just proposing a simple way to work around that
1256 2014-03-04 13:39:17 <sipa> heh?
1257 2014-03-04 13:39:32 HaltingState has joined
1258 2014-03-04 13:39:32 HaltingState has quit (Changing host)
1259 2014-03-04 13:39:32 HaltingState has joined
1260 2014-03-04 13:40:00 <jgarzik> sipa, NAT -> single IP address, I presume he means
1261 2014-03-04 13:40:38 <sipa> so?
1262 2014-03-04 13:42:25 <Persopolis> thats where my question started sipa - i asked if that was a problem - jgarzik saod it might be a problem if the external nodes see my internal nodes as a single node
1263 2014-03-04 13:42:32 TheGreatAl has joined
1264 2014-03-04 13:42:43 <Persopolis> which looking through the code looks like they would
1265 2014-03-04 13:43:55 <sipa> why do you want incoming connections?
1266 2014-03-04 13:44:22 <Persopolis> i didn't say that
1267 2014-03-04 13:44:28 <sipa> then it doesn't matter
1268 2014-03-04 13:44:34 <sipa> you can make outgoing connections all you want
1269 2014-03-04 13:45:18 ValicekB has quit (Ping timeout: 264 seconds)
1270 2014-03-04 13:45:35 <Persopolis> let me just elaborate afresh..  Service provider has 2 nodes behind NAT - Nodes A and B - they connect to an external node X - X sees A and B as just one node because they have the same IP
1271 2014-03-04 13:46:27 <sipa> no it does not
1272 2014-03-04 13:46:36 <Persopolis> lol
1273 2014-03-04 13:46:36 <sipa> they're two independent connections
1274 2014-03-04 13:46:48 <epscy> they would have to be on different ports to get incoming connections right?
1275 2014-03-04 13:47:16 <epscy> actually they should be on different ports anyway if the NAT does upnp
1276 2014-03-04 13:47:19 <epscy> i think
1277 2014-03-04 13:47:24 Alina-malina has quit (Quit: Leaving to RealWorld)
1278 2014-03-04 13:47:24 <sipa> yes, but it's about outgoing connections, so that doesn't matter
1279 2014-03-04 13:47:45 yubrew has joined
1280 2014-03-04 13:47:56 <Persopolis> when I look at the code, I can only see network address of being used to distinguish nodes
1281 2014-03-04 13:48:11 <sipa> where precisely?
1282 2014-03-04 13:48:57 <Persopolis> can't recall precisely now - but was looking at things like ConnectNode and FindNode
1283 2014-03-04 13:49:23 <sipa> ah, hmm
1284 2014-03-04 13:49:40 <sipa> but you'd probably be using -addnode if you want to connect to a specific external node anyway
1285 2014-03-04 13:49:48 <sipa> wait
1286 2014-03-04 13:49:50 <sipa> nevermind
1287 2014-03-04 13:49:54 <Persopolis> =D
1288 2014-03-04 13:50:02 albertojimenez has joined
1289 2014-03-04 13:50:31 Alina-malina has joined
1290 2014-03-04 13:51:36 <sipa> Persopolis: for outgoing connections, you're right
1291 2014-03-04 13:51:52 <sipa> Persopolis: but i doubt that X will care about the address of the connections of A and B
1292 2014-03-04 13:51:58 <sipa> if it does, that's probably a bug
1293 2014-03-04 13:52:19 yubrew has quit (Ping timeout: 240 seconds)
1294 2014-03-04 13:52:47 <Persopolis> I suspect it will reuse FindNode function :S
1295 2014-03-04 13:53:15 <Persopolis> e.g. to store node stats
1296 2014-03-04 13:53:18 <Persopolis> version etc
1297 2014-03-04 13:53:36 <sipa> why?
1298 2014-03-04 13:53:51 <sipa> can you please look at the code or test this first?
1299 2014-03-04 13:53:58 ValicekB has joined
1300 2014-03-04 13:55:00 agricocb has quit (Ping timeout: 240 seconds)
1301 2014-03-04 13:56:13 <Persopolis> sipa - yes of course - but please remeber I'm asking in here to get guidance - i've only been messing with the code for a few days - it takes me 10 times longer to even locate the right area to look at
1302 2014-03-04 13:57:52 <Persopolis> and I've looked once and repeated my understanding here to confirm if it was right...
1303 2014-03-04 14:00:29 ItSANgo has quit (Quit: Leaving...)
1304 2014-03-04 14:00:42 olalonde has quit (Quit: olalonde)
1305 2014-03-04 14:01:07 basva has joined
1306 2014-03-04 14:01:49 albertojimenez has quit (Read error: Connection reset by peer)
1307 2014-03-04 14:02:14 StSeek has joined
1308 2014-03-04 14:03:52 AriseChikun has quit (Remote host closed the connection)
1309 2014-03-04 14:05:04 AriseChikun has joined
1310 2014-03-04 14:05:20 basva has quit (Ping timeout: 240 seconds)
1311 2014-03-04 14:05:43 TheBison has quit (Quit: TheBison)
1312 2014-03-04 14:08:05 ItSANgo has joined
1313 2014-03-04 14:09:20 c0rw1n has joined
1314 2014-03-04 14:11:25 <TD> sipa: why blocks are not full
1315 2014-03-04 14:11:38 agricocb has joined
1316 2014-03-04 14:11:49 <TD> sipa: besides, relatively speaking if all transactions drop their fee together, it should make no difference to how many transactions confirm
1317 2014-03-04 14:11:57 hmsimha_ has joined
1318 2014-03-04 14:12:23 <TD> BlueMatt: is gavin around?
1319 2014-03-04 14:13:17 <sipa> TD: if all of them do, sure
1320 2014-03-04 14:13:36 <sipa> unless miners don't want to mine them anymore :)
1321 2014-03-04 14:13:53 <sipa> (which probably won't happen for a while)
1322 2014-03-04 14:14:22 <TD> at any rate, the mining code still needs adjustment
1323 2014-03-04 14:14:37 <jgarzik> TD, relatively speaking, if all transactions drop their fee together, it certainly could make a great deal of difference how many transactions confirm, if miners dislike that fee adjustment
1324 2014-03-04 14:14:48 Gyps has quit (Quit: Gyps)
1325 2014-03-04 14:14:56 <jgarzik> it always makes a difference when you change the economics on a wide scale
1326 2014-03-04 14:16:20 agricocb has quit (Ping timeout: 240 seconds)
1327 2014-03-04 14:16:52 <TD> miners could all simultaneously decide they want more fees and go on strike tomorrow, regardless of any fee drop
1328 2014-03-04 14:16:58 <TD> that's the nature of the system
1329 2014-03-04 14:17:32 <TD> i worry more about users "going on strike"
1330 2014-03-04 14:17:37 skinnkavaj has joined
1331 2014-03-04 14:20:41 MaxSan has quit (Quit: Leaving.)
1332 2014-03-04 14:21:37 seksifemale has quit ()
1333 2014-03-04 14:22:02 <jgarzik> TD, I don't, right now
1334 2014-03-04 14:22:20 <jgarzik> TD, my public nodes have seen ever-increasing client traffic, both volume and node count
1335 2014-03-04 14:22:31 <jgarzik> TD, anecdotal evidence points to same
1336 2014-03-04 14:22:58 MaxSan has joined
1337 2014-03-04 14:23:15 digby has quit (Ping timeout: 252 seconds)
1338 2014-03-04 14:23:19 <TD> doesn't mean much - perhaps growth would be 2x as fast if transactions were cheaper. (i doubt that, but the point holds)
1339 2014-03-04 14:23:44 <TD> anyway, miners are free to adjust upwards if they don't like the pro-growth hints in the source code
1340 2014-03-04 14:24:08 Xeno-Genesis has quit (Read error: Operation timed out)
1341 2014-03-04 14:26:14 pierreatwork has joined
1342 2014-03-04 14:28:19 _biO_ has quit (Remote host closed the connection)
1343 2014-03-04 14:30:57 agricocb has joined
1344 2014-03-04 14:31:50 Coincidental has joined
1345 2014-03-04 14:36:49 Namworld has joined
1346 2014-03-04 14:37:50 Guyver2 has joined
1347 2014-03-04 14:39:37 Xeno-Genesis has joined
1348 2014-03-04 14:39:40 <TD> oh FFS
1349 2014-03-04 14:40:08 Xeno-Genesis has quit (Max SendQ exceeded)
1350 2014-03-04 14:40:14 <TD> so it's not enough that mt gox collapses in a messy heap. now another exchange got hacked because they never heard of database transactions, and a bitbank also got their hot wallet drained and closed up shop
1351 2014-03-04 14:40:31 <TD> i wonder if we need some kind of big flashing warning on the front of bitcoin.org saying DO NOT GIVE YOUR COINS TO THIRD PARTIES
1352 2014-03-04 14:40:40 Xeno-Genesis has joined
1353 2014-03-04 14:41:16 Xeno-Genesis has quit (Max SendQ exceeded)
1354 2014-03-04 14:41:28 TheBison has joined
1355 2014-03-04 14:41:44 Xeno-Genesis has joined
1356 2014-03-04 14:41:59 yubrew has joined
1357 2014-03-04 14:42:00 Coincidental has quit (Ping timeout: 240 seconds)
1358 2014-03-04 14:42:37 <wumpus> more like DO NOT STORE YOUR COINS WITH THIRD PARTiES; only keep your coins on an exchange while trading, they're not banks and don't have any such guarantees...
1359 2014-03-04 14:43:41 _ImI_ has joined
1360 2014-03-04 14:43:46 BTC_Bear is now known as hbrntng!~BTC_Bear@unaffiliated/btc-bear/x-5233302|BTC_Bear
1361 2014-03-04 14:43:52 <sipa> http://canibuildasitehandlingotherpeoplesmoney.com/
1362 2014-03-04 14:44:12 ielo has quit (Read error: Operation timed out)
1363 2014-03-04 14:45:50 venzen has joined
1364 2014-03-04 14:45:52 saivann_ has joined
1365 2014-03-04 14:46:15 Gyps has joined
1366 2014-03-04 14:46:24 drayah has joined
1367 2014-03-04 14:47:31 Guest63600 has quit (Remote host closed the connection)
1368 2014-03-04 14:47:43 drayah has quit (Remote host closed the connection)
1369 2014-03-04 14:48:19 saivann has quit (Ping timeout: 240 seconds)
1370 2014-03-04 14:48:29 <Emcy> TD which bitbank
1371 2014-03-04 14:48:33 <Emcy> and which other exchange
1372 2014-03-04 14:48:43 <jgarzik> Emcy, this vvv
1373 2014-03-04 14:48:45 <jgarzik> <jgarzik> Another hack: http://flexcoin.com/
1374 2014-03-04 14:48:46 <jgarzik> <jgarzik> hot wallet emptied
1375 2014-03-04 14:48:46 <jgarzik> <jgarzik> And another, that I had never heard of: https://twitter.com/Poloniex/status/440734781689446400
1376 2014-03-04 14:49:15 <Emcy> sipa aw shit son is that marquee
1377 2014-03-04 14:49:23 <Emcy> i didnt even know that was still in html
1378 2014-03-04 14:49:23 <jgarzik> TD, I'll say it again... bitcoin is /too easy/ to use :)
1379 2014-03-04 14:49:46 <jgarzik> TD, You can set up a site that stores millions, without knowing much about computer programming, much less financial security
1380 2014-03-04 14:50:04 macboz has quit (Quit: This computer has gone to sleep)
1381 2014-03-04 14:50:07 <TD> yeah
1382 2014-03-04 14:50:10 <Emcy> "All other users will be directed to Flexcoin's "Terms of service" located at "Flexcoin.com/118.html" a document which was agreed on, upon signing up with Flexcoin."
1383 2014-03-04 14:50:11 <jgarzik> TD, that is the least cost avenue in the short term :(
1384 2014-03-04 14:50:13 <Emcy> hahaha thats cold
1385 2014-03-04 14:50:25 <TD> i wish there was a way to fix that
1386 2014-03-04 14:50:41 <TD> unfortunately i'm not sure what it is, beyond just "staying the course" of trying to develop low-trust infrastructure
1387 2014-03-04 14:51:01 <Emcy> do we have a running tally of how expensive the "stop giving your moeny to other peoplet o look after" lesson has been so far
1388 2014-03-04 14:51:09 <jgarzik> make crappier APIs.  require each API call to solve a human-displayed math equation of a level required to work at Google, Inc.
1389 2014-03-04 14:51:12 <jgarzik> ;p
1390 2014-03-04 14:51:23 <Emcy> got to be coming up on hald a billion dollars
1391 2014-03-04 14:51:42 <gmaxwell> someone will just post a patch to disable that. :P The patch will introduce a remote root exploit by accident too.
1392 2014-03-04 14:52:15 <stonecoldpat> theres a long history of exchanges blowing up :/ (someone even did a paper on it) - needs to be more public knowledge about the risks
1393 2014-03-04 14:52:41 _biO_ has joined
1394 2014-03-04 14:52:45 <gmaxwell> there is a nice list on bct, but it's actually incomplete.
1395 2014-03-04 14:52:55 <TD> lol
1396 2014-03-04 14:53:04 <gmaxwell> (of failures that resulted in funds losts)
1397 2014-03-04 14:53:06 <Emcy> i wonder if its fundamentally a convenience issue as the wisdom says, or if theres some other psychological thing going on
1398 2014-03-04 14:53:28 <Emcy> that people just really want some sort of authority entity to take control or somthing
1399 2014-03-04 14:53:33 <TD> "yes"
1400 2014-03-04 14:53:47 <Emcy> and that keeps being any bozo setting up a slick website with total trash for a backend
1401 2014-03-04 14:53:48 <TD> + speculators, for exchanges
1402 2014-03-04 14:53:48 <comboy> I think that user friendly decentralized web of trust could help with these problems
1403 2014-03-04 14:54:00 <gmaxwell> It's much easier to build vulnerable things, much easier to monetize building vulnerable things... perhaps even fundimentally easier to use them, but the jury is still out on that one.
1404 2014-03-04 14:54:02 <stonecoldpat> emcy: i think people are just accustomed to people offering a service and trusting them instantly
1405 2014-03-04 14:54:09 <TD> ironically that blogger who published the leaked mt gox presentation admitted he uses coinbase as his web wallet
1406 2014-03-04 14:54:12 maaku has joined
1407 2014-03-04 14:54:18 <TD> he doesn't actually host his own coins
1408 2014-03-04 14:54:20 <gmaxwell> https://bitcointalk.org/index.php?topic=83794.0 "List of Bitcoin Heists"
1409 2014-03-04 14:54:36 maaku is now known as Guest24413
1410 2014-03-04 14:54:45 <Emcy> gmaxwell good lord is that a potted history of bitcoin or what
1411 2014-03-04 14:55:17 <gmaxwell> it's missing a bunch too
1412 2014-03-04 14:55:17 <TD> the poloniex hack is especially stupid because it resulted from a lack of database transactions, and his proposed fix was "the withdrawal daemon should check for negative balances" wtf?!
1413 2014-03-04 14:55:27 <Emcy> that shit is going to be printed off and entered int he record on some hearing about regulating the shit out of bitcoin
1414 2014-03-04 14:55:53 <wumpus> another person misunderstanding the account system in bitcoind :( can we please get rid of it now
1415 2014-03-04 14:55:54 <TD> arguably if you're pretending to be a bank, you *should* have the shit regulated out of you. not that regulations can magically make software secure or people competent
1416 2014-03-04 14:55:55 <jgarzik> gmaxwell, MPOE-PR (or whatever) had a great, comprehensive list
1417 2014-03-04 14:55:59 <jgarzik> naturally excluding anything MP-related
1418 2014-03-04 14:56:13 <jgarzik> and full of expletives and silly insinuations
1419 2014-03-04 14:56:23 <gmaxwell> TD: other currently operating major services have had database atomoticity issues, but just weren't fatal.
1420 2014-03-04 14:56:47 <jgarzik> wumpus, +1
1421 2014-03-04 14:56:50 <TD> do popular frameworks not make atomic db operations easily accessible or something?
1422 2014-03-04 14:56:53 <Emcy> TD thats arguably true
1423 2014-03-04 14:56:59 <TD> it's been ages since i did any web app programming
1424 2014-03-04 14:57:05 <wumpus> people see the account system in bitcoind and think 'hey, I can store balances for users!'
1425 2014-03-04 14:57:16 <jgarzik> TD, Transactions Are Hard, Let's Let AutoCommit Handle It
1426 2014-03-04 14:57:19 <Goonie> TD: Is it correct that Bitcoin Core 0.9 will start creating outputs in the range of 5460-546 Satoshis in transactions that can go to bitcoinj wallets?
1427 2014-03-04 14:57:27 <TD> it won't create them
1428 2014-03-04 14:57:33 <jgarzik> (roughly paraphrasing many web db frameworks)
1429 2014-03-04 14:57:35 <Goonie> no?
1430 2014-03-04 14:57:53 suhailski1 has joined
1431 2014-03-04 14:57:59 suhailski has quit (Read error: Connection reset by peer)
1432 2014-03-04 14:58:12 <TD> we have to wait for the new version to roll out sufficiently far before it's safe to create such transactions
1433 2014-03-04 14:58:15 <gmaxwell> TD: well examples you copy off the web generally don't encourage it. some services have been doing things using the trendy fast key=value systems without good transactions support, in fact.
1434 2014-03-04 14:58:29 nickler has joined
1435 2014-03-04 14:59:07 <TD> high level dynamic languages + technology designed for building web search engines + fashion == doom
1436 2014-03-04 14:59:34 <TD> i remember google's first attempt to build a social network on top of bigtable
1437 2014-03-04 14:59:41 <TD> no transactions, of course.
1438 2014-03-04 14:59:49 Guest24413 has quit (Ping timeout: 265 seconds)
1439 2014-03-04 14:59:54 <TD> so there were lots of nightly mapreductions that tried to find database inconsistencies and repair them
1440 2014-03-04 14:59:59 <kjj> nuke all references to accounts in the help listings and put big warnings on the wiki pages
1441 2014-03-04 15:00:15 <TD> sometimes you could find things like photo albums where you could click through forward but not backwards
1442 2014-03-04 15:00:36 <TD> in a social network that is merely inadequate. in a financial website ....
1443 2014-03-04 15:00:37 roidster has joined
1444 2014-03-04 15:01:26 <gmaxwell> See, even a place full of super smart people can make these mistakes... and without the crazy incentives of the possible profits from handling other people's money. :)
1445 2014-03-04 15:02:08 TheBison has quit (Quit: TheBison)
1446 2014-03-04 15:02:09 Xeno-Genesis has quit (Ping timeout: 244 seconds)
1447 2014-03-04 15:02:19 <gmaxwell> kjj: But ... accounts are super useful for sticking flags on transactions, without them I'd have a much harder time of making sense of my transaction history. :(  "WTF is that transaction for?!"
1448 2014-03-04 15:02:25 <TD> in fairness to the orkut team, this was the "new" version. the "old" version was a .NET app running on windows with SQL Server, and it melted down as soon as the site was switched on and went viral
1449 2014-03-04 15:02:40 <TD> the "new" version had all kinds of database consistency issues but it could handle a ton of traffic
1450 2014-03-04 15:03:07 <wumpus> gmaxwell: we'd keep the labeling of course
1451 2014-03-04 15:03:15 <wumpus> gmaxwell: just no faux balances and 'move' anymore
1452 2014-03-04 15:03:56 <gmaxwell> ah. +1 then, I think thats fine. would remove a bunch of code— code which I cannot always vouch for.
1453 2014-03-04 15:04:13 <jgarzik> "tags"
1454 2014-03-04 15:04:15 <wumpus> labeling receiving addresses (and even sending addresses) can be useful
1455 2014-03-04 15:04:20 <wumpus> UI uses both...
1456 2014-03-04 15:04:28 <kjj> gmaxwell: I'm not suggesting that we remove them.  I'm suggesting that we don't draw attention to them without warnings
1457 2014-03-04 15:04:34 <jgarzik> apply one or more tags to a keypair
1458 2014-03-04 15:04:54 <kjj> how many months have been wasted here teaching people what accounts can and can't do?
1459 2014-03-04 15:04:55 <wumpus> even 'filter transactions by label' can be useful
1460 2014-03-04 15:05:15 <gmaxwell> kjj: not removing means keeping most of the costs...
1461 2014-03-04 15:05:28 <sipa> yeah, either get rid of them, or fix them
1462 2014-03-04 15:05:31 <wumpus> gmaxwell: yes it would get rid of some questionable code as well
1463 2014-03-04 15:05:31 <sipa> i'd vote for the former
1464 2014-03-04 15:05:47 <kjj> they aren't broken, they just don't do what 99% of the people think they do
1465 2014-03-04 15:05:58 <gmaxwell> they are a little broken.
1466 2014-03-04 15:06:07 <gmaxwell> And a lot surprising.
1467 2014-03-04 15:06:10 <wumpus> kjj:  those 99% of people all want something dfferent from them
1468 2014-03-04 15:06:37 <Persopolis> jgarzik & sipa - only outgoing connections are policed against being on the same /16 subnet, still haven't worked out how incoming connections get into main mesaging loops
1469 2014-03-04 15:06:54 <wumpus> kjj: which is a good indication that it belongs on another level, in the application
1470 2014-03-04 15:06:55 <sipa> Persopolis: thanks for looking it up
1471 2014-03-04 15:07:02 t3st3r has joined
1472 2014-03-04 15:07:08 <sipa> Persopolis: look at where the CNode constructor is called
1473 2014-03-04 15:07:20 <sipa> iirc that's in two places; once for outgoing and once for incoming
1474 2014-03-04 15:07:45 <wumpus> kjj: also the presence of an easy (looking) account system encourages people to store balances for others, which is what we want to avoid ...
1475 2014-03-04 15:08:13 <gmaxwell> well esp if they store balances for others using that.. doom awaits.
1476 2014-03-04 15:08:35 <sipa> especially lack of any reasonable way to keep backups
1477 2014-03-04 15:08:39 phantomspark has joined
1478 2014-03-04 15:08:43 nickler has quit (Ping timeout: 240 seconds)
1479 2014-03-04 15:09:30 Goonie has quit (Read error: Connection reset by peer)
1480 2014-03-04 15:09:34 <kjj> maintaining 3rd party deposits is beyond the scope of the reference client
1481 2014-03-04 15:09:49 <wumpus> yes
1482 2014-03-04 15:09:53 <sipa> kjj: i think that's the best argument so far for removing the accounts code
1483 2014-03-04 15:10:11 <sipa> i'd want a completerawtransaction RPC, which uses the coin selection code to take a partial raw transaction, and adds inputs + change outputs to make it complete transaction
1484 2014-03-04 15:10:23 <kjj> but as gmaxwell points out, they are useful for other things, essentially labels
1485 2014-03-04 15:10:37 <wumpus> kjj: labels will be kept regardless
1486 2014-03-04 15:10:39 <gmaxwell> yea, but most of their code complexity is related to the non-label use
1487 2014-03-04 15:11:02 <kjj> then nuke everything that's not needed for labelling
1488 2014-03-04 15:11:35 <kjj> sipa: I was looking at making raw versions of sendtoaddress and sendmany.  they both need major refactoring
1489 2014-03-04 15:12:25 impulse has quit (Quit: leaving)
1490 2014-03-04 15:13:50 cagedwisdom has quit (Remote host closed the connection)
1491 2014-03-04 15:13:51 rdponticelli has joined
1492 2014-03-04 15:14:02 <kjj> I'm not a big fan of passing a flag down 4 or 5 levels of calls, but that is the easiest way to do it.
1493 2014-03-04 15:14:48 <kjj> I don't spend enough time in the code to have a good idea of what the refactored version would look like
1494 2014-03-04 15:15:04 kurtosis has joined
1495 2014-03-04 15:15:55 <sipa> kjj: https://github.com/bitcoin/bitcoin/issues/3794
1496 2014-03-04 15:16:37 <kjj> I'll drop some comments there
1497 2014-03-04 15:17:07 <t7> wow github does realtime page updates
1498 2014-03-04 15:17:53 StSeek has quit (Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424])
1499 2014-03-04 15:19:59 daybyter has joined
1500 2014-03-04 15:23:06 CheckDavid has quit (Quit: Connection closed for inactivity)
1501 2014-03-04 15:23:40 impulse has joined
1502 2014-03-04 15:25:00 just[dead] has quit (Ping timeout: 240 seconds)
1503 2014-03-04 15:25:29 pablog has quit (Quit: pablog)
1504 2014-03-04 15:25:34 Xeno-Genesis has joined
1505 2014-03-04 15:27:51 <kjj> zoinks.  That was way back in December
1506 2014-03-04 15:29:51 just[dead] has joined
1507 2014-03-04 15:31:22 TheBison has joined
1508 2014-03-04 15:32:49 Eiii has joined
1509 2014-03-04 15:32:49 Eiii has quit (Changing host)
1510 2014-03-04 15:32:49 Eiii has joined
1511 2014-03-04 15:35:50 axvf has joined
1512 2014-03-04 15:35:51 axvf has quit (Max SendQ exceeded)
1513 2014-03-04 15:36:33 axvf has joined
1514 2014-03-04 15:36:47 twanschik_ has joined
1515 2014-03-04 15:37:28 squiggie has joined
1516 2014-03-04 15:37:56 squiggie has left ()
1517 2014-03-04 15:38:21 <michagogo> cloud!uid14316@wikia/Michagogo|Emcy: <marquee> is, yeah. Actually, <blink> isn't, but I worked around that by copying a code snippet from Wikipedia
1518 2014-03-04 15:38:37 <michagogo> cloud!uid14316@wikia/Michagogo|t7: yeah, though not always perfect
1519 2014-03-04 15:38:45 zelgadan has quit (Quit: Page closed)
1520 2014-03-04 15:39:32 <michagogo> cloud!uid14316@wikia/Michagogo|When a PR is updated, for example, sometimes the Files tab won't update and will show the previous diff even though the new commit shows up in the discussion tab
1521 2014-03-04 15:39:58 <michagogo> cloud!uid14316@wikia/Michagogo|(Or maybe that's just when you rewrite history, idk)
1522 2014-03-04 15:40:00 twanschik_ has quit (Client Quit)
1523 2014-03-04 15:40:30 DougieBot5000 has joined
1524 2014-03-04 15:42:50 <jgarzik> sipa, a transaction assistant RPC seems like it could potentially reduce "94 BTC in fees" type errors
1525 2014-03-04 15:43:04 kennvs has joined
1526 2014-03-04 15:43:51 <sipa> jgarzik: i'd like to see things split up in 4 steps: 1) build your outputs (and potentially inputs you certainly want to use) manually  2) find inputs + change to make it a full but unsigned transactions  3) sign that transaction  4) send/commit that transaction to wallet
1527 2014-03-04 15:43:57 Techguy305 has joined
1528 2014-03-04 15:44:06 _ImI_ has quit (Quit: _ImI_)
1529 2014-03-04 15:44:13 <sipa> jgarzik: for 1) the parameters are outputs/amounts and potentially manual prevouts
1530 2014-03-04 15:44:55 <sipa> jgarzik: for 2) the parameters are a set of unspent outputs
1531 2014-03-04 15:44:58 <michagogo> cloud!uid14316@wikia/Michagogo|17:42:11 <jgarzik> sipa, a transaction assistant RPC seems like it could potentially reduce "94 BTC in fees" type errors <-- already prevented in 0.9
1532 2014-03-04 15:46:26 <sipa> sorry, a set of unspent outputs + a keypool for sending change to
1533 2014-03-04 15:46:30 kennv has quit (Ping timeout: 264 seconds)
1534 2014-03-04 15:46:35 ielo has joined
1535 2014-03-04 15:46:38 <sipa> for 3) the parameters are a keystore
1536 2014-03-04 15:49:29 <jgarzik> sipa, "i'd like to see things split up in 4 steps"  +1 on each of those steps
1537 2014-03-04 15:49:36 kennvs has quit (Quit: Leaving)
1538 2014-03-04 15:50:08 Jin has joined
1539 2014-03-04 15:50:23 suhailski1 has quit (Quit: Leaving.)
1540 2014-03-04 15:50:29 <sipa> right now, you can either do 2/3/4 together using sendtoaddress/sendmany, or you can start at 3) using signrawtransaction/sendrawtransaction
1541 2014-03-04 15:50:31 jerseykx has joined
1542 2014-03-04 15:51:51 foamy has quit (Disconnected by services)
1543 2014-03-04 15:51:52 <gmaxwell> sipa: I think anything that has coin selection might want to take a strategy argument. E.g. I'd usually run with a modifier that says "add all/many of the txouts that go to the scriptpubkeys I'm already spending"
1544 2014-03-04 15:51:57 samesong has joined
1545 2014-03-04 15:52:13 <jgarzik> strategies
1546 2014-03-04 15:52:26 Gyps has quit (Quit: Gyps)
1547 2014-03-04 15:52:50 <jgarzik> {"conf-6", "conf-1", "dust removal"}
1548 2014-03-04 15:53:03 <sipa> we need a CoinSelectionStrategyFactoryAdaptorSingleton
1549 2014-03-04 15:53:48 <jgarzik> []
1550 2014-03-04 15:53:51 CryxtOp has joined
1551 2014-03-04 15:54:05 suhailski has joined
1552 2014-03-04 15:54:23 <jgarzik> in kernel land we call that StudlyCaps
1553 2014-03-04 15:56:02 drayah has joined
1554 2014-03-04 15:57:25 <Persopolis> sipa - so far as I can tell, for incomming connections it does not care one bit about the source address - nodeId seems to be what is referenced and that is created per new socket connection regardless of source address
1555 2014-03-04 15:57:26 ThomasV has quit (Ping timeout: 244 seconds)
1556 2014-03-04 15:57:40 <sipa> Persopolis: that's what i expected yes
1557 2014-03-04 15:57:41 kennv has joined
1558 2014-03-04 15:57:54 <gmaxwell> oh oh I know, it could take an argument with a bytecode that implements the strategy! :P
1559 2014-03-04 15:58:22 <sipa> we need a protobuf for defining the strategy
1560 2014-03-04 15:58:34 <sipa> so it can be passed as a payment protocol extension
1561 2014-03-04 15:58:56 <gmaxwell> maybe I'm wrong about it being an argument and coin selection stragey should just be a global setting, not sure.
1562 2014-03-04 15:59:00 _ImI_ has joined
1563 2014-03-04 15:59:44 <gmaxwell> Most of the time I want to do maximal dust cleaning subject to the constraint that it not gratitiously hurt privacy. But my usage may be odd, I get a lot of small payments from p2pool mining.
1564 2014-03-04 16:00:44 gary77 has quit (Quit: WeeChat 0.4.3)
1565 2014-03-04 16:01:12 pierreatwork has quit (Ping timeout: 265 seconds)
1566 2014-03-04 16:01:46 Jin has quit (Ping timeout: 245 seconds)
1567 2014-03-04 16:01:49 basva has joined
1568 2014-03-04 16:02:48 Gyps has joined
1569 2014-03-04 16:03:52 gary77 has joined
1570 2014-03-04 16:04:13 t7 has quit (Quit: home)
1571 2014-03-04 16:04:46 CryxtOp has quit (Quit: Leaving...)
1572 2014-03-04 16:05:55 basva has quit (Ping timeout: 240 seconds)
1573 2014-03-04 16:06:04 s7r has joined
1574 2014-03-04 16:08:30 CryxtOp has joined
1575 2014-03-04 16:09:41 Xeno-Genesis has quit (Read error: Operation timed out)
1576 2014-03-04 16:11:16 TheGreatAl has quit (Quit: TheGreatAl)
1577 2014-03-04 16:12:59 gunnis has quit (Remote host closed the connection)
1578 2014-03-04 16:13:00 CryxtOp has quit (Ping timeout: 240 seconds)
1579 2014-03-04 16:13:09 jogos has quit (Read error: Connection reset by peer)
1580 2014-03-04 16:13:22 c0rw1n has quit (Remote host closed the connection)
1581 2014-03-04 16:14:12 <HaltingState> sipa, people want that thing for exchanging symmetric keys with ECC, with the secret point on curve; can you add that to libray
1582 2014-03-04 16:14:13 Inkata has joined
1583 2014-03-04 16:15:55 suhailski has quit (Quit: Leaving.)
1584 2014-03-04 16:16:06 samson_ has quit (Remote host closed the connection)
1585 2014-03-04 16:16:08 <sipa> you can already do ECDH with my library
1586 2014-03-04 16:16:16 samson_ has joined
1587 2014-03-04 16:16:55 use_zfs_yo has quit (Quit: Connection closed for inactivity)
1588 2014-03-04 16:17:03 Garnenya has joined
1589 2014-03-04 16:18:47 <Persopolis> sipa can I PM?
1590 2014-03-04 16:18:52 _ImI_ has quit (Quit: _ImI_)
1591 2014-03-04 16:18:58 <sipa> yes
1592 2014-03-04 16:20:13 suhailski has joined
1593 2014-03-04 16:20:56 <HaltingState> sipa, is the function in  secp256k1.h? I greped "ECDH"
1594 2014-03-04 16:20:59 suhailski1 has joined
1595 2014-03-04 16:21:11 <sipa> HaltingState: you need the multiplicative tweak
1596 2014-03-04 16:21:31 <sipa> there's no "ECDH" as such in the library, but the required operations are there
1597 2014-03-04 16:21:32 jtimon has joined
1598 2014-03-04 16:21:35 <sipa> it's trivial
1599 2014-03-04 16:22:04 <sipa> both compute a private key, compute the corresponding public key, send the public keys to eachother, and then tweak the other's public key with their own private key
1600 2014-03-04 16:22:09 <sipa> the result is the shared secret
1601 2014-03-04 16:22:49 lmatteis has quit (Quit: Connection closed for inactivity)
1602 2014-03-04 16:23:49 <kjj> the shared secret is (your private key) * (their public key), which is equal to G * (your privkey) * (their privkey)
1603 2014-03-04 16:24:11 dlb76 has joined
1604 2014-03-04 16:24:49 suhailski has quit (Ping timeout: 244 seconds)
1605 2014-03-04 16:26:13 <HaltingState> sipa, tweak_mult is multiplication in curve and add is addition?
1606 2014-03-04 16:26:16 esse- has left ()
1607 2014-03-04 16:26:25 <sipa> yes
1608 2014-03-04 16:27:16 <dhill> so flexcoin.com is done
1609 2014-03-04 16:27:19 _ImI_ has joined
1610 2014-03-04 16:27:32 <kjj> it was done a while back when it changed ownership
1611 2014-03-04 16:28:26 <kjj> or at least that was the signal that I used to remove my meager deposit
1612 2014-03-04 16:28:26 basva has joined
1613 2014-03-04 16:29:08 <sipa> i had never heard about it
1614 2014-03-04 16:29:26 <michagogo> cloud!uid14316@wikia/Michagogo|same here
1615 2014-03-04 16:29:50 <kjj> they charged a fee to send, which was more than the mining fee, and they shared the difference with their depositors as a dividend
1616 2014-03-04 16:30:41 kurtosis has quit (Ping timeout: 265 seconds)
1617 2014-03-04 16:31:24 suhailski1 has quit (Quit: Leaving.)
1618 2014-03-04 16:32:37 Emcy has quit (Read error: Connection reset by peer)
1619 2014-03-04 16:32:52 ziggamon has joined
1620 2014-03-04 16:33:32 Soligor has joined
1621 2014-03-04 16:34:26 Emcy has joined
1622 2014-03-04 16:35:56 jaychristopher has quit (Ping timeout: 245 seconds)
1623 2014-03-04 16:36:54 tinaivanova has quit (Ping timeout: 264 seconds)
1624 2014-03-04 16:37:06 Grouver has quit (Quit: Leaving)
1625 2014-03-04 16:37:48 gunnis has joined
1626 2014-03-04 16:38:55 ziggamon_ has joined
1627 2014-03-04 16:38:59 p8m has quit (Quit: leaving)
1628 2014-03-04 16:39:13 Coincidental has joined
1629 2014-03-04 16:40:11 ziggamon has quit (Ping timeout: 240 seconds)
1630 2014-03-04 16:43:09 ziggamon has joined
1631 2014-03-04 16:43:31 Coincidental has quit (Ping timeout: 240 seconds)
1632 2014-03-04 16:44:11 ziggamon_ has quit (Ping timeout: 240 seconds)
1633 2014-03-04 16:44:22 skinnkavaj has quit (Read error: Operation timed out)
1634 2014-03-04 16:44:24 pierreatwork has joined
1635 2014-03-04 16:45:14 Starduster has joined
1636 2014-03-04 16:45:32 sbrossie has joined
1637 2014-03-04 16:46:11 p8m has joined
1638 2014-03-04 16:46:19 basva has quit (Quit: Computer has gone to sleep.)
1639 2014-03-04 16:47:24 ziggamon_ has joined
1640 2014-03-04 16:48:55 ziggamon has quit (Ping timeout: 264 seconds)
1641 2014-03-04 16:50:13 maaku has joined
1642 2014-03-04 16:50:36 maaku is now known as Guest82279
1643 2014-03-04 16:50:50 basva has joined
1644 2014-03-04 16:50:58 smash has joined
1645 2014-03-04 16:51:15 _biO_ has quit (Remote host closed the connection)
1646 2014-03-04 16:51:34 smash_ has joined
1647 2014-03-04 16:51:46 mE\Ta_ has joined
1648 2014-03-04 16:52:36 ziggamon has joined
1649 2014-03-04 16:53:10 Lightsword has joined
1650 2014-03-04 16:53:41 ziggamon_ has quit (Ping timeout: 240 seconds)
1651 2014-03-04 16:55:07 smash has quit (Ping timeout: 240 seconds)
1652 2014-03-04 16:55:15 basva has quit (Client Quit)
1653 2014-03-04 16:55:40 W0rmDr1nk has quit (Ping timeout: 240 seconds)
1654 2014-03-04 16:56:05 ThomasV has joined
1655 2014-03-04 16:56:30 kurtosis has joined
1656 2014-03-04 16:56:49 basva has joined
1657 2014-03-04 16:57:12 ziggamon_ has joined
1658 2014-03-04 16:58:06 q3k has joined
1659 2014-03-04 16:58:12 drayah has quit (Remote host closed the connection)
1660 2014-03-04 16:58:14 ziggamon has quit (Ping timeout: 265 seconds)
1661 2014-03-04 16:58:44 drayah has joined
1662 2014-03-04 17:00:21 rdymac has quit (Excess Flood)
1663 2014-03-04 17:00:40 rdymac has joined
1664 2014-03-04 17:00:46 bitbet__ has joined
1665 2014-03-04 17:01:06 brson has joined
1666 2014-03-04 17:01:41 Lightsword has quit (Ping timeout: 240 seconds)
1667 2014-03-04 17:01:50 e4xit has quit (Quit: Right I'm out!)
1668 2014-03-04 17:01:52 basva has quit (Quit: Computer has gone to sleep.)
1669 2014-03-04 17:02:23 drayah_ has joined
1670 2014-03-04 17:02:40 kurtosis has quit (Ping timeout: 240 seconds)
1671 2014-03-04 17:02:59 bitbet__ has quit (Client Quit)
1672 2014-03-04 17:03:05 basva has joined
1673 2014-03-04 17:03:15 skinnkavaj has joined
1674 2014-03-04 17:03:30 <jcorgan> when will people start demanding much higher standards for bitcoin companies they send their BTC, fiat, and identity credentials to?
1675 2014-03-04 17:03:34 ziggamon_ has quit (Ping timeout: 244 seconds)
1676 2014-03-04 17:03:58 <Apocalyptic> I think it's off-topic here
1677 2014-03-04 17:04:22 <jcorgan> sorry, wrong window
1678 2014-03-04 17:04:29 c0rw1n has joined
1679 2014-03-04 17:04:44 e4xit has joined
1680 2014-03-04 17:04:51 ziggamon has joined
1681 2014-03-04 17:05:02 basva has quit (Client Quit)
1682 2014-03-04 17:05:07 drayah has quit (Ping timeout: 244 seconds)
1683 2014-03-04 17:05:35 basva has joined
1684 2014-03-04 17:06:22 qwebirc51581 has left ()
1685 2014-03-04 17:07:17 CheckDavid has joined
1686 2014-03-04 17:07:26 _ImI_ has quit (Quit: _ImI_)
1687 2014-03-04 17:07:26 Sleepnbum has joined
1688 2014-03-04 17:07:49 Sleepnbum is now known as Guest78074
1689 2014-03-04 17:09:08 suhailski has joined
1690 2014-03-04 17:09:35 KillYourTV has joined
1691 2014-03-04 17:10:00 ericmuyser has joined
1692 2014-03-04 17:10:31 ziggamon has quit (Ping timeout: 252 seconds)
1693 2014-03-04 17:10:31 ziggamon_ has joined
1694 2014-03-04 17:12:44 guest____ has quit (Ping timeout: 265 seconds)
1695 2014-03-04 17:14:02 t7 has joined
1696 2014-03-04 17:14:38 guest___1 has joined
1697 2014-03-04 17:14:55 ziggamon_ has quit (Ping timeout: 252 seconds)
1698 2014-03-04 17:16:11 ziggamon has joined
1699 2014-03-04 17:16:11 _ImI_ has joined
1700 2014-03-04 17:16:37 jtimon has quit (Read error: Connection reset by peer)
1701 2014-03-04 17:17:25 jtimon has joined
1702 2014-03-04 17:18:02 <wumpus> jcorgan: maybe if someone publishes the human DNA on github it could be fixed? :p
1703 2014-03-04 17:18:26 <wumpus> or rather, human mind dump
1704 2014-03-04 17:19:11 paveljanik has quit (Ping timeout: 240 seconds)
1705 2014-03-04 17:20:26 ralphtheninja has joined
1706 2014-03-04 17:20:38 <jcorgan> i think nature is its own github, and DNA is being constantly edited and improvements identified through countless encounters.  some 19th century biologist first figured this out :)
1707 2014-03-04 17:20:39 Lightsword has joined
1708 2014-03-04 17:20:42 _ImI_ has quit (Client Quit)
1709 2014-03-04 17:21:46 <wumpus> hah
1710 2014-03-04 17:21:56 <HaltingState> sipa, confirm: if I have pubkey P and want to send them message. I choose random n and then send g^n and encrypt message with AES with key sha256( (g^n)^P))
1711 2014-03-04 17:22:00 CryxtOp has joined
1712 2014-03-04 17:22:10 e4xit has quit (Remote host closed the connection)
1713 2014-03-04 17:22:19 ziggamon has quit (Ping timeout: 240 seconds)
1714 2014-03-04 17:22:26 e4xit has joined
1715 2014-03-04 17:22:41 <sipa>   HaltingState no, sha256(P^n)
1716 2014-03-04 17:22:45 CryxtOp has quit (Read error: Connection reset by peer)
1717 2014-03-04 17:22:50 <sipa> (g^n)^P doesn't exist
1718 2014-03-04 17:22:58 CryxtOp has joined
1719 2014-03-04 17:24:30 Techguy305 has quit (Read error: Operation timed out)
1720 2014-03-04 17:26:10 abossard has quit (Quit: abossard)
1721 2014-03-04 17:27:54 suhailski has quit (Quit: Leaving.)
1722 2014-03-04 17:28:05 gues_ has quit ()
1723 2014-03-04 17:28:18 derbumi has quit (Quit: derbumi)
1724 2014-03-04 17:29:14 basva has quit (Quit: Computer has gone to sleep.)
1725 2014-03-04 17:31:58 tombtc has joined
1726 2014-03-04 17:32:30 AtashiCon has quit (Ping timeout: 244 seconds)
1727 2014-03-04 17:32:31 Arnavion has quit (Ping timeout: 244 seconds)
1728 2014-03-04 17:32:59 eoss has joined
1729 2014-03-04 17:33:57 Emzy has joined
1730 2014-03-04 17:34:20 KillYourTV has quit (Remote host closed the connection)
1731 2014-03-04 17:35:01 gues has joined
1732 2014-03-04 17:36:10 buhbuh has quit (Quit: Page closed)
1733 2014-03-04 17:37:14 suhailski has joined
1734 2014-03-04 17:38:51 basylib has quit (Ping timeout: 265 seconds)
1735 2014-03-04 17:39:01 basva has joined
1736 2014-03-04 17:39:53 basylib has joined
1737 2014-03-04 17:39:54 suhailski has quit (Client Quit)
1738 2014-03-04 17:40:54 smash_ has quit (Remote host closed the connection)
1739 2014-03-04 17:41:29 smash has joined
1740 2014-03-04 17:42:48 Grouver has joined
1741 2014-03-04 17:42:55 antephialtic has joined
1742 2014-03-04 17:44:03 Raziel has joined
1743 2014-03-04 17:45:32 crescent_moon has joined
1744 2014-03-04 17:45:47 Blackreign has joined
1745 2014-03-04 17:45:56 crescent_moon is now known as Guest99918
1746 2014-03-04 17:45:56 smash has quit (Ping timeout: 244 seconds)
1747 2014-03-04 17:46:00 easye` has joined
1748 2014-03-04 17:46:33 BCBot` has joined
1749 2014-03-04 17:47:31 Guest78074 has quit (Ping timeout: 240 seconds)
1750 2014-03-04 17:48:37 kurtosis has joined
1751 2014-03-04 17:50:08 sbrossie has quit (Quit: Leaving.)
1752 2014-03-04 17:50:34 Zarutian has quit (Quit: Zarutian)
1753 2014-03-04 17:52:08 josh_ has joined
1754 2014-03-04 17:52:19 CryxtOp has quit (Read error: Connection reset by peer)
1755 2014-03-04 17:52:34 joepie91_ has joined
1756 2014-03-04 17:52:47 Mikej0h_ has joined
1757 2014-03-04 17:52:48 c0rw1n has quit (Remote host closed the connection)
1758 2014-03-04 17:52:51 midnightmagic_ has joined
1759 2014-03-04 17:53:49 Guest99918 is now known as Luna
1760 2014-03-04 17:56:04 TheLordOfTime has joined
1761 2014-03-04 17:57:31 gjs278 has quit (Ping timeout: 240 seconds)
1762 2014-03-04 17:58:05 gjs278 has joined
1763 2014-03-04 17:58:31 t7 has quit (Ping timeout: 264 seconds)
1764 2014-03-04 17:59:31 bit14 has joined
1765 2014-03-04 18:00:20 topace has quit (Ping timeout: 240 seconds)
1766 2014-03-04 18:01:00 soheil has joined
1767 2014-03-04 18:01:01 jiffe98 has joined
1768 2014-03-04 18:01:03 topace has joined
1769 2014-03-04 18:01:22 hanti is now known as HANTI
1770 2014-03-04 18:04:24 YoY__ has joined
1771 2014-03-04 18:05:51 Gyps has quit (Quit: Gyps)
1772 2014-03-04 18:06:14 <dansmith_btc> Let's say, the same tx was broadcast from two points in the original and in the malled form. My bitcoind picked up the original, yet the malled nded up included n a block. Will my bitcond forever treat the original tx as unconfirmed?
1773 2014-03-04 18:06:46 <sipa> yes
1774 2014-03-04 18:07:20 _yoy_ has quit (Ping timeout: 240 seconds)
1775 2014-03-04 18:10:43 OneMiner1 has quit (Changing host)
1776 2014-03-04 18:10:44 OneMiner1 has joined
1777 2014-03-04 18:11:23 fronti has joined
1778 2014-03-04 18:11:23 Naphex has joined
1779 2014-03-04 18:11:23 eristisk has joined
1780 2014-03-04 18:11:24 basva has quit (Quit: Computer has gone to sleep.)
1781 2014-03-04 18:11:49 bbrian has joined
1782 2014-03-04 18:12:17 <wumpus> 0.9 treats it as 'conflicted'
1783 2014-03-04 18:12:36 qwebirc83877 has joined
1784 2014-03-04 18:13:31 zer0def has quit (Ping timeout: 264 seconds)
1785 2014-03-04 18:14:44 paveljanik has joined
1786 2014-03-04 18:15:20 Emzy has quit (Quit: Computer has gone to sleep.)
1787 2014-03-04 18:16:35 zer0def has joined
1788 2014-03-04 18:17:20 TD has quit (Quit: TD)
1789 2014-03-04 18:17:21 samesong has quit (Remote host closed the connection)
1790 2014-03-04 18:17:41 basva has joined
1791 2014-03-04 18:18:15 samesong has joined
1792 2014-03-04 18:20:00 Gyps has joined
1793 2014-03-04 18:20:29 TheGreatAl has joined
1794 2014-03-04 18:21:27 spinza has quit (Disconnected by services)
1795 2014-03-04 18:21:31 spin123456 has joined
1796 2014-03-04 18:21:49 daybyter has quit (Quit: Konversation terminated!)
1797 2014-03-04 18:22:38 smash has joined
1798 2014-03-04 18:24:10 <dansmith_btc> Is my understanding correct that when I fund a 2-of-3 address, I should refrain from creating a spend-from-multisig tx until I see the confirmed txid? Is it possible to address utxo in any way which avoids knowing the txid?
1799 2014-03-04 18:24:35 Guest82279 has left ()
1800 2014-03-04 18:24:42 _ImI_ has joined
1801 2014-03-04 18:24:42 smash_ has joined
1802 2014-03-04 18:25:06 maaku has joined
1803 2014-03-04 18:25:07 airq has joined
1804 2014-03-04 18:25:13 samesong has quit (Read error: Connection reset by peer)
1805 2014-03-04 18:25:52 Inkata has quit (Remote host closed the connection)
1806 2014-03-04 18:27:07 phantomspark has quit (Ping timeout: 240 seconds)
1807 2014-03-04 18:27:10 MoALTz has quit (Read error: Connection reset by peer)
1808 2014-03-04 18:28:11 smash has quit (Ping timeout: 269 seconds)
1809 2014-03-04 18:30:01 dustcoin has quit ()
1810 2014-03-04 18:30:21 phantomspark has joined
1811 2014-03-04 18:30:23 nickler has joined
1812 2014-03-04 18:31:10 c0rw1n has joined
1813 2014-03-04 18:31:17 abisheksrikaanth has joined
1814 2014-03-04 18:32:07 gfhxc has quit (Ping timeout: 264 seconds)
1815 2014-03-04 18:32:14 Dizzle has joined
1816 2014-03-04 18:33:20 samesong has joined
1817 2014-03-04 18:33:49 hamlet has joined
1818 2014-03-04 18:34:11 Lightsword has quit (Ping timeout: 240 seconds)
1819 2014-03-04 18:36:03 josh_ has quit (Quit: Linkinus - http://linkinus.com)
1820 2014-03-04 18:36:14 hamlet has quit (Client Quit)
1821 2014-03-04 18:37:31 phantomspark has quit (Ping timeout: 264 seconds)
1822 2014-03-04 18:38:20 kurtosis has quit (Ping timeout: 240 seconds)
1823 2014-03-04 18:38:45 gfhxc has joined
1824 2014-03-04 18:39:43 Joker_Da_Man has quit (Quit: ChatZilla 0.9.90.1-rdmsoft [XULRunner 22.0/20130619132145])
1825 2014-03-04 18:39:49 Coincidental has joined
1826 2014-03-04 18:40:14 TheGreatAl has quit (Remote host closed the connection)
1827 2014-03-04 18:41:12 AriseChikun has quit (Remote host closed the connection)
1828 2014-03-04 18:41:12 rdponticelli has quit (Remote host closed the connection)
1829 2014-03-04 18:41:33 AriseChikun has joined
1830 2014-03-04 18:41:43 rdponticelli has joined
1831 2014-03-04 18:42:19 Gyps has quit (Quit: Gyps)
1832 2014-03-04 18:44:04 torsthaldo has joined
1833 2014-03-04 18:44:20 Coincidental has quit (Ping timeout: 244 seconds)
1834 2014-03-04 18:45:01 markus___ has joined
1835 2014-03-04 18:46:06 forrestv has quit (Ping timeout: 260 seconds)
1836 2014-03-04 18:46:31 tipsfedora has quit (Ping timeout: 265 seconds)
1837 2014-03-04 18:46:51 Gyps has joined
1838 2014-03-04 18:47:06 ageis has quit (Ping timeout: 245 seconds)
1839 2014-03-04 18:47:56 pigeons has quit (Ping timeout: 245 seconds)
1840 2014-03-04 18:48:55 phungus has quit (Ping timeout: 264 seconds)
1841 2014-03-04 18:50:14 markus___ has quit (Remote host closed the connection)
1842 2014-03-04 18:50:14 dustcoin has joined
1843 2014-03-04 18:50:28 Coincidental has joined
1844 2014-03-04 18:51:05 Emcy has quit (Read error: Connection reset by peer)
1845 2014-03-04 18:51:30 Emcy has joined
1846 2014-03-04 18:52:36 dustcoin has quit (Client Quit)
1847 2014-03-04 18:58:53 <andytoshi> dansmith_btc: no :( in bitcoin utxos are addressed by txid:output_index
1848 2014-03-04 18:59:07 ralphtheninja has quit (Ping timeout: 240 seconds)
1849 2014-03-04 18:59:19 Guest26864 has quit (Ping timeout: 244 seconds)
1850 2014-03-04 19:00:42 antephialtic has quit (Remote host closed the connection)
1851 2014-03-04 19:01:07 ralphtheninja has joined
1852 2014-03-04 19:05:24 midnightmagic_ is now known as midnightmagic
1853 2014-03-04 19:05:26 eristisk has quit (Ping timeout: 246 seconds)
1854 2014-03-04 19:07:31 Goonie has joined
1855 2014-03-04 19:07:53 Goonie has left ()
1856 2014-03-04 19:09:16 Gyps has quit (Quit: Gyps)
1857 2014-03-04 19:10:08 Persopolis has quit ()
1858 2014-03-04 19:11:50 mps has joined
1859 2014-03-04 19:12:35 derbumi has joined
1860 2014-03-04 19:15:45 basva has quit (Quit: Computer has gone to sleep.)
1861 2014-03-04 19:17:05 EasyAt is now known as Sofa!~EasyAt@unaffiliated/easyat|EasyAt|Stool
1862 2014-03-04 19:17:52 B0g4r7_ has quit (Read error: Connection reset by peer)
1863 2014-03-04 19:18:17 ssshhh has joined
1864 2014-03-04 19:19:18 kurtosis has joined
1865 2014-03-04 19:19:34 drayah_ has quit (Remote host closed the connection)
1866 2014-03-04 19:20:04 drayah has joined
1867 2014-03-04 19:20:30 MoALTz has joined
1868 2014-03-04 19:21:44 non2 has joined
1869 2014-03-04 19:22:19 venzen has quit (Ping timeout: 240 seconds)
1870 2014-03-04 19:23:29 InsiderJoe has joined
1871 2014-03-04 19:24:00 Ashaman has quit (Remote host closed the connection)
1872 2014-03-04 19:24:01 d_rebel has joined
1873 2014-03-04 19:24:18 iftu has joined
1874 2014-03-04 19:24:19 drayah has quit (Ping timeout: 240 seconds)
1875 2014-03-04 19:24:20 e4xit has quit (Ping timeout: 240 seconds)
1876 2014-03-04 19:24:46 tipsfedora has joined
1877 2014-03-04 19:24:55 derbumi has quit (Quit: derbumi)
1878 2014-03-04 19:25:01 ageis_ has joined
1879 2014-03-04 19:25:27 derbumi has joined
1880 2014-03-04 19:26:01 basva has joined
1881 2014-03-04 19:26:07 pigeons has joined
1882 2014-03-04 19:26:30 pigeons is now known as Guest38203
1883 2014-03-04 19:26:33 ageis_ has left ()
1884 2014-03-04 19:26:45 phungus has joined
1885 2014-03-04 19:27:07 paveljanik has quit (Quit: Leaving)
1886 2014-03-04 19:27:07 pjanik has joined
1887 2014-03-04 19:27:11 forrestv has joined
1888 2014-03-04 19:27:22 gfhxc has quit (Ping timeout: 240 seconds)
1889 2014-03-04 19:27:58 rdymac has quit (Excess Flood)
1890 2014-03-04 19:27:58 t3st3r has quit (Remote host closed the connection)
1891 2014-03-04 19:27:58 rdponticelli has quit (Remote host closed the connection)
1892 2014-03-04 19:27:59 AriseChikun has quit (Write error: Connection reset by peer)
1893 2014-03-04 19:27:59 s7r has quit (Write error: Connection reset by peer)
1894 2014-03-04 19:28:24 bvnnbvnvbcnbcvn has joined
1895 2014-03-04 19:29:25 orw has quit (Quit: Leaving)
1896 2014-03-04 19:29:40 rdymac has joined
1897 2014-03-04 19:30:48 rav` has quit (Ping timeout: 252 seconds)
1898 2014-03-04 19:31:25 airq has quit (Remote host closed the connection)
1899 2014-03-04 19:31:44 OperatorSyn has joined
1900 2014-03-04 19:33:20 antephialtic has joined
1901 2014-03-04 19:33:25 Guest38203 is now known as pigeons
1902 2014-03-04 19:34:15 d_rebel has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1903 2014-03-04 19:34:41 InsiderJoe has quit (Ping timeout: 240 seconds)
1904 2014-03-04 19:35:49 owowo has joined
1905 2014-03-04 19:36:09 random_cat has joined
1906 2014-03-04 19:36:36 basva has quit (Quit: Computer has gone to sleep.)
1907 2014-03-04 19:36:48 non2 has quit (Read error: Operation timed out)
1908 2014-03-04 19:37:07 Blackreign has quit ()
1909 2014-03-04 19:39:55 random_cat has quit (Remote host closed the connection)
1910 2014-03-04 19:44:45 JackH has joined
1911 2014-03-04 19:45:39 InsiderJoe has joined
1912 2014-03-04 19:46:28 EasyAt is now known as Stool!~EasyAt@unaffiliated/easyat|EasyAt
1913 2014-03-04 19:47:41 OperatorSyn has quit (Ping timeout: 240 seconds)
1914 2014-03-04 19:50:48 gues has quit (Ping timeout: 265 seconds)
1915 2014-03-04 19:51:05 Techguy305 has joined
1916 2014-03-04 19:51:09 gues has joined
1917 2014-03-04 19:52:40 pjanik is now known as paveljanik
1918 2014-03-04 19:53:38 chichov has joined
1919 2014-03-04 19:53:39 buhbuh has joined
1920 2014-03-04 19:54:02 <chichov> what is precisely OP_CODESEPARATOR and SCRIPT_PART1 - SCRIPT_PART4 in https://en.bitcoin.it/w/images/en/7/70/Bitcoin_OpCheckSig_InDetail.png ?
1921 2014-03-04 19:54:17 mattco_ is now known as mattco
1922 2014-03-04 19:55:12 <sipa> chichov: you can reasonably assume it will never be used
1923 2014-03-04 19:55:13 <chichov> when I see the raw script in a transaction I only see the typical public key script encoding of: OP_DUP OP_HASH160 <pubKeyHash> OP_EQUALVERIFY OP_CHECKSIG
1924 2014-03-04 19:55:16 <sipa> chichov: it's ancient
1925 2014-03-04 19:55:50 <sipa> but if you encounter OP_CODESEPARATORs in scripts when computing a sighash, you must remove them
1926 2014-03-04 19:55:53 <chichov> sipa: alright, so I can simplify these things away without any concerns?
1927 2014-03-04 19:55:53 Coincidental has quit (Remote host closed the connection)
1928 2014-03-04 19:56:15 <sipa> if you want to write verification code, you should take them into account
1929 2014-03-04 19:56:19 coingenuity has quit (Ping timeout: 240 seconds)
1930 2014-03-04 19:56:21 <chichov> oh, that's new to me
1931 2014-03-04 19:56:24 <chichov> what are they used for?
1932 2014-03-04 19:56:30 <sipa> they're not used
1933 2014-03-04 19:56:35 <sipa> and they are completely useles
1934 2014-03-04 19:56:42 <sipa> but someone may still put them in a transaction
1935 2014-03-04 19:56:57 <chichov> something of a NOP?
1936 2014-03-04 19:57:02 <sipa> yes
1937 2014-03-04 19:57:28 <sipa> actually, no
1938 2014-03-04 19:57:34 <sipa> it will not have the intended effect
1939 2014-03-04 19:57:35 <chichov> mhm, another way to make transaction malleable?
1940 2014-03-04 19:57:41 Hunger- has joined
1941 2014-03-04 19:57:42 <sipa> that was the purpose yes, originally
1942 2014-03-04 19:57:57 <sipa> to control which part of a signature was signed
1943 2014-03-04 19:58:19 <chichov> stop right here, this doesn't make sense to me
1944 2014-03-04 19:58:21 ssshhh has quit (Quit: Got to go - Be back soon!)
1945 2014-03-04 19:58:30 <chichov> you cannot sign a signature at the same time
1946 2014-03-04 19:58:38 <sipa> s/signature/script/, sorry
1947 2014-03-04 19:58:41 <chichov> without it existing prior to its creation
1948 2014-03-04 19:58:52 Chief_Panda has joined
1949 2014-03-04 19:58:52 Chief_Panda has quit (Changing host)
1950 2014-03-04 19:58:52 Chief_Panda has joined
1951 2014-03-04 19:59:01 <sipa> the codeseparator would be in the output script, not the signature
1952 2014-03-04 19:59:06 <chichov> aha, so its somewhat of a delimeter
1953 2014-03-04 19:59:09 <sipa> yes
1954 2014-03-04 19:59:15 <sipa> but it can't be used anymore
1955 2014-03-04 19:59:28 coeus has joined
1956 2014-03-04 19:59:32 <sipa> since the OP_RETURN changes which split evaluation of scripts into two parts
1957 2014-03-04 19:59:46 <sipa> and there is no meaningful way to use it anymore
1958 2014-03-04 19:59:59 <sipa> but if you're writing verification code, you should technically be prepared to deal with it
1959 2014-03-04 20:00:04 <sipa> as it's not illegal to use
1960 2014-03-04 20:00:08 <chichov> could you elaborate on the OP_RETURN? I haven't seen it anywhere in a typical script
1961 2014-03-04 20:00:36 Twist0 has joined
1962 2014-03-04 20:00:59 <sipa> back in 2009, scripts were evlauated by running scriptSig + OP_CODESEP + scriptPubKey, and requiring a nonzero result
1963 2014-03-04 20:01:14 Jasmin68k has quit (Quit: Leaving.)
1964 2014-03-04 20:01:20 Twist0 has left ()
1965 2014-03-04 20:01:27 <chichov> from what I see now it's simply scriptSig + scriptPubKey ?
1966 2014-03-04 20:01:29 <sipa> someone realized (thankfully), that you could just put "1 OP_RETURN" in scriptSig, and it would always evaluate to true
1967 2014-03-04 20:01:35 venzen has joined
1968 2014-03-04 20:01:44 <sipa> no, now it's eval(scriptSig), copy the resulting stack, and then eval(scriptPubKey)
1969 2014-03-04 20:02:05 <sipa> so there were 2 changes made to deal with this
1970 2014-03-04 20:02:26 <sipa> first, OP_RETURN was changed from "stop processing here" to "stop processing and instantly mark the evaluation as failed"
1971 2014-03-04 20:02:41 torsthaldo has quit (Quit: Leaving.)
1972 2014-03-04 20:02:52 <sipa> secondly, instead of eval(scriptSig + OP_CODESEP + scriptPubKey), it was turned into 2 separate evaluations
1973 2014-03-04 20:03:11 torsthaldo has joined
1974 2014-03-04 20:03:14 <chichov> very interesting - I haven't seen this noted anywhere
1975 2014-03-04 20:03:23 <chichov> ever since when is this done this way?
1976 2014-03-04 20:03:51 <sipa> somewhere in 2009 or 2010
1977 2014-03-04 20:03:55 OperatorSyn has joined
1978 2014-03-04 20:04:44 <chichov> I still always read that simply (scriptSig + scriptPubKey) is evaluated
1979 2014-03-04 20:04:58 <sipa> that's incorrect, it's more complicated
1980 2014-03-04 20:05:03 <chichov> thank you for pointing this out, else I'd have a huge bug in my documentation
1981 2014-03-04 20:05:04 <sipa> and with p2sh, it's way more complicated
1982 2014-03-04 20:05:58 <chichov> with p2-pubkey and p2-pubhash you do eval(scriptSig), copy stack, eval(scriptPubKey)?
1983 2014-03-04 20:06:02 e4xit has joined
1984 2014-03-04 20:06:12 <sipa> with every script, that's what you do
1985 2014-03-04 20:06:15 xabbix has joined
1986 2014-03-04 20:06:25 <sipa> the script evaluation is independent of what type of template you use
1987 2014-03-04 20:06:41 <chichov> what is special about p2sh?
1988 2014-03-04 20:07:11 InsiderJoe has quit (Ping timeout: 240 seconds)
1989 2014-03-04 20:07:17 <sipa> but with p2sh, there is an additional step, "magic", which cuts of the last element of the stack produced by eval(scriptSig), and re-running evaluation as if that stack element was the scriptPubKey
1990 2014-03-04 20:07:33 medellin has joined
1991 2014-03-04 20:07:48 <sipa> with the remaining stack elements as initial stack
1992 2014-03-04 20:07:52 basva has joined
1993 2014-03-04 20:08:01 phantomspark has joined
1994 2014-03-04 20:08:23 <chichov> that does sound indeed "magical"
1995 2014-03-04 20:08:29 <sipa> read bip16
1996 2014-03-04 20:08:37 <chichov> I'll have to read into that to understand the voodoo behind it
1997 2014-03-04 20:09:12 <sipa> the high-level purpose is simple: move the actual script (normally in scriptPubKey) to the input, and instead only have a hash of that script in scriptPubKey
1998 2014-03-04 20:09:25 viajero has left ()
1999 2014-03-04 20:09:26 <sipa> which means the sender doesn't need to know the full script the receiver wants, only the hash of it
2000 2014-03-04 20:09:36 <sipa> further more, it takes less space in the UTXO set
2001 2014-03-04 20:11:00 <chichov> let me elaborate on this for a second
2002 2014-03-04 20:12:38 <chichov> typically, eg in a p2-pubhash transaction, we copy scriptPubKey in scriptSig of the input field, blank out all the scriptSig's of other inputs, serialize it, append the hashTypeCode and build a signature over that, right?
2003 2014-03-04 20:13:26 <sipa> computing the signature hash is a totally separate question
2004 2014-03-04 20:13:41 <sipa> i was just explaining the execution flow of evaluations :)
2005 2014-03-04 20:13:54 <sipa> but in the general case, that's about what happens for signature hashes yes
2006 2014-03-04 20:14:11 venzen has quit (Ping timeout: 240 seconds)
2007 2014-03-04 20:16:08 <chichov> now from what I read in BIP16, you appear to include the hash of (pubkey OP_CHECKSIG) in scriptPubKey?
2008 2014-03-04 20:16:44 <sipa> if you'd want to use p2sh yes
2009 2014-03-04 20:17:13 <sipa> so the scriptPubKey becomes a script that checks not the actual condition, but just the presense of the right script
2010 2014-03-04 20:17:35 <sipa> and then there's the magical extra step that for such scripts, there is an addition run of the evaluation engine, on the embedded script
2011 2014-03-04 20:17:37 <chichov> how does this improve anything?
2012 2014-03-04 20:17:48 <sipa> the sender doesn't need to know what script the receiver wants
2013 2014-03-04 20:17:58 <sipa> and even better: can't
2014 2014-03-04 20:18:17 <sipa> (as it's none of his business)
2015 2014-03-04 20:18:29 medellin has quit (Quit: Page closed)
2016 2014-03-04 20:18:34 <chichov> but typically the sender has to specify conditions under which the output can be claimed
2017 2014-03-04 20:18:41 c0rw1n has quit (Ping timeout: 269 seconds)
2018 2014-03-04 20:18:49 <sipa> it's the receiver that determines those conditions, not the sender
2019 2014-03-04 20:19:02 <sipa> "i'd like you to pay to my safe 2-of-3 escrow address"
2020 2014-03-04 20:19:14 <chichov> in p2sh, you mean?
2021 2014-03-04 20:19:22 <sipa> always
2022 2014-03-04 20:19:50 <sipa> i determine to which script (or address) you can send something before i consider your debt paid
2023 2014-03-04 20:20:22 <sipa> it's no different in non-bitcoin: i choose which bank account and with which message you need to pay, before i consider an invoice paid
2024 2014-03-04 20:20:46 <chichov> but you typically specify eg that the pubkey has to be X and that you know the private key matchin it
2025 2014-03-04 20:20:58 <sipa> the sender doesn't care what that condition is
2026 2014-03-04 20:20:59 <chichov> matching*
2027 2014-03-04 20:21:23 <chichov> well, he wants to make sure that only the right person can claim it
2028 2014-03-04 20:21:28 <sipa> yes
2029 2014-03-04 20:21:37 <sipa> but the sender just said "pay to address A"
2030 2014-03-04 20:21:42 <sipa> eh
2031 2014-03-04 20:21:45 <chichov> more or less, yea
2032 2014-03-04 20:21:53 <sipa> the receiver just says "pay to address A"
2033 2014-03-04 20:22:00 <sipa> the sender doesn't care what that address is
2034 2014-03-04 20:22:04 <chichov> but he also said: "he has to know the pubkey of hash(pubkey) and the private key"
2035 2014-03-04 20:22:05 <sipa> or what pubkey is associated with it
2036 2014-03-04 20:22:11 OperatorSyn has quit (Ping timeout: 240 seconds)
2037 2014-03-04 20:22:19 <sipa> yes, the sender needs to _state_ that in his transaction
2038 2014-03-04 20:22:24 <sipa> but doesn't _care_ about it
2039 2014-03-04 20:22:40 <sipa> the receiver determines what the sender has to put in his transaction output
2040 2014-03-04 20:22:52 <chichov> yep, that's right
2041 2014-03-04 20:23:05 <sipa> so, extend this to complex scripts
2042 2014-03-04 20:23:09 <sipa> you owe me something
2043 2014-03-04 20:23:13 <chichov> and the magic of p2sh is that we can turn it around?
2044 2014-03-04 20:23:20 <sipa> no, it makes it right
2045 2014-03-04 20:23:37 <sipa> but i'm using a fancy multidevice wallet which uses signatures from both my pc and my phone
2046 2014-03-04 20:23:52 <chichov> "bleh"
2047 2014-03-04 20:24:04 <sipa> before p2sh, i'd need to tell you "i want you to send coins to <special script with pubkey X and pubkey Y>"
2048 2014-03-04 20:24:09 c0rw1n has joined
2049 2014-03-04 20:24:13 <sipa> and you'd need a way to enter that in your wallet software
2050 2014-03-04 20:24:24 <chichov> exactly
2051 2014-03-04 20:24:26 <sipa> so you'd have arbitrarily long addresses, as they'd need to encode all scripts
2052 2014-03-04 20:24:31 <chichov> but I don't really want to bother with that
2053 2014-03-04 20:24:38 <sipa> with p2sh, all i need to do is tell you the hash of that complex script
2054 2014-03-04 20:24:43 <sipa> which is as long as a normal address
2055 2014-03-04 20:25:03 <sipa> and you don't even need to know that i'm using a fancy multidevice wallet
2056 2014-03-04 20:25:11 <sipa> in fact, you can't know (until i spend it again)
2057 2014-03-04 20:25:18 <chichov> yep
2058 2014-03-04 20:25:56 <chichov> so, instead of "special extra long script" you give me a hash of that
2059 2014-03-04 20:25:59 <michagogo> cloud!uid14316@wikia/Michagogo|And the scripts can be as simple or as complex as you want
2060 2014-03-04 20:26:04 <chichov> what changes for the receiver?
2061 2014-03-04 20:26:25 <michagogo> cloud!uid14316@wikia/Michagogo|chichov: Basically, the receiver can get their coins paid to whatever script they want
2062 2014-03-04 20:26:36 <michagogo> cloud!uid14316@wikia/Michagogo|Whether that's a multisig, or anything else
2063 2014-03-04 20:26:53 <michagogo> cloud!uid14316@wikia/Michagogo|You can also do things like publish the script as a challenge
2064 2014-03-04 20:27:09 <michagogo> cloud!uid14316@wikia/Michagogo|;;lucky site:bitcointalk.org hash collision bounty
2065 2014-03-04 20:27:09 <gribble> https://bitcointalk.org/index.php?topic=293382.0
2066 2014-03-04 20:27:13 daybyter has joined
2067 2014-03-04 20:27:16 <michagogo> cloud!uid14316@wikia/Michagogo|Like that^
2068 2014-03-04 20:27:41 antephialtic has quit (Remote host closed the connection)
2069 2014-03-04 20:27:56 <chichov> good luck finding a collision on these^^
2070 2014-03-04 20:28:04 <michagogo> cloud!uid14316@wikia/Michagogo|So it's known that the 2.47173817 BTC at address 37k7toV1Nv4DfmQbmZ8KuZDQCYK9x5KpzP can be claimed by anyone who can show a SHA1 collision
2071 2014-03-04 20:28:41 <michagogo> cloud!uid14316@wikia/Michagogo|And because they're addresses, anyone can send to them to contribute to the bounty
2072 2014-03-04 20:32:26 <gmaxwell> wow, thats up to 2.471 btc now?
2073 2014-03-04 20:33:30 <michagogo> cloud!uid14316@wikia/Michagogo|Apparently
2074 2014-03-04 20:33:42 <michagogo> cloud!uid14316@wikia/Michagogo|Hmm, just realized I think I forgot to PR my gitian sigs for 0.9.0rc2
2075 2014-03-04 20:33:55 joesmoe has quit (Ping timeout: 264 seconds)
2076 2014-03-04 20:34:44 andreas_ has joined
2077 2014-03-04 20:35:14 andreas_ has quit (Client Quit)
2078 2014-03-04 20:35:27 sheepman has joined
2079 2014-03-04 20:35:40 andreas_ has joined
2080 2014-03-04 20:36:01 daybyter has quit (Write error: Broken pipe)
2081 2014-03-04 20:36:32 <chichov> alright, now I get the idea behind p2sh, thanks a lot!
2082 2014-03-04 20:36:33 <chichov> are there any good reasons to evaluate scripts as eval(scriptSig), copy stack, eval(pubKeyScript) after OP_RETURN was banned?
2083 2014-03-04 20:37:18 <sipa> maybe not
2084 2014-03-04 20:37:40 Coincidental has joined
2085 2014-03-04 20:37:43 <sipa> but it's still unclear to me in what ways the two scripts could be made to unintentionally interact
2086 2014-03-04 20:37:53 Lightsword has joined
2087 2014-03-04 20:37:57 <sipa> so i think it's nice to have a clear separation
2088 2014-03-04 20:38:08 <chichov> and no strange OP_CODESEPERATORs huh?
2089 2014-03-04 20:38:33 Goonie has joined
2090 2014-03-04 20:39:06 <sipa> we should ban those :)
2091 2014-03-04 20:39:19 skarloey has joined
2092 2014-03-04 20:40:00 skarloey has left ()
2093 2014-03-04 20:40:07 <chichov> alright, now that everything is clear, I'll get back to writing my specification
2094 2014-03-04 20:40:14 <chichov> sipa: thanks for the help
2095 2014-03-04 20:43:45 <chichov> now that I read the wiki article on Script, all the evaluations would have to be rewritten
2096 2014-03-04 20:43:49 _ImI_ has quit (Quit: _ImI_)
2097 2014-03-04 20:44:28 <chichov> good thing I've asked you
2098 2014-03-04 20:47:48 rdn has quit (Ping timeout: 252 seconds)
2099 2014-03-04 20:48:29 Jasmin68k has joined
2100 2014-03-04 20:48:37 rdn has joined
2101 2014-03-04 20:48:39 axvf has quit (Remote host closed the connection)
2102 2014-03-04 20:49:25 airq has joined
2103 2014-03-04 20:50:00 ascent__ has quit (Ping timeout: 252 seconds)
2104 2014-03-04 20:50:12 HaltingState has quit (Quit: Leaving)
2105 2014-03-04 20:50:43 ascent_ has joined
2106 2014-03-04 20:50:53 _ImI_ has joined
2107 2014-03-04 20:51:06 Detritus has quit (Ping timeout: 252 seconds)
2108 2014-03-04 20:52:41 embm has joined
2109 2014-03-04 20:53:03 cysm has quit (Quit: Leaving)
2110 2014-03-04 20:53:32 JackH has quit (Quit: JackH)
2111 2014-03-04 20:57:28 torsthaldo has quit (Changing host)
2112 2014-03-04 20:57:28 torsthaldo has joined
2113 2014-03-04 20:57:52 <chichov> one thing is odd - in pay-to-pubkey when evaluating the public key script the topmost element is the signature instead of the public key
2114 2014-03-04 20:58:22 <chichov> is there any special trick how this is fixed?
2115 2014-03-04 20:58:40 <michagogo> cloud!uid14316@wikia/Michagogo|Hm?
2116 2014-03-04 20:58:41 spin123456 has quit (Ping timeout: 240 seconds)
2117 2014-03-04 20:58:45 <sipa> why does it need to be fixed?
2118 2014-03-04 20:58:52 <michagogo> cloud!uid14316@wikia/Michagogo|That's correct.
2119 2014-03-04 20:59:09 <sipa> the alternative would require a swap before checking
2120 2014-03-04 20:59:26 Lightsword has quit (Ping timeout: 265 seconds)
2121 2014-03-04 20:59:38 <michagogo> cloud!uid14316@wikia/Michagogo|Er, wait
2122 2014-03-04 20:59:40 <chichov> doesn't the first element on the stack have to be the public key and then the signature?
2123 2014-03-04 20:59:48 <sipa> no
2124 2014-03-04 20:59:54 <sipa> oh
2125 2014-03-04 21:00:06 <sipa> the topmost element needs to be the signature, the one before the pubkey
2126 2014-03-04 21:00:08 <michagogo> cloud!uid14316@wikia/Michagogo|chichov: in pay-to-pubkey, the scriptsig is just the sig
2127 2014-03-04 21:00:08 <chichov> sounds like a bingo
2128 2014-03-04 21:00:17 <sipa> ehm
2129 2014-03-04 21:00:18 <sipa> wait
2130 2014-03-04 21:00:21 <sipa> the other way around
2131 2014-03-04 21:00:30 <michagogo> cloud!uid14316@wikia/Michagogo|Then the scriptPubKey pushes the pubkey
2132 2014-03-04 21:00:36 <sipa> as the scriptSig is evaluated first, so the pubkey is pushed after the signature
2133 2014-03-04 21:00:40 <michagogo> cloud!uid14316@wikia/Michagogo|so the pubkey is on top, then the signature
2134 2014-03-04 21:00:47 <michagogo> cloud!uid14316@wikia/Michagogo|And that's the correct order
2135 2014-03-04 21:01:23 <chichov> yep, true
2136 2014-03-04 21:01:34 <chichov> confused the hell out of it
2137 2014-03-04 21:01:57 spinza has joined
2138 2014-03-04 21:02:48 <chichov> switched it in my drawings and wondered what I've created
2139 2014-03-04 21:03:47 pierreatwork has quit (Ping timeout: 252 seconds)
2140 2014-03-04 21:04:16 <michagogo> cloud!uid14316@wikia/Michagogo|sipa: do you have write access to the gitian.sigs repo?
2141 2014-03-04 21:04:40 <sipa> michagogo|cloud: yes
2142 2014-03-04 21:06:43 HaltingState has joined
2143 2014-03-04 21:08:13 shamoon has joined
2144 2014-03-04 21:09:20 cysm has joined
2145 2014-03-04 21:12:29 Lightsword has joined
2146 2014-03-04 21:12:47 Lightsword has quit (Client Quit)
2147 2014-03-04 21:13:04 Lightsword has joined
2148 2014-03-04 21:14:37 CoincleJay has joined
2149 2014-03-04 21:15:23 Lightsword has quit (Read error: Connection reset by peer)
2150 2014-03-04 21:16:06 CoincleJay has left ()
2151 2014-03-04 21:18:45 B0g4r7_ has joined
2152 2014-03-04 21:19:47 bbcn has joined
2153 2014-03-04 21:22:20 mrkent has quit (Ping timeout: 240 seconds)
2154 2014-03-04 21:22:57 Joker_Da_Man has joined
2155 2014-03-04 21:23:07 Eagle[TM] has quit (Ping timeout: 265 seconds)
2156 2014-03-04 21:23:13 andreas_ has quit (Quit: Konversation terminated!)
2157 2014-03-04 21:23:32 rdymac has quit (Excess Flood)
2158 2014-03-04 21:23:35 daybyter has joined
2159 2014-03-04 21:24:37 phoenix52 has joined
2160 2014-03-04 21:24:58 e4xit has quit (Read error: Connection reset by peer)
2161 2014-03-04 21:25:31 <chichov> why is nSequence set for all inputs, aside from the current one, to 0 for SIGHASH_NONE?
2162 2014-03-04 21:26:25 Hans-Martin has joined
2163 2014-03-04 21:27:01 e4xit has joined
2164 2014-03-04 21:27:05 nova90 has joined
2165 2014-03-04 21:27:06 _ImI_ has quit (Quit: _ImI_)
2166 2014-03-04 21:27:13 nova90 has quit (Client Quit)
2167 2014-03-04 21:29:05 <gmaxwell> chichov: because they're being masked out so they don't change the signature... so the signature isn't invalidated by them being updated.
2168 2014-03-04 21:29:10 rdymac has joined
2169 2014-03-04 21:30:31 <chichov> is the same done for SIGHASH_ALL?
2170 2014-03-04 21:31:10 <sipa> with sighash all you do not want to allow the inputs to be updated, so no
2171 2014-03-04 21:31:15 <chichov> I can imagine it's not, but want to be sure
2172 2014-03-04 21:31:29 <sipa> use the source
2173 2014-03-04 21:31:46 <chichov> alright, makes sense. The others change
2174 2014-03-04 21:32:20 <sipa> https://github.com/bitcoin/bitcoin/blob/master/src/script.cpp#L1035
2175 2014-03-04 21:32:48 qwebirc83877 has quit (Quit: Page closed)
2176 2014-03-04 21:33:14 <chichov> alright, thanks
2177 2014-03-04 21:38:26 Goonie has quit (Remote host closed the connection)
2178 2014-03-04 21:39:01 MoALTz has quit (Ping timeout: 240 seconds)
2179 2014-03-04 21:39:37 MiningBuddy has quit (Remote host closed the connection)
2180 2014-03-04 21:39:44 MiningBuddy- has joined
2181 2014-03-04 21:40:56 puzl has quit (Remote host closed the connection)
2182 2014-03-04 21:43:02 <chichov> I just see an odd discrepancy - according to the wiki in the SIGHASH_ANYONECANPAY the input vector is set to a length of 1 and then the subScript is set as the first member of the input vector
2183 2014-03-04 21:43:30 <chichov> whereas in the code it's simply the current transaction input that is set as the only member of the input vector (which makes more sense)
2184 2014-03-04 21:44:05 <chichov> so, is there a mistake in the wiki or did I misinterpret something?
2185 2014-03-04 21:44:08 <sipa> link?
2186 2014-03-04 21:44:34 _ImI_ has joined
2187 2014-03-04 21:44:48 <chichov> https://en.bitcoin.it/wiki/OP_CHECKSIG
2188 2014-03-04 21:45:02 <chichov> https://github.com/bitcoin/bitcoin/blob/master/src/script.cpp#L1025
2189 2014-03-04 21:45:49 puzl has joined
2190 2014-03-04 21:46:55 <sipa> both are correct
2191 2014-03-04 21:47:09 <sipa> the serialization of the subscript happens in line 10333
2192 2014-03-04 21:47:10 <sipa> 1033
2193 2014-03-04 21:48:11 <sipa> 1025 just makes sure that even if nIn is 0, we serialize for the input being signed
2194 2014-03-04 21:48:43 Emcy has quit (Read error: Connection reset by peer)
2195 2014-03-04 21:48:44 <sipa> you may want to look at https://github.com/bitcoin/bitcoin/blob/master/src/test/sighash_tests.cpp
2196 2014-03-04 21:48:52 <sipa> which contains the old code for computing the sighash
2197 2014-03-04 21:49:01 <sipa> which is what is described on the wiki
2198 2014-03-04 21:49:05 <chichov> indeed, the it sounds promising
2199 2014-03-04 21:49:07 greg____ has joined
2200 2014-03-04 21:49:08 Emcy has joined
2201 2014-03-04 21:49:12 <sipa> the result of both should be identical, of course
2202 2014-03-04 21:49:15 <chichov> s/the//
2203 2014-03-04 21:50:19 phoenix52 has quit (Ping timeout: 240 seconds)
2204 2014-03-04 21:51:15 <chichov> so you simply use scriptPubKey of the referenced output?
2205 2014-03-04 21:51:34 puzl has quit (Remote host closed the connection)
2206 2014-03-04 21:51:35 <sipa> no, whatever is passed in as scriptCode
2207 2014-03-04 21:51:36 petcat has quit (Quit: Leaving.)
2208 2014-03-04 21:51:57 <sipa> if there are no codeseparators, that is equal to the whole scriptPubkey
2209 2014-03-04 21:52:10 <chichov> oh, that's what you mean
2210 2014-03-04 21:53:00 <chichov> any reason why all the other input fields are basically blanked out?
2211 2014-03-04 21:53:13 <sipa> so they can be signed independently
2212 2014-03-04 21:53:28 <sipa> otherwise you'd need to wait for input 1 to be signed before you can sign input 2
2213 2014-03-04 21:53:45 buhbuh has quit (Quit: Page closed)
2214 2014-03-04 21:54:08 <chichov> uhm, what I mean is that prevout and nSequence are gone as well
2215 2014-03-04 21:54:11 <chichov> at least so it seems
2216 2014-03-04 21:55:02 <sipa> that's not true
2217 2014-03-04 21:55:11 <sipa> only for sighash_single and sighash_none
2218 2014-03-04 21:55:37 <chichov> that's what I understand when I read "subScript is set as the first and only member of this vector" (in the input vector context)
2219 2014-03-04 21:56:00 <sipa> meh, just follow the code
2220 2014-03-04 21:56:06 <chichov> alright
2221 2014-03-04 21:56:13 <sipa> the wiki desciption is certainly inaccurate at least, and possibly just wrong
2222 2014-03-04 21:56:47 <chichov> okay then, thanks
2223 2014-03-04 21:57:48 InsiderJoe has joined
2224 2014-03-04 21:58:54 brson has quit (Quit: leaving)
2225 2014-03-04 22:00:28 pierreatwork has joined
2226 2014-03-04 22:01:07 chichov has quit (Ping timeout: 240 seconds)
2227 2014-03-04 22:02:39 silky has joined
2228 2014-03-04 22:02:40 Jasmin68k has quit (Read error: Connection reset by peer)
2229 2014-03-04 22:02:51 basva has quit (Quit: Computer has gone to sleep.)
2230 2014-03-04 22:03:01 porquilho has quit ()
2231 2014-03-04 22:04:12 InsiderJoe has quit (Ping timeout: 240 seconds)
2232 2014-03-04 22:04:12 bbrian has quit (Ping timeout: 265 seconds)
2233 2014-03-04 22:04:18 bvnnbvnvbcnbcvn has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
2234 2014-03-04 22:08:47 shamoon has quit (Remote host closed the connection)
2235 2014-03-04 22:09:03 spinza has quit (Disconnected by services)
2236 2014-03-04 22:09:04 spin123456 has joined
2237 2014-03-04 22:09:11 greg____ has quit (Quit: greg____)
2238 2014-03-04 22:09:20 petcat has joined
2239 2014-03-04 22:11:03 Coincidental has quit (Remote host closed the connection)
2240 2014-03-04 22:14:04 ItSANg___ has joined
2241 2014-03-04 22:14:37 ItSANgo has quit (Ping timeout: 244 seconds)
2242 2014-03-04 22:15:19 Grouver has quit (Quit:  HydraIRC -> http://www.hydrairc.com <- Organize your IRC)
2243 2014-03-04 22:15:20 Coincidental has joined
2244 2014-03-04 22:16:17 DaQatz has quit (Ping timeout: 265 seconds)
2245 2014-03-04 22:19:01 Emcy has quit (Read error: Connection reset by peer)
2246 2014-03-04 22:19:38 Emcy has joined
2247 2014-03-04 22:21:40 yano has quit (Read error: Connection reset by peer)
2248 2014-03-04 22:23:18 DaQatz has joined
2249 2014-03-04 22:23:28 yano has joined
2250 2014-03-04 22:25:14 Alex__ has joined
2251 2014-03-04 22:26:17 Gyps has joined
2252 2014-03-04 22:26:19 pierreatwork has quit (Ping timeout: 252 seconds)
2253 2014-03-04 22:27:38 phoenix52 has joined
2254 2014-03-04 22:28:06 Alex__ has quit (Client Quit)
2255 2014-03-04 22:29:44 Chief_Panda has quit (Quit: Leaving)
2256 2014-03-04 22:30:08 HM has left ()
2257 2014-03-04 22:30:29 airq has quit (Remote host closed the connection)
2258 2014-03-04 22:30:53 HM2 has joined
2259 2014-03-04 22:31:18 chichov has joined
2260 2014-03-04 22:32:53 qwebirc77345 has joined
2261 2014-03-04 22:33:12 qwebirc77345 has left ()
2262 2014-03-04 22:33:29 soheil has quit (Read error: Connection reset by peer)
2263 2014-03-04 22:33:47 soheil has joined
2264 2014-03-04 22:34:19 yano has quit (Read error: Connection reset by peer)
2265 2014-03-04 22:35:26 yubrew has quit (Remote host closed the connection)
2266 2014-03-04 22:36:14 go1111111 has joined
2267 2014-03-04 22:37:31 ericmuyser has quit (Ping timeout: 264 seconds)
2268 2014-03-04 22:38:03 coingenuity has joined
2269 2014-03-04 22:38:14 <BCB> anyone know why there is a node called AAP-MultiServices off the coast of Africa
2270 2014-03-04 22:38:38 _ImI_ has quit (Quit: _ImI_)
2271 2014-03-04 22:39:28 Gerendon has joined
2272 2014-03-04 22:42:38 Hans-Martin has quit (Remote host closed the connection)
2273 2014-03-04 22:43:12 yano has joined
2274 2014-03-04 22:45:44 javax has left ()
2275 2014-03-04 22:48:05 Dizzle has quit (Quit: Leaving...)
2276 2014-03-04 22:48:46 Guyver2 has quit (Quit: :))
2277 2014-03-04 22:49:13 Emcy has quit (Read error: Connection reset by peer)
2278 2014-03-04 22:49:39 Emcy has joined
2279 2014-03-04 22:50:36 guest___1 has quit (Quit: Lost terminal)
2280 2014-03-04 22:50:36 gunnis has quit (Ping timeout: 265 seconds)
2281 2014-03-04 22:50:44 sdamashek has quit (Ping timeout: 240 seconds)
2282 2014-03-04 22:51:10 kennv has quit (Read error: Connection reset by peer)
2283 2014-03-04 22:51:31 kennv has joined
2284 2014-03-04 22:51:32 kennv has quit (Changing host)
2285 2014-03-04 22:51:32 kennv has joined
2286 2014-03-04 22:51:55 ThomasV has quit (Ping timeout: 264 seconds)
2287 2014-03-04 22:52:45 tombtc has quit (Quit: Wychodzi)
2288 2014-03-04 22:54:07 chichov has quit (Ping timeout: 252 seconds)
2289 2014-03-04 22:54:17 Burrito has quit (Quit: Leaving)
2290 2014-03-04 22:55:23 ericmuyser has joined
2291 2014-03-04 22:55:32 Starduster has quit (Read error: Operation timed out)
2292 2014-03-04 22:55:57 kurtosis has quit (Ping timeout: 244 seconds)
2293 2014-03-04 22:56:22 samesong has quit (Remote host closed the connection)
2294 2014-03-04 22:58:45 Liquid__ has joined
2295 2014-03-04 22:59:10 kurtosis has joined
2296 2014-03-04 22:59:15 gfawkes_ has quit (Read error: Connection reset by peer)
2297 2014-03-04 22:59:15 Guest39918 has quit (Read error: Connection reset by peer)
2298 2014-03-04 23:00:10 samesong has joined
2299 2014-03-04 23:00:25 Gyps has quit (Quit: Gyps)
2300 2014-03-04 23:01:12 airq has joined
2301 2014-03-04 23:02:58 airq_ has joined
2302 2014-03-04 23:03:11 airq has quit (Read error: Connection reset by peer)
2303 2014-03-04 23:03:45 _ImI_ has joined
2304 2014-03-04 23:06:20 hmsimha_ has quit (Ping timeout: 240 seconds)
2305 2014-03-04 23:06:20 cagedwisdom has joined
2306 2014-03-04 23:06:55 phoenix52 has quit (Ping timeout: 264 seconds)
2307 2014-03-04 23:07:31 samesong has quit (Ping timeout: 265 seconds)
2308 2014-03-04 23:08:46 yubrew has joined
2309 2014-03-04 23:09:04 samesong has joined
2310 2014-03-04 23:09:33 richcollins has joined
2311 2014-03-04 23:10:10 <richcollins> According to block explorer, these two blocks happened out of order chronologically
2312 2014-03-04 23:10:10 <richcollins> http://blockexplorer.com/testnet/block/0000000007c5db3c84b8b499317056610d502a07f5a25c6dc170cc9caa82f141
2313 2014-03-04 23:10:13 <richcollins> http://blockexplorer.com/testnet/block/000000000005b77c8fde1406794363d00ebe47c01e4fb3e7a45c4126db6fe43e
2314 2014-03-04 23:10:26 <richcollins> Am I misunderstanding the Time field or is block explorer broken?
2315 2014-03-04 23:10:31 <sipa> perfectly normal
2316 2014-03-04 23:10:44 <sipa> the timestamp field has an allowed range of over 2 hours
2317 2014-03-04 23:12:42 yubrew has quit (Ping timeout: 240 seconds)
2318 2014-03-04 23:13:07 sdamashek has joined
2319 2014-03-04 23:13:09 <richcollins> ah ok
2320 2014-03-04 23:13:57 <richcollins> sipa how does that happen in practice?
2321 2014-03-04 23:14:13 <sipa> miners chooses the timestamp. done.
2322 2014-03-04 23:14:13 <richcollins> Since the next block has to refer the previous
2323 2014-03-04 23:14:41 <sipa> there is no requirement that the next block's timestamp is after the previous
2324 2014-03-04 23:14:57 <richcollins> sipa, OK thanks
2325 2014-03-04 23:15:17 daybyter has quit (Quit: Konversation terminated!)
2326 2014-03-04 23:15:21 <sipa> the actua condition is: the timestamp of a block needs to be after the median of the past 11 ones
2327 2014-03-04 23:15:28 <sipa> and less than 2 hours in the future
2328 2014-03-04 23:15:49 <sipa> which typically means ~3 hours range
2329 2014-03-04 23:18:06 Goonie has joined
2330 2014-03-04 23:18:30 airq_ has quit (Ping timeout: 252 seconds)
2331 2014-03-04 23:20:22 gunnis has joined
2332 2014-03-04 23:21:11 axvf has joined
2333 2014-03-04 23:21:13 axvf has quit (Max SendQ exceeded)
2334 2014-03-04 23:21:56 axvf has joined
2335 2014-03-04 23:22:11 bbcn has quit (Remote host closed the connection)
2336 2014-03-04 23:22:16 chichov has joined
2337 2014-03-04 23:22:21 ThomasV has joined
2338 2014-03-04 23:23:45 cosurg1 has joined
2339 2014-03-04 23:24:18 EagleTM has joined
2340 2014-03-04 23:24:36 Persopolis has joined
2341 2014-03-04 23:25:09 Coincidental has quit (Remote host closed the connection)
2342 2014-03-04 23:25:25 paveljanik has quit (Quit: This computer has gone to sleep)
2343 2014-03-04 23:25:54 <Persopolis> bitcoin-qt in server mode should go beyond 8 connections i assume?
2344 2014-03-04 23:26:11 embm has quit (Quit: Connection closed for inactivity)
2345 2014-03-04 23:26:20 CBit has joined
2346 2014-03-04 23:27:30 <gmaxwell> Persopolis: has nothing to do with 'server mode'— it just depends on you having incoming connections working.
2347 2014-03-04 23:28:23 <Persopolis> ah thanks - thought it may have been to do with pre-release state
2348 2014-03-04 23:29:08 ThomasV has quit (Quit: Quitte)
2349 2014-03-04 23:29:45 <Persopolis> 8 a hard limit on outgoing connections then?
2350 2014-03-04 23:29:59 <gmaxwell> Yes, and a really ample one in any case.
2351 2014-03-04 23:30:13 Zifre has joined
2352 2014-03-04 23:30:24 <Persopolis> indeed - just didn't twig and tried to add node without effect :)
2353 2014-03-04 23:30:53 <sipa> iirc you can -addnode more than 8 nodes
2354 2014-03-04 23:31:20 <gmaxwell> sipa: not currently.
2355 2014-03-04 23:31:56 johnsoft has quit (Ping timeout: 240 seconds)
2356 2014-03-04 23:32:18 johnsoft has joined
2357 2014-03-04 23:32:30 <gmaxwell> sipa: it won't be able to get a semaphore.
2358 2014-03-04 23:32:56 <gmaxwell> this also results in stupidtly like it not connecting to your addnoded peers because they go down and it fills in a random peer first.
2359 2014-03-04 23:33:46 <sipa> gmaxwell: iirc, -addnode tries to grab a semaphore, but continues if it fails
2360 2014-03-04 23:34:09 <gmaxwell> sipa: sure, but if you're full it will just continue forever. with a long (minute?) sleep.
2361 2014-03-04 23:34:20 ielo has quit (Ping timeout: 240 seconds)
2362 2014-03-04 23:34:58 Coincidental has joined
2363 2014-03-04 23:35:01 jtimon has quit (Ping timeout: 240 seconds)
2364 2014-03-04 23:35:38 <gmaxwell> e.g. my mining node right now has addnode=public.us-west.relay.mattcorallo.com:8334 but  getpeerinfo | grep addr | grep 8334
2365 2014-03-04 23:35:42 <gmaxwell>  returns nothing.
2366 2014-03-04 23:35:55 chichov has quit (Ping timeout: 240 seconds)
2367 2014-03-04 23:36:08 <gmaxwell> if I restart it, it'll connect to it, but eventually it loses it, and because addrnode is less agressive than the reconnect logic it won't last.
2368 2014-03-04 23:38:11 <gmaxwell> Arguably this is a security bug. :-/
2369 2014-03-04 23:38:50 ralphtheninja has quit (Ping timeout: 244 seconds)
2370 2014-03-04 23:38:50 <sipa> the connect logic should be merged for both
2371 2014-03-04 23:39:05 <sipa> so it just considers addnoded peers first, if a new connection is to be established
2372 2014-03-04 23:39:17 <gmaxwell> I agree, what I also think we should do is allow one extra connection, and if we have too many, pick one to hang up.
2373 2014-03-04 23:39:33 <sipa> yeah, peer rotation
2374 2014-03-04 23:39:56 <BCB> gmaxwell: why are there six nodes in the ocean off the coast of africa?
2375 2014-03-04 23:39:58 <gmaxwell> even ignoring rotation... e.g. if we have slots used by non-addnode nodes and there are addnode nodes we're not connected to.
2376 2014-03-04 23:39:59 chichov has joined
2377 2014-03-04 23:40:09 <gmaxwell> BCB: because your geolocation database is dumb.
2378 2014-03-04 23:40:17 <sipa> gmaxwell: right
2379 2014-03-04 23:40:23 basylib has quit (Ping timeout: 244 seconds)
2380 2014-03-04 23:40:58 <gmaxwell> sipa: I have some mixed feelings about rotation, it's hard to reason about the threat model. We should certantly rotate if we think we might be isolated, bother otherwise we might be more private to stick with the same nodes. :(
2381 2014-03-04 23:41:09 <BCB> gmaxwell: so my google geolocation DB is different than your db
2382 2014-03-04 23:41:17 <gmaxwell> "your db"?
2383 2014-03-04 23:41:51 Krellan has quit (Excess Flood)
2384 2014-03-04 23:42:16 <gmaxwell> BCB: what are you looking at precisely?
2385 2014-03-04 23:42:17 Krellan has joined
2386 2014-03-04 23:42:25 <BCB> gmaxwell: you said "my" geolocation DB
2387 2014-03-04 23:42:38 <BCB> the first node my transaction hit on blockchain.info
2388 2014-03-04 23:42:46 [CS]Kiro has joined
2389 2014-03-04 23:42:50 <gmaxwell> so go yell at bc.i?
2390 2014-03-04 23:42:52 <sipa> well something is giving you IP addresses, and something is translating those to geolocations
2391 2014-03-04 23:43:25 <BCB> I thought you guys would know.  Thanks.  I'll do that
2392 2014-03-04 23:43:57 <gmaxwell> BCB: if its off the coast of africa it's probably lat long 0,0
2393 2014-03-04 23:45:40 <sipa> gmaxwell: hmm
2394 2014-03-04 23:46:01 <sipa> gmaxwell: even if done at very low frequency (like one rotation per hour)?
2395 2014-03-04 23:46:48 <gmaxwell> sipa: Not sure. There is a whole paper on this question realtive tor tor, and it made them implement special functionality where your tor node will pick a small set of nodes to _always_ use as its first hop.
2396 2014-03-04 23:47:15 InsiderJoe has joined
2397 2014-03-04 23:47:46 <gmaxwell> basically, assuming that the user transacts constantly, and the attacker has some fraction of the network, and that getting a couple first hop transactions from the user identifies it... how long can this go on until they get caught?
2398 2014-03-04 23:48:38 <gmaxwell> w/ rotation it's 100% after a long enough time, while "always use a particular set of entrance nodes" is the strategy that reduces your odds of getting caught to just the fraction of the nodes the attacker controls in that model.
2399 2014-03-04 23:49:00 <Persopolis> but tor's weakness in terms identification is first hop - do we have a similar concern?
2400 2014-03-04 23:49:12 mariorz has joined
2401 2014-03-04 23:49:37 soheil has quit ()
2402 2014-03-04 23:49:44 <gmaxwell> Persopolis: we do, though in some cases worse than tor's in some cases less than tors.
2403 2014-03-04 23:50:37 <mariorz> hi. I have a couple of nodes running on the testnet that claim to have downloaded the whole blockchain but their blockcount does not match among them or with the one reported here http://blockexplorer.com/testnet/q/getblockcount
2404 2014-03-04 23:50:53 YoY__ has quit (Quit: Leaving...)
2405 2014-03-04 23:51:06 <mariorz> one reports 53395, the other 53408
2406 2014-03-04 23:51:11 <gmaxwell>     "blocks" : 202855,
2407 2014-03-04 23:51:31 <gmaxwell> ^ testnet
2408 2014-03-04 23:51:32 chichov has quit (Ping timeout: 240 seconds)
2409 2014-03-04 23:51:41 <mariorz> yeah, that's what blockexplorer.com reports too
2410 2014-03-04 23:51:42 _yoy_ has joined
2411 2014-03-04 23:51:53 <mariorz> what could be up with my nodes?
2412 2014-03-04 23:52:12 InsiderJoe has quit (Ping timeout: 240 seconds)
2413 2014-03-04 23:52:14 _yoy_ has quit (Client Quit)
2414 2014-03-04 23:52:27 <gmaxwell> you're not actually running the current testnet?
2415 2014-03-04 23:52:36 <gmaxwell> what bitcoin version are you using?
2416 2014-03-04 23:54:02 <HaltingState> sipa, n * Q, n is private key, Q is pubkey, pubkey is point on curve, privatekey is integer; so n*Q on left is Q raised to power of private key (multiplication in curve/notation?)
2417 2014-03-04 23:54:04 <mariorz> oh, probably not the latest
2418 2014-03-04 23:54:33 <HaltingState> is there any convension with writing it on left/right or its communicative so it doesnt matter?
2419 2014-03-04 23:54:36 <mariorz> did not know there are different testnets per version, will get the latest
2420 2014-03-04 23:54:40 <mariorz> gmaxwell: thanks
2421 2014-03-04 23:54:54 soheil has joined
2422 2014-03-04 23:54:58 <sipa> HaltingState: n*P = P*n = n point additions of P with itself
2423 2014-03-04 23:55:08 InsiderJoe has joined
2424 2014-03-04 23:55:16 bbrian has joined
2425 2014-03-04 23:55:17 <sipa> where point addition is the EC group operation
2426 2014-03-04 23:56:27 <mariorz> I'm running version 32400 on both nodes
2427 2014-03-04 23:56:28 <HaltingState> sipa, point additions are not commutative in ecc curves right?
2428 2014-03-04 23:56:36 mxisaac has joined
2429 2014-03-04 23:56:57 <Persopolis> gmaxwell: can you elaborate on privacy aspect of bitcoin regarding node connections - not got my head around threats posed
2430 2014-03-04 23:57:09 agricocb has quit (Read error: Connection reset by peer)
2431 2014-03-04 23:57:20 agricocb has joined
2432 2014-03-04 23:57:32 <sipa> mariorz: where did you get that?
2433 2014-03-04 23:57:58 <sipa> mariorz: 0.3.24 is almost 3 years old
2434 2014-03-04 23:58:06 rdymac has quit (Ping timeout: 252 seconds)
2435 2014-03-04 23:58:12 <sipa> and anything below 0.8 is unlikely to work still
2436 2014-03-04 23:58:19 <mariorz> sipa: probably from synaptic
2437 2014-03-04 23:58:22 _yoy_ has joined
2438 2014-03-04 23:58:57 <mariorz> sipa: will get latest, thanks for the help