--- Log opened Mon Apr 25 00:00:04 2022 01:00 -!- evanlinjin [~evanlinji@2001-b400-e453-a94f-b61f-bef6-42fc-907f.emome-ip6.hinet.net] has joined #bitcoin-rust 01:14 -!- evanlinjin [~evanlinji@2001-b400-e453-a94f-b61f-bef6-42fc-907f.emome-ip6.hinet.net] has quit [Ping timeout: 260 seconds] 02:06 -!- evanlinjin [~evanlinji@2001-b400-e453-a94f-b61f-bef6-42fc-907f.emome-ip6.hinet.net] has joined #bitcoin-rust 02:50 -!- evanlinjin [~evanlinji@2001-b400-e453-a94f-b61f-bef6-42fc-907f.emome-ip6.hinet.net] has quit [Ping timeout: 240 seconds] 02:59 -!- evanlinjin [~evanlinji@2001-b400-e453-a94f-b61f-bef6-42fc-907f.emome-ip6.hinet.net] has joined #bitcoin-rust 03:11 -!- Guest60 [~Guest60@150.red-95-120-136.dynamicip.rima-tde.net] has joined #bitcoin-rust 03:14 -!- evanlinjin [~evanlinji@2001-b400-e453-a94f-b61f-bef6-42fc-907f.emome-ip6.hinet.net] has quit [Remote host closed the connection] 03:15 -!- evanlinjin [~evanlinji@2001-b400-e453-a94f-1131-459a-abd6-b8e2.emome-ip6.hinet.net] has joined #bitcoin-rust 03:19 -!- Guest60 [~Guest60@150.red-95-120-136.dynamicip.rima-tde.net] has quit [Quit: Client closed] 03:52 -!- evanlinjin_ [~evanlinji@188.214.106.187] has joined #bitcoin-rust 03:52 -!- evanlinjin [~evanlinji@2001-b400-e453-a94f-1131-459a-abd6-b8e2.emome-ip6.hinet.net] has quit [Ping timeout: 260 seconds] 04:49 -!- evanlinjin_ [~evanlinji@188.214.106.187] has quit [Ping timeout: 250 seconds] 04:55 -!- evanlinjin_ [~evanlinji@2001-b400-e453-a94f-dc5e-27af-1897-97b0.emome-ip6.hinet.net] has joined #bitcoin-rust 05:12 -!- evanlinjin [~evanlinji@188.214.106.187] has joined #bitcoin-rust 05:12 -!- evanlinjin_ [~evanlinji@2001-b400-e453-a94f-dc5e-27af-1897-97b0.emome-ip6.hinet.net] has quit [Ping timeout: 240 seconds] 05:18 -!- evanlinjin [~evanlinji@188.214.106.187] has quit [Ping timeout: 240 seconds] 07:18 -!- evanlinjin [~evanlinji@2001-b400-e453-a94f-b61f-bef6-42fc-907f.emome-ip6.hinet.net] has joined #bitcoin-rust 07:30 -!- evanlinjin [~evanlinji@2001-b400-e453-a94f-b61f-bef6-42fc-907f.emome-ip6.hinet.net] has quit [Remote host closed the connection] 07:30 -!- sr_gi[m] [~srgimatri@2001:470:69fc:105::1:c14c] has joined #bitcoin-rust 07:30 -!- evanlinjin [~evanlinji@2001-b400-e453-a94f-b61f-bef6-42fc-907f.emome-ip6.hinet.net] has joined #bitcoin-rust 07:32 < sr_gi[m]> Hey guys, is there any way of deserializing a `Transaction` from a hex encoded str using serde? (assuming `use-serde` is set) 07:37 -!- cryptoquick8 [~cryptoqui@8.46.89.33] has joined #bitcoin-rust 07:40 -!- cryptoquick [~cryptoqui@8.46.89.33] has quit [Ping timeout: 276 seconds] 07:40 -!- cryptoquick8 is now known as cryptoquick 07:40 < darosior> sr_gi[m]: i usually do `let tx: Transaction = encode::deserialize(&Vec::from_hex("hex goes here").unwrap()).unwrap();`, for instance https://github.com/revault/revaultd/blob/457ff85dc40834ccf9e78ced25547a77d7278ad5/src/commands/utils.rs#L1398 07:42 < sr_gi[m]> darosior: yep, me too, I was trying to derive it for a struct that gets built from deserializing a json object, so I was wondering if that was possible 07:42 < darosior> Oh, sorry, i missed the "with serde" part 07:42 * darosior hides 07:43 < sr_gi[m]> np np 07:45 < darosior> I guess you can just implement a custom deserialize_with 07:49 < sr_gi[m]> That was my backup plan indeed lol 07:57 -!- Jackielove4u [uid43977@user/jackielove4u] has joined #bitcoin-rust 08:29 -!- evanlinjin [~evanlinji@2001-b400-e453-a94f-b61f-bef6-42fc-907f.emome-ip6.hinet.net] has quit [Ping timeout: 260 seconds] 08:38 -!- enick_87 [~afilini-m@2001:bc8:1828:245::2] has quit [Quit: Bridge terminating on SIGTERM] 08:39 -!- enick_756 [~afilini-m@2001:bc8:1828:245::2] has joined #bitcoin-rust 09:48 -!- evanlinjin [~evanlinji@2001-b400-e453-a94f-dc5e-27af-1897-97b0.emome-ip6.hinet.net] has joined #bitcoin-rust 14:14 -!- valwal [~valwal@pool-108-6-233-95.nycmny.fios.verizon.net] has joined #bitcoin-rust 19:34 -!- evanlinjin [~evanlinji@2001-b400-e453-a94f-dc5e-27af-1897-97b0.emome-ip6.hinet.net] has quit [Remote host closed the connection] 19:37 -!- evanlinjin [evanlinjin@gateway/vpn/protonvpn/evanlinjin] has joined #bitcoin-rust 19:45 -!- evanlinjin [evanlinjin@gateway/vpn/protonvpn/evanlinjin] has quit [Remote host closed the connection] 19:46 -!- evanlinjin [evanlinjin@gateway/vpn/protonvpn/evanlinjin] has joined #bitcoin-rust 20:04 -!- evanlinjin [evanlinjin@gateway/vpn/protonvpn/evanlinjin] has quit [Remote host closed the connection] 20:08 -!- evanlinjin [evanlinjin@gateway/vpn/protonvpn/evanlinjin] has joined #bitcoin-rust 20:39 -!- evanlinjin [evanlinjin@gateway/vpn/protonvpn/evanlinjin] has quit [Remote host closed the connection] 20:42 -!- evanlinjin [evanlinjin@gateway/vpn/protonvpn/evanlinjin] has joined #bitcoin-rust 20:59 -!- evanlinjin [evanlinjin@gateway/vpn/protonvpn/evanlinjin] has quit [Remote host closed the connection] 21:00 -!- evanlinjin [evanlinjin@gateway/vpn/protonvpn/evanlinjin] has joined #bitcoin-rust 21:03 -!- evanlinjin [evanlinjin@gateway/vpn/protonvpn/evanlinjin] has quit [Remote host closed the connection] 21:05 -!- evanlinjin [evanlinjin@gateway/vpn/protonvpn/evanlinjin] has joined #bitcoin-rust 21:34 -!- evanlinjin [evanlinjin@gateway/vpn/protonvpn/evanlinjin] has quit [Remote host closed the connection] 21:35 -!- evanlinjin [~evanlinji@2001-b400-e288-a53d-9d97-ad15-1c15-56f4.emome-ip6.hinet.net] has joined #bitcoin-rust 21:55 -!- x88x88x [~x88x88x@2001:19f0:5:39a8:5400:3ff:feb6:73cb] has quit [Remote host closed the connection] 21:56 -!- x88x88x [~x88x88x@2001:19f0:5:39a8:5400:3ff:feb6:73cb] has joined #bitcoin-rust --- Log closed Tue Apr 26 00:00:07 2022