--- Log opened Wed Aug 31 00:00:06 2022 03:56 -!- greypw2546002 [~greypw254@grey.pw] has quit [Quit: I'll be back!] 03:56 -!- greypw2546002 [~greypw254@grey.pw] has joined #bitcoin-rust 05:51 -!- tibo [~tibo@fp5a950abc.tkyc110.ap.nuro.jp] has quit [] 08:36 -!- evanlinjin [~root@gateway/tor-sasl/evanlinjin] has quit [Remote host closed the connection] 08:37 -!- evanlinjin [~root@gateway/tor-sasl/evanlinjin] has joined #bitcoin-rust 09:40 -!- trev [~trev@user/trev] has quit [Remote host closed the connection] 10:07 -!- pablomartin [~pablomart@185.199.100.6] has joined #bitcoin-rust 11:04 -!- pablomartin [~pablomart@185.199.100.6] has quit [Ping timeout: 255 seconds] 12:09 -!- evanlinjin [~root@gateway/tor-sasl/evanlinjin] has quit [Remote host closed the connection] 12:10 -!- evanlinjin [~root@gateway/tor-sasl/evanlinjin] has joined #bitcoin-rust 12:47 -!- pablomartin [~pablomart@82.180.147.175] has joined #bitcoin-rust 12:48 -!- pablomartin [~pablomart@82.180.147.175] has quit [Client Quit] 16:49 -!- tibo [~tibo@240d:1a:afa:4000:81b4:4d3c:a62b:2379] has joined #bitcoin-rust 17:01 < dpc[m]> Does `bitcoin_hashes` has any one-function `let hash = sha256::hash(some_bytes);`? 17:02 < BlueMatt[m]> yes, exactly that - `sha256::Hash::hash` 17:03 < dpc[m]> Thank you. Though I don't see it in https://docs.rs/bitcoin_hashes/0.11.0/bitcoin_hashes/sha256/struct.Hash.html . What am I missing? 17:04 < dpc[m]> Oh, I see it. 17:04 < dpc[m]> It's really not discoverable. Some kind of crate-level common operation thing would be great. 17:05 < dpc[m]> Maybe time for a PR. 17:06 < BlueMatt[m]> yea, agreed, its confusing 17:06 < dpc[m]> No, wait. `fn hash` takes some `HashState` ... 17:06 < BlueMatt[m]> heh, you're confusing the std:#️⃣:Hash trait for bitcoin_hashes::Hash trait 17:06 < dpc[m]> Ooohhh... 17:06 < BlueMatt[m]> you have to import bitcoin_hashes::sha256::Hash, bitcoin_hashes::Hash, and std:: hash::Hash :( 17:07 < BlueMatt[m]> yea........the amount of name collisions in that crate......... 17:07 < dpc[m]> Well, it did reliably hash my brain. OK. I think I'm unblocked now. Thanks a lot! 20:49 -!- trev [~trev@user/trev] has joined #bitcoin-rust 20:59 -!- trev [~trev@user/trev] has quit [Remote host closed the connection] 22:06 -!- trev [~trev@user/trev] has joined #bitcoin-rust 23:32 -!- evanlinjin [~root@gateway/tor-sasl/evanlinjin] has quit [Remote host closed the connection] 23:33 -!- evanlinjin [~root@gateway/tor-sasl/evanlinjin] has joined #bitcoin-rust --- Log closed Thu Sep 01 00:00:06 2022