--- Log opened Fri Aug 27 00:00:51 2021 01:46 -!- Henrik [~textual@84.212.107.177] has joined #bitcoin-core-pr-reviews 02:03 -!- murch [~murch@user/murch] has quit [Ping timeout: 252 seconds] 02:03 -!- MatrixBot1234516 [~matrixbot@51.15.54.153] has quit [Ping timeout: 252 seconds] 02:03 -!- murch [~murch@user/murch] has joined #bitcoin-core-pr-reviews 02:05 -!- MatrixBot1234516 [~matrixbot@51.15.54.153] has joined #bitcoin-core-pr-reviews 02:09 -!- Henrik [~textual@84.212.107.177] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 02:45 -!- Talkless [~Talkless@mail.dargis.net] has joined #bitcoin-core-pr-reviews 02:58 -!- Henrik [~textual@84.212.107.177] has joined #bitcoin-core-pr-reviews 03:14 -!- Henrik [~textual@84.212.107.177] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 03:54 -!- Henrik [~textual@84.212.107.177] has joined #bitcoin-core-pr-reviews 04:13 -!- Henrik [~textual@84.212.107.177] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 05:50 -!- Henrik [~textual@84.212.107.177] has joined #bitcoin-core-pr-reviews 06:05 -!- Henrik [~textual@84.212.107.177] has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…] 08:10 < pinheadmz> sigop counting 08:11 < pinheadmz> legacy sigops are counted even in the outputs being created? 08:12 < pinheadmz> so then those same sigops are counted again in whatever future block those outputs are being spent? 08:13 < pinheadmz> but sigops in witnesses are only counted when the tx is being spent (obviously because we havent seen the script before then) 08:16 -!- common [~common@096-033-221-075.res.spectrum.com] has quit [Ping timeout: 240 seconds] 08:19 -!- Talkless [~Talkless@mail.dargis.net] has quit [Quit: Konversation terminated!] 08:20 < sipa> pinheadmz: fun fact, even sigops in coinbase inputs are counted (despite those not actually being executed) 08:20 < pinheadmz> gosh, that is fun! 08:21 < pinheadmz> wait, coinbase inputs.... isnt that where we see text messages from miners? 08:21 < pinheadmz> do those have to prefixed with OPRETURN? 08:21 < pinheadmz> or like, if a miner's tag happens to have the byte 0xAE that counts as a sigop? 08:27 < sipa> no, only if that's an opcode 08:27 < sipa> but those messages tend to be pushes 08:27 < sipa> and pushes don't count as sigops 08:28 < sipa> OP_RETURN wouldn't actually help; if you had a script "OP_RETURN OP_CHECKSIG" as coinbase scriptSig, it'd still be counted 08:28 < pinheadmz> oh ok right gotcha 08:28 < sipa> but that's not what happens; it's usually just " " 08:28 < pinheadmz> i guess i didnt realize miners bothered using push opcodes but it makes sense 08:31 -!- raj_ [~raj_@103.77.139.179] has joined #bitcoin-core-pr-reviews 08:33 -!- raj [~raj_@103.77.139.233] has quit [Ping timeout: 248 seconds] 08:34 < pinheadmz> hm TIL satoshi had an extranonce in the genesis block ? The 'times' message starts after a few other pushes 08:34 < sipa> indeed 08:34 < sipa> completely unnecessary; there is no point in making the genesis block valid PoW :) 08:35 < pinheadmz> just interesting that an extra nonce was even needed to mine difficulty 1 08:35 < pinheadmz> well not needed as you say 08:35 < sipa> that's not unexpected - it's poisson distributed 08:36 < pinheadmz> i always thought extranonce was jsut added later in bitcoins life as the diff rose 08:36 < sipa> even at difficulty 1, only around 70% of block candidates (iirc) will have a (32-bit) nonce that makes them meet PoW 08:37 < sipa> 63% 08:37 < sipa> 1-exp(-1) 08:37 < pinheadmz> nice interesting thanks 08:38 < pinheadmz> do you just happen to have memorized the target value of difficulty 1 to do that math? 08:39 < sipa> the target value of difficulty one = 1 in (2^48/65535) attempts 08:39 < sipa> which is approximately 1 in 2^32 08:40 < sipa> which is probably by design: difficulty 1 means that every block candidate has on average 1 solution 08:41 < sipa> (but due to poisson, some will have 0, some will have 2, etc...) 08:42 < pinheadmz> "every block candidate" means "63%" ? 08:42 < sipa> that was worded sloppily 08:43 < sipa> block candidates will on average have 1 solution 08:43 < sipa> but only 63% of block candidates will have at least 1 solution (or otherwise, 27% will have no solution) 08:44 < pinheadmz> and solution you mean, without changing the coinbase input? 08:44 < sipa> yes, if you change the coinbase it's a different candidate 08:44 < sipa> by candidate i mean "everything in the block header filled in, except the nonce" 08:56 < pinheadmz> kinda funny that SN needed an extranonce then. Maybe if he'd picked a different headline it wouldn't've taken him as long 09:13 < sipa> he couldn't have known without trying 09:13 < sipa> i suspect it was also not the first time 09:14 < pinheadmz> yeah of course... v0.1 had no tests right? He mustve had several "mainnets" 09:24 -!- common [~common@096-033-221-075.res.spectrum.com] has joined #bitcoin-core-pr-reviews 09:57 -!- b10c [uid500648@id-500648.charlton.irccloud.com] has joined #bitcoin-core-pr-reviews 09:58 -!- yonson [~yonson@2600:8801:d900:7bb::d7c] has joined #bitcoin-core-pr-reviews 10:43 -!- aitorjs [~aitorjs@184.76.76.188.dynamic.jazztel.es] has joined #bitcoin-core-pr-reviews 11:23 -!- belcher [~belcher@user/belcher] has quit [Ping timeout: 252 seconds] 11:34 -!- belcher [~belcher@user/belcher] has joined #bitcoin-core-pr-reviews 12:13 -!- commmon [~common@096-033-221-075.res.spectrum.com] has joined #bitcoin-core-pr-reviews 12:16 -!- common [~common@096-033-221-075.res.spectrum.com] has quit [Ping timeout: 252 seconds] 13:01 -!- meshcollider [meshcollid@user/meshcollider] has quit [Ping timeout: 240 seconds] 13:08 -!- neha [~neha@41.213.196.104.bc.googleusercontent.com] has quit [Ping timeout: 240 seconds] 13:09 -!- neha [~neha@41.213.196.104.bc.googleusercontent.com] has joined #bitcoin-core-pr-reviews 13:12 -!- meshcollider [meshcollid@jujube.ircnow.org] has joined #bitcoin-core-pr-reviews 13:24 -!- belcher_ [~belcher@user/belcher] has joined #bitcoin-core-pr-reviews 13:25 -!- belcher [~belcher@user/belcher] has quit [Ping timeout: 248 seconds] 13:29 -!- belcher_ is now known as belcher 14:08 -!- raj_ [~raj_@103.77.139.179] has quit [Quit: Leaving] 14:41 -!- Talkless [~Talkless@mail.dargis.net] has joined #bitcoin-core-pr-reviews 14:44 -!- aitorjs [~aitorjs@184.76.76.188.dynamic.jazztel.es] has quit [Ping timeout: 248 seconds] 14:52 -!- Talkless [~Talkless@mail.dargis.net] has quit [Quit: Konversation terminated!] 15:49 -!- meshcollider [meshcollid@jujube.ircnow.org] has quit [Changing host] 15:49 -!- meshcollider [meshcollid@user/meshcollider] has joined #bitcoin-core-pr-reviews 16:25 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Quit: ZNC - http://znc.sourceforge.net] 16:26 -!- luke-jr [~luke-jr@user/luke-jr] has joined #bitcoin-core-pr-reviews 17:16 -!- belcher_ [~belcher@user/belcher] has joined #bitcoin-core-pr-reviews 17:17 -!- belcher [~belcher@user/belcher] has quit [Ping timeout: 240 seconds] 18:28 -!- b10c [uid500648@id-500648.charlton.irccloud.com] has quit [Quit: Connection closed for inactivity] 18:41 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 18:44 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has joined #bitcoin-core-pr-reviews 19:20 -!- dergoegge [sid453889@tooting.irccloud.com] has quit [Ping timeout: 248 seconds] 19:21 -!- jkczyz [sid419941@2001:67c:2f08:4::6:6865] has quit [Ping timeout: 240 seconds] 19:21 -!- dergoegge [sid453889@id-453889.tooting.irccloud.com] has joined #bitcoin-core-pr-reviews 19:25 -!- jkczyz [sid419941@id-419941.tooting.irccloud.com] has joined #bitcoin-core-pr-reviews 19:43 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 20:16 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has joined #bitcoin-core-pr-reviews 20:37 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 20:59 -!- yonson [~yonson@2600:8801:d900:7bb::d7c] has quit [Remote host closed the connection] 20:59 -!- yonson [~yonson@2600:8801:d900:7bb::d7c] has joined #bitcoin-core-pr-reviews 22:39 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has joined #bitcoin-core-pr-reviews 22:51 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 23:32 -!- belcher_ is now known as belcher --- Log closed Sat Aug 28 00:00:52 2021