scripted-diff: rename RetFormat to RESTResponseFormat

As RetFormat is now exposed in a header, it is renamed to the more
understandable RESTResponseFormat
-BEGIN VERIFY SCRIPT-
s() { sed -i 's/RetFormat/RESTResponseFormat/g' $1; }
s src/rest.cpp
s src/rest.h
-END VERIFY SCRIPT-
This commit is contained in:
stickies-v
2022-01-27 21:31:35 +00:00
parent 9f1c54787c
commit c1aad1b3b9
2 changed files with 45 additions and 45 deletions

View File

@@ -7,13 +7,13 @@
#include <string>
enum class RetFormat {
enum class RESTResponseFormat {
UNDEF,
BINARY,
HEX,
JSON,
};
RetFormat ParseDataFormat(std::string& param, const std::string& strReq);
RESTResponseFormat ParseDataFormat(std::string& param, const std::string& strReq);
#endif // BITCOIN_REST_H