12016-09-04T00:19:35 *** fengling has joined #bitcoin-core-dev
22016-09-04T00:29:40 *** spudowiar has quit IRC
32016-09-04T00:33:10 <achow101> how do I use cookie auth with curl
42016-09-04T00:33:55 <achow101> I keep getting 401 unauthorized
52016-09-04T00:47:50 *** justanotheruser has joined #bitcoin-core-dev
62016-09-04T00:48:26 *** davec has quit IRC
72016-09-04T00:49:15 *** davec has joined #bitcoin-core-dev
82016-09-04T00:51:59 *** achow101 has quit IRC
92016-09-04T00:54:14 *** achow101 has joined #bitcoin-core-dev
102016-09-04T00:56:03 *** logstash has quit IRC
112016-09-04T01:03:06 *** fengling has quit IRC
122016-09-04T01:14:12 *** spudowiar has joined #bitcoin-core-dev
132016-09-04T01:16:11 <gmaxwell> look in the file, see the username and passowrd. use it.
142016-09-04T01:16:25 <gmaxwell> you might be having an escaping problem with the password.
152016-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.
162016-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=
172016-09-04T01:24:00 <gmaxwell> > Cookie? cookie auth has nothing to do with http cookies.
182016-09-04T01:24:25 <gmaxwell> is a character that might get mangled.
192016-09-04T01:24:47 <achow101> then what are the cookies for if not for https cookies?
202016-09-04T01:24:51 <achow101> *http
212016-09-04T01:26:07 <gmaxwell> cookie /n./
222016-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.
232016-09-04T01:26:48 <gmaxwell> ^ hackers dictionary definition of the word; same term is used for authentication in many protocols, including X11...
242016-09-04T01:27:15 <achow101> so it's just used as a normal user:password combo for auth?
252016-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.
262016-09-04T01:27:20 <gmaxwell> Yes.
272016-09-04T01:27:34 <gmaxwell> the username is __cookie__ and the password is Yxv/LANJXLkG19E9tjJNNETb8GAtyZDfVe0zjAd0LZE=
282016-09-04T01:27:36 <achow101> great! Terminology here can be very confusing...
292016-09-04T01:28:00 <gmaxwell> I never expected someone to confuse it with http cookies, but I can see why someone might!
302016-09-04T01:40:09 *** cryptapus_afk is now known as cryptapus
312016-09-04T01:57:21 *** btcdrak has quit IRC
322016-09-04T02:51:31 *** spudowiar has quit IRC
332016-09-04T03:04:48 *** laurentmt has joined #bitcoin-core-dev
342016-09-04T03:05:15 *** Samdney has quit IRC
352016-09-04T03:31:02 *** cryptapus is now known as cryptapus_afk
362016-09-04T03:40:55 *** laurentmt has quit IRC
372016-09-04T04:01:06 *** kadoban has quit IRC
382016-09-04T04:10:14 *** dermoth has quit IRC
392016-09-04T04:10:50 *** dermoth has joined #bitcoin-core-dev
402016-09-04T05:15:06 *** Alopex has quit IRC
412016-09-04T05:16:12 *** Alopex has joined #bitcoin-core-dev
422016-09-04T05:28:16 *** Alopex has quit IRC
432016-09-04T05:29:22 *** Alopex has joined #bitcoin-core-dev
442016-09-04T05:59:01 *** Alopex has quit IRC
452016-09-04T06:00:06 *** Alopex has joined #bitcoin-core-dev
462016-09-04T06:33:02 *** Guyver2 has joined #bitcoin-core-dev
472016-09-04T06:49:30 *** Yv7trNY has joined #bitcoin-core-dev
482016-09-04T07:03:29 *** gabridome has joined #bitcoin-core-dev
492016-09-04T07:09:15 *** btcdrak has joined #bitcoin-core-dev
502016-09-04T07:16:31 *** Guyver2 has quit IRC
512016-09-04T07:16:49 *** harrymm has joined #bitcoin-core-dev
522016-09-04T07:39:54 *** PatBoy has quit IRC
532016-09-04T07:43:22 *** Alopex has quit IRC
542016-09-04T07:44:27 *** Alopex has joined #bitcoin-core-dev
552016-09-04T07:55:29 *** amiller_ has joined #bitcoin-core-dev
562016-09-04T07:57:07 *** amiller_ has quit IRC
572016-09-04T07:57:07 *** amiller_ has joined #bitcoin-core-dev
582016-09-04T07:57:07 *** amiller_ is now known as amiller
592016-09-04T07:59:49 *** Ginnarr has joined #bitcoin-core-dev
602016-09-04T08:15:35 *** jtimon has joined #bitcoin-core-dev
612016-09-04T08:23:07 *** Ginnarr has quit IRC
622016-09-04T08:25:36 *** Alopex has quit IRC
632016-09-04T08:26:41 *** Alopex has joined #bitcoin-core-dev
642016-09-04T08:27:00 *** gabridome has joined #bitcoin-core-dev
652016-09-04T08:54:52 *** gabridome has quit IRC
662016-09-04T09:19:31 *** Ginnarr has joined #bitcoin-core-dev
672016-09-04T09:35:33 *** pmienk has quit IRC
682016-09-04T09:42:17 *** kyletorpey has quit IRC
692016-09-04T09:48:29 *** pmienk has joined #bitcoin-core-dev
702016-09-04T09:59:52 *** mol has quit IRC
712016-09-04T10:02:43 *** Yv7trNY has quit IRC
722016-09-04T10:04:51 *** Ginnarr has quit IRC
732016-09-04T10:07:45 *** Yv7trNY has joined #bitcoin-core-dev
742016-09-04T10:11:50 *** Yv7trNY has quit IRC
752016-09-04T11:17:04 *** gabridome has joined #bitcoin-core-dev
762016-09-04T11:24:17 *** gabridome has quit IRC
772016-09-04T11:37:05 *** gabridome has joined #bitcoin-core-dev
782016-09-04T11:37:57 *** laurentmt has joined #bitcoin-core-dev
792016-09-04T11:38:45 *** laurentmt has quit IRC
802016-09-04T11:39:37 *** gabridome has quit IRC
812016-09-04T12:13:53 *** MarcoFalke has joined #bitcoin-core-dev
822016-09-04T12:19:12 <MarcoFalke> wumpus: Sorry for letting the qa/test pulls pile up. I will try to look at them next week.
832016-09-04T12:27:29 <wumpus> MarcoFalke: great, thank you!
842016-09-04T12:29:30 *** MarcoFalke has left #bitcoin-core-dev
852016-09-04T12:30:31 <GitHub105> [bitcoin] btcdrak opened pull request #8662: Update btcdrak signing key (master...updatekey) https://github.com/bitcoin/bitcoin/pull/8662
862016-09-04T12:53:31 *** molz has joined #bitcoin-core-dev
872016-09-04T12:57:47 *** ArthurNumbanumba has joined #bitcoin-core-dev
882016-09-04T13:21:14 *** Samdney has joined #bitcoin-core-dev
892016-09-04T13:31:13 *** Chris_St1 has joined #bitcoin-core-dev
902016-09-04T13:38:02 *** fengling has joined #bitcoin-core-dev
912016-09-04T13:40:52 *** Chris_St1 has quit IRC
922016-09-04T13:41:22 *** Chris_St1 has joined #bitcoin-core-dev
932016-09-04T13:42:32 *** fengling has quit IRC
942016-09-04T13:44:01 *** amiller has quit IRC
952016-09-04T13:47:25 *** PatBoy has joined #bitcoin-core-dev
962016-09-04T13:52:47 *** spudowiar has joined #bitcoin-core-dev
972016-09-04T13:56:55 *** Guest60584 has joined #bitcoin-core-dev
982016-09-04T13:58:33 *** Chris_St1 has quit IRC
992016-09-04T13:59:35 *** spudowiar has quit IRC
1002016-09-04T14:01:37 *** spudowiar has joined #bitcoin-core-dev
1012016-09-04T14:02:09 *** Guest60584 has quit IRC
1022016-09-04T14:02:09 *** Guest60584 has joined #bitcoin-core-dev
1032016-09-04T14:02:09 *** Guest60584 is now known as amiller
1042016-09-04T14:09:12 *** amiller has quit IRC
1052016-09-04T14:18:54 *** Guest10486 has joined #bitcoin-core-dev
1062016-09-04T14:24:27 *** Chris_St1 has joined #bitcoin-core-dev
1072016-09-04T14:26:58 *** Guest10486 has quit IRC
1082016-09-04T14:29:13 *** allxone has joined #bitcoin-core-dev
1092016-09-04T14:31:53 *** Chris_St1 has quit IRC
1102016-09-04T14:45:07 *** Yogh has quit IRC
1112016-09-04T14:46:19 *** Yogh has joined #bitcoin-core-dev
1122016-09-04T14:47:51 *** amiller_ has joined #bitcoin-core-dev
1132016-09-04T14:52:09 <achow101> when did bitcoind stop appearing as if it was just hanging and actually launch the process in the background?
1142016-09-04T15:02:54 *** spudowiar has quit IRC
1152016-09-04T15:07:41 *** TomMc has joined #bitcoin-core-dev
1162016-09-04T15:10:41 *** Samdney has quit IRC
1172016-09-04T15:10:43 *** gabridome has joined #bitcoin-core-dev
1182016-09-04T15:23:43 <sipa> achow101: -daemon
1192016-09-04T15:24:00 <sipa> introduced in version 0.2.2, february 2010 :)
1202016-09-04T15:24:07 <achow101> yeah, I just realized that
1212016-09-04T15:24:10 <achow101> forgot I had that set
1222016-09-04T15:24:24 *** btcdrak has quit IRC
1232016-09-04T15:24:39 *** TomMc has quit IRC
1242016-09-04T15:30:02 *** gabridome has quit IRC
1252016-09-04T15:30:58 *** gabridome has joined #bitcoin-core-dev
1262016-09-04T15:35:25 *** gabridome has quit IRC
1272016-09-04T15:36:08 *** Chris_Stewart_5 has joined #bitcoin-core-dev
1282016-09-04T15:36:34 <Chris_Stewart_5> What is the easiest way to check equivalency of two CDataStreams? There isn't a '==' operator defined
1292016-09-04T15:37:27 *** murch has joined #bitcoin-core-dev
1302016-09-04T15:43:48 <sipa> add one :)
1312016-09-04T15:44:52 *** cdecker has quit IRC
1322016-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
1332016-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
1342016-09-04T15:50:41 *** amiller_ has quit IRC
1352016-09-04T15:50:57 *** cdecker has joined #bitcoin-core-dev
1362016-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
1372016-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
1382016-09-04T15:53:00 <sipa> the data is stored in CDataStream::vch
1392016-09-04T15:53:06 *** Guest85356 has joined #bitcoin-core-dev
1402016-09-04T15:54:38 <Chris_Stewart_5> and vector_type is some generic type that is determined at runtime for efficiency or something?
1412016-09-04T15:55:13 <sipa> no, it is exactly CDataStream
1422016-09-04T15:55:18 <sipa> eh
1432016-09-04T15:55:28 <sipa> it is exactly CSerializeData
1442016-09-04T15:55:41 <sipa> typedef just gives a new name to an existing type
1452016-09-04T15:55:52 <sipa> see the line above
1462016-09-04T15:57:22 *** btcdrak has joined #bitcoin-core-dev
1472016-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
1482016-09-04T15:59:38 <Chris_Stewart_5> Just making sure I am following these typdefs correctly..
1492016-09-04T16:01:57 <sipa> indeed
1502016-09-04T16:04:30 <Chris_Stewart_5> thanks
1512016-09-04T16:12:14 *** grubles has quit IRC
1522016-09-04T16:20:44 *** Samdney has joined #bitcoin-core-dev
1532016-09-04T16:30:45 *** spudowiar has joined #bitcoin-core-dev
1542016-09-04T16:37:12 *** Chris_Stewart_5 has quit IRC
1552016-09-04T16:39:02 *** justanotheruser has quit IRC
1562016-09-04T16:40:08 *** Guest85356 has quit IRC
1572016-09-04T16:40:49 *** kadoban has joined #bitcoin-core-dev
1582016-09-04T16:40:50 *** justanotheruser has joined #bitcoin-core-dev
1592016-09-04T16:45:10 *** amiller has joined #bitcoin-core-dev
1602016-09-04T16:45:14 *** amiller has joined #bitcoin-core-dev
1612016-09-04T17:20:44 *** Giszmo has quit IRC
1622016-09-04T17:23:12 *** Giszmo has joined #bitcoin-core-dev
1632016-09-04T17:33:58 *** btcdrak has quit IRC
1642016-09-04T17:40:19 *** laurentmt has joined #bitcoin-core-dev
1652016-09-04T17:49:29 *** ArthurNumbanumba has quit IRC
1662016-09-04T17:54:41 <sipa> bah, it seems c++ concepts won't even be included in C++17
1672016-09-04T17:55:23 <luke-jr> :x
1682016-09-04T17:57:09 <sipa> (concepts would make template matches more efficient, and its error messages much more readable)
1692016-09-04T17:57:42 <luke-jr> LLVM does a decent job at template errors; G++ isn't bad these days either.
1702016-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
1712016-09-04T17:59:00 <sipa> which means it can't tell you why matching failed, only what it tried
1722016-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
1732016-09-04T18:00:53 *** laurentmt has quit IRC
1742016-09-04T18:01:03 <sipa> but that probably means in practice we can't use it in bitcoin core until 2024 or so :p
1752016-09-04T18:04:48 *** murch has quit IRC
1762016-09-04T18:08:10 *** justanotheruser has quit IRC
1772016-09-04T18:08:26 *** justanotheruser has joined #bitcoin-core-dev
1782016-09-04T18:14:04 <gmaxwell> it'll take that long to catch up with C++11 anyways. :)
1792016-09-04T18:19:47 <sipa> the changes in c++14 aren't that big
1802016-09-04T18:20:11 <sipa> just more of the same... more constexpr, more auto, ...
1812016-09-04T18:21:27 *** gabridome has joined #bitcoin-core-dev
1822016-09-04T18:39:52 *** btcdrak has joined #bitcoin-core-dev
1832016-09-04T18:55:48 *** Guyver2 has joined #bitcoin-core-dev
1842016-09-04T19:13:17 *** gabridome has quit IRC
1852016-09-04T19:24:12 *** laurentmt has joined #bitcoin-core-dev
1862016-09-04T19:24:41 *** davec has quit IRC
1872016-09-04T19:25:39 *** davec has joined #bitcoin-core-dev
1882016-09-04T19:29:32 *** justanotheruser has quit IRC
1892016-09-04T19:30:17 *** laurentmt has quit IRC
1902016-09-04T19:38:07 *** justanotheruser has joined #bitcoin-core-dev
1912016-09-04T19:56:34 *** Chris_Stewart_5 has joined #bitcoin-core-dev
1922016-09-04T19:58:44 *** TomMc has joined #bitcoin-core-dev
1932016-09-04T20:20:50 *** kyletorpey has joined #bitcoin-core-dev
1942016-09-04T20:37:16 *** justanotheruser has quit IRC
1952016-09-04T20:37:33 *** justanotheruser has joined #bitcoin-core-dev
1962016-09-04T20:42:42 *** Ylbam has joined #bitcoin-core-dev
1972016-09-04T20:49:23 *** allxone has quit IRC
1982016-09-04T20:50:57 *** justanotheruser has quit IRC
1992016-09-04T20:54:59 *** TomMc has quit IRC
2002016-09-04T20:56:32 *** spudowiar has quit IRC
2012016-09-04T20:59:15 *** gabridome has joined #bitcoin-core-dev
2022016-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
2032016-09-04T21:26:31 *** gabridome has quit IRC
2042016-09-04T21:32:04 *** gabridome has joined #bitcoin-core-dev
2052016-09-04T21:40:23 *** gabridome has quit IRC
2062016-09-04T21:45:47 *** Guyver2_ has joined #bitcoin-core-dev
2072016-09-04T21:47:01 *** PRab has quit IRC
2082016-09-04T21:47:54 *** Guyver2 has quit IRC
2092016-09-04T21:48:00 *** Guyver2_ is now known as Guyver2
2102016-09-04T21:57:21 *** Chris_Stewart_5 has quit IRC
2112016-09-04T22:03:05 *** TomMc has joined #bitcoin-core-dev
2122016-09-04T22:12:51 *** TomMc has quit IRC
2132016-09-04T22:38:28 *** spudowiar has joined #bitcoin-core-dev
2142016-09-04T22:46:55 *** jtimon has quit IRC
2152016-09-04T22:51:00 *** Guyver2 has quit IRC
2162016-09-04T23:00:01 *** Alopex has quit IRC
2172016-09-04T23:01:07 *** Alopex has joined #bitcoin-core-dev
2182016-09-04T23:10:43 *** Yogh has quit IRC
2192016-09-04T23:14:08 *** Yogh has joined #bitcoin-core-dev
2202016-09-04T23:33:19 *** justanotheruser has joined #bitcoin-core-dev