View in context in the libbitcoin Slack #general mirror.
for (uint8_t attempt = 0; ; attempt = (attempt == max_uint8) ? 0 : (attempt + 1))