--- Log opened Tue Jun 06 00:00:22 2023 00:13 -!- vtnerd [~weechat@50.81.199.196] has joined #bitcoin-wizards 00:19 -!- brunoerg [~brunoerg@187.183.43.117] has joined #bitcoin-wizards 00:23 -!- duderonomy [~duderonom@c-107-3-165-79.hsd1.ca.comcast.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 00:23 -!- duderonomy [~duderonom@c-107-3-165-79.hsd1.ca.comcast.net] has joined #bitcoin-wizards 00:24 -!- brunoerg [~brunoerg@187.183.43.117] has quit [Ping timeout: 268 seconds] 00:49 -!- tristan123 [~tristan_@122.50.206.248] has joined #bitcoin-wizards 00:51 -!- tristan_ [~tristan_@122.50.206.193] has quit [Ping timeout: 246 seconds] 00:53 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has joined #bitcoin-wizards 00:58 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has quit [Ping timeout: 250 seconds] 00:59 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has joined #bitcoin-wizards 01:03 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has joined #bitcoin-wizards 01:08 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has quit [Ping timeout: 265 seconds] 01:25 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has joined #bitcoin-wizards 01:30 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has quit [Ping timeout: 248 seconds] 01:32 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has quit [Remote host closed the connection] 01:33 -!- henghonglee [~henghongl@121.6.4.62] has joined #bitcoin-wizards 01:38 -!- henghonglee [~henghongl@121.6.4.62] has quit [Ping timeout: 250 seconds] 01:42 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has joined #bitcoin-wizards 01:45 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has joined #bitcoin-wizards 01:46 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has quit [Remote host closed the connection] 01:47 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has quit [Ping timeout: 250 seconds] 01:47 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has joined #bitcoin-wizards 01:48 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has quit [Remote host closed the connection] 01:48 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has joined #bitcoin-wizards 01:51 -!- duderonomy [~duderonom@c-107-3-165-79.hsd1.ca.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 01:53 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has joined #bitcoin-wizards 01:55 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has quit [Remote host closed the connection] 01:55 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has joined #bitcoin-wizards 01:57 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has quit [Ping timeout: 240 seconds] 02:00 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has quit [Ping timeout: 250 seconds] 03:18 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has joined #bitcoin-wizards 03:23 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has quit [Ping timeout: 265 seconds] 03:41 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has joined #bitcoin-wizards 03:44 -!- instagibbs [~instagibb@pool-100-15-126-231.washdc.fios.verizon.net] has quit [Ping timeout: 240 seconds] 03:45 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has quit [Ping timeout: 240 seconds] 03:52 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has joined #bitcoin-wizards 03:57 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has quit [Ping timeout: 250 seconds] 04:04 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has joined #bitcoin-wizards 04:13 -!- wudu_ [~wudu@dynamic-077-182-048-185.77.182.pool.telefonica.de] has quit [Ping timeout: 240 seconds] 04:19 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has quit [Ping timeout: 265 seconds] 04:30 -!- instagibbs [~instagibb@pool-100-15-126-231.washdc.fios.verizon.net] has joined #bitcoin-wizards 04:32 -!- brunoerg [~brunoerg@187.183.43.117] has joined #bitcoin-wizards 04:36 -!- brunoerg [~brunoerg@187.183.43.117] has quit [Ping timeout: 250 seconds] 04:37 -!- brunoerg [~brunoerg@187.183.43.117] has joined #bitcoin-wizards 04:37 -!- wudu_ [~wudu@dynamic-077-182-048-185.77.182.pool.telefonica.de] has joined #bitcoin-wizards 04:42 -!- brunoerg [~brunoerg@187.183.43.117] has quit [Ping timeout: 240 seconds] 04:51 -!- duderonomy [~duderonom@c-107-3-165-79.hsd1.ca.comcast.net] has joined #bitcoin-wizards 04:53 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has joined #bitcoin-wizards 04:57 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has quit [Ping timeout: 240 seconds] 05:05 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has joined #bitcoin-wizards 05:10 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has quit [Ping timeout: 250 seconds] 05:11 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has joined #bitcoin-wizards 05:15 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has quit [Ping timeout: 265 seconds] 05:21 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 05:21 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has joined #bitcoin-wizards 05:23 -!- pablomartin4btc_ [~pablomart@217.130.254.81] has joined #bitcoin-wizards 05:26 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has quit [Ping timeout: 265 seconds] 05:37 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has joined #bitcoin-wizards 05:38 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has quit [Remote host closed the connection] 05:39 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has joined #bitcoin-wizards 05:43 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:bd1e:bbae:5509:d9ff] has quit [Ping timeout: 248 seconds] 06:00 -!- AaronvanW [~AaronvanW@user/AaronvanW] has joined #bitcoin-wizards 06:00 -!- pablomartin4btc [~pablomart@217.130.254.81] has joined #bitcoin-wizards 06:03 -!- pablomartin4btc_ [~pablomart@217.130.254.81] has quit [Ping timeout: 265 seconds] 06:06 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 06:11 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 240 seconds] 06:20 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 06:24 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 06:32 -!- andrewtoth [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #bitcoin-wizards 06:37 -!- pablomartin4btc_ [~pablomart@217.130.254.81] has joined #bitcoin-wizards 06:40 -!- pablomartin4btc [~pablomart@217.130.254.81] has quit [Ping timeout: 256 seconds] 06:45 -!- andrewtoth [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] 06:48 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 06:48 -!- andrewtoth [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #bitcoin-wizards 06:52 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 07:04 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has joined #bitcoin-wizards 07:07 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has quit [Remote host closed the connection] 07:07 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has joined #bitcoin-wizards 07:13 -!- jon_atack [~jonatack@user/jonatack] has quit [Quit: WeeChat 3.8] 07:38 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 07:43 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 07:44 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 07:48 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 240 seconds] 07:49 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 07:54 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 250 seconds] 08:05 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 08:10 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 248 seconds] 08:22 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 08:23 -!- AaronvanW [~AaronvanW@user/AaronvanW] has quit [Quit: Leaving...] 08:27 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 08:38 -!- Ademan [~Ademan@47.161.28.214] has joined #bitcoin-wizards 08:42 < Ademan> Not sure if this is OT here, but with secp256k1_musig_nonce_gen() does it make sense to provide extra_input32 as, say sha256_tag(current_time_nanos || hostname || nic_mac1 || nic_mac2 || ... ) or is it better to KISS and just provide current_time_nanos with nothing else mixed in? 08:47 < Ademan> As a follow up, I am using sha256_tag() (with the same definition as BIP340) whith a tag per-purpose (I have refund and execute transactions to sign, it seems at worst harmless to mix that purpose in as well) 08:50 < Ademan> I guess the question part of the follow up is: is it actually harmless at worst? 08:56 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 09:01 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 240 seconds] 09:02 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 09:07 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 09:07 -!- brunoerg [~brunoerg@187.183.43.117] has joined #bitcoin-wizards 09:12 -!- brunoerg [~brunoerg@187.183.43.117] has quit [Ping timeout: 240 seconds] 09:26 -!- tromp [~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl] has quit [Read error: Connection reset by peer] 09:30 -!- brunoerg [~brunoerg@187.183.43.117] has joined #bitcoin-wizards 09:34 -!- brunoerg [~brunoerg@187.183.43.117] has quit [Ping timeout: 240 seconds] 09:36 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 09:40 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 250 seconds] 09:41 -!- Ademan [~Ademan@47.161.28.214] has quit [Ping timeout: 248 seconds] 09:41 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 09:45 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 248 seconds] 09:48 -!- _koolazer [~koo@user/koolazer] has quit [Remote host closed the connection] 09:49 -!- koolazer [~koo@user/koolazer] has joined #bitcoin-wizards 09:52 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 09:57 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 09:58 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 10:02 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 10:11 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 10:16 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 250 seconds] 10:18 -!- Ademan [~Ademan@47.161.28.214] has joined #bitcoin-wizards 10:22 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 10:22 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has quit [Remote host closed the connection] 10:22 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has joined #bitcoin-wizards 10:26 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 240 seconds] 10:28 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 10:32 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 248 seconds] 10:39 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 10:44 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has quit [Remote host closed the connection] 10:44 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 10:49 -!- jonasschnelli [~jonasschn@2a01:4f9:2a:2510::2] has quit [Quit: ZNC - http://znc.in] 10:49 -!- halseth [sid223041@id-223041.lymington.irccloud.com] has quit [Read error: Connection reset by peer] 10:49 -!- halseth [sid223041@id-223041.lymington.irccloud.com] has joined #bitcoin-wizards 10:50 -!- jonasschnelli [~jonasschn@2a01:4f9:2a:2510::2] has joined #bitcoin-wizards 11:01 -!- Ademan [~Ademan@47.161.28.214] has quit [Ping timeout: 240 seconds] 11:02 -!- pablomartin4btc_ [~pablomart@217.130.254.81] has quit [Quit: Leaving] 11:07 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 11:17 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 11:18 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 11:22 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 240 seconds] 11:29 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 11:34 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 11:43 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has joined #bitcoin-wizards 11:47 -!- henghonglee [~henghongl@bb121-6-4-62.singnet.com.sg] has quit [Ping timeout: 268 seconds] 11:50 -!- jamesob44 [~jamesob@108.44.248.162] has joined #bitcoin-wizards 11:50 -!- jamesob [~jamesob@108.44.248.162] has joined #bitcoin-wizards 11:56 -!- jamesob443 [~jamesob@108.44.248.162] has joined #bitcoin-wizards 11:57 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 11:59 -!- jamesob44 [~jamesob@108.44.248.162] has quit [Ping timeout: 256 seconds] 11:59 -!- jamesob443 is now known as jamesob44 12:02 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 246 seconds] 12:08 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 12:13 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 12:35 < stevenroose> Reading https://bitcoin.stackexchange.com/questions/116732/how-to-choose-a-nothing-up-my-sleeve-nums-point-on-secp256k1-for-use-in-taproo, is there is standard NUMS point for script-only p2tr outputs? 12:35 < stevenroose> Like is there a standard way to "create a p2tr address from only this script/script tree"? 12:35 < stevenroose> What does miniscript do there? 12:36 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 12:40 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 248 seconds] 12:42 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 12:47 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 256 seconds] 12:47 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 12:52 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 248 seconds] 12:58 -!- brunoerg [~brunoerg@187.183.43.117] has joined #bitcoin-wizards 13:01 < _aj_> stevenroose: that question already has an answer that references the bip 13:01 < stevenroose> Yeah I know, but it just says that the BIP "suggests" a possible NUMS point. 13:02 < stevenroose> _aj_: my question is if that point is actually accepted as a standard point 13:02 < stevenroose> basically if you communicate to someone "p2tr output with only scriptspend XXX", is it reasonable to assume that they know which internal key to pick? 13:03 -!- brunoerg [~brunoerg@187.183.43.117] has quit [Ping timeout: 240 seconds] 13:03 < stevenroose> (i.e. is there a reasonable way to implement `hal address create --script ` and return a p2tr address?) 13:04 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)] 13:05 < _aj_> stevenroose: you'd need to communicate "r" in that case; setting r as a constant (0 eg) as part of your protocol reveals that you didn't have a key path when you spent it (to anyone who knows your protocol, at any rate). 13:06 < _aj_> stevenroose: (likewise deriving r from publicly available information) 13:07 < stevenroose> _aj_: yeah so that was my thinking too. there is no standard NUMS so we probably shouldnt' provide that functionality 13:07 < stevenroose> https://github.com/stevenroose/hal/pull/39 fyi 13:07 < stevenroose> Finally got around to support taproot, sorry for the delay 13:07 < _aj_> stevenroose: "the" standard is H+rG with that particular H 13:09 < stevenroose> yeah but we don't have an r. well I could make a taproot specific command for that that takes r. but we have fn(Script, Network) -> Addresses, which doesn't seems to be possible for p2tr 13:12 < _aj_> https://gist.github.com/sipa/06c5c844df155d4e5044c2c8cac9c05e -- "tr(unspend(xxxx)/99, ...)" -- unspend encodes H, xxxx and /99 derives r. not sure where that is in implementation/standardisation 13:16 < _aj_> fn(Key, Scripts, Network) -> Address, and user can select a NUMS point for Key if they want seems fine to me fwiw 13:21 -!- brunoerg [~brunoerg@187.183.43.117] has joined #bitcoin-wizards 13:25 -!- brunoerg [~brunoerg@187.183.43.117] has quit [Ping timeout: 256 seconds] 13:34 < stevenroose> yeah adding explicit nums selection option 13:41 < stevenroose> _aj_: https://github.com/stevenroose/hal/pull/39/commits/4a16b0cb6fe3be867bb8a9319caeebc2b046db8b :) 13:46 -!- Ademan [~Ademan@47.161.28.214] has joined #bitcoin-wizards 13:50 -!- freesprung [~freesprun@user/freesprung] has quit [Quit: Ping timeout (120 seconds)] 13:50 -!- freesprung [~freesprun@user/freesprung] has joined #bitcoin-wizards 14:00 < _aj_> stevenroose: lgtm 14:01 -!- tristan123 [~tristan_@122.50.206.248] has quit [Ping timeout: 256 seconds] 14:05 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 14:10 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 14:11 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 14:15 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 248 seconds] 14:22 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 14:23 -!- Ademan [~Ademan@47.161.28.214] has quit [Ping timeout: 250 seconds] 14:26 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 240 seconds] 14:28 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 14:32 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 246 seconds] 14:33 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 14:37 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 240 seconds] 14:48 -!- jonatack [~jonatack@user/jonatack] has joined #bitcoin-wizards 15:04 -!- brunoerg [~brunoerg@187.183.43.117] has joined #bitcoin-wizards 15:08 -!- brunoerg [~brunoerg@187.183.43.117] has quit [Ping timeout: 240 seconds] 15:15 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 15:20 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 248 seconds] 15:29 < real_or_random> ademan[m]: I think in the specific case of extra_input32, it's harmless to add more stuff to the hash. so a || b is not worse than a, even if b happens to be controlled by the attacker 15:31 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 15:34 < real_or_random> but yeah, it's hard to give a good recommendation what to actually hash there. nanoseconds sounds good. for nics and hostnames, it feels a bit like like vodoo. but yeah, why not. at some point, the marginal advantage goes to zero. in particular because it's anyway only defense in depth. if your RNG is broken, then extra_input32 may save you in a musig session, but your security be screwed in 100 other ways 15:34 < real_or_random> cc nickler 15:36 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 15:36 -!- jamesob [~jamesob@108.44.248.162] has quit [Quit: Ping timeout (120 seconds)] 15:37 -!- jamesob [~jamesob@108.44.248.162] has joined #bitcoin-wizards 15:38 < real_or_random> I've also heard the argument that you shouldn't collect entropy from so many sources because it hides errors: if your RNG is actually broken, you won't even notice. but I'm not sure if that argument convinces me. perhaps in testing, but certainly not in production. 15:42 < real_or_random> and if you want more sophisticated ideas of what to put in the hash, see https://github.com/bitcoin/bitcoin/blob/master/src/random.cpp 15:53 < ademan[m]> thanks! yeah mixing in hostname and mac definitely is voodoo-ish rather than a well thought out approach. 16:05 -!- andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #bitcoin-wizards 16:06 -!- andrewtoth [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] 16:06 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 16:10 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 250 seconds] 16:38 -!- pablomartin [~pablomart@109.70.150.136] has joined #bitcoin-wizards 16:38 -!- pablomartin [~pablomart@109.70.150.136] has quit [Client Quit] 16:39 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 16:44 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 240 seconds] 16:45 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 16:50 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 248 seconds] 16:51 -!- brunoerg [~brunoerg@187.183.43.117] has joined #bitcoin-wizards 16:55 -!- brunoerg [~brunoerg@187.183.43.117] has quit [Ping timeout: 240 seconds] 17:22 < ademan[m]> by that same token I suppose using the tagged hash with a purpose is a bit voodoo-ish as well, isn't it? 17:28 -!- wudu_ [~wudu@dynamic-077-182-048-185.77.182.pool.telefonica.de] has quit [Ping timeout: 240 seconds] 17:31 -!- henghonglee [~henghongl@121.6.4.62] has joined #bitcoin-wizards 17:43 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 17:48 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 17:49 -!- brunoerg [~brunoerg@187.183.43.117] has joined #bitcoin-wizards 17:59 -!- brunoerg [~brunoerg@187.183.43.117] has quit [Remote host closed the connection] 18:00 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 18:05 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 18:32 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 18:37 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 246 seconds] 18:47 -!- henghonglee [~henghongl@121.6.4.62] has quit [] 18:48 -!- tristan123 [~tristan_@122.50.206.248] has joined #bitcoin-wizards 19:06 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 19:11 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 19:26 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #bitcoin-wizards 20:28 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 20:32 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 20:34 -!- brunoerg [~brunoerg@187.183.43.117] has joined #bitcoin-wizards 20:38 -!- brunoerg [~brunoerg@187.183.43.117] has quit [Ping timeout: 265 seconds] 21:24 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 21:29 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 248 seconds] 21:34 -!- _andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #bitcoin-wizards 21:34 -!- andrewtoth_ [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] 21:47 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 21:52 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 240 seconds] 21:53 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 21:57 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 240 seconds] 21:58 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 22:03 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 240 seconds] 22:04 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 22:09 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 248 seconds] 22:11 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 22:14 < stevenroose> Does tapscript require bip61-style minimal pushes? It mentions the minimalif requirement, but nothing about pushes 22:15 < _aj_> you can push whatever you want, it's when things are interpreted as a number that it becomes an error if you didn't do a minimal push 22:15 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 248 seconds] 22:17 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 22:18 < stevenroose> _aj_: I don't undertand what you mean with that? 22:19 < stevenroose> I'm not talking about what's actually on the stack, but about what opcodes you can use to push things. Like bip61 talks about. Like can you both use op_pushbytes1 and op_pushdata1 0x01? 22:19 < stevenroose> I suppose you can, as I can't find anything that disallows in, neither in the taproot not segwit bips 22:20 < _aj_> maybe i don't understand what i'm talking about either? 22:20 < _aj_> yeah, i think i'm confused 22:22 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 240 seconds] 22:23 < BlueMatt[m]> No idea if it requires it but istm there’s no reason to? Like the issue was in the scriptSig pushes, in most cases who cares if the scriptPubKey push is non-minimal, that’s not malleable cause it’s signed. 22:23 < _aj_> yeah, minimaldata is a policy rule; minimalif is consensus for tapscript (data that OP_IF/OP_NOTIF pulls must be "" or "\x01") 22:24 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 22:28 < _aj_> we overload fRequireMinimal to control checking both CheckMinimalPush and for interpreting a stack element as a number, which would be malleable for data coming from the witness 22:34 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 22:52 -!- brunoerg [~brunoerg@187.183.43.117] has joined #bitcoin-wizards 22:54 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 256 seconds] 23:01 -!- brunoerg [~brunoerg@187.183.43.117] has quit [Ping timeout: 256 seconds] 23:14 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 23:18 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 23:22 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has joined #bitcoin-wizards 23:25 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 23:26 -!- wudu_ [~wudu@dynamic-077-012-074-130.77.12.pool.telefonica.de] has joined #bitcoin-wizards 23:30 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 265 seconds] 23:36 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 23:40 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 248 seconds] 23:42 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards 23:46 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has quit [Ping timeout: 240 seconds] 23:52 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)] 23:58 -!- brunoerg [~brunoerg@2804:14c:3bfb:8a:e4cf:dbb3:f4b6:c0c6] has joined #bitcoin-wizards --- Log closed Wed Jun 07 00:00:23 2023