--- Log opened Sat Sep 14 00:00:52 2024 05:26 -!- jirijakes [~jirijakes@118.150.148.23] has quit [Ping timeout: 276 seconds] 07:08 -!- pablomartin [~pablomart@193.160.246.69] has joined #bitcoin-rust 08:27 -!- pablomartin4btc [~pablomart@dsl-246-221.bl26.telepac.pt] has joined #bitcoin-rust 08:30 -!- pablomartin [~pablomart@193.160.246.69] has quit [Ping timeout: 255 seconds] 11:19 -!- BSaboia [~bsaboia@user/BSaboia] has quit [Quit: ZNC - https://znc.in] 11:20 -!- BSaboia [~bsaboia@user/BSaboia] has joined #bitcoin-rust 14:20 -!- pablomartin4btc_ [~pablomart@155.133.17.250] has joined #bitcoin-rust 14:22 -!- pablomartin4btc [~pablomart@dsl-246-221.bl26.telepac.pt] has quit [Ping timeout: 252 seconds] 14:26 -!- pablomartin4btc_ [~pablomart@155.133.17.250] has quit [Quit: Leaving] 14:56 -!- jirijakes [~jirijakes@118.150.148.23] has joined #bitcoin-rust 16:15 < Ademan> is there an API for parsing an opcode name or hex string and turning it into a script::Instruction ? I might just be blind... 16:49 < yancy> Did you look in owned.rs? I'm not sure but maybe push_slice_no_opt() 18:00 < andytosh1> Ademan: no, you need to got through Script 18:01 < andytosh1> i guess it would make sense to stick a parse method onto opcode itself 18:36 < Ademan> andytosh1: I'm basically looking for the inverse to bytes_to_asm_fmt() I'm not sure I see that on Script or ScriptBuf either. I'm using 0.30.2 if it matters, but I've been making a point of checking 0.32 as well 18:36 < Ademan> I definitely could be blind though 19:37 < andytosh1> there's definitely a parser for the asm format somewhere 19:38 < andytosh1> hmm, now i don't see it 19:39 < Ademan> I'm cobbling something together that should be good enough, hope I didn't just miss it though heh 19:40 < andytosh1> i don't think you did ... but i swear i remember seeing code for this, and being a little annoyed about it because it was so long and i didnt think anybody would be trying to parse it 19:50 < Ademan> it's definitely not a typical use case, it's basically for a little cli tool I cooked up that I use to generate test cases for my musig psbt library heh 21:36 -!- jirijakes [~jirijakes@118.150.148.23] has quit [Ping timeout: 246 seconds] 22:02 -!- halloy6867 [~halloy686@97.115.252.175] has joined #bitcoin-rust 22:09 -!- halloy6867 [~halloy686@97.115.252.175] has quit [Remote host closed the connection] 22:10 -!- halloy6867 [~halloy686@97.115.252.175] has joined #bitcoin-rust 22:11 -!- halloy6867 [~halloy686@97.115.252.175] has quit [Remote host closed the connection] 22:22 -!- halloy6867 [~halloy686@97.115.252.175] has joined #bitcoin-rust 22:23 -!- halloy6867 [~halloy686@97.115.252.175] has quit [Remote host closed the connection] 22:23 -!- halloy6867 [~halloy686@97.115.252.175] has joined #bitcoin-rust 23:37 -!- halloy6867 [~halloy686@97.115.252.175] has quit [Remote host closed the connection] 23:44 -!- halloy6867 [~halloy686@97.115.252.175] has joined #bitcoin-rust --- Log closed Sun Sep 15 00:00:53 2024