Suggestion for a “good first issue”:
Investigate potential lifetime issues in cases where we are returning const std::string&
.
Candidates:
0$ git grep -E '^(const|static| )*std::string *&+[^=)]+\(' \
1 -- "*.cpp" "*.h" ":(exclude)src/univalue/"
Questions:
- Which of these have lifetime issues and need to be fixed?
- In the cases which do not have lifetime issues: is returning by
const std::string&
justified?