rpc: add missing string_view include to server.h
What changed, and why it matters
This is a routine code-cleanup change: it adds a missing #include <string_view> to a header file so it no longer depends on other headers to provide the std::string_view type. It does not change any program behavior or fix a security bug.
No security action needed; treat as normal build/maintenance cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit adds a direct #include
Changed components
src/rpc/server.hInspect captured patch +1 / −0
diff --git a/src/rpc/server.h b/src/rpc/server.h
index 5355c320..1c739640 100644
--- a/src/rpc/server.h
+++ b/src/rpc/server.h
@@ -13,6 +13,7 @@
#include <functional>
#include <map>
#include <string>
+#include <string_view>
#include <univalue.h>
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.