--- Log opened Tue Jul 30 00:00:25 2019 00:02 -!- elichai2 [uid212594@gateway/web/irccloud.com/x-qrzynwjvjlhfuiid] has quit [Quit: Connection closed for inactivity] 05:30 -!- elichai2 [uid212594@gateway/web/irccloud.com/x-xteahamwfzjrztgc] has joined #secp256k1 07:44 < elichai2> If I want to "subtract" a tweak from a pubkey is the right way to do it is by calling `secp256k1_ec_privkey_negate`(on the tweak) and then `secp256k1_ec_pubkey_tweak_add`? 07:57 -!- roconnor [~roconnor@host-45-58-217-32.dyn.295.ca] has joined #secp256k1 08:01 < real_or_random> yep, what's your use case? 08:03 < elichai2> real_or_random: converting a taproot point back to the internal key using the tweak 08:04 < real_or_random> ok interesting, where do you need this? 08:04 < elichai2> in bitcoin core. I have a scriptPubKey, and I have a the taproot binary tree 08:05 < elichai2> and I want to check if i'm in control of the private key of the internal key 08:05 < elichai2> maybe adding a `secp256k1_ec_pubkey_tweak_sub` function would be helpful, though it isn't really correct to call this subtraction 08:18 < andytoshi> in what context does your wallet know the internal key but not the combined key? 08:19 < andytoshi> or the internal key but not the associated taproot root? 08:20 < elichai2> andytoshi: that's a good question. but i'd rather not assume that now. you might be right and I could assume that if the wallet has the internal key it should also have the tweaked key 08:23 < elichai2> andytoshi: actually, if the wallet is restored using HD it wouldn't have the associated taproot root 08:24 < andytoshi> if it doesn't know the taproot root then it doesn't control the coins 08:25 < elichai2> I wanted to say when you import a desc but the desc is gonna have the internal key in it and when you import you should tweak it and save also the tweak one(if you have the privkey to the internal one) 09:24 -!- fjahr [uid374480@gateway/web/irccloud.com/x-wbzyczhsyyayfsfl] has quit [Ping timeout: 252 seconds] 09:25 -!- zmanian [sid113594@gateway/web/irccloud.com/x-uqkreresmropcums] has quit [Ping timeout: 250 seconds] 09:26 -!- fjahr [sid374480@gateway/web/irccloud.com/x-oqglxdehtfmjfnno] has joined #secp256k1 09:28 -!- zmanian [sid113594@gateway/web/irccloud.com/x-zwigserxccogeorq] has joined #secp256k1 11:18 -!- reallll [~belcher@unaffiliated/belcher] has joined #secp256k1 11:21 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 248 seconds] 12:12 -!- reallll is now known as belcher 12:44 -!- roconnor [~roconnor@host-45-58-217-32.dyn.295.ca] has quit [Quit: Konversation terminated!] 19:00 -!- elichai2 [uid212594@gateway/web/irccloud.com/x-xteahamwfzjrztgc] has quit [Quit: Connection closed for inactivity] 22:21 -!- afk11 [~afk11@gateway/tor-sasl/afk11] has quit [Ping timeout: 260 seconds] 22:21 -!- sipa [~pw@gateway/tor-sasl/sipa1024] has quit [Ping timeout: 260 seconds] 22:23 -!- afk11 [~afk11@gateway/tor-sasl/afk11] has joined #secp256k1 22:28 -!- sipa [~pw@gateway/tor-sasl/sipa1024] has joined #secp256k1 --- Log closed Wed Jul 31 00:00:26 2019