add frigate to detected electrum server capabilities list
What changed, and why it matters
This commit adds 'frigate' to the list of Electrum server software names that Sparrow Wallet recognizes. It is a straightforward compatibility update: when Sparrow connects to a server identifying itself as 'frigate', it will now treat it like other supported servers and enable the same features. There is no security fix or vulnerability here.
No security action needed. Review as a normal feature/compatibility addition.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff inserts one new branch in ElectrumServer.java’s capability detection logic. If the server’s version string starts with ‘frigate’, Sparrow returns ServerCapability(true, true), meaning it marks the server as supporting batching and a specific protocol feature. This mirrors existing handling for ‘electrs’ and ‘cormorant’. No cryptographic, network, or input-validation code is changed.
Changed components
src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.javaInspect captured patch +4 / −0
diff --git a/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java b/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java
index c262e3b..3c089ee 100644
--- a/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java
+++ b/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java
@@ -1258,6 +1258,10 @@ public class ElectrumServer {
return new ServerCapability(true, true);
}
+ if(server.startsWith("frigate")) {
+ return new ServerCapability(true, true);
+ }
+
if(server.startsWith("cormorant")) {
return new ServerCapability(true, false, true, false);
}
Why this scored 16/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.