Skip to content

Clarify blocking behavior of ElectrumClient construction #1037

Description

@reez

ElectrumClient::new in the generated bindings performs blocking network I/O because bdk-ffi constructs the upstream electrum_client::Client immediately.

This issue is to talk about whether bdk-ffi should document that behavior more explicitly, or expose a clearer config/connect API so downstream mobile bindings can avoid UI-thread/main-isolate misuse without diverging per language, etc.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions