1 2014-10-18 00:07:04 <jtimon> script/interpreter only needs to know about transactions, not blocks or headers
  2 2014-10-18 00:07:49 <coryfields_> ok
  3 2014-10-18 00:38:34 <jtimon> coryfields_ #5100
  4 2014-10-18 00:42:22 <coryfields_> jtimon: any reason not go ahead and move undo/txcompressor as well?
  5 2014-10-18 00:46:37 <coryfields_> also, you forget a few files? :p
  6 2014-10-18 01:00:47 <CodeShark> is it just me or is the latest master build broken?
  7 2014-10-18 01:01:12 <CodeShark> eric@builds:~/bitcoin$ ./configure
  8 2014-10-18 01:01:13 <CodeShark> ./configure: line 2773: `LT_INIT(disable-shared)'
  9 2014-10-18 01:01:13 <CodeShark> ./configure: line 2773: syntax error near unexpected token `disable-shared'
 10 2014-10-18 01:01:27 <coryfields_> CodeShark: install libtool
 11 2014-10-18 01:01:49 <CodeShark> and run autogen again?
 12 2014-10-18 01:02:10 <coryfields_> yea. autogen should yell at you if it's not installed anyway
 13 2014-10-18 01:02:48 <CodeShark> autogen gives me some warnings, but it didn't tell me that specifically before
 14 2014-10-18 01:02:56 <CodeShark> but now it did copy over the libtool stuff
 15 2014-10-18 01:03:02 <CodeShark> however, it still gives me some warnings
 16 2014-10-18 01:03:22 <CodeShark> Makefile.am:46: warning: user target 'distcleancheck' defined here ...
 17 2014-10-18 01:03:22 <CodeShark> Makefile.am:5: warning: user variable 'GZIP_ENV' defined here ...
 18 2014-10-18 01:03:22 <CodeShark> src/Makefile.am:347: warning: user target '.mm.o' defined here ...
 19 2014-10-18 01:03:55 <coryfields_> yea, those are normal atm, just haven't fixed em yet
 20 2014-10-18 01:05:12 <CodeShark> ok, building
 21 2014-10-18 01:07:57 <jgarzik> FYI, cross-PGP attestation,
 22 2014-10-18 01:08:04 <jgarzik> http://gtf.org/garzik/bitcoin/psa3-bitpay.txt
 23 2014-10-18 01:08:04 <jgarzik> http://gtf.org/garzik/bitcoin/psa3-pobox.txt
 24 2014-10-18 01:09:50 <coryfields_> [Whois] jgarzik is authed as jgarzik
 25 2014-10-18 01:19:23 <jgarzik> jgarzik agrees that jgarzik is jgarzik.
 26 2014-10-18 01:19:52 <coryfields_> jgarzik: ah damn, signature's good. i was hoping that was a test :)
 27 2014-10-18 01:22:26 <Luke-Jr> [01:22:24] [Whois] jgarzik is logged in as jgarzik.
 28 2014-10-18 01:28:39 <CodeShark> build seems to have worked - thanks, coryfields_
 29 2014-10-18 01:28:46 <coryfields_> np
 30 2014-10-18 02:40:25 <andy11> hello bitcoin lovers
 31 2014-10-18 03:16:00 <jtimon> coryfields_ sipa: so CTxOutCompressor to txcompressor.o, where should I put the undo stuff?
 32 2014-10-18 03:21:34 <sipa> jtimon: CTxOutCompressor can go to coins; undo can go to chain or main
 33 2014-10-18 03:27:16 <jtimon> thanks, sorry I didn't saw your reply on the PR
 34 2014-10-18 09:57:23 <wallet42> thank you sipa!
 35 2014-10-18 09:57:53 <wallet42> for rebasing headers first so many times
 36 2014-10-18 11:14:39 <aschildbach> Does headerfirst need to be enabled somehow? I compiled current master and removed all blockchain-related files from ~/.bitcoin/testnet3.
 37 2014-10-18 11:15:11 <aschildbach> When starting bitcoin-qt it was very fast for first year worth of blockchain. But for the rest it seems slow as ever.
 38 2014-10-18 11:15:27 <aschildbach> Is it tied to the age of my wallet somehow?
 39 2014-10-18 13:07:15 <wumpus> aschildbach: latter part of synchronization is CPU bound
 40 2014-10-18 13:07:30 <wumpus> faster download doesn't help much thre
 41 2014-10-18 13:08:21 <aschildbach> wumpus: Ok, but why was there such a hard separation?
 42 2014-10-18 13:08:37 <aschildbach> I mean 1/3 of the chain in 1 minute, 2/3 of the chain in one hour or so.
 43 2014-10-18 13:08:53 <aschildbach> (talking about testnet btw)
 44 2014-10-18 13:10:06 <wumpus> depends on the number of transactions (well at least inputs) in the chain, that's not distributed evenly
 45 2014-10-18 13:13:31 <wumpus> not sure why there would be a sudden change, but I don't know the distribution for testnet
 46 2014-10-18 13:13:40 <wumpus> also are you looking at block # or estimates progress %?
 47 2014-10-18 13:14:34 <wumpus> anyhow - if during the latter, slower part bitcoind uses most of the CPU, it's correct
 48 2014-10-18 13:14:55 <wumpus> if it still seems network bound something else may be wrong
 49 2014-10-18 14:46:38 <jgarzik> aschildbach, wumpus: Significantly more testing (more bytes, more transactions) in latter part of testnet chain
 50 2014-10-18 14:46:58 <aschildbach> Ok sounds reasonable
 51 2014-10-18 14:47:05 <wumpus> ok thanks
 52 2014-10-18 14:47:30 <jgarzik> occasionally some jerk will point their ASIC miner at testnet
 53 2014-10-18 14:47:57 <jgarzik> leading to blocks-per-second behavior before they figure out tnBTC is worthless
 54 2014-10-18 16:29:15 <lifeofcray> humpedumpeplum
 55 2014-10-18 16:29:33 <lifeofcray> looking for a nice, simple shop
 56 2014-10-18 16:29:36 <lifeofcray> for bitcoin
 57 2014-10-18 16:29:44 <lifeofcray> any suggestions?
 58 2014-10-18 16:37:35 <owowo> #bitcoin-otc that way -->
 59 2014-10-18 16:41:56 <lifeofcray> uh
 60 2014-10-18 16:42:07 <lifeofcray> not looking to trade btc
 61 2014-10-18 16:42:20 <lifeofcray> looking for a framework for a shop
 62 2014-10-18 16:44:18 <owowo> like selling things for btc?
 63 2014-10-18 16:44:21 <lewellyn> lifeofcray: i'm working on something i haven't talked about much. but there are no "good" answers atm.
 64 2014-10-18 17:20:16 <dabura667> Quick question for anyone that knows: Is the Trezor's Advanced Settings "Encryption Passphrase" talking about the passphrase salt for passing into the PBKDF2? or is there actually an encryption password, a salt password, and a PIN? (three separate things)
 65 2014-10-18 17:40:14 <ThomasV> dabura667: the first
 66 2014-10-18 17:41:50 <dabura667> ThomasV: Thanks.
 67 2014-10-18 18:45:59 <BlueMatt> sipa: why u no have secp256k1_ecdsa_pubkey_compress???
 68 2014-10-18 18:47:38 <sipa> BlueMatt: because it's too trivial :)
 69 2014-10-18 18:47:42 <sipa> i can easily add one
 70 2014-10-18 18:48:00 <BlueMatt> too late, already did
 71 2014-10-18 18:48:39 <sipa> why u no send PR?
 72 2014-10-18 18:50:38 <BlueMatt> because you recreated the repo when you moved it to bitcoin/secp256k1 instead of moving it...so now I cant
 73 2014-10-18 18:50:46 <BlueMatt> https://github.com/TheBlueMatt/secp256k1/commit/6d9ec9c273483b5cde62e82e7256df5c052dc7d9
 74 2014-10-18 18:51:01 <sipa> i didn't want that "forked from" link at the top :)
 75 2014-10-18 18:51:53 <BlueMatt> no, there is a button called "move repo"
 76 2014-10-18 18:51:57 <BlueMatt> then you could have moved it
 77 2014-10-18 18:52:07 <BlueMatt> https://github.com/WhisperSystems/TextSecure-Browser <-- used to be under my name
 78 2014-10-18 18:52:26 <sipa> ah, cool!
 79 2014-10-18 19:03:24 <gmaxwell> hopefully it looks like k[0]=k[65]&1?2:3;klen=33; (2/3ness unchecked)
 80 2014-10-18 19:05:18 <BlueMatt> gmaxwell: ahh, well I didnt think that far into it...I've been working higher-level
 81 2014-10-18 19:05:20 <BlueMatt> sorry :(
 82 2014-10-18 19:05:54 <BlueMatt> also, for my purposes, it can be slow
 83 2014-10-18 20:56:21 <BlueMatt> sipa: when you do clang-format on everything pre-0.10, you should also do s|MIT/X11|MIT|
 84 2014-10-18 22:16:56 <sipa> gmaxwell: did i miss something?
 85 2014-10-18 22:39:39 <starsoccer> is there a certain number of confirmations needed before a multisig input can be spent?
 86 2014-10-18 22:40:24 <Luke-Jr> starsoccer: no, and you mean output
 87 2014-10-18 22:41:03 <starsoccer> Luke-Jr, no I meant input. I am trying to spend a multisig transaction and keep getting a tx rejected error
 88 2014-10-18 22:41:04 <starsoccer> code 22
 89 2014-10-18 22:41:21 <Luke-Jr> it's an output you're trying to spend
 90 2014-10-18 22:42:28 <starsoccer> Luke-Jr, https://blockchain.info/address/37jyyoaardyT5WjfYB9Xd9NoWBwfR2ofMe
 91 2014-10-18 22:42:41 <starsoccer> i am trying to send from the multisig to another address
 92 2014-10-18 22:43:14 <Luke-Jr> starsoccer: paste your code?
 93 2014-10-18 22:43:39 <starsoccer> you mean the signed transaction?
 94 2014-10-18 22:43:49 <Luke-Jr> I mean your code. How you made the transaction.
 95 2014-10-18 22:44:04 <Luke-Jr> this isn't user support; if you're not writing code, you're in the wrong place. <.<
 96 2014-10-18 22:44:23 <starsoccer> right now Im using http://coinb.in/multisig/ just because Its open source and I will reuse its code
 97 2014-10-18 22:44:53 <Luke-Jr> ok, can you pastebin the raw tx it gives you?
 98 2014-10-18 22:45:35 <starsoccer> lmfao got it to work weirdly enough
 99 2014-10-18 22:45:39 <Luke-Jr> also, are you sure your bitcoind has the transaction paying to the multisig?
100 2014-10-18 22:45:43 <starsoccer> one sec let me try something else
101 2014-10-18 22:51:15 <starsoccer> Luke-Jr, okay so basically if I sign the transaction at the same by putting in both private keys it seems to work but as soon as I sign the raw transaction with one key
102 2014-10-18 22:51:23 <starsoccer> then sign the result with the second key it fails
103 2014-10-18 22:51:35 <Luke-Jr> starsoccer: sounds like a bug in the signer?
104 2014-10-18 22:51:45 <starsoccer> yea
105 2014-10-18 22:51:50 <starsoccer> im thinking so
106 2014-10-18 22:51:59 <starsoccer> let me try a differnt site
107 2014-10-18 22:52:00 <starsoccer> one sec
108 2014-10-18 22:52:57 <starsoccer> actully it might not be Its just cause the address is empty lol
109 2014-10-18 22:53:13 <starsoccer> damn just noticed my multisig fee was 0.004 btc which is alot
110 2014-10-18 22:54:11 <starsoccer> Luke-Jr, I would get a rejected tx error if the address was empty right
111 2014-10-18 22:54:30 <Luke-Jr> what address?
112 2014-10-18 22:54:40 <sipa> starsoccer: bitcoin transactions do _not_ spend from an address
113 2014-10-18 22:54:46 <sipa> they spend specific previous outputs
114 2014-10-18 22:54:58 <starsoccer> https://blockchain.info/address/37jyyoaardyT5WjfYB9Xd9NoWBwfR2ofMe
115 2014-10-18 22:55:03 <starsoccer> sipa, yea I know
116 2014-10-18 22:55:21 <sipa> without sendable coins you wouldn't be able to construct a transaction
117 2014-10-18 22:55:22 <starsoccer> just I think that was why it was failing
118 2014-10-18 22:55:42 <sipa> the question of whether your transaction would be rejected doesn't make sense
119 2014-10-18 22:55:49 <starsoccer> well one sec I am refunding the address and will try to use a differnt tool to create it and send it
120 2014-10-18 22:56:00 <gmaxwell> you couldn't have authored it in the first place unless there were coins to spend.
121 2014-10-18 22:56:04 <sipa> you simply can't construct one in that case, as you need to refer to the previous transaction that credited it
122 2014-10-18 22:56:44 <starsoccer> well I sent another input to the address just its taking a while to show up for some reason
123 2014-10-18 22:57:03 <starsoccer> ACTION yawns
124 2014-10-18 22:57:04 <sipa> #bitcoin please
125 2014-10-18 22:57:31 <starsoccer> sipa, I asked in #bitcoin a while back, but I get no response
126 2014-10-18 22:59:47 <starsoccer> oo weird my client isnt broadcasting the transaction. Anyway to have bitcoin-qt rebroadcast it?
127 2014-10-18 23:00:31 <sipa> it will occasionally
128 2014-10-18 23:00:34 <belcher_> use a pushtx site
129 2014-10-18 23:00:35 <sipa> every 20-30 minutes
130 2014-10-18 23:00:42 <belcher_> most blockchain explorers have them
131 2014-10-18 23:01:10 <starsoccer> sipa, yes I just read that from googling it. Anyway to rebroadcast manually?
132 2014-10-18 23:01:23 <sipa> what belcher_ said
133 2014-10-18 23:01:39 <starsoccer> let me figure out how to get the tx
134 2014-10-18 23:01:46 <sipa> gettransaction <txid>
135 2014-10-18 23:02:21 <starsoccer> copy the hex and broadcast that?
136 2014-10-18 23:02:37 <starsoccer> belcher_, can you send me a link to a site to pushtx
137 2014-10-18 23:02:42 <starsoccer> I tried blockchain.info but cant find it
138 2014-10-18 23:03:03 <belcher_> http://btc.blockr.io/tx/push
139 2014-10-18 23:03:03 <starsoccer> oo wait found it
140 2014-10-18 23:03:12 <starsoccer> kk submiteed
141 2014-10-18 23:03:39 <starsoccer> ACTION retries whole process
142 2014-10-18 23:03:45 <sipa> you should test on testnet
143 2014-10-18 23:04:37 <starsoccer> sipa, true
144 2014-10-18 23:04:57 <starsoccer> but none of the sites im trying to use have/allow test net :(
145 2014-10-18 23:05:04 <starsoccer> Luke-Jr, anyways tried it again and it didnt work
146 2014-10-18 23:05:07 <starsoccer> so it must be the site
147 2014-10-18 23:05:18 <sipa> why would you use a site?
148 2014-10-18 23:05:52 <starsoccer> sipa, mainly as Im working on creating my own solution, so I used some open source code but I have been having problems with it
149 2014-10-18 23:06:00 <starsoccer> my goal is to not run bitcoin-qt on the server
150 2014-10-18 23:06:08 <sipa> so use any other bitcoin wallet
151 2014-10-18 23:06:20 <starsoccer> I meant not run any bitcoin wallet on the server
152 2014-10-18 23:06:50 <Luke-Jr> starsoccer: step 1: don't use sites
153 2014-10-18 23:06:53 <sipa> i don't understand what you're trying to do then
154 2014-10-18 23:07:05 <starsoccer> Luke-Jr, lol thanks
155 2014-10-18 23:07:13 <sipa> if you just want to rely on some 3rd party api that does everything for you, this is not the place to ask about it
156 2014-10-18 23:07:27 <starsoccer> sipa, im trying to create my own site that will do multi-signature escrow.
157 2014-10-18 23:07:39 <starsoccer> sipa, no, Im not relying on a 3rd party api
158 2014-10-18 23:08:08 <starsoccer> Im trying to use bitcoinjs and other open source projects/websites to create my own javascript multisignature solution
159 2014-10-18 23:08:09 <sipa> who will hold the keys?
160 2014-10-18 23:08:14 <starsoccer> sipa, the users of course
161 2014-10-18 23:08:21 <sipa> how do they sign?
162 2014-10-18 23:09:01 <starsoccer> well I want to offer them the ability to sign using my site by just giving my the private key if they are lazy, signing the tosign string i give them, or using a 3rd party site or bitcoin wallet they trust
163 2014-10-18 23:09:26 <sipa> well first make your solution work locally in a wallet
164 2014-10-18 23:09:35 <starsoccer> I have been trying to get the whole multisig to work for nearly a month now and just cnat
165 2014-10-18 23:09:46 <belcher> really? its easy once you get it
166 2014-10-18 23:09:57 <belcher> have you read gavin's pastebin about it?
167 2014-10-18 23:09:57 <sipa> most things are easy once you get them :)
168 2014-10-18 23:09:57 <starsoccer> belcher, yes really I know its quite sad
169 2014-10-18 23:10:05 <starsoccer> belcher, nope linky please
170 2014-10-18 23:10:52 <starsoccer> sipa, true, I mean right now on my site I already have the multisig address creation and redeemscript down and working. Its just the whole transaction selector and signing part that has been giving me lots of problems
171 2014-10-18 23:10:56 <belcher> https://gist.github.com/gavinandresen/3966071 starsoccer
172 2014-10-18 23:11:37 <gmaxwell> starsoccer: it sounds like you need to step back and understand it overall better?  If you're having this much trouble perhaps you should be thinking carefully about if you ready yet to write a site that handles other people's money.
173 2014-10-18 23:11:42 <starsoccer> belcher, thanks, but like I said Im not using bitcoind or any other software you have to run on the server. I want it to all be javascript preferably
174 2014-10-18 23:12:12 <belcher> there is this you know http://coinb.in/multisig/
175 2014-10-18 23:12:33 <belcher> also what gmaxwell said, dont use it with real coins for a while
176 2014-10-18 23:12:34 <gmaxwell> (I'm pretty concerned about the above when you were talking about finding out you had no coins when you were trying to _Broadcast_ rather than construct, as that suggests a really serious-- though also quite common-- misunderstanding of how bitcoin works)
177 2014-10-18 23:12:36 <starsoccer> gmaxwell, I understand the how multisig works and the overall idea, just I cant seem to find any code that works reliably or that I can get to work reliably
178 2014-10-18 23:12:55 <starsoccer> belcher, yes I know, I am using that site and its giving me problems
179 2014-10-18 23:14:10 <starsoccer> gmaxwell, yea its was pure stupidity by mean not realizing that
180 2014-10-18 23:15:20 <starsoccer> okay 1 confirmation now trying it again
181 2014-10-18 23:15:21 <starsoccer> yay
182 2014-10-18 23:15:22 <starsoccer> lol
183 2014-10-18 23:17:45 <gmaxwell> I just can't figure out what you possibly could have used as the txin txid in such a case!
184 2014-10-18 23:17:45 <starsoccer> okay good got it to work
185 2014-10-18 23:17:48 <starsoccer> thanks for the help guys
186 2014-10-18 23:18:02 <starsoccer> gmaxwell, well I just reused the same txid even tho I already spent it
187 2014-10-18 23:18:07 <gmaxwell> ah
188 2014-10-18 23:18:15 <starsoccer> like I said was just pure stupidity
189 2014-10-18 23:18:31 <starsoccer> gmaxwell, its just been a long day