--- Log opened Tue Oct 12 00:00:33 2021 01:54 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 01:58 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 252 seconds] 02:45 -!- yonson [~yonson@2600:8801:d900:7bb:1e69:7aff:fea2:4e85] has quit [Ping timeout: 245 seconds] 02:49 -!- yonson [~yonson@ip70-179-26-230.sd.sd.cox.net] has joined #bitcoin-core-pr-reviews 03:39 -!- yonson [~yonson@ip70-179-26-230.sd.sd.cox.net] has quit [Ping timeout: 246 seconds] 03:45 -!- yonson [~yonson@ip70-179-26-230.sd.sd.cox.net] has joined #bitcoin-core-pr-reviews 03:55 -!- jomat [~jomat@2001:470:69fc:105::21] has joined #bitcoin-core-pr-reviews 03:55 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 03:55 -!- David[m]1 [~davidasra@2001:470:69fc:105::1:176e] has joined #bitcoin-core-pr-reviews 03:59 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 260 seconds] 04:45 -!- yonson [~yonson@ip70-179-26-230.sd.sd.cox.net] has quit [Ping timeout: 245 seconds] 04:48 -!- yonson [~yonson@ip70-179-26-230.sd.sd.cox.net] has joined #bitcoin-core-pr-reviews 04:53 -!- yonson [~yonson@ip70-179-26-230.sd.sd.cox.net] has quit [Ping timeout: 252 seconds] 04:54 -!- yonson [~yonson@2600:8801:d900:7bb:1e69:7aff:fea2:4e85] has joined #bitcoin-core-pr-reviews 04:58 -!- yonson [~yonson@2600:8801:d900:7bb:1e69:7aff:fea2:4e85] has quit [Ping timeout: 252 seconds] 05:00 -!- yonson [~yonson@ip70-179-26-230.sd.sd.cox.net] has joined #bitcoin-core-pr-reviews 05:10 -!- yonson [~yonson@ip70-179-26-230.sd.sd.cox.net] has quit [Ping timeout: 252 seconds] 05:14 -!- yonson [~yonson@ip70-179-26-230.sd.sd.cox.net] has joined #bitcoin-core-pr-reviews 05:15 -!- yonson [~yonson@ip70-179-26-230.sd.sd.cox.net] has quit [Remote host closed the connection] 05:15 -!- yonson [~yonson@ip70-179-26-230.sd.sd.cox.net] has joined #bitcoin-core-pr-reviews 05:44 -!- drnet [~drnet@178.165.205.29.wireless.dyn.drei.com] has joined #bitcoin-core-pr-reviews 05:56 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 06:00 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 252 seconds] 06:04 -!- drnet [~drnet@178.165.205.29.wireless.dyn.drei.com] has quit [Quit: Leaving] 06:30 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 07:33 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 245 seconds] 07:54 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 10:00 -!- Talkless [~Talkless@mail.dargis.net] has joined #bitcoin-core-pr-reviews 10:02 -!- commmon [~common@096-033-221-075.res.spectrum.com] has quit [Read error: Connection reset by peer] 10:03 -!- commmon [~common@096-033-221-075.res.spectrum.com] has joined #bitcoin-core-pr-reviews 10:04 < pinheadmz> Anyone here interested in helping me review bech32m support for bcoin? 10:04 < pinheadmz> https://github.com/bcoin-org/bcoin/pull/1038 10:04 < pinheadmz> I'll be in #bcoin if anyone wants to discuss 10:23 < pinheadmz> here's a fun math problem: user can enter either a hash or an address. A regtest bech32(m) address could be 64 characters just like a hash -- what are the odds of generating a valid bech32(m) address that consists only of hexadecimal characters? 10:23 < pinheadmz> (mainnet bech32 addresses are 2 chars shorter due to hrp) 10:23 < sipa> a valid bech32(m) *string*, or a valid BIP173/BIP350 native segwit address? 10:24 < pinheadmz> address 10:24 < pinheadmz> example: bcrt1p83djth2ga2kjt8jpel0yd6sz3jtzz75zt372ns634z28c0f6ax3s64vzpn is 64 chars 10:24 < pinheadmz> so if user can enter either address or hash, i cant just assume 64 chars means its a hash 10:24 < pinheadmz> (in regtest anyway) 10:24 < pinheadmz> so what if i just check the string for characters outside 0-f ? 10:24 < sipa> (just pointing out that bech32(m) is a generic encoding scheme, and only one of its uses is for segwit addresses) 10:24 < pinheadmz> thank you :-) 10:25 < pinheadmz> 13 of the bech32 chars are 0-f, the remaining 19 are not 10:27 < pinheadmz> probability is (13/32)**59 ? 10:30 < sipa> well bcrt is never valid hex 10:30 < pinheadmz> ack ,damn what was i thinking, thanks 10:31 < sipa> in mainnet it could work 10:31 < sipa> there you have the 4th character that must be a valid bech32 encoding of 0-16 10:32 < pinheadmz> oh right 10:32 < pinheadmz> so witness version 5 will be the first time lol 10:32 < pinheadmz> bech32 0-5: qpzry9 10:33 < sipa> i think there are only 5 (9,8,f,2,0) 10:34 < sipa> actually, it is impossible there too 10:34 < sipa> because the length isn't valid 10:34 < pinheadmz> what if witness version 5 has a weird length that makes the addresses 64 chars? 10:34 < pinheadmz> not possible? 10:35 < sipa> you'd have 2 char HRP, 1 char sep, 1 char version, 54 program chars, 6 checksum chars, to reach 64 10:35 < sipa> 54*5/8 = 33.75, so this would encode a witness program of 33 bytes 10:36 < sipa> but 33 can be more compactly encoded using 53 program chars 10:36 < sipa> so 54 is illegal as address, per bip173 10:36 < pinheadmz> you are amazing, thanks. hope i didnt distract you too much ;-) 11:12 -!- Jolteon [~Jolteon@47.196.70.51] has joined #bitcoin-core-pr-reviews 11:13 < Jolteon> hello 11:18 -!- Jolteon [~Jolteon@47.196.70.51] has quit [Quit: Connection closed] 11:19 -!- Jolteon [~Jolteon@47.196.70.51] has joined #bitcoin-core-pr-reviews 11:23 -!- Jolteon_ [~jolteon@47.196.70.51] has joined #bitcoin-core-pr-reviews 11:24 < Jolteon_> helllo 11:24 -!- Jolteon [~Jolteon@47.196.70.51] has quit [Quit: Connection closed] 11:27 -!- Jolteon_ [~jolteon@47.196.70.51] has quit [Client Quit] 11:27 -!- Jolteon [~jolteon@47.196.70.51] has joined #bitcoin-core-pr-reviews 11:30 -!- Jolteon [~jolteon@47.196.70.51] has quit [Client Quit] 11:30 -!- ghostkeeper [~ghostkeep@47.196.70.51] has joined #bitcoin-core-pr-reviews 12:06 -!- Talkless [~Talkless@mail.dargis.net] has quit [Quit: Konversation terminated!] 12:08 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Remote host closed the connection] 12:08 -!- KaizenKintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 12:29 -!- gene [~gene@gateway/tor-sasl/gene] has joined #bitcoin-core-pr-reviews 12:31 -!- gene [~gene@gateway/tor-sasl/gene] has quit [Remote host closed the connection] 12:31 -!- gene [~gene@gateway/tor-sasl/gene] has joined #bitcoin-core-pr-reviews 12:33 -!- KaizenKintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Remote host closed the connection] 12:34 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 12:39 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 252 seconds] 13:03 -!- fdov [~fdov@user/fdov] has joined #bitcoin-core-pr-reviews 13:07 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 13:12 -!- yonson [~yonson@ip70-179-26-230.sd.sd.cox.net] has quit [Remote host closed the connection] 13:16 -!- yonson [~yonson@ip70-179-26-230.sd.sd.cox.net] has joined #bitcoin-core-pr-reviews 13:49 -!- ghostkeeper [~ghostkeep@47.196.70.51] has quit [Remote host closed the connection] 13:51 -!- ghostkeeper [~ghostkeep@47.196.70.51] has joined #bitcoin-core-pr-reviews 13:56 -!- ghostkeeper [~ghostkeep@47.196.70.51] has quit [Ping timeout: 252 seconds] 14:20 -!- ghostkeeper [~ghostkeep@47.196.70.51] has joined #bitcoin-core-pr-reviews 14:24 -!- ghostkeeper [~ghostkeep@47.196.70.51] has quit [Ping timeout: 250 seconds] 14:25 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Remote host closed the connection] 14:27 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 14:29 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Remote host closed the connection] 14:29 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 14:37 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Remote host closed the connection] 14:38 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 14:43 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 260 seconds] 15:09 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 15:14 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 252 seconds] 15:16 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 15:37 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 16:08 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Remote host closed the connection] 16:09 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 16:13 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 260 seconds] 16:13 -!- ghostkeeper [~ghostkeep@47.196.70.51] has joined #bitcoin-core-pr-reviews 16:18 -!- ghostkeeper [~ghostkeep@47.196.70.51] has quit [Ping timeout: 265 seconds] 16:22 -!- belcher [~belcher@user/belcher] has quit [Ping timeout: 252 seconds] 16:29 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has joined #bitcoin-core-pr-reviews 16:35 -!- belcher [~belcher@user/belcher] has joined #bitcoin-core-pr-reviews 17:10 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 17:16 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 260 seconds] 17:29 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 17:33 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 252 seconds] 17:46 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 17:50 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 245 seconds] 18:28 -!- ghostkeeper [~ghostkeep@47.196.70.51] has joined #bitcoin-core-pr-reviews 18:32 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 18:33 -!- ghostkeeper [~ghostkeep@47.196.70.51] has quit [Ping timeout: 252 seconds] 18:56 -!- gene [~gene@gateway/tor-sasl/gene] has quit [Quit: gene] 19:05 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has quit [Ping timeout: 252 seconds] 19:10 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has joined #bitcoin-core-pr-reviews 19:38 -!- ghostkeeper [~ghostkeep@47.196.70.51] has joined #bitcoin-core-pr-reviews 19:57 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Remote host closed the connection] 19:58 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 20:02 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 252 seconds] 20:11 -!- ghostkeeper [~ghostkeep@47.196.70.51] has quit [] 20:19 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has quit [Quit: Leaving] 20:20 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has joined #bitcoin-core-pr-reviews 20:39 -!- yonson [~yonson@ip70-179-26-230.sd.sd.cox.net] has quit [Remote host closed the connection] 20:39 -!- yonson [~yonson@2600:8801:d900:7bb::d7c] has joined #bitcoin-core-pr-reviews 21:00 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 21:06 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 245 seconds] 21:19 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 21:24 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 252 seconds] 21:41 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has quit [Ping timeout: 252 seconds] 21:45 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has joined #bitcoin-core-pr-reviews 21:54 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has quit [Ping timeout: 252 seconds] 21:56 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has joined #bitcoin-core-pr-reviews 22:03 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has quit [Ping timeout: 245 seconds] 22:03 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has joined #bitcoin-core-pr-reviews 22:12 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has quit [Ping timeout: 250 seconds] 22:20 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has joined #bitcoin-core-pr-reviews 22:25 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has quit [Ping timeout: 245 seconds] 22:27 -!- grettke [~grettke@cpe-65-29-228-30.wi.res.rr.com] has joined #bitcoin-core-pr-reviews 23:20 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 23:26 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 252 seconds] 23:50 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has joined #bitcoin-core-pr-reviews 23:55 -!- Kaizen_Kintsugi [Kaizen_Kin@gateway/vpn/protonvpn/kaizenkintsugi/x-99714370] has quit [Ping timeout: 252 seconds] --- Log closed Wed Oct 13 00:00:34 2021