bitcoindevkit / bitcoindevkit/bdk-ffi
Handle Kyoto node thread startup and exit failures
- Dominant language
- Rust
- Stars
- 127
- Forks
- 81
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 5
Description
`CbfNode::run` currently builds a Tokio runtime with `unwrap()` and discards the result of `node.run().await`.
This can abort the process when runtime setup fails and reduces terminal node errors like `NoReachablePeers` to a generic `NodeStopped`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at CbfNode::run and inspect how the Tokio runtime is built and how node.run().await returns its result. Trace the startup and terminal error paths, then add or update the relevant tests if present. Done means runtime setup failures are handled without aborting the process and node errors such as NoReachablePeers remain visible instead of becoming NodeStopped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100