Bitcoin full node and query server

Oct 30, 2024

View in context in the libbitcoin Slack #general mirror.

evoskuil15:45
Bottom line is that it may make sense to maintain a large backlog limit, and not bother making that limit a function of actual work (i.e. tx counts, which requires a store hashmap read for each block) as the issue with the backlog isn't CPU work but the number of closures held in this dedicated ASIO validation queue. And I don't think a queue on the order of millions is much of an issue on any machine, as long as it can be drained without doing the work, which we always ensure:
void chaser_validate::validate_block(const header_link& link) NOEXCEPT
{
    if (closed())
        return;
   ...
}
(edited)