--- Log opened Sat Sep 12 00:00:16 2020 00:22 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Ping timeout: 272 seconds] 00:23 -!- fjahr [sid374480@gateway/web/irccloud.com/x-vddusacsufeecjsf] has quit [Ping timeout: 240 seconds] 00:24 -!- fjahr [sid374480@gateway/web/irccloud.com/x-iivtmbwrteacwior] has joined #rust-bitcoin 00:25 -!- icota[m] [icotamatri@gateway/shell/matrix.org/x-rgeootbyrmmcnbgw] has quit [Ping timeout: 244 seconds] 00:25 -!- icota[m] [icotamatri@gateway/shell/matrix.org/x-uxmiuemqnuserojw] has joined #rust-bitcoin 00:26 -!- sgeisler [sid356034@gateway/web/irccloud.com/x-uuzwyaqduwypvteu] has quit [Ping timeout: 244 seconds] 00:29 -!- sgeisler [sid356034@gateway/web/irccloud.com/x-kmlknigqxbexhnot] has joined #rust-bitcoin 01:23 -!- jonatack [~jon@37.173.136.184] has joined #rust-bitcoin 01:59 -!- Guest39002 is now known as prusnak 01:59 -!- prusnak is now known as Guest89309 02:24 -!- yancy [~root@li1543-67.members.linode.com] has joined #rust-bitcoin 04:04 -!- Guest89309 is now known as prusnak_ 04:18 -!- Vito4Terry [~Vito4Terr@static.57.1.216.95.clients.your-server.de] has joined #rust-bitcoin 04:46 -!- jonatack [~jon@37.173.136.184] has quit [Read error: Connection reset by peer] 06:50 -!- elichai2 [sid212594@gateway/web/irccloud.com/x-ktcafifpocehctxo] has quit [Ping timeout: 272 seconds] 06:51 -!- Aleru [sid403553@gateway/web/irccloud.com/x-yxdzsqakuuwgqset] has quit [Ping timeout: 272 seconds] 06:52 -!- elichai2 [sid212594@gateway/web/irccloud.com/x-kakrvzdysumbeepk] has joined #rust-bitcoin 06:53 -!- Aleru [sid403553@gateway/web/irccloud.com/x-xqtgjdkzjabnbakl] has joined #rust-bitcoin 07:05 -!- belcher_ [~belcher@unaffiliated/belcher] has joined #rust-bitcoin 07:05 -!- jonatack [~jon@static-176-139-55-163.ftth.abo.bbox.fr] has joined #rust-bitcoin 07:09 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 240 seconds] 07:10 -!- jonatack [~jon@static-176-139-55-163.ftth.abo.bbox.fr] has quit [Ping timeout: 244 seconds] 07:12 -!- jonatack [~jon@109.232.227.138] has joined #rust-bitcoin 08:09 < elichai2> anyone here uses tokio/async? how do you interact with the consensus encode/decode functions? (ie I want to pass a TcpStream from tokio to it and it seems like tokio didn't impl Write/Read) 08:26 -!- jonatack [~jon@109.232.227.138] has quit [Ping timeout: 244 seconds] 09:01 -!- belcher_ is now known as belcher 09:17 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined #rust-bitcoin 10:01 -!- guest534543 [~mix@141.98.103.212] has joined #rust-bitcoin 10:05 -!- Kiminuo [~mix@193.9.112.252] has quit [Ping timeout: 256 seconds] 10:35 -!- titanbiscuit [~tbisk@66.115.154.150] has quit [Ping timeout: 258 seconds] 10:36 -!- titanbiscuit [~tbisk@45.89.173.204] has joined #rust-bitcoin 12:33 -!- Kiminuo [~mix@89.187.189.206] has joined #rust-bitcoin 12:36 -!- guest534543 [~mix@141.98.103.212] has quit [Ping timeout: 240 seconds] 13:01 < dr-orlovsky> elichai2; I did. You need to use TcpStream provided by tokio itself (tokio::net::TcpStream) 13:01 < elichai2> dr-orlovsky: and then serialize into a vec before writing to the socket? 13:03 -!- Vito4Terry [~Vito4Terr@static.57.1.216.95.clients.your-server.de] has quit [Ping timeout: 244 seconds] 13:27 < dr-orlovsky> `stream.read_buf(&mut buf).await?;` where `buf` is `Vec`. The same for reading. (stream is tokio::net::TcpStream) 13:28 < dr-orlovsky> https://github.com/LNP-BP/rust-lnpbp/blob/6010402f8e49fd05ad23f8c0e93ffe079d33d378/src/lnp/session/connection.rs#L149-L153 - both tokio and non-tokio versins one after other 20:44 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 244 seconds] 21:00 -!- Kiminuo [~mix@89.187.189.206] has quit [Read error: Connection reset by peer] 21:00 -!- guest534543 [~mix@89.187.189.206] has joined #rust-bitcoin 23:48 -!- Netsplit *.net <-> *.split quits: paultroon, wumpus 23:48 -!- Netsplit *.net <-> *.split quits: ghost43, Dean_Guss 23:52 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Ping timeout: 240 seconds] --- Log closed Sun Sep 13 00:00:17 2020