Bitcoin full node and query server

Apr 19, 2024

View in context in the libbitcoin Slack #general mirror.

evoskuil01:43
Just implemented the bip30 check, which turned out a bit simpler than I described previously. More interestingly, it is almost free in the no-duplicates case, and a trivial cost in the duplicates case (which don't actually exist). This is considered a really expensive check by Core: "The BIP30 check is expensive, as it requires going through all the outputs of all the transactions in the block, and checking if a UTxO with the same outpoint does not already exist." Or just a single constant time hashmap lookup. 😂 https://bitcoin.stackexchange.com/a/120839/34482
(edited)
😄 1