Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/walletBackend/utils/walletUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export async function walletExists(): Promise<boolean> {

// Runs before every wallet init. A custom (off-registry) server pins migration
// transmission to itself, since no registry pool applies. A registry server
// leaves it unset so the library's curated Correspondent pool, which excludes
// leaves it unset so the library's curated Destination pool, which excludes
// the sync operator, routes instead.
async function applyBroadcastCandidates(
serverUri: string,
Expand Down
8 changes: 4 additions & 4 deletions rust/lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ fn ffi_error(e: LightClientError) -> ZingolibError {
LightClientError::MixnetNotReady(_) | LightClientError::ProbeRequiresMixnet => {
ZingolibError::Mixnet(text)
}
// A deliberate verdict (#1229): exhausting the eligible Correspondents
// A deliberate verdict (#1229): exhausting the eligible Destinations
// is a server-topology problem, not a mixnet refusal — switching the
// synchronization endpoint changes eligibility, so the app's
// switch-and-retry routing can genuinely help. Mapping it to Mixnet
Expand Down Expand Up @@ -350,7 +350,7 @@ lazy_static! {
}

// An optional dedicated migration-transmission endpoint, read at every client
// construction. The library owns the curated Correspondent pool and always
// construction. The library owns the curated Destination pool and always
// excludes the synchronization operator (ADR 0022), so a mixnet migration works
// without any app input. `Some` names one dedicated endpoint distinct from the
// sync operator; `None` (the default) lets the library draw its curated pool.
Expand Down Expand Up @@ -610,7 +610,7 @@ fn build_client_config(
None => builder,
};
// Point migration transmission at a dedicated endpoint when the app set
// one. Absent it, the library draws its curated Correspondent pool.
// one. Absent it, the library draws its curated Destination pool.
let migration_uri = MIGRATION_TRANSMISSION_URI
.read()
.ok()
Expand All @@ -626,7 +626,7 @@ fn build_client_config(
/// client construction — `{ transmissionUri: "<uri>" }` names one endpoint
/// distinct from the sync operator, while `null`, `{}`, or the legacy
/// `{ candidates, allowSyncEndpoint }` shape clears it so the library's
/// embedded curated Correspondent pool, which always excludes the
/// embedded curated Destination pool, which always excludes the
/// synchronization operator, routes instead.
pub fn set_broadcast_candidates(candidates_json: String) -> Result<String, ZingolibError> {
let parsed = json::parse(&candidates_json)
Expand Down
Loading