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

Consider adding support for tracing #1934

Open
torkelrogstad opened this issue Feb 14, 2025 · 0 comments
Open

Consider adding support for tracing #1934

torkelrogstad opened this issue Feb 14, 2025 · 0 comments
Labels
new feature New feature or request

Comments

@torkelrogstad
Copy link
Contributor

Describe the enhancement
It'd be great if support for tracing/logs in general could be added to BDK. It's currently very hard to understand what's happening under the hood when debugging performance issues or error messages.

It'd be fantastic if BDK could integrate the tracing framework.

Use case
In the last few days I've had two distinct issues pop up where I'd love to have better insight into what's going on:

  1. Esplora sync fails. A request sent to my Esplora backend failed with a decode error, and all I'm getting is this: Reqwest(reqwest::Error { kind: Decode, source: Error(\"failed to parse hex\", line: 1, column: 9007) })"}. Without any further logs that indicate more as to what's going wrong, it's very hard to debug this
  2. Performance issues with large wallets. I have a large signet wallet, currently sitting at around 30 000 UTXOs. Constructing transactions here is now taking an unacceptable amount of time. I'm working on enhancements on my end wrt. how data is persisted, but again I have very little to go on. It's impossible to see which operations are taking how much time, for example.
@nymius nymius added the new feature New feature or request label Feb 20, 2025
@notmandatory notmandatory moved this to Discussion in BDK Wallet Mar 6, 2025
@notmandatory notmandatory moved this to Discussion in BDK Chain Mar 6, 2025
@notmandatory notmandatory transferred this issue from bitcoindevkit/bdk Apr 7, 2025
@notmandatory notmandatory removed this from BDK Wallet Apr 7, 2025
@notmandatory notmandatory transferred this issue from bitcoindevkit/bdk_wallet Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
Status: Discussion
Development

No branches or pull requests

2 participants