--- Log opened Tue Oct 08 00:00:17 2024 04:50 -!- jlest [~jlest@user/jlest] has quit [Ping timeout: 265 seconds] 04:51 -!- jlest [~jlest@2804:7f1:eb02:3fde:6a8b:7489:d368:65ca] has joined #bitcoin-rust 04:51 -!- jlest [~jlest@user/jlest] has changed host 05:26 -!- jirijakes [~jirijakes@118.150.148.23] has quit [Ping timeout: 252 seconds] 05:35 -!- jirijakes [~jirijakes@118.150.148.23] has joined #bitcoin-rust 05:47 -!- SmithRoger [~SmithRoge@179.251.55.55] has joined #bitcoin-rust 08:11 -!- SmithRoger [~SmithRoge@179.251.55.55] has quit [Ping timeout: 252 seconds] 10:12 -!- achow101 [~achow101@user/achow101] has quit [Ping timeout: 260 seconds] 10:13 -!- achow101 [~achow101@user/achow101] has joined #bitcoin-rust 10:19 -!- achow101 [~achow101@user/achow101] has quit [Ping timeout: 260 seconds] 10:19 -!- achow101 [~achow101@user/achow101] has joined #bitcoin-rust 13:25 < jlest> andytoshi: thanks. But there is a PR to add a rust-secp256k1 Musgi2 API https://github.com/rust-bitcoin/rust-secp256k1/pull/716 . I would like to rebase this PR against an updated secp256k1-sys. 13:26 < andytoshi> jlest: oh! nice. ok, i kicked CI on that at least 13:27 < andytoshi> let's wait for a libsecp256k1 release (maybe ping #secp256k1 about that) and update secp-sys 13:27 < andytoshi> and then rebase this PR, and then i'll prioritize reviewing it. kixunil has been away for a while and probably won't follow up 13:30 < jlest> Got it. Thanks for the update. I'll wait for the release of libsecp256k1 then. 14:33 -!- jirijakes [~jirijakes@118.150.148.23] has quit [Ping timeout: 252 seconds] 14:59 -!- Guest47 [~Guest47@2601:58b:4201:680:607c:2363:6e98:1f56] has joined #bitcoin-rust 15:01 < Guest47> Hello, is there a way to conveniently derive the recipient from a scriptPubKey? I am trying to verify if a scriptPubKey is addressed to a given recipient. If the former isn't possible, how would I generate a scriptPubKey addressed to a recipient and then compare it against another scriptPubKey. 15:38 < andytoshi> if you have a scriptpubkey (of a standard form) and a network, you can construct an address from it 15:38 < andytoshi> we have Address::from_script for that https://docs.rs/bitcoin/latest/bitcoin/struct.Address.html#method.from_script 15:41 < Guest47> I have the raw vouts of a transaction and am able to extract the hash/payload from the scriptPubKey. I will look into the method you sent, thanks. 15:42 -!- jlest [~jlest@user/jlest] has quit [Remote host closed the connection] 15:48 < Guest47> Yes that function seems to be what I was looking for, thank you. I will try to implement it now. 16:09 < Guest47> It returned an error, "UnrecognizedScript", could you elaborate on the "standard form" as it is a u8 slice of the scriptPubKey. I guess I could encode it into a string 16:23 -!- jlest [~jlest@user/jlest] has joined #bitcoin-rust 16:35 -!- Guest47 [~Guest47@2601:58b:4201:680:607c:2363:6e98:1f56] has quit [Quit: Client closed] 16:59 -!- synaps3 [~synaps3@user/synaps3] has joined #bitcoin-rust 21:08 -!- Guest47 [~Guest47@2601:58b:4201:680:5112:7113:3c24:af11] has joined #bitcoin-rust 21:55 -!- synaps3 [~synaps3@user/synaps3] has quit [Remote host closed the connection] 21:57 -!- cmc [~methos@gateway/tor-sasl/cmc] has quit [Remote host closed the connection] 21:57 -!- cmc [~methos@gateway/tor-sasl/cmc] has joined #bitcoin-rust 22:06 < Guest47> I got it to work though kind of jankily right now, thank you for linking me the method again. 22:48 -!- jlest [~jlest@user/jlest] has quit [Ping timeout: 265 seconds] --- Log closed Wed Oct 09 00:00:17 2024