1 2013-12-17 01:17:49 <netg> What's the best NodeJS-IDE for Mac?
  2 2013-12-17 01:19:51 <warren> netg: how is this on topic for this channel?
  3 2013-12-17 01:20:59 <netg> wanna work on coinpunk
  4 2013-12-17 01:21:08 <netg> offical bitcoin foundation funded project
  5 2013-12-17 01:21:31 <netg> is this channel only bitcoind and bitcoin-qt?
  6 2013-12-17 01:21:48 <BlueMatt> netg: no advertising here
  7 2013-12-17 01:21:56 <netg> what is wrong with you
  8 2013-12-17 01:21:58 <netg> öol
  9 2013-12-17 01:22:01 <netg> forget i
 10 2013-12-17 01:22:03 <netg> t
 11 2013-12-17 01:22:08 <netg> stupid#
 12 2013-12-17 01:22:11 <Luke-Jr> BlueMatt: .
 13 2013-12-17 01:22:16 <Luke-Jr> he was on topic kinda
 14 2013-12-17 01:22:21 <warren> BlueMatt: dang, I was going to ask him a question.
 15 2013-12-17 01:22:51 <Luke-Jr> probably nobody had an answer for him, but at least he was doing somehting with bitcoin :/
 16 2013-12-17 01:22:52 <BlueMatt> Luke-Jr: since when is advertising a project asking for devs on-topic here?
 17 2013-12-17 01:22:58 <Luke-Jr> BlueMatt: he wasn't.
 18 2013-12-17 01:23:05 <BlueMatt> <netg> wanna work on coinpunk
 19 2013-12-17 01:23:06 <Luke-Jr> BlueMatt: he was looking for advice on an IDE to work on a project
 20 2013-12-17 01:24:30 <BlueMatt> Luke-Jr: meh, if he responds like that, he can leave anyway
 21 2013-12-17 01:24:42 <Luke-Jr> …
 22 2013-12-17 01:30:57 <arioBarzan> anybody knows how could one contact an operator for bitcoin.it/wiki? do you know if they would possibly lower their membership cost from 0.01BTC ?
 23 2013-12-17 01:34:08 <warren> 0.01 BTC is fairly reasonable as an anti-spam measure
 24 2013-12-17 01:34:35 <lianj> yea
 25 2013-12-17 01:37:58 <Luke-Jr> warren: not anymore :/
 26 2013-12-17 01:38:03 <Luke-Jr> arioBarzan: #bitcoin-wiki
 27 2013-12-17 01:38:10 <arioBarzan> Luke-Jr: tnx
 28 2013-12-17 01:38:20 <Luke-Jr> more importantly, did MagicalTux renew the domain yet? :P
 29 2013-12-17 01:38:27 <warren> Luke-Jr: yes
 30 2013-12-17 01:41:56 <arioBarzan> it seamed to me the wiki on "Script" page shows different outputs for OP_EQUALVERIFY and OP_VERIFY. I guess both it should be Nothing/False but in the wiki for the output for OP_EQUALVERIFY is written in the table as True/False
 31 2013-12-17 01:43:03 <arioBarzan> (God, how many mistakes I made in my last sentence. Ridiculous)
 32 2013-12-17 01:49:27 <helo> starting up an old (offline) bitcoind machine, it looks like it thinks every block is orphaned
 33 2013-12-17 01:49:54 <BlueMatt> running 0.8.6?
 34 2013-12-17 01:50:06 <helo> this one is 0.8.5
 35 2013-12-17 01:50:29 <helo> my clock isn't right, maybe that's why
 36 2013-12-17 01:53:05 <warren> Luke-Jr: IMHO, 0.01 BTC is reasonable as an automated anti-spam barrier, but perhaps wiki admins can approve known people manually
 37 2013-12-17 01:56:14 <helo> bah, wrong datadir will do that
 38 2013-12-17 02:02:22 <arioBarzan> is $6 (at current exchange rate) necessary for anti-spam barrier? I don't think so. spamers wouldn't hesitate to spam that wiki with even lower barriers like $0.06 (0.0001BTC)
 39 2013-12-17 02:03:01 <andytoshi> arioBarzan: when 0.01 was set it was aronud 15c iirc :P
 40 2013-12-17 02:03:12 <andytoshi> and people still complained
 41 2013-12-17 02:03:14 <robonerd> warren imo a mB is the best qty for human validation
 42 2013-12-17 02:03:15 <arioBarzan> the $6 seams more like mandatory donation.
 43 2013-12-17 02:03:15 <Arnavion> Would hesitate*, you mean?
 44 2013-12-17 02:03:42 <robonerd> any services i'm building i standardized on mB
 45 2013-12-17 02:05:37 <alex_fun> :)
 46 2013-12-17 02:05:55 <alex_fun> tanking :P up omg
 47 2013-12-17 02:05:58 <arioBarzan> Arnavion: I should have said (wouldn't bother to spam) or would hesitate
 48 2013-12-17 02:06:41 <Gnewt> I think 0.001 makes more sense
 49 2013-12-17 02:08:06 <robonerd> Gnewt you also like mB? why doesn't it seem too small to you i wonder?
 50 2013-12-17 02:09:28 <Gnewt> I mean at $1k/coin it's $1
 51 2013-12-17 02:09:39 <andytoshi> man, i've been programming too long...i was pouring water into the kettle and it took a few seconds for the level to rise to the window, so it looked like it wasn't filling
 52 2013-12-17 02:09:46 <andytoshi> and i thought, "oh shit, there's a bug in the kettle"
 53 2013-12-17 02:09:47 <Gnewt> at less, it's still less than a dollar but enough that you can't create 100 spam accounts for nothing
 54 2013-12-17 02:09:55 <Gnewt> Hah andytoshi
 55 2013-12-17 02:09:57 <Gnewt> that happens to me
 56 2013-12-17 02:10:01 <alex_fun> :D
 57 2013-12-17 02:10:05 <Gnewt> I'm a fan of millibitcoins yeeah
 58 2013-12-17 02:10:06 <Gnewt> yeah*
 59 2013-12-17 02:10:26 <Gnewt> It also seems to be the standard "small denomination" that exchanges/wallets are choosing
 60 2013-12-17 02:10:32 <Gnewt> blockchain.info for example has mBTC as a currency option
 61 2013-12-17 02:47:26 <robonerd> is there an official web site for bitcoin?
 62 2013-12-17 02:47:32 <robonerd> bitcoin.org i suppose?
 63 2013-12-17 02:47:41 <ne0futur> yes
 64 2013-12-17 02:48:07 <ne0futur> see also the wiki https://en.bitcoin.it/wiki/
 65 2013-12-17 02:48:08 <BlueMatt> not really
 66 2013-12-17 02:48:28 <kjj> nothing in bitcoin is official
 67 2013-12-17 02:48:29 <BlueMatt> the official website is bitcoin.org/bitcoin.pdf thats it
 68 2013-12-17 02:50:20 <robonerd> ok...
 69 2013-12-17 02:50:41 <robonerd> http://www.coindev.org/ecosystem/
 70 2013-12-17 02:50:58 <robonerd> where shall we link to for Bitcoin?
 71 2013-12-17 02:51:37 <ne0futur> Squarespace trial accounts are not visible to the public. When you are ready to publish your website, upgrading your trial will make your site active to the world.
 72 2013-12-17 02:51:44 <ne0futur> robonerd: get a real account before advertising
 73 2013-12-17 02:52:20 <robonerd> guest access button ne0futur
 74 2013-12-17 02:52:31 <robonerd> not advertising. just need info to have proper data
 75 2013-12-17 02:53:49 <ne0futur> everyie is linking bitcoin.org afaik
 76 2013-12-17 02:53:55 <ne0futur> everyone
 77 2013-12-17 02:54:57 <saracen> robonerd: Your site is down for me.
 78 2013-12-17 02:56:13 <robonerd> yea, squarespace.com has been getting DoS'd all day
 79 2013-12-17 02:56:21 <robonerd> great first 24 hours using their stuff
 80 2013-12-17 02:56:43 <robonerd> and just so yall know, we're going to almost immediately go onto a ded server a member offers up. this was just to get stuff rolling
 81 2013-12-17 02:57:04 <robonerd> ne0futur alright bitcoin.org it is, thanks!
 82 2013-12-17 03:18:11 <shamoon> hello all - i have "No block source available" but am connected to 4 peers. this is with QT / osx
 83 2013-12-17 03:32:08 <robonerd> anyone know why i was banned from #bitcoin-bots ?
 84 2013-12-17 03:43:54 <TheLordOfTime> robonerd, ask midnightmagic maybe?  I know he uses autobans on occasion though... might've been an autoban
 85 2013-12-17 03:45:28 <robonerd> yea it was michagogo|cloud
 86 2013-12-17 03:45:41 <robonerd> i asked s/he last night about it and s/he didn't know
 87 2013-12-17 03:46:40 <TheLordOfTime> i just checked the banlist there, it says midnightmagic banned you, you might want to take it up with them
 88 2013-12-17 03:51:34 <robonerd> does anyone know how people can give you a web link to the channel chat log, back to a specific line?
 89 2013-12-17 03:51:47 <robonerd> and they can search the log, and when they find the line they want to quote, get a link to that precise line
 90 2013-12-17 03:52:14 <robonerd> does anyone know how people can give you a web link to the channel chat log, back to a specific line? and they can search the log, and when they find the line they want to quote, get a link to that precise line
 91 2013-12-17 03:52:23 <robonerd> oh no, i'm sorry!
 92 2013-12-17 03:56:05 <TheLordOfTime> robonerd, heheh
 93 2013-12-17 03:56:25 <TheLordOfTime> robonerd, i don't think every channel is logged...
 94 2013-12-17 03:56:37 <TheLordOfTime> some are, some aren't...
 95 2013-12-17 03:56:54 <TheLordOfTime> (some of them are privately logged by Luna though, for my benefit)
 96 2013-12-17 03:57:10 <robonerd> lol
 97 2013-12-17 03:57:16 <TheLordOfTime> robonerd, mind if I ask you which channel you specifically are seeking logs for?
 98 2013-12-17 03:57:21 <robonerd> #coindev
 99 2013-12-17 03:57:24 <Apocalyptic> which is somehow against Freenode's policy :)
100 2013-12-17 03:57:35 <robonerd> for the community of bitcoin software & service devs
101 2013-12-17 03:57:36 <TheLordOfTime> Apocalyptic, public logging is :P
102 2013-12-17 03:58:02 <TheLordOfTime> robonerd, what I'd do is ask their ops if they log the channel publicly somewhere
103 2013-12-17 03:58:13 <robonerd> well yea that's us
104 2013-12-17 03:58:14 <robonerd> hehe
105 2013-12-17 03:58:17 <Apocalyptic> it's often in the topic if it is
106 2013-12-17 03:58:35 <TheLordOfTime> Apocalyptic, well... public logging without permission from ops and a notice in the channel either via entrymsg, a message from a bot in the channel, or in the topic
107 2013-12-17 03:59:50 <TheLordOfTime> robonerd, If you want I can direct Luna to that channel, tell her to log it, but her logs aren't pretty like the -dev and -otc logs... they're raw, nitty-gritty...
108 2013-12-17 04:00:12 <robonerd> thanks but i'll just look until i find
109 2013-12-17 04:00:15 <robonerd> or maybe set it up myself
110 2013-12-17 04:00:15 <TheLordOfTime> perfect for pisg, and my scrollback merging scripts to merge with my ZNC scrollback...
111 2013-12-17 04:00:20 <robonerd> i can code it pretty easy
112 2013-12-17 04:00:21 <TheLordOfTime> but they ain't super pretty
113 2013-12-17 04:00:26 <TheLordOfTime> robonerd, or just launch a bot that does it for you
114 2013-12-17 04:00:30 <robonerd> yep
115 2013-12-17 04:00:39 <TheLordOfTime> i.e. luna, or whatever is used for logging here, or smth
116 2013-12-17 04:00:48 <ne0futur> robonerd: for your own channel you ll need a bot who keeps log, then a tool to convert logs to html, and host the logs yourself
117 2013-12-17 04:00:48 <TheLordOfTime> takes 2 minutes to open up log files on Luna though
118 2013-12-17 04:00:51 <TheLordOfTime> thank god for nginx :P
119 2013-12-17 04:01:01 <Apocalyptic> nginx ftw
120 2013-12-17 04:01:02 <TheLordOfTime> ne0futur, or serve the logs as text, same thing works :)
121 2013-12-17 04:01:04 <robonerd> ne0futur oh shoot, good call on the html
122 2013-12-17 04:01:07 <robonerd> forgot about that
123 2013-12-17 04:01:07 <TheLordOfTime> Apocalyptic, NGINX IS THE ULTIMATE.
124 2013-12-17 04:01:10 <Apocalyptic> ++
125 2013-12-17 04:01:13 <TheLordOfTime> yes, ++ on the HTML
126 2013-12-17 04:01:20 <robonerd> ok
127 2013-12-17 04:01:23 <robonerd> then i begin to build this
128 2013-12-17 04:01:24 <robonerd> IT BEGINS
129 2013-12-17 04:01:24 <TheLordOfTime> unless you do what I do, and want to search for rawmodes, which is really why I have Luna logging :)
130 2013-12-17 04:01:27 <ne0futur> TheLordOfTime: html will be easiter for the "give you a web link to the channel chat log, back to a specific line" part
131 2013-12-17 04:01:33 <TheLordOfTime> IT BEGINS, AS THE PROPHECIES HAVE FORETOLD
132 2013-12-17 04:01:38 <robonerd> why do you like rawlogs?
133 2013-12-17 04:01:40 <robonerd> rawmodes
134 2013-12-17 04:01:43 <TheLordOfTime> ne0futur, yes, note this line: [2013/12/16 23:01:10] <TheLordOfTime> yes, ++ on the HTML
135 2013-12-17 04:01:54 <TheLordOfTime> robonerd, because unfortunately I love working with rawmodes and seeing the rawmodes in my logs :)
136 2013-12-17 04:02:06 <TheLordOfTime> that way i can also find quiets and bans...
137 2013-12-17 04:02:12 <robonerd> can you show me what a few look like TheLordOfTime ?
138 2013-12-17 04:02:22 <TheLordOfTime> without having to search for "* Someone was banned from #channel"
139 2013-12-17 04:02:26 <TheLordOfTime> ... um ...
140 2013-12-17 04:02:27 <robonerd> mmm
141 2013-12-17 04:02:31 <robonerd> now that is a GREAT idea
142 2013-12-17 04:02:33 <ne0futur> i also prefer pure text and grep, on local logs ;)
143 2013-12-17 04:02:34 <TheLordOfTime> sure, lemme find somewhere where there's been recent bans
144 2013-12-17 04:02:42 <robonerd> just log raw traffic for a channel entirely, then p ull out w/e you want and how, yes ?
145 2013-12-17 04:02:43 <TheLordOfTime> ne0futur, exactly what i need for ZNC scrollback merging :)
146 2013-12-17 04:02:50 <TheLordOfTime> robonerd, well, not exactly raw-log
147 2013-12-17 04:02:54 <pierce> why is it that wallet dumping tools tend to dump private keys in a 279 byte format when private keys should only be 32 bytes?
148 2013-12-17 04:02:56 <robonerd> please explain
149 2013-12-17 04:03:01 <TheLordOfTime> robonerd, lemme grab an excerpt of Luna's logs for #bitcoin-otc
150 2013-12-17 04:03:05 <TheLordOfTime> which is a publicly-logged channel anyways
151 2013-12-17 04:03:12 <Apocalyptic> robonerd, like 2013/12/17 04:23:26 116612 : Receiving : :TheLordOfTime!LordOfTime@ubuntu/member/teward MODE #bitcoin-otc -b+q *!*@unaffiliated/arij *!*@unaffiliated/arij
152 2013-12-17 04:03:22 <robonerd> TheLordOfTime is secretly Edward Snowden, i hope everyone knows
153 2013-12-17 04:03:30 <TheLordOfTime> Apocalyptic, a little bit kinder with ChannelLogger in supybots, but still
154 2013-12-17 04:03:43 <robonerd> url to supy bot?
155 2013-12-17 04:03:45 <Apocalyptic> heh, yeah that's my personal raw format :)
156 2013-12-17 04:04:22 <robonerd> what does it look like raw to receive this message into the channel?
157 2013-12-17 04:04:33 <TheLordOfTime> robonerd, http://0bin.trekweb.org/paste/f090gpkI#oyPAr7wVWXxuOP3SHaxaUH5MtvPZYMqWDmJFRCqnp28=
158 2013-12-17 04:04:41 <TheLordOfTime> (on my own encrypted pastebin instance on trekweb.org)
159 2013-12-17 04:04:45 <TheLordOfTime> robonerd, that's an excerpt of logs from Luna
160 2013-12-17 04:04:52 <TheLordOfTime> I have her using UTC+-0 for timestamping
161 2013-12-17 04:05:28 <Apocalyptic> oh that's not raw at all
162 2013-12-17 04:05:36 <TheLordOfTime> Apocalyptic, no, it's not RAW
163 2013-12-17 04:05:42 <TheLordOfTime> but I consider that to be more "raw" than HTML
164 2013-12-17 04:05:49 <Apocalyptic> sure
165 2013-12-17 04:05:54 <TheLordOfTime> Apocalyptic, it does, however, show modes with the raw mode codes
166 2013-12-17 04:05:55 <TheLordOfTime> and lines
167 2013-12-17 04:06:04 <TheLordOfTime> case in point: 2013-12-17T03:19:39  *** TheLordOfTime sets mode: -b+q *!*@unaffiliated/arij *!*@unaffiliated/arij
168 2013-12-17 04:06:07 <robonerd> TheLordOfTime so you don't store the channel name in it?
169 2013-12-17 04:06:15 <robonerd> in each message
170 2013-12-17 04:06:29 <TheLordOfTime> robonerd, no, not in each message... here's why, the path on the server for it is done by channel and network
171 2013-12-17 04:06:41 <robonerd> ok
172 2013-12-17 04:06:47 <TheLordOfTime> since Luna is on two IRC networks, there's two root folders inside the ChannelLogger folder, one for freenode, one for othernet
173 2013-12-17 04:06:55 <TheLordOfTime> inside the freenode folder, there's a folder for each channel
174 2013-12-17 04:07:02 <TheLordOfTime> #bitcoin, #bitcoin-dev, #bitcoin-otc, etc.
175 2013-12-17 04:07:09 <robonerd> smart
176 2013-12-17 04:07:13 <TheLordOfTime> inside those folders, are files, each datestamped
177 2013-12-17 04:07:20 <robonerd> url to supy bot?
178 2013-12-17 04:08:03 <TheLordOfTime> so that excerpt in that pastebin is in a file titled #bitcoin-otc.2013-12-17.log which is inside the folder named #bitcoin-otc which is in the folder identified as freenode.
179 2013-12-17 04:08:06 <TheLordOfTime> um...
180 2013-12-17 04:08:14 <TheLordOfTime> I use Limnoria, which is a fork of supybot...
181 2013-12-17 04:08:21 <TheLordOfTime> with some other nifteh patches and such in it
182 2013-12-17 04:08:25 <Apocalyptic> is that just me or does this feel like off-topic ? :p
183 2013-12-17 04:08:27 <TheLordOfTime> but it works the same way
184 2013-12-17 04:08:35 <TheLordOfTime> Apocalyptic, it is, we should move this to #bitcoin-offtopic
185 2013-12-17 04:08:42 <TheLordOfTime> or ##IAMOFFTOPICALLTHETIME
186 2013-12-17 04:08:43 <TheLordOfTime> :P
187 2013-12-17 04:08:57 <Apocalyptic> TheLordOfOffTopic
188 2013-12-17 04:09:01 <TheLordOfTime> hehehe
189 2013-12-17 04:09:05 <TheLordOfTime> i should /ns group that later.
190 2013-12-17 04:09:09 <TheLordOfTime> but the nick is too long
191 2013-12-17 04:09:12 <TheLordOfTime> LordOfOfftopic might fit
192 2013-12-17 04:09:16 <Apocalyptic> true
193 2013-12-17 04:11:07 <TheLordOfTime> ultimately, though, robonerd, if you want it pretty, set it up yourself, but if you want logs like the excerpt I gave you from Luna's logs, that takes a few minutes to set up (plus a day for DNS updates) if you want Luna to do it in the interim until you set up your own bot, or you can just launch a supybot yourself and load ChannelLogger later.
194 2013-12-17 04:11:16 <TheLordOfTime> I can help, too, but I'm usually in #bitcoin-otc, and lurk here :)
195 2013-12-17 04:12:14 <TheLordOfTime> and we all know -otc is the center of offtopicness even though it's the trading channel :)
196 2013-12-17 04:12:18 <robonerd> yea i'll set it up
197 2013-12-17 04:12:22 <robonerd> we'll need a chan bot anyway
198 2013-12-17 04:12:29 <robonerd> were already talking about it, so that's task 1 now
199 2013-12-17 04:12:36 <robonerd> btw, where is the bitcoin api url?
200 2013-12-17 04:12:46 <TheLordOfTime> robonerd, cool
201 2013-12-17 04:12:56 <Apocalyptic> "bitcoin api" // can you be more vague ?
202 2013-12-17 04:14:11 <TheLordOfTime> Apocalyptic, he can say "api url"
203 2013-12-17 04:14:14 <TheLordOfTime> then that's even more vague
204 2013-12-17 04:14:17 <TheLordOfTime> or just "URL"
205 2013-12-17 04:14:18 <TheLordOfTime> :)
206 2013-12-17 04:16:22 <robonerd> is there a url to docs covering the bitcion api? sorry
207 2013-12-17 04:16:30 <ne0futur> https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29
208 2013-12-17 04:17:00 <ne0futur> google is your friend too ;)
209 2013-12-17 04:26:42 <shamoon> hello all - i have "No block source available" but am connected to 4 peers. this is with QT / osx
210 2013-12-17 04:28:08 <kjj> getpeerinfo
211 2013-12-17 04:28:42 <TheLordOfTime> shamoon, ^
212 2013-12-17 04:29:12 <kjj> and then, depending on what getpeerinfo says, you probably need to get better peers
213 2013-12-17 04:29:17 <shamoon> https://gist.github.com/anonymous/04081ca1bb1a655212f1
214 2013-12-17 04:29:19 <shamoon> kjj: ^
215 2013-12-17 04:29:24 <TheLordOfTime> ewwanongist
216 2013-12-17 04:29:46 <kjj> yup.  none of your peers are on the network
217 2013-12-17 04:29:59 <shamoon> hmmm - so what to do?
218 2013-12-17 04:30:04 <shamoon> i tried addnode
219 2013-12-17 04:30:11 <kjj> startingheight is the number of blocks your peer thinks it has when you connect
220 2013-12-17 04:30:28 <shamoon> i'm at a hotel - i wonder if that could be it
221 2013-12-17 04:30:31 <shamoon> i tried via TOR
222 2013-12-17 04:30:33 <TheLordOfTime> shamoon, that's probably it
223 2013-12-17 04:30:35 <shamoon> i can connect to Tor
224 2013-12-17 04:30:43 <TheLordOfTime> shamoon, hotels tend to be restrictive of what they allow to receive connections
225 2013-12-17 04:30:47 <TheLordOfTime> (also using tor with bitcoind, bad idea)
226 2013-12-17 04:30:58 <shamoon> why's it a bad idea?
227 2013-12-17 04:31:05 <shamoon> any way for me to get around this firewalling?
228 2013-12-17 04:31:08 <TheLordOfTime> (because tor)
229 2013-12-17 04:31:16 <TheLordOfTime> shamoon, with or without breaking the terms of use for your hotel?
230 2013-12-17 04:31:37 <shamoon> either
231 2013-12-17 04:31:40 <shamoon> in dubai
232 2013-12-17 04:31:47 <TheLordOfTime> without breaking the ToS, you probably can't.
233 2013-12-17 04:31:51 <TheLordOfTime> with breaking the ToS, well...
234 2013-12-17 04:31:57 <TheLordOfTime> i don't help people break firewalls that're in place.
235 2013-12-17 04:32:05 <TheLordOfTime> ACTION has ethics :p
236 2013-12-17 04:32:07 <shamoon> Tor!!!!!!!!!!!!!!!!!!!
237 2013-12-17 04:32:14 <shamoon> why is that a bad idea?
238 2013-12-17 04:32:28 <TheLordOfTime> *cough* if you use tor you're hiding something *cough&
239 2013-12-17 04:32:34 <TheLordOfTime> ACTION is suspicious of tor
240 2013-12-17 04:32:41 <shamoon> okay eric shmidt
241 2013-12-17 04:32:41 <TheLordOfTime> but that's a discussion for another time
242 2013-12-17 04:32:44 <shamoon> schmidt
243 2013-12-17 04:33:02 <kjj> how badly out of date is your node?
244 2013-12-17 04:33:27 <Apocalyptic> < 0.3.5
245 2013-12-17 04:33:34 <shamoon> not too bad - it was fine a few days ago
246 2013-12-17 04:33:37 <TheLordOfTime> shamoon, what version is your bitcoind client
247 2013-12-17 04:33:41 <shamoon> 0.8.6
248 2013-12-17 04:33:44 <TheLordOfTime> s/bitcoind/bitcoin/
249 2013-12-17 04:34:11 <kjj> you can probably do most of what you need to do without an actual connection
250 2013-12-17 04:34:33 <shamoon> trying to send a tx
251 2013-12-17 04:34:52 <kjj> https://blockchain.info/pushtx
252 2013-12-17 04:35:04 <shamoon> interesting
253 2013-12-17 04:35:12 <shamoon> so getrawtransaction
254 2013-12-17 04:35:13 <shamoon> on it?
255 2013-12-17 04:35:16 <kjj> yup
256 2013-12-17 04:35:47 <shamoon> you rock my world
257 2013-12-17 04:35:50 <shamoon> kjj:
258 2013-12-17 04:36:06 <kjj> heh.  it was easier than setting one of my nodes to accept connections on port 80
259 2013-12-17 04:41:23 <ne0futur> shamoon: http://bitcoin.stackexchange.com/questions/11191/client-that-can-run-behind-a-firewall
260 2013-12-17 04:41:30 <shamoon> thanks ne0futur
261 2013-12-17 04:42:36 <kjj> ssh port tunnelling might be useful, assuming that the firwall allows ssh
262 2013-12-17 04:43:07 <ne0futur> or having you server listening for ssh on port 80 ;)
263 2013-12-17 04:43:41 <ne0futur> most firewalls wont analyze the protocol
264 2013-12-17 05:26:41 <hifive11> how can I send bitcoins from one wallet to another?
265 2013-12-17 05:26:55 <hifive11> with api
266 2013-12-17 05:27:41 <hifive11> how can I use bitcoin api?
267 2013-12-17 05:27:55 <kjj> sendtoaddress
268 2013-12-17 05:29:23 <hifive11> how can I use bitcoin api?
269 2013-12-17 05:29:37 <hifive11> from terminal linux or command promtp windows? please give me example or the basics - thanks
270 2013-12-17 05:29:41 <robonerd> hifive11 what're you trying to do?
271 2013-12-17 05:29:47 <robonerd> mine or?
272 2013-12-17 05:29:55 <hifive11> I want to know how to use bitcoin api
273 2013-12-17 05:30:02 <kjj> try this:  bitcoind help
274 2013-12-17 05:30:08 <hifive11> ah
275 2013-12-17 05:30:11 <hifive11> i dont have anything
276 2013-12-17 05:30:15 <hifive11> installed
277 2013-12-17 05:30:21 <hifive11> just I am curious
278 2013-12-17 05:30:26 <hifive11> where I execute commands and how
279 2013-12-17 05:30:37 <kjj> oy
280 2013-12-17 05:31:11 <hifive11> please tell me one example how would you use api to send bitcoins
281 2013-12-17 05:31:15 <hifive11> or do anything
282 2013-12-17 05:31:30 <andytoshi> hifive11: #bitcoin please
283 2013-12-17 05:31:53 <kjj> bitcoind sendtoaddress 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf 1.0
284 2013-12-17 05:32:59 <hifive11> kjj but where yut type that?
285 2013-12-17 05:33:07 <hifive11> in command promt windows or terminal linux?
286 2013-12-17 05:33:28 <hifive11> how can I use bitcoin api from some programming language
287 2013-12-17 05:33:29 <kjj> terminal.  you can do the same thing in the debug window by skipping the bitcoind
288 2013-12-17 05:33:37 <hifive11> which languages it supports?
289 2013-12-17 05:33:37 <kjj> also, this is way off topic for this channel
290 2013-12-17 05:33:53 <hifive11> how can I use bitcoin api from some programming language
291 2013-12-17 05:33:56 <hifive11> this is offtopic?
292 2013-12-17 05:34:01 <kjj> the API does JSON
293 2013-12-17 05:34:10 <kjj> this isn't the newbie channel.  no offense
294 2013-12-17 05:34:25 <hifive11> ok
295 2013-12-17 05:34:34 <hifive11> ok I get json but
296 2013-12-17 05:34:51 <hifive11> lets say from c
297 2013-12-17 05:34:51 <hifive11> wait
298 2013-12-17 05:34:54 <hifive11> how can I send money from one walet to another and I am off this channel :)
299 2013-12-17 05:34:56 <hifive11> really
300 2013-12-17 05:35:00 <hifive11> please and thanks!
301 2013-12-17 05:35:04 <hifive11> so I get the idea
302 2013-12-17 05:35:11 <hifive11> because I am totaly lost now
303 2013-12-17 05:35:45 <kjj> first, you get libraries that understand HTTP and JSON, then you use them to create and send the command to your bitcoind node
304 2013-12-17 05:36:15 <Apocalyptic> system(command) for exemple
305 2013-12-17 05:36:23 <hifive11> what is bitcoind node
306 2013-12-17 05:37:11 <justanotheruser> hifive11: the program that connects to other bitcoin users and manages your wallet
307 2013-12-17 05:37:19 <kjj> the bitcoind software running on your computer is a node on the network.  it is what processes your API commands
308 2013-12-17 05:38:00 <hifive11> how I connect bitcoind to c?
309 2013-12-17 05:38:30 <hifive11> so it is a server that listens on some port I guess
310 2013-12-17 05:38:39 <hifive11> what should I send to it and on which port it listens?
311 2013-12-17 05:38:45 <hifive11> I need to send json?
312 2013-12-17 05:38:55 <kjj> you specify the port in the config file
313 2013-12-17 05:38:56 <hifive11> I dont understand
314 2013-12-17 05:38:59 <kjj> and yes, you send JSON to it
315 2013-12-17 05:39:12 <hifive11> ok but what I dont understand is this, bitcoind sendto
316 2013-12-17 05:39:25 <hifive11> if it is a server how I execute it to execute command?
317 2013-12-17 05:39:40 <kjj> the bitcoind software also includes an API client so that it can make requests to the running node
318 2013-12-17 05:40:01 <robonerd> kjj like an admin console?
319 2013-12-17 05:40:23 <kjj> so when you type "bitcoind sendtoaddress blah blah", it creates the JSON string and sends it to the API server
320 2013-12-17 05:40:53 <kjj> just to be clear, "the API server" is your bitcoin node again
321 2013-12-17 05:41:15 <robonerd> kjj, so the api client is a text interface?
322 2013-12-17 05:41:50 <kjj> robonerd: I'm having a hard time understanding your questions
323 2013-12-17 05:41:55 <hifive111> please can yo usend me some link of some good article/book/tutorial/video to learn those things
324 2013-12-17 05:42:12 <hifive111> I got disconnected please repeat last words thanks
325 2013-12-17 05:42:54 <hifive111> kjj I know but I don't know how I do "bitcoind sendto" if it is a server how I execute commands with it? It wil lstay online after it xecutes command?
326 2013-12-17 05:42:56 <kjj> http://lmgtfy.com/?q=bitcoin%20api
327 2013-12-17 05:43:41 <hifive111> so this is fairly easy for developer to understand
328 2013-12-17 05:43:44 <kjj> no, you run two copies.  one copy is the server and it stays running.  the other just runs long enough to send the command and process the reply
329 2013-12-17 05:43:59 <hifive111> what you think how much time it wil ltake me to learn to use bitcoin api? I am professional web dev
330 2013-12-17 05:44:21 <hifive111> kjj how I run the server? with which command
331 2013-12-17 05:45:06 <kjj> no, I'm done.  there are tons of places to find the info you need.  this channel is not one of them
332 2013-12-17 05:46:08 <hifive111> ah you didn't told me about json rpc protocol
333 2013-12-17 05:46:28 <hifive111> for what is this channel
334 2013-12-17 05:46:36 <hifive111> and is there c supprot for json rpc?
335 2013-12-17 05:46:55 <Luke-Jr> C doesn't support anything <.<
336 2013-12-17 05:47:02 <hifive111> ok
337 2013-12-17 05:47:05 <hifive111> it has
338 2013-12-17 05:47:06 <hifive111> :)
339 2013-12-17 05:47:10 <Luke-Jr> even TCP needs the BSD socket library ;)
340 2013-12-17 05:47:42 <Luke-Jr> anyhow, for JSON-RPC you'll need something like libcurl+libjansson
341 2013-12-17 05:47:44 <hifive111> what you think how much time it wil ltake me to learn to use bitcoin api? I am professional web dev
342 2013-12-17 05:48:03 <hifive111> I think I will use it with php
343 2013-12-17 05:48:09 <hifive111> because I know php very well
344 2013-12-17 05:48:23 <hifive111> I can use whole bitcoin api with php right?
345 2013-12-17 05:48:35 <Luke-Jr> bitcoind should probably never be put on a webserver
346 2013-12-17 05:48:51 <Luke-Jr> so, that's not so great an idea..
347 2013-12-17 05:49:30 <hifive111> but I can use whole bitcoin api with php?
348 2013-12-17 05:50:27 <hifive111> Luke-Jr why it should nnot be put on webserver?
349 2013-12-17 05:50:35 <Luke-Jr> hifive111: you *will* get hacked
350 2013-12-17 05:50:42 <Luke-Jr> and all your money stolen
351 2013-12-17 05:50:51 <hifive111> how?
352 2013-12-17 05:51:03 <Luke-Jr> ACTION facepalms
353 2013-12-17 05:51:11 <hifive111> I will protect it
354 2013-12-17 05:51:13 <hifive111> omg
355 2013-12-17 05:51:26 <hifive111> I will give permission only my web server user to execute it
356 2013-12-17 05:51:28 <helo> you can use it for a local view of what is going on the bitcoin network, but you don't want your private keys anywhere on a publicly accessible server
357 2013-12-17 05:51:28 <hifive111> ..
358 2013-12-17 05:51:45 <hifive111> ..
359 2013-12-17 05:51:45 <hifive111> how can they hack me
360 2013-12-17 05:51:51 <hifive111> if I protect myself well omg
361 2013-12-17 05:51:55 <andytoshi> hifive111: i don't think you're being serious, but on the wiki somewhere there is example code using PHP, perl, etc.
362 2013-12-17 05:52:05 <hifive111> haha
363 2013-12-17 05:52:10 <hifive111> I dontbelieve you people
364 2013-12-17 05:52:14 <hifive111> how can they hack me omg...
365 2013-12-17 05:52:19 <Luke-Jr> lead security experts have been hacked before.
366 2013-12-17 05:52:21 <Apocalyptic> <andytoshi> hifive111: i don't think you're being serious << this
367 2013-12-17 05:52:22 <andytoshi> pretty sure it is https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29
368 2013-12-17 05:52:22 <hifive111> so there are hackers who can hack anything? :D
369 2013-12-17 05:52:24 <hifive111> hahaha
370 2013-12-17 05:52:27 <hifive111> omg
371 2013-12-17 05:52:28 <Luke-Jr> hifive111: yes,.
372 2013-12-17 05:52:33 <hifive111> yeye ok
373 2013-12-17 05:52:40 <Apocalyptic> is -dev being trolled ?
374 2013-12-17 05:52:41 <hifive111> I understand you suggest to take measures
375 2013-12-17 05:52:45 <hifive111> ok im out
376 2013-12-17 05:52:50 <hifive111> for what is this channel aain?
377 2013-12-17 05:53:19 <andytoshi> i got some good laughs out of that one..
378 2013-12-17 05:54:53 <Luke-Jr> [05:51:43] <hifive111> if I protect myself well omg
379 2013-12-17 05:55:00 <Luke-Jr> ACTION facepalms a few more times
380 2013-12-17 05:55:06 <Apocalyptic> don't forget the tinfoil
381 2013-12-17 05:56:30 <Luke-Jr> bitcoin is doomed if "professionals" really think this way
382 2013-12-17 05:57:35 <kjj> he was just a troll
383 2013-12-17 05:58:00 <Luke-Jr> I sure hope so.
384 2013-12-17 06:44:48 <Alina-malina> how to run multiple wallet.dat files?
385 2013-12-17 06:50:57 <wumpus> Alina-malina: I'm not entirely sure when it was introduced, but in master you can start bitcoin with the -wallet=name.dat option to use another wallet in the data directory
386 2013-12-17 06:52:24 <wumpus> before that, the only way to switch wallets was to switch the actual file
387 2013-12-17 06:52:45 <wumpus> (or use another data directory and symlink the block directories)
388 2013-12-17 06:52:54 <Alina-malina> if i extract the private key it is for entire wallet.dat file right? not the each BTC address?
389 2013-12-17 06:53:21 <Alina-malina> so if someone have my priv key he can access all my addresses?
390 2013-12-17 06:53:27 <Alina-malina> or generate new addresses?
391 2013-12-17 06:53:41 <wumpus> a BTC address is a key identifier, it identifies one key
392 2013-12-17 06:54:22 <wumpus> if someone has a priv key from you they can spend coins that are sent to the corresponding address
393 2013-12-17 06:54:37 <wumpus> so, make sure you never give exported private keys to anyone else
394 2013-12-17 06:55:03 <Alina-malina> you mean if someone have my priv key they can access entire wallet?
395 2013-12-17 06:55:22 <wumpus> no
396 2013-12-17 06:55:46 <wumpus> the wallet consists of 100+ keys
397 2013-12-17 06:56:25 <wumpus> each new address that you create, or change address that gets created, adds a new key
398 2013-12-17 06:56:51 <Alina-malina> so each address have private key right?
399 2013-12-17 06:57:05 <wumpus> there are so-called "deterministic wallets" that generate all keys from a seed, I think you are confused with them
400 2013-12-17 06:57:29 <wumpus> in that case if you have the seed you also have all keys
401 2013-12-17 06:58:37 <wumpus> yes
402 2013-12-17 06:58:44 <Alina-malina> looool
403 2013-12-17 06:58:49 <wumpus> switching to deterministic generation is planned for bitcoin-qt, but no idea when it wil happen, it would be much superior to the current keypool scheme which is dangerous with regards to backups
404 2013-12-17 06:58:50 <Alina-malina> I still not get it:)
405 2013-12-17 06:59:12 <Alina-malina> ok let me bring you example
406 2013-12-17 06:59:17 <Alina-malina> remember casacious coins right?
407 2013-12-17 06:59:33 <wumpus> no problem if you don't get it... just the leave the wallet abstraction as-is, don't bother with individual keys
408 2013-12-17 06:59:35 <Alina-malina> he extracts the priv key, put on coin and sel right?
409 2013-12-17 07:00:00 <wumpus> it can only end in pain if you don't know exactly what you're doing, and even then people make regular mistakes
410 2013-12-17 07:00:05 <Alina-malina> what priv key exactly was it from wallet.dat file? or address priv key?
411 2013-12-17 07:01:29 <wumpus> he doesn't 'extract' a priv key, he uses his own tool to generate public/private key pairs
412 2013-12-17 07:01:45 <wumpus> completely seperate from any wallet
413 2013-12-17 07:02:54 <Alina-malina> hmmm interesting
414 2013-12-17 07:04:12 <Alina-malina> ok, i will ask my question differently as soon as iget that pub/priv key pair and import into my wallet, i will get a new wallet.dat?
415 2013-12-17 07:04:15 <wumpus> private keys are easy to generate if you have a secure random number generator, just generate a number between 1..2^256-1 (approx) and it's your private key. With ECDSA math you can then compute the associated public key, and generate an address from that.
416 2013-12-17 07:05:38 <wumpus> Alina-malina: yes, the wallet changes when a key is added
417 2013-12-17 07:06:12 <wumpus> after all it needs to be stored in there
418 2013-12-17 07:08:31 <Alina-malina> so basically it just generate an address with priv/pub key and embed into wallet.dat file right?
419 2013-12-17 07:10:11 <wumpus> yes, "generate an address" is really shorthand for "generate a private key, and compute an public key from that, and compute an address from that, store it in the wallet and show it to the user"
420 2013-12-17 07:11:35 <wumpus> in case of bitcoin-qt the client always keeps a stash of 100 (default) pre-generated keys, called the keypool, but this is different per wallet software
421 2013-12-17 07:11:56 <Alina-malina> i see, but in bitcoin-qt when i open it shows only 1 wallet and addresses, it doesnt specify how much bitcoins are stored on each address
422 2013-12-17 07:12:43 <wumpus> because the abstraction used in the GUI is "wallet" not "keys". We don't expose details such as keys to the user.
423 2013-12-17 07:13:06 <wumpus> you can dive deeper with RPC calls
424 2013-12-17 07:13:41 <Alina-malina> wiht qt console?
425 2013-12-17 07:14:49 <wumpus> yes... but really, you want to mess around with invidivual keys, bitcoin-qt is not the right software for you. It manages the keys, and anything you do manually will interfere with that.
426 2013-12-17 07:15:19 <Alina-malina> what software would you recommend?
427 2013-12-17 07:21:44 <Alina-malina> wumpus, please
428 2013-12-17 07:23:39 <wumpus> not really sure, most people working at that level write their own scripts to do things, for example Mike Caldwell has some java project that he uses to generate the keys for his coins
429 2013-12-17 07:24:08 <wumpus> https://github.com/casascius/Bitcoin-Address-Utility
430 2013-12-17 07:25:21 <Alina-malina> i mean working with bitcoins, i am not sure i understand how bitcoin works compleately need to digg in it, so i want to understand every piece of how it works
431 2013-12-17 07:26:41 <wumpus> (there is also a javascript implementation, bitaddress https://github.com/pointbiz/bitaddress.org , and several python scripts floating around)
432 2013-12-17 07:32:01 <wumpus> in that case you can use the RPC call "listunspent" to see what spendable outputs you have on what address
433 2013-12-17 07:37:10 <wumpus> just type it in the debug console
434 2013-12-17 07:57:16 <Plarkplark_> Howmuch "bit" is ECDSA comparable too?
435 2013-12-17 07:58:03 <Plarkplark_> (in like: howmany addresses do exist? Or is ECDSA only the seed for the 2²56 number that makes up the privkey?
436 2013-12-17 07:59:28 <wumpus> 2^160 addresses exist
437 2013-12-17 08:00:17 <arioBarzan> wumpus: wrong
438 2013-12-17 08:00:25 <arioBarzan> Range of valid private keys https://en.bitcoin.it/wiki/Private_key
439 2013-12-17 08:00:27 <wumpus> arioBarzan: oh?
440 2013-12-17 08:00:29 <wumpus> and approximately 2^256 ECDSA private/public keys, but the 'key identifier' that is called an address is 160 bits
441 2013-12-17 08:00:53 <wumpus> this means that there are multiple private keys that map to each address
442 2013-12-17 08:05:18 <arioBarzan> Since any 256-bit number between 0x1 and 0xFFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFE BAAE DCE6 AF48 A03B BFD2 5E8C D036 4141 is a valid private key, I assumed there would be less than 2^256 addresses. However one could argue that P2SH should also be added to that figure.
443 2013-12-17 08:05:39 <wumpus> P2SH addresses are also 160 bit
444 2013-12-17 08:06:22 <wumpus> so with those included, it would be 161 bit
445 2013-12-17 08:08:56 <arioBarzan> bytheway not all receiving points are in format OP_DUP OP_HASH160 <Hash> OP_EQUALVERIFY OP_CHECKSIG and people still could use format <sig> <pubKey> OP_CHECKSIG
446 2013-12-17 08:09:30 <wumpus> yes, for example all coinbases use that
447 2013-12-17 08:16:22 <wumpus> you could define a 'raw public key' address type that creates such a script, and then count that as an address, and sure you'd have 2^256+ addresses, but at least bitcoin-qt only supports hashed public keys or hashed scripts for addresses
448 2013-12-17 08:28:06 <Plarkplark_> You know how very very big 2²56 is right.
449 2013-12-17 08:28:13 <Plarkplark_> 2^256
450 2013-12-17 08:28:29 <Plarkplark_> But is 161 bit enough?
451 2013-12-17 08:28:36 <wumpus> enough for what?
452 2013-12-17 08:35:17 <arioBarzan> for two ECDSA keys that their public keys have same RIPEMD-160 hash value, it would be possible to spend the coins sent to "OP_DUP OP_HASH160 <pubKeyHash> OP_EQUALVERIFY OP_CHECKSIG" with either of those keys, right?
453 2013-12-17 08:35:49 <wumpus> yep
454 2013-12-17 08:39:19 <arioBarzan> is there any script that requires both <pubKeyHash> and <pubKey> itself get checked and is such script relayed by reference client?
455 2013-12-17 08:40:34 <wumpus> that would be pointless, if the public key matches the public key hash will also match, so just use the "<sig> <pubKey> OP_CHECKSIG"
456 2013-12-17 09:23:06 <owowo> warren: ping?
457 2013-12-17 09:23:56 <warren> owowo: ?
458 2013-12-17 09:24:43 <owowo> why do I get all connections in use in p2pool with liecoin 0.6.8.1? though not all connections are in use.
459 2013-12-17 09:25:11 <warren> owowo: this is #bitcoin-dev
460 2013-12-17 09:26:06 <owowo> *0.8.6.1
461 2013-12-17 09:35:40 <gdoteof> http://www.reddit.com/r/Bitcoin/comments/1t2v1l/bounty_300mbtc_if_you_can_crack_my_secret_sharing/
462 2013-12-17 09:39:52 <gmaxwell> gdoteof: ugh, we really don't need MORE ill considered forms for encoding private keys now. People are going to have big problems recovering keys in the future with the near endless supplies of crazy encoding schemes.
463 2013-12-17 09:47:40 <damethos> I got a quick q if anyone is around. The addresses which are participating in a multi-signature output, are they always newly created addresses or can I use existing ones as well?
464 2013-12-17 09:55:22 <arioBarzan> damethos: you could use existing ones as well.
465 2013-12-17 10:13:23 <damethos> arioBarzan, one more q about this. What if the existing address i am going to use has unspendable outputs? what will happen to them?
466 2013-12-17 10:14:32 <arioBarzan> damethos: it doesn't matter if it has unspendable outputs.
467 2013-12-17 10:14:56 <sipa> damethos: bitcoin at the protocol level doesn't know addresses
468 2013-12-17 10:15:01 <sipa> damethos: it only knows outputs
469 2013-12-17 10:15:16 <sipa> whether those outputs belong to the same or different addresses is irrelevant
470 2013-12-17 10:15:45 <damethos> yeah i am aware, i am just trying to make it easier to understand on my side :)
471 2013-12-17 10:15:47 <sipa> also, an output being unspendable implies it is *not* associated with an address
472 2013-12-17 10:16:02 <sipa> if it was, you could spend it by signing with the corresponding key
473 2013-12-17 10:16:07 <damethos> sorry i didnt mean unspendable, i meant unspent
474 2013-12-17 10:16:14 <sipa> oh
475 2013-12-17 10:16:16 <sipa> irrelevant
476 2013-12-17 10:17:58 <damethos> so just to be clear, if i have Address A (which an output of 50 BTC) and I sign a multisignature tx with the pubkey of address A, do the 50 BTC become an output of the multisignature tx?
477 2013-12-17 10:18:20 <damethos> *which is an output of
478 2013-12-17 10:18:35 <sipa> no
479 2013-12-17 10:18:48 <sipa> bitcoin internally only knows about outputs
480 2013-12-17 10:19:44 <damethos> ok got it
481 2013-12-17 10:19:55 <damethos> ty
482 2013-12-17 10:21:50 <sipa> transactions consume 1 or more outputs (by providing the necessary signatures) and produce 1 or more new outputs, assigned to addresses/scripts
483 2013-12-17 10:22:04 <sipa> but they don't spend "from" an address, they spend specific coins
484 2013-12-17 10:22:57 <sipa> the balance of an address (if you want to define something like that) is just the sum of the values of all unspent coins assigned to that address, but the protocol or bitcoin nodes never make this calculation
485 2013-12-17 10:23:04 <sipa> it's just how humans look at it
486 2013-12-17 10:23:26 <sipa> which also means that there is no extra cost to using a different address for every transaction
487 2013-12-17 10:23:30 <abishek> does blocknotify only notify about confirmations for addresses on the wallet or all the blocks?
488 2013-12-17 10:23:40 <arioBarzan> damethos: you could find a fairly complex but good explanation for script at https://en.bitcoin.it/wiki/Script
489 2013-12-17 10:23:44 <sipa> arioBarzan: all blocks
490 2013-12-17 10:24:04 <sipa> -walletnotify notifies when wallet transactions arrive and/or confirm
491 2013-12-17 10:24:12 <sipa> -blocknotify notifies for every new block
492 2013-12-17 10:24:26 <damethos> got ya
493 2013-12-17 10:24:38 <abishek> sipa, thnx
494 2013-12-17 10:25:01 <damethos> yeah i am trying to fully understand the multisignature, its a bit complex but i think now its more clear to me
495 2013-12-17 10:25:54 <abishek> sipa, how do i differentiate whether the value received is for confirmations or transactions? there is only 1 parameters recd right
496 2013-12-17 10:27:02 <abishek> confirmation set the hash, but for transaction, it is the transaction_id right
497 2013-12-17 10:30:25 <arioBarzan> damethos: multisignature are two types . one type of them is a script like "m {pubkey}...{pubkey} n OP_CHECKMULTISIG" which n could at max be 3. it means you could have maximum three keys involved
498 2013-12-17 10:30:48 <arioBarzan> the other is pay-to-script-hash known as P2SH
499 2013-12-17 10:31:05 <arioBarzan> https://github.com/bitcoin/bips/blob/master/bip-0011.mediawiki
500 2013-12-17 10:31:09 <arioBarzan> https://github.com/bitcoin/bips/blob/master/bip-0016.mediawiki
501 2013-12-17 10:37:13 <abishek> are confirmations for a transaction on the wallet notified using wallet notify or block notify? I tried implementing wallet notify and i only receive transaction notification. can you advice
502 2013-12-17 10:37:41 <damethos> thanks for the info arioBarzan , i have already read about both of them but it wasn't very clear to me what will happen to the output of an address which signs the multisig tx
503 2013-12-17 10:38:41 <damethos> my other q though is why not make the P2SH the standard way since its easier
504 2013-12-17 10:39:35 <damethos> or at least thats the way i see it
505 2013-12-17 10:39:47 <arioBarzan> I don't know why. but I personally prefer "M-of-N Standard Transactions" , because it could be more secure than P2SH
506 2013-12-17 10:40:39 <damethos> but its a bit to complex to use, specially if u are just a normal user
507 2013-12-17 10:41:56 <arioBarzan> for P2SH you should hope for no one finding another redeem script which have RIPEMD160 hash collision with your redeem script.
508 2013-12-17 10:43:19 <damethos> heh true
509 2013-12-17 10:44:00 <damethos> so i guess its convenience over security
510 2013-12-17 10:44:06 <arioBarzan> for "M-of-N Standard Transactions"  on the other hand, they should find M ECDSA private keys out of N to spend your coins, which to me seems less probable.
511 2013-12-17 10:44:57 <damethos> i agree that its more secure….but less convenient :)
512 2013-12-17 10:46:09 <arioBarzan> "M-of-N Standard Transactions" is the most secure script I have seen. even for single signature addresses people use RIPEMD160 which also increase possibility of collision
513 2013-12-17 10:46:41 <arioBarzan> I mean "OP_DUP OP_HASH160 <pubKeyHash> OP_EQUALVERIFY OP_CHECKSIG"
514 2013-12-17 10:48:21 <arioBarzan> compare it with "<pubKey> OP_CHECKSIG" in which the <pubKey> is nearly one out of 2^256 possible keys
515 2013-12-17 10:50:23 <arioBarzan> for hash160 there should be different <pubKey>s who have same <pubKeyHash> because OP_HASH160 result in 2^160 possible hashes
516 2013-12-17 10:51:11 <damethos> yeah i see what u are saying
517 2013-12-17 10:52:34 <damethos> so what happens in case a collision happens? what will happen to the tx?
518 2013-12-17 10:53:17 <damethos> it will just say unconfirmed forever?
519 2013-12-17 10:53:58 <arioBarzan> no, in that case the dude could spend your coins. the tx get confirmed.
520 2013-12-17 10:54:26 <_MrB_> I upgraded my bitcoind to latest git version recently, both traffic and cpu usage have increased significantly (see: http://media.mrblog.nl/u/mrb/m/none-e2a1/ ) Is this expected behaviour? Seems excessive.
521 2013-12-17 10:54:51 <damethos> arioBarzan, isnt p2sh risky then? i mean, collisions will be more possible if bitcoin gets more and more attaction
522 2013-12-17 10:55:09 <damethos> its not risky right now, but in the future, with much more transactions, its possible
523 2013-12-17 10:55:29 <arioBarzan> damethos: it depends on how much risk one could tolorate.
524 2013-12-17 10:56:16 <arioBarzan> but in reality such collision seems very very unlikely to happen.
525 2013-12-17 10:56:52 <damethos> yeah but since this involces money "very unlikely" isnt the best answer :)
526 2013-12-17 10:56:59 <damethos> *involves
527 2013-12-17 10:57:32 <arioBarzan> the collision itself is a big challenge. because you would need some valid ECDSA keys as well.
528 2013-12-17 10:58:15 <arioBarzan> The thing I try to say is that the redeem script is not some random byte so you could change easily to find a hash collision.
529 2013-12-17 10:58:27 <arioBarzan> *bytes
530 2013-12-17 10:59:00 <damethos> yeah got ya
531 2013-12-17 11:00:01 <arioBarzan> scriptPubKey: OP_HASH160 [20-byte-hash of {[pubkey] OP_CHECKSIG} ] OP_EQUAL
532 2013-12-17 11:00:38 <arioBarzan> damethos: good luck.
533 2013-12-17 11:00:51 <damethos> hehe
534 2013-12-17 11:02:42 <abishek> sendfrom function takes 6 parameters out of which 3 are optional, could someone explain what the last 3 parameters (<fromaccount> <tobitcoinaddress> <amount> [minconf=1] [comment] [comment-to]) are?
535 2013-12-17 11:05:16 <arioBarzan> minconf ensures the account has a valid balance with at least [minconf] confirmations.
536 2013-12-17 11:10:24 <abishek> arioBarzan, how about comment? comment-to is a comment for the receiver if I am right.
537 2013-12-17 11:22:49 <michagogo> cloud|;;gribble
538 2013-12-17 11:22:50 <gribble> yes I am gribble. why do you keep bothering me?
539 2013-12-17 11:29:58 <abishek> sendfrom function takes 6 parameters out of which 3 are optional, could someone explain when the last 2 parameters (<fromaccount> <tobitcoinaddress> <amount> [minconf=1] [comment] [comment-to]) are used?
540 2013-12-17 11:40:56 <abishek> michagogo|cloud, can you advice when the comment and comment-to parameters are used on the sendfrom method? Are these passed as part of the transaction?
541 2013-12-17 11:41:52 <michagogo> cloud|No, they're not
542 2013-12-17 11:42:46 <michagogo> cloud|If anything at all, they only add comments in your wallet
543 2013-12-17 12:07:10 <jouke> Are addresses timestamped on creation?
544 2013-12-17 12:49:46 <shesek> jouke, you mean in your bitcoin client or in the blockchain/network?
545 2013-12-17 12:50:13 <shesek> the network has no idea when an address was created, but you can see when the first block that includes a transaction paying to that address was mined
546 2013-12-17 12:50:47 <shesek> (transactions don't have timestamps either, but the blocks that includes them do)
547 2013-12-17 12:59:57 <jouke> shesek: wallet
548 2013-12-17 13:02:49 <shesek> afaik, bitcoin-qt doesn't store timestamps of when you created an address
549 2013-12-17 13:02:52 <shesek> but I might be wrong
550 2013-12-17 13:03:04 <shesek> if its another client, then I have no idea
551 2013-12-17 13:24:07 <melvster> getdifficulty on the testnet shows 1, and block explorer shows 1, but bfgminer shows 11.5k ... im assuming bfgminer is correct and it's related to the 20 minute reset rule ...
552 2013-12-17 13:39:28 <ferroh> What's wrong with these transactions?
553 2013-12-17 13:39:30 <ferroh> https://blockchain.info/tx/7419eadc7ae1032ab8383aa01f9283b0f0ee1ab066419e4914bd0735586e259a?show_adv=true
554 2013-12-17 13:39:41 <ferroh> https://blockchain.info/tx/ed5eca90b1f78107a59d549f82f0eb157ad4f11938c3302326bf515b9781657a?show_adv=true
555 2013-12-17 13:50:35 <andytoshi> ferroh: i've also got one that's a few days old ... not sure what's up
556 2013-12-17 13:50:40 <andytoshi> this has never happened to me
557 2013-12-17 13:51:32 <andytoshi> oh, mine has an output less than 0.01 but no fee
558 2013-12-17 13:51:34 <andytoshi> derp
559 2013-12-17 13:59:49 <andytoshi> it seems like that is your problem in both cases, ferroh
560 2013-12-17 14:51:18 <Anduck> how can i extract data from blk0000.dat?
561 2013-12-17 14:51:40 <kinlo> you just read it - it is a file with no indexes or headers
562 2013-12-17 14:51:46 <kinlo> just block after block after block
563 2013-12-17 14:51:58 <Anduck> ok
564 2013-12-17 14:52:04 <kinlo> there is a marker between blocks I believe, but that will be pretty obvious when reading it
565 2013-12-17 14:52:11 <kinlo> as every block starts with a version number
566 2013-12-17 14:56:04 <Anduck> is there a workaround for getting genesisblock tx raw transaction?
567 2013-12-17 15:00:49 <michagogo> cloud|kinlo: By marker, do you just mean the netmagic?
568 2013-12-17 15:01:22 <michagogo> cloud|Anduck: no. As far as the software is concerned the genesis block's coinbase doesn't exist
569 2013-12-17 15:01:38 <Anduck> is there a way to remove the check?
570 2013-12-17 15:01:50 <Anduck> temporarily
571 2013-12-17 15:02:01 <michagogo> cloud|Anduck: what check?
572 2013-12-17 15:02:14 <Anduck> the check if it's genesis blocks tx
573 2013-12-17 15:02:19 <Anduck> or how is it done