syncServerStatus method

  1. @override
Future<SyncServerStatus> syncServerStatus()
override

Which server the wallet dials, which remembered choice produced it, and whether a fallback is in force — the connection's own truth, which is what the sync sheet's Server row renders (host only, never the URL).

Implementation

@override
Future<SyncServerStatus> syncServerStatus() async {
  if (syncServerStatusThrows != null) throw syncServerStatusThrows!;
  return syncServerStatusResult ??
      const SyncServerStatus(
        effectiveUrl: 'https://zec.rocks:443',
        defaultUrl: 'https://zec.rocks:443',
        choice: null,
        fallback: null,
      );
}