Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
I was testing dumptxoutset and by omitting the type field the command just broke even if the field itself claims to be optional.
In the documentation it says that the default value for type is " " but appears the command is expecting either rollback or latest.
Expected behaviour
Since the documentation is already stating the problem itself, this may be a desired behavior ? But why make the field optional if thats not exactly the case ? Why not making the default value for type to be latest ?
Steps to reproduce
bitcoin-cli dumtxoutset filename.dat
Relevant log output
[nix-shell:~]$ sudo bitcoin-cli -rpcclienttimeout=0 dumptxoutset pau.dat [sudo] password for jaoleal: error code: -8 error message: Invalid snapshot type "" specified. Please specify “rollback” or “latest”
How did you obtain Bitcoin Core
Package manager
What version of Bitcoin Core are you using?
v30.0
Operating system and version
NixOs 25.11
Machine specifications
Enough