1 2014-06-01 00:00:23 <ProfMac> what is SD?
  2 2014-06-01 00:01:07 <arubi> SatoshiDice. gnight!
  3 2014-06-01 02:10:47 <andytoshi> http://smallcultfollowing.com/babysteps/blog/2013/06/11/on-the-connection-between-memory-management-and-data-race-freedom/
  4 2014-06-01 03:39:09 <daaa> after I build bitcoin
  5 2014-06-01 03:39:11 <daaa> then what?
  6 2014-06-01 03:40:39 <Luke-Jr> daaa: #bitcoin
  7 2014-06-01 03:40:55 <daaa> ACTION sends a flying kiss to Luke-Jr 
  8 2014-06-01 05:24:40 <kostaz> hi guys
  9 2014-06-01 05:25:10 <kostaz> I'm looking for a guy (or guys) to learn bitcoin source code together
 10 2014-06-01 05:25:33 <kostaz> Is there any way to find such people?
 11 2014-06-01 05:30:11 <phantomcircuit> WARNING: 'aclocal-1.13' is missing on your system.
 12 2014-06-01 05:30:12 <phantomcircuit> srsly
 13 2014-06-01 05:45:46 <poutine> phantomcircuit, seriously what?
 14 2014-06-01 05:46:19 <kostaz> Is there any way to find such people?
 15 2014-06-01 05:46:23 <kostaz> I'm looking for a guy (or guys) to learn bitcoin source code together
 16 2014-06-01 05:58:52 <kostaz> I'm looking for a guy (or guys) to learn bitcoin source code together
 17 2014-06-01 05:58:55 <kostaz> Is there any way to find such people?
 18 2014-06-01 05:59:24 <sipa> spamming here won't help
 19 2014-06-01 06:01:05 <kostaz> Where can I ask this question?
 20 2014-06-01 06:01:23 <kostaz> Is there any other relevant IRC channel?
 21 2014-06-01 06:01:35 <sipa> #bitcoin maybe
 22 2014-06-01 06:01:37 <sipa> or the forums
 23 2014-06-01 06:01:42 <kostaz> 'been there
 24 2014-06-01 06:01:45 <kostaz> No help...
 25 2014-06-01 06:01:46 <kostaz> :-(
 26 2014-06-01 06:02:00 <sipa> if you want to pearn the source code, just dive in
 27 2014-06-01 06:02:16 <DiabloD3> I can rent scuba gear for bitcoins.
 28 2014-06-01 06:02:23 <sipa> set some goal, a simple bug reported somewhere or something, and try to fix it
 29 2014-06-01 06:02:25 <kostaz> Well, I am learning it
 30 2014-06-01 06:02:45 <sipa> if you have specific questions, feel free to ask them here
 31 2014-06-01 06:03:00 <kostaz> Let's give it a try...
 32 2014-06-01 06:03:14 <sipa> if you want to interact with others, try reading other pull requestrs, and if you have something rekevant to add, comment on them
 33 2014-06-01 06:03:35 <kostaz> How 'scriptSig' is exactly created and where in the code?
 34 2014-06-01 06:03:54 <sipa> script.cpp
 35 2014-06-01 06:04:05 <sipa> it is created when creating a signature
 36 2014-06-01 06:04:34 <sipa> so there is code to pattern match an output script against any known patterns
 37 2014-06-01 06:04:35 <kostaz> Looking it up...
 38 2014-06-01 06:04:52 <sipa> and for each there is code to generate a matching scriptSig
 39 2014-06-01 06:07:55 <kostaz> Is it 'Sign1()' that creates the 'scriptSig'?
 40 2014-06-01 06:08:13 <sipa> iirc, that's only part of it
 41 2014-06-01 06:09:01 <kostaz> You mean 'SingN()' is the full code?
 42 2014-06-01 06:09:14 <sipa> let me look
 43 2014-06-01 06:17:20 <sipa> SignSignature is the full method
 44 2014-06-01 06:17:33 <kostaz> Looking it up...
 45 2014-06-01 06:20:32 <kostaz> Don't see any place SignSignature() is actually called
 46 2014-06-01 06:21:10 <kostaz> Sorry, found.
 47 2014-06-01 07:07:27 <michagogo> coryfields: so am I understanding correctly that the process now will be: tag, Gavin does a gbuild, passes around the sig, everyone else does their gbuilds?
 48 2014-06-01 07:08:16 <michagogo> s/gbuild/gbuild and codesigns/
 49 2014-06-01 07:45:13 <gmaxwell> sipa: since we increased the default dbcache I think we need to increase the free space autoshutdown, I was cable to corrupt a node tonight while running the system low on space.
 50 2014-06-01 07:46:08 <gmaxwell> I suppose it should require 100MB + dbcache or something like that.
 51 2014-06-01 07:46:59 <wumpus> michagogo: more like: tag, everyone does their gbuilds as normal, gavin passes around the sign, everone runs as special gbuild to tack that signature to the dmg
 52 2014-06-01 07:50:29 <wumpus> gmaxwell: ack
 53 2014-06-01 07:50:58 <wumpus> we should increase the safety margin to avoid problems like that in the future
 54 2014-06-01 08:16:15 <michagogo> gmaxwell: able?
 55 2014-06-01 09:52:38 <sipa> gmaxwell: afaik it already is dbcache size dependent
 56 2014-06-01 14:44:56 <wumpus>  * [new tag]         v0.9.2rc1 -> v0.9.2rc1
 57 2014-06-01 14:59:30 <michagogo> ACTION pokes his head in as he gets an SMS and an email
 58 2014-06-01 14:59:39 <michagogo> Ah, cool
 59 2014-06-01 14:59:45 <michagogo> ACTION looks
 60 2014-06-01 15:04:34 <sipa> an SMS :o
 61 2014-06-01 15:04:49 <dsnrk> IFTTT?
 62 2014-06-01 15:09:39 <michagogo> Yep, IFTTT
 63 2014-06-01 15:10:45 <michagogo> How come we don't check the sha256sum on the 10.7 sdk?
 64 2014-06-01 15:11:09 <michagogo> https://ifttt.com/recipes/154953-bitcoin-core-new-tag-sms-alert
 65 2014-06-01 15:11:20 <michagogo> https://ifttt.com/recipes/113452-bitcoin-repository-on-github-email-alert-for-new-release-tags
 66 2014-06-01 15:11:22 <wumpus> michagogo: because it's not deterministic
 67 2014-06-01 15:11:34 <michagogo> Eh?
 68 2014-06-01 15:11:41 <michagogo> How is that?
 69 2014-06-01 15:11:54 <wumpus> currently you have to manually create the .tar.gz on mac
 70 2014-06-01 15:11:58 <sipa> decompressing the dmg is nondeterministic
 71 2014-06-01 15:12:00 <michagogo> Ah.
 72 2014-06-01 15:12:15 <sipa> or rather, the lack of an actual decomoression routine
 73 2014-06-01 15:12:24 <wumpus> there is no script yet to extract the sdk from the xcode archive
 74 2014-06-01 15:12:27 <wumpus> sipa: correct
 75 2014-06-01 15:12:30 <michagogo> Eh? DMG compression doesn't get you out the same files you put in?
 76 2014-06-01 15:12:45 <wumpus> michagogo: of course it does
 77 2014-06-01 15:12:48 <sipa> well the problem is that dmgs are more like executables
 78 2014-06-01 15:13:05 <sipa> so tje tgz is created by repacking the installed output, i guess
 79 2014-06-01 15:13:19 <sipa> rather than just converting
 80 2014-06-01 15:13:22 <michagogo> Can't you make a deterministic tarball on osx?
 81 2014-06-01 15:13:36 <sipa> assuming the result of the installation is deterministic
 82 2014-06-01 15:13:41 <wumpus> michagogo: see https://github.com/bitcoin/bitcoin/pull/4229 for the details
 83 2014-06-01 15:14:01 <michagogo> sipa: you don't need to *install* XCode, do you? o_O
 84 2014-06-01 15:14:12 <wumpus> michagogo: there is just no point, we need a platform-independent script to extract the SDK from apple's file at some point, but there isn't one yet
 85 2014-06-01 15:14:28 <wumpus> michagogo: yes, you need a mac, and you need to install it
 86 2014-06-01 15:14:30 <dsnrk> michagogo: you need a small xcode portion, not the multi gigabyte Xocde.app
 87 2014-06-01 15:14:38 <wumpus> if not, I can send you the .tar.gz
 88 2014-06-01 15:15:20 <dsnrk> michagogo: oh, no according to the issue you need the whole xcode. not sure why.
 89 2014-06-01 15:15:38 <wumpus> dsnrk: you don't *need* it
 90 2014-06-01 15:15:49 <wumpus> but apple doesn't offer the download for just the sdk
 91 2014-06-01 15:16:21 <dsnrk> homebrew manages to download it without xcode.app, there's a DMG called "command line tools" or something like that
 92 2014-06-01 15:16:32 <wumpus> so AFAIK it's the only way to get it without downloading the sdk from a third party
 93 2014-06-01 15:16:43 <michagogo> Can you mount and unmount a dmg from the command-line?
 94 2014-06-01 15:16:49 <dsnrk> sure
 95 2014-06-01 15:16:49 <wumpus> dsnrk: well, feel free to contribute that, Cory and I are not aware of that
 96 2014-06-01 15:16:56 <michagogo> I may have SSH access to a Mac earlier than I have a physical one
 97 2014-06-01 15:16:57 <maaku> https://github.com/freicoin/freicoin/blob/master/contrib/gitian-descriptors/toolchain/x86_64-apple-darwin10.yml
 98 2014-06-01 15:17:09 <maaku> ^^ exctracts the SDK from the dmg under gitian
 99 2014-06-01 15:17:47 <dsnrk> maaku: that looks horribly old
100 2014-06-01 15:17:51 <wumpus> maaku: the wrong version, though
101 2014-06-01 15:18:13 <wumpus> for the old versions it was easy (just use 7z), but we need 10.7 which comes only with xcode 4.x
102 2014-06-01 15:18:15 <maaku> wumpus: it's the same procedure no matter what version you use
103 2014-06-01 15:18:23 <wumpus> maaku: no it's not!
104 2014-06-01 15:18:52 <maaku> but may I ask why 10.7? you lose 32-bit support with that version
105 2014-06-01 15:19:07 <wumpus> we haven't had 32-bit support for mac for a long time
106 2014-06-01 15:19:19 <wumpus> and we need 10.7 for qt5 support for highdpi
107 2014-06-01 15:19:20 <dsnrk> wumpus: I'll have to check up if it needs what you want, but I think it does. homebrew can build bitcoind fine without the whole xcode package. the "command line tools" seems to contain enough of what you need.
108 2014-06-01 15:20:02 <sipa> dsnrk: the point is being able to do it under linux :)
109 2014-06-01 15:21:01 <sipa> but it's interesting that homebrew can without xcode
110 2014-06-01 15:21:43 <dsnrk> well the "command line tools" DMG contains the SDK and gcc and all that I *think*, what's what you want yes?
111 2014-06-01 15:21:49 <dsnrk> (just checking)
112 2014-06-01 15:23:49 <sipa> coryfields probably knows best
113 2014-06-01 15:26:21 <maaku> yes the "command line tools" is in fact a nearly 1GB package containing the entire SDK and build tools, just not the XCode.app GUI, and other gui tools like the iOS simulator
114 2014-06-01 15:26:38 <wumpus> yes, would be best to ask him, he spent a lot of time to get it in the current state, and I'm sure he looked at the obvious solutions
115 2014-06-01 15:26:42 <maaku> i've built bitcoind from just that
116 2014-06-01 15:27:59 <sipa> bitcoin-qt too?
117 2014-06-01 15:28:03 <wumpus> the SDK itself is only ~40MB
118 2014-06-01 15:29:08 <michagogo> Erm, doesn't homebrew *require* the command line tools?
119 2014-06-01 15:30:20 <sipa> ACTION is Apple-oblivious
120 2014-06-01 15:30:40 <wumpus> ACTION too
121 2014-06-01 15:38:48 <michagogo> ACTION is too, somewhat/mostly
122 2014-06-01 15:39:01 <michagogo> I've used them a bit, but not very much, nor as a main machine
123 2014-06-01 15:41:01 <maaku> sipa: yes bitcoin-qt too
124 2014-06-01 15:41:22 <maaku> although i don't know, maybe things changed with qt5
125 2014-06-01 15:41:43 <sipa> well in any case, i'm sure any hints are welcome :)
126 2014-06-01 15:48:01 <michagogo> Did my comments on the osx pull (mostly the docs surrounding it) get addressed before it went in? Haven't really been following closely
127 2014-06-01 15:48:31 <michagogo> (had a bunch of stuff going on the past couple weeks)
128 2014-06-01 15:48:59 <michagogo> Oh, not all just docs -- there was also the zip vs tarball thing
129 2014-06-01 15:49:32 <michagogo> And the naming of the descriptors and intermediates
130 2014-06-01 15:49:45 <wumpus> not sure, but we really wanted to do a 0.9.2 rc now, improvements can be made later
131 2014-06-01 15:49:46 <michagogo> (and it looks like they didn't.)
132 2014-06-01 15:49:51 <wumpus> although those don't sound terribly important
133 2014-06-01 15:50:13 <michagogo> wumpus: nothing critical that would affect the outcome, IIRC, no.
134 2014-06-01 15:51:08 <michagogo> But I think some of the release-process stuff was ugly (something having to do with indents, maybe?) and confusing (a command duplicated or in the wrong place or something? Don't remember exactly)
135 2014-06-01 15:57:02 <chichov> has the getblocktemplate structure changed over time? there seems to be inconsistencies between the BIP22 in the wiki and what data structure getblocktemplate actually returns
136 2014-06-01 16:01:57 <wumpus> chichov: such as?
137 2014-06-01 16:03:58 <chichov> wumpus: I see that for example "workid" is typically not shown and "required" in transactions as well
138 2014-06-01 16:04:05 <chichov> could it be that it's dependent on the parameters?
139 2014-06-01 16:04:17 <michagogo> chichov: not all gbt fields are required
140 2014-06-01 16:04:36 <michagogo> I think any field not included is left free for the client to do whatever with
141 2014-06-01 16:05:01 <michagogo> The GBT spec lists what parameters can be set in the template, but bitcoind doesn't set all of them
142 2014-06-01 16:05:05 <chichov> michagogo: that'd mean that coinbaseaux is not shown; however, it is
143 2014-06-01 16:05:05 <michagogo> (or something like that)
144 2014-06-01 16:05:19 <michagogo> ;;lucky BIP22
145 2014-06-01 16:05:20 <gribble> https://en.bitcoin.it/wiki/BIP_0022
146 2014-06-01 16:05:24 <sipa> chichiv: see also bip23
147 2014-06-01 16:05:36 <michagogo> Hm, I thought BIPs were on GH?
148 2014-06-01 16:06:01 <chichov> sipa: that's what I'm reading now
149 2014-06-01 16:06:01 <wumpus> right, github is the authorative source for BIPs now
150 2014-06-01 16:06:17 <chichov> alright, lets see GH then
151 2014-06-01 16:06:22 <michagogo> Last I checked, the wiki pages just linked to GH...
152 2014-06-01 16:06:27 <michagogo> Did that change?
153 2014-06-01 16:06:42 <wumpus> why would that have changed?
154 2014-06-01 16:06:49 <michagogo> idk
155 2014-06-01 16:07:02 <wumpus> I made the wiki pages into links, unless someone changed it back,  it should still be that way
156 2014-06-01 16:07:03 <michagogo> But the link gribble just gave contains the BIP, apparently
157 2014-06-01 16:07:17 <wumpus> I see, weird
158 2014-06-01 16:07:33 <michagogo> https://en.bitcoin.it/w/index.php?title=BIP_0022&diff=next&oldid=42913
159 2014-06-01 16:08:22 <chichov> it's a bit ugly to parse this when so many fields are optional, bleh
160 2014-06-01 16:09:25 <chichov> and it just me or is the content of the first two tables shifted by a column? (https://github.com/bitcoin/bips/blob/master/bip-0022.mediawiki)
161 2014-06-01 16:10:58 <wumpus> chichov: looks like it
162 2014-06-01 16:12:06 <Gerendon> Hiring a Node.js developer for compiling crypto-currency statistics. PM for more details if you are interested.
163 2014-06-01 16:17:11 <chichov> wumpus: the description of the coinbasetxn object is missing aswell
164 2014-06-01 16:18:09 <chichov> and I get all kinds of parameters, like target, mintime, mutable and noncerange
165 2014-06-01 16:18:25 <chichov> which presumably belong in there?
166 2014-06-01 16:19:51 <chichov> take a look http://pastebin.com/DxdiBnQU
167 2014-06-01 16:20:55 <chichov> according to BIP22 e.g. "noncerange" isn't supposed to be there
168 2014-06-01 16:21:59 <sipa> bip23 describes noncerange, no?
169 2014-06-01 16:22:46 <chichov> yea it does
170 2014-06-01 16:23:01 <chichov> so I assume both BIP22 and BIP23 have to be combined to get the whole structure?
171 2014-06-01 16:23:11 <sipa> yes
172 2014-06-01 16:23:37 <sipa> people complained (rightfully, imho..) that bip22 was too complex and had too many optional things, so it was moved elsewhere
173 2014-06-01 16:24:00 <chichov> alright, so that's the reasoning behind it
174 2014-06-01 16:24:59 <chichov> thanks, I'll take it apart step by step
175 2014-06-01 16:46:54 <michagogo> 18:14:29 <wumpus> michagogo: yes, you need a mac, and you need to install it <-- Hm? That appears not to be the case...
176 2014-06-01 16:47:09 <michagogo> https://github.com/bitcoin/bitcoin/commit/768cef90b989cca805247ff232168467c25c14ba#diff-3f6438590430feae9482a45ab76e928fR47
177 2014-06-01 16:49:44 <michagogo> $ tar -C /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ -czf MacOSX10.7.sdk.tar.gz MacOSX10.7.sdk <-- appears to have given me a file
178 2014-06-01 16:49:58 <michagogo> 40104346 Jun  1 19:47 MacOSX10.7.sdk.tar.gz
179 2014-06-01 16:53:22 <michagogo> Okay, got the SDK, I think -- booting my VM now