--- Day changed Sun Jul 30 2017 00:06 -!- harding [~harding@mail.dtrt.org] has quit [Read error: Connection reset by peer] 00:10 -!- marcoagner [~user@187.113.150.199] has joined #bitcoin-core-dev 00:17 -!- jamesob [~james@c-73-241-180-136.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 00:17 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-zdsbnjnatgfiiwsw] has joined #bitcoin-core-dev 00:26 -!- Emcy [~MC@unaffiliated/emcy] has joined #bitcoin-core-dev 00:31 -!- dgenr8 [~dgenr8@unaffiliated/dgenr8] has joined #bitcoin-core-dev 00:35 -!- J-wolf [~J-wolf@188.225.171.82] has joined #bitcoin-core-dev 00:39 -!- hsmiths_ is now known as hsmiths 01:27 -!- J-wolf [~J-wolf@188.225.171.82] has quit [Remote host closed the connection] 01:36 -!- Giszmo [~leo@46.128.249.133.dynamic.cablesurf.de] has quit [Quit: Leaving.] 01:43 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 01:46 -!- Yogaqueef [~textual@dsl-hkibng42-5673c3-32.dhcp.inet.fi] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 01:53 -!- J-wolf [~J-wolf@188.225.141.78] has joined #bitcoin-core-dev 02:08 -!- Mordan [~Mordan@222.109-242-81.adsl-dyn.isp.belgacom.be] has joined #bitcoin-core-dev 02:16 -!- J-wolf_ [~J-wolf@188.225.141.78] has joined #bitcoin-core-dev 02:16 -!- Mordan [~Mordan@222.109-242-81.adsl-dyn.isp.belgacom.be] has quit [Ping timeout: 255 seconds] 02:20 -!- J-wolf [~J-wolf@188.225.141.78] has quit [Ping timeout: 260 seconds] 02:33 -!- otium [~otium@2a01:e35:2eeb:c00:48ea:4c79:bf72:ad46] has joined #bitcoin-core-dev 02:35 -!- otium [~otium@2a01:e35:2eeb:c00:48ea:4c79:bf72:ad46] has quit [Client Quit] 02:41 < bitcoin-git> [bitcoin] jl2012 opened pull request #10953: [Refactor] Combine scriptPubKey and amount as CTxOut in CScriptCheck (master...combine_script_amount) https://github.com/bitcoin/bitcoin/pull/10953 02:41 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Remote host closed the connection] 02:42 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-zdsbnjnatgfiiwsw] has quit [Quit: Connection closed for inactivity] 03:02 -!- SopaXorzTaker [~SopaXorzT@unaffiliated/sopaxorztaker] has joined #bitcoin-core-dev 03:08 -!- harrymm [~wayne@125-227-207-250.HINET-IP.hinet.net] has quit [Ping timeout: 240 seconds] 03:10 -!- harrymm [~wayne@60-249-14-203.HINET-IP.hinet.net] has joined #bitcoin-core-dev 03:25 -!- Guest83498 [~Kyler@tor-exit.critical.cat] has quit [K-Lined] 03:29 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-fhbxrstttrazzkvq] has joined #bitcoin-core-dev 03:29 -!- J-wolf [~J-wolf@188.225.141.78] has joined #bitcoin-core-dev 03:29 -!- J-wolf_ [~J-wolf@188.225.141.78] has quit [Ping timeout: 255 seconds] 03:30 -!- Mordan [Mordan@222.109-242-81.adsl-dyn.isp.belgacom.be] has joined #bitcoin-core-dev 03:34 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 03:41 -!- AsadSalman [~AsadSalma@103.255.6.77] has joined #bitcoin-core-dev 03:44 -!- AsadSalman is now known as asadsalman 03:58 -!- venzen [~venzen@5.255.87.141] has joined #bitcoin-core-dev 03:58 -!- J-wolf [~J-wolf@188.225.141.78] has quit [Remote host closed the connection] 04:16 -!- Mordan [Mordan@222.109-242-81.adsl-dyn.isp.belgacom.be] has quit [Ping timeout: 260 seconds] 04:18 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Remote host closed the connection] 04:18 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 04:23 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 260 seconds] 04:30 -!- str4d [~str4d@188.29.165.252.threembb.co.uk] has joined #bitcoin-core-dev 04:33 -!- J-wolf [~J-wolf@188.225.171.82] has joined #bitcoin-core-dev 04:33 -!- Guyver2 [~Guyver@guyver2.xs4all.nl] has joined #bitcoin-core-dev 04:50 -!- str4d [~str4d@188.29.165.252.threembb.co.uk] has quit [Ping timeout: 248 seconds] 04:59 -!- goatpig [56f75436@gateway/web/freenode/ip.86.247.84.54] has joined #bitcoin-core-dev 05:04 -!- str4d [~str4d@cpc98278-walt21-2-0-cust114.13-2.cable.virginm.net] has joined #bitcoin-core-dev 05:23 -!- aqquadro [~aqquadro@unaffiliated/aqquadro] has joined #bitcoin-core-dev 05:25 -!- miknotauro [~miknotaur@S0106e0553d8d9905.cg.shawcable.net] has quit [Ping timeout: 240 seconds] 05:27 -!- str4d [~str4d@cpc98278-walt21-2-0-cust114.13-2.cable.virginm.net] has quit [Ping timeout: 260 seconds] 05:31 -!- str4d [~str4d@cpc98278-walt21-2-0-cust114.13-2.cable.virginm.net] has joined #bitcoin-core-dev 05:51 -!- asadsalman [~AsadSalma@103.255.6.77] has quit [Ping timeout: 240 seconds] 05:54 -!- Mordan [Mordan@222.109-242-81.adsl-dyn.isp.belgacom.be] has joined #bitcoin-core-dev 05:57 -!- d_t [~d_t@108-65-78-188.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 240 seconds] 06:06 -!- str4d [~str4d@cpc98278-walt21-2-0-cust114.13-2.cable.virginm.net] has quit [Ping timeout: 240 seconds] 06:07 -!- asadsalman [~asadsalma@103.255.6.77] has joined #bitcoin-core-dev 06:12 -!- asadsalman [~asadsalma@103.255.6.77] has quit [Ping timeout: 240 seconds] 06:12 -!- d_t [~d_t@108-65-78-188.lightspeed.sntcca.sbcglobal.net] has joined #bitcoin-core-dev 06:17 -!- J-wolf [~J-wolf@188.225.171.82] has quit [Remote host closed the connection] 06:24 -!- d_t [~d_t@108-65-78-188.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 240 seconds] 06:26 -!- jeep-ss [~chatzilla@78.31.64.4] has joined #bitcoin-core-dev 06:32 -!- vFSgrcFGBJHg [~rYUtdcvYT@2a02:2f0a:b060:4dd:880b:10e0:3719:4675] has joined #bitcoin-core-dev 06:46 -!- Yoghurt114 [d4eed09d@gateway/web/freenode/ip.212.238.208.157] has joined #bitcoin-core-dev 06:47 < Yoghurt114> hello, has anything changed in the getrawtransaction result format recently? 06:47 < Yoghurt114> I can't make sense of the following: https://pastebin.com/VjwD8Qhz (random segwit testnet tx) 06:52 -!- Guyver2 [~Guyver@guyver2.xs4all.nl] has quit [Ping timeout: 260 seconds] 07:03 < luke-jr> Yoghurt114: Segwit transactions don't use the old tx format.. 07:04 < gmaxwell> Yoghurt114: thats segwit. 07:04 < gmaxwell> Yoghurt114: the 0 vin count is the flag that the tx is using segwit. 07:04 < luke-jr> although it's strange that it seems to have a scriptSig for the sole input? 07:04 < gmaxwell> the real vin count follows after it. 07:04 < gmaxwell> luke-jr: p2sh embedded segwit, I'd assume. 07:04 < luke-jr> ah 07:05 < luke-jr> Yoghurt114: also there's witness data before the lockitme 07:05 < gmaxwell> Yoghurt114: it would be beyond totally awesome if you got your colorcoding tools working with segwit. 07:06 < gmaxwell> Yoghurt114: I wasted a couple hours this morning trying to find a reddit post SOMEONE made that colorcoded a hexdump of a block to show the witness data inside it, to disprove some fud that was saying with segwit signatures weren't in blocks. 07:06 < gmaxwell> someone actually suggested it was you and pointed me to your site, which might have resulted in other people nagging you to update your stuff for segwit. :) 07:07 < Yoghurt114> that is indeed what's happened ;) 07:10 < Yoghurt114> so the 00 00 01 01 following the version, what does it mean? 07:11 < Yoghurt114> also I can't explain the last part of the raw tx, what used to be a 4 byte locktime is now 0120000000000000000000000000000000000000000000000000000000000000000000000000 07:14 < Yoghurt114> which I'm guessing is 01 (1 thing) 20 (32 bytes) 0000000000000000000000000000000000000000000000000000000000000000 (hash) and then the locktime 00000000 - but what is the thing, and what does the hash point to? 07:14 < luke-jr> Yoghurt114: before vin count is 00 01 07:15 < luke-jr> before locktime is, for each input, a vector of witness data 07:15 < luke-jr> each of which is number-of-witness-elements, and for each, the size and data itself 07:17 < Yoghurt114> is the 01 following the 00 the segwit program version? 07:20 -!- snq [~random@185.93.182.148] has joined #bitcoin-core-dev 07:22 -!- snkey [~random@93.190.139.37] has quit [Ping timeout: 240 seconds] 07:23 < intcat> is the new segwit transaction serialization format written up anywhere? 07:26 -!- jamesob [~james@c-73-241-180-136.hsd1.ca.comcast.net] has joined #bitcoin-core-dev 07:26 < gmaxwell> intcat: sure, in the specs, that one is in BIP 144 https://github.com/bitcoin/bips/blob/master/bip-0144.mediawiki 07:27 < gmaxwell> intcat: come on, you think we'd really change the consensus protocol in any way without writing an extensive specification? 07:28 < luke-jr> Yoghurt114: no, the sequence at the start merely serves to distinguish segwit from non-segwit 07:28 < intcat> course not, just had some trouble finding it - didnt expect it under "peer services" ;) 07:30 < Yoghurt114> "The marker byte is set to zero so that this structure will never parse as a valid transaction in a parser that does not support this BIP." well - the thing crashed, so I guess the spec is well-defined ;) 07:32 < gmaxwell> intcat: serialization itself is a property of the p2p protocol, in theory at least you could have a mix of peers using something entirely different between each other, all in consensus with the network. What matters for consensus is the hashing. 07:45 -!- Yogaqueef [~textual@dsl-hkibng42-5673c3-32.dhcp.inet.fi] has joined #bitcoin-core-dev 07:46 < intcat> is the txin[] the same format as before? 07:47 -!- str4d [~str4d@cpc98278-walt21-2-0-cust114.13-2.cable.virginm.net] has joined #bitcoin-core-dev 07:49 < gmaxwell> intcat: yes. 08:07 < jl2012> intcat, gmaxwell: the serialization is indeed consensus because of hashing and weight counting 08:26 -!- ryanofsky [russ@jumpy.yanofsky.org] has quit [K-Lined] 08:26 -!- ryanofsky [~russ@jumpy.yanofsky.org] has joined #bitcoin-core-dev 08:29 -!- jamesob [~james@c-73-241-180-136.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] 08:46 -!- owowo [~ovovo@unaffiliated/ovovo] has quit [Ping timeout: 276 seconds] 08:52 -!- cbentley [~Mordan@222.109-242-81.adsl-dyn.isp.belgacom.be] has joined #bitcoin-core-dev 08:53 -!- owowo [~ovovo@unaffiliated/ovovo] has joined #bitcoin-core-dev 08:54 -!- Mordan [Mordan@222.109-242-81.adsl-dyn.isp.belgacom.be] has quit [Ping timeout: 260 seconds] 08:55 -!- CubicEarth [~cubiceart@50-0-95-188.dsl.dynamic.fusionbroadband.com] has joined #bitcoin-core-dev 09:00 -!- ula [~kvirc@b2b-78-94-9-226.unitymedia.biz] has joined #bitcoin-core-dev 09:09 -!- jamesob [~james@c-73-241-180-136.hsd1.ca.comcast.net] has joined #bitcoin-core-dev 09:41 -!- EagleTM [~EagleTM@x4db4e017.dyn.telefonica.de] has quit [Ping timeout: 240 seconds] 09:45 -!- EagleTM [~EagleTM@x4db4e017.dyn.telefonica.de] has joined #bitcoin-core-dev 09:47 -!- snkey [~random@185.93.182.140] has joined #bitcoin-core-dev 09:49 -!- snq [~random@185.93.182.148] has quit [Ping timeout: 240 seconds] 09:49 -!- chjj [~chjj@unaffiliated/chjj] has quit [Quit: WeeChat 1.9] 09:51 -!- chjj [~chjj@unaffiliated/chjj] has joined #bitcoin-core-dev 09:59 -!- EagleTM [~EagleTM@x4db4e017.dyn.telefonica.de] has quit [Ping timeout: 260 seconds] 10:02 -!- EagleTM [~EagleTM@x4db4e017.dyn.telefonica.de] has joined #bitcoin-core-dev 10:28 -!- Guyver2 [~Guyver@guyver2.xs4all.nl] has joined #bitcoin-core-dev 10:35 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 10:36 -!- Aaronvan_ [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 10:38 -!- Aaronva__ [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 10:39 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 240 seconds] 10:41 -!- Aaronvan_ [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 248 seconds] 10:46 -!- EagleTM [~EagleTM@x4db4e017.dyn.telefonica.de] has quit [Ping timeout: 260 seconds] 10:46 -!- str4d [~str4d@cpc98278-walt21-2-0-cust114.13-2.cable.virginm.net] has quit [Ping timeout: 240 seconds] 10:53 -!- Aaronva__ [~AaronvanW@unaffiliated/aaronvanw] has quit [Remote host closed the connection] 10:54 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 10:56 -!- cbentley [~Mordan@222.109-242-81.adsl-dyn.isp.belgacom.be] has quit [Ping timeout: 240 seconds] 10:56 -!- Guyver2 [~Guyver@guyver2.xs4all.nl] has quit [Quit: Going offline, see ya! (www.adiirc.com)] 10:58 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 255 seconds] 10:59 -!- eck [~eck@fsf/member/eck] has quit [Quit: bye] 11:09 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 11:23 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has joined #bitcoin-core-dev 11:26 -!- deep-book-gk_ [~1wm_su@119.81.29.178] has joined #bitcoin-core-dev 11:28 -!- deep-book-gk_ [~1wm_su@119.81.29.178] has left #bitcoin-core-dev [] 11:32 -!- EagleTM [~EagleTM@x4db4e017.dyn.telefonica.de] has joined #bitcoin-core-dev 11:33 -!- Guyver2 [~Guyver@guyver2.xs4all.nl] has joined #bitcoin-core-dev 11:43 -!- SopaXorzTaker [~SopaXorzT@unaffiliated/sopaxorztaker] has quit [Remote host closed the connection] 11:46 -!- Guyver2_ [~Guyver@guyver2.xs4all.nl] has joined #bitcoin-core-dev 11:50 -!- Guyver2 [~Guyver@guyver2.xs4all.nl] has quit [Ping timeout: 260 seconds] 11:50 -!- Guyver2_ is now known as Guyver2 11:55 -!- batman10_ [~batman103@ool-4a5840bf.dyn.optonline.net] has joined #bitcoin-core-dev 11:59 -!- asadsalman [~asadsalma@103.255.6.77] has joined #bitcoin-core-dev 11:59 -!- batman10_ [~batman103@ool-4a5840bf.dyn.optonline.net] has quit [Ping timeout: 240 seconds] 12:00 -!- Guyver2 [~Guyver@guyver2.xs4all.nl] has quit [Quit: Going offline, see ya! (www.adiirc.com)] 12:03 -!- Mordan [Mordan@222.109-242-81.adsl-dyn.isp.belgacom.be] has joined #bitcoin-core-dev 12:08 -!- EagleTM [~EagleTM@x4db4e017.dyn.telefonica.de] has quit [Ping timeout: 255 seconds] 12:12 -!- EagleTM [~EagleTM@x4db4e017.dyn.telefonica.de] has joined #bitcoin-core-dev 12:20 -!- tiagotrs [~tiago@unaffiliated/tiagotrs] has joined #bitcoin-core-dev 12:21 -!- tiagotrs [~tiago@unaffiliated/tiagotrs] has quit [Client Quit] 12:25 -!- tiagotrs [~tiago@unaffiliated/tiagotrs] has joined #bitcoin-core-dev 12:27 < bitcoin-git> [bitcoin] practicalswift opened pull request #10956: Fix typos (master...typos-201708) https://github.com/bitcoin/bitcoin/pull/10956 12:28 -!- asadsalman [~asadsalma@103.255.6.77] has quit [Ping timeout: 260 seconds] 12:40 -!- Guyver2 [~Guyver@guyver2.xs4all.nl] has joined #bitcoin-core-dev 12:40 -!- Kelbie [5e0d5ba2@gateway/web/freenode/ip.94.13.91.162] has joined #bitcoin-core-dev 12:45 < Yoghurt114> gmaxwell: https://i.imgur.com/8hO4yoH.png it'll look something like this 12:45 -!- asadsalman [~asadsalma@39.50.50.18] has joined #bitcoin-core-dev 12:52 < Emcy> has there ever been a known example of an SPV client being scammed/partitioned off deliberately 12:52 < Emcy> or otherwise attacked using the trust concessions that SPV clients have to mkae 12:53 < Emcy> shit wrong place ignore 12:54 -!- Guyver2 [~Guyver@guyver2.xs4all.nl] has quit [Remote host closed the connection] 13:02 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Remote host closed the connection] 13:03 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 13:06 -!- CubicEarth [~cubiceart@50-0-95-188.dsl.dynamic.fusionbroadband.com] has quit [Remote host closed the connection] 13:08 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 268 seconds] 13:15 -!- tucenaber_ [~tucenaber@o144.231.lokis.net.pl] has quit [Ping timeout: 240 seconds] 13:17 -!- JackH [~laptop@nas01-227.telelev.net] has joined #bitcoin-core-dev 13:19 -!- Mordan [Mordan@222.109-242-81.adsl-dyn.isp.belgacom.be] has quit [Ping timeout: 268 seconds] 13:20 -!- CubicEarth [~cubiceart@73.93.141.157] has joined #bitcoin-core-dev 13:33 -!- CubicEar_ [~cubiceart@162-246-145-202.static-ip.telepacific.net] has joined #bitcoin-core-dev 13:33 -!- Yogaqueef [~textual@dsl-hkibng42-5673c3-32.dhcp.inet.fi] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 13:33 -!- Mordan [Mordan@222.109-242-81.adsl-dyn.isp.belgacom.be] has joined #bitcoin-core-dev 13:34 -!- CubicEa__ [~cubiceart@162-246-145-202.static-ip.telepacific.net] has joined #bitcoin-core-dev 13:34 -!- CubicEar_ [~cubiceart@162-246-145-202.static-ip.telepacific.net] has quit [Read error: Connection reset by peer] 13:34 -!- jamesob [~james@c-73-241-180-136.hsd1.ca.comcast.net] has quit [Ping timeout: 246 seconds] 13:34 -!- jamesob [~james@c-73-241-180-136.hsd1.ca.comcast.net] has joined #bitcoin-core-dev 13:36 -!- tucenaber_ [~tucenaber@o144.231.lokis.net.pl] has joined #bitcoin-core-dev 13:36 -!- CubicEarth [~cubiceart@73.93.141.157] has quit [Ping timeout: 255 seconds] 13:44 -!- jamesob [~james@c-73-241-180-136.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 13:50 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has quit [Ping timeout: 260 seconds] 13:53 -!- CubicEa__ [~cubiceart@162-246-145-202.static-ip.telepacific.net] has quit [Remote host closed the connection] 13:54 -!- CubicEarth [~cubiceart@162-246-145-202.static-ip.telepacific.net] has joined #bitcoin-core-dev 13:56 -!- deep-book-gk_ [~1wm_su@158.85.67.146] has joined #bitcoin-core-dev 13:56 -!- Yoghurt114 [d4eed09d@gateway/web/freenode/ip.212.238.208.157] has quit [Ping timeout: 260 seconds] 13:56 -!- deep-book-gk_ [~1wm_su@158.85.67.146] has left #bitcoin-core-dev [] 13:58 -!- CubicEarth [~cubiceart@162-246-145-202.static-ip.telepacific.net] has quit [Ping timeout: 240 seconds] 14:08 -!- cdecker|afk is now known as cdecker 14:09 -!- asadsalman [~asadsalma@39.50.50.18] has quit [Ping timeout: 276 seconds] 14:13 -!- snq [~random@77.243.183.10] has joined #bitcoin-core-dev 14:14 -!- Kelbie [5e0d5ba2@gateway/web/freenode/ip.94.13.91.162] has quit [Ping timeout: 260 seconds] 14:14 -!- CubicEarth [~cubiceart@50-0-95-188.dsl.dynamic.fusionbroadband.com] has joined #bitcoin-core-dev 14:15 -!- snkey [~random@185.93.182.140] has quit [Ping timeout: 246 seconds] 14:41 < bitcoin-git> [bitcoin] practicalswift opened pull request #10957: Do not return a BIP9Stats object with uninitialized values (master...bip9status) https://github.com/bitcoin/bitcoin/pull/10957 15:02 -!- asadsalman [~asadsalma@39.60.148.86] has joined #bitcoin-core-dev 15:05 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #bitcoin-core-dev 15:10 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 240 seconds] 15:18 -!- jamesob [~james@c-73-241-180-136.hsd1.ca.comcast.net] has joined #bitcoin-core-dev 15:21 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has joined #bitcoin-core-dev 15:26 -!- Emcy_ [~MC@unaffiliated/emcy] has joined #bitcoin-core-dev 15:30 -!- Emcy [~MC@unaffiliated/emcy] has quit [Ping timeout: 260 seconds] 15:34 -!- timothy [~tredaelli@redhat/timothy] has joined #bitcoin-core-dev 15:36 -!- timothy [~tredaelli@redhat/timothy] has quit [Client Quit] 15:37 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has quit [Ping timeout: 255 seconds] 16:08 -!- da2ce7_ [~da2ce7@opentransactions/dev/da2ce7] has quit [Ping timeout: 240 seconds] 16:09 -!- herzmeister[m] [herzmeiste@gateway/shell/matrix.org/x-rmixzbrllswjykqo] has quit [Ping timeout: 240 seconds] 16:09 -!- kewde[m] [kewdematri@gateway/shell/matrix.org/x-bbseqwcjwepgwseq] has quit [Ping timeout: 255 seconds] 16:09 -!- draadpiraat[m] [draadpiraa@gateway/shell/matrix.org/x-yfckjyxenywlrbkm] has quit [Ping timeout: 258 seconds] 16:22 -!- da2ce7 [~da2ce7@opentransactions/dev/da2ce7] has joined #bitcoin-core-dev 16:24 -!- CubicEarth [~cubiceart@50-0-95-188.dsl.dynamic.fusionbroadband.com] has quit [Remote host closed the connection] 16:34 -!- promag [~Adium@2001:8a0:fe30:de01:6c66:2576:78b8:12c4] has joined #bitcoin-core-dev 16:35 -!- kewde[m] [kewdematri@gateway/shell/matrix.org/x-aszhvsukkdivnawy] has joined #bitcoin-core-dev 16:35 -!- Mordan [Mordan@222.109-242-81.adsl-dyn.isp.belgacom.be] has quit [Ping timeout: 240 seconds] 16:38 -!- promag [~Adium@2001:8a0:fe30:de01:6c66:2576:78b8:12c4] has quit [Quit: Leaving.] 16:41 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has joined #bitcoin-core-dev 16:43 -!- vFSgrcFGBJHg [~rYUtdcvYT@2a02:2f0a:b060:4dd:880b:10e0:3719:4675] has quit [Ping timeout: 255 seconds] 16:53 -!- asadsalman [~asadsalma@39.60.148.86] has quit [Remote host closed the connection] 16:53 -!- tiagotrs [~tiago@unaffiliated/tiagotrs] has quit [Ping timeout: 240 seconds] 16:56 -!- promag [~Adium@2001:8a0:fe30:de01:2457:17c0:9997:cfff] has joined #bitcoin-core-dev 17:00 -!- JackH [~laptop@nas01-227.telelev.net] has quit [Ping timeout: 255 seconds] 17:07 -!- herzmeister[m] [herzmeiste@gateway/shell/matrix.org/x-sklwqzdrxmoebcjj] has joined #bitcoin-core-dev 17:07 -!- draadpiraat[m] [draadpiraa@gateway/shell/matrix.org/x-thowkpvunpectxhb] has joined #bitcoin-core-dev 17:27 -!- promag [~Adium@2001:8a0:fe30:de01:2457:17c0:9997:cfff] has quit [Quit: Leaving.] 17:29 -!- str4d [~str4d@cpc98278-walt21-2-0-cust114.13-2.cable.virginm.net] has joined #bitcoin-core-dev 17:34 -!- str4d [~str4d@cpc98278-walt21-2-0-cust114.13-2.cable.virginm.net] has quit [Ping timeout: 240 seconds] 17:39 -!- coredump_ [~quassel@vpn-qld171.vpnsolutions.com.au] has joined #bitcoin-core-dev 17:39 -!- coredump__ [~quassel@vpn-qld171.vpnsolutions.com.au] has joined #bitcoin-core-dev 17:40 -!- coredump___ [~quassel@vpn-qld171.vpnsolutions.com.au] has joined #bitcoin-core-dev 17:40 -!- coredump____ [~quassel@vpn-qld171.vpnsolutions.com.au] has joined #bitcoin-core-dev 17:46 -!- coredump_____ [~quassel@vpn-qld171.vpnsolutions.com.au] has joined #bitcoin-core-dev 17:47 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has quit [Ping timeout: 246 seconds] 17:51 -!- yFGBJHg [~rYUtdcvYT@2a02:2f0a:b0b0:4c7:5b23:5d5c:d76a:105e] has joined #bitcoin-core-dev 17:56 -!- dabura667 [~dabura667@p98110-ipngnfx01marunouchi.tokyo.ocn.ne.jp] has joined #bitcoin-core-dev 18:00 -!- deep-book-gk [~1wm_su@d8116.artnet.gda.pl] has joined #bitcoin-core-dev 18:00 -!- deep-book-gk [~1wm_su@d8116.artnet.gda.pl] has left #bitcoin-core-dev [] 18:21 -!- JackH [~laptop@nas01-227.telelev.net] has joined #bitcoin-core-dev 18:22 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-fhbxrstttrazzkvq] has quit [Quit: Connection closed for inactivity] 18:23 -!- JackH [~laptop@nas01-227.telelev.net] has quit [Max SendQ exceeded] 18:24 -!- JackH [~laptop@nas01-227.telelev.net] has joined #bitcoin-core-dev 18:25 -!- JackH [~laptop@nas01-227.telelev.net] has quit [Max SendQ exceeded] 18:25 -!- d_t [~d_t@108-65-78-188.lightspeed.sntcca.sbcglobal.net] has joined #bitcoin-core-dev 18:26 -!- JackH [~laptop@nas01-227.telelev.net] has joined #bitcoin-core-dev 18:33 -!- jamesob [~james@c-73-241-180-136.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 18:41 -!- chjj [~chjj@unaffiliated/chjj] has quit [Ping timeout: 246 seconds] 18:43 -!- magnanamous [~balls@23.226.128.29] has joined #bitcoin-core-dev 18:44 -!- magnanamous [~balls@23.226.128.29] has quit [Client Quit] 18:53 -!- JackH [~laptop@nas01-227.telelev.net] has quit [Ping timeout: 246 seconds] 18:54 -!- JackH [~laptop@nas01-227.telelev.net] has joined #bitcoin-core-dev 18:54 -!- coredump______ [~quassel@vpn-qld171.vpnsolutions.com.au] has joined #bitcoin-core-dev 18:54 -!- coredump_______ [~quassel@vpn-qld171.vpnsolutions.com.au] has joined #bitcoin-core-dev 18:57 -!- JackH [~laptop@nas01-227.telelev.net] has quit [Max SendQ exceeded] 19:02 -!- [b__b] [~b__b]@ec2-54-85-45-223.compute-1.amazonaws.com] has joined #bitcoin-core-dev 19:07 -!- [b__b] [~b__b]@ec2-54-85-45-223.compute-1.amazonaws.com] has quit [Remote host closed the connection] 19:08 -!- [b__b] [~b__b]@ec2-54-85-45-223.compute-1.amazonaws.com] has joined #bitcoin-core-dev 19:11 -!- chjj [~chjj@unaffiliated/chjj] has joined #bitcoin-core-dev 19:19 -!- coredump_______ [~quassel@vpn-qld171.vpnsolutions.com.au] has quit [Remote host closed the connection] 19:19 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has joined #bitcoin-core-dev 19:48 -!- d_t [~d_t@108-65-78-188.lightspeed.sntcca.sbcglobal.net] has quit [Quit: Konversation terminated!] 19:49 -!- d_t [~d_t@108-65-78-188.lightspeed.sntcca.sbcglobal.net] has joined #bitcoin-core-dev 20:04 -!- rasengan [~rasengan@pdpc/corporate-sponsor/privateinternetaccess.com/rasengan] has joined #bitcoin-core-dev 20:04 -!- d_t [~d_t@108-65-78-188.lightspeed.sntcca.sbcglobal.net] has quit [Quit: Konversation terminated!] 20:05 -!- d_t [~d_t@108-65-78-188.lightspeed.sntcca.sbcglobal.net] has joined #bitcoin-core-dev 20:23 -!- Eagle[TM] [~EagleTM@x4db37e48.dyn.telefonica.de] has joined #bitcoin-core-dev 20:24 -!- EagleTM [~EagleTM@x4db4e017.dyn.telefonica.de] has quit [Ping timeout: 260 seconds] 20:28 -!- ill [~ill@c-174-63-65-220.hsd1.ct.comcast.net] has joined #bitcoin-core-dev 20:34 -!- Chris_Stewart_5 [~chris@gateway/vpn/privateinternetaccess/chrisstewart5/x-62865615] has quit [Ping timeout: 260 seconds] 20:35 -!- jeep-ss [~chatzilla@78.31.64.4] has quit [Ping timeout: 240 seconds] 21:05 -!- asadsalman [~asadsalma@39.32.164.67] has joined #bitcoin-core-dev 21:10 -!- asadsalman [~asadsalma@39.32.164.67] has quit [Ping timeout: 260 seconds] 21:21 -!- asadsalman [~asadsalma@39.32.164.67] has joined #bitcoin-core-dev 21:29 -!- asadsalman [~asadsalma@39.32.164.67] has quit [Ping timeout: 276 seconds] 21:42 -!- asadsalman [~asadsalma@39.32.164.67] has joined #bitcoin-core-dev 21:49 -!- miknotauro [~miknotaur@S0106f0f2493c0513.cn.shawcable.net] has joined #bitcoin-core-dev 21:57 -!- bryyan [~bryyan@74.215.210.39] has joined #bitcoin-core-dev 22:01 < bryyan> if Bitcoin core is written in C++, why not support any kind of native interface directly (numbers as represented in memory going over tcp sockets as an RPC opposed to the serialised JSON RPC) ? 22:02 < gmaxwell> because either it exposes internal datastructures which are unstable and change from version to version to outside applications; or it has to specify yet another encoding. 22:03 < gmaxwell> and we do already have a binary encoding for most thigns: use the p2p protocol. 22:04 < bryyan> I mean't like json but in a C struct 22:04 < bryyan> and not a char* but between applications you would include a .h file containing the structs 22:07 < sipa> structs don't have a well-defined serialization to bytes 22:07 < bryyan> on the same architecture they do 22:07 < sipa> different architectures store them differently in memory 22:07 < sipa> just a different compilation option may change them 22:07 < bryyan> yes, but why write bitcoin core in c++, a platform dependent language under many circumstances? 22:08 < bryyan> additionally its often feasible to have multiple AMD64 machines which use the same format for C variables 22:08 < sipa> efficiency, tight control over resource usage, high-level 22:09 < bryyan> JSON is kind of cpu intensive to cast back and forth between native types you know 22:09 < bryyan> directly copying 4 bytes of memory is far cheaper 22:09 < sipa> you can use REST 22:09 < bryyan> what is REST? 22:09 < sipa> for some data with well-defined serialization, Bitcoin Core has a REST interface 22:09 < sipa> you can fetch full blocks and transactions directly in binary network format over it 22:10 < bryyan> without having to send a bunch of ascii json around? 22:10 < sipa> to avoid the JSON encoding/decoding overhead 22:10 < sipa> yes 22:10 < sipa> but you still need a serialization/deserialization layer... it's not just a struct that gets sent over the network 22:10 < bryyan> yes, but I'm looking for just that 22:11 -!- cryptapus_afk [~cryptapus@unaffiliated/cryptapus] has quit [Ping timeout: 240 seconds] 22:11 < bryyan> I assume I have 2 machines of identical architecture and the fastest means of transfering data is in native format 22:11 < sipa> https://github.com/bitcoin/bitcoin/blob/master/doc/REST-interface.md 22:11 < sipa> there is no 'native' format 22:11 < bryyan> a C int type is native by my definition 22:12 < bryyan> will look identical on 2 AMD64 machines 22:12 < sipa> what's the native representation for a transaction? 22:12 < sipa> it has a number of nested data structure of variable size 22:12 < gmaxwell> none of the interesting data in bitcoin is just an int or a simple arrays of them. 22:13 < gmaxwell> and as I said above, we do have a binary seralization of data: the p2p format. 22:13 < bryyan> if you query for your balance, a float or double could work as a returned native type 22:13 < gmaxwell> all ready for anyone to use. 22:13 < gmaxwell> oh jesus bitcoin amounts aren't natively floating point. 22:13 < gmaxwell> one should generally not use floating point when dealing with money. 22:13 -!- J-wolf [~J-wolf@188.225.171.82] has joined #bitcoin-core-dev 22:13 < sipa> bryyan: the cost of computing the balance is orders of magnitude larger than running a json deserializers 22:13 < bryyan> you know, floating point has a certain number of digits of accuracy, just don't go too far 22:14 < bryyan> I don't think we're talking about the same thing 22:14 < sipa> fine 22:15 < bryyan> in a native binary (such as bitcoind) certain instructions are applied to do math with integers and floating point types, the format of those values in memory are the native types 22:15 -!- cryptapus_afk [~cryptapus@unaffiliated/cryptapus] has joined #bitcoin-core-dev 22:15 -!- asadsalman [~asadsalma@39.32.164.67] has quit [Ping timeout: 240 seconds] 22:16 < bryyan> pretty printed json is like 64 bytes to represent a 4-byte int 22:16 < bryyan> very slow 22:17 < bryyan> additional information is transfered over the network when keeping a header file with bitcoind and with the RPC client containing C macros which resolve to short 2-byte sequences for calls, and structs for reciving will take up far less thoroughput 22:18 < bryyan> and after the word network there should be a comma I meant to put 22:18 < bryyan> if you've written programs in C you would know what I'm talking about 22:23 -!- GK1wmSU [~deep-book@83.143.245.6] has joined #bitcoin-core-dev 22:23 -!- GK1wmSU [~deep-book@83.143.245.6] has left #bitcoin-core-dev [] 22:25 < praxeology> bryyan: how about create software and find the RPC api as a bottleneck before you look to optimize it 22:26 < bryyan> for one thing, C doesn't handle JSON very well 22:26 -!- Guyver2 [~Guyver@guyver2.xs4all.nl] has joined #bitcoin-core-dev 22:26 < bryyan> although thats more of a side problem 22:28 < phantomcircuit> bryyan, the question you want to be asking yourself right now is 22:28 < phantomcircuit> BUT WHY 22:30 < bryyan> largely because I plan to make an operating system, and JSON puts in wayyy to much computational overhead compared to even a native-type conversion service 22:30 -!- asadsalman [~asadsalma@103.255.6.77] has joined #bitcoin-core-dev 22:30 < bryyan> you can convert endianness, format, and signing polarity far quicker then serialising and de-serialising some json 22:31 < gmaxwell> Go away earlygrey. 22:33 -!- miknotauro [~miknotaur@S0106f0f2493c0513.cn.shawcable.net] has quit [Ping timeout: 240 seconds] 22:35 < bryyan> you could probably process 10s of requests in native format by the time a single JSON request completes 22:35 < bryyan> maybe even 100s with a well-optimized binary 22:36 -!- _GK1wmSU [~deep-book@d8116.artnet.gda.pl] has joined #bitcoin-core-dev 22:39 -!- _GK1wmSU [~deep-book@d8116.artnet.gda.pl] has left #bitcoin-core-dev [] 22:49 -!- Guyver2 [~Guyver@guyver2.xs4all.nl] has quit [Ping timeout: 260 seconds] 22:51 -!- asadsalman [~asadsalma@103.255.6.77] has quit [Remote host closed the connection] 23:26 < luke-jr> bryyan: jansson handles JSON good enough 23:34 -!- aqquadro [~aqquadro@unaffiliated/aqquadro] has quit [Quit: Leaving] 23:41 -!- BashCo_ [~BashCo@unaffiliated/bashco] has quit [Remote host closed the connection] 23:42 -!- J-wolf [~J-wolf@188.225.171.82] has quit [Remote host closed the connection] 23:45 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-mpjbanggjylooywf] has joined #bitcoin-core-dev 23:50 -!- SopaXorzTaker [~SopaXorzT@unaffiliated/sopaxorztaker] has joined #bitcoin-core-dev 23:52 < praxeology> luke-jr: did you see he is making an operating system? 23:53 < bitcoin-git> [bitcoin] sipa opened pull request #10958: Update to latest Bitcoin patches for LevelDB (master...20170731_leveldb) https://github.com/bitcoin/bitcoin/pull/10958