Skip to content

handle unknown estimator mode#1025

Merged
evoskuil merged 1 commit into
libbitcoin:masterfrom
josibake:fix-estimator-unknown-mode
Jun 3, 2026
Merged

handle unknown estimator mode#1025
evoskuil merged 1 commit into
libbitcoin:masterfrom
josibake:fix-estimator-unknown-mode

Conversation

@josibake
Copy link
Copy Markdown
Contributor

@josibake josibake commented Jun 3, 2026

return the estimator failure sentinel for mode::unknown instead of leaving the enum case implicit. makes estimate() exhaustive over its mode domain and documents the expected result with a focused unit test.

discovered via a clang warning.

return the estimator failure sentinel for mode::unknown instead of
leaving the enum case implicit. makes estimate() exhaustive over
its mode domain and documents the expected result with a focused unit test.

discovered via a clang warning.
@evoskuil evoskuil merged commit 074d4ba into libbitcoin:master Jun 3, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants