1 2016-09-04T00:19:35  *** fengling has joined #bitcoin-core-dev
  2 2016-09-04T00:29:40  *** spudowiar has quit IRC
  3 2016-09-04T00:33:10  <achow101> how do I use cookie auth with curl
  4 2016-09-04T00:33:55  <achow101> I keep getting 401 unauthorized
  5 2016-09-04T00:47:50  *** justanotheruser has joined #bitcoin-core-dev
  6 2016-09-04T00:48:26  *** davec has quit IRC
  7 2016-09-04T00:49:15  *** davec has joined #bitcoin-core-dev
  8 2016-09-04T00:51:59  *** achow101 has quit IRC
  9 2016-09-04T00:54:14  *** achow101 has joined #bitcoin-core-dev
 10 2016-09-04T00:56:03  *** logstash has quit IRC
 11 2016-09-04T01:03:06  *** fengling has quit IRC
 12 2016-09-04T01:14:12  *** spudowiar has joined #bitcoin-core-dev
 13 2016-09-04T01:16:11  <gmaxwell> look in the file, see the username and passowrd. use it.
 14 2016-09-04T01:16:25  <gmaxwell> you might be having an escaping problem with the password.
 15 2016-09-04T01:16:55  <gmaxwell> I think I opened an issue that some http software is moronic and won't escape things as the http protocol requires... and we should subset the character set used.
 16 2016-09-04T01:19:26  <achow101> It looks right to me. This is the line for the cookie from using curl in verbose > Cookie: __cookie__:Yxv/LANJXLkG19E9tjJNNETb8GAtyZDfVe0zjAd0LZE=
 17 2016-09-04T01:24:00  <gmaxwell> > Cookie?  cookie auth has nothing to do with http cookies.
 18 2016-09-04T01:24:25  <gmaxwell> is a character that might get mangled.
 19 2016-09-04T01:24:47  <achow101> then what are the cookies for if not for https cookies?
 20 2016-09-04T01:24:51  <achow101> *http
 21 2016-09-04T01:26:07  <gmaxwell>  cookie /n./
 22 2016-09-04T01:26:08  <gmaxwell> A handle, transaction ID, or other token of agreement between cooperating programs. "I give him a packet, he gives me back a cookie." The claim check you get from a dry-cleaning shop is a perfect mundane example of a cookie; the only thing it's useful for is to relate a later transaction to this one (so you get the same clothes back). Compare magic cookie; see also fortune cookie.
 23 2016-09-04T01:26:48  <gmaxwell> ^ hackers dictionary definition of the word; same term is used for authentication in many protocols, including X11...
 24 2016-09-04T01:27:15  <achow101> so it's just used as a normal user:password combo for auth?
 25 2016-09-04T01:27:16  <gmaxwell> In the case of bitcoin the cookie auth is an ephemeral username and password, saved in a cookie file, which can be used for HTTP authentication.
 26 2016-09-04T01:27:20  <gmaxwell> Yes.
 27 2016-09-04T01:27:34  <gmaxwell> the username is __cookie__ and the password is Yxv/LANJXLkG19E9tjJNNETb8GAtyZDfVe0zjAd0LZE=
 28 2016-09-04T01:27:36  <achow101> great! Terminology here can be very confusing...
 29 2016-09-04T01:28:00  <gmaxwell> I never expected someone to confuse it with http cookies, but I can see why someone might!
 30 2016-09-04T01:40:09  *** cryptapus_afk is now known as cryptapus
 31 2016-09-04T01:57:21  *** btcdrak has quit IRC
 32 2016-09-04T02:51:31  *** spudowiar has quit IRC
 33 2016-09-04T03:04:48  *** laurentmt has joined #bitcoin-core-dev
 34 2016-09-04T03:05:15  *** Samdney has quit IRC
 35 2016-09-04T03:31:02  *** cryptapus is now known as cryptapus_afk
 36 2016-09-04T03:40:55  *** laurentmt has quit IRC
 37 2016-09-04T04:01:06  *** kadoban has quit IRC
 38 2016-09-04T04:10:14  *** dermoth has quit IRC
 39 2016-09-04T04:10:50  *** dermoth has joined #bitcoin-core-dev
 40 2016-09-04T05:15:06  *** Alopex has quit IRC
 41 2016-09-04T05:16:12  *** Alopex has joined #bitcoin-core-dev
 42 2016-09-04T05:28:16  *** Alopex has quit IRC
 43 2016-09-04T05:29:22  *** Alopex has joined #bitcoin-core-dev
 44 2016-09-04T05:59:01  *** Alopex has quit IRC
 45 2016-09-04T06:00:06  *** Alopex has joined #bitcoin-core-dev
 46 2016-09-04T06:33:02  *** Guyver2 has joined #bitcoin-core-dev
 47 2016-09-04T06:49:30  *** Yv7trNY has joined #bitcoin-core-dev
 48 2016-09-04T07:03:29  *** gabridome has joined #bitcoin-core-dev
 49 2016-09-04T07:09:15  *** btcdrak has joined #bitcoin-core-dev
 50 2016-09-04T07:16:31  *** Guyver2 has quit IRC
 51 2016-09-04T07:16:49  *** harrymm has joined #bitcoin-core-dev
 52 2016-09-04T07:39:54  *** PatBoy has quit IRC
 53 2016-09-04T07:43:22  *** Alopex has quit IRC
 54 2016-09-04T07:44:27  *** Alopex has joined #bitcoin-core-dev
 55 2016-09-04T07:55:29  *** amiller_ has joined #bitcoin-core-dev
 56 2016-09-04T07:57:07  *** amiller_ has quit IRC
 57 2016-09-04T07:57:07  *** amiller_ has joined #bitcoin-core-dev
 58 2016-09-04T07:57:07  *** amiller_ is now known as amiller
 59 2016-09-04T07:59:49  *** Ginnarr has joined #bitcoin-core-dev
 60 2016-09-04T08:15:35  *** jtimon has joined #bitcoin-core-dev
 61 2016-09-04T08:23:07  *** Ginnarr has quit IRC
 62 2016-09-04T08:25:36  *** Alopex has quit IRC
 63 2016-09-04T08:26:41  *** Alopex has joined #bitcoin-core-dev
 64 2016-09-04T08:27:00  *** gabridome has joined #bitcoin-core-dev
 65 2016-09-04T08:54:52  *** gabridome has quit IRC
 66 2016-09-04T09:19:31  *** Ginnarr has joined #bitcoin-core-dev
 67 2016-09-04T09:35:33  *** pmienk has quit IRC
 68 2016-09-04T09:42:17  *** kyletorpey has quit IRC
 69 2016-09-04T09:48:29  *** pmienk has joined #bitcoin-core-dev
 70 2016-09-04T09:59:52  *** mol has quit IRC
 71 2016-09-04T10:02:43  *** Yv7trNY has quit IRC
 72 2016-09-04T10:04:51  *** Ginnarr has quit IRC
 73 2016-09-04T10:07:45  *** Yv7trNY has joined #bitcoin-core-dev
 74 2016-09-04T10:11:50  *** Yv7trNY has quit IRC
 75 2016-09-04T11:17:04  *** gabridome has joined #bitcoin-core-dev
 76 2016-09-04T11:24:17  *** gabridome has quit IRC
 77 2016-09-04T11:37:05  *** gabridome has joined #bitcoin-core-dev
 78 2016-09-04T11:37:57  *** laurentmt has joined #bitcoin-core-dev
 79 2016-09-04T11:38:45  *** laurentmt has quit IRC
 80 2016-09-04T11:39:37  *** gabridome has quit IRC
 81 2016-09-04T12:13:53  *** MarcoFalke has joined #bitcoin-core-dev
 82 2016-09-04T12:19:12  <MarcoFalke> wumpus: Sorry for letting the qa/test pulls pile up. I will try to look at them next week.
 83 2016-09-04T12:27:29  <wumpus> MarcoFalke: great, thank you!
 84 2016-09-04T12:29:30  *** MarcoFalke has left #bitcoin-core-dev
 85 2016-09-04T12:30:31  <GitHub105> [bitcoin] btcdrak opened pull request #8662: Update btcdrak signing key (master...updatekey) https://github.com/bitcoin/bitcoin/pull/8662
 86 2016-09-04T12:53:31  *** molz has joined #bitcoin-core-dev
 87 2016-09-04T12:57:47  *** ArthurNumbanumba has joined #bitcoin-core-dev
 88 2016-09-04T13:21:14  *** Samdney has joined #bitcoin-core-dev
 89 2016-09-04T13:31:13  *** Chris_St1 has joined #bitcoin-core-dev
 90 2016-09-04T13:38:02  *** fengling has joined #bitcoin-core-dev
 91 2016-09-04T13:40:52  *** Chris_St1 has quit IRC
 92 2016-09-04T13:41:22  *** Chris_St1 has joined #bitcoin-core-dev
 93 2016-09-04T13:42:32  *** fengling has quit IRC
 94 2016-09-04T13:44:01  *** amiller has quit IRC
 95 2016-09-04T13:47:25  *** PatBoy has joined #bitcoin-core-dev
 96 2016-09-04T13:52:47  *** spudowiar has joined #bitcoin-core-dev
 97 2016-09-04T13:56:55  *** Guest60584 has joined #bitcoin-core-dev
 98 2016-09-04T13:58:33  *** Chris_St1 has quit IRC
 99 2016-09-04T13:59:35  *** spudowiar has quit IRC
100 2016-09-04T14:01:37  *** spudowiar has joined #bitcoin-core-dev
101 2016-09-04T14:02:09  *** Guest60584 has quit IRC
102 2016-09-04T14:02:09  *** Guest60584 has joined #bitcoin-core-dev
103 2016-09-04T14:02:09  *** Guest60584 is now known as amiller
104 2016-09-04T14:09:12  *** amiller has quit IRC
105 2016-09-04T14:18:54  *** Guest10486 has joined #bitcoin-core-dev
106 2016-09-04T14:24:27  *** Chris_St1 has joined #bitcoin-core-dev
107 2016-09-04T14:26:58  *** Guest10486 has quit IRC
108 2016-09-04T14:29:13  *** allxone has joined #bitcoin-core-dev
109 2016-09-04T14:31:53  *** Chris_St1 has quit IRC
110 2016-09-04T14:45:07  *** Yogh has quit IRC
111 2016-09-04T14:46:19  *** Yogh has joined #bitcoin-core-dev
112 2016-09-04T14:47:51  *** amiller_ has joined #bitcoin-core-dev
113 2016-09-04T14:52:09  <achow101> when did bitcoind stop appearing as if it was just hanging and actually launch the process in the background?
114 2016-09-04T15:02:54  *** spudowiar has quit IRC
115 2016-09-04T15:07:41  *** TomMc has joined #bitcoin-core-dev
116 2016-09-04T15:10:41  *** Samdney has quit IRC
117 2016-09-04T15:10:43  *** gabridome has joined #bitcoin-core-dev
118 2016-09-04T15:23:43  <sipa> achow101: -daemon
119 2016-09-04T15:24:00  <sipa> introduced in version 0.2.2, february 2010 :)
120 2016-09-04T15:24:07  <achow101> yeah, I just realized that
121 2016-09-04T15:24:10  <achow101> forgot I had that set
122 2016-09-04T15:24:24  *** btcdrak has quit IRC
123 2016-09-04T15:24:39  *** TomMc has quit IRC
124 2016-09-04T15:30:02  *** gabridome has quit IRC
125 2016-09-04T15:30:58  *** gabridome has joined #bitcoin-core-dev
126 2016-09-04T15:35:25  *** gabridome has quit IRC
127 2016-09-04T15:36:08  *** Chris_Stewart_5 has joined #bitcoin-core-dev
128 2016-09-04T15:36:34  <Chris_Stewart_5> What is the easiest way to check equivalency of two CDataStreams? There isn't a '==' operator defined
129 2016-09-04T15:37:27  *** murch has joined #bitcoin-core-dev
130 2016-09-04T15:43:48  <sipa> add one :)
131 2016-09-04T15:44:52  *** cdecker has quit IRC
132 2016-09-04T15:46:19  <GitHub8> [bitcoin] rebroad closed pull request #8642: Less reliance on protocol version (master...LessRelianceOnNodeVersion) https://github.com/bitcoin/bitcoin/pull/8642
133 2016-09-04T15:47:38  <GitHub195> [bitcoin] mruddy opened pull request #8663: trivial: remove unnecessary variable fDaemon (master...trivial_fDaemon) https://github.com/bitcoin/bitcoin/pull/8663
134 2016-09-04T15:50:41  *** amiller_ has quit IRC
135 2016-09-04T15:50:57  *** cdecker has joined #bitcoin-core-dev
136 2016-09-04T15:51:59  <Chris_Stewart_5> sipa: Definitely open to that, I'm just trying to figure out where the underlying buffer is that hold all of the bytes inside of CDataStream
137 2016-09-04T15:52:19  <Chris_Stewart_5> there doesn't seem to be some private member? https://github.com/bitcoin/bitcoin/blob/d612837814020ae832499d18e6ee5eb919a87907/src/streams.h#L66
138 2016-09-04T15:53:00  <sipa> the data is stored in CDataStream::vch
139 2016-09-04T15:53:06  *** Guest85356 has joined #bitcoin-core-dev
140 2016-09-04T15:54:38  <Chris_Stewart_5> and vector_type is some generic type that is determined at runtime for efficiency or something?
141 2016-09-04T15:55:13  <sipa> no, it is exactly CDataStream
142 2016-09-04T15:55:18  <sipa> eh
143 2016-09-04T15:55:28  <sipa> it is exactly CSerializeData
144 2016-09-04T15:55:41  <sipa> typedef just gives a new name to an existing type
145 2016-09-04T15:55:52  <sipa> see the line above
146 2016-09-04T15:57:22  *** btcdrak has joined #bitcoin-core-dev
147 2016-09-04T15:59:28  <Chris_Stewart_5> And CSerializeData is defined here right? https://github.com/bitcoin/bitcoin/blob/a6a860796a44a2805a58391a009ba22752f64e32/src/support/allocators/zeroafterfree.h#L46
148 2016-09-04T15:59:38  <Chris_Stewart_5> Just making sure I am following these typdefs correctly..
149 2016-09-04T16:01:57  <sipa> indeed
150 2016-09-04T16:04:30  <Chris_Stewart_5> thanks
151 2016-09-04T16:12:14  *** grubles has quit IRC
152 2016-09-04T16:20:44  *** Samdney has joined #bitcoin-core-dev
153 2016-09-04T16:30:45  *** spudowiar has joined #bitcoin-core-dev
154 2016-09-04T16:37:12  *** Chris_Stewart_5 has quit IRC
155 2016-09-04T16:39:02  *** justanotheruser has quit IRC
156 2016-09-04T16:40:08  *** Guest85356 has quit IRC
157 2016-09-04T16:40:49  *** kadoban has joined #bitcoin-core-dev
158 2016-09-04T16:40:50  *** justanotheruser has joined #bitcoin-core-dev
159 2016-09-04T16:45:10  *** amiller has joined #bitcoin-core-dev
160 2016-09-04T16:45:14  *** amiller has joined #bitcoin-core-dev
161 2016-09-04T17:20:44  *** Giszmo has quit IRC
162 2016-09-04T17:23:12  *** Giszmo has joined #bitcoin-core-dev
163 2016-09-04T17:33:58  *** btcdrak has quit IRC
164 2016-09-04T17:40:19  *** laurentmt has joined #bitcoin-core-dev
165 2016-09-04T17:49:29  *** ArthurNumbanumba has quit IRC
166 2016-09-04T17:54:41  <sipa> bah, it seems c++ concepts won't even be included in C++17
167 2016-09-04T17:55:23  <luke-jr> :x
168 2016-09-04T17:57:09  <sipa> (concepts would make template matches more efficient, and its error messages much more readable)
169 2016-09-04T17:57:42  <luke-jr> LLVM does a decent job at template errors; G++ isn't bad these days either.
170 2016-09-04T17:58:43  <sipa> yeah, but inherently the language pretty much requires the compiler to just try all combinations, and see if one doesn't result in (certain classes of) compile errors
171 2016-09-04T17:59:00  <sipa> which means it can't tell you why matching failed, only what it tried
172 2016-09-04T18:00:37  <sipa> anyway, reading http://honermann.net/blog/2016/03/06/why-concepts-didnt-make-cxx17/, i do agree with the arguments against
173 2016-09-04T18:00:53  *** laurentmt has quit IRC
174 2016-09-04T18:01:03  <sipa> but that probably means in practice we can't use it in bitcoin core until 2024 or so :p
175 2016-09-04T18:04:48  *** murch has quit IRC
176 2016-09-04T18:08:10  *** justanotheruser has quit IRC
177 2016-09-04T18:08:26  *** justanotheruser has joined #bitcoin-core-dev
178 2016-09-04T18:14:04  <gmaxwell> it'll take that long to catch up with C++11 anyways. :)
179 2016-09-04T18:19:47  <sipa> the changes in c++14 aren't that big
180 2016-09-04T18:20:11  <sipa> just more of the same... more constexpr, more auto, ...
181 2016-09-04T18:21:27  *** gabridome has joined #bitcoin-core-dev
182 2016-09-04T18:39:52  *** btcdrak has joined #bitcoin-core-dev
183 2016-09-04T18:55:48  *** Guyver2 has joined #bitcoin-core-dev
184 2016-09-04T19:13:17  *** gabridome has quit IRC
185 2016-09-04T19:24:12  *** laurentmt has joined #bitcoin-core-dev
186 2016-09-04T19:24:41  *** davec has quit IRC
187 2016-09-04T19:25:39  *** davec has joined #bitcoin-core-dev
188 2016-09-04T19:29:32  *** justanotheruser has quit IRC
189 2016-09-04T19:30:17  *** laurentmt has quit IRC
190 2016-09-04T19:38:07  *** justanotheruser has joined #bitcoin-core-dev
191 2016-09-04T19:56:34  *** Chris_Stewart_5 has joined #bitcoin-core-dev
192 2016-09-04T19:58:44  *** TomMc has joined #bitcoin-core-dev
193 2016-09-04T20:20:50  *** kyletorpey has joined #bitcoin-core-dev
194 2016-09-04T20:37:16  *** justanotheruser has quit IRC
195 2016-09-04T20:37:33  *** justanotheruser has joined #bitcoin-core-dev
196 2016-09-04T20:42:42  *** Ylbam has joined #bitcoin-core-dev
197 2016-09-04T20:49:23  *** allxone has quit IRC
198 2016-09-04T20:50:57  *** justanotheruser has quit IRC
199 2016-09-04T20:54:59  *** TomMc has quit IRC
200 2016-09-04T20:56:32  *** spudowiar has quit IRC
201 2016-09-04T20:59:15  *** gabridome has joined #bitcoin-core-dev
202 2016-09-04T21:00:34  <GitHub142> [bitcoin] fivepiece closed pull request #8598: Fix displaying of invalid and non-minimal small pushes as numbers (master...fixasm) https://github.com/bitcoin/bitcoin/pull/8598
203 2016-09-04T21:26:31  *** gabridome has quit IRC
204 2016-09-04T21:32:04  *** gabridome has joined #bitcoin-core-dev
205 2016-09-04T21:40:23  *** gabridome has quit IRC
206 2016-09-04T21:45:47  *** Guyver2_ has joined #bitcoin-core-dev
207 2016-09-04T21:47:01  *** PRab has quit IRC
208 2016-09-04T21:47:54  *** Guyver2 has quit IRC
209 2016-09-04T21:48:00  *** Guyver2_ is now known as Guyver2
210 2016-09-04T21:57:21  *** Chris_Stewart_5 has quit IRC
211 2016-09-04T22:03:05  *** TomMc has joined #bitcoin-core-dev
212 2016-09-04T22:12:51  *** TomMc has quit IRC
213 2016-09-04T22:38:28  *** spudowiar has joined #bitcoin-core-dev
214 2016-09-04T22:46:55  *** jtimon has quit IRC
215 2016-09-04T22:51:00  *** Guyver2 has quit IRC
216 2016-09-04T23:00:01  *** Alopex has quit IRC
217 2016-09-04T23:01:07  *** Alopex has joined #bitcoin-core-dev
218 2016-09-04T23:10:43  *** Yogh has quit IRC
219 2016-09-04T23:14:08  *** Yogh has joined #bitcoin-core-dev
220 2016-09-04T23:33:19  *** justanotheruser has joined #bitcoin-core-dev