--- Log opened Sun May 05 00:00:03 2019 00:07 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 00:22 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 252 seconds] 00:39 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 245 seconds] 00:48 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #bitcoin-core-dev 00:50 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 256 seconds] 01:08 -!- ccdle12 [~ccdle12@157.125.148.210.rev.vmobile.jp] has joined #bitcoin-core-dev 01:13 -!- ccdle12 [~ccdle12@157.125.148.210.rev.vmobile.jp] has quit [Ping timeout: 268 seconds] 01:16 -!- nico1 [~nico@192.145.126.244] has joined #bitcoin-core-dev 01:22 -!- b10c [~b10c@2001:16b8:2e0f:8a00:2a18:c9de:21:d521] has joined #bitcoin-core-dev 01:29 -!- simha [~simha1@199.249.230.17] has joined #bitcoin-core-dev 01:32 -!- lzj [78ecae88@gateway/web/freenode/ip.120.236.174.136] has joined #bitcoin-core-dev 01:33 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 01:33 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #bitcoin-core-dev 01:36 -!- shivendra [~shivendra@123.201.241.242] has joined #bitcoin-core-dev 01:37 -!- lzj [78ecae88@gateway/web/freenode/ip.120.236.174.136] has quit [Ping timeout: 256 seconds] 01:59 -!- riperk [uid352992@gateway/web/irccloud.com/x-ypyxqwoduddttawm] has quit [Quit: Connection closed for inactivity] 02:00 -!- nico1 [~nico@192.145.126.244] has quit [] 02:05 -!- angvp [~angvp@185.204.1.185] has joined #bitcoin-core-dev 02:05 -!- angvp is now known as Guest5260 02:27 -!- ccdle12 [~ccdle12@SODcd-03p21-215.ppp11.odn.ad.jp] has joined #bitcoin-core-dev 02:36 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 02:47 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 256 seconds] 02:55 -!- shivendra [~shivendra@123.201.241.242] has quit [Ping timeout: 248 seconds] 03:09 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 250 seconds] 03:09 -!- jonatack [6d0d4c36@gateway/web/freenode/ip.109.13.76.54] has joined #bitcoin-core-dev 03:12 -!- ccdle12 [~ccdle12@SODcd-03p21-215.ppp11.odn.ad.jp] has quit [Remote host closed the connection] 03:18 -!- shivendra [~shivendra@123.201.241.242] has joined #bitcoin-core-dev 03:31 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 03:31 < bitcoin-git> [bitcoin] Annasadra opened pull request #15955: #18173 ?Акционное письмо (master...master) https://github.com/bitcoin/bitcoin/pull/15955 03:31 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 03:36 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 03:36 < bitcoin-git> [bitcoin] fanquake closed pull request #15955: #18173 ?Акционное письмо (master...master) https://github.com/bitcoin/bitcoin/pull/15955 03:36 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 03:43 -!- spinza [~spin@155.93.246.187] has quit [Quit: Coyote finally caught up with me...] 03:55 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 03:55 < bitcoin-git> [bitcoin] Annasadra opened pull request #15956: Ticket Received #18173 (master...master) https://github.com/bitcoin/bitcoin/pull/15956 03:55 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 03:56 -!- bitcoin-git [~bitcoin-g@x0f.org] has joined #bitcoin-core-dev 03:56 < bitcoin-git> [bitcoin] fanquake closed pull request #15956: Ticket Received #18173 (master...master) https://github.com/bitcoin/bitcoin/pull/15956 03:56 -!- bitcoin-git [~bitcoin-g@x0f.org] has left #bitcoin-core-dev [] 03:57 -!- spinza [~spin@155.93.246.187] has joined #bitcoin-core-dev 04:07 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 04:16 -!- roconnor_ [~roconnor@host-104-157-228-210.dyn.295.ca] has joined #bitcoin-core-dev 04:16 -!- roconnor [~roconnor@2600:1700:4570:fe1:1f8:735:3355:2d82] has quit [Ping timeout: 276 seconds] 04:23 -!- ccdle12 [~ccdle12@SODcd-03p21-215.ppp11.odn.ad.jp] has joined #bitcoin-core-dev 04:39 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 246 seconds] 04:45 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 04:58 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Remote host closed the connection] 04:58 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 05:00 -!- Guest5260 [~angvp@185.204.1.185] has quit [] 05:06 -!- notmyname1 [~notmyname@184.75.223.195] has joined #bitcoin-core-dev 05:33 -!- Sentineo [~Undefined@unaffiliated/sentineo] has quit [Ping timeout: 246 seconds] 05:44 -!- shesek [~shesek@unaffiliated/shesek] has quit [Ping timeout: 255 seconds] 05:45 -!- jonatack [6d0d4c36@gateway/web/freenode/ip.109.13.76.54] has quit [Ping timeout: 256 seconds] 05:52 -!- Chris_Stewart_5 [~chris@unaffiliated/chris-stewart-5/x-3612383] has joined #bitcoin-core-dev 06:04 -!- jtimon [~quassel@181.61.134.37.dynamic.jazztel.es] has joined #bitcoin-core-dev 06:18 -!- simha [~simha1@199.249.230.17] has quit [Remote host closed the connection] 06:19 -!- simha [~simha1@199.249.230.17] has joined #bitcoin-core-dev 06:20 -!- simha [~simha1@199.249.230.17] has quit [Remote host closed the connection] 06:20 -!- simha [~simha1@199.249.230.17] has joined #bitcoin-core-dev 06:25 < Chris_Stewart_5> Has anyone began working on the p2p code for neutrino? 06:52 -!- simha [~simha1@199.249.230.17] has quit [Remote host closed the connection] 07:01 -!- spinza [~spin@155.93.246.187] has quit [Quit: Coyote finally caught up with me...] 07:11 -!- spinza [~spin@155.93.246.187] has joined #bitcoin-core-dev 07:59 -!- b10c [~b10c@2001:16b8:2e0f:8a00:2a18:c9de:21:d521] has quit [Ping timeout: 252 seconds] 07:59 -!- hello222 [b7e5cb2c@gateway/web/freenode/ip.183.229.203.44] has joined #bitcoin-core-dev 08:00 -!- notmyname1 [~notmyname@184.75.223.195] has quit [] 08:01 -!- shivendra [~shivendra@123.201.241.242] has quit [Ping timeout: 268 seconds] 08:03 -!- hello222 [b7e5cb2c@gateway/web/freenode/ip.183.229.203.44] has quit [Ping timeout: 256 seconds] 08:07 -!- KaizenNaka [~Kaizen@95.91.215.58] has joined #bitcoin-core-dev 08:10 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #bitcoin-core-dev 08:14 -!- shivendra [~shivendra@123.201.249.121] has joined #bitcoin-core-dev 08:15 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Excess Flood] 08:17 -!- ccdle12 [~ccdle12@SODcd-03p21-215.ppp11.odn.ad.jp] has quit [Remote host closed the connection] 08:17 -!- ebf01 [~ebf0@84.39.117.57] has joined #bitcoin-core-dev 08:18 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #bitcoin-core-dev 08:34 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Remote host closed the connection] 08:34 -!- Aaronvan_ [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 08:35 -!- Aaronvan_ [~AaronvanW@unaffiliated/aaronvanw] has quit [Client Quit] 08:40 -!- Guyver2 [AdiIRC@guyver2.xs4all.nl] has joined #bitcoin-core-dev 08:43 -!- scoop [~scoop@205.178.77.52] has joined #bitcoin-core-dev 08:45 -!- fabianfabian [~fabianfab@94-209-115-52.cable.dynamic.v4.ziggo.nl] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 08:50 -!- scoop [~scoop@205.178.77.52] has quit [Remote host closed the connection] 08:52 -!- fabianfabian [~fabianfab@94-209-115-52.cable.dynamic.v4.ziggo.nl] has joined #bitcoin-core-dev 09:04 -!- scoop [~scoop@205.178.77.52] has joined #bitcoin-core-dev 09:07 -!- scoop [~scoop@205.178.77.52] has quit [Remote host closed the connection] 09:09 -!- Chris_Stewart_5 [~chris@unaffiliated/chris-stewart-5/x-3612383] has quit [Ping timeout: 246 seconds] 10:14 -!- riperk [uid352992@gateway/web/irccloud.com/x-sfazftlxxqsxwfyn] has joined #bitcoin-core-dev 10:18 -!- shivendra [~shivendra@123.201.249.121] has quit [Remote host closed the connection] 10:30 -!- KaizenNaka [~Kaizen@95.91.215.58] has quit [Ping timeout: 248 seconds] 10:36 -!- millerti [~millerti@cpe-66-24-91-119.stny.res.rr.com] has quit [Read error: Connection reset by peer] 10:58 -!- owowo [~ovovo@unaffiliated/ovovo] has quit [Ping timeout: 246 seconds] 10:59 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 252 seconds] 10:59 -!- owowo [~ovovo@unaffiliated/ovovo] has joined #bitcoin-core-dev 11:00 -!- ebf01 [~ebf0@84.39.117.57] has quit [] 11:08 -!- scoop [~scoop@205.178.77.52] has joined #bitcoin-core-dev 11:09 -!- b10c [~b10c@2001:16b8:2e0f:8a00:2a18:c9de:21:d521] has joined #bitcoin-core-dev 11:11 -!- hebasto [~hebasto@95.164.65.194] has quit [Remote host closed the connection] 11:12 -!- scoop [~scoop@205.178.77.52] has quit [Ping timeout: 258 seconds] 11:15 -!- lcb [~lcb@89.238.178.75] has joined #bitcoin-core-dev 11:42 -!- jarthur [~jarthur@2605:6000:1019:41ab:55e3:eccc:ab93:1e07] has joined #bitcoin-core-dev 11:47 -!- jarthur [~jarthur@2605:6000:1019:41ab:55e3:eccc:ab93:1e07] has quit [Ping timeout: 252 seconds] 12:09 -!- KaizenNaka [~Kaizen@95.91.215.58] has joined #bitcoin-core-dev 12:09 -!- KaizenNaka [~Kaizen@95.91.215.58] has quit [Client Quit] 12:38 -!- rex4539 [~rex4539@2a02:587:3511:5a00:8ceb:4f5c:388f:195] has joined #bitcoin-core-dev 12:50 -!- davterra [~none@c-73-109-39-199.hsd1.wa.comcast.net] has joined #bitcoin-core-dev 12:58 -!- davterra [~none@c-73-109-39-199.hsd1.wa.comcast.net] has quit [Quit: Leaving] 12:59 -!- davterra [~tralfaz@c-73-109-39-199.hsd1.wa.comcast.net] has joined #bitcoin-core-dev 13:00 -!- davterra [~tralfaz@c-73-109-39-199.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 13:00 -!- davterra [~tralfaz@c-73-109-39-199.hsd1.wa.comcast.net] has joined #bitcoin-core-dev 13:02 -!- jb55 [~jb55@S010660e327dca171.vc.shawcable.net] has quit [Ping timeout: 245 seconds] 13:09 -!- Tennis [~Tennis@unaffiliated/tennis] has joined #bitcoin-core-dev 13:13 -!- fabianfabian [~fabianfab@94-209-115-52.cable.dynamic.v4.ziggo.nl] has quit [Quit: Textual IRC Client: www.textualapp.com] 13:16 -!- davterra [~tralfaz@c-73-109-39-199.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 13:19 -!- Cory [Cory@unaffiliated/cory] has quit [Ping timeout: 246 seconds] 13:26 -!- Cory [Cory@unaffiliated/cory] has joined #bitcoin-core-dev 13:29 -!- jb55 [~jb55@S010660e327dca171.vc.shawcable.net] has joined #bitcoin-core-dev 13:34 -!- Guyver2 [AdiIRC@guyver2.xs4all.nl] has quit [Quit: Going offline, see ya! (www.adiirc.com)] 13:40 -!- promag_ [~promag@bl16-114-47.dsl.telepac.pt] has joined #bitcoin-core-dev 13:43 -!- jarthur [~jarthur@2605:6000:1019:41ab:55e3:eccc:ab93:1e07] has joined #bitcoin-core-dev 13:47 -!- Skirmant [~Skirmant@78-62-14-181.static.zebra.lt] has joined #bitcoin-core-dev 13:48 -!- jarthur [~jarthur@2605:6000:1019:41ab:55e3:eccc:ab93:1e07] has quit [Ping timeout: 248 seconds] 13:58 -!- owowo [~ovovo@unaffiliated/ovovo] has quit [Ping timeout: 245 seconds] 14:00 -!- lcb [~lcb@89.238.178.75] has quit [] 14:04 -!- owowo [~ovovo@unaffiliated/ovovo] has joined #bitcoin-core-dev 14:04 -!- Ultifest2 [~Ultifest2@185.204.1.185] has joined #bitcoin-core-dev 14:10 -!- promag_ [~promag@bl16-114-47.dsl.telepac.pt] has quit [Remote host closed the connection] 14:14 -!- belcher [~belcher@unaffiliated/belcher] has joined #bitcoin-core-dev 14:33 -!- b10c [~b10c@2001:16b8:2e0f:8a00:2a18:c9de:21:d521] has quit [Remote host closed the connection] 14:33 -!- b10c [~b10c@2001:16b8:2e0f:8a00:2a18:c9de:21:d521] has joined #bitcoin-core-dev 14:40 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has joined #bitcoin-core-dev 14:41 -!- b10c [~b10c@2001:16b8:2e0f:8a00:2a18:c9de:21:d521] has quit [Quit: Leaving] 14:46 -!- scoop [~scoop@205.178.77.52] has joined #bitcoin-core-dev 15:00 -!- promag [~promag@bl16-114-47.dsl.telepac.pt] has quit [Ping timeout: 246 seconds] 15:11 -!- scoop [~scoop@205.178.77.52] has quit [Remote host closed the connection] 15:11 -!- scoop [~scoop@205.178.77.52] has joined #bitcoin-core-dev 15:25 -!- niska [~niska@68.ip-149-56-14.net] has quit [Quit: Leaving] 15:25 -!- nullptr| [~nullptr|@ip-94-112-134-45.net.upcbroadband.cz] has quit [Read error: Connection reset by peer] 15:30 -!- niska [~niska@68.ip-149-56-14.net] has joined #bitcoin-core-dev 15:35 -!- nullptr| [~nullptr|@ip-94-112-134-45.net.upcbroadband.cz] has joined #bitcoin-core-dev 15:38 -!- Tennis [~Tennis@unaffiliated/tennis] has quit [Quit: Leaving] 15:38 -!- jarthur [~jarthur@2605:6000:1019:41ab:55e3:eccc:ab93:1e07] has joined #bitcoin-core-dev 15:39 -!- spinza [~spin@155.93.246.187] has quit [Quit: Coyote finally caught up with me...] 15:42 -!- promag [~promag@bl16-114-47.dsl.telepac.pt] has joined #bitcoin-core-dev 15:43 -!- chaus [~chaus@81.193.44.230] has joined #bitcoin-core-dev 15:49 -!- fanquake [~fanquake@unaffiliated/fanquake] has quit [] 15:52 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 15:53 -!- scoop [~scoop@205.178.77.52] has quit [Remote host closed the connection] 15:53 -!- promag [~promag@bl16-114-47.dsl.telepac.pt] has quit [Read error: Connection reset by peer] 15:53 -!- promag_ [~promag@bl16-114-47.dsl.telepac.pt] has joined #bitcoin-core-dev 15:57 -!- scoop [~scoop@205.178.77.52] has joined #bitcoin-core-dev 15:57 -!- scoop [~scoop@205.178.77.52] has quit [Remote host closed the connection] 15:57 -!- scoop [~scoop@205.178.77.52] has joined #bitcoin-core-dev 16:01 -!- windsok [~windsok@unaffiliated/windsok] has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.] 16:01 -!- windsok [~windsok@rarepepe.cash] has joined #bitcoin-core-dev 16:01 -!- windsok [~windsok@rarepepe.cash] has quit [Changing host] 16:01 -!- windsok [~windsok@unaffiliated/windsok] has joined #bitcoin-core-dev 16:05 -!- spinza [~spin@155.93.246.187] has joined #bitcoin-core-dev 16:08 -!- windsok [~windsok@unaffiliated/windsok] has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.] 16:09 -!- ccdle12 [~ccdle12@SODcd-03p21-215.ppp11.odn.ad.jp] has joined #bitcoin-core-dev 16:10 -!- windsok [~windsok@unaffiliated/windsok] has joined #bitcoin-core-dev 16:15 -!- windsok [~windsok@unaffiliated/windsok] has quit [Client Quit] 16:15 -!- windsok [~windsok@rarepepe.cash] has joined #bitcoin-core-dev 16:16 -!- windsok [~windsok@rarepepe.cash] has quit [Changing host] 16:16 -!- windsok [~windsok@unaffiliated/windsok] has joined #bitcoin-core-dev 16:21 -!- windsok [~windsok@unaffiliated/windsok] has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.] 16:22 -!- windsok [~windsok@rarepepe.cash] has joined #bitcoin-core-dev 16:22 -!- windsok [~windsok@rarepepe.cash] has quit [Changing host] 16:22 -!- windsok [~windsok@unaffiliated/windsok] has joined #bitcoin-core-dev 16:27 -!- windsok [~windsok@unaffiliated/windsok] has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.] 16:34 -!- belcher [~belcher@unaffiliated/belcher] has quit [Quit: Leaving] 16:42 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [] 17:00 -!- Ultifest2 [~Ultifest2@185.204.1.185] has quit [] 17:00 -!- scoop [~scoop@205.178.77.52] has quit [Remote host closed the connection] 17:05 -!- scoop [~scoop@205.178.77.52] has joined #bitcoin-core-dev 17:05 -!- cpow [~cpow@178.162.209.171] has joined #bitcoin-core-dev 17:10 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #bitcoin-core-dev 17:10 -!- scoop [~scoop@205.178.77.52] has quit [Remote host closed the connection] 17:10 -!- scoop [~scoop@205.178.77.52] has joined #bitcoin-core-dev 17:17 -!- Skirmant [~Skirmant@78-62-14-181.static.zebra.lt] has quit [Ping timeout: 245 seconds] 17:24 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has joined #bitcoin-core-dev 17:24 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 258 seconds] 17:29 -!- lukedashjr is now known as luke-jr 17:41 -!- drexl [~drexl@cpc130676-camd16-2-0-cust445.know.cable.virginm.net] has joined #bitcoin-core-dev 17:42 -!- ccdle12 [~ccdle12@SODcd-03p21-215.ppp11.odn.ad.jp] has quit [Remote host closed the connection] 17:42 -!- ccdle12 [~ccdle12@SODcd-03p21-215.ppp11.odn.ad.jp] has joined #bitcoin-core-dev 17:48 -!- Bullit [~Bullit01@042-236-158-163.dynamic.caiway.nl] has quit [Ping timeout: 268 seconds] 17:53 -!- Evel-Knievel [~Evel-Knie@d5152f744.static.telenet.be] has quit [Remote host closed the connection] 17:54 -!- Evel-Knievel [~Evel-Knie@d5152f744.static.telenet.be] has joined #bitcoin-core-dev 18:16 < tryphe> i noticed read() accepts 'size_t for its third argument but 'int' 18:16 < tryphe> whoops, 'int' is used here: https://github.com/bitcoin/bitcoin/blob/master/src/random.cpp#L290 18:17 < tryphe> particularly 'have' and 'NUM_OS_RANDOM_BYTES' are int 18:17 < tryphe> is this intended for some reason, or a bug? 18:21 < sipa> it's a constant, it doesn't matter 18:23 < tryphe> but why? 18:23 < tryphe> size_t is unsigned, int is signed 18:24 < sipa> 32 is 32 18:25 -!- Karyon [~Karyon@unaffiliated/karyon] has quit [Remote host closed the connection] 18:25 < tryphe> right but it doesn't really answer my question 18:25 -!- Karyon [~Karyon@unaffiliated/karyon] has joined #bitcoin-core-dev 18:26 < gmaxwell> tryphe: use of an unsigned value would potentially risk random unsigned promotions elsewhere. 18:26 < gmaxwell> Which is a common source of gnarly bugs. 18:26 < gmaxwell> 32 fortunately fits in every type (except bool. :P ) 18:29 < tryphe> gmaxwell, makes sense, it's that i would think doing that kind of thing might cause platform issues down the road, maybe similar to the way "word" became ambiguous 18:30 -!- promag_ [~promag@bl16-114-47.dsl.telepac.pt] has quit [Remote host closed the connection] 18:35 -!- scoop [~scoop@205.178.77.52] has quit [Remote host closed the connection] 18:36 -!- scoop [~scoop@205.178.77.52] has joined #bitcoin-core-dev 18:37 < luke-jr> tryphe: I don't think C++ allows it to be ambiguous 18:38 -!- cornfeedhobo [~cornfeedh@unaffiliated/cornfeed] has quit [Quit: ZNC - https://znc.in] 18:40 -!- scoop [~scoop@205.178.77.52] has quit [Ping timeout: 246 seconds] 18:42 -!- cornfeedhobo [~cornfeedh@unaffiliated/cornfeed] has joined #bitcoin-core-dev 18:44 < sipa> tryphe: thabkfully we have a lot of control over supported platforms; right now, the code already relies on int being at least 32 bits iirc 18:46 < tryphe> luke-jr, sipa, those are good points, i guess it just makes me think how ints were 16 bits on 16-bit processors and how over time there were problems because interpretation became loose 18:47 < luke-jr> tryphe: int is guaranteed to be at least 16-bit 18:52 < tryphe> what about using an already defined fixed-width type like int32_t? 18:52 < tryphe> would it be preferred over int? 18:53 < luke-jr> it really depends on what the code requires 18:53 < luke-jr> if it's just counting from 1 to 3, int is fine 18:54 < luke-jr> if it's iterating over an array, it should use size_t 18:54 < luke-jr> etc 18:54 < luke-jr> fixed-width types should only be used when there is a need for an exact width 18:55 < tryphe> but if you know it's 32 bits, then that's why C++11 standard made fixed-width types, for that exact reaason 18:55 -!- jtimon [~quassel@181.61.134.37.dynamic.jazztel.es] has quit [Ping timeout: 250 seconds] 18:55 < tryphe> it just seems strange that you would use int to me, that's all 18:56 < luke-jr> `int` is the preferred integer type when 16-bits is sufficient 18:56 < luke-jr> the compiler will choose whatever width is best for the target platform 18:56 < luke-jr> eg, it will use 32-bit if 16-bit would entail extra overflow checks/handling 18:57 < tryphe> i thought you guys only supported platforms where it was 32 bits, though 18:59 < sipa> yes 19:00 < tryphe> luke-jr, but from what sipa said, it can only be 32, hence the confusion 19:01 < tryphe> so it can be 16 sometimes? 19:01 < sipa> tryphe: C++ only guarantees that ints are at least 16 bits 19:01 < sipa> bitcoin core only support platforms where it is 32 19:02 < tryphe> gotcha 19:03 < tryphe> i still don't see why you would want to use int, seems like a future rat's nest of problems 19:04 < sipa> really, it is not a big deal 19:04 < sipa> int is big enough for the constant 32, hence, it is enough 19:05 -!- davec [~davec@cpe-24-243-249-218.hot.res.rr.com] has quit [Quit: leaving] 19:05 -!- Klox [~Klox@c-73-22-66-195.hsd1.il.comcast.net] has quit [Remote host closed the connection] 19:07 < tryphe> i see why you would want to use that for promotion to an unsigned type, but i'm just thinking hypothetically i guess :p 19:08 < tryphe> maybe some guy in 100 years compiles an old bitcoin build on the new C++50 standard where ints are 128 bytes, or something, lol 19:08 < tryphe> bits even 19:08 < luke-jr> and it will still work 19:09 < luke-jr> because 32 is still 32 in 128-bit 19:09 < tryphe> yeah, you could even safely promote it to size_t_128 or something i guess :p 19:09 < tryphe> thanks, that makes sense 19:09 < tryphe> wasn't trying to nag, just didn't understand it 19:18 -!- skyikot [~skyikot@gateway/tor-sasl/skyikot] has joined #bitcoin-core-dev 19:22 -!- dgenr8 [~dgenr8@unaffiliated/dgenr8] has quit [Ping timeout: 252 seconds] 19:23 -!- ccdle12 [~ccdle12@SODcd-03p21-215.ppp11.odn.ad.jp] has quit [Remote host closed the connection] 19:24 -!- ccdle12 [~ccdle12@SODcd-03p21-215.ppp11.odn.ad.jp] has joined #bitcoin-core-dev 19:27 -!- Klox [~Klox@c-73-22-66-195.hsd1.il.comcast.net] has joined #bitcoin-core-dev 19:29 -!- ccdle12 [~ccdle12@SODcd-03p21-215.ppp11.odn.ad.jp] has quit [Ping timeout: 258 seconds] 19:30 -!- fanquake [~fanquake@unaffiliated/fanquake] has joined #bitcoin-core-dev 19:34 -!- pinheadmz [~matthewzi@c-73-92-181-51.hsd1.ca.comcast.net] has joined #bitcoin-core-dev 19:42 -!- scoop [~scoop@205.178.77.52] has joined #bitcoin-core-dev 19:51 -!- drexl [~drexl@cpc130676-camd16-2-0-cust445.know.cable.virginm.net] has quit [Quit: drexl] 19:55 < tryphe> i'm thankful for bitcoin because watching the development process helps amatuers like me not have such terrible C++ habits :o 20:00 -!- cpow [~cpow@178.162.209.171] has quit [] 20:02 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #bitcoin-core-dev 20:04 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 256 seconds] 20:05 -!- zacts [~zacts@184.75.223.195] has joined #bitcoin-core-dev 20:06 -!- zacts is now known as Guest48929 20:08 -!- EagleTM [~EagleTM@unaffiliated/eagletm] has joined #bitcoin-core-dev 20:09 -!- Eagle[TM] [~EagleTM@unaffiliated/eagletm] has quit [Ping timeout: 250 seconds] 20:14 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has joined #bitcoin-core-dev 20:16 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 256 seconds] 20:19 -!- Klox [~Klox@c-73-22-66-195.hsd1.il.comcast.net] has quit [Ping timeout: 258 seconds] 20:19 -!- Klox3 [~Klox@c-73-22-66-195.hsd1.il.comcast.net] has joined #bitcoin-core-dev 20:43 -!- jarthur [~jarthur@2605:6000:1019:41ab:55e3:eccc:ab93:1e07] has quit [] 21:08 -!- davterra [~tralfaz@94.100.23.163] has joined #bitcoin-core-dev 21:09 -!- davterra [~tralfaz@94.100.23.163] has quit [Remote host closed the connection] 21:11 -!- davterra [~tralfaz@178.128.106.205] has joined #bitcoin-core-dev 21:13 -!- scoop [~scoop@205.178.77.52] has quit [Remote host closed the connection] 21:14 -!- hebasto [~hebasto@95.164.65.194] has joined #bitcoin-core-dev 21:24 -!- hebasto [~hebasto@95.164.65.194] has quit [Remote host closed the connection] 21:43 -!- skyikot [~skyikot@gateway/tor-sasl/skyikot] has quit [Remote host closed the connection] 21:46 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 248 seconds] 22:13 -!- ccdle12 [~ccdle12@103.5.140.151] has joined #bitcoin-core-dev 22:18 -!- rex4539 [~rex4539@2a02:587:3511:5a00:8ceb:4f5c:388f:195] has quit [Quit: rex4539] 22:30 -!- EagleTM [~EagleTM@unaffiliated/eagletm] has quit [Ping timeout: 248 seconds] 22:30 -!- pinheadmz [~matthewzi@c-73-92-181-51.hsd1.ca.comcast.net] has quit [Quit: pinheadmz] 22:37 < jb55> gcc bugs... spooky 22:52 < gwillen> tryphe: one interesting note about int, is that it is the smallest type for which C/C++ will not perform integer promotion behind your back unless the arguments have different types 22:52 < gwillen> if you're smaller than int, you get promoted to int no matter what 22:52 < gwillen> once you're at int, you get left alone unless you need a promotion to make the operation possible 23:00 -!- Guest48929 [~zacts@184.75.223.195] has quit [] 23:04 -!- fredcooke1 [~fredcooke@184.75.223.195] has joined #bitcoin-core-dev 23:13 -!- scoop [~scoop@205.178.77.52] has joined #bitcoin-core-dev 23:15 < tryphe> gwillen, neat, thanks! 23:15 < tryphe> gwillen, i guess i had noticed that before, but never had a real explanation for it. 23:18 -!- scoop [~scoop@205.178.77.52] has quit [Ping timeout: 250 seconds] 23:42 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] --- Log closed Mon May 06 00:00:04 2019