and the callee:
for (const auto& link: batched_)
{
if (link == header_link::terminal)
continue;
size_t height{};
if (!query.get_height(height, link) ||
!query.set_block_valid(link))
return false;
notify_block(system::error::success, height, link, false);
}
batched_.clear();