--- Log opened Sun Aug 22 00:00:45 2021 03:37 < cloudhead> what's the easiest way of getting a transaction's vbytes? 03:37 < cloudhead> eg. if I want to calculate the fee/vbyte of a tx 03:42 < sebx2a> cloudhead: 1vByte = 4 weight units, so you could just do `tx.get_weight() / 4`. Since you are talking about fee rates anyway there will probably be some other division going on, so that shouldn't be a problem. 03:43 < sebx2a> there is also `blockdata::constants::WITNESS_SCALE_FACTOR = 4` if you want to be fancy about it 04:00 < cloudhead> sebx2a: thanks, yes that makes sense 04:13 < sebx2a> I think returning vbytes directly would be tricky due to potential fractional values. So it's easier to handle it on the application level. 08:07 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 240 seconds] 08:20 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 08:34 < cloudhead> ah I see, yeah that's ok 08:38 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 250 seconds] 08:42 < cloudhead> anyone know of a graph or statistic that would show what % of transactions spend outputs created in recent blocks? 08:43 < cloudhead> eg. 10% of txs spend outputs created in block H-1, and 30% in H-2, and 99% by H-8 08:43 < cloudhead> so an indication of temporal locality 08:52 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 08:56 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 268 seconds] 09:06 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 10:08 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 252 seconds] 10:09 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 10:15 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 268 seconds] 10:33 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 10:46 < ariard> cloudhead: iirc utreexo paper has some studies : https://eprint.iacr.org/2019/611.pdf 10:46 < ariard> section 5.3 10:53 < cloudhead> ariard: awesome, thanks! 11:50 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Ping timeout: 248 seconds] 11:53 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 11:57 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 252 seconds] 12:22 -!- plsm [~plsm@user/plsm] has joined #bitcoin-rust 12:30 -!- plsm [~plsm@user/plsm] has quit [Ping timeout: 250 seconds] 12:40 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has joined #bitcoin-rust 12:40 -!- plsm_ [~plsm@host109-151-99-134.range109-151.btcentralplus.com] has quit [Client Quit] 17:24 -!- tibo_ [~tibo@2400:4050:2a83:7000:815c:80ba:6438:fba1] has joined #bitcoin-rust 18:22 -!- belcher [~belcher@user/belcher] has quit [Ping timeout: 252 seconds] 18:34 -!- belcher [~belcher@user/belcher] has joined #bitcoin-rust 21:45 -!- dr_orlovsky [~dr-orlovs@31.14.40.18] has joined #bitcoin-rust 21:45 -!- ariard__ [~ariard@167.99.46.220] has joined #bitcoin-rust 21:45 -!- andytosh1 [~apoelstra@s66-183-0-205.bc.hsia.telus.net] has joined #bitcoin-rust 21:45 -!- Netsplit *.net <-> *.split quits: andytoshi, dr-orlovsky, ariard, yakshaver 21:45 -!- yakshaver123 [yakshaver@2600:3c00::f03c:92ff:fe8e:dce6] has joined #bitcoin-rust 21:48 -!- Netsplit *.net <-> *.split quits: valwal 21:49 -!- Netsplit over, joins: valwal 23:10 -!- dr_orlovsky [~dr-orlovs@31.14.40.18] has quit [Quit: ZNC 1.8.0 - https://znc.in] --- Log closed Mon Aug 23 00:00:46 2021