--- Log opened Fri Dec 01 00:00:43 2023 00:51 -!- tibo [~tibo@240d:1a:afa:4000:25bb:5887:7efb:5920] has quit [] 01:06 -!- salvatoshi [~salvatosh@2001:818:e733:2700:a0eb:63f:e256:da39] has quit [Ping timeout: 256 seconds] 01:56 -!- salvatoshi [~salvatosh@2001:818:e733:2700:9562:fb6d:ce90:2455] has joined #bitcoin-rust 02:10 -!- nex8192 [~nex8192@156.195-129-109.adsl-dyn.isp.belgacom.be] has joined #bitcoin-rust 02:10 -!- nex8192 is now known as Guest7282 02:12 -!- Guest7282 [~nex8192@156.195-129-109.adsl-dyn.isp.belgacom.be] has left #bitcoin-rust [] 02:13 -!- Guest7282 [~nex8192@156.195-129-109.adsl-dyn.isp.belgacom.be] has joined #bitcoin-rust 03:04 -!- Guest7282 [~nex8192@156.195-129-109.adsl-dyn.isp.belgacom.be] has left #bitcoin-rust [Error from remote client] 06:08 -!- pablomartin [~pablomart@193.160.246.216] has joined #bitcoin-rust 07:39 -!- Guest7282 [~nex8192@156.195-129-109.adsl-dyn.isp.belgacom.be] has joined #bitcoin-rust 08:04 -!- salvatoshi [~salvatosh@2001:818:e733:2700:9562:fb6d:ce90:2455] has quit [Ping timeout: 240 seconds] 09:56 -!- Guest7282 [~nex8192@156.195-129-109.adsl-dyn.isp.belgacom.be] has left #bitcoin-rust [Error from remote client] 10:29 -!- cguida [~cguida@2806:2f0:55e1:f7b9:cde3:707d:5cbd:158d] has joined #bitcoin-rust 10:29 -!- Guest7282 [~nex8192@156.195-129-109.adsl-dyn.isp.belgacom.be] has joined #bitcoin-rust 11:43 -!- Guest7282 [~nex8192@156.195-129-109.adsl-dyn.isp.belgacom.be] has left #bitcoin-rust [Error from remote client] 12:51 -!- Guest7282 [~nex8192@156.195-129-109.adsl-dyn.isp.belgacom.be] has joined #bitcoin-rust 13:03 < cguida> Hello everyone! How can I fetch the block height for a block hash from bitcoind using rust-bitcoin? I was thinking I could get the height from the get_block call, since `bitcoin-cli getblock ...` returns an object that includes `height`. However, the height does not seem to be included in either `get_block` or `get_block_header` since the `Header` 13:03 < cguida> struct does not have a `height` attribute. Why is this, and how can I access the height for a specific block hash? 13:04 < cguida> I'm noticing the `Block.bip34_block_height()` function... is this sufficient to reliably fetch block heights from blocks? 13:13 -!- salvatoshi [~salvatosh@2001:818:e733:2700:3f1b:cb96:9478:5eb8] has joined #bitcoin-rust 13:26 -!- Guest7282 [~nex8192@156.195-129-109.adsl-dyn.isp.belgacom.be] has left #bitcoin-rust [Error from remote client] 13:41 -!- salvatoshi [~salvatosh@2001:818:e733:2700:3f1b:cb96:9478:5eb8] has quit [Quit: Leaving] 15:33 -!- pablomartin [~pablomart@193.160.246.216] has quit [Ping timeout: 276 seconds] --- Log closed Sat Dec 02 00:00:43 2023