1 2014-06-23 00:02:51 digitalmagus8 has joined
   2 2014-06-23 00:03:10 pierreatwork has quit (Ping timeout: 264 seconds)
   3 2014-06-23 00:04:40 <dekalo> ok, my fault
   4 2014-06-23 00:04:44 <dekalo> :)
   5 2014-06-23 00:05:44 CoinHeavy has joined
   6 2014-06-23 00:06:16 <dekalo> just learned that same privk could results in 2 different WIF keys with 2 different final addresses
   7 2014-06-23 00:06:47 <jcorgan> yep
   8 2014-06-23 00:07:09 <dekalo> the difference reside in the pubkey format so, that is the one hashed and pt in scriptPubKey
   9 2014-06-23 00:07:12 <dekalo> right
  10 2014-06-23 00:07:13 <dekalo> ?
  11 2014-06-23 00:07:55 <jcorgan> didn't quite understand that
  12 2014-06-23 00:08:14 <jcorgan> each privkey can generate either a compressed or uncompressed pubkey
  13 2014-06-23 00:08:23 <jcorgan> which each hash to a different address
  14 2014-06-23 00:08:31 Karmapelas has quit ()
  15 2014-06-23 00:08:42 <jcorgan> so you indicate in the WIF which one you want generated when you import it
  16 2014-06-23 00:09:06 haskoiner has quit (Quit: haskoiner)
  17 2014-06-23 00:09:07 <dekalo> ok, seems that bitcoinj standard use compressed
  18 2014-06-23 00:09:50 <jcorgan> i wish all address generating software did, apparently some did not get the memo two years ago
  19 2014-06-23 00:11:41 <dekalo> bitcoinj do it as i see, nice
  20 2014-06-23 00:13:50 <sipa> from bitcoin's perspective, a public key is identified by its serialization
  21 2014-06-23 00:13:52 ThomasV has joined
  22 2014-06-23 00:14:00 lechuga_ has quit (Ping timeout: 240 seconds)
  23 2014-06-23 00:14:20 lechuga_ has joined
  24 2014-06-23 00:14:21 <sipa> that means that to retain the 1:1 correspondence between private keys and public keys, private keys must "know" whether their corresponding public key is to be compressed or not
  25 2014-06-23 00:16:18 spinza has joined
  26 2014-06-23 00:17:16 ak__ has joined
  27 2014-06-23 00:19:48 ronkrt-bnc is now known as ronkrt
  28 2014-06-23 00:20:35 akstunt600 has quit (Ping timeout: 255 seconds)
  29 2014-06-23 00:20:39 sahlhoff has quit (Quit: sahlhoff)
  30 2014-06-23 00:21:02 AnoAnon has quit (Read error: Connection reset by peer)
  31 2014-06-23 00:22:50 weilu_ has joined
  32 2014-06-23 00:26:31 MolokoDeck has quit (Ping timeout: 240 seconds)
  33 2014-06-23 00:27:49 CoinHeavy has quit (Quit: CoinHeavy)
  34 2014-06-23 00:29:22 ThomasV has quit (Ping timeout: 272 seconds)
  35 2014-06-23 00:30:07 sahlhoff has joined
  36 2014-06-23 00:35:48 <dekalo> thank you sipa for explaination
  37 2014-06-23 00:36:04 <dekalo> i'm still a bit confused
  38 2014-06-23 00:37:58 yubrew has joined
  39 2014-06-23 00:38:20 <ahmed_> does anyone here know how i can set the coinbase tags in eloipool?
  40 2014-06-23 00:40:45 richcollins has joined
  41 2014-06-23 00:42:01 yubrew has quit (Ping timeout: 240 seconds)
  42 2014-06-23 00:42:29 <sipa> dekalo: try in testnet, and paste your code
  43 2014-06-23 00:42:37 CoinHeavy has joined
  44 2014-06-23 00:44:49 <embicoin> are you planning to upgrade bdb version in bitcoin?
  45 2014-06-23 00:45:18 <sipa> no
  46 2014-06-23 00:45:20 <embicoin> I know the compatibility thing, just asking
  47 2014-06-23 00:45:22 <embicoin> ok
  48 2014-06-23 00:48:00 <embicoin> I must reprogram my mind to stop thinking newest versions are better :P
  49 2014-06-23 00:48:31 YoY has quit (Ping timeout: 240 seconds)
  50 2014-06-23 00:49:50 <sipa> yes, you should
  51 2014-06-23 00:49:58 <sipa> we basically use 0 features bdb offers
  52 2014-06-23 00:50:02 YoY has joined
  53 2014-06-23 00:52:23 richcollins has quit (Quit: richcollins)
  54 2014-06-23 00:55:52 <maaku> embicoin: we are planning to get rid of bdb, eventually
  55 2014-06-23 00:56:41 <justanotheruser> what db will be used? One from scratch?
  56 2014-06-23 00:57:01 <sipa> a simple append-only key-value store
  57 2014-06-23 00:57:05 <sipa> no need for a db
  58 2014-06-23 00:58:37 mapppum has quit (Remote host closed the connection)
  59 2014-06-23 01:02:49 micronxd has quit (Quit: micronxd)
  60 2014-06-23 01:02:49 MolokoDeck has joined
  61 2014-06-23 01:02:54 ericmuyser has quit (Remote host closed the connection)
  62 2014-06-23 01:03:21 moarrr_darkcoin has quit ()
  63 2014-06-23 01:03:52 <dekalo> sipa: i've done some test in testnet and it works, from privkey generated with ECKey package 87807d633e347fe1b9fce7b25fc79af9a90b93df40d6ad11304bbea05e880756 it generates WIF: 92cbNrtQVeYLwDobhM9eXZNMzynsXgyMYiwuPwJzEnupocabtUb(uncompr), cS86jVBthShLzKWg95wAdssHgufU2TRjh29LGEiPdse9zczgyvbQ(compr). The address obtained from privkey with toAddress() is mk5wtFGNgAdo1NgR5TBNHzsT284Crm1B2a, the same showed from bitcoind after i've used im
  64 2014-06-23 01:03:52 <dekalo> portprivkey with compr-key as input
  65 2014-06-23 01:03:53 Emcy has quit (Quit: Leaving)
  66 2014-06-23 01:04:13 <lechuga_> everything will just use leveldb?
  67 2014-06-23 01:04:22 <sipa> lechuga_: no, wallet will not
  68 2014-06-23 01:04:27 brson has quit (Quit: leaving)
  69 2014-06-23 01:04:34 brson has joined
  70 2014-06-23 01:04:34 <sipa> leveldb is overkill for the wallet file
  71 2014-06-23 01:06:08 <dekalo> i want to be sure to obtain the same pubkeys when I generate a key with ECKey and i call getPubKey and when i get it from validateaddress in bitcoind. I'm doing some thing with p2sh, so I need to do this :)
  72 2014-06-23 01:07:22 Zarutian has quit (Ping timeout: 272 seconds)
  73 2014-06-23 01:10:20 Emcy_ has joined
  74 2014-06-23 01:11:04 ronkrt has quit (Excess Flood)
  75 2014-06-23 01:11:39 skinnkavaj has quit (Ping timeout: 245 seconds)
  76 2014-06-23 01:12:49 CoinHeavy_ has joined
  77 2014-06-23 01:12:58 micronxd has joined
  78 2014-06-23 01:13:08 ronkrt-bnc has joined
  79 2014-06-23 01:13:49 CoinHeavy has quit (Ping timeout: 244 seconds)
  80 2014-06-23 01:13:49 CoinHeavy_ is now known as CoinHeavy
  81 2014-06-23 01:14:36 [nshiary] has quit (Ping timeout: 255 seconds)
  82 2014-06-23 01:15:23 mapppum has joined
  83 2014-06-23 01:15:36 Application has joined
  84 2014-06-23 01:17:34 jtimon has quit (Ping timeout: 264 seconds)
  85 2014-06-23 01:19:42 ericmuyser has joined
  86 2014-06-23 01:19:45 jordandotdev has joined
  87 2014-06-23 01:21:41 denisx has quit (Quit: denisx)
  88 2014-06-23 01:23:48 banghouse has joined
  89 2014-06-23 01:31:47 yubrew has joined
  90 2014-06-23 01:36:33 yubrew has quit (Ping timeout: 244 seconds)
  91 2014-06-23 01:37:09 Knuk_ has joined
  92 2014-06-23 01:38:29 CoinHeavy has quit (Quit: CoinHeavy)
  93 2014-06-23 01:39:47 Knuk has quit (Ping timeout: 255 seconds)
  94 2014-06-23 01:41:54 viajero has left ()
  95 2014-06-23 01:44:32 ender42 has quit (Quit: Konversation terminated!)
  96 2014-06-23 01:44:45 gonedrk has quit (Quit: Leaving)
  97 2014-06-23 01:45:38 MaxSan has quit (Ping timeout: 255 seconds)
  98 2014-06-23 01:46:38 CheckDavid has quit (Quit: Connection closed for inactivity)
  99 2014-06-23 01:49:35 mapppum has quit (Remote host closed the connection)
 100 2014-06-23 01:53:57 AndrewJackson has quit (Read error: Connection reset by peer)
 101 2014-06-23 01:55:00 AndrewJackson has joined
 102 2014-06-23 01:58:01 ClarusCogitatio has quit (Ping timeout: 240 seconds)
 103 2014-06-23 01:58:24 RazielZ has joined
 104 2014-06-23 01:58:29 MaxSan has joined
 105 2014-06-23 01:58:31 Raziel has quit (Ping timeout: 240 seconds)
 106 2014-06-23 01:58:57 ClarusCogitatio has joined
 107 2014-06-23 02:00:19 Emcy has joined
 108 2014-06-23 02:00:19 Emcy has quit (Changing host)
 109 2014-06-23 02:00:19 Emcy has joined
 110 2014-06-23 02:01:39 Emcy_ has quit (Ping timeout: 245 seconds)
 111 2014-06-23 02:01:58 AndrewJackson has quit (Read error: Connection reset by peer)
 112 2014-06-23 02:02:09 djoot has quit (Ping timeout: 240 seconds)
 113 2014-06-23 02:02:31 Eliel has quit (Ping timeout: 240 seconds)
 114 2014-06-23 02:02:35 AndrewJackson has joined
 115 2014-06-23 02:02:37 Eliel has joined
 116 2014-06-23 02:03:16 baldur_ has quit (Ping timeout: 240 seconds)
 117 2014-06-23 02:03:28 baldur_ has joined
 118 2014-06-23 02:04:23 akstunt600 has joined
 119 2014-06-23 02:04:53 Eiii has joined
 120 2014-06-23 02:04:54 Eiii has quit (Changing host)
 121 2014-06-23 02:04:54 Eiii has joined
 122 2014-06-23 02:05:00 coingenuity has quit (Ping timeout: 240 seconds)
 123 2014-06-23 02:05:45 coingenuity has joined
 124 2014-06-23 02:05:50 richcollins has joined
 125 2014-06-23 02:07:03 ak__ has quit (Ping timeout: 240 seconds)
 126 2014-06-23 02:09:00 belcher_ has quit (Quit: Leaving)
 127 2014-06-23 02:10:15 djoot has joined
 128 2014-06-23 02:10:15 djoot has quit (Changing host)
 129 2014-06-23 02:10:15 djoot has joined
 130 2014-06-23 02:10:31 micronxd has quit (Quit: micronxd)
 131 2014-06-23 02:12:01 gazab has quit (Ping timeout: 240 seconds)
 132 2014-06-23 02:12:07 dekalo has quit (Quit: Ex-Chat)
 133 2014-06-23 02:12:17 gazab has joined
 134 2014-06-23 02:14:04 ronkrt-bnc is now known as ronkrt
 135 2014-06-23 02:16:53 sahlhoff has quit (Quit: sahlhoff)
 136 2014-06-23 02:16:54 MaxSan has quit (Ping timeout: 240 seconds)
 137 2014-06-23 02:16:54 kuzetsa has quit (Ping timeout: 240 seconds)
 138 2014-06-23 02:16:55 kuzetsa has joined
 139 2014-06-23 02:20:00 MaxSan has joined
 140 2014-06-23 02:21:28 micronxd has joined
 141 2014-06-23 02:22:01 T19EL has quit (Ping timeout: 240 seconds)
 142 2014-06-23 02:22:33 kuzetsa is now known as Guest56431
 143 2014-06-23 02:23:15 T19EL has joined
 144 2014-06-23 02:23:53 YoY has quit (Ping timeout: 255 seconds)
 145 2014-06-23 02:24:01 Subo1977 has joined
 146 2014-06-23 02:24:34 MaxSan has quit (Ping timeout: 245 seconds)
 147 2014-06-23 02:25:45 mapppum has joined
 148 2014-06-23 02:25:50 YoY has joined
 149 2014-06-23 02:26:03 yubrew has joined
 150 2014-06-23 02:28:12 Subo1977_ has quit (Ping timeout: 264 seconds)
 151 2014-06-23 02:29:02 MaxSan has joined
 152 2014-06-23 02:30:38 yubrew has quit (Ping timeout: 255 seconds)
 153 2014-06-23 02:33:02 MaxSan has quit (Ping timeout: 240 seconds)
 154 2014-06-23 02:37:21 MaxSan has joined
 155 2014-06-23 02:40:12 Aquent has quit (Ping timeout: 264 seconds)
 156 2014-06-23 02:40:59 mapppum has quit (Remote host closed the connection)
 157 2014-06-23 02:43:28 micronxd has quit (Quit: micronxd)
 158 2014-06-23 02:44:29 rnvk has joined
 159 2014-06-23 02:51:31 YoY has quit (Ping timeout: 240 seconds)
 160 2014-06-23 02:52:20 richcollins has quit (Quit: richcollins)
 161 2014-06-23 02:53:20 sahlhoff has joined
 162 2014-06-23 02:53:24 toffoo has joined
 163 2014-06-23 02:53:52 YoY has joined
 164 2014-06-23 02:57:05 ak__ has joined
 165 2014-06-23 02:58:13 brson has quit (Read error: Connection reset by peer)
 166 2014-06-23 02:58:24 hsmiths has quit (Read error: Connection reset by peer)
 167 2014-06-23 02:58:28 hsmiths2 has joined
 168 2014-06-23 03:00:00 akstunt600 has quit (Ping timeout: 240 seconds)
 169 2014-06-23 03:01:29 mapppum has joined
 170 2014-06-23 03:04:10 rebroad has joined
 171 2014-06-23 03:05:31 <rebroad> Hi.. quick question.. I'm trying to CAddrMan::Add, and I currently have a variable "addr" which is a CService. How do I pass this to Add please?
 172 2014-06-23 03:06:58 kazcw has quit (Ping timeout: 244 seconds)
 173 2014-06-23 03:08:01 YoY has quit (Ping timeout: 244 seconds)
 174 2014-06-23 03:11:29 closer has quit (Ping timeout: 252 seconds)
 175 2014-06-23 03:11:30 TheSeven has quit (Ping timeout: 272 seconds)
 176 2014-06-23 03:11:34 MaxSan has quit (Ping timeout: 264 seconds)
 177 2014-06-23 03:11:52 kazcw has joined
 178 2014-06-23 03:11:59 mrkent has joined
 179 2014-06-23 03:12:52 embicoin has quit (Ping timeout: 240 seconds)
 180 2014-06-23 03:13:00 TheSeven has joined
 181 2014-06-23 03:14:29 closer has joined
 182 2014-06-23 03:15:11 YoY has joined
 183 2014-06-23 03:20:00 yubrew has joined
 184 2014-06-23 03:20:03 MaxSan has joined
 185 2014-06-23 03:24:10 mrkent has quit (Ping timeout: 272 seconds)
 186 2014-06-23 03:24:31 yubrew has quit (Ping timeout: 240 seconds)
 187 2014-06-23 03:28:15 MaxSan has quit (Ping timeout: 255 seconds)
 188 2014-06-23 03:31:14 Denim-junior has quit (Ping timeout: 245 seconds)
 189 2014-06-23 03:33:02 debiantoruser has quit (Ping timeout: 272 seconds)
 190 2014-06-23 03:33:53 MaxSan has joined
 191 2014-06-23 03:34:22 embicoin has joined
 192 2014-06-23 03:34:23 debiantoruser has joined
 193 2014-06-23 03:34:24 jgarzik has joined
 194 2014-06-23 03:36:20 kgk has joined
 195 2014-06-23 03:38:06 rebroad has quit (Ping timeout: 272 seconds)
 196 2014-06-23 03:40:02 digitalmagus8 has quit (Ping timeout: 244 seconds)
 197 2014-06-23 03:43:19 coingenuity has quit (Ping timeout: 245 seconds)
 198 2014-06-23 03:45:26 altesc has joined
 199 2014-06-23 03:47:57 mapppum has quit (Remote host closed the connection)
 200 2014-06-23 03:50:00 MaxSan has quit (Ping timeout: 240 seconds)
 201 2014-06-23 03:50:49 akstunt600 has joined
 202 2014-06-23 03:52:25 MaxSan has joined
 203 2014-06-23 03:53:56 ak__ has quit (Ping timeout: 272 seconds)
 204 2014-06-23 03:59:35 YoY has quit (Ping timeout: 264 seconds)
 205 2014-06-23 04:01:38 YoY has joined
 206 2014-06-23 04:03:18 mapppum has joined
 207 2014-06-23 04:08:26 wallet421 has joined
 208 2014-06-23 04:08:26 wallet42 has quit (Killed (hobana.freenode.net (Nickname regained by services)))
 209 2014-06-23 04:08:26 wallet421 is now known as wallet42
 210 2014-06-23 04:08:47 cadaver has joined
 211 2014-06-23 04:09:20 toffoo has quit ()
 212 2014-06-23 04:09:53 CoinHeavy has joined
 213 2014-06-23 04:10:31 mapppum has quit (Remote host closed the connection)
 214 2014-06-23 04:14:11 yubrew has joined
 215 2014-06-23 04:15:03 YoY has quit (Ping timeout: 255 seconds)
 216 2014-06-23 04:16:32 Eiii has quit ()
 217 2014-06-23 04:18:57 mrkent has joined
 218 2014-06-23 04:18:57 mrkent has quit (Changing host)
 219 2014-06-23 04:18:57 mrkent has joined
 220 2014-06-23 04:19:16 yubrew has quit (Ping timeout: 272 seconds)
 221 2014-06-23 04:19:16 kgk has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
 222 2014-06-23 04:19:59 YoY has joined
 223 2014-06-23 04:20:10 Eiii has joined
 224 2014-06-23 04:20:11 Eiii has quit (Changing host)
 225 2014-06-23 04:20:11 Eiii has joined
 226 2014-06-23 04:21:23 ionstorm has quit (Quit: Leaving)
 227 2014-06-23 04:25:09 Eiii has quit ()
 228 2014-06-23 04:26:33 MaxSan has quit (Ping timeout: 244 seconds)
 229 2014-06-23 04:29:12 Eiii has joined
 230 2014-06-23 04:29:12 Eiii has quit (Changing host)
 231 2014-06-23 04:29:12 Eiii has joined
 232 2014-06-23 04:30:37 p8m_ has joined
 233 2014-06-23 04:33:01 p8m has quit (Ping timeout: 240 seconds)
 234 2014-06-23 04:35:40 MaxSan has joined
 235 2014-06-23 04:44:34 MaxSan has quit (Ping timeout: 245 seconds)
 236 2014-06-23 04:45:20 banghouse has quit (Remote host closed the connection)
 237 2014-06-23 04:46:19 altesc has quit (Remote host closed the connection)
 238 2014-06-23 04:46:59 akstunt600 has quit (Ping timeout: 264 seconds)
 239 2014-06-23 04:47:39 Eiii has quit ()
 240 2014-06-23 04:50:53 Eiii has joined
 241 2014-06-23 04:51:01 Eiii has quit (Changing host)
 242 2014-06-23 04:51:01 Eiii has joined
 243 2014-06-23 04:55:10 n0n0 has joined
 244 2014-06-23 04:55:31 copumpkin has joined
 245 2014-06-23 04:56:00 MaxSan has joined
 246 2014-06-23 04:56:11 Knuk_ is now known as Knuk
 247 2014-06-23 05:00:18 digitalmagus8 has joined
 248 2014-06-23 05:00:28 akstunt600 has joined
 249 2014-06-23 05:01:31 mrkent has quit (Ping timeout: 240 seconds)
 250 2014-06-23 05:01:39 mike has joined
 251 2014-06-23 05:02:03 mike is now known as Guest18530
 252 2014-06-23 05:03:46 Guest18530 has quit (Client Quit)
 253 2014-06-23 05:03:48 Eiii has quit ()
 254 2014-06-23 05:04:45 cadaver has quit (Remote host closed the connection)
 255 2014-06-23 05:06:03 Aido_ has joined
 256 2014-06-23 05:07:34 Eiii has joined
 257 2014-06-23 05:08:02 Aido has quit (Ping timeout: 272 seconds)
 258 2014-06-23 05:08:26 yubrew has joined
 259 2014-06-23 05:13:03 yubrew has quit (Ping timeout: 244 seconds)
 260 2014-06-23 05:18:48 MolokoDeck has quit (Ping timeout: 272 seconds)
 261 2014-06-23 05:28:29 torsthaldo has quit (Quit: Leaving.)
 262 2014-06-23 05:30:50 digitalmagus8 has quit (Ping timeout: 272 seconds)
 263 2014-06-23 05:37:17 ak__ has joined
 264 2014-06-23 05:40:33 akstunt600 has quit (Ping timeout: 255 seconds)
 265 2014-06-23 05:42:39 lachesis has quit (Quit: ZNC - http://znc.in)
 266 2014-06-23 05:43:11 lachesis has joined
 267 2014-06-23 05:45:08 yjerem has joined
 268 2014-06-23 05:55:02 mrkent has joined
 269 2014-06-23 05:55:37 Gyps has quit (Quit: Gyps)
 270 2014-06-23 05:55:52 davout has quit (Quit: kthxbye)
 271 2014-06-23 05:56:28 Luke-Jr has quit (Excess Flood)
 272 2014-06-23 05:57:16 Luke-Jr has joined
 273 2014-06-23 05:58:32 ShawnLeary has quit (Ping timeout: 240 seconds)
 274 2014-06-23 05:59:33 ShawnLeary has joined
 275 2014-06-23 06:02:34 Guest56431 is now known as kuzetsa
 276 2014-06-23 06:02:34 kuzetsa has quit (Changing host)
 277 2014-06-23 06:02:34 kuzetsa has joined
 278 2014-06-23 06:03:27 Luke-Jr has quit (Read error: Connection reset by peer)
 279 2014-06-23 06:03:39 Luke-Jr has joined
 280 2014-06-23 06:09:36 weilu_ has quit (Remote host closed the connection)
 281 2014-06-23 06:09:54 benrcole has joined
 282 2014-06-23 06:11:26 papa2 has joined
 283 2014-06-23 06:11:36 robonerd has quit (Ping timeout: 255 seconds)
 284 2014-06-23 06:12:33 neozaru has joined
 285 2014-06-23 06:14:07 robonerd has joined
 286 2014-06-23 06:14:09 mrkent has quit (Ping timeout: 245 seconds)
 287 2014-06-23 06:15:00 papa3 has quit (Ping timeout: 264 seconds)
 288 2014-06-23 06:16:43 CoinHeavy has quit (Quit: CoinHeavy)
 289 2014-06-23 06:18:06 kindoge has quit (Quit: ZNC - http://znc.in)
 290 2014-06-23 06:19:30 kindoge has joined
 291 2014-06-23 06:20:45 coingenuity has joined
 292 2014-06-23 06:22:05 ShawnLeary has quit (Read error: Connection reset by peer)
 293 2014-06-23 06:22:41 coingenuity has quit (Read error: Connection reset by peer)
 294 2014-06-23 06:23:04 erasmospunk has joined
 295 2014-06-23 06:23:09 Arnavion has quit (Disconnected by services)
 296 2014-06-23 06:23:15 Arnavion3 has joined
 297 2014-06-23 06:23:19 Arnavion3 is now known as Arnavion
 298 2014-06-23 06:23:52 ShawnLeary has joined
 299 2014-06-23 06:24:58 coingenuity has joined
 300 2014-06-23 06:25:07 Luke-Jr has quit (Excess Flood)
 301 2014-06-23 06:25:23 coingenuity is now known as Guest77688
 302 2014-06-23 06:25:28 Luke-Jr has joined
 303 2014-06-23 06:26:25 Guest77688 has quit (Read error: Connection reset by peer)
 304 2014-06-23 06:27:15 guest55213 has joined
 305 2014-06-23 06:32:25 Sambler has joined
 306 2014-06-23 06:32:25 soulblade738 has quit (Quit: soulblade738)
 307 2014-06-23 06:32:25 akstunt600 has joined
 308 2014-06-23 06:32:25 BlueMatt has quit (Ping timeout: 264 seconds)
 309 2014-06-23 06:32:32 BlueMatt has joined
 310 2014-06-23 06:32:43 pjanik has joined
 311 2014-06-23 06:32:58 pjanik has quit (Remote host closed the connection)
 312 2014-06-23 06:33:02 ak__ has quit (Ping timeout: 240 seconds)
 313 2014-06-23 06:35:29 guest55213 has quit (Read error: Connection reset by peer)
 314 2014-06-23 06:35:42 <Krellan> Nice
 315 2014-06-23 06:36:02 <Krellan> 0.9.2 had a bad bug on my Mac with the fonts
 316 2014-06-23 06:36:07 <Krellan> 0.9.2.1 has fixed it
 317 2014-06-23 06:36:11 guest55213 has joined
 318 2014-06-23 06:36:14 paveljanik has quit (Ping timeout: 244 seconds)
 319 2014-06-23 06:36:16 <Krellan> Thanks
 320 2014-06-23 06:37:26 analogmind_work has joined
 321 2014-06-23 06:38:03 guest55213 has quit (Read error: Connection reset by peer)
 322 2014-06-23 06:39:09 guest55213 has joined
 323 2014-06-23 06:39:50 guest55213 has quit (Read error: Connection reset by peer)
 324 2014-06-23 06:40:04 ender42 has joined
 325 2014-06-23 06:40:28 weilu has joined
 326 2014-06-23 06:41:06 guest55213 has joined
 327 2014-06-23 06:41:07 guest55213 has quit (Read error: Connection reset by peer)
 328 2014-06-23 06:42:09 weilu has quit (Read error: Connection reset by peer)
 329 2014-06-23 06:42:22 weilu has joined
 330 2014-06-23 06:42:23 Gyps has joined
 331 2014-06-23 06:42:30 Gyps has quit (Client Quit)
 332 2014-06-23 06:43:07 sabbie is now known as Sabbie
 333 2014-06-23 06:43:23 MoALTz has quit (Quit: Leaving)
 334 2014-06-23 06:43:36 guest55213 has joined
 335 2014-06-23 06:45:03 ielo has joined
 336 2014-06-23 06:45:58 banghouse has joined
 337 2014-06-23 06:47:53 weilu has quit (Remote host closed the connection)
 338 2014-06-23 06:47:56 digitalmagus8 has joined
 339 2014-06-23 06:49:23 <wumpus> Krellan: yes, seemingly no one with MacOSX 10.9 tested the RC, so the font issue only came to light in the release
 340 2014-06-23 06:50:30 banghouse has quit (Ping timeout: 240 seconds)
 341 2014-06-23 06:54:06 sahlhoff has left ()
 342 2014-06-23 06:54:59 ielo_ has joined
 343 2014-06-23 06:55:23 guest55213 has quit (Ping timeout: 264 seconds)
 344 2014-06-23 06:56:22 GM0127 has joined
 345 2014-06-23 06:56:43 yubrew has joined
 346 2014-06-23 07:01:02 yubrew has quit (Ping timeout: 240 seconds)
 347 2014-06-23 07:02:46 guest55213 has joined
 348 2014-06-23 07:03:05 Sabbie is now known as sabbie
 349 2014-06-23 07:03:27 guest55213 has quit (Read error: Connection reset by peer)
 350 2014-06-23 07:04:35 implr has quit (Ping timeout: 240 seconds)
 351 2014-06-23 07:04:51 guest55213 has joined
 352 2014-06-23 07:05:16 <Krellan> wumpus: Yikes, good to know.  Will have to pay more attention to the RC's when they come out.
 353 2014-06-23 07:05:40 guest55213 has quit (Read error: Connection reset by peer)
 354 2014-06-23 07:06:57 guest55213 has joined
 355 2014-06-23 07:07:52 guest55213 is now known as coingenuity
 356 2014-06-23 07:07:59 coingenuity has quit (Read error: Connection reset by peer)
 357 2014-06-23 07:09:44 erasmospunk has quit (Remote host closed the connection)
 358 2014-06-23 07:09:53 davout has joined
 359 2014-06-23 07:12:10 coingenuity has joined
 360 2014-06-23 07:12:17 coingenuity has quit (Read error: Connection reset by peer)
 361 2014-06-23 07:13:13 coingenuity has joined
 362 2014-06-23 07:13:14 coingenuity has quit (Changing host)
 363 2014-06-23 07:13:14 coingenuity has joined
 364 2014-06-23 07:13:32 coingenuity has quit (Read error: Connection reset by peer)
 365 2014-06-23 07:14:30 coingenuity has joined
 366 2014-06-23 07:17:00 ielo has quit (Ping timeout: 240 seconds)
 367 2014-06-23 07:17:02 ielo_ has quit (Ping timeout: 240 seconds)
 368 2014-06-23 07:17:17 eristisk has quit (Remote host closed the connection)
 369 2014-06-23 07:17:18 damethos has joined
 370 2014-06-23 07:17:45 eristisk has joined
 371 2014-06-23 07:18:28 Grouver has joined
 372 2014-06-23 07:19:35 moarrr_motocoin has joined
 373 2014-06-23 07:22:46 abossard has joined
 374 2014-06-23 07:22:55 lolstate has joined
 375 2014-06-23 07:23:55 ak__ has joined
 376 2014-06-23 07:24:51 erasmospunk has joined
 377 2014-06-23 07:25:48 jctb has quit (Ping timeout: 264 seconds)
 378 2014-06-23 07:26:22 plaprade has joined
 379 2014-06-23 07:26:35 coingenuity has quit (Quit: coingenuity.com)
 380 2014-06-23 07:27:00 papa2 has quit (Ping timeout: 264 seconds)
 381 2014-06-23 07:27:01 akstunt600 has quit (Ping timeout: 240 seconds)
 382 2014-06-23 07:27:03 coingenuity has joined
 383 2014-06-23 07:27:04 coingenuity has quit (Read error: Connection reset by peer)
 384 2014-06-23 07:28:42 coingenuity has joined
 385 2014-06-23 07:29:19 papa2 has joined
 386 2014-06-23 07:29:44 lclc has joined
 387 2014-06-23 07:29:47 Coincidental has quit (Remote host closed the connection)
 388 2014-06-23 07:30:01 jctb has joined
 389 2014-06-23 07:30:16 Sambler has quit (Quit: Leaving)
 390 2014-06-23 07:31:53 ThomasV has joined
 391 2014-06-23 07:32:15 coingenuity has quit (Read error: Connection reset by peer)
 392 2014-06-23 07:33:12 coingenuity has joined
 393 2014-06-23 07:35:30 rubensayshi has joined
 394 2014-06-23 07:35:53 epscy has joined
 395 2014-06-23 07:37:55 at0mat_ has joined
 396 2014-06-23 07:39:57 coingenuity has quit (Read error: Connection reset by peer)
 397 2014-06-23 07:40:59 at0mat has quit (Ping timeout: 264 seconds)
 398 2014-06-23 07:41:05 coingenuity has joined
 399 2014-06-23 07:41:13 moarrr_motocoin is now known as moarrr
 400 2014-06-23 07:41:37 eristisk has quit (Remote host closed the connection)
 401 2014-06-23 07:41:57 eristisk has joined
 402 2014-06-23 07:45:48 paveljanik has joined
 403 2014-06-23 07:46:09 coingenuity has quit (Read error: Connection reset by peer)
 404 2014-06-23 07:47:29 weilu has joined
 405 2014-06-23 07:48:37 Subo1977 has quit (Remote host closed the connection)
 406 2014-06-23 07:48:59 Subo1977 has joined
 407 2014-06-23 07:49:07 implr has joined
 408 2014-06-23 07:49:33 random_cat_ has quit (Remote host closed the connection)
 409 2014-06-23 07:50:44 random_cat_ has joined
 410 2014-06-23 07:50:56 yubrew has joined
 411 2014-06-23 07:51:48 wallet42 has quit (Quit: Leaving.)
 412 2014-06-23 07:55:17 yubrew has quit (Ping timeout: 244 seconds)
 413 2014-06-23 07:59:02 shesek has quit (Ping timeout: 272 seconds)
 414 2014-06-23 08:03:30 benrcole has quit (Ping timeout: 240 seconds)
 415 2014-06-23 08:04:55 Eiii has quit ()
 416 2014-06-23 08:05:51 rubensayshi has quit (Remote host closed the connection)
 417 2014-06-23 08:05:54 moarrr has quit ()
 418 2014-06-23 08:06:05 CheckDavid has joined
 419 2014-06-23 08:06:24 tarantillo_ has quit (Remote host closed the connection)
 420 2014-06-23 08:06:49 tarantillo_ has joined
 421 2014-06-23 08:07:18 coingenuity has joined
 422 2014-06-23 08:07:33 coingenuity has quit (Read error: Connection reset by peer)
 423 2014-06-23 08:08:48 coingenuity has joined
 424 2014-06-23 08:08:53 coingenuity has quit (Read error: Connection reset by peer)
 425 2014-06-23 08:09:55 coingenuity has joined
 426 2014-06-23 08:09:57 coingenuity has quit (Changing host)
 427 2014-06-23 08:09:57 coingenuity has joined
 428 2014-06-23 08:10:14 coingenuity has quit (Read error: Connection reset by peer)
 429 2014-06-23 08:11:19 coingenuity has joined
 430 2014-06-23 08:11:21 coingenuity has quit (Changing host)
 431 2014-06-23 08:11:22 coingenuity has joined
 432 2014-06-23 08:12:01 wallet42 has joined
 433 2014-06-23 08:14:04 sirk390 has joined
 434 2014-06-23 08:17:16 akstunt600 has joined
 435 2014-06-23 08:17:46 t7 has joined
 436 2014-06-23 08:18:02 debiantoruser has quit (Ping timeout: 272 seconds)
 437 2014-06-23 08:19:49 debiantoruser has joined
 438 2014-06-23 08:20:00 ak__ has quit (Ping timeout: 240 seconds)
 439 2014-06-23 08:28:26 sirk3901 has joined
 440 2014-06-23 08:30:30 sirk390 has quit (Ping timeout: 240 seconds)
 441 2014-06-23 08:30:35 weilu has quit (Remote host closed the connection)
 442 2014-06-23 08:31:03 sirk390 has joined
 443 2014-06-23 08:31:57 jtimon has joined
 444 2014-06-23 08:33:00 sirk3901 has quit (Ping timeout: 240 seconds)
 445 2014-06-23 08:34:00 damethos has quit (Ping timeout: 240 seconds)
 446 2014-06-23 08:35:36 rubensayshi has joined
 447 2014-06-23 08:35:46 sirk390 has quit (Ping timeout: 272 seconds)
 448 2014-06-23 08:36:23 sirk390 has joined
 449 2014-06-23 08:37:19 sirk3901 has joined
 450 2014-06-23 08:38:03 tjopper1 has joined
 451 2014-06-23 08:38:18 Subo1977 has quit (Remote host closed the connection)
 452 2014-06-23 08:39:03 sirk3902 has joined
 453 2014-06-23 08:39:31 Subo1977 has joined
 454 2014-06-23 08:40:25 weilu has joined
 455 2014-06-23 08:40:30 sirk390 has quit (Ping timeout: 240 seconds)
 456 2014-06-23 08:41:26 n0n0 has quit (Ping timeout: 264 seconds)
 457 2014-06-23 08:41:30 sirk3901 has quit (Ping timeout: 240 seconds)
 458 2014-06-23 08:43:29 Subo1977 has quit (Remote host closed the connection)
 459 2014-06-23 08:43:57 benrcole has joined
 460 2014-06-23 08:45:05 yubrew has joined
 461 2014-06-23 08:45:10 benrcole1 has joined
 462 2014-06-23 08:45:22 Subo1977 has joined
 463 2014-06-23 08:45:31 aschildbach has joined
 464 2014-06-23 08:47:10 banghouse has joined
 465 2014-06-23 08:47:42 benrcole1 has quit (Read error: Connection reset by peer)
 466 2014-06-23 08:48:12 benrcole1 has joined
 467 2014-06-23 08:48:32 ThomasV has quit (Ping timeout: 240 seconds)
 468 2014-06-23 08:48:47 benrcole has quit (Ping timeout: 264 seconds)
 469 2014-06-23 08:49:32 yubrew has quit (Ping timeout: 240 seconds)
 470 2014-06-23 08:50:04 W0rmDr1nk has joined
 471 2014-06-23 08:50:52 impulse has joined
 472 2014-06-23 08:51:48 banghouse has quit (Ping timeout: 255 seconds)
 473 2014-06-23 08:52:18 benrcole has joined
 474 2014-06-23 08:52:59 benrcole1 has quit (Ping timeout: 264 seconds)
 475 2014-06-23 08:53:04 benrcole has quit (Read error: No route to host)
 476 2014-06-23 08:53:18 benrcole has joined
 477 2014-06-23 08:54:03 digitalmagus8 has quit (Ping timeout: 255 seconds)
 478 2014-06-23 08:54:30 weilu has quit (Remote host closed the connection)
 479 2014-06-23 09:00:24 davout has quit (Quit: kthxbye)
 480 2014-06-23 09:03:15 ThomasV has joined
 481 2014-06-23 09:04:15 graingert has joined
 482 2014-06-23 09:05:07 djcoin_ has joined
 483 2014-06-23 09:09:45 MaxSan has quit (Quit: Leaving.)
 484 2014-06-23 09:10:20 ak__ has joined
 485 2014-06-23 09:14:25 akstunt600 has quit (Ping timeout: 272 seconds)
 486 2014-06-23 09:15:24 dipendra has joined
 487 2014-06-23 09:16:21 soulblade738 has joined
 488 2014-06-23 09:21:04 rebroad has joined
 489 2014-06-23 09:21:31 rebroad is now known as Guest13725
 490 2014-06-23 09:22:24 djcoin_ has quit (Ping timeout: 264 seconds)
 491 2014-06-23 09:22:55 djcoin_ has joined
 492 2014-06-23 09:24:13 shesek has joined
 493 2014-06-23 09:24:45 ielo_ has joined
 494 2014-06-23 09:25:54 skinnkavaj has joined
 495 2014-06-23 09:27:47 JZavala has quit (Ping timeout: 264 seconds)
 496 2014-06-23 09:28:59 dipendra has quit (Ping timeout: 264 seconds)
 497 2014-06-23 09:32:14 beachandbytes has joined
 498 2014-06-23 09:39:15 yubrew has joined
 499 2014-06-23 09:39:32 JackH has joined
 500 2014-06-23 09:43:32 yubrew has quit (Ping timeout: 240 seconds)
 501 2014-06-23 09:48:32 Sambler has joined
 502 2014-06-23 09:48:59 dipendra has joined
 503 2014-06-23 09:49:05 damethos has joined
 504 2014-06-23 09:51:48 yano has quit (Remote host closed the connection)
 505 2014-06-23 09:52:05 Aquent has joined
 506 2014-06-23 09:58:41 mapppum has joined
 507 2014-06-23 10:02:04 coingenuity has quit (Quit: coingenuity.com)
 508 2014-06-23 10:03:37 B51Num1 has quit (Quit: Going offline, see ya! (www.adiirc.com))
 509 2014-06-23 10:03:54 coingenuity has joined
 510 2014-06-23 10:04:13 akstunt600 has joined
 511 2014-06-23 10:05:38 coingenuity has quit (Read error: Connection reset by peer)
 512 2014-06-23 10:06:02 damethos has quit (Quit: Bye)
 513 2014-06-23 10:06:34 coingenuity has joined
 514 2014-06-23 10:06:37 CheckDavid has quit (Quit: Connection closed for inactivity)
 515 2014-06-23 10:06:38 coingenuity has quit (Read error: Connection reset by peer)
 516 2014-06-23 10:06:39 ak__ has quit (Ping timeout: 245 seconds)
 517 2014-06-23 10:08:24 <jtimon> in rpcmining.cpp in function getblocktemplate pblock->nBits is used for "bits" and "target" returned fields, but it is only set to anything different than 0 in the testnet case (inside UpdateTime)
 518 2014-06-23 10:08:40 MaxSan has joined
 519 2014-06-23 10:08:48 <jtimon> does it really need to be set in that case or a 0 will do it like in the other cases?
 520 2014-06-23 10:08:49 [EddyF]_ has joined
 521 2014-06-23 10:09:13 coingenuity has joined
 522 2014-06-23 10:09:36 <sipa> yes, as updating the time may change the difficulty for testnet
 523 2014-06-23 10:09:45 <sipa> because of the 20-minute rule
 524 2014-06-23 10:09:53 coingenuity has quit (Read error: Connection reset by peer)
 525 2014-06-23 10:10:07 <jtimon> pblock->nNonce is also set to 0 but not used (it was 0 from the constructor)
 526 2014-06-23 10:11:16 <jtimon> sipa: but unless I'm missing something getblocktemplate will always return nBits = 0 for the mainnet and regtest cases, why would a 0 be wrong in testnet?
 527 2014-06-23 10:11:26 B51Num1 has joined
 528 2014-06-23 10:12:01 Aquent has quit (Ping timeout: 264 seconds)
 529 2014-06-23 10:13:02 <sipa> that would be a serious bug
 530 2014-06-23 10:13:23 MaxSan has quit (Ping timeout: 264 seconds)
 531 2014-06-23 10:13:51 coingenuity has joined
 532 2014-06-23 10:14:00 <sipa> it works fine here on my head-as-of-a-few-weeks-ago instance
 533 2014-06-23 10:15:05 coingenuity has quit (Read error: Connection reset by peer)
 534 2014-06-23 10:15:49 <jtimon> I'm circling on "pblock->nBits" and "pblocktemplate" after PR #4100 and nBits doesn't seem to be set to GetNextWorkRequired(pindexPrev, pblock) anywhere (besides, as said, UpdateTime in testnet case)
 535 2014-06-23 10:16:26 coingenuity has joined
 536 2014-06-23 10:16:36 <jtimon> well, I'm at yesterday's head
 537 2014-06-23 10:17:00 <jtimon> origin/master  master 6b40eabb Merge pull request #4381
 538 2014-06-23 10:17:53 coingenuity has quit (Read error: Connection reset by peer)
 539 2014-06-23 10:18:46 [nshiary] has joined
 540 2014-06-23 10:18:51 mapppum has quit (Remote host closed the connection)
 541 2014-06-23 10:18:56 <sipa> maybe a recently introduced bug
 542 2014-06-23 10:19:21 coingenuity has joined
 543 2014-06-23 10:20:13 coingenuity has quit (Read error: Connection reset by peer)
 544 2014-06-23 10:20:29 xenog has joined
 545 2014-06-23 10:21:01 paveljanik has quit (Ping timeout: 240 seconds)
 546 2014-06-23 10:22:24 coingenuity has joined
 547 2014-06-23 10:22:50 coingenuity has quit (Read error: Connection reset by peer)
 548 2014-06-23 10:24:01 <jtimon> I'll review the history of the file
 549 2014-06-23 10:24:03 llllllllll has joined
 550 2014-06-23 10:24:18 CheckDavid has joined
 551 2014-06-23 10:24:48 Aquent has joined
 552 2014-06-23 10:25:43 <sipa> 4100 changed quite some things, it may be the offender
 553 2014-06-23 10:26:52 <michagogo> Gah, I need to remember to rebase my PR when I'm at my computer
 554 2014-06-23 10:27:26 <michagogo> To do that I just use `git rebase upstream/master`, right?
 555 2014-06-23 10:27:43 Aquent_ has joined
 556 2014-06-23 10:27:54 <michagogo> (with the PR branch checked out)
 557 2014-06-23 10:29:09 MaxSan has joined
 558 2014-06-23 10:29:15 ThomasV has quit (Ping timeout: 244 seconds)
 559 2014-06-23 10:30:44 <jtimon> sipa, that's what I thought, but it seems previous to merging #3824
 560 2014-06-23 10:31:13 Aquent has quit (Ping timeout: 264 seconds)
 561 2014-06-23 10:33:21 coingenuity has joined
 562 2014-06-23 10:34:03 sirk390 has joined
 563 2014-06-23 10:34:32 Denim-junior has joined
 564 2014-06-23 10:34:58 <jtimon> seems quite old, in 450cbb09 Ultraprune rpcmining.cpp didn't contained any set on pblock->nBits/pblocktemplate->nBits
 565 2014-06-23 10:35:21 <sipa> are you actually calling the getblocktemplate RPC and looking at the result?
 566 2014-06-23 10:35:40 <jtimon> are we 100% sure that the nBits must be set on rpcmining.cpp?
 567 2014-06-23 10:35:49 <jtimon> sipa, no, just looking at the code
 568 2014-06-23 10:36:07 sirk3902 has quit (Ping timeout: 272 seconds)
 569 2014-06-23 10:36:32 <sipa> i don't see nBits being set in rpcminining
 570 2014-06-23 10:37:04 Sambler has quit (Ping timeout: 245 seconds)
 571 2014-06-23 10:37:41 Emcy has quit (Read error: Connection reset by peer)
 572 2014-06-23 10:38:13 benrcole has quit (Quit: Leaving.)
 573 2014-06-23 10:40:21 <sipa> jtimon: i don't really have an idea of what code you're looking at
 574 2014-06-23 10:40:27 <sipa> the internal miner, or rpc?
 575 2014-06-23 10:40:40 <sipa> are you wondering about the code path that sets nBits in the block being constructed>
 576 2014-06-23 10:40:46 <jtimon> so maybe it's not necessary at all to do it there, neither in the testnet case
 577 2014-06-23 10:40:56 <sipa> in where?
 578 2014-06-23 10:41:07 <jtimon> yep, I'm wondering about htat code path
 579 2014-06-23 10:41:10 <michagogo> Hm, I wonder what's identifying itself as /Snoopy:0.1/
 580 2014-06-23 10:41:11 <jtimon> in rpcmining.cpp
 581 2014-06-23 10:41:11 <sipa> which?
 582 2014-06-23 10:41:15 <sipa> ok
 583 2014-06-23 10:41:19 <sipa> in getblocktemplate?
 584 2014-06-23 10:41:31 <jtimon> yep
 585 2014-06-23 10:41:34 <michagogo> Looks like address is 192.33.90.253
 586 2014-06-23 10:41:50 <jtimon> I can't find any set to nBits besides UpdateTime
 587 2014-06-23 10:42:11 <upb> descr:          ETHZ, Swiss Federal Institute of Technology Zurich
 588 2014-06-23 10:42:11 <upb> descr:          Zurich, Switzerland
 589 2014-06-23 10:42:14 <upb> heh
 590 2014-06-23 10:42:41 <michagogo> upb: interesting
 591 2014-06-23 10:43:00 <michagogo> I have 3 peers with the subver "/ETHZBitshark:0.9.1/",
 592 2014-06-23 10:43:10 <GAit> I think I know one of the guys that heads that group
 593 2014-06-23 10:44:19 <sipa> jtimon: CreateNewBlock calls UpdateTime
 594 2014-06-23 10:44:34 <michagogo> I don't see snoopy in getpeerinfo, just in version messages in the log
 595 2014-06-23 10:45:49 xenog has quit (Read error: Connection reset by peer)
 596 2014-06-23 10:45:56 <michagogo> Hm, why does getaddr.bitnodes.io claim to have 290000 blocks?
 597 2014-06-23 10:46:09 xenog has joined
 598 2014-06-23 10:46:23 <sipa> jtimon: and calls GetNextWorkRequired directly too
 599 2014-06-23 10:46:29 <GAit> actually, i am not sure anymore - maybe some other institute
 600 2014-06-23 10:47:54 banghouse has joined
 601 2014-06-23 10:48:35 <michagogo> Whoa
 602 2014-06-23 10:48:39 <michagogo> Massive flood of ERROR: AcceptToMemoryPool : inputs already spent
 603 2014-06-23 10:48:53 hearn has joined
 604 2014-06-23 10:51:58 <jtimon> sipa oh, sorry, yeah, getblocktemplate calls CreateNewBlock
 605 2014-06-23 10:51:58 <jtimon> Then I don't see the purpose of the additional call to UpdateTime ant to set nNonce to zero...
 606 2014-06-23 10:52:22 <jtimon> maybe I can just delete that
 607 2014-06-23 10:53:13 banghouse has quit (Ping timeout: 272 seconds)
 608 2014-06-23 10:54:32 <hearn> good morning
 609 2014-06-23 10:54:51 <sipa> jtimon: ah, now i see what you mean; yes, that looks safe
 610 2014-06-23 10:57:12 ak__ has joined
 611 2014-06-23 10:57:21 skinnkavaj has quit (Ping timeout: 255 seconds)
 612 2014-06-23 10:58:08 <jtimon> cool, thanks
 613 2014-06-23 11:00:01 akstunt600 has quit (Ping timeout: 240 seconds)
 614 2014-06-23 11:01:54 benrcole has joined
 615 2014-06-23 11:02:34 fanquake has joined
 616 2014-06-23 11:02:49 <hearn> sipa: would still be interested in your thoughts on the spv floating fee estimator algorithm i posted about, if you have time
 617 2014-06-23 11:03:25 micronxd has joined
 618 2014-06-23 11:03:47 micronxd has quit (Client Quit)
 619 2014-06-23 11:05:53 jtimon has quit (Ping timeout: 272 seconds)
 620 2014-06-23 11:08:26 <sipa> hearn: haven't read through the entire idea yet, but an attacker can just give you "return true" utxo's, which will always validate
 621 2014-06-23 11:08:41 <sipa> hearn: not a comment on the whole proposal, but the claim "thus authenticating it" isn't valid
 622 2014-06-23 11:08:48 <hearn> the script is covered in the signature hash
 623 2014-06-23 11:08:54 <hearn> as in, the correct script
 624 2014-06-23 11:09:09 <hearn> i thought i mentioned this in the proposal. maybe finish reading it first?
 625 2014-06-23 11:10:52 <sipa> if the output being spent has no checksig, there is no signature, though as long as we rely on no such transaction being standard relayable, that is not a problem
 626 2014-06-23 11:11:58 <hearn> any such outputs are stealable anyway, unless we assume complicated new additions to script
 627 2014-06-23 11:12:04 <hearn> so that is an edge case that doesn't worry me much
 628 2014-06-23 11:12:06 <sipa> agree, let's ignore that problem
 629 2014-06-23 11:12:09 Burrito has joined
 630 2014-06-23 11:12:31 <Luke-Jr> wow, this describes a common thing http://mywiki.wooledge.org/XyProblem
 631 2014-06-23 11:15:37 skinnkavaj has joined
 632 2014-06-23 11:17:29 shesek has quit (Ping timeout: 245 seconds)
 633 2014-06-23 11:18:36 <hearn> sipa: so do you agree that it actually is retroactively authenticated, for transactions that require a signature?
 634 2014-06-23 11:18:48 <hearn> for *outputs* that require a signature
 635 2014-06-23 11:19:01 <gdm85> morning everybody
 636 2014-06-23 11:19:02 <sipa> hearn: the script, yes
 637 2014-06-23 11:19:09 <sipa> hearn: but it's the amount you're interested in
 638 2014-06-23 11:19:24 <hearn> indeed, which is why I said it also needs the value to be covered by the signature hash as well.
 639 2014-06-23 11:19:24 <sipa> and yes, you know the that the spending transaction is valid, and used the right input amounts
 640 2014-06-23 11:19:28 <gdm85> nice to see discussion on mailing list about wallet separation
 641 2014-06-23 11:19:29 <sipa> because of that
 642 2014-06-23 11:19:42 MobChrome has left ()
 643 2014-06-23 11:19:47 <hearn> however, once that task is done, getutxo doesn't need any changes as the value is already included.
 644 2014-06-23 11:19:57 <sipa> right
 645 2014-06-23 11:19:58 <gdm85> wumpus: online?
 646 2014-06-23 11:21:31 <wumpus> sipa: https://github.com/bitcoin/bitcoin/pull/4198/files would make nLastBlockProcess update only when receiving a block; in principle it makes sense I think?
 647 2014-06-23 11:21:33 <sipa> hearn: so, what you really need is authenticated information about transactions' spent coins values?
 648 2014-06-23 11:21:47 <sipa> wumpus: i tried that first, and it disconnects everyone :)
 649 2014-06-23 11:22:12 <wumpus> ok...
 650 2014-06-23 11:22:23 <sipa> wumpus: though the current solution is certainly suboptimal
 651 2014-06-23 11:22:34 <hearn> sipa: no. for my current app what i need is getutxo. but later if/when we implement more decentralised floating fee logic, the same command will be useful then too.
 652 2014-06-23 11:22:44 <sipa> hearn: right, i'm talking about this use case
 653 2014-06-23 11:22:49 <sipa> not about lighthouse
 654 2014-06-23 11:22:51 <hearn> right
 655 2014-06-23 11:22:56 justusranvier_ has joined
 656 2014-06-23 11:23:08 <hearn> yes, what we actually need to know is the fee that was paid for arbitrary spent transactions
 657 2014-06-23 11:23:35 <sipa> i did hear another idea about fee logic for SPV
 658 2014-06-23 11:23:39 <wumpus> I suppose it shouldn't disconnect all nodes it is not receiving blocks from, probably only if it is the node it has requested blocks from
 659 2014-06-23 11:23:40 <hearn> a simpler/more direct method would be for tx3 transactions to redundantly specify their fee size in the serialized format
 660 2014-06-23 11:23:54 <sipa> wumpus: right, i was exaggerating
 661 2014-06-23 11:23:55 <hearn> however that bloats up the block chain and introduces potential for divergence. it may still be a better solution though
 662 2014-06-23 11:24:16 <sipa> wumpus: the problem is that block processing can take a really long time if orphans are being reconnected
 663 2014-06-23 11:24:21 <sipa> wumpus: which can trigger the timeout
 664 2014-06-23 11:24:21 justusranvier has quit (Ping timeout: 255 seconds)
 665 2014-06-23 11:24:28 Chief_Panda has joined
 666 2014-06-23 11:24:32 <hearn> but given we want to put value under the sighash anyway, for TREZOR which also wants to know the fee, it seems best to just reuse that
 667 2014-06-23 11:24:38 justusranvier_ is now known as justusranvier
 668 2014-06-23 11:24:45 <wumpus> sipa: ah
 669 2014-06-23 11:25:04 <sipa> hearn: so, no objection at all to including the value in the sighash; adding it to transactions... less sure
 670 2014-06-23 11:25:20 <hearn> right. if we change the sighash rule there is no need to change tx serialization format.
 671 2014-06-23 11:25:35 <hearn> which i'd prefer, because all existing software that parses txns but doesn't sign them (i guess this is a lot of small tools and libraries) can work as-is
 672 2014-06-23 11:25:44 <sipa> exactly
 673 2014-06-23 11:25:50 <sipa> it's just a script update
 674 2014-06-23 11:25:58 <sipa> which SPV nodes already don't care about
 675 2014-06-23 11:26:09 haskoiner has joined
 676 2014-06-23 11:26:22 <hearn> right, mostly. though note that bitcoinj can run scripts and in fact lighthouse does run them
 677 2014-06-23 11:26:35 <hearn> (it runs the scripts fetched from getutxo)
 678 2014-06-23 11:26:49 shesek has joined
 679 2014-06-23 11:27:04 Starduster has joined
 680 2014-06-23 11:27:13 torsthaldo has joined
 681 2014-06-23 11:27:18 yubrew has joined
 682 2014-06-23 11:27:45 <sipa> however, what about this idea: when creating a block, a miner writes its minimum fee-per-byte used in a block (plus maybe some other constants relating to priority) to the coinbase, and blocks are invalid if they include a transaction with lower fee/byte
 683 2014-06-23 11:27:59 <petertodd> sipa: why?
 684 2014-06-23 11:28:13 eristisk has quit (Ping timeout: 264 seconds)
 685 2014-06-23 11:28:33 <sipa> petertodd: as that can be observed by SPV nodes, which then learn what fee policy is being used
 686 2014-06-23 11:28:41 samson_ has quit (Ping timeout: 272 seconds)
 687 2014-06-23 11:28:58 <sipa> (not saying the idea is perfect, btw)
 688 2014-06-23 11:28:59 <petertodd> sipa: thing is the invalid part is unenforcable - you have no idea if the tx was actually broadcast
 689 2014-06-23 11:29:02 samson_ has joined
 690 2014-06-23 11:29:07 Adlai` has joined
 691 2014-06-23 11:29:19 <sipa> true, but how does that change anything?
 692 2014-06-23 11:29:24 <hearn> we could do both
 693 2014-06-23 11:29:36 <hearn> the idea behind the pending fee estimator pull is to observe actual behaviour of the network rather than stated behaviour
 694 2014-06-23 11:29:40 <petertodd> sipa: better to let miners advertise a higher fee/byte to let people know the actual cost, e.g. if they're getting a lot of people paying for tx mining out of bound
 695 2014-06-23 11:29:46 <hearn> however, the problem is, you have to wait for a while to learn what the behaviour is
 696 2014-06-23 11:29:47 <petertodd> sipa: also, your idea doesn't work with child-pays-for-parent
 697 2014-06-23 11:29:49 <sipa> a miner can add high-fee transactions himself to the block, but that doesn't change the fee he can claim
 698 2014-06-23 11:29:57 <sipa> petertodd: indeed, it fails child-pays-for-parent
 699 2014-06-23 11:30:06 eristisk has joined
 700 2014-06-23 11:30:14 Khayman has joined
 701 2014-06-23 11:30:27 adlai has quit (Remote host closed the connection)
 702 2014-06-23 11:30:41 <petertodd> sipa: basically if I'm to accept any out-of-band payments, I'll probably have to set my advertised fee to zero or near zero
 703 2014-06-23 11:30:41 <sipa> also, i really dislike encoding fee policies into a consensus rule
 704 2014-06-23 11:30:57 <sipa> petertodd: good point
 705 2014-06-23 11:31:35 <hearn> well, the policy wouldn't be a consensus rule right, just a "Truth in advertising" rule
 706 2014-06-23 11:31:39 yubrew has quit (Ping timeout: 245 seconds)
 707 2014-06-23 11:32:04 <sipa> hearn: what i suggested would be a consensus rule, a block must be invalid if its state minfee is wrong
 708 2014-06-23 11:32:17 <petertodd> one way to think about this, is if you take the view that the relay network is meant to be operating on behalf of miners, then the relay network wants to know what fees are being accepted by miners, so if miners are encoding in their blocks that only tx's having a fee > x BTC/KB are accepted, it's not unreasonable to say maybe the relay network shouldn't bother relaying tx's with a fee less than that
 709 2014-06-23 11:32:18 <sipa> anyway, just food for thought, not actually proposing this
 710 2014-06-23 11:32:20 <hearn> yes, exactly. the policy can be anything. but your summary of your policy must be correct
 711 2014-06-23 11:33:05 Hasimir has quit (Ping timeout: 264 seconds)
 712 2014-06-23 11:34:04 <sipa> hearn: so i think that once we have transactions committing to input values, i guess it makes sense to make the input values data available through some means
 713 2014-06-23 11:34:17 <hearn> you can't define "miners" so easily. if one block in 100 says it accept any transaction without any fee, then the network should arguably try and get transactions to that miner, up to its capacity, which brings us back to capacity-based prioritisation instead of the current anti-DoS system.
 714 2014-06-23 11:34:23 <petertodd> sipa: note how per-block txo indexes do that, solving both problems
 715 2014-06-23 11:34:40 <sipa> hearn: though i dislike that it basically requires full script validation to authenticate
 716 2014-06-23 11:35:19 <hearn> sipa: well, realistically it seems script is people's favourite part of bitcoin to reimplement .... it's also quite libraryfiable.
 717 2014-06-23 11:35:34 ThomasV has joined
 718 2014-06-23 11:35:35 <hearn> so sure, that requirement is not ideal but it seems the most obvious next move
 719 2014-06-23 11:35:36 <sipa> and probably the most tricky part to get right
 720 2014-06-23 11:35:57 <petertodd> sipa: it's not tricky to get it
 721 2014-06-23 11:36:09 <petertodd> sipa: to get it "right enough" for validating common-usage scriptSigs
 722 2014-06-23 11:36:19 <sipa> right, and that may suffice here
 723 2014-06-23 11:36:22 <petertodd> sipa: a false failure isn't a big deal in that application
 724 2014-06-23 11:37:47 Adlai` is now known as adlai
 725 2014-06-23 11:37:55 <hearn> the thing i like about this way of estimating fees is that it's of somewhat implementable size. getutxo is a simple message, already written. putting value in the sighash is not a hard piece of code either, the hard part is doing the fork and waiting for people to upgrade and start making the new transactions. then implementing the algorithm i proposed is a volunteer sized piece of work
 726 2014-06-23 11:38:10 <hearn> additionally things can be done in paralle
 727 2014-06-23 11:38:26 <hearn> *parallel. always a benefit for spread out groups of people.
 728 2014-06-23 11:38:32 <sipa> an alternative would be to just relay txin values along with transactions
 729 2014-06-23 11:38:44 <sipa> without needing several roundtrips for that information
 730 2014-06-23 11:39:10 <sipa> (with the race condition that they may already be confirmed by the time you get to ask for it, pruning the data)
 731 2014-06-23 11:39:27 <sipa> sorry, 1 roundtrip
 732 2014-06-23 11:39:32 <hearn> you'd need the full CTxOut because you can't run the scripts without the full data. but yes the getutxo answer format can be glued to the end of a mempool-relayed tx given a version bump
 733 2014-06-23 11:39:57 <hearn> however not all clients would want it
 734 2014-06-23 11:40:04 <hearn> e.g. for full nodes it's just a waste of bandwidth
 735 2014-06-23 11:40:13 <sipa> agree
 736 2014-06-23 11:41:31 <petertodd> sipa: so that's with a new CHECKSIG mode to hash the CTxOut? sounds useful to me, especially with a flag to let the COutPoint not be hashed if desired
 737 2014-06-23 11:41:54 <petertodd> sipa: oh, right, SignatureHash() already does that...
 738 2014-06-23 11:41:55 <hearn> petertodd: we are discussing the algorithm i proposed on the getutxo thread for fee estimation
 739 2014-06-23 11:42:13 nowan has joined
 740 2014-06-23 11:42:15 <petertodd> hearn: I know
 741 2014-06-23 11:47:01 maraoz has joined
 742 2014-06-23 11:50:23 Plinker_ has quit (Read error: Connection reset by peer)
 743 2014-06-23 11:50:52 erasmospunk has quit (Remote host closed the connection)
 744 2014-06-23 11:52:31 dipendra has quit (Ping timeout: 240 seconds)
 745 2014-06-23 11:56:46 benrcole has quit (Quit: Leaving.)
 746 2014-06-23 11:57:13 erasmospunk has joined
 747 2014-06-23 11:58:20 HANTI is now known as hanti
 748 2014-06-23 11:59:33 MaxSan has quit (Ping timeout: 240 seconds)
 749 2014-06-23 11:59:42 KillYourTV has quit (Remote host closed the connection)
 750 2014-06-23 12:00:03 KillYourTV has joined
 751 2014-06-23 12:00:26 MaxSan has joined
 752 2014-06-23 12:00:49 viajero has joined
 753 2014-06-23 12:02:54 Guest13725 has quit (Ping timeout: 245 seconds)
 754 2014-06-23 12:03:00 MaxSan has quit (Client Quit)
 755 2014-06-23 12:04:49 eristisk has quit (Ping timeout: 264 seconds)
 756 2014-06-23 12:04:59 shesek has quit (Ping timeout: 264 seconds)
 757 2014-06-23 12:05:38 Sambler has joined
 758 2014-06-23 12:08:30 benrcole has joined
 759 2014-06-23 12:08:47 jordandotdev has quit (Quit: Connection closed for inactivity)
 760 2014-06-23 12:10:27 Swadq has joined
 761 2014-06-23 12:10:28 Swadq has quit (Read error: Connection reset by peer)
 762 2014-06-23 12:12:11 [nshiary] is now known as [nsh]
 763 2014-06-23 12:13:11 Swadq has joined
 764 2014-06-23 12:13:50 sabfer has joined
 765 2014-06-23 12:14:59 Zarutian has joined
 766 2014-06-23 12:15:30 banghouse has joined
 767 2014-06-23 12:17:20 agricocb has quit (Quit: Leaving.)
 768 2014-06-23 12:17:30 digitalmagus8 has joined
 769 2014-06-23 12:18:49 coingenuity has quit (Excess Flood)
 770 2014-06-23 12:19:16 coingenuity has joined
 771 2014-06-23 12:19:53 hearn has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
 772 2014-06-23 12:20:19 coingenuity has quit (Read error: Connection reset by peer)
 773 2014-06-23 12:20:45 eristisk has joined
 774 2014-06-23 12:21:21 yubrew has joined
 775 2014-06-23 12:21:44 coingenuity has joined
 776 2014-06-23 12:21:55 coingenuity has quit (Read error: Connection reset by peer)
 777 2014-06-23 12:22:17 sabfer_ has joined
 778 2014-06-23 12:22:29 sabfer has quit (Read error: Connection reset by peer)
 779 2014-06-23 12:22:42 dipendra has joined
 780 2014-06-23 12:23:19 johnsoft has quit (Ping timeout: 245 seconds)
 781 2014-06-23 12:23:20 coingenuity has joined
 782 2014-06-23 12:23:55 dabura667 has joined
 783 2014-06-23 12:24:11 johnsoft has joined
 784 2014-06-23 12:24:17 coingenuity has quit (Read error: Connection reset by peer)
 785 2014-06-23 12:24:21 karc has quit (Remote host closed the connection)
 786 2014-06-23 12:24:29 gonedrk has joined
 787 2014-06-23 12:24:53 karc has joined
 788 2014-06-23 12:25:33 guntha has quit (Ping timeout: 255 seconds)
 789 2014-06-23 12:26:03 yubrew has quit (Ping timeout: 240 seconds)
 790 2014-06-23 12:26:12 fanquake_ has joined
 791 2014-06-23 12:26:35 coingenuity has joined
 792 2014-06-23 12:26:38 CheckDavid has quit (Quit: Connection closed for inactivity)
 793 2014-06-23 12:26:39 sabfer_ has quit (Ping timeout: 245 seconds)
 794 2014-06-23 12:27:59 coingenuity has quit (Read error: Connection reset by peer)
 795 2014-06-23 12:28:23 fanquake has quit (Ping timeout: 264 seconds)
 796 2014-06-23 12:28:24 fanquake_ is now known as fanquake
 797 2014-06-23 12:28:28 mr_burdell has quit (Remote host closed the connection)
 798 2014-06-23 12:29:05 guest55213 has joined
 799 2014-06-23 12:29:32 karc has quit (Remote host closed the connection)
 800 2014-06-23 12:29:54 karc has joined
 801 2014-06-23 12:32:57 CheckDavid has joined
 802 2014-06-23 12:33:59 Aquent_ has quit (Remote host closed the connection)
 803 2014-06-23 12:34:23 Aquent_ has joined
 804 2014-06-23 12:34:23 guest55213 has quit (Read error: Connection reset by peer)
 805 2014-06-23 12:35:24 ThomasV has quit (Ping timeout: 245 seconds)
 806 2014-06-23 12:37:37 guest55213 has joined
 807 2014-06-23 12:40:02 guest55213 has quit (Read error: Connection reset by peer)
 808 2014-06-23 12:40:42 guest55213 has joined
 809 2014-06-23 12:41:10 guest55213 has quit (Read error: Connection reset by peer)
 810 2014-06-23 12:41:13 benrcole has quit (Quit: Leaving.)
 811 2014-06-23 12:42:25 agricocb1 has joined
 812 2014-06-23 12:44:17 akstunt600 has joined
 813 2014-06-23 12:46:33 ak__ has quit (Ping timeout: 240 seconds)
 814 2014-06-23 12:47:52 tjopper1 has quit (Quit: Leaving.)
 815 2014-06-23 12:48:03 tjopper1 has joined
 816 2014-06-23 12:48:18 fanquake has left ()
 817 2014-06-23 12:48:47 ThomasV has joined
 818 2014-06-23 12:49:01 guest55213 has joined
 819 2014-06-23 12:49:31 digitalmagus8 has quit (Ping timeout: 240 seconds)
 820 2014-06-23 12:50:00 hearn has joined
 821 2014-06-23 12:50:36 micronxd has joined
 822 2014-06-23 12:51:01 djcoin_ has quit (Quit: djcoin_)
 823 2014-06-23 12:54:29 Khayman has quit (Read error: Connection reset by peer)
 824 2014-06-23 12:54:44 guest55213 has quit (Read error: Connection reset by peer)
 825 2014-06-23 12:55:49 banghouse has quit (Remote host closed the connection)
 826 2014-06-23 12:56:30 guest55213 has joined
 827 2014-06-23 12:58:12 agricocb1 has quit (Read error: Connection reset by peer)
 828 2014-06-23 12:58:35 agricocb has joined
 829 2014-06-23 13:03:22 jaekwon has quit (Quit: Leaving.)
 830 2014-06-23 13:04:07 benrcole has joined
 831 2014-06-23 13:04:19 justanotheruser has quit (Ping timeout: 272 seconds)
 832 2014-06-23 13:04:49 justanotheruser has joined
 833 2014-06-23 13:06:07 Cryo has quit (Quit: Leaving)
 834 2014-06-23 13:07:49 jtimon has joined
 835 2014-06-23 13:07:52 [nsh] has quit (Ping timeout: 244 seconds)
 836 2014-06-23 13:08:25 Namworld has quit ()
 837 2014-06-23 13:09:49 sabfer has joined
 838 2014-06-23 13:10:40 mr_burdell has joined
 839 2014-06-23 13:11:31 pooler has quit (Ping timeout: 240 seconds)
 840 2014-06-23 13:11:35 guest55213 has quit (Ping timeout: 264 seconds)
 841 2014-06-23 13:11:40 jgarzik is now known as home_jg
 842 2014-06-23 13:15:24 hanti is now known as HANTI
 843 2014-06-23 13:15:43 yubrew has joined
 844 2014-06-23 13:16:20 pooler has joined
 845 2014-06-23 13:17:01 sabfer has quit (Quit: Leaving...)
 846 2014-06-23 13:17:18 sabfer has joined
 847 2014-06-23 13:18:52 coingenuity has joined
 848 2014-06-23 13:19:57 ferroh has joined
 849 2014-06-23 13:19:59 yubrew has quit (Ping timeout: 245 seconds)
 850 2014-06-23 13:20:18 coingenuity has quit (Read error: Connection reset by peer)
 851 2014-06-23 13:20:27 crunk-juice has joined
 852 2014-06-23 13:22:52 sabfer has quit (Remote host closed the connection)
 853 2014-06-23 13:22:57 lclc has quit (Read error: Connection reset by peer)
 854 2014-06-23 13:23:12 coingenuity has joined
 855 2014-06-23 13:23:13 lclc has joined
 856 2014-06-23 13:23:23 Asa3 has quit (Ping timeout: 246 seconds)
 857 2014-06-23 13:24:12 jtimon_ has joined
 858 2014-06-23 13:25:24 ThomasV has quit (Ping timeout: 255 seconds)
 859 2014-06-23 13:25:26 jtimon has quit (Ping timeout: 244 seconds)
 860 2014-06-23 13:26:20 coingenuity has quit (Read error: Connection reset by peer)
 861 2014-06-23 13:29:14 coingenuity has joined
 862 2014-06-23 13:29:24 coingenuity has quit (Read error: Connection reset by peer)
 863 2014-06-23 13:30:18 coingenuity has joined
 864 2014-06-23 13:32:19 coingenuity has quit (Read error: Connection reset by peer)
 865 2014-06-23 13:32:22 kermit has quit (Quit: Leaving.)
 866 2014-06-23 13:32:42 cbeams has joined
 867 2014-06-23 13:33:07 kermit has joined
 868 2014-06-23 13:33:13 coingenuity has joined
 869 2014-06-23 13:35:50 dims has joined
 870 2014-06-23 13:36:25 coingenuity has quit (Read error: Connection reset by peer)
 871 2014-06-23 13:38:42 Eiii has joined
 872 2014-06-23 13:39:19 [nsh] has joined
 873 2014-06-23 13:45:04 HANTI is now known as hanti
 874 2014-06-23 13:45:31 christophe has quit (Ping timeout: 240 seconds)
 875 2014-06-23 13:45:39 coingenuity has joined
 876 2014-06-23 13:45:40 coingenuity has quit (Changing host)
 877 2014-06-23 13:45:40 coingenuity has joined
 878 2014-06-23 13:46:18 davout has joined
 879 2014-06-23 13:46:25 coingenuity has quit (Read error: Connection reset by peer)
 880 2014-06-23 13:47:20 coingenuity has joined
 881 2014-06-23 13:47:20 coingenuity has quit (Read error: Connection reset by peer)
 882 2014-06-23 13:47:44 christophe has joined
 883 2014-06-23 13:50:34 ender42 has quit (Quit: bye)
 884 2014-06-23 13:53:35 AndrewJackson has quit (Ping timeout: 264 seconds)
 885 2014-06-23 13:54:56 benrcole has quit (Read error: Connection reset by peer)
 886 2014-06-23 13:55:12 benrcole has joined
 887 2014-06-23 13:55:36 AndrewJackson has joined
 888 2014-06-23 13:57:48 skinnkavaj has quit (Ping timeout: 255 seconds)
 889 2014-06-23 13:58:50 yano has joined
 890 2014-06-23 13:59:16 cbeams has quit (Remote host closed the connection)
 891 2014-06-23 13:59:29 cbeams has joined
 892 2014-06-23 14:00:31 Insti has quit (Ping timeout: 240 seconds)
 893 2014-06-23 14:01:00 jctb has quit (Remote host closed the connection)
 894 2014-06-23 14:01:00 dignork has quit (Remote host closed the connection)
 895 2014-06-23 14:01:28 dignork has joined
 896 2014-06-23 14:01:28 Insti has joined
 897 2014-06-23 14:01:49 jctb has joined
 898 2014-06-23 14:04:04 micronxd has quit (Quit: micronxd)
 899 2014-06-23 14:04:52 skinnkavaj has joined
 900 2014-06-23 14:06:02 analogmind_work has quit (Remote host closed the connection)
 901 2014-06-23 14:06:04 altoz has joined
 902 2014-06-23 14:07:05 JackH has quit (Ping timeout: 245 seconds)
 903 2014-06-23 14:08:09 sabfer has joined
 904 2014-06-23 14:08:34 gavinandresen has joined
 905 2014-06-23 14:09:41 JackH has joined
 906 2014-06-23 14:10:00 yubrew has joined
 907 2014-06-23 14:12:08 MolokoDeck has joined
 908 2014-06-23 14:14:11 p8m_ has quit (Remote host closed the connection)
 909 2014-06-23 14:14:31 p8m has joined
 910 2014-06-23 14:14:37 yubrew has quit (Ping timeout: 272 seconds)
 911 2014-06-23 14:15:49 hearn has quit (Ping timeout: 245 seconds)
 912 2014-06-23 14:16:57 sabfer has quit (Read error: Connection reset by peer)
 913 2014-06-23 14:17:01 roconnor has joined
 914 2014-06-23 14:17:48 sabfer has joined
 915 2014-06-23 14:18:46 Guest22200 is now known as WKNiGHT
 916 2014-06-23 14:19:15 WKNiGHT is now known as Guest36669
 917 2014-06-23 14:20:20 <gavinandresen> petertodd: I'm still trying to understand how you think somebody can Sybil attack the fee estimation code on the main bitcoin network.
 918 2014-06-23 14:20:59 <gavinandresen> petertodd: … So I control somebody's connections when their fee estimates happen to be zero (they've just started up maybe?  what's the scenario there?)
 919 2014-06-23 14:21:02 hearn has joined
 920 2014-06-23 14:21:24 tjopper1 has quit (Quit: Leaving.)
 921 2014-06-23 14:21:25 <sipa> gavinandresen: and then you only forward very high fee transactions to them, so they get a filtered view
 922 2014-06-23 14:21:36 <petertodd> gavinandresen: ^
 923 2014-06-23 14:22:16 <gavinandresen> I see, you control what goes into their memory pool.
 924 2014-06-23 14:22:21 <petertodd> yup
 925 2014-06-23 14:22:42 <gavinandresen> petertodd: you need to get better at communicating, I did not get that at all from your github comment.
 926 2014-06-23 14:22:45 <petertodd> and anyway, that I could trick it into sending a 1BTC fee simply has to be fixed - there must be some sane max limit
 927 2014-06-23 14:23:18 jchp has quit (Quit: WeeChat 0.4.3)
 928 2014-06-23 14:23:20 <gavinandresen> I'll set the flag that does the fee sanity check for the wallet code
 929 2014-06-23 14:23:40 <hearn> hello
 930 2014-06-23 14:23:44 <petertodd> gavinandresen: sorry, just seemed obvious to me
 931 2014-06-23 14:23:45 <gavinandresen> howdy mike
 932 2014-06-23 14:24:03 <gavinandresen> petertodd: everything is obvious when it comes out of your own head....
 933 2014-06-23 14:24:08 jchp has joined
 934 2014-06-23 14:24:12 <petertodd> gavinandresen: we probably want a lower sanity check limit - 0.1BTC fees are still a lot of money.
 935 2014-06-23 14:24:15 <petertodd> gavinandresen: indeed
 936 2014-06-23 14:24:31 <gavinandresen> petertodd: lower sanity limit:  fine, separate pull request
 937 2014-06-23 14:25:46 <petertodd> gavinandresen: well, I'd call this a merge-blocker myself - you can lose a lot of money very quickly with that bug, even just with a fluke estimate
 938 2014-06-23 14:26:10 <petertodd> gavinandresen: but anyway, with sane limits I'm ACK on that patch
 939 2014-06-23 14:26:12 <gavinandresen> petertodd: no, you really can't.
 940 2014-06-23 14:27:09 <petertodd> gavinandresen: sure you can - get a bad estimate that's a bit under the 0.1BTC sanity limit and you'll be spending about $50 per transaction sent
 941 2014-06-23 14:27:45 <gavinandresen> petertodd: okey dokey.  Good luck with that Sybil at EXACTLY the time when you delete your fee estimates..........
 942 2014-06-23 14:28:03 paveljanik has joined
 943 2014-06-23 14:28:07 Zarutian has quit (Quit: Zarutian)
 944 2014-06-23 14:28:23 Sambler has quit (Ping timeout: 264 seconds)
 945 2014-06-23 14:28:31 <sipa> is there some protection to not give any estimations before there's a sizable observed population?
 946 2014-06-23 14:28:33 <petertodd> gavinandresen: indeed, good "luck" - lowish probability, but *far* from zero.
 947 2014-06-23 14:28:36 <petertodd> sipa: none
 948 2014-06-23 14:28:40 <sipa> sorry, i didn't get to lock at tje code yet
 949 2014-06-23 14:29:02 <hearn> the estimate is just iirc the default
 950 2014-06-23 14:29:12 <gavinandresen> sipa: there used to be, I think that code got lost in some reworking somewhere.  I don't think that will make Peter happy, though, because "infinite Sybil!!!!"
 951 2014-06-23 14:29:15 <petertodd> sipa: basically I demonstrated a 1BTC fee based on a single transaction confirming into a block, samplesize = 1
 952 2014-06-23 14:29:56 <hearn> huh, when i reviewed it there was indeed a codepath to give some hard-coded reasonable default until enough time had passed to observe the network
 953 2014-06-23 14:30:18 <gavinandresen> if it makes y'all happy, let me know how many samples would make you happy and I'd be happy to change the == 0  to < N
 954 2014-06-23 14:30:19 ak__ has joined
 955 2014-06-23 14:30:39 <gavinandresen> Frankly, I'm tired of the nit-picking "must be perfect" attitude here.
 956 2014-06-23 14:30:45 sabfer has quit (Quit: Leaving...)
 957 2014-06-23 14:30:58 <petertodd> gavinandresen: it's not a matter of samples, just put a sane upper limit on it that's configurable. that's sufficient to give users the tools they need to protect themselves.
 958 2014-06-23 14:31:12 damethos has joined
 959 2014-06-23 14:31:13 <gavinandresen> yippee, another configuration option....
 960 2014-06-23 14:31:25 * hearn shrugs
 961 2014-06-23 14:31:27 <sipa> we already have a "sane max fee" limit somewhere afaik
 962 2014-06-23 14:31:30 <hearn> it can be hard-coded as well
 963 2014-06-23 14:31:39 Guest36669 has quit (Changing host)
 964 2014-06-23 14:31:39 Guest36669 has joined
 965 2014-06-23 14:31:43 DougieBot5000 has joined
 966 2014-06-23 14:31:49 <petertodd> sipa: yeah, it's hardcoded to make 0.1BTC fee per tx - it's not even a per-byte limit
 967 2014-06-23 14:31:50 <hearn> i see simple safeties like that more as a protection against accidental bugs rather than unlikely attacks
 968 2014-06-23 14:31:56 Guest36669 is now known as WKNiGHT-
 969 2014-06-23 14:31:59 <sipa> hearn: agree
 970 2014-06-23 14:32:09 napedia has joined
 971 2014-06-23 14:32:10 <sipa> though it's nice to have as assurance against attacks as well
 972 2014-06-23 14:32:17 <gavinandresen> Ok.  I will change the code to require at least 11 samples.
 973 2014-06-23 14:32:47 samesong has joined
 974 2014-06-23 14:32:59 <gavinandresen> I think minimum sane fee is already configurable, I'll leave that alone.
 975 2014-06-23 14:33:39 <hearn> cool
 976 2014-06-23 14:34:15 akstunt600 has quit (Ping timeout: 272 seconds)
 977 2014-06-23 14:34:29 jgarzik has joined
 978 2014-06-23 14:34:39 <hearn> so who gets to be the lucky, lucky guy who starts the "getfees" SPV message fight? is that me, gavin or wumpus? :)
 979 2014-06-23 14:35:10 * sipa suggests: asking it from the same source you get exchange rates from, until we have an authenticated mechanism for it
 980 2014-06-23 14:36:20 <gavinandresen> rebasing against master this morning, I'm getting:
 981 2014-06-23 14:36:21 <gavinandresen> configure.ac:699: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
 982 2014-06-23 14:36:22 <gavinandresen> configure.ac:114: error: required file 'src/config/bitcoin-config.h.in' not found
 983 2014-06-23 14:36:33 <sipa> gavinandresen: rerun autogen
 984 2014-06-23 14:36:44 <gavinandresen> sipa: thanks
 985 2014-06-23 14:36:56 <petertodd> sipa: +1
 986 2014-06-23 14:37:17 <sipa> if you're going to rely on untrusted data, better go with the devil you know
 987 2014-06-23 14:37:51 <hearn> bitcoin community in 2012: https://github.com/bitcoin/bitcoin/pull/1641
 988 2014-06-23 14:38:04 <hearn> bitcoin community now:  find some random guy and trust him!
 989 2014-06-23 14:38:08 <gavinandresen> sipa: what about Mike's argument that peers already give you lots of unauthenticated data, and we manage to deal with that OK?
 990 2014-06-23 14:38:44 <sipa> gavinandresen: doesn't mean it's a practice we should encourage or extend
 991 2014-06-23 14:38:44 <hearn> i miss the days when we could go from "spv wallets need this" to a merged pull req in the span of about 20 days and 9 comments :)
 992 2014-06-23 14:38:53 <gavinandresen> "perfect enemy of the better" and all that
 993 2014-06-23 14:39:02 <wumpus> hearn: me too, maybe we should fork bitcoin core :P
 994 2014-06-23 14:39:11 <hearn> you mean and gavin together, right? :) hehe
 995 2014-06-23 14:39:12 <petertodd> sipa: yup. anyway, the important thing is to make sure interactive users a) notice what fees they're sending if they're unexpectedly large, and b) automated users can set limits so they can't find themselves spending significantly more than expected without a human getting involved
 996 2014-06-23 14:39:15 <gavinandresen> Why not encourage/extend if it makes the Bitcoin network more valuable?
 997 2014-06-23 14:39:44 <hearn> sipa: so realistically, the source we use for exchange rates (by which i mean my clients use - bitcoinj has no centralised server dependencies at all), has in the past returned garbage several times.
 998 2014-06-23 14:39:48 <hearn> i also don't trust it to not get hacked
 999 2014-06-23 14:39:54 <jgarzik> "don't keep going in the wrong direction"
1000 2014-06-23 14:40:02 <jgarzik> one wrong doesn't make another wrong right.
1001 2014-06-23 14:40:03 <petertodd> wumpus: I'll call my fork Genuine Bitcoin
1002 2014-06-23 14:40:07 <hearn> "trust some guy you never met" is certainly a temptingly simple security model, but it'd require safety and sanity checks no matter what
1003 2014-06-23 14:40:27 <hearn> jgarzik: well you added the mempool command! and you know what, i've never had reports of problems with it
1004 2014-06-23 14:41:03 <hearn> in contrast to bitcoinaverage.com which actually crashed all android wallets after it started returning exchange rates of zero :)
1005 2014-06-23 14:41:17 <hearn> luckily exchange rates tend to get sanity checked by humans when they need them
1006 2014-06-23 14:41:51 <sipa> and so should fees
1007 2014-06-23 14:41:53 <hearn> we can certainly do averaging and sanity checking of what comes back from the p2p network, until the day we implement my proposed lower trust method
1008 2014-06-23 14:42:00 <wumpus> petertodd: hah, BitcoinGenuineAdvantage
1009 2014-06-23 14:42:11 <hearn> sipa: yes and i fully expect them to .... all spv wallets do display fees to the user iirc
1010 2014-06-23 14:42:24 <petertodd> wumpus: no! It's Genuine Bitcoin that has the Genuine Bitcoin Advantage!
1011 2014-06-23 14:42:34 <sipa> the mempool command just gives you data you could have had before by connecting earlier and seeing inv messages; the contents of the mempool has no consensus, and doesn't pretend to be (though it seems mike would like it to be)
1012 2014-06-23 14:42:37 <hearn> so in practice i'm not too worried about attacks on this. yes, it can happen, and we ideally will defend against it, and we have a plan.
1013 2014-06-23 14:43:11 <sipa> utxo worries me more, as it's about the most critical information in the system
1014 2014-06-23 14:43:35 <t7> hearn: haha i didnt hear about that
1015 2014-06-23 14:43:59 <sipa> fees... i don't really care, they're also just mempool data, but i still think if it's unverifiable, it's better fetched from a place that has a reputation to suffer rather than random peers
1016 2014-06-23 14:44:00 <hearn> sipa: for a full node yes. not for every app.
1017 2014-06-23 14:44:12 <hearn> well
1018 2014-06-23 14:44:14 <petertodd> sipa: +1 - note how getutxo would be more useful if it returned the entire transaction so you could get some proof the TXO actually existed. (e.g. for checking fees paid by a tx)
1019 2014-06-23 14:44:14 <hearn> look at it like this
1020 2014-06-23 14:44:20 roconnor has quit (Quit: Konversation terminated!)
1021 2014-06-23 14:44:37 <sipa> i basically worry that someone will implement a wallet based on getutxos, by fetching from random peers
1022 2014-06-23 14:44:38 <hearn> the p2p network itself has a reputation, which indeed if lots of nodes return garbage or users keep reporting sybil attacks, the "reputation" of the p2p network as a useful decentralised place to get unauthenticated data will suffer.
1023 2014-06-23 14:44:39 <wumpus> petertodd: I don't think we have the entire transaction
1024 2014-06-23 14:44:53 <hearn> then i will have to find another source with a better reputation like bitcoinaverage, my own servers, electrum etc.
1025 2014-06-23 14:44:59 <jgarzik> hearn, poor example
1026 2014-06-23 14:45:07 <petertodd> wumpus: I thought we do? getrawtransaction returns the tx so long as at least one output is unspent (although I'd hate to make that a requirement)
1027 2014-06-23 14:45:09 <hearn> the argument i keep making, which doesn't seem to sink in, is that in fact the p2p network's reputation so far has been OK. good enough, for sure.
1028 2014-06-23 14:45:17 <jgarzik> hearn, "mempool" is for diagnostics and network sampling, not finance
1029 2014-06-23 14:45:22 <sipa> petertodd: and it's awfully inefficient
1030 2014-06-23 14:45:31 <jgarzik> hearn, if you are using that for "trust", you are doing something really wrong
1031 2014-06-23 14:45:34 ionstorm has joined
1032 2014-06-23 14:45:41 <sipa> petertodd: we just know the height, read the entire block from disk, and scan through its transactions
1033 2014-06-23 14:45:44 <hearn> jgarzik: the only actual user of it today, that i know of, is SPV wallets, which use it to find transactions broadcast before they started up
1034 2014-06-23 14:46:13 <sipa> hearn: right, and i don't want to encourage relying on something that we don't know how it will evolve in the future
1035 2014-06-23 14:46:28 <sipa> bitcoin as an experiment is just so much more interesting the less assumptions it has to make
1036 2014-06-23 14:46:39 <petertodd> sipa: yup, though actually, given that getutxo now returns height/blockhash, you can do that with a getblock
1037 2014-06-23 14:46:42 <hearn> yes, ideally bitcoin would have no value etc etc.
1038 2014-06-23 14:47:35 <hearn> now back in the real world, unfortunate though it may be, people are actually using this experiment even though we keep telling them not to :) so we do have to work with that reality.
1039 2014-06-23 14:48:07 <hearn> or at least me and gavinandresen  and wumpus do because our incomes rely on bitcoin working. now get back to writing cluster control scripts sipa :)
1040 2014-06-23 14:48:20 * hearn remembers being an SRE fondly
1041 2014-06-23 14:48:28 * sipa drains hearn
1042 2014-06-23 14:48:53 <hearn> you youngsters. i remember when i had to file a ticket and wait for a grumpy human every time i wanted to drain a cluster ....
1043 2014-06-23 14:48:58 <hearn> anyway
1044 2014-06-23 14:49:12 * AndersAA is getting some good stuff on how decision-making happens in the Bitcoin-project for his masters thesis
1045 2014-06-23 14:49:49 <hearn> sipa: there is no way to implement a wallet based on getutxos. for that we'd need an address/key indexed UTXO set
1046 2014-06-23 14:49:51 <hearn> sipa: which we don't have.
1047 2014-06-23 14:50:06 <jgarzik> AndersAA, In open source projects, all the dirty laundry is out in public for everyone to view.  To some that appears chaotic, but it's just a different chaos than other software engineering models.  ;p
1048 2014-06-23 14:50:09 <hearn> sipa: i mean, there is a way, it's called making a web wallet and lots of people have done that. but there's no way to do it with the p2p network even after my patch
1049 2014-06-23 14:50:45 <sipa> good point
1050 2014-06-23 14:50:46 <hearn> jgarzik: well, in the corporate model eventually a manager steps in and bangs heads together :) or linus ...
1051 2014-06-23 14:51:01 <hearn> jgarzik: or the company goes bankrupt :)
1052 2014-06-23 14:51:19 <AndersAA> jgarzik: In my experience people tend to yell louder at each other behind closed doors :)
1053 2014-06-23 14:51:53 <jgarzik> hearn, RE linux not really
1054 2014-06-23 14:51:56 <hearn> sipa: basically i wrote getutxos for two purposes. one is, lighthouse uses it as a UI hint and a performance optimisation. it helps the UI greatly. it does not, ultimately, impact the security, because if the results of getutxo are bogus then the resulting contract tx won't work: it'll be rejected or treated as an orphan and the issue can be detected at that point. secondly, it's a part of my SPV fee estimation plan.
1055 2014-06-23 14:52:21 <sipa> yes, i understand your reasons
1056 2014-06-23 14:52:22 <jgarzik> Linux works like this:  Throw spaghetti at a wall, and see if it sticks.
1057 2014-06-23 14:52:29 <hearn> sipa: so in both cases we can tolerate some noise in the results, because the worst case scenario is the app gets stuck a bit and the user then learns either bitcoin or their internet connection is hosed. and in the latter it's just a waste of disk space.
1058 2014-06-23 14:52:50 <jgarzik> getutxos is very easy to use poorly
1059 2014-06-23 14:52:57 <hearn> so is "tx" :)
1060 2014-06-23 14:53:03 <wumpus> I think it's fine to have P2P messages with different security assumptions, as long as well documented
1061 2014-06-23 14:53:32 <jgarzik> And I simply cannot see a responsible funds collector/administrator preferring an untrusted interface over simply running bitcoind+REST
1062 2014-06-23 14:53:37 weilu has joined
1063 2014-06-23 14:53:40 <wumpus> right, as we've seen, bitcoin itself is very easy to use poorly
1064 2014-06-23 14:54:20 <hearn> jgarzik: well, that's sort of like saying a responsible funds collector would not accept unconfirmed transactions as payment, yet your employer does! i am certainly more than happy to make lighthouse use a local bitcoind if one is detected
1065 2014-06-23 14:54:25 <wumpus> in practice I think getutxos will be ignored by everyone except hearn
1066 2014-06-23 14:54:44 <hearn> and in fact i might go implement that this week! but i suspect most people will not want to run Core for the usual reasons. i can, however, advise that it is a useful thing to do, for those who have it
1067 2014-06-23 14:54:49 ielo_ has quit (Ping timeout: 244 seconds)
1068 2014-06-23 14:54:55 <hearn> wumpus: yes that's more or less what i'm expecting.
1069 2014-06-23 14:55:24 <wumpus> I really doubt people will start pounding out extra-insecure wallets as soon as the message appears
1070 2014-06-23 14:55:56 <Eliel> is there a reason to use uncofirmed transactions as the base for the fee? On first glance, I'd use the transactions from the last block as the base if no prior info.
1071 2014-06-23 14:56:01 <hearn> right, it's not usable for a normal wallet anyway, at least not without an address index. even if an address index was created, if getutxo returned a bogus answer, the resulting tx would merely be invalid and the app would get stuck
1072 2014-06-23 14:56:03 <GAit> i am worried we consider todays incentives the same as tomorrow's incentives and i am not sure i feel i identified what incentives there are in providing correct data here, FWIW
1073 2014-06-23 14:56:15 <hearn> Eliel: you can't calculate fees paid from a block in isolation, nor how long it took to confirm
1074 2014-06-23 14:56:18 <jgarzik> So, new logic:  It's ok to add crap, since it will just be used by this one odd duck coder/app.
1075 2014-06-23 14:56:18 <sipa> Eliel: miners can cheat that by putting their own high-fee transactions in
1076 2014-06-23 14:56:24 banghouse has joined
1077 2014-06-23 14:56:57 <hearn> jgarzik: eh, that's a silly argument too - seen that way bloom filtering is only used by me for nearly 2 years already. it's transitively been used by ~2 million people
1078 2014-06-23 14:57:08 <petertodd> sipa: I mentioned elsewhere that taking the min fee measured by both methods probably made a lot of sense
1079 2014-06-23 14:57:09 <wumpus> jgarzik: it seems more like 'deny and inhibit all experimentation until a perfect solution (TM) appears'
1080 2014-06-23 14:57:18 <jgarzik> hearn, the universe of fund administrators is tiny
1081 2014-06-23 14:57:18 <Eliel> sipa: several blocks then? :)
1082 2014-06-23 14:57:28 <sipa> Eliel: equally cheatable
1083 2014-06-23 14:57:53 <jgarzik> hearn, the universe of fund administrators that prefer untrusted interfaces over trusted ones...
1084 2014-06-23 14:58:09 <sipa> Eliel: see it this way: we want to measure the conditions for transactions migrating from the memory pool to the block chain
1085 2014-06-23 14:58:11 altoz has quit (Remote host closed the connection)
1086 2014-06-23 14:58:24 <hearn> jgarzik: well, fund administrators today accept credit card payments .... and the people funding them accept only promises.
1087 2014-06-23 14:58:29 <jgarzik> wumpus, no.  Several trusted alternative ways to do fund administration already exist.
1088 2014-06-23 14:58:30 altoz has joined
1089 2014-06-23 14:58:30 <Eliel> sipa: yes, if you look at blocks, you can see a collection where 100% made it in.
1090 2014-06-23 14:58:32 <wumpus> hearn: I suppose you could try getting it added in one of the other node implementations
1091 2014-06-23 14:58:58 <sipa> Eliel: there are other ways through which transactions can end up in blocks, and that's not what we want to measure (private deals with miners, their own transactions, anything out-of-band)
1092 2014-06-23 14:59:00 <Eliel> thus, you can deduce the minimum fee by looking at which transaction paid the least.
1093 2014-06-23 14:59:21 <jgarzik> wumpus, This could have been done a month ago with existing bitcoin software, no new APIs, trusted.
1094 2014-06-23 14:59:23 <hearn> wumpus: we have to tackle all these arguments sooner or later anyway. otherwise there won't be any decentralised wallets anymore. once your wallet can't function without magicwebsite.com being up and reliable we may as well just give up and all use blockchain.info
1095 2014-06-23 14:59:30 <jgarzik> wumpus, That != shutting down experiments
1096 2014-06-23 14:59:56 <hearn> jgarzik: ah, but the entire point of my product is that it's decentralised. obviously it *can* be done with a trusted third party ,as can all finance. and it sure does simplify things
1097 2014-06-23 15:00:01 <Eliel> sipa: that's true, but I think that'd be good enough to start with. definitely harder to cheat than just using the last n unconfirmed transactions
1098 2014-06-23 15:00:24 <sipa> Eliel: it uses the combination: watch unconfirmed transaction come and and measure how long they take to confirm
1099 2014-06-23 15:00:28 <jgarzik> hearn, Did I say trusted third party?  No.  Stop imagining words.
1100 2014-06-23 15:00:42 <jgarzik> hearn, google insight and install it.  Insight is not a trusted third party, it is a trusted first party.
1101 2014-06-23 15:00:43 <hearn> jgarzik: then i'm not sure what you mean. are you still talking about running Core locally?
1102 2014-06-23 15:01:01 banghouse has quit (Ping timeout: 240 seconds)
1103 2014-06-23 15:01:10 benrcole has quit (Quit: Leaving.)
1104 2014-06-23 15:01:29 <hearn> like i said, i'm happy to support that for people who want to run Core. i do not wish to insist upon it, for the same reason that i don't insist people run Core as their wallet for other cases too.
1105 2014-06-23 15:02:14 <wumpus> why would you need insight to do a simple UTXO lookup? every node keeps track of that already
1106 2014-06-23 15:02:27 <jgarzik> wumpus, you don't with a simple REST patch
1107 2014-06-23 15:02:30 <hearn> also Insight is a full blown block explorer. unless you found a way to make them 100x more efficient than the others i know about, setting up Insight for the main network would easily take days or weeks on consumer hardware, assuming it can be set up at all. the biteasy guys told me reindexing their main chain (using some fancy nosql system) takes forever
1108 2014-06-23 15:02:37 <hearn> so how about this
1109 2014-06-23 15:02:40 <wumpus> no need for a big transaction index, or extra software
1110 2014-06-23 15:02:40 <jgarzik> Fine, I will implement the REST patch today.
1111 2014-06-23 15:02:49 <wumpus> isn't there a getutxo RPC call?
1112 2014-06-23 15:02:49 <jgarzik> Then no need for big transaction index, or extra software.
1113 2014-06-23 15:02:51 <hearn> i will use a local bitcoind if found on port 8333
1114 2014-06-23 15:03:07 <wumpus> no need for even a REST patch
1115 2014-06-23 15:03:07 <hearn> if not, it'll use the main network. then users can decide for themselves the overhead/security tradeoffs
1116 2014-06-23 15:03:13 <jgarzik> gettxout
1117 2014-06-23 15:03:14 <jgarzik> yes
1118 2014-06-23 15:03:31 Cl-Martin has joined
1119 2014-06-23 15:03:36 <jgarzik> and gettxout RPC can be batched
1120 2014-06-23 15:03:51 yubrew has joined
1121 2014-06-23 15:03:55 <wumpus> great
1122 2014-06-23 15:04:41 <hearn> anything that requires you to run Core yourself is basically DoA for regular users at this point.
1123 2014-06-23 15:04:47 <hearn> so that implies anything RPC based also is
1124 2014-06-23 15:04:57 <jgarzik> hearn, why?
1125 2014-06-23 15:05:09 <gavinandresen> petertodd sipa:  https://github.com/gavinandresen/bitcoin-git/commit/853e3fab33b9934c88360cf07e9f67664fc0e025
1126 2014-06-23 15:05:38 <jgarzik> A fund administration wants to collect tens of thousands of dollars (in bitcoin), but cannot run a -nolisten node?  Come on.
1127 2014-06-23 15:06:06 <Apocalyptic> heh
1128 2014-06-23 15:06:11 <jgarzik> gettxout RPC works today, is trusted, no need to wait for P2P rollout of an untrusted feature
1129 2014-06-23 15:06:13 <Apocalyptic> sounds like reality
1130 2014-06-23 15:06:24 <hearn> two points. one, you'd be amazed at how much money some people carry around on android wallets. i've seen hundreds of BTC sized wallets! yes, people don't want to wait even if they're collecting lots of money.
1131 2014-06-23 15:06:32 <hearn> two, who says these contracts will all be tens of thousands of dollars?
1132 2014-06-23 15:06:43 <hearn> there's no particular minimum size requirement when using bitcoin for this, it's one of the big advantages
1133 2014-06-23 15:06:47 <petertodd> gavinandresen: how about we make that part a separate pull-req, along with the maxfee setting?
1134 2014-06-23 15:07:01 <hearn> one of the examples i give for how it *could* be used (not saying it would) is friends organising a party or day out
1135 2014-06-23 15:07:20 <hearn> "we need at least 10 people to make this fun, tickets cost $20, please attach your pledges to your reply to this email" kind of thing
1136 2014-06-23 15:07:39 <hearn> anyway, brb
1137 2014-06-23 15:07:57 <petertodd> hearn: anyway, I still see no reason why Lighthouse needs getutxo, but I just ACKed the patch all the same for the other uses of it
1138 2014-06-23 15:08:05 <Luke-Jr> [15:02:26] <hearn> two points. one, you'd be amazed at how much money some people carry around on android wallets. i've seen hundreds of BTC sized wallets! yes, people don't want to wait even if they're collecting lots of money. <-- this sounds like an argument to make it harder to do :P
1139 2014-06-23 15:08:35 yubrew has quit (Ping timeout: 264 seconds)
1140 2014-06-23 15:09:16 Skirmant has joined
1141 2014-06-23 15:11:05 <hearn> hah, well, andreas' wallet already has "don't store lots of money here" in the safety notes that appear when you first run the app
1142 2014-06-23 15:11:28 CoinHeavy has joined
1143 2014-06-23 15:11:36 <hearn> if someone sends a lot of money anyway, not much we can do about that. besides who are we to say it's a bad idea? maybe the phones are kept at home as dedicated hardware wallets, with no apps. it's hard to outsmart all our users all the time
1144 2014-06-23 15:12:09 <Apocalyptic> "maybe the phones are kept at home as dedicated hardware wallets, with no apps." do you really believe that ?
1145 2014-06-23 15:12:26 <hearn> jgarzik: how about this? if the user tries to create an assurance contract of larger than X BTC where X is something i'll think about, i'll display a warning asking them to install a local version of Bitcoin Core and i'll use it when it's available
1146 2014-06-23 15:12:31 <hearn> and e.g. alert the user if it's not running
1147 2014-06-23 15:12:55 <hearn> jgarzik: this should satisfy the use case of someone who really is running a contract of tens of thousands of dollars, whilst not inconveniencing users who have more casual use cases
1148 2014-06-23 15:13:00 <petertodd> hearn: heh, I like that
1149 2014-06-23 15:13:14 <jgarzik> hearn, default to using gettxout RPC, make them take extra effort to use the untrusted crapola
1150 2014-06-23 15:13:16 <hearn> Apocalyptic: well people have told us they actually do ..... so yes. how many of the big wallets correlate with such use cases, i can't say.
1151 2014-06-23 15:13:28 <jgarzik> don't make users work harder, just to get better security
1152 2014-06-23 15:13:34 <jgarzik> you want the opposite
1153 2014-06-23 15:13:35 <hearn> jgarzik: how about, i'll do that, when bitpay insists on 6 confirmations for all its payments? :)
1154 2014-06-23 15:13:41 <petertodd> hearn: kinda reminds me of a big scary warning screen DarkWallet has at startup where it gives you the option of using mainnet or testnet
1155 2014-06-23 15:13:53 CoinHeavy has quit (Client Quit)
1156 2014-06-23 15:13:53 <hearn> petertodd: i keep meaning to play with that. thought it was testnet only for now
1157 2014-06-23 15:14:00 <jgarzik> hearn, Do we really need to review all the ways that 0conf is just fine for certain businesses?
1158 2014-06-23 15:14:13 <jgarzik> default secure
1159 2014-06-23 15:14:17 <jgarzik> default trusted
1160 2014-06-23 15:14:27 dipendra has quit (Quit: Leaving)
1161 2014-06-23 15:14:48 <hearn> jgarzik: you don't see any contradiction here? you're telling me to make my users wait a day or two always, regardless of their use case, because "security is good". and now you're saying it's fine that bitpay uses 0conf for everything because it's fine for certain businesses. ok, seems the same to me.
1162 2014-06-23 15:15:08 <GAit> isn't the difference in the defaults?
1163 2014-06-23 15:15:12 <petertodd> hearn: mainnet too, although even I don't trust it enough to run it in anything but a VM with small amounts of money
1164 2014-06-23 15:15:24 <jgarzik> hearn, I think it's a stupid and unrelated comparison.  BitPay is not decentralized software rolled out to the entire bitcoin community.
1165 2014-06-23 15:15:24 random_cat_ has quit (Remote host closed the connection)
1166 2014-06-23 15:15:26 Subo1977_ has joined
1167 2014-06-23 15:15:37 <jgarzik> hearn, Bitcoin Core necessarily has a higher standard
1168 2014-06-23 15:16:00 Grouver has quit (Quit: Leaving)
1169 2014-06-23 15:16:24 benrcole has joined
1170 2014-06-23 15:16:27 agricocb has quit (Read error: Connection reset by peer)
1171 2014-06-23 15:16:31 random_cat_ has joined
1172 2014-06-23 15:16:41 Insti has quit (Ping timeout: 272 seconds)
1173 2014-06-23 15:16:42 agricocb has joined
1174 2014-06-23 15:16:49 <jgarzik> Default:trusted is obviously superior to default:untrusted
1175 2014-06-23 15:17:02 <hearn> i see no distinction. it's all software, designed to be used by ordinary humans who have varying security requirements.
1176 2014-06-23 15:18:05 <hearn> the computer industry is littered with software that killed itself by attempting to be too secure, also. it's easy to insist on ever higher security standards, then you get the famous yellow sticky note with passwords on it
1177 2014-06-23 15:18:26 <hearn> the security/usability balance is _very_ tricky and subtle. it's not something that can be summed up in a simple one liner.
1178 2014-06-23 15:18:40 <hearn> heck o'reilly have an entire book that consists just of essays and research papers on this topic. i read it once, it's very good.
1179 2014-06-23 15:19:06 <Apocalyptic> not sure it's very relevant to bitcoin's case hearn
1180 2014-06-23 15:19:13 Subo1977 has quit (Ping timeout: 264 seconds)
1181 2014-06-23 15:19:33 <hearn> how can it not be relevant? we're making software that tries to be both usable and secure. it by necessity means exploring this balance.
1182 2014-06-23 15:19:45 <Apocalyptic> common software didn't use to hold billions worth of irreversible money
1183 2014-06-23 15:20:11 <petertodd> Apocalyptic: that doesn't preclude a balance you know, it just makes the balance have a different center than you would otherwise expect
1184 2014-06-23 15:20:18 <Apocalyptic> indeed
1185 2014-06-23 15:20:23 <hearn> online banking and trading systems certainly do, along with people's most private data, military secrets, etc
1186 2014-06-23 15:20:50 <hearn> i mean i don't think you can say bitcoin is totally different to everything else and all prior experience and research simply gets thrown out the window because moneyzz
1187 2014-06-23 15:20:51 <Apocalyptic> petertodd, I suspect o'reilly center is quite far from what we should consider
1188 2014-06-23 15:21:13 <hearn> the research is really about human factors in software design
1189 2014-06-23 15:21:16 <hearn> and humans are the same no matter what
1190 2014-06-23 15:21:26 erplis has joined
1191 2014-06-23 15:22:54 <dabura667> hearn: I think most online banks don't come at the drawing board for their online banking sites saying "ok, how much should we compromise security to make an awesome usability for the customer?"... I think it starts with "How to we secure our customers?" then once they get the necessities down, they ask "OK, how usable can we make this site within these security constraints?"
1192 2014-06-23 15:23:14 DDerTyp has joined
1193 2014-06-23 15:23:59 weilu has quit (Remote host closed the connection)
1194 2014-06-23 15:24:09 akstunt600 has joined
1195 2014-06-23 15:24:21 <Luke-Jr> trezor's gitian reinvention isn't even free software? why would anyone trust this? @.@
1196 2014-06-23 15:24:33 [nsh] has quit (Ping timeout: 240 seconds)
1197 2014-06-23 15:24:40 christophe has quit (Quit: leaving)
1198 2014-06-23 15:24:50 <netg_> wat, wasnt it supposed to ALL code being free
1199 2014-06-23 15:24:52 <hearn> dabura667: it'd be nice if banks really did work like that. look at the USA. an entire country where hardware 2-factor auth is hardly known! even in places where things are further along, banks routinely compromise security for usability, consciously. for instance in allowing signature fallbacks if there's something wrong with the card chip, allowing country-internal payments without a hardware auth, etc.
1200 2014-06-23 15:24:52 <petertodd> dabura667: you have to remember that in many countries a *lot* of political effort has been spent making banks not liable for fraud. There was a fascinating talk on that subject as the Financial Crypto conference, which pretty much boiled down to "Banks spend more effort making it impossible to prove ATM fraud then they do preventing it."
1201 2014-06-23 15:24:58 <petertodd> Luke-Jr: WTF?
1202 2014-06-23 15:25:16 non2_ has joined
1203 2014-06-23 15:25:41 <hearn> dabura667: same thing for web browsers, corporate VPNs, medical systems ... there is always a balance. otherwise nothing stops the designers from requiring ever more strict security until people just give up and go use a competitor
1204 2014-06-23 15:26:05 <hearn> dabura667: i went through this same argument when i worked on google account security. some people said, "wtf why bother doing risk analysis. everyone should use 2-factor authentication on their gmail accounts, problem solved"
1205 2014-06-23 15:26:15 micronxd has joined
1206 2014-06-23 15:26:27 <hearn> dabura667: that had the very practical problem that lots of users didn't want to use 2-factor auth and either refused to use it entirely, or tried it and then switched it off.
1207 2014-06-23 15:26:31 <petertodd> dabura667: for instance, there are examples in the UK where banks used to keep records that duplicated information, or at least made cross-checking possible, and they stopped doing that because it was being used as evidence that their chip-card security wasn't as good as they were claiming
1208 2014-06-23 15:26:51 ak__ has quit (Ping timeout: 244 seconds)
1209 2014-06-23 15:26:53 <hearn> dabura667: so in the end a "middle road" was still necessary.
1210 2014-06-23 15:26:55 <Luke-Jr> petertodd: dunno, now someone is saying it's Apache licensed. but their website wants $$ for it. I don't get it..
1211 2014-06-23 15:27:09 <dabura667> whoa... so much green... o_o
1212 2014-06-23 15:27:11 <petertodd> Luke-Jr: how much $? buy a copy and release it
1213 2014-06-23 15:27:20 <Luke-Jr> petertodd: it's per-repository O.o
1214 2014-06-23 15:27:28 <petertodd> Luke-Jr: link?
1215 2014-06-23 15:27:31 <Luke-Jr> http://www.docker.com/resources/howtobuy/
1216 2014-06-23 15:27:43 <hearn> dabura667: indeed the latest Big Thing in the traditional payments world is NFC payments, which can be summed up as "lower security for faster performance when the risk seems low"
1217 2014-06-23 15:28:00 <hearn> dabura667: so our competitors are very consciously exploring the security/usability spectrum
1218 2014-06-23 15:28:38 <petertodd> Luke-Jr: ah, so deterministic builds are a feature of docker. hmm, I'd almost be inclined to sign up for their offer for independent experts to do deterministic builds just to raise that issue...
1219 2014-06-23 15:29:21 non2 has quit (Ping timeout: 272 seconds)
1220 2014-06-23 15:30:31 <netg_> finding out the right level of security in code und proposing general risk analysis standards is a perfect job, for the chief scientist IMHO
1221 2014-06-23 15:30:47 <netg_> as its obvious your views differ much
1222 2014-06-23 15:31:11 <petertodd> netg_: yes, I think it would be great to add yet another view to that discussion :P
1223 2014-06-23 15:31:46 <dabura667> hearn: The point I am trying to get at was what jgarzik was mentioning about defaulting to trusted, at least as far as Core is concerned. If an SPV client or some other piece of software wants to make exchanges of security for usability, then I think that's fine and as you mentioned should be encouraged to compete. But leaving the core protocol open to security weaknesses in the name of usability is dangerous imo.
1224 2014-06-23 15:31:49 <hearn> some of this stuff just has to be tried. i don't think it's always possible for someone to just Get It Right.
1225 2014-06-23 15:32:31 <sipa> especially with floating fees i agree with that... we'll just have to see how the interaction of software with an economy behaves...
1226 2014-06-23 15:32:43 <dabura667> hearn: true. Can't knock it 'til you try it, I guess.
1227 2014-06-23 15:32:54 <epscy> is there a rollback procedure? :p
1228 2014-06-23 15:33:00 <hearn> dabura667: also i think there's a small misunderstanding. getutxo does not add any security weaknesses to the protocol (ignoring the usual DoS stuff which can be triggered via many other ways). jeff's objection is that people might use it to write insecure apps
1229 2014-06-23 15:33:02 <sipa> epscy: sure, just use a time machine
1230 2014-06-23 15:33:10 <petertodd> sipa: yeah, floating fees is fine, but as I said on day 1, it must be sanity checked or you'll find out that interaction didn't go as planned...
1231 2014-06-23 15:33:14 <hearn> dabura667: but this is the old "SPV vs full" debate again
1232 2014-06-23 15:33:31 <dabura667> hearn: ok, I didn't catch on that.
1233 2014-06-23 15:33:31 <hearn> SPV is less secure than full and more secure than web wallets. we let the market decide. outcome: mixed.
1234 2014-06-23 15:33:58 Aquent_ is now known as Aquent
1235 2014-06-23 15:34:01 rdymac has quit (Excess Flood)
1236 2014-06-23 15:34:13 <hearn> so far it's sort of a race between mostly centralised web wallets, entirely centralised web wallets, and SPV wallets. not sure how many people use Core as a wallet these days, it's a bit hard to measure. probably still a lot. i'm guessing in the hundreds of thousands range.
1237 2014-06-23 15:34:28 * hearn wonders why anyone would choose "so" as their nick
1238 2014-06-23 15:34:42 <Apocalyptic> I hope there is a lot of them
1239 2014-06-23 15:35:30 <hearn> Apocalyptic: i think the numbers will fluctuate as Core's resource requirements do. allowing chain pruning and upgrade-from-SPV would help a lot, of course. though that'd muddy the waters of who is using what security model even more :)
1240 2014-06-23 15:35:31 rdymac has joined
1241 2014-06-23 15:35:33 AndrewJackson has quit (Ping timeout: 240 seconds)
1242 2014-06-23 15:35:53 <dabura667> I can't wait til BIP32 + BIP39 with Trezor English dict. is just in at least one wallet on every platform... Then I think we'll see SPV wallets soar into first place.
1243 2014-06-23 15:36:25 <hearn> dabura667: good news! someone is working on married wallets for bitcoinj. making good progress, writing good code. that's BIP32+multisig wallets that are "married" to a third party risk analysis operator.
1244 2014-06-23 15:36:26 <dabura667> And part of the reason I like Electrum. Even though the current Android client is really cruddy, I can have the same wallet on my PC and android
1245 2014-06-23 15:36:35 AndrewJackson has joined
1246 2014-06-23 15:36:52 t7 has quit (Quit: home)
1247 2014-06-23 15:36:55 <dabura667> hearn: *squee*
1248 2014-06-23 15:37:14 <hearn> ah yes. well i'm working on HD wallets for bitcoinj at the moment so then cloning wallets,at least at the financial level, will become possible. we still need to find a nice way to do electrum style metadata sync
1249 2014-06-23 15:37:28 <hearn> as metadata is becoming more and more important over time.
1250 2014-06-23 15:37:38 <sipa> use the cloud!
1251 2014-06-23 15:37:44 <hearn> heh
1252 2014-06-23 15:37:52 <Luke-Jr> +1 (jk)
1253 2014-06-23 15:37:57 <dabura667> Electrum doesn't do metadata sync... I think theres a plugin for contacts but thats about it
1254 2014-06-23 15:38:02 <hearn> i thought it did label syncing
1255 2014-06-23 15:38:07 <Luke-Jr> sipa: the obvious solution is to embed your wallet in the blockchain
1256 2014-06-23 15:38:12 <dabura667> yeah that's a plugin not main
1257 2014-06-23 15:38:13 <Luke-Jr> we can make OP_RETURN bigger
1258 2014-06-23 15:38:18 <hearn> ah ok
1259 2014-06-23 15:38:19 <dabura667> and only for PC client
1260 2014-06-23 15:38:30 <sipa> Luke-Jr: right;it's the obvious best solution
1261 2014-06-23 15:38:48 <Luke-Jr> sipa: it's even log-based, perfect format!
1262 2014-06-23 15:38:50 <dabura667> Luke-Jr: OP_RETURN ALL THE DATAS!
1263 2014-06-23 15:38:54 <hearn> wallets aren't very big. i think we could hash the wallet into an OP_RETURN output and then use ASICs to reverse the hash into the real wallet via brute force
1264 2014-06-23 15:38:58 <hearn> it's decentralised and elegant ;)
1265 2014-06-23 15:39:09 <sipa> hearn: lol!
1266 2014-06-23 15:39:13 <gdm85> btw, wumpus, I noticed you contributed some other repository on github: etna_viv. mind if I PM you about it? not for a long talk
1267 2014-06-23 15:39:58 zerwas has joined
1268 2014-06-23 15:40:01 <dabura667> I'm going to go play Monaco, I just bought on Steam summer sale. Nice talking to you guys, cya.
1269 2014-06-23 15:40:03 banghouse has joined
1270 2014-06-23 15:40:19 <wumpus> gdm85: sure
1271 2014-06-23 15:40:32 <hearn> later
1272 2014-06-23 15:40:34 <petertodd> Luke-Jr, sipa: I actually semi-seriously suggested that as a way to upgrade from non-HD to HD wallets...
1273 2014-06-23 15:41:03 ThomasV has joined
1274 2014-06-23 15:41:09 weilu has joined
1275 2014-06-23 15:42:06 benrcole1 has joined
1276 2014-06-23 15:42:17 * hearn -> home
1277 2014-06-23 15:42:20 hearn has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1278 2014-06-23 15:42:21 benrcole has quit (Read error: Connection reset by peer)
1279 2014-06-23 15:42:53 <dsnrk> Luke-Jr: why do you need a wallet file?? all I need is my brainwallet, lets store that in a OP_RETURN output
1280 2014-06-23 15:43:15 <Luke-Jr> dsnrk: only if you memorise the blockchain .->
1281 2014-06-23 15:43:19 <Luke-Jr> ._. *
1282 2014-06-23 15:43:20 T19EL has quit (Ping timeout: 245 seconds)
1283 2014-06-23 15:43:34 <petertodd> Luke-Jr: nah, other people do that for you
1284 2014-06-23 15:44:43 T19EL has joined
1285 2014-06-23 15:45:08 rubensayshi has quit (Remote host closed the connection)
1286 2014-06-23 15:45:10 shesek has joined
1287 2014-06-23 15:45:16 sabbie is now known as Sabbie
1288 2014-06-23 15:45:34 llllllllll has quit (Remote host closed the connection)
1289 2014-06-23 15:47:56 spinza has quit (Read error: Connection reset by peer)
1290 2014-06-23 15:51:48 spinza has joined
1291 2014-06-23 15:51:58 Insti has joined
1292 2014-06-23 15:52:35 sabfer has joined
1293 2014-06-23 15:54:20 Sleepnbum has joined
1294 2014-06-23 15:54:43 Sleepnbum is now known as Guest9163
1295 2014-06-23 15:55:08 [nsh] has joined
1296 2014-06-23 15:55:29 dgenr8 has joined
1297 2014-06-23 15:56:50 weilu has quit (Remote host closed the connection)
1298 2014-06-23 15:58:11 yubrew has joined
1299 2014-06-23 15:58:35 ielo_ has joined
1300 2014-06-23 15:58:58 <sipa> this has to be the most confusingly wrong notation for the bitcoind version numbers yet:
1301 2014-06-23 15:59:01 <sipa> "I downloaded the latest 0.92 BTC source code "
1302 2014-06-23 16:00:12 <Luke-Jr> ROFL
1303 2014-06-23 16:00:38 <Luke-Jr> sipa: bet it's an altcoin fan
1304 2014-06-23 16:00:58 <Luke-Jr> (altcoins often use their base unit as an abbreviation)
1305 2014-06-23 16:01:10 <Luke-Jr> (and don't understand the concept of decentralisation)
1306 2014-06-23 16:02:33 yubrew has quit (Ping timeout: 240 seconds)
1307 2014-06-23 16:05:10 <petertodd> sipa: sounds better when you say it's version 920,000 bits
1308 2014-06-23 16:05:37 <wumpus> i wonder who he paid those 0.92BTC to
1309 2014-06-23 16:05:44 <sipa> i'd say he paid way too much for some crappy piece of opensource code...
1310 2014-06-23 16:06:06 <petertodd> sipa: but it's enterprise!
1311 2014-06-23 16:07:15 lclc has quit (Quit: Konversation terminated!)
1312 2014-06-23 16:07:30 PRab has quit (Remote host closed the connection)
1313 2014-06-23 16:07:47 <wumpus> petertodd: enterprise licenses are much more expensive!
1314 2014-06-23 16:08:53 <petertodd> wumpus: well that's just a single seat obviously, and the price is a few months out of date...
1315 2014-06-23 16:09:48 _flow_ has quit (Quit: WeeChat 0.4.3)
1316 2014-06-23 16:09:59 <Luke-Jr> wumpus: will we charge for 0.10?
1317 2014-06-23 16:10:04 _flow_ has joined
1318 2014-06-23 16:10:07 <sipa> yes, 0.10 BTC
1319 2014-06-23 16:10:19 <Luke-Jr> cool
1320 2014-06-23 16:10:23 <sipa> significantly cheaper than the previous version, which was 0.92 :)
1321 2014-06-23 16:10:24 <Luke-Jr> how much will 0.10 BTC be worth then?
1322 2014-06-23 16:10:25 ThomasV has quit (Ping timeout: 245 seconds)
1323 2014-06-23 16:10:42 <petertodd> Luke-Jr: 0.10 BTC
1324 2014-06-23 16:10:44 * Luke-Jr tries to trick sipa into speculating on future prices :P
1325 2014-06-23 16:11:13 <dsnrk> sipa: just wait, if "bits" catches on we'll be in a world of hurt. "bitcoin uses 256bit private keys.." "what if I want to store more than 256 bits, I need two!????"
1326 2014-06-23 16:11:42 <Luke-Jr> dsnrk: sounds like win for TBC
1327 2014-06-23 16:12:42 <dsnrk> Luke-Jr: come on, we have a hard enough time with decimals. I'd love everything to be expressed as power of two, butttt it's not going to happen I don't think.
1328 2014-06-23 16:12:51 dekalo has joined
1329 2014-06-23 16:13:13 <dekalo> hello
1330 2014-06-23 16:13:19 <dsnrk> Luke-Jr: maybe eligius can only mine outputs that are of the size 2^n? ;)
1331 2014-06-23 16:13:45 <Luke-Jr> dsnrk: or at least prioritise them :P
1332 2014-06-23 16:13:59 graingert has quit (Ping timeout: 264 seconds)
1333 2014-06-23 16:14:12 <netg_> sound selfish
1334 2014-06-23 16:14:13 <Luke-Jr> but then there's silly people like phantomcircuit who will represent every decimal number in multiple 2^n outputs
1335 2014-06-23 16:14:14 <netg_> ;)
1336 2014-06-23 16:16:41 abossard has quit (Quit: abossard)
1337 2014-06-23 16:18:16 <AndersAA> I don't like how Aaron Voisne hardcoded "bits" into Breadwallet for iOS. Only a matter of time before that gets forked. Great app though.
1338 2014-06-23 16:19:30 <dsnrk> seeds aren't compatible with anything though. I thought they would be transportable to Electrum, but nope.
1339 2014-06-23 16:19:44 <netg_> chief scientist should talk with him and sort this issue out :)
1340 2014-06-23 16:19:55 eoss has joined
1341 2014-06-23 16:20:03 beachandbytes has quit (Ping timeout: 240 seconds)
1342 2014-06-23 16:20:26 <dsnrk> I misunderstood BIP32 and thought it would allow for people to easily transport between software (something which we don't have now, everybody uses their own lame format), but it looks like Electrum doesn't even make seeds that are the same from version to version, let alone with anybody else.
1343 2014-06-23 16:20:35 akstunt600 has quit (Ping timeout: 264 seconds)
1344 2014-06-23 16:20:38 <dabura667> dsnrk: Electrum uses its own thing... breadwallet is BIP32
1345 2014-06-23 16:21:25 <dabura667> Electrum version 2.0 will support BIP32... but its mnemonic phrase will use a different dictionary and will include a version byte at the beginning... so not BIP32 standard per se.
1346 2014-06-23 16:21:36 <dsnrk> exactly.
1347 2014-06-23 16:21:37 graingert has joined
1348 2014-06-23 16:21:37 graingert has quit (Changing host)
1349 2014-06-23 16:21:37 graingert has joined
1350 2014-06-23 16:21:38 ThomasV has joined
1351 2014-06-23 16:22:01 <dsnrk> so then wallets have to do 32 different bip32 versions, and we're back to incompatible wallet files.
1352 2014-06-23 16:22:02 <dabura667> However, if you can decode the mnemonic, remove the version byte and reencode it with the Trezor dictionary which seems to be what everyone is using, then you could use it.
1353 2014-06-23 16:22:20 <dabura667> It would be trivial to create a Electrum <> BIP32 conversion tool.
1354 2014-06-23 16:22:28 t7 has joined
1355 2014-06-23 16:22:37 hearn has joined
1356 2014-06-23 16:24:12 <dabura667> unfortunately, the mnemonic BIP (39) needs to set a 1 language 1 dictionary standard... imo.
1357 2014-06-23 16:24:27 <dabura667> anywho, venturing into offtopic land.
1358 2014-06-23 16:24:31 <dsnrk> I don't want to have to explain that to users. the seeds look and act the same. people should have sat down for more than 5 minutes and worked out a standard everybody agreed on.
1359 2014-06-23 16:24:32 weilu has joined
1360 2014-06-23 16:25:02 <dabura667> > people should have sat down for more than 5 minutes and worked out a standard everybody agreed on.
1361 2014-06-23 16:25:03 <sipa> people argued for months...
1362 2014-06-23 16:25:10 <dabura667> The story of my professional life...
1363 2014-06-23 16:25:33 [nsh] has quit (Ping timeout: 240 seconds)
1364 2014-06-23 16:25:57 <AndersAA> http://xkcd.com/927/
1365 2014-06-23 16:26:14 <dsnrk> sipa: I realise (I read that), but the pain is not just going to be one parties. it's something that's pretty much destroyed that use of BIP32 in my eyes.
1366 2014-06-23 16:26:16 ThomasV has quit (Ping timeout: 244 seconds)
1367 2014-06-23 16:26:22 <dabura667> Thomas was saying that he views BIP39 as trivial and that BIP0044 is more important... however he said he didn't like the current BIP0044 draft.
1368 2014-06-23 16:27:04 <dabura667> But he's busy with 2.0... and starting his company and 2FA service... etc.etc.
1369 2014-06-23 16:28:18 [nsh] has joined
1370 2014-06-23 16:28:25 <dsnrk> sorry this is straying into OT for this channel.
1371 2014-06-23 16:28:46 <dabura667> I am gonna go on record and +1 a 1-language 1-dictionary rule for BIP39. Though BIPs are OT.
1372 2014-06-23 16:28:51 bitnumus has quit (Quit: :))
1373 2014-06-23 16:29:36 [nsh] has quit (Max SendQ exceeded)
1374 2014-06-23 16:30:25 sipa has left ()
1375 2014-06-23 16:30:39 <dabura667> AndersAA: UTF-8 was amazing... then UTF-16 came out, etc... endless loop. Anywho I'm going to bed, I have to code a silly Excel Macro for my boss... (shoot me)
1376 2014-06-23 16:31:10 dabura667 has quit (Quit: Leaving)
1377 2014-06-23 16:32:28 benrcole1 has quit (Quit: Leaving.)
1378 2014-06-23 16:33:32 <hearn> UTF-16 predates UTF-8
1379 2014-06-23 16:33:37 mjb504_ has quit (Remote host closed the connection)
1380 2014-06-23 16:33:40 <hearn> oh, he's gone.
1381 2014-06-23 16:33:42 <wumpus> yes, one can never have enough standards, and one can never invent the wheel enough times
1382 2014-06-23 16:34:02 akstunt600 has joined
1383 2014-06-23 16:34:16 <hearn> in fairness, UTF-16 was the "obvious" way, and when UTF-8 was invented everyone agreed it was better and switched to it. the only time i encounter UTF-16 these days is in software that predates the widespread adoption of UTF-8.
1384 2014-06-23 16:34:29 <hearn> (the exception being when performance is absolutely critical....)
1385 2014-06-23 16:35:31 <wumpus> UTF-16 was the obvious way until it was discovered that 16 bits isn't enough to represent every glyph that humans use either
1386 2014-06-23 16:35:41 <hearn> right
1387 2014-06-23 16:36:07 <wumpus> UTF-32 never caught on for some reason :-)
1388 2014-06-23 16:36:41 ferroh has quit (Quit: This computer has gone to sleep)
1389 2014-06-23 16:36:48 gonedrk1 has joined
1390 2014-06-23 16:37:05 <dsnrk> I don't think UTF-32 went far enough. UTF-64 is where the party is at.
1391 2014-06-23 16:37:31 brson has joined
1392 2014-06-23 16:37:39 W0rmDr1nk has quit (Ping timeout: 244 seconds)
1393 2014-06-23 16:37:56 mjb504 has joined
1394 2014-06-23 16:38:24 Sambler has joined
1395 2014-06-23 16:38:53 <wumpus> dsnrk: that will be introduced along with the switch to 128 bit timestamps
1396 2014-06-23 16:39:35 gonedrk has quit (Ping timeout: 245 seconds)
1397 2014-06-23 16:41:02 skinnkavaj has quit (Changing host)
1398 2014-06-23 16:41:02 skinnkavaj has joined
1399 2014-06-23 16:42:12 <dsnrk> wumpus: ah yes, the impending year 292,277,026,596 problem.
1400 2014-06-23 16:43:45 AnoAnon has joined
1401 2014-06-23 16:43:56 AnoAnon has quit (Max SendQ exceeded)
1402 2014-06-23 16:45:33 <phantomcircuit> hearn, that would be...all of windows
1403 2014-06-23 16:45:48 <hearn> yes, i know
1404 2014-06-23 16:45:52 <hearn> i used to do win32 programming
1405 2014-06-23 16:46:04 <hearn> heck a bit of win16 to
1406 2014-06-23 16:46:05 <hearn> *too
1407 2014-06-23 16:46:58 <hearn> java is the same, annoyingly
1408 2014-06-23 16:49:33 ysetravcr has joined
1409 2014-06-23 16:50:19 ferroh has joined
1410 2014-06-23 16:50:38 weilu has quit (Remote host closed the connection)
1411 2014-06-23 16:51:12 ThomasV has joined
1412 2014-06-23 16:51:20 <wumpus> well no matter what utf8/utf16/utf32 at least it's a solved issue now, no need for per-locale character sets anymore, yay
1413 2014-06-23 16:52:02 <gavinandresen> current master unit tests are failing for me: test/DoS_tests.cpp:293: error: in "DoS_checkSig": Signature cache timing failed
1414 2014-06-23 16:52:04 <gavinandresen> is it just me?
1415 2014-06-23 16:52:28 wallet42 has quit (Quit: Leaving.)
1416 2014-06-23 16:52:31 <dsnrk> I'll check.
1417 2014-06-23 16:52:59 justusranvier has quit (Remote host closed the connection)
1418 2014-06-23 16:53:03 <wumpus> gavinandresen: no errors detected here
1419 2014-06-23 16:53:07 weilu has joined
1420 2014-06-23 16:53:28 cbeams has quit (Remote host closed the connection)
1421 2014-06-23 16:53:33 justusranvier has joined
1422 2014-06-23 16:54:27 <phantomcircuit> wumpus, that's cheating, you gotta checkout upstream/master, autogen.sh, configure, make clean, make, then run the tests :P
1423 2014-06-23 16:55:04 llllllllll has joined
1424 2014-06-23 16:55:35 sahlhoff has joined
1425 2014-06-23 16:55:37 <wumpus> phantomcircuit: I do that all day
1426 2014-06-23 16:55:59 <wumpus> :p
1427 2014-06-23 16:56:00 <phantomcircuit> butyeah
1428 2014-06-23 16:56:01 <phantomcircuit> Running 124 test cases...
1429 2014-06-23 16:56:01 <phantomcircuit> *** No errors detected
1430 2014-06-23 16:56:22 <gavinandresen> bah...
1431 2014-06-23 16:56:32 <phantomcircuit> wumpus, nom nom ccache
1432 2014-06-23 16:56:56 <phantomcircuit> 6s build
1433 2014-06-23 16:56:57 <phantomcircuit> hehe
1434 2014-06-23 16:57:34 <dsnrk> fails for me on OSX.
1435 2014-06-23 16:58:16 Sambler has quit (Ping timeout: 255 seconds)
1436 2014-06-23 16:58:31 <phantomcircuit> dsnrk, interesting
1437 2014-06-23 16:59:34 brson has quit (Quit: leaving)
1438 2014-06-23 16:59:44 brson has joined
1439 2014-06-23 17:01:39 cbeams has joined
1440 2014-06-23 17:01:39 cbeams has quit (Changing host)
1441 2014-06-23 17:01:39 cbeams has joined
1442 2014-06-23 17:02:02 <dsnrk> fails to build the QT binary, more precisely
1443 2014-06-23 17:04:04 JackH has quit (Quit: JackH)
1444 2014-06-23 17:05:19 Gyps has joined
1445 2014-06-23 17:06:04 brson has quit (Ping timeout: 240 seconds)
1446 2014-06-23 17:07:19 brson has joined
1447 2014-06-23 17:07:31 ferroh has quit (Ping timeout: 272 seconds)
1448 2014-06-23 17:08:01 non2_ has quit (Ping timeout: 240 seconds)
1449 2014-06-23 17:09:26 mutti has joined
1450 2014-06-23 17:10:58 graingert has quit (Quit: Ex-Chat)
1451 2014-06-23 17:11:15 ThomasV has quit (Ping timeout: 245 seconds)
1452 2014-06-23 17:11:22 roconnor has joined
1453 2014-06-23 17:11:51 MoALTz has joined
1454 2014-06-23 17:12:18 benrcole has joined
1455 2014-06-23 17:13:14 lclc has joined
1456 2014-06-23 17:13:23 akstunt600 has quit (Ping timeout: 264 seconds)
1457 2014-06-23 17:14:20 ThomasV has joined
1458 2014-06-23 17:16:00 <dsnrk> and on fresh system it builds fine. no idea what's going on there.
1459 2014-06-23 17:16:38 CheckDavid has quit (Quit: Connection closed for inactivity)
1460 2014-06-23 17:16:59 MolokoDeck has quit (Ping timeout: 264 seconds)
1461 2014-06-23 17:19:32 <cfields> dsnrk: only fails on osx?
1462 2014-06-23 17:20:21 <dsnrk> cfields: seems fine on a different OSX box, I need to check my setup.
1463 2014-06-23 17:20:44 <cfields> dsnrk: 'fails to build' how?
1464 2014-06-23 17:20:59 dekalo has quit (Quit: Ex-Chat)
1465 2014-06-23 17:21:13 Burrito has quit (Quit: Leaving)
1466 2014-06-23 17:21:15 ielo_ has quit (Ping timeout: 245 seconds)
1467 2014-06-23 17:21:52 coingenuity has joined
1468 2014-06-23 17:21:54 coingenuity has quit (Changing host)
1469 2014-06-23 17:21:54 coingenuity has joined
1470 2014-06-23 17:23:15 mutti has quit (Quit: Computer has gone to sleep.)
1471 2014-06-23 17:23:52 mutti has joined
1472 2014-06-23 17:23:52 coingenuity has quit (Read error: Connection reset by peer)
1473 2014-06-23 17:23:55 <dsnrk> cfields: http://0bin.net/paste/mdnRrHEXBI5MDw2p#e7wb0JhKvY1mzJCRtAGsMfv04FuQQMJ4R+fdRQOh-mC
1474 2014-06-23 17:24:39 <cfields> dsnrk: building current master?
1475 2014-06-23 17:24:47 <dsnrk> yep.
1476 2014-06-23 17:26:49 akstunt600 has joined
1477 2014-06-23 17:27:22 <cfields> dsnrk: could you 'make V=1', please?
1478 2014-06-23 17:27:34 <cfields> looks like -qt isn't linking in the wallet stuff
1479 2014-06-23 17:27:45 Gyps has quit (Quit: Gyps)
1480 2014-06-23 17:27:46 <embicoin> Awww I read that maaku told me that some of you are planning to get rid of bdb eventually... just to ask, which db's are the candidate(s) for the replacement?
1481 2014-06-23 17:28:11 <kazcw> none. it's an append-only kv store; a db is overkill
1482 2014-06-23 17:29:24 jaekwon has joined
1483 2014-06-23 17:29:28 sustrik has joined
1484 2014-06-23 17:29:54 <embicoin> Then, just ecnrypted json or redis like local solution would be possible or adequate?
1485 2014-06-23 17:30:49 uywrxgbfn has joined
1486 2014-06-23 17:31:05 <embicoin> i wondered myself about it sometimes, but I am not a db expert... there must be an especifications or requirements about it...
1487 2014-06-23 17:31:12 <cfields> jgarzik: ping
1488 2014-06-23 17:31:34 ysetravcr has quit (Ping timeout: 240 seconds)
1489 2014-06-23 17:32:20 <embicoin> Is there a topic about it in the forums or mail list? Is interesting for me
1490 2014-06-23 17:33:49 jaekwon has quit (Ping timeout: 255 seconds)
1491 2014-06-23 17:33:58 Gyps has joined
1492 2014-06-23 17:35:55 Chief_Panda has quit (Quit: Leaving)
1493 2014-06-23 17:36:04 uywrxgbfn has quit (Ping timeout: 255 seconds)
1494 2014-06-23 17:37:13 Skirmant has quit (Quit: (。-ω-) zzz..)
1495 2014-06-23 17:37:25 mutti has quit (Quit: Lingo - http://www.lingoirc.com)
1496 2014-06-23 17:37:35 Lingo has joined
1497 2014-06-23 17:37:45 <dsnrk> cfields: sorry, got dropped. here you go. http://0bin.net/paste/3pdbnWMkyEv6l+JY#d-z4yxYqPuuqwLbnLpLLcaeNlyNKOqTJ437UyU1+Yoy
1498 2014-06-23 17:38:22 ielo has joined
1499 2014-06-23 17:38:39 Lingo has quit (Client Quit)
1500 2014-06-23 17:39:00 pierreatwork has joined
1501 2014-06-23 17:40:19 benrcole1 has joined
1502 2014-06-23 17:40:29 [EddyF]_ has quit (Quit: coding,sleeping or doing something better than chatting to you.)
1503 2014-06-23 17:40:59 benrcole has quit (Ping timeout: 264 seconds)
1504 2014-06-23 17:41:05 Krellan_ has quit (Remote host closed the connection)
1505 2014-06-23 17:41:38 damethos has quit (Quit: Bye)
1506 2014-06-23 17:41:38 Zarutian has joined
1507 2014-06-23 17:42:07 <cfields> dsnrk: thanks
1508 2014-06-23 17:44:04 pierreatwork has quit (Ping timeout: 240 seconds)
1509 2014-06-23 17:44:29 kgk has joined
1510 2014-06-23 17:44:54 MolokoDeck has joined
1511 2014-06-23 17:46:12 yubrew has joined
1512 2014-06-23 17:48:01 jtimon_ has quit (Ping timeout: 240 seconds)
1513 2014-06-23 17:48:07 Chief_Panda has joined
1514 2014-06-23 17:48:10 Krellan has quit (Ping timeout: 260 seconds)
1515 2014-06-23 17:48:17 agricocb1 has joined
1516 2014-06-23 17:48:17 agricocb has quit (Quit: Leaving.)
1517 2014-06-23 17:48:29 agricocb1 has quit (Client Quit)
1518 2014-06-23 17:49:04 agricocb has joined
1519 2014-06-23 17:49:32 <wumpus> embicoin: there are no concrete plans for what database to switch to for the wallet, though anything that needs a third-party dependency is extremely unlikely
1520 2014-06-23 17:49:59 brson has quit (Ping timeout: 244 seconds)
1521 2014-06-23 17:51:11 yubrew has quit (Ping timeout: 264 seconds)
1522 2014-06-23 17:51:20 <wumpus> anyhow, the wallet in bitcoin core doesn't have much priority, unless someone suddenly starts contributing to it heavily I don't expect anything to change soon
1523 2014-06-23 17:51:40 Sambler has joined
1524 2014-06-23 17:52:41 benrcole1 has quit (Quit: Leaving.)
1525 2014-06-23 17:52:53 <cfields> dsnrk: aha, the bitcoin-config.h change was merged
1526 2014-06-23 17:53:04 Application has quit (Remote host closed the connection)
1527 2014-06-23 17:53:16 sahlhoff has quit (Quit: sahlhoff)
1528 2014-06-23 17:53:20 Guest9163 has quit (Ping timeout: 245 seconds)
1529 2014-06-23 17:53:30 <cfields> dsnrk: i would expect that there might be one in-between build where some strange things happen
1530 2014-06-23 17:53:51 <wumpus> did you re-run autoconf.sh?
1531 2014-06-23 17:54:25 <cfields> ah no wait, i see what it would be
1532 2014-06-23 17:54:42 <cfields> the old file and the new one are both found in valid paths
1533 2014-06-23 17:54:47 <cfields> sec, will work up a fix
1534 2014-06-23 17:55:10 <cfields> dsnrk: for a temp fix, move src/bitcoin-config.h src/bitcoin-config.h.old
1535 2014-06-23 17:55:19 <cfields> but please don't nuke it, so you can verify the real fix
1536 2014-06-23 17:55:25 <embicoin> Thanks wumpus ;)
1537 2014-06-23 17:55:42 brson has joined
1538 2014-06-23 17:55:49 <dsnrk> cfields: so, building clean again and seeing if that works?
1539 2014-06-23 17:56:09 <cfields> dsnrk: after you move that file, should work fine
1540 2014-06-23 17:59:02 <dsnrk> alright, lets see (wishing I had more cores)
1541 2014-06-23 18:00:19 Gyps has quit (Ping timeout: 244 seconds)
1542 2014-06-23 18:00:43 samson_ has quit (Ping timeout: 272 seconds)
1543 2014-06-23 18:01:12 <dsnrk> cfields: yep, we're gold.
1544 2014-06-23 18:01:24 guntha has joined
1545 2014-06-23 18:01:27 samson_ has joined
1546 2014-06-23 18:01:31 <cfields> dsnrk: great, thanks. real fix coming up in just a min
1547 2014-06-23 18:01:59 Gyps has joined
1548 2014-06-23 18:03:36 JackH has joined
1549 2014-06-23 18:03:52 ak__ has joined
1550 2014-06-23 18:04:10 brson has quit (Ping timeout: 245 seconds)
1551 2014-06-23 18:06:40 akstunt600 has quit (Ping timeout: 245 seconds)
1552 2014-06-23 18:08:56 Gyps has quit (Quit: Gyps)
1553 2014-06-23 18:11:00 brson has joined
1554 2014-06-23 18:11:31 viajero has quit (Ping timeout: 240 seconds)
1555 2014-06-23 18:12:34 <cfields> dsnrk: https://github.com/bitcoin/bitcoin/pull/4395
1556 2014-06-23 18:13:36 <cfields> wumpus: would be nice to get that one tested/merged pretty quickly, otherwise a few people are likely to end up chasing their tails for a little while :\
1557 2014-06-23 18:16:13 [nsh] has joined
1558 2014-06-23 18:16:39 <dsnrk> cfields: I've renamed the file back to pre-fix, applied the patch, just waitinf for the build.
1559 2014-06-23 18:17:21 <cfields> dsnrk: i'm assuming you either switched branches around, or alternated between --[enable|disable]-wallet between builds
1560 2014-06-23 18:17:34 <cfields> you'll need to do the same to verify the fix
1561 2014-06-23 18:17:51 <dsnrk> understood
1562 2014-06-23 18:19:04 <cfields> what happened was: you built with wallet and had all the right objects, then built without wallet, but it found the wrong config. So it tried to build with wallet functionality but was missing the actual objects that provide it
1563 2014-06-23 18:19:16 cbeams has quit (Remote host closed the connection)
1564 2014-06-23 18:19:25 cbeams has joined
1565 2014-06-23 18:19:25 cbeams has quit (Changing host)
1566 2014-06-23 18:19:25 cbeams has joined
1567 2014-06-23 18:22:13 wallet42 has joined
1568 2014-06-23 18:22:16 <dsnrk> cfields: tested 3 builds (disablewallet, enabled, disablewallet) all with no issue.
1569 2014-06-23 18:22:59 samson_ has quit (Ping timeout: 264 seconds)
1570 2014-06-23 18:23:00 yano has quit (Ping timeout: 630 seconds)
1571 2014-06-23 18:23:08 <cfields> dsnrk: perfect, thanks.
1572 2014-06-23 18:23:30 samson_ has joined
1573 2014-06-23 18:26:01 benrcole has joined
1574 2014-06-23 18:28:24 non2_ has joined
1575 2014-06-23 18:28:52 <jgarzik> cfields, pong
1576 2014-06-23 18:30:01 damethos has joined
1577 2014-06-23 18:36:42 GAit has quit (Remote host closed the connection)
1578 2014-06-23 18:37:12 weilu has quit (Remote host closed the connection)
1579 2014-06-23 18:37:48 gfinn has joined
1580 2014-06-23 18:38:20 skinnkavaj has quit (Ping timeout: 245 seconds)
1581 2014-06-23 18:39:47 GAit has joined
1582 2014-06-23 18:40:52 MolokoDeck has quit (Ping timeout: 255 seconds)
1583 2014-06-23 18:42:10 <maaku> embicoin: no, a dead-simple binary append only file would be better
1584 2014-06-23 18:42:10 viajero has joined
1585 2014-06-23 18:42:17 weilu has joined
1586 2014-06-23 18:42:39 <maaku> the ideal is a common interchange format that is dead-simple to support
1587 2014-06-23 18:44:19 tombtc has joined
1588 2014-06-23 18:45:00 [nsh] has quit (Ping timeout: 245 seconds)
1589 2014-06-23 18:46:18 weilu has quit (Ping timeout: 244 seconds)
1590 2014-06-23 18:46:18 robonerd has quit (Ping timeout: 244 seconds)
1591 2014-06-23 18:47:16 <jgarzik> embicoin, maaku: Yes, that is the sketch of the plan.  An append-only format.
1592 2014-06-23 18:47:40 <jgarzik> But you need to be aware of some annoying filesystem details, if strictly just appending to one file.
1593 2014-06-23 18:48:04 <jgarzik> (in an atomic, secure, doesn't-stomp-other-data sort of way)
1594 2014-06-23 18:48:49 robonerd has joined
1595 2014-06-23 18:49:37 weilu has joined
1596 2014-06-23 18:49:47 weilu has quit (Remote host closed the connection)
1597 2014-06-23 18:50:21 hearn has quit ()
1598 2014-06-23 18:50:31 digitalmagus8 has joined
1599 2014-06-23 18:51:16 gigavps has joined
1600 2014-06-23 18:51:37 Aquent has quit (Ping timeout: 264 seconds)
1601 2014-06-23 18:51:59 non2_ has quit (Ping timeout: 244 seconds)
1602 2014-06-23 18:52:16 ferroh has joined
1603 2014-06-23 18:52:59 benrcole has quit (Quit: Leaving.)
1604 2014-06-23 18:55:03 sahlhoff has joined
1605 2014-06-23 18:55:08 roybadam1 is now known as roybadami
1606 2014-06-23 18:56:09 jtimon has joined
1607 2014-06-23 18:57:20 akstunt600 has joined
1608 2014-06-23 18:57:55 pablog has joined
1609 2014-06-23 18:58:30 pablog has quit (Remote host closed the connection)
1610 2014-06-23 18:58:57 agath has joined
1611 2014-06-23 19:00:13 ak__ has quit (Ping timeout: 255 seconds)
1612 2014-06-23 19:00:31 agath_pd has quit (Ping timeout: 240 seconds)
1613 2014-06-23 19:00:54 Application has joined
1614 2014-06-23 19:01:20 dims_ has joined
1615 2014-06-23 19:01:48 JackH has quit (Ping timeout: 244 seconds)
1616 2014-06-23 19:02:09 dims has quit (Ping timeout: 252 seconds)
1617 2014-06-23 19:04:00 yano has joined
1618 2014-06-23 19:04:54 JackH has joined
1619 2014-06-23 19:08:09 Grouver has joined
1620 2014-06-23 19:08:43 wallet42 has quit (Quit: Leaving.)
1621 2014-06-23 19:10:11 Aquent has joined
1622 2014-06-23 19:11:36 leofidus is now known as afk!~quassel@lionservers.de|leofidus-ger
1623 2014-06-23 19:11:52 Zarutian has quit (Quit: Zarutian)
1624 2014-06-23 19:12:03 <cfields> jgarzik: a general observation on the UniValue class. Curious as to whether you think it'd be useful to define it as an interface class, with hard-typed subtypes
1625 2014-06-23 19:12:22 <jgarzik> cfields, puke
1626 2014-06-23 19:12:24 <cfields> jgarzik: a quick (rough) mock-up of the idea:
1627 2014-06-23 19:12:35 <jgarzik> cfields, That is one of the problems of JSON-spirit
1628 2014-06-23 19:12:43 <cfields> http://pastebin.com/raw.php?i=cQeP9349
1629 2014-06-23 19:13:05 <jgarzik> cfields, You have all these damned classes, then you wind up creating extra code in implementation, just to convert between types, request The Real Type from the The Generic Type, etc.
1630 2014-06-23 19:13:11 <jgarzik> cfields, json-spirit shows that is the wrong way to go.
1631 2014-06-23 19:13:53 <cfields> jgarzik: fair enough, i figured you had a good reason :)
1632 2014-06-23 19:14:09 <jgarzik> cfields, "UniValue" was named thusly because it is a universal value, one class to handle all json values
1633 2014-06-23 19:14:22 haskoiner has quit (Quit: haskoiner)
1634 2014-06-23 19:14:23 Grouver has quit (Quit:  HydraIRC -> http://www.hydrairc.com <- The alternative IRC client)
1635 2014-06-23 19:14:49 xenog has quit (Remote host closed the connection)
1636 2014-06-23 19:14:59 <cfields> i was just thinking in terms of reducing dependencies, letting each class dictate how to serialize/read/write itself.
1637 2014-06-23 19:15:12 <cfields> but i suppose, again, that's the opposite of what you're going for here
1638 2014-06-23 19:15:30 erasmospunk has quit (Remote host closed the connection)
1639 2014-06-23 19:15:45 <jgarzik> too complicated for json
1640 2014-06-23 19:15:47 ielo has quit (Ping timeout: 264 seconds)
1641 2014-06-23 19:16:26 <cfields> ok, asked and answered.
1642 2014-06-23 19:16:40 embicoin has quit (Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140608211622])
1643 2014-06-23 19:16:48 <jgarzik> cfields, thanks for thinking about the problem though :)
1644 2014-06-23 19:17:08 <cfields> jgarzik: np. abstraction and templates are what you get when you ask a c++ guy for review :)
1645 2014-06-23 19:17:20 <jgarzik> hehehe
1646 2014-06-23 19:18:03 <cfields> jgarzik: i'd just like to see one lib (bitcon-json or so) to rule them all for that functionality in core
1647 2014-06-23 19:18:14 <cfields> but i suppose you have next steps in mind for something like that
1648 2014-06-23 19:18:27 <gavinandresen> …. yeah, we could abstract it away into an iterator that takes a factory method to parse and then we could use it to parse XML, too!!! That's be AWESOME!!!!!
1649 2014-06-23 19:18:38 <jgarzik> I cannot seem to find it at the moment, but, years ago, Google published a style guide on how to write performant C++ in a production, mission-critical environment.  A lot of the style guide described how to turn off various features like RTTI, avoiding pitfalls with abstract classes (that generate tons of useless code)
1650 2014-06-23 19:18:51 <jgarzik> gavinandresen, :)
1651 2014-06-23 19:19:22 <gmaxwell> jgarzik: the short short version of it is "write C code" :P
1652 2014-06-23 19:19:27 <cfields> jgarzik: good luck turning off RTTI with boost :)
1653 2014-06-23 19:19:27 <pigeons> good, 36db6633c314b0f41aeee856f74a8d5d59334dbb fixed my bitcoin-qt issue i reported the other day
1654 2014-06-23 19:19:29 <jgarzik> The style guide stripped away all the overly polymorphic, templated crap that costs a lot at runtime
1655 2014-06-23 19:19:47 <jgarzik> yeah the tl;dr of the guide was "don't use boost or STL"
1656 2014-06-23 19:19:48 <gavinandresen> I think we were the first group at SGI waaaay back in 1990-something to use C++.  And we got advice from experts even back then on what features to ignore (e.g. multiple inheritance).
1657 2014-06-23 19:20:14 <jgarzik> gmaxwell, C with classes ;p
1658 2014-06-23 19:20:19 <cfields> jgarzik: heh, yep, that's prety much C
1659 2014-06-23 19:20:21 <jgarzik> C+ not C++
1660 2014-06-23 19:20:27 Aquent has quit (Quit: Leaving)
1661 2014-06-23 19:20:57 <jgarzik> OK, back to rebasing UniValue and incorporating sipa's feedback :)
1662 2014-06-23 19:20:58 <cfields> pigeons: sorry, that was my mess :\
1663 2014-06-23 19:22:03 kgk has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1664 2014-06-23 19:22:06 MolokoDeck has joined
1665 2014-06-23 19:22:34 digitalmagus8 has quit (Ping timeout: 240 seconds)
1666 2014-06-23 19:24:40 cbeams has quit (Remote host closed the connection)
1667 2014-06-23 19:24:47 micronxd has quit (Quit: micronxd)
1668 2014-06-23 19:27:42 ielo has joined
1669 2014-06-23 19:28:19 Krellan has joined
1670 2014-06-23 19:29:19 sabfer has quit (Remote host closed the connection)
1671 2014-06-23 19:29:43 daybyter has joined
1672 2014-06-23 19:31:56 ferroh has quit (Quit: This computer has gone to sleep)
1673 2014-06-23 19:32:05 jgarzik has quit (Ping timeout: 245 seconds)
1674 2014-06-23 19:34:36 yubrew has joined
1675 2014-06-23 19:35:40 dekalo has joined
1676 2014-06-23 19:38:00 CheckDavid has joined
1677 2014-06-23 19:38:08 ThomasV has quit (Quit: Quitte)
1678 2014-06-23 19:39:04 yubrew has quit (Ping timeout: 240 seconds)
1679 2014-06-23 19:39:13 ferroh has joined
1680 2014-06-23 19:40:25 Hunger- has quit (Ping timeout: 245 seconds)
1681 2014-06-23 19:41:37 haskoiner has joined
1682 2014-06-23 19:43:21 shieye has joined
1683 2014-06-23 19:43:50 ferroh has quit (Client Quit)
1684 2014-06-23 19:43:52 agricocb has quit (Quit: Leaving.)
1685 2014-06-23 19:44:11 sabfer has joined
1686 2014-06-23 19:44:36 agricocb has joined
1687 2014-06-23 19:45:47 mappum has quit (Read error: Connection reset by peer)
1688 2014-06-23 19:46:57 agricocb has quit (Client Quit)
1689 2014-06-23 19:48:23 Aquent has joined
1690 2014-06-23 19:48:26 agricocb has joined
1691 2014-06-23 19:48:38 dexX7 has quit (Quit: Leaving)
1692 2014-06-23 19:48:52 zeiris has quit (Quit: segfault)
1693 2014-06-23 19:49:01 zeiris has joined
1694 2014-06-23 19:49:52 grandmaster has joined
1695 2014-06-23 19:49:52 grandmaster has quit (Client Quit)
1696 2014-06-23 19:50:18 zeiris has quit (Client Quit)
1697 2014-06-23 19:51:03 Emzy has joined
1698 2014-06-23 19:51:10 zeiris has joined
1699 2014-06-23 19:51:19 Krellan has quit (Read error: Connection reset by peer)
1700 2014-06-23 19:51:33 Krellan has joined
1701 2014-06-23 19:51:43 MoALTz has quit (Quit: Leaving)
1702 2014-06-23 19:52:01 MoALTz has joined
1703 2014-06-23 19:52:23 tombtc has quit (Quit: Wychodzi)
1704 2014-06-23 19:54:13 benrcole has joined
1705 2014-06-23 19:55:57 sipa has joined
1706 2014-06-23 19:57:53 benrcole has quit (Client Quit)
1707 2014-06-23 19:58:09 Chief_Panda has quit (Ping timeout: 252 seconds)
1708 2014-06-23 19:59:37 sabfer has quit (Remote host closed the connection)
1709 2014-06-23 20:03:04 agricocb has quit (Quit: Leaving.)
1710 2014-06-23 20:03:17 agricocb has joined
1711 2014-06-23 20:07:39 home_jg is now known as jgarzik
1712 2014-06-23 20:08:14 <jgarzik> cfields, sipa: what does anon namespace do, again?  Scope symbols to the local module?
1713 2014-06-23 20:08:43 <jgarzik> I saw sipa do that in another commit
1714 2014-06-23 20:09:23 <cfields> jgarzik: yea. makes it clear to the reader that it won't be used elsewhere, and ensures that symbols won't clash if you re-use the same static function name elsewhere
1715 2014-06-23 20:10:45 <cfields> elsewhere meaning separate translation unit
1716 2014-06-23 20:11:01 <sipa> jgarzik: it's basically static in steroids
1717 2014-06-23 20:11:33 <sipa> meaning "this whole block is not exported to other modules"
1718 2014-06-23 20:11:46 <jgarzik> ok, that's what I figured, thanks
1719 2014-06-23 20:11:51 <sipa> (which means the compiler can omit code if it's inlined everywhere etc
1720 2014-06-23 20:13:35 brson has quit (Quit: leaving)
1721 2014-06-23 20:13:38 seven has left ()
1722 2014-06-23 20:14:10 brson has joined
1723 2014-06-23 20:14:12 kgk has joined
1724 2014-06-23 20:14:25 cbeams has joined
1725 2014-06-23 20:14:34 llllllllll has quit (Ping timeout: 240 seconds)
1726 2014-06-23 20:16:18 maraoz has quit (Quit: Leaving)
1727 2014-06-23 20:18:19 smorim has joined
1728 2014-06-23 20:18:35 sabfer has joined
1729 2014-06-23 20:19:27 llllllllll has joined
1730 2014-06-23 20:21:05 <cfields> jgarzik: is -0x01 supposed to be a valid token?
1731 2014-06-23 20:21:15 mike4 has quit (Ping timeout: 245 seconds)
1732 2014-06-23 20:21:17 Namworld has joined
1733 2014-06-23 20:21:46 sabfer has quit (Client Quit)
1734 2014-06-23 20:22:09 <cfields> (in ParseScript())
1735 2014-06-23 20:22:38 chainey has joined
1736 2014-06-23 20:22:58 smorim has left ()
1737 2014-06-23 20:23:05 sahlhoff has quit (Quit: sahlhoff)
1738 2014-06-23 20:23:45 <sipa> jtimon: what does DRY mean?
1739 2014-06-23 20:23:48 xenog has joined
1740 2014-06-23 20:23:57 cbeams has quit (Remote host closed the connection)
1741 2014-06-23 20:23:58 <jtimon> don't repeat yourself
1742 2014-06-23 20:24:24 cbeams has joined
1743 2014-06-23 20:24:57 osmosis has joined
1744 2014-06-23 20:26:24 <jtimon> seriously, I still don't get what's wrong with the wallet calling the core...why have 2 different c++ programs (the core and the wallet) that talk to the p2p network?
1745 2014-06-23 20:26:33 osmosis has quit (Client Quit)
1746 2014-06-23 20:26:42 <jtimon> I feel I'm missing something
1747 2014-06-23 20:26:48 <sipa> separation
1748 2014-06-23 20:26:57 <sipa> everything can speak the p2p protocol
1749 2014-06-23 20:27:06 <sipa> it means you can use any wallet with any node implementation
1750 2014-06-23 20:27:35 <gmaxwell> including different versions of the reference.
1751 2014-06-23 20:27:47 <jtimon> I thought the qt wallet would still be "the wallet that relies on the reference node implementation"
1752 2014-06-23 20:27:50 <sipa> i think the important part is that it is not separating *the* wallet from core
1753 2014-06-23 20:27:57 <sipa> no, that is what i want to get rid of
1754 2014-06-23 20:28:09 <sipa> it is making all wallets potentially equal
1755 2014-06-23 20:28:31 yubrew has joined
1756 2014-06-23 20:28:35 <jtimon> I mean, by separating it the way I thought was the plan, you could get many wallets relying on bitcoind's core
1757 2014-06-23 20:28:44 <gmaxwell> Potentially also includes other spv wallets gaining security features around binding to trusted nodes.
1758 2014-06-23 20:28:52 cbeams has quit (Ping timeout: 255 seconds)
1759 2014-06-23 20:28:53 <sipa> i also want to get rid of bitcoind playing indexing server for everything
1760 2014-06-23 20:28:53 <jtimon> competing on features but getting much of their security from core
1761 2014-06-23 20:29:02 <sipa> if you need that, put it in a separate tool
1762 2014-06-23 20:29:23 <sipa> there's no need why that needs to be in the same codebase as the consensus code that runs the network
1763 2014-06-23 20:29:26 <gmaxwell> jtimon: which can be true too, e.g. if they work by preferrentially binding to configured trusted nodes.
1764 2014-06-23 20:29:44 <jtimon> so you don't think companies should "put bitcoind in their hedges"?
1765 2014-06-23 20:29:52 <sipa> i think they do
1766 2014-06-23 20:29:54 skinnkavaj has joined
1767 2014-06-23 20:29:54 <sipa> for validation
1768 2014-06-23 20:29:58 <sipa> but not for anything else
1769 2014-06-23 20:30:47 <gmaxwell> jtimon: the wallet being able to speak the p2p protocol doesn't mean that the most secure configuration (or even one you should use, depending on your application) is where you point it at the public network.
1770 2014-06-23 20:30:48 <jtimon> "for validation" but you don't want other programs they're running to reuse that validation because "the core is not supposed to maintain indexes"
1771 2014-06-23 20:30:58 <sipa> building an index is trivial
1772 2014-06-23 20:31:13 <gmaxwell> jtimon: it you have an index beind bitcoind core then its using that nodes validation.
1773 2014-06-23 20:31:25 <jtimon> yep, specially when you already have a db with that data...
1774 2014-06-23 20:31:48 <sipa> a db that is optimized for exactly one type of query, which clearly does not suffice for everyone
1775 2014-06-23 20:32:32 AnoAnon has joined
1776 2014-06-23 20:32:40 <sipa> i think there are ultimately 3 separatable components: (validation/utxo/blockchain), (watching the chain), (maintaining keys and signing)
1777 2014-06-23 20:32:41 <gmaxwell> the default configuration of bitcoind core will be pruned at some point in the future, adding any of those indexes will be an immediate (say, a year from now) 40gbyte space overhead.
1778 2014-06-23 20:32:45 AnoAnon has quit (Max SendQ exceeded)
1779 2014-06-23 20:32:47 smorim has joined
1780 2014-06-23 20:32:55 yubrew has quit (Ping timeout: 245 seconds)
1781 2014-06-23 20:32:59 <sipa> there are 2 independent separations possible
1782 2014-06-23 20:33:09 <jtimon> gmaxwell "an index beind bitcoind core then its using that nodes validation." you meant "binded"? what do you mean by that?
1783 2014-06-23 20:33:23 <gmaxwell> I mean behind.
1784 2014-06-23 20:33:32 * gmaxwell cureses lenovo's new keyboards.
1785 2014-06-23 20:33:48 <jtimon> hehe, cureses
1786 2014-06-23 20:33:54 <jaakkos> how about the touchpad...
1787 2014-06-23 20:33:54 <sipa> yeah, you'd run bitcoind as core router doing validation, everything in your network talks to it and is sure it only sees valid data, through p2p/spv
1788 2014-06-23 20:34:15 <sipa> if the very minimal querying bitcoind offer suffices, good
1789 2014-06-23 20:34:35 <sipa> if not, run a separate indexing server in your network, which is also guaranteed to only see valid data
1790 2014-06-23 20:36:49 <jtimon> so if you're running a "validation node "and a "index node" and a "wallet node", all controlled by yourself...you wan't them to talk through the p2p protocol instead of plain http, tcp, whatever?
1791 2014-06-23 20:37:02 <jtimon> why?
1792 2014-06-23 20:37:11 <sipa> why invent a new protocol?
1793 2014-06-23 20:37:26 <sipa> you already need implementations of p2p anyway
1794 2014-06-23 20:38:19 <sipa> applications talking to such index or wallet servers can use whatever they want of course
1795 2014-06-23 20:38:47 <jtimon> using http, tcp, or ipc is inventing a new protocol?
1796 2014-06-23 20:38:57 <sipa> i mean the communication between the validation node and whatever needs to access its information can just use p2p... as it is exactly what the validation node is built to be good at
1797 2014-06-23 20:39:04 lclc has quit (Quit: Konversation terminated!)
1798 2014-06-23 20:39:13 <jtimon> ok, makes sense
1799 2014-06-23 20:39:21 <sipa> you'll need ways of signalling reorganizations, relaying blocks, announcing things, ...
1800 2014-06-23 20:39:45 <sipa> all things the p2p protocol already does, and with well-tested implementations of keeping track of the chain state
1801 2014-06-23 20:40:01 <sipa> yes, it means duplicating some header data in multiple nodes...
1802 2014-06-23 20:40:28 <jtimon> at least makes sense for the valditation/indexing, the indexing/wallet case you're ok with using something else
1803 2014-06-23 20:41:19 <cfields> jgarzik: that's all for my nits
1804 2014-06-23 20:41:35 <sipa> something like a tx tracking server is useful... which you tell which keys/scripts you're interested it, and it notifies you if something interesting happens to them
1805 2014-06-23 20:42:07 Raccoon^ has joined
1806 2014-06-23 20:42:09 <sipa> you could have lightweight wallets talking to such a tracking server, and iirc that is what coinvault and bitsofproof are doing
1807 2014-06-23 20:42:23 <sipa> and in sense, electrum servers + electrum wallets too
1808 2014-06-23 20:43:00 <jtimon> yeah, I guess an indexing node would be equivalent to such a light client, but interested in all transactions
1809 2014-06-23 20:43:23 <sipa> imho any design that requires such an index is broken, but that's just my opinion :)
1810 2014-06-23 20:43:35 ak__ has joined
1811 2014-06-23 20:43:45 <sipa> apart from debugging
1812 2014-06-23 20:45:14 <jtimon> no, I mean, an explorer connected to a core with the "tx tracking feature", just not filtering by any transaction, just give me everything you validate so I include it into my index
1813 2014-06-23 20:45:20 Raccoon^ is now known as Raccoon
1814 2014-06-23 20:45:28 <jtimon> well, I was thinking out loud
1815 2014-06-23 20:45:44 mappum has joined
1816 2014-06-23 20:46:16 <sipa> sure
1817 2014-06-23 20:46:25 <sipa> it may make sense in some setup
1818 2014-06-23 20:46:52 akstunt600 has quit (Ping timeout: 255 seconds)
1819 2014-06-23 20:47:02 GM0127 has quit (Quit: Leaving)
1820 2014-06-23 20:47:55 teward has quit (Ping timeout: 245 seconds)
1821 2014-06-23 20:48:31 micronxd has joined
1822 2014-06-23 20:49:40 agricocb has quit (Quit: Leaving.)
1823 2014-06-23 20:50:27 jtimon has quit (Ping timeout: 272 seconds)
1824 2014-06-23 20:51:15 Denim-junior has quit (Ping timeout: 245 seconds)
1825 2014-06-23 20:52:02 agricocb has joined
1826 2014-06-23 20:52:09 benrcole has joined
1827 2014-06-23 20:55:28 jtimon has joined
1828 2014-06-23 20:58:31 wallet42 has joined
1829 2014-06-23 20:58:46 dims__ has joined
1830 2014-06-23 20:59:51 dims__ has quit (Max SendQ exceeded)
1831 2014-06-23 21:00:13 TheSeven has quit (Ping timeout: 252 seconds)
1832 2014-06-23 21:00:31 dims__ has joined
1833 2014-06-23 21:01:51 micronxd has quit (Quit: micronxd)
1834 2014-06-23 21:01:51 dims_ has quit (Ping timeout: 272 seconds)
1835 2014-06-23 21:01:52 TheSeven has joined
1836 2014-06-23 21:01:59 benrcole1 has joined
1837 2014-06-23 21:02:16 teward has joined
1838 2014-06-23 21:03:13 ielo has quit (Ping timeout: 244 seconds)
1839 2014-06-23 21:03:15 <jgarzik> cfields, thanks muchly
1840 2014-06-23 21:03:37 <cfields> jgarzik: np. did you see my question above, though?
1841 2014-06-23 21:03:49 <cfields> is -0x01 intended to be a valid hex input?
1842 2014-06-23 21:04:04 benrcole has quit (Ping timeout: 240 seconds)
1843 2014-06-23 21:04:14 <jgarzik> cfields, I think so, lemme check
1844 2014-06-23 21:04:23 codice has quit (Ping timeout: 272 seconds)
1845 2014-06-23 21:04:24 zerwas has left ()
1846 2014-06-23 21:04:28 Aquent_ has joined
1847 2014-06-23 21:04:32 <cfields> jgarzik: if so, it doesn't look like it'll be caught correctly
1848 2014-06-23 21:04:43 micronxd has joined
1849 2014-06-23 21:05:39 codice has joined
1850 2014-06-23 21:06:34 <jgarzik> cfields, The parser is known to accept some invalid input.  That doesn't bother me overmuch, as I consider JSON parsers too strict in general.  The more important thing I spent a lot of time testing is properly handling valid input
1851 2014-06-23 21:07:20 * sipa does not like accepting mildly-invalid input design in general... since OpenSSL DER signatures...
1852 2014-06-23 21:07:49 Aquent has quit (Ping timeout: 264 seconds)
1853 2014-06-23 21:08:09 <jgarzik> sipa, refusing ",]" construct is bad for humanity.
1854 2014-06-23 21:08:10 closer009 has joined
1855 2014-06-23 21:08:24 <cfields> jgarzik:  src/core_read.cpp:57 is where i'm looking. seems it'll accept 1, -1, 0x1, but not -0x1
1856 2014-06-23 21:08:33 <cfields> jgarzik: if that's as-intended, then no worries
1857 2014-06-23 21:08:33 <sipa> then define JgarzikSON to fix it :p
1858 2014-06-23 21:08:43 <jgarzik> sipa, json is an expressive input language, not something deterministic or hashable
1859 2014-06-23 21:08:52 <sipa> agree there
1860 2014-06-23 21:08:55 <sipa> still
1861 2014-06-23 21:09:37 Aquent_ has quit (Ping timeout: 264 seconds)
1862 2014-06-23 21:09:48 Hunger- has joined
1863 2014-06-23 21:09:50 <jgarzik> cfields, oh that
1864 2014-06-23 21:09:55 <jgarzik> That's not JSON
1865 2014-06-23 21:09:56 JackH has quit (Ping timeout: 244 seconds)
1866 2014-06-23 21:10:07 <jgarzik> I guess we were debating something other than what cfields was looking at :)
1867 2014-06-23 21:10:36 <cfields> heh, my fault for giving zero context.
1868 2014-06-23 21:10:47 Gyps has joined
1869 2014-06-23 21:11:06 <jgarzik> cfields, everything in core_read was stolen from existing implementations
1870 2014-06-23 21:11:50 <jgarzik> cfields, $NotMyBug.  That routine came from the tests.
1871 2014-06-23 21:12:32 <jgarzik> cfields, specifically https://github.com/bitcoin/bitcoin/blob/master/src/test/script_tests.cpp#L81 on master
1872 2014-06-23 21:12:45 <jgarzik> cfields, worth filing an issue?
1873 2014-06-23 21:13:06 <jgarzik> cfields, it's just our lame text-to-CScript parser
1874 2014-06-23 21:13:47 <cfields> jgarzik: zero clue here, was just a naive read-through. If it looks like it could be an issue, I can file one, sure
1875 2014-06-23 21:14:23 * jgarzik was scratching his head, wondering where in the hell was the JSON hex parsing code, which did not appear to exist in my codebase nor spec on http://json.org/ :) :)
1876 2014-06-23 21:15:36 ielo has joined
1877 2014-06-23 21:16:22 crunk-juice has quit (Remote host closed the connection)
1878 2014-06-23 21:16:34 * jgarzik _finally_ gets back to cfields' PR feedback.  Great stuff... this is exactly what I was looking for.  Being more a C person, I'm never sure what is the favorite pass-by-foo in some situations.
1879 2014-06-23 21:16:43 <jgarzik> pass-by-ref, pass-by-value, etc.
1880 2014-06-23 21:17:01 <jgarzik> cfields, you're welcome to spam :)
1881 2014-06-23 21:17:01 <cfields> jgarzik: rule of thumb (ignoring c++11) is objects get passed by const ref
1882 2014-06-23 21:17:13 <jgarzik> cfields, OK, good
1883 2014-06-23 21:17:16 <cfields> built-ins are passed by val
1884 2014-06-23 21:17:42 <cfields> very basic rule of thumb, that is
1885 2014-06-23 21:17:57 <jgarzik> cfields, built-ins meaning native types like float, int, etc.?
1886 2014-06-23 21:18:03 <jgarzik> non-class types
1887 2014-06-23 21:18:08 <jgarzik> I forget the proper name
1888 2014-06-23 21:18:09 <jgarzik> POD?
1889 2014-06-23 21:18:12 <sipa> anything small enough to fit in a register: pass by value
1890 2014-06-23 21:18:43 <jgarzik> Dammit.  What is that name for types that you must initialize manually?
1891 2014-06-23 21:18:51 <sipa> POD
1892 2014-06-23 21:19:34 <sipa> but if you have a wrapper class around a simple int, you may well pass it by value too
1893 2014-06-23 21:19:43 <cfields> right. int64_t and friends is usually where the debates start
1894 2014-06-23 21:20:06 <jgarzik> ... yet this is the deepest I've ever been into C++
1895 2014-06-23 21:20:10 * jgarzik kicks xchat
1896 2014-06-23 21:20:18 <jgarzik> this is the deepest I've ever been into C++     :)
1897 2014-06-23 21:20:36 <jgarzik> my C++ looks like it was written by a C coder
1898 2014-06-23 21:20:47 <kazcw> just like all of bitcoin-core, lol
1899 2014-06-23 21:20:48 <cfields> jgarzik: your code definitely looks like it was written by a C pro
1900 2014-06-23 21:20:51 <cfields> haha
1901 2014-06-23 21:20:58 jprichardson has joined
1902 2014-06-23 21:21:05 <jgarzik> RE int64_t there is no debate ;-)  I own a 64-bit processor, therefore, pass-by-value.
1903 2014-06-23 21:21:22 <sipa> kazcw: serialize.h was definitely NOT written by a C coded
1904 2014-06-23 21:21:31 theorbtwo has quit (Ping timeout: 240 seconds)
1905 2014-06-23 21:21:49 <gmaxwell> kazcw: so I guess we don't have to wonder if you've ever read the code or not.
1906 2014-06-23 21:21:55 <cfields> yea.. the serialization template/polymorphic stuff is a very weird hybrid
1907 2014-06-23 21:22:58 yubrew has joined
1908 2014-06-23 21:23:11 <cfields> jgarzik: one more nit, then. much of the getJsonToken could be rewritten much more simply with std strings and algorithms
1909 2014-06-23 21:23:32 <cfields> i didn't mention because i'm not sure if there's any real gain, readability or performance wise
1910 2014-06-23 21:23:57 <jgarzik> being a C coder, I like the _basics_ of C++.  C with guard rails. ;p  Simple classes, obvious operator replacements and data+code encapsulation.  Basic OOP.  The advanced shit always eats gobs of memory at compile and runtime, renders error messages unreadable, and in general makes my C coder dogbrain miserable.
1911 2014-06-23 21:24:24 <cfields> jgarzik: to be fair, don't equate c++ with g++
1912 2014-06-23 21:24:36 <cfields> jgarzik: if you get deep into c++land, clang can be your savior
1913 2014-06-23 21:24:39 <sipa> if i could choose one feature of C++ to have in C, it would be RAII destructors
1914 2014-06-23 21:24:46 <jgarzik> +1
1915 2014-06-23 21:24:53 <jgarzik> cfields, yeah, fair point
1916 2014-06-23 21:25:06 <gmaxwell> sipa: yea...
1917 2014-06-23 21:25:27 <jgarzik> RAII is so damned nice.  Sometimes I go around telling people "I hate C++, but it makes writing secure software a bit easier"
1918 2014-06-23 21:25:30 <gmaxwell> Rust does that well.
1919 2014-06-23 21:25:33 pierreatwork has joined
1920 2014-06-23 21:25:46 <cfields> jgarzik: i almost always avoided templates entirely, thought they were the spawn of satan. Turns out, g++ just wasn't helpful for shit.
1921 2014-06-23 21:26:25 roconnor has quit (Remote host closed the connection)
1922 2014-06-23 21:26:27 <jgarzik> cfields, I also harbor prejudices from the early C++ days, when identical templates could not be merged at link time etc.
1923 2014-06-23 21:26:42 eristisk has quit (Remote host closed the connection)
1924 2014-06-23 21:26:50 <jgarzik> most of that super-ugly stuff has gotten slowly fixed over the years
1925 2014-06-23 21:27:02 <gmaxwell> jgarzik: well you can't always count on it now, pretty awful when you realize your code has gone to 20x the cache size because some trivial change broke the merging.
1926 2014-06-23 21:27:04 yubrew has quit (Ping timeout: 240 seconds)
1927 2014-06-23 21:27:07 eristisk has joined
1928 2014-06-23 21:27:10 <gmaxwell> it's certantly more robust than it used to be.
1929 2014-06-23 21:27:20 <cfields> jgarzik: imo c++11 makes templates actually usable. It's a shame that those prevailing attitudes probably won't allow it to flourish
1930 2014-06-23 21:27:32 <cfields> which is totally fair, i absolutely get why.
1931 2014-06-23 21:28:07 <sipa> cfields: no, but c++14 will make them usable :)
1932 2014-06-23 21:28:18 * gmaxwell flips the chart on the wall: 0 days since a language discussion in #bitcoin-dev
1933 2014-06-23 21:28:26 <cfields> sipa: constexpr as intended?
1934 2014-06-23 21:28:29 <cfields> heh
1935 2014-06-23 21:29:05 agricocb has quit (Ping timeout: 272 seconds)
1936 2014-06-23 21:29:41 <sipa> cfields: hmm, maybe it's a feature post-c++14: contracts you can define that template arguments must satisfy, so you can give meaningful error messages if they fail
1937 2014-06-23 21:30:05 <cfields> oh, concepts?
1938 2014-06-23 21:30:16 agricocb has joined
1939 2014-06-23 21:30:20 <sipa> right!
1940 2014-06-23 21:30:29 <cfields> yea, iirc that got booted again
1941 2014-06-23 21:30:37 <sipa> :(
1942 2014-06-23 21:31:15 btiefert has quit (Ping timeout: 245 seconds)
1943 2014-06-23 21:31:26 agricocb has quit (Client Quit)
1944 2014-06-23 21:31:28 <kazcw> what c++ really needs is modules, it's a shame they're still in a "sometime" timeframe. maybe I'd feel differently if I had a faster box to compile on, but the whole assemble-everything-into-one-huge-ball-of-text compilation model is nuts, especially with non-trivial template usage.
1945 2014-06-23 21:32:08 <cfields> sipa: SFINAE goes a long way towards that, though
1946 2014-06-23 21:32:11 agricocb1 has joined
1947 2014-06-23 21:32:13 agricocb1 has quit (Client Quit)
1948 2014-06-23 21:32:20 <cfields> once you can wrap your head around the concept
1949 2014-06-23 21:32:35 dgenr8 has quit (Quit: dgenr8)
1950 2014-06-23 21:33:18 aburan28 has joined
1951 2014-06-23 21:33:24 <sipa> crazy
1952 2014-06-23 21:34:04 MKCoin has quit (Ping timeout: 240 seconds)
1953 2014-06-23 21:34:19 agricocb1 has joined
1954 2014-06-23 21:35:10 kermit has quit (Quit: Leaving.)
1955 2014-06-23 21:35:50 sytse has quit (Ping timeout: 245 seconds)
1956 2014-06-23 21:36:19 CryptoBuck has quit ()
1957 2014-06-23 21:37:03 shieye has quit (Quit: WeeChat 0.4.3)
1958 2014-06-23 21:37:18 akstunt600 has joined
1959 2014-06-23 21:40:00 ak__ has quit (Ping timeout: 245 seconds)
1960 2014-06-23 21:40:50 non2_ has joined
1961 2014-06-23 21:42:07 <jgarzik> Linus Torvalds was always zealous about _using_ the type systems, rather than subverting it with void* and casts and such.  The Linux kernel is very OOP, even though it is C.
1962 2014-06-23 21:42:16 <jgarzik> There is even (gasp) inheritance.
1963 2014-06-23 21:43:50 <cfields> jgarzik: it's always eye-opening to me to enable all cast warnings, so you see what's going on behind the scenes
1964 2014-06-23 21:44:27 <cfields> and 10x as much with c++. My rule of thumb is that whenever I get my code written the way I like it, it's probably copying classes/structs 2x more than I realize.
1965 2014-06-23 21:44:49 <jgarzik> In C, if you work with the compiler's alias analysis rather than against it has a lot of benefits.  CPU pipelines stay more full.  Other positives.
1966 2014-06-23 21:47:02 MKCoin has joined
1967 2014-06-23 21:47:15 <cfields> jgarzik: i always enjoy reading Linus' aliasing+atomicity rants. I've learned lots from those.
1968 2014-06-23 21:48:12 ionstorm has quit (Ping timeout: 264 seconds)
1969 2014-06-23 21:48:34 TheSeven has quit (Disconnected by services)
1970 2014-06-23 21:48:48 [7] has joined
1971 2014-06-23 21:49:10 <jgarzik> C is useful in that I may mentally map between CPU behavior and source language.  C++, I cannot really.  No clue how asm looks after the meat grinder of RTTI, virtual functions, templates, ...
1972 2014-06-23 21:49:22 <cfields> this one, iirc: http://thread.gmane.org/gmane.linux.kernel.cross-arch/21546
1973 2014-06-23 21:51:32 neozaru has quit (Remote host closed the connection)
1974 2014-06-23 21:52:11 * jgarzik wrote the i386 asm generating backend for Linus's [imo one of the best in the world] C parser: https://sparse.wiki.kernel.org/index.php/Main_Page    Linus spent a lot of time on the type system side of things.
1975 2014-06-23 21:52:56 <sipa> some C++ variant that has absolutely no implicit copying/allocation would be nice (and probably very cumbersome to use...)
1976 2014-06-23 21:53:02 <jgarzik> Linus and Al Viro are really two of the top C language experts in the world.  It is interesting to watch how that works out in the Linux kernel.
1977 2014-06-23 21:53:27 <sipa> no assignment operator, copy constructor, ...
1978 2014-06-23 21:53:32 <cfields> sipa: you can come close to managing that with c++11
1979 2014-06-23 21:53:39 <gmaxwell> sipa: rust also avoids expensive hidden operations (like copying).
1980 2014-06-23 21:53:50 kermit has joined
1981 2014-06-23 21:53:51 <jgarzik> interesting
1982 2014-06-23 21:54:00 <cfields> sipa: define a move constructor and delete copy/ctor
1983 2014-06-23 21:54:04 agricocb1 has quit (Ping timeout: 240 seconds)
1984 2014-06-23 21:54:16 <sipa> cfields: yup; i want those in bitcoind :)
1985 2014-06-23 21:54:25 <cfields> see std::unique_ptr for a good example there
1986 2014-06-23 21:54:26 <sipa> but blah blah support old compilers blah
1987 2014-06-23 21:54:41 <sipa> i'm very familiar with unique_ptr :)
1988 2014-06-23 21:54:47 <jgarzik> cfields, A lot of your criticisms, while valid, are unfortunately artifacts copied from existing bitcoin code :(
1989 2014-06-23 21:55:04 <gmaxwell> In general C++ can do * if you use the right subset. Actually using the right subset is hard, I dunno why there aren't better lint tools as parts of the compiler so you can formally subset the language.
1990 2014-06-23 21:55:15 Sambler has quit (Quit: Leaving)
1991 2014-06-23 21:55:37 <sipa> google c++ code is often very explicit about ownershp of allocated objects, and unique_ptr helps a lot :)
1992 2014-06-23 21:55:37 <jgarzik> cfields, e.g. I did a cut-n-paste of TxToJSON, then changed each line to work with UniValue.  Original code nutty and silly logic is preserved ;p
1993 2014-06-23 21:55:45 <cfields> jgarzik: heh. I just gave it a context-less view. feel free to ignore
1994 2014-06-23 21:56:05 <jgarzik> cfields, well I don't want to ignore because they are valid :)
1995 2014-06-23 21:56:13 <jgarzik> cfields, engineer OCD
1996 2014-06-23 21:56:13 <cfields> jgarzik: i didn't see any actual bugs, iirc. just style stuff
1997 2014-06-23 21:56:28 <cfields> except for maybe the unchecked value, but i think my comment on that one was wrong anyway
1998 2014-06-23 21:56:35 <jgarzik> valid crapola, just not -my- crapola
1999 2014-06-23 21:56:38 agricocb has joined
2000 2014-06-23 21:56:40 agricocb has quit (Client Quit)
2001 2014-06-23 21:56:44 Sabbie is now known as sabbie
2002 2014-06-23 21:58:11 <cfields> jgarzik: core_read.cpp:57. Looks like if the token is exactly "0x", that might get nasty.
2003 2014-06-23 21:59:13 <jgarzik> cfields, I think if the user does that and breaks something, they get to keep both pieces. Doctor Says Don't Do That.
2004 2014-06-23 22:00:06 JackH has joined
2005 2014-06-23 22:00:12 <jgarzik> cfields, if you want to clean that up in https://github.com/bitcoin/bitcoin/blob/master/src/test/script_tests.cpp#L40 then I'll merge it into my branch
2006 2014-06-23 22:00:44 <jgarzik> sipa, where is your merge-github-pr-and-sign script again?
2007 2014-06-23 22:00:55 <sipa> jgarzik: contrib/devtools
2008 2014-06-23 22:01:08 <cfields> ok
2009 2014-06-23 22:01:34 <cfields> jgarzik: i suppose/hope the tests will tell me if i break it? :)
2010 2014-06-23 22:02:18 <jgarzik> cfields, no, because that would be meta
2011 2014-06-23 22:02:40 <jgarzik> cfields, it is currently used by the tests themselves, to generate test data
2012 2014-06-23 22:03:21 <jgarzik> cfields, it had obvious utility outside of test, so I grabbed it and moved it to a lib
2013 2014-06-23 22:03:48 <jgarzik> cfields, that's how you can build english-esque scripts on the bitcoin-tx command line
2014 2014-06-23 22:04:33 mr_burdell has quit (Ping timeout: 272 seconds)
2015 2014-06-23 22:05:24 <cfields> jgarzik: ah, when reading over that, i somehow didn't notice that it was a test. Completely non-critical then ofc
2016 2014-06-23 22:05:33 <cfields> but i'm happy to spruce it up, if you'd prefer
2017 2014-06-23 22:05:59 <jgarzik> cfields, every time code is bug-fixed, a kitten goes home happy.
2018 2014-06-23 22:06:59 agricocb has joined
2019 2014-06-23 22:07:55 ielo has quit (Ping timeout: 245 seconds)
2020 2014-06-23 22:08:53 agricocb1 has joined
2021 2014-06-23 22:09:00 eristisk has quit (Remote host closed the connection)
2022 2014-06-23 22:09:04 agricocb has quit (Client Quit)
2023 2014-06-23 22:09:25 eristisk has joined
2024 2014-06-23 22:09:41 cbeams has joined
2025 2014-06-23 22:09:42 cbeams has quit (Changing host)
2026 2014-06-23 22:09:42 cbeams has joined
2027 2014-06-23 22:09:43 damethos has quit (Quit: Bye)
2028 2014-06-23 22:11:58 <jgarzik> cfields, Currently it is only used for "compiling" (translating)  dev-facing test data into a usable form.  bitcoin-tx util expands that use to the user-facing command line.
2029 2014-06-23 22:12:42 kgk has quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
2030 2014-06-23 22:13:02 kgk has joined
2031 2014-06-23 22:16:20 benrcole1 has quit (Quit: Leaving.)
2032 2014-06-23 22:17:09 Emzy has quit (Quit: Textual IRC Client: www.textualapp.com)
2033 2014-06-23 22:18:52 lifty has quit (Remote host closed the connection)
2034 2014-06-23 22:25:18 agricocb has joined
2035 2014-06-23 22:25:29 agricocb1 has quit (Quit: Leaving.)
2036 2014-06-23 22:26:05 pierreatwork has quit (Ping timeout: 272 seconds)
2037 2014-06-23 22:26:57 crunk-juice has joined
2038 2014-06-23 22:27:55 kgk has quit (Ping timeout: 245 seconds)
2039 2014-06-23 22:31:36 Swadq has quit (Quit: Swadq)
2040 2014-06-23 22:32:25 crunk-juice has quit (Ping timeout: 272 seconds)
2041 2014-06-23 22:35:10 crunk-juice has joined
2042 2014-06-23 22:35:27 erplis has quit (Ping timeout: 252 seconds)
2043 2014-06-23 22:35:29 damethos has joined
2044 2014-06-23 22:40:32 plaprade has quit (Ping timeout: 240 seconds)
2045 2014-06-23 22:40:57 erplis has joined
2046 2014-06-23 22:41:03 erplis has quit (Changing host)
2047 2014-06-23 22:41:04 erplis has joined
2048 2014-06-23 22:42:56 damethos has quit (Ping timeout: 244 seconds)
2049 2014-06-23 22:43:16 MaxSan has joined
2050 2014-06-23 22:44:13 kermit has quit (Quit: Leaving.)
2051 2014-06-23 22:48:10 agricocb has quit (Quit: Leaving.)
2052 2014-06-23 22:51:02 Plasmastar has quit (Ping timeout: 260 seconds)
2053 2014-06-23 22:52:45 chainey has quit (Ping timeout: 244 seconds)
2054 2014-06-23 22:54:48 <dekalo> Hello, i'm trying to import a privkey into BitcoinJ using constructor ECKey(BigInt), with little success. I've created a new address with bitcoin-cli and got privKey in WIF:
2055 2014-06-23 22:54:55 <dekalo> # bitcoin-cli dumpprivkey mhj3wMCdpLFWgZ1tW7fgovTLFYCz94vr7R
2056 2014-06-23 22:54:55 <dekalo> cRC9LF9Vv8fgScffFVu2hgYR8ZGCYEuFoXR8Ya5TbDDdMabAeHcr
2057 2014-06-23 22:55:04 kermit has joined
2058 2014-06-23 22:55:05 <dekalo> Now i've done a procedure to got the privKey unencoding base58, removing checksum, prepending 0xef byte and postpending 0x01 byte. Here's the privKey that i've got: 300f349bb6026eb12e9df85e576c8ed16afb32b6b822dc35618ee2d9960357a9.
2059 2014-06-23 22:55:20 <dekalo> Now i've tried to "import" it in an ECKey element with its constructor ECKey(BigInteger) and effectively key.getPrivBytes() are the same of the key obtained in from the previous function, but when I print pubKey and address I got something different from what I expect: addr: mqM1YVKcJcaXhjNChhTgARcVbto6rpRjbq / pubk: 042d7da05012c825de1708c1db434d5d7c0a799136241269bfb7161cf8f4ab6e7da2bd21ba19875f12c6e068b1a27ed09ae53aae0ccde8f125c1fa
2060 2014-06-23 22:55:20 <dekalo> a3014255c9f2
2061 2014-06-23 22:56:01 <dekalo> kindly someone can help me figure out where am I wrong?
2062 2014-06-23 22:56:24 <dekalo> (i'm working in regtest)
2063 2014-06-23 22:57:13 chainey has joined
2064 2014-06-23 22:57:29 Guest9163 has joined
2065 2014-06-23 22:58:06 sirk390 has quit (Quit: Leaving.)
2066 2014-06-23 23:00:17 ferroh has joined
2067 2014-06-23 23:00:45 Guest9163 is now known as Sleepnbum
2068 2014-06-23 23:01:34 daybyter has quit (Quit: Konversation terminated!)
2069 2014-06-23 23:01:50 kermit has quit (Quit: Leaving.)
2070 2014-06-23 23:04:34 jprichardson has quit (Ping timeout: 255 seconds)
2071 2014-06-23 23:05:22 ItSANgo_ has quit (Quit: Leaving...)
2072 2014-06-23 23:05:42 erplis has quit (Ping timeout: 252 seconds)
2073 2014-06-23 23:06:22 aschildbach has quit (Read error: Connection reset by peer)
2074 2014-06-23 23:06:27 <jrick> dekalo: trying to do the same with go, you may want to check your private key http://sprunge.us/ejWH
2075 2014-06-23 23:06:31 <jrick> the one I have doesn't match
2076 2014-06-23 23:07:06 <jrick> also s/Printf/Println/
2077 2014-06-23 23:07:51 crunk-juice has quit (Remote host closed the connection)
2078 2014-06-23 23:08:09 cris has quit ()
2079 2014-06-23 23:08:14 <dekalo> sorry, but I dont know what is go
2080 2014-06-23 23:08:16 <dekalo> :D
2081 2014-06-23 23:08:27 <jrick> sure, just saying I can't get the same privkey
2082 2014-06-23 23:08:32 <jrick> so I'd check that you did that correctly
2083 2014-06-23 23:08:45 <dekalo> mm
2084 2014-06-23 23:08:59 <sipa> it may just be that encodings are broken for regtest
2085 2014-06-23 23:09:11 <sipa> it's not really designed for user-interfacing things
2086 2014-06-23 23:09:58 cbeams has quit ()
2087 2014-06-23 23:10:50 yubrew has joined
2088 2014-06-23 23:11:25 cris has joined
2089 2014-06-23 23:12:28 <jrick> dekalo: and I get the same address back so my privkey is correct http://sprunge.us/eKfC
2090 2014-06-23 23:12:44 <dekalo> jrick, i've pasted the wrong WIF, it was cPC85SgytJq8iwA43EuEbNP8kXB4KixSjTCNWqTX6LXKAYMAgWMu, sorry
2091 2014-06-23 23:13:01 <dekalo> but ok, is the same
2092 2014-06-23 23:13:20 <netg_> Luke-Jr: http://satoshilabs.com/news/2014-06-22-wanted-independent-trezor-code-reviewers/
2093 2014-06-23 23:13:36 <netg_> sorry wrong window
2094 2014-06-23 23:15:36 Sleepnbum has quit ()
2095 2014-06-23 23:15:48 yubrew has quit (Ping timeout: 264 seconds)
2096 2014-06-23 23:16:32 mike4 has joined
2097 2014-06-23 23:17:18 t7 has quit (Remote host closed the connection)
2098 2014-06-23 23:17:31 <jrick> dekalo: your second WIF string gets me the address mxHCMuWdz2pxkaxhwXhs5NDXAhfW6McdVD
2099 2014-06-23 23:18:22 <jrick> http://sprunge.us/bUfg
2100 2014-06-23 23:18:33 <sipa> please just try testnet
2101 2014-06-23 23:18:39 Plasmastar has joined
2102 2014-06-23 23:18:55 <jrick> iirc testnet3 shares the encoding magics
2103 2014-06-23 23:19:08 agricocb has joined
2104 2014-06-23 23:19:45 <sipa> maybe
2105 2014-06-23 23:19:50 <sipa> maybe in some implementations
2106 2014-06-23 23:20:13 <dekalo> ok sipa
2107 2014-06-23 23:20:27 <dekalo> jrick, that's my situation http://sprunge.us/JVOE
2108 2014-06-23 23:21:35 <dekalo> sipa: now i try on testnet
2109 2014-06-23 23:21:57 <jrick> paste your wifToPrivKey
2110 2014-06-23 23:23:04 <dekalo> http://sprunge.us/UbgO
2111 2014-06-23 23:23:48 ak__ has joined
2112 2014-06-23 23:24:05 ferroh has quit (Quit: This computer has gone to sleep)
2113 2014-06-23 23:24:19 Plasmastar has quit (Ping timeout: 252 seconds)
2114 2014-06-23 23:24:19 <dekalo> we got the same privkey decoded, so I can think that mine works fine
2115 2014-06-23 23:25:16 <jrick> there's an extra byte in there if the key is compressed
2116 2014-06-23 23:25:24 <jrick> which you aren't checking and it's included in the private key bytes otherwise
2117 2014-06-23 23:25:42 Belkaar_ has joined
2118 2014-06-23 23:25:44 <dekalo> in line 6 i remove the first and the last byte
2119 2014-06-23 23:25:46 <dekalo> no?
2120 2014-06-23 23:26:05 <jrick> oh I see
2121 2014-06-23 23:26:16 <jrick> yeah but if the key is not compressed, now you lost a private key byte :)
2122 2014-06-23 23:26:31 <dekalo> is only a testing function, still not added, but thanks :)
2123 2014-06-23 23:27:28 Belkaar_ has quit (Client Quit)
2124 2014-06-23 23:27:32 akstunt600 has quit (Ping timeout: 272 seconds)
2125 2014-06-23 23:31:23 <mappum> when can i expect miners to be updated to the new p2sh IsStandard rule? (i don't even know if it's implemnted yet)
2126 2014-06-23 23:32:39 <sipa> it's not even in a release...
2127 2014-06-23 23:34:17 <mappum> well once it is, do pools usually update right away?
2128 2014-06-23 23:34:39 <sipa> not necessarily
2129 2014-06-23 23:35:33 brianhoffman has joined
2130 2014-06-23 23:38:40 Plasmastar has joined
2131 2014-06-23 23:39:33 smorim has quit (Remote host closed the connection)
2132 2014-06-23 23:40:15 Denim-junior has joined
2133 2014-06-23 23:40:25 smorim has joined
2134 2014-06-23 23:41:07 <dekalo> jrick, can you try to use ECKey() of bitcoinj to create the key and relative address, pubkey? use that privk e4afcb239b1fe4f0185777d8784c0a0fb460702be4df0f2057241beaecccfd69
2135 2014-06-23 23:41:17 leofidus-ger is now known as leofidus|afk
2136 2014-06-23 23:42:00 <jrick> I don't have java
2137 2014-06-23 23:42:07 <dekalo> ah ok
2138 2014-06-23 23:42:21 mrkent has joined
2139 2014-06-23 23:43:00 <dekalo> maybe the problem is in the way that I import key
2140 2014-06-23 23:44:57 jprichardson has joined
2141 2014-06-23 23:46:02 gwb3 has joined
2142 2014-06-23 23:46:03 gwb3 has quit (Changing host)
2143 2014-06-23 23:46:03 gwb3 has joined
2144 2014-06-23 23:46:19 Aido_ is now known as Aido
2145 2014-06-23 23:46:35 skinnkavaj has quit (Ping timeout: 240 seconds)
2146 2014-06-23 23:47:00 <dekalo> problem found. By default ECKey compression is set to false
2147 2014-06-23 23:47:42 <dekalo> :)
2148 2014-06-23 23:49:42 jprichardson has quit (Ping timeout: 272 seconds)
2149 2014-06-23 23:49:42 MolokoDeck has quit (Ping timeout: 272 seconds)
2150 2014-06-23 23:51:37 justanotheruser has quit (Changing host)
2151 2014-06-23 23:51:37 justanotheruser has joined
2152 2014-06-23 23:51:54 impulse- has joined
2153 2014-06-23 23:52:12 ItSANgo has joined
2154 2014-06-23 23:52:51 impulse has quit (Read error: No route to host)
2155 2014-06-23 23:57:37 MolokoDeck has joined