bitcoindevkit / bitcoindevkit/bdk-ffi

Clarify blocking behavior of ElectrumClient construction

Open
#1,037 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
127
Forks
81
Avg merge
1d 2h
Merged PRs (30d)
5

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at ElectrumClient::new in the generated bindings and trace where bdk-ffi constructs the upstream electrum_client::Client. Determine whether explicit blocking documentation or a config/connect API best prevents mobile UI-thread or main-isolate misuse; done means a settled approach with its downstream binding implications recorded.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, rust, swift
Domain
api, documentation, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.