Bitcoin full node and query server

Mar 26, 2021

View in context in the libbitcoin Slack #general mirror.

P
Phil11:15
> The only real reason to maintain a height index is so people can query by it Querying by height is a disaster recipe, you want to query by block hash always, though sure keeping hammering the function “give me the block hash of the highest block you have” is core agrede.
3 replies · evoskuil · last Mar 26, 2021
evoskuil18:46
Not sure I follow.
evoskuil18:51
But yes, a top query is useful and doesn’t require a height query.
evoskuil18:55
The confirmed height index is mostly used to quickly identify the path through the strong branch for internal purposes, such as for generating a block requestor message.