--- Log opened Fri Aug 20 00:00:43 2021 00:19 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 01:01 < thomaseizinger> shameless-plug: I built a thing a while back that solved this issue for us: https://github.com/thomaseizinger/rust-jsonrpc-client 01:01 < thomaseizinger> essentially, the idea was that if it is easy enough to define the actual RPC interface, you can just entirely avoid the dependency but instead just "quickly" define the RPC interface where-ever you need it. 01:26 < tibo_> Looks nice, but one of the reason I use bitcoincore-rpc is because it already has (a lot of) the interface methods defined and typed which saves some time compared to having to look it up in the docs. Still might consider this next time :) 01:28 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 240 seconds] 01:29 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 01:30 < sebx2a> thomaseizinger: looks pretty cool! Might be an interesting alternative to https://github.com/jeremyrubin/rust-bitcoincore-rpc-async/ 01:30 < sebx2a> iiuc you could just use the types from rust-bitcoincore-rpc and use them to define a new trait using your lib? 01:32 < thomaseizinger> yes but you would have to copy the types otherwise you again have a dependency :D 01:32 < sebx2a> sure, but is the dep the problem? 01:32 < thomaseizinger> I thought of proposing to include all of this in rust-bitcoin itselr 01:32 < sebx2a> oh 01:32 < thomaseizinger> if it doesn't get updated, yes it is 01:34 < thomaseizinger> given that an API defined using my lib doesn't pull in any dependencies other than syn, it wouldn't really add to the footprint much plus it is easily auditable. 01:35 < thomaseizinger> if the rpc types would live in rust-bitcoin, there would never be a version mismatch again. either that, or we push the bitcoin-primitives crate idea forward that has been floating around for a while 01:35 < sebx2a> I still think it's a bit out of scope for rust-bitcoin the crate, I'd welcome getting it into the org though. Main problem might be MSRV. 01:40 < sebx2a> I think I'd prefer bitcoin-primitives. That might actually just need minor version bumps most of the time (types like blocks or transactions only really change on soft forks afaiu). 03:22 < darosior> RCasatta[m]: blocks_iterator is *great* 03:29 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 252 seconds] 03:30 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 03:43 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 250 seconds] 03:49 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 04:08 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 268 seconds] 04:14 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 04:49 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 252 seconds] 04:50 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 05:11 -!- tibo_ [~tibo@2400:4050:2a83:7000:f074:d19b:48fe:8e17] has quit [] 06:06 -!- muhblockchain [~muhblockc@user/muhblockchain] has quit [Ping timeout: 240 seconds] 08:26 -!- fjahr [sid374480@id-374480.highgate.irccloud.com] has quit [Ping timeout: 245 seconds] 08:28 -!- sebx2a [sid356034@id-356034.highgate.irccloud.com] has quit [Read error: Connection reset by peer] 08:31 -!- sebx2a [sid356034@id-356034.highgate.irccloud.com] has joined #bitcoin-rust 08:32 -!- fjahr [sid374480@id-374480.highgate.irccloud.com] has joined #bitcoin-rust 08:36 -!- muhblockchain [~muhblockc@user/muhblockchain] has joined #bitcoin-rust 08:39 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 252 seconds] 08:40 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 08:51 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 250 seconds] 08:54 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 09:02 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 250 seconds] 09:04 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 09:12 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 250 seconds] 09:12 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 09:34 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 252 seconds] 09:34 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 11:07 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 252 seconds] 11:31 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 11:36 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 252 seconds] 11:48 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 11:56 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 248 seconds] 12:07 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 12:12 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 250 seconds] 12:27 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 12:33 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 250 seconds] 12:45 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 12:50 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 250 seconds] 12:51 < BlueMatt> ariard: fwiw re: https://github.com/rust-bitcoin/rust-lightning/pull/1031#discussion_r692586757 The malloc overhead of a vec plus the size of the vec itself is almost certainly more than just a publickey, so I actually think this is *less* memory effecient rather than more. Worse, its much less cpu effecient 12:52 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 12:55 < BlueMatt> ariard: IIRC malloc overhead is generally ~3 pointers, plus vec overhead is 3 pointers, so 48 bytes minimum 12:56 < BlueMatt> not counting heap fragmentation, of course 12:57 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 250 seconds] 13:00 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 13:05 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 268 seconds] 13:14 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 13:19 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 252 seconds] 13:43 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 13:48 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 250 seconds] 14:18 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 14:24 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 250 seconds] 14:51 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 14:57 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 268 seconds] 15:07 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 15:12 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 250 seconds] 15:21 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 15:55 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 250 seconds] 16:06 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 16:11 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 250 seconds] 16:23 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 16:28 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 252 seconds] 16:54 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 16:59 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 252 seconds] 17:16 < ariard> BlueMatt: depend how you implement `GlobalAlloc` trait, and if you cache additional containers capacity, like if LDK is deployed on embedded/weird platforms? 17:16 < ariard> BlueMatt: though i concede such platforms might not be the target deployment for dlc clients 17:17 < ariard> BlueMatt: just re-look on #1047 sgtm 17:17 < ariard> BlueMatt: i'll look on #1034 over the weekend and tackle #1041 as a prio 17:18 < ariard> over #993 which is also on my heap :p 17:18 < BlueMatt> ariard: before you open more prs maybe fix 997? :) 17:18 < BlueMatt> ariard: but, thanks! 17:19 < ariard> BlueMatt: yeah i know but 997 boring stuff over 1041/993 :) 17:20 < BlueMatt> sure, but also users asking for it :p 17:28 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 17:33 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 250 seconds] 18:19 -!- belcher_ [~belcher@user/belcher] has joined #bitcoin-rust 18:22 -!- belcher [~belcher@user/belcher] has quit [Ping timeout: 240 seconds] 18:30 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 18:36 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 252 seconds] 19:18 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 19:23 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 252 seconds] 19:52 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 19:57 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 240 seconds] 20:09 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 20:14 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 252 seconds] 20:38 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 20:43 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 250 seconds] 21:20 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 21:25 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 240 seconds] 21:37 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 21:42 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 252 seconds] 22:09 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 22:26 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 252 seconds] 22:38 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 22:44 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 268 seconds] 23:10 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 23:15 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 250 seconds] 23:18 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 23:25 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 248 seconds] 23:45 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 23:50 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 268 seconds] --- Log closed Sat Aug 21 00:00:46 2021