--- Log opened Tue Jul 18 00:00:03 2023 00:08 -!- salvatoshi [~salvatosh@genymobile-2-6-86.fib.nerim.net] has joined #bitcoin-rust 01:12 -!- andytoshi [~apoelstra@user/andytoshi] has quit [Ping timeout: 258 seconds] 01:53 -!- andytoshi [~apoelstra@user/andytoshi] has joined #bitcoin-rust 02:19 -!- andytoshi [~apoelstra@user/andytoshi] has quit [Ping timeout: 260 seconds] 02:55 -!- andytoshi [~apoelstra@user/andytoshi] has joined #bitcoin-rust 04:10 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 09:03 -!- salvatoshi [~salvatosh@genymobile-2-6-86.fib.nerim.net] has quit [Ping timeout: 246 seconds] 09:10 -!- appservicebot1 [~afilini-m@2001:bc8:1828:245::2] has quit [Ping timeout: 240 seconds] 09:16 -!- yunchi [~yunchi@pool-71-127-221-48.nwrknj.fios.verizon.net] has joined #bitcoin-rust 09:44 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 264 seconds] 09:58 -!- appservicebot1 [~afilini-m@2001:bc8:1828:245::2] has joined #bitcoin-rust 10:13 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 10:25 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 245 seconds] 10:33 -!- yunchi [~yunchi@pool-71-127-221-48.nwrknj.fios.verizon.net] has quit [Quit: Client closed] 10:34 -!- yunchi [~yunchi@pool-71-127-221-48.nwrknj.fios.verizon.net] has joined #bitcoin-rust 10:38 < yunchi> hello, i'd like to join multiple psbts like https://developer.bitcoin.org/reference/rpc/joinpsbts.html using bitcoin-rust. I'm pretty new to rust & bitcoin programming though. Is this something that would be easy to do with this library? And would it be reasonable to add to the lib? There's already a combine() method on psbt but it behaves very 10:38 < yunchi> differently from join(). The implementation in core looks fairly straightforward https://github.com/bitcoin/bitcoin/blob/c6a338b67e8e7848e6f42329a8b0bf3add16ad51/src/rpc/rawtransaction.cpp#L1711 10:39 -!- plsm_ [~plsm@189.37.187.81.in-addr.arpa] has joined #bitcoin-rust 11:43 -!- yunchi [~yunchi@pool-71-127-221-48.nwrknj.fios.verizon.net] has quit [Ping timeout: 246 seconds] 13:19 -!- afilini [~afilini@2001:bc8:1828:245::2] has joined #bitcoin-rust 13:19 < afilini> fyi for some reason the "bitcoin" crate is marked as deprecated on lib.rs: https://lib.rs/crates/bitcoin 13:20 < afilini> not sure why/where it takes that piece of data, but i wouldn't rule out malice from the maintainer of the website considering he's calling the "cyptocurrency" category "magic beans" lol https://lib.rs/cryptography/cryptocurrencies 13:24 < afilini> archived version of both urls in case anything changes: https://archive.is/NPWZr and https://archive.is/atMal 13:58 < andytoshi> afilini: thanks for the heads up 13:59 < andytoshi> agreed, i don't think we care about a "deprecated" label when we're already in the "magic beans" category. but weird that there's no explanation or history or anything 14:00 < BlueMatt[m]> he also changed the title to "suspicious unregulated finances, in Rust" 14:00 < BlueMatt[m]> what a joke of a website 14:01 < BlueMatt[m]> I guess he can do what he wants since he puts "opinionated" in the description of libs.rs 😂 14:07 < afilini> yeah the only reason why I use it from time to time is that it shows the list of features declared in the cargo toml (right side of the page). I don't think crates.io shows them and most crates don't document them anywhere in the readme 14:08 < andytoshi> oh that's a useful feature 14:08 < andytoshi> it's actually kinda hard to infer even by reading Cargo.toml 14:08 < andytoshi> i assume lib.rs can't do it, in general 14:08 < andytoshi> at least, it can't distinguish between optional deps that you're supposed to enable directly, and ones that you're supposed to enable through other feature gates 14:10 < afilini> yeah it's probably not complete/perfect, but if you know a crate can do something you can probably infer which feature to use just by looking at the list 14:11 < BlueMatt[m]> https://www.reddit.com/r/rust/comments/153aigg/libsrs_editing_crates_to_add_spurious/ 14:13 < andytoshi> BlueMatt[m]: thanks 14:13 < andytoshi> i actually poked at the source code and couldn't figure out how he did this (in 2 minutes of poking) 14:13 < andytoshi> for the most part, it scrapes crates.io and then reformats the data 14:13 < BlueMatt[m]> heh, that's even worse 14:13 < andytoshi> i don't know where any crate-specific tweaks would go 14:13 < BlueMatt[m]> on the frontend, i guess 14:13 < andytoshi> i suppose he could've tweaked shit on his personal instance 14:13 < andytoshi> yeah 14:52 < BlueMatt[m]> the manual flag is at https://gitlab.com/crates.rs/crates.rs/-/blob/main/feat_extractor/src/lib.rs#L276 14:55 < andytoshi> kek 15:23 -!- plsm_ [~plsm@189.37.187.81.in-addr.arpa] has quit [Quit: leaving] 17:37 -!- duderonomy [~duderonom@c-107-3-165-79.hsd1.ca.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 18:38 < BlueMatt[m]> https://docs.rs/bitcoin/latest/bitcoin/psbt/serialize/index.html <-- heh, I dont think this module needs to be pub :) 20:23 < ademan[m]> what a clown... 20:29 -!- duderonomy [~duderonom@c-107-3-165-79.hsd1.ca.comcast.net] has joined #bitcoin-rust 23:59 -!- salvatoshi [~salvatosh@genymobile-2-6-86.fib.nerim.net] has joined #bitcoin-rust --- Log closed Wed Jul 19 00:00:04 2023