diff options
author | Ryan Ofsky <ryan@ofsky.org> | 2024-08-05 12:46:33 -0400 |
---|---|---|
committer | Ryan Ofsky <ryan@ofsky.org> | 2024-08-05 13:20:21 -0400 |
commit | 69df012e74cd24d9fbacee4104eb83424b055d2e (patch) | |
tree | 445c1986266578fbfb60e5bd882574a7bc4c2958 /src/util/chaintype.h | |
parent | 21c2879f37ce336af6df878d43ab090eb9d02157 (diff) | |
parent | fa530ec54386a3fd56b51e50699b424cc8647821 (diff) |
Merge bitcoin/bitcoin#30497: rpc: Return errors in loadtxoutset that currently go to logs
fa530ec54386a3fd56b51e50699b424cc8647821 rpc: Return precise loadtxoutset error messages (MarcoFalke)
faa5c86dbfec1ed7bdcd6a07316315147a7e87a2 refactor: Use untranslated error message in ActivateSnapshot (MarcoFalke)
Pull request description:
The error messages should never happen in normal operation. However, if
they do, they are helpful to return to the user to debug the issue. For
example, to notice a truncated file.
This fixes https://github.com/bitcoin/bitcoin/issues/28621
Also includes a minor refactor commit.
ACKs for top commit:
fjahr:
Code review ACK fa530ec54386a3fd56b51e50699b424cc8647821
ryanofsky:
Code review ACK fa530ec54386a3fd56b51e50699b424cc8647821, just adjusting error messages a little since last review. (Thanks!)
Tree-SHA512: 224968c9b13d082ca2ed1f6a8fcc5f51ff16d6c96bd38c3679699505b54337b99cccaf7a8474391f6b11f9ccb101977b4e626898c1217eae95802e290cf105f1
Diffstat (limited to 'src/util/chaintype.h')
0 files changed, 0 insertions, 0 deletions