Summary
Standardize RPC verbosity to integers only and remove boolean handling for clarity, consistency, and future extensibility.
Rationale
- Legacy cleanup: Boolean verbosity has been discouraged/deprecated in docs since 2017 and continues to create tech debt (special-case parsing, inconsistent tests, user confusion).
- Consistency: Integers enable multi-level output without overloading a boolean.
User-visible changes
- getblock, getrawtransaction, getorphantxs no longer accept booleans.
- Passing true/false now errors with: Verbosity was boolean but only integer allowed.
- Migration: false → 0, true → 1.
Code / Docs
- ParseVerbosity(arg, default) now rejects booleans (removed allow_bool).
- Call sites and functional tests updated to use integer levels.
- Developer notes updated; release notes added.
Breaking change: scripts/tools using boolean verbosity must switch to integers.