1 2014-09-19 00:04:48 <phantomcircuit> gmaxwell, pm
2 2014-09-19 00:05:34 <phantomcircuit> <chichov> [22:27:39] you cannot know the size and therefore the fee before the transaction is signed
3 2014-09-19 00:05:38 <phantomcircuit> you most certainly can
4 2014-09-19 00:23:31 <phantomcircuit> has anybody considered changing the timestamp value in the block such that values below the current minimum value map to higher values
5 2014-09-19 00:23:44 <phantomcircuit> would add about 40 years to the timestamps useful lifetime
6 2014-09-19 00:29:46 <sipa> that's how i have always assumed the timestamp shouod work
7 2014-09-19 00:30:26 <sipa> if the timestamp of a block would ve interpreted as more than a year before the block before or so, assume it is instead sufficient mulitoles of 2**32 seconds further to be after
8 2014-09-19 00:30:37 <sipa> we have some time to implement that
9 2014-09-19 00:30:43 <sipa> though it is technically a hardfork
10 2014-09-19 00:30:55 <sipa> it's easier after headersfirst though
11 2014-09-19 00:32:13 <sipa> right now we have a heuristics that rely on the timestamp and are incompatible with this extension
12 2014-09-19 00:32:39 <sipa> with headersfirst those are no longer necessary as we always have all headers preceeding a block begore doing any processing on it
13 2014-09-19 00:33:45 <phantomcircuit> sipa, right
14 2014-09-19 00:33:59 <sipa> in fact, a 20-bit timestamp would suffice
15 2014-09-19 00:34:09 <phantomcircuit> it's a change that could be implemented today and has something like 30 years before it's in effect
16 2014-09-19 00:34:16 <sipa> yup
17 2014-09-19 00:34:21 <sipa> faster than bip42 though
18 2014-09-19 00:34:43 <phantomcircuit> sipa, ha
19 2014-09-19 01:30:09 <funman_> hi
20 2014-09-19 01:30:21 <funman_> is there QT version that works with smart card?
21 2014-09-19 01:30:38 <funman_> to send BTC it would require auth via smart card
22 2014-09-19 01:30:51 <funman_> so even if wallet is copied it does not matter :)
23 2014-09-19 01:38:17 <sipa> no
24 2014-09-19 01:44:22 <Luke-Jr> funman_: note that may not be as obviously better as you might think
25 2014-09-19 01:44:33 <funman_> Luke-Jr: how come?
26 2014-09-19 01:44:48 <Luke-Jr> funman_: right now, you need to backup your wallet every 90 transaction or risk losing bitcoins by accident
27 2014-09-19 01:44:54 <Luke-Jr> smartcards are not immune to accidents
28 2014-09-19 01:45:12 <Luke-Jr> so, you need a way to regularly backup the smartcard's secrets..
29 2014-09-19 01:45:19 <Luke-Jr> which leads back to vulnerability
30 2014-09-19 01:45:37 <funman_> unless they can be cloned in offline laptop :)
31 2014-09-19 01:45:49 <funman_> like house keys make 3 pairs
32 2014-09-19 01:45:59 <funman_> once 1 is gone bad use nr 2
33 2014-09-19 01:46:28 <Luke-Jr> except in this case, the key changes every time you use it
34 2014-09-19 01:47:11 <funman_> maybe then protect key with a pin?
35 2014-09-19 01:47:27 <funman_> max 3 attemps
36 2014-09-19 01:48:19 <funman_> I am too sleepy to think it 100% throught yet I say idea got some merits
37 2014-09-19 01:53:19 <Luke-Jr> funman_: possible to make the wallet encryption use it - but of course then you're at risk every time you use it
38 2014-09-19 01:53:41 <Luke-Jr> probably there are some "smartcards" that support this out of the box (by typing up the password as a keyboard)
39 2014-09-19 02:16:02 <petertodd> sipa, phantomcircuit: (unix epoch) + 2**32 seconds = Feb 7, 2106 <- There's no rush to change the meaning of the time field as the nTime value is unsigned, not signed.
40 2014-09-19 03:14:54 <maraoz> I'm getting "Error: Initialization sanity check failed. Bitcoin Core is shutting down." with a freshly built bitcoind from master on Mac OS X. Google didn't help. any clues?
41 2014-09-19 03:20:17 <robbak> What have you tried? Innitial steps are - start with a blank data directory (-datadir=/some/blank/dir), then that clean datadir with your wallet in it.
42 2014-09-19 03:21:50 <maraoz> forgot to mention: this is a clean machine: the wallet is not important and has no balance. I tried with a blank data dir as you suggested and got the same error. I'm trying rebuilding now
43 2014-09-19 03:31:19 <phantomcircuit> maraoz, either master is broken of you have bad ram
44 2014-09-19 03:31:31 <phantomcircuit> or however you're building is broken
45 2014-09-19 03:31:43 <phantomcircuit> maraoz, find the debug.log file it will have more information
46 2014-09-19 03:32:11 <maraoz> thanks phantomcircuit. I'll try that after the build finishes
47 2014-09-19 03:33:56 <maraoz> damn. ran it three times. debug.log output: http://pastebin.com/cv0qSFUY
48 2014-09-19 03:36:16 <maraoz> I'll try with a tagged version
49 2014-09-19 03:39:35 <phantomcircuit> maraoz, looks like your glibc is insane
50 2014-09-19 03:40:29 <phantomcircuit> neat
51 2014-09-19 03:42:10 <maraoz> well... that's new to me. I'll check it tomorrow. thanks!
52 2014-09-19 03:43:54 <phantomcircuit> maraoz, it's neat because i've never seen that before
53 2014-09-19 03:44:35 <maraoz> me neither! :)
54 2014-09-19 04:43:13 <fanquake> maraox which os x?
55 2014-09-19 06:33:37 <aschildbach> saivann: Hi!
56 2014-09-19 06:47:19 <pum> hi all
57 2014-09-19 06:47:28 <pum> is it allowed hardware kind of chat here?
58 2014-09-19 06:47:51 <gmaxwell> This isn't really a hardware channel
59 2014-09-19 06:48:50 <pum> gmaxwell: i needed some guidance nothign specific abt hardwware
60 2014-09-19 06:49:14 <pum> i was finding other wired ways to connect TV(having HDMI) with Phone (except MHL) to play movies
61 2014-09-19 06:49:15 <pum> do you know any?
62 2014-09-19 06:49:27 <Diablo-D3> wired?
63 2014-09-19 06:49:29 <Diablo-D3> why?
64 2014-09-19 06:49:41 <Diablo-D3> just pick up a damned chromecast
65 2014-09-19 06:49:48 <Diablo-D3> $35, does what you want
66 2014-09-19 06:50:24 <Luke-Jr> pum: this has nothing to do with Bitcoin development, please take it to ##hardware
67 2014-09-19 06:50:37 <pum> ok Luke-Jr
68 2014-09-19 06:50:56 <Luke-Jr> or ##gtvhacker :p
69 2014-09-19 06:51:02 <Luke-Jr> just 1 #, #gtvhacker
70 2014-09-19 06:52:48 <pum> where i can find hardware expert except #hardware & gtvhacker channel; any keyword suggetion?
71 2014-09-19 07:46:44 <aschildbach> I have (again) a question about the tx_valid/invalid tests. I'm about to implement the STRICTENC verify flag, but I'm wondering why none of the tests fail although I didn't implement the flag yet. Is the flag actually tested in the tests?
72 2014-09-19 07:55:51 <Luke-Jr> aschildbach: it's not actually important yet, so it might not be
73 2014-09-19 07:56:29 <aschildbach> Good to know, thanks
74 2014-09-19 09:05:45 <wumpus> indeed, it appears that STRICTENC itself is not tested, it was just added to all existing tests because they also pass with strict DER conformance
75 2014-09-19 10:11:37 <aschildbach> wumpus: Any plans to add at least one test that fails if strictenc is not tested?
76 2014-09-19 10:14:50 <wumpus> yes
77 2014-09-19 10:15:46 <wumpus> I don't see how the plan could be anything else :)
78 2014-09-19 10:16:07 <aschildbach> (-:
79 2014-09-19 12:56:25 <JackH> hey guys, I noticed with BIPS 70 that the custom msg send back from the merchant to the Bitcoin-qt client is not stored in the transaction details. Is that intentional or is there a topic about it?
80 2014-09-19 13:37:05 <wumpus> there is *some* data from the payment request stored in the transaction details
81 2014-09-19 13:39:10 <wumpus> there may be things that are not stored, or not shown, at the time it was not very clear what to do with it
82 2014-09-19 13:40:39 <wumpus> looking at paymentrequest.cpp the *entire* payment request is stored with the transaction
83 2014-09-19 13:40:45 <wumpus> so it's a matter of showing it
84 2014-09-19 13:41:16 <wumpus> currently it shows only the merchant name
85 2014-09-19 15:06:28 <JackH> hey
86 2014-09-19 15:06:34 <JackH> yes, you are right, only merchant name so far
87 2014-09-19 15:06:44 <JackH> any plans to store the transaction msg?
88 2014-09-19 15:07:02 <JackH> it would be good, especially if someone sends payment receipt that includes order-id
89 2014-09-19 15:08:43 <helo> JackH: it's all stored. only the merchant name is displayed.
90 2014-09-19 15:09:00 <JackH> helo gotcha, so its a client thing
91 2014-09-19 15:09:03 <helo> right
92 2014-09-19 18:52:38 <flound1129> no blocks for 7 hours? Is that for real?
93 2014-09-19 18:53:17 <flound1129> nvm
94 2014-09-19 18:53:20 <flound1129> blockchain.info broken
95 2014-09-19 18:53:58 <sipa> the certainties in life...
96 2014-09-19 18:54:03 <flound1129> :)
97 2014-09-19 19:12:17 <lechuga_> lol
98 2014-09-19 19:53:04 <paveljanik> time to tell them, they probably are still not aware of it 8)
99 2014-09-19 20:15:05 <chichov> is there any quick way to extract the pubkey script from a P2SH input script?
100 2014-09-19 20:28:11 <davec> chichov: here is a pastie that does it using btcscript from btcd -- http://gbpaste.org/rBYIz
101 2014-09-19 20:28:44 <chichov> davec: unfortunately I need it in c++
102 2014-09-19 20:29:02 <gmaxwell> chichov: what do you mean by "p2sh input script"?
103 2014-09-19 20:29:21 <chichov> gmaxwell: I have a CScript which encodes a P2SH signature script
104 2014-09-19 20:29:54 <chichov> and in it is the serialized pubkey script which I want to have
105 2014-09-19 20:29:57 <gmaxwell> so pull the first push off and decode it).
106 2014-09-19 20:30:11 <chichov> hm, how do I push it off?
107 2014-09-19 20:31:22 <sipa> it's an stl vector
108 2014-09-19 20:32:12 <chichov> gonna have to get the positions somehow though
109 2014-09-19 20:33:00 <sipa> right, you have to iterate from the start
110 2014-09-19 20:33:18 <sipa> there's no way to start at the end
111 2014-09-19 20:34:37 <sipa> chichov: in the bitcoin core codebase you can just use ExtractDestination on it
112 2014-09-19 20:37:27 <chichov> sipa: you mean once I have the pubkey script I should use it to extract the public keys?
113 2014-09-19 21:09:00 <sipa> chichov: no, the destination
114 2014-09-19 21:09:16 <sipa> a destination is the abstract concept that is encoded as an address
115 2014-09-19 21:09:38 <sipa> for pay-to-pubkeyhash it's the pubkeyhash, for p2sh it is the scripthash
116 2014-09-19 22:38:59 <andytoshi> chichov: i have an rpc server that will do the decode for you, pass -rpcconnect=wpsoftwaren.net -rpcport=8001 to bitcoin-cli
117 2014-09-19 22:39:56 <andytoshi> and use the RPC `script_trace` or `raw_trace` (if you have a whole transaction)