Bitcoin full node and query server

Apr 13, 2024

View in context in the libbitcoin Slack #general mirror.

evoskuil17:02
Synced and confirmed 804,000 blocks in 1.5hrs, which is about 90% of my peak network bandwidth for the data download alone. This is with validation bypassed by milestone as that is not currently parallelized. However confirmation was formerly a very costly exercise in previous libbitcoin versions, since it required updates throughout the store. The new design simply writes a record for each confirmed tx and block so is very fast. This could also be accelerated under checkpoints/milestone because it can be done concurrently.
evoskuil20:19
The difference is that we could have the hash table blow up if we're getting sybil attacked, but in that case you just drop the table and peers and try again. Because it's a race between multiple peers, only one good peer has to beat the bad.