--- Log opened Mon Nov 16 00:00:18 2020 00:17 -!- Blackwolfsa4 [~Blackwolf@195.159.29.126] has quit [Quit: Ping timeout (120 seconds)] 00:18 -!- Blackwolfsa4 [~Blackwolf@195.159.29.126] has joined #rust-bitcoin 00:49 -!- titanbiscuit [~tbisk@193.148.18.52] has joined #rust-bitcoin 02:35 -!- belcher_ is now known as belcher 03:21 -!- Felicity15Kilbac [~Felicity1@static.57.1.216.95.clients.your-server.de] has joined #rust-bitcoin 03:28 -!- gribble [~gribble@unaffiliated/nanotube/bot/gribble] has quit [Read error: Connection reset by peer] 03:33 -!- stevenroose [~steven@2001:19f0:6801:83a:905b:86a3:2de3:9ba9] has joined #rust-bitcoin 03:45 -!- gribble [~gribble@unaffiliated/nanotube/bot/gribble] has joined #rust-bitcoin 04:00 < stevenroose> Question: has anyone here ever used Murmel? I did some work on rust-bitcoin-p2p over the weekend (actually really happy with the result, I pushed v0.0.1 to crates.io) and I wanted to try it out in Murmel, so I updated Murmel to modern rust-bitcoin and then substituted its handrolled p2p with bitcoin-p2p and it didn't seem to do anything. But then I figured let's try master, and it also didn't 04:00 < stevenroose> seem to do much. 04:00 < stevenroose> jrawsthorne_, notmandatory, you guys have open PRs against Murmel, any experience using it? 04:01 -!- jonatack [~jon@109.202.103.170] has quit [Ping timeout: 256 seconds] 04:01 < stevenroose> I'd be up for doing some more work on it, though. Would be awesome to have it be an alternative to Neutrino with block filter support and stuff. I think that was Tamas' intention at least. 04:03 -!- Felicity15Kilbac [~Felicity1@static.57.1.216.95.clients.your-server.de] has quit [Ping timeout: 240 seconds] 04:03 -!- jonatack [~jon@88.124.242.136] has joined #rust-bitcoin 04:15 -!- tibo [~tibo@2400:4050:2a83:7000:7544:197c:4308:ae87] has quit [Remote host closed the connection] 04:42 < cloudhead> stevenroose: last I spoke to notmandatory he was using it to test his mobile bitcoin library 04:43 < cloudhead> seemed to work for him at least on testnet 04:48 < cloudhead> stevenroose: what's rust-bitcoin-p2p? 05:23 < stevenroose> cloudhead: library for the bitcoin p2p protocol. 05:23 < cloudhead> stevenroose: I mean where can I find it? 05:24 -!- stevenroose [~steven@2001:19f0:6801:83a:905b:86a3:2de3:9ba9] has quit [Quit: ZNC 1.7.4 - https://znc.in] 05:24 -!- stevenroose [~steven@2001:19f0:6801:83a:905b:86a3:2de3:9ba9] has joined #rust-bitcoin 05:25 < stevenroose> cloudhead: https://github.com/stevenroose/rust-bitcoin-p2p/ 05:28 < stevenroose> cloudhead: I have a version of murmel using bitcoin-p2p here https://github.com/stevenroose/murmel 05:30 < cloudhead> ah cool 06:17 < andytoshi> what's murmel? 06:42 -!- jonatack [~jon@88.124.242.136] has quit [Ping timeout: 264 seconds] 07:38 -!- jonatack [~jon@88.124.242.136] has joined #rust-bitcoin 07:43 -!- jonatack [~jon@88.124.242.136] has quit [Ping timeout: 256 seconds] 07:43 -!- jonatack [~jon@213.152.161.149] has joined #rust-bitcoin 08:06 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has joined #rust-bitcoin 08:08 -!- DeanWeen [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 08:10 < cloudhead> andytoshi: a light client 08:20 < cloudhead> stevenroose: I've been working on a neutrino alternative in rust for some time now, it's a ton of work, but I'm hoping to have a first release by end of year 08:21 < cloudhead> the p2p module is by far the most complex, and it takes a lot of work to account for all the possible states 08:21 < cloudhead> and bip158 is definitely not trivial to implement correctly 08:27 -!- jeremyrubin [~jr@c-73-15-215-148.hsd1.ca.comcast.net] has joined #rust-bitcoin 08:41 -!- varioust [~varioust@rrcs-76-79-47-154.west.biz.rr.com] has joined #rust-bitcoin 08:43 -!- varioust [~varioust@rrcs-76-79-47-154.west.biz.rr.com] has quit [Client Quit] 08:49 < stevenroose> cloudhead: yeah so bitcoin-p2p is an attempt to handle that. it provides a nice interface to add peers, send/broadcast messages and get an incoming message stream. it does a few things out of the box like handshaking, maintainig ping/pong and inventory caching and trickling 08:50 < stevenroose> it's built on mio and uses a single thread to process all I/O and processing etc 08:50 < stevenroose> cloudhead: do you have a repo? 08:50 < cloudhead> cool 08:50 < cloudhead> yeah 08:50 < cloudhead> https://github.com/cloudhead/nakamoto 08:51 < cloudhead> stevenroose: I also went with a single-threaded design 08:51 < cloudhead> I think that's a good choice for a library 08:51 < cloudhead> I think I might have seen your repo a few months ago when looking for something similar but it wasn't so developed 08:52 < cloudhead> have you added to it recently? 08:53 < stevenroose> cloudhead: yeah I started over entirely :D I wasn't happy with it, I tried a tokio-based design as well, which I also wasn't happy with 08:53 < stevenroose> so now it's just std and mio, minimal deps and I'm thinking of adding a optional tokio-compatible interface where you can ask for a stream of messages or so 08:53 < cloudhead> ah nice! 08:54 < cloudhead> that makes sense 08:54 < cloudhead> yes, async rust sucks 08:54 < cloudhead> I originally went with an async design and scrapped it 08:55 < stevenroose> hmm, so I might look at nakamoto over next weekend, see if it would make sense to try fit bitcoin-p2p in there and see how the API performs 08:55 < cloudhead> event loops make it a bit harder to manage state machines accross i/o, but everything else is simpler 08:55 < cloudhead> awesome 08:56 < cloudhead> the protocol logic is completely separate from i/o 08:57 < stevenroose> yeah so I thought it would make sense to have a p2p library handle trivial things like handshaking and pinging, feature negotiation etc 08:58 < cloudhead> I think what btcsuite achieved for Go is quite nice: having a set of modules that can be imported into different client implementations 08:58 < cloudhead> stevenroose: totally 08:58 < stevenroose> so you won't see those messages coming from bitcoin-p2p (in my earlier version I had a config flag to do those things manually and don't have the lbirary do them, but I don't think it makes much sense. It's trivial to add that again, though) 08:59 < stevenroose> so my main concern is how the API behaves and how the I/O and buffering does performance-wise when used for some real applicatio, so I can try plug it into nakamoto just to experiment 08:59 < cloudhead> yeah, I mean a set of pure functions to negotiate protocols could be useful for any client impl 08:59 < stevenroose> cloudhead: what's the current state of nakamoto, you'd say? what can it do? 09:00 < cloudhead> stevenroose: it can fully sync mainnet/testnet 09:00 < cloudhead> block filter work is like, 30% done 09:01 < cloudhead> it also handles forks and re-orgs etc. 09:03 < stevenroose> that's quite nice 09:03 < stevenroose> sync means header sync? 09:03 < stevenroose> or full block sync? 09:04 < cloudhead> yeah header sync 11:40 -!- jonatack [~jon@213.152.161.149] has quit [Ping timeout: 240 seconds] 11:43 -!- jonatack [~jon@213.152.161.149] has joined #rust-bitcoin 12:05 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 12:06 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has joined #rust-bitcoin 12:12 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 14:36 -!- nothingmuch [~nothingmu@unaffiliated/nothingmuch] has quit [Quit: ZNC - https://znc.in] 14:36 -!- nothingmuch [~nothingmu@unaffiliated/nothingmuch] has joined #rust-bitcoin 14:40 -!- shesek [~shesek@164.90.217.137] has joined #rust-bitcoin 14:40 -!- shesek [~shesek@164.90.217.137] has quit [Changing host] 14:40 -!- shesek [~shesek@unaffiliated/shesek] has joined #rust-bitcoin 15:19 -!- tibo [~tibo@2400:4050:2a83:7000:bdbf:1da0:dedd:9367] has joined #rust-bitcoin 16:17 -!- b42 [~mmilata@b42.cz] has quit [Ping timeout: 260 seconds] 16:20 -!- b42 [~mmilata@b42.cz] has joined #rust-bitcoin 17:24 -!- jeremyrubin [~jr@c-73-15-215-148.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 18:01 < ariard> BlueMatt: #611 SGTM :) I'll have a look on #748/#750 tmrw 19:45 -!- jeremyrubin [~jr@c-73-15-215-148.hsd1.ca.comcast.net] has joined #rust-bitcoin 19:54 -!- belcher_ [~belcher@unaffiliated/belcher] has joined #rust-bitcoin 19:57 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 256 seconds] 20:20 -!- nothingmuch_ [~nothingmu@unaffiliated/nothingmuch] has joined #rust-bitcoin 20:20 -!- nothingmuch [~nothingmu@unaffiliated/nothingmuch] has quit [Quit: ZNC - https://znc.in] 20:20 -!- prusnak [sid403625@gateway/web/irccloud.com/x-tslnimwlvlwfgivq] has quit [Ping timeout: 272 seconds] 20:21 -!- prusnak [sid403625@gateway/web/irccloud.com/x-ezsvdnujwchntoda] has joined #rust-bitcoin 20:41 -!- prusnak [sid403625@gateway/web/irccloud.com/x-ezsvdnujwchntoda] has quit [Ping timeout: 272 seconds] 20:42 -!- prusnak [sid403625@gateway/web/irccloud.com/x-yumdjzikgzqapczc] has joined #rust-bitcoin 20:52 -!- prusnak [sid403625@gateway/web/irccloud.com/x-yumdjzikgzqapczc] has quit [Ping timeout: 272 seconds] 20:55 -!- prusnak [sid403625@gateway/web/irccloud.com/x-lfcyzjgfjcjtebkp] has joined #rust-bitcoin 21:19 -!- Isthmus [sid302307@gateway/web/irccloud.com/x-dgyibcpawhcecoaf] has quit [Ping timeout: 272 seconds] 21:20 -!- Isthmus [sid302307@gateway/web/irccloud.com/x-egyhrwljsnapkjej] has joined #rust-bitcoin 21:23 -!- fjahr [sid374480@gateway/web/irccloud.com/x-idmozsqtyjsaymjn] has quit [Ping timeout: 272 seconds] 21:25 -!- fjahr [sid374480@gateway/web/irccloud.com/x-zejehgvppaebqwly] has joined #rust-bitcoin 21:32 -!- fjahr [sid374480@gateway/web/irccloud.com/x-zejehgvppaebqwly] has quit [Ping timeout: 272 seconds] 21:37 -!- fiatjaf [~fiatjaf@2804:7f2:2a86:8e94:ea40:f2ff:fe85:d2dc] has quit [Ping timeout: 272 seconds] 21:39 -!- fjahr [sid374480@gateway/web/irccloud.com/x-bftuodvmfdbwrhhw] has joined #rust-bitcoin 22:10 -!- jeremyrubin [~jr@c-73-15-215-148.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 23:07 -!- dongcarl [~dongcarl@unaffiliated/dongcarl] has quit [Quit: Ping timeout (120 seconds)] 23:08 -!- dongcarl [~dongcarl@unaffiliated/dongcarl] has joined #rust-bitcoin --- Log closed Tue Nov 17 00:00:19 2020