Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc-only] Minor documentation fix and clarification for the data API #1608

Merged
merged 1 commit into from
Nov 4, 2024
Merged
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
8 changes: 4 additions & 4 deletions zcash_client_backend/src/data_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,8 @@ pub trait WalletRead {
/// the maximum index).
///
/// If `index_range` is some `Range`, it limits the result to addresses with indices
/// in that range.
/// in that range. An `index_range` of `None` is defined to be equivalent to
/// `0..(1u32 << 31)`.
///
/// Wallets should scan the chain for UTXOs sent to these ephemeral transparent
/// receivers, but do not need to do so regularly. Under expected usage, outputs
Expand Down Expand Up @@ -1245,9 +1246,8 @@ pub trait WalletRead {
}

/// If a given ephemeral address might have been reserved, i.e. would be included in
/// the map returned by `get_known_ephemeral_addresses(account_id, false)` for any
/// of the wallet's accounts, then return `Ok(Some(account_id))`. Otherwise return
/// `Ok(None)`.
/// the result of `get_known_ephemeral_addresses(account_id, None)` for any of the
/// wallet's accounts, then return `Ok(Some(account_id))`. Otherwise return `Ok(None)`.
///
/// This is equivalent to (but may be implemented more efficiently than):
/// ```compile_fail
Expand Down
Loading