Skip to content

example_cli: use bdk_tx to create PSBTs #1894

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ValuedMammal
Copy link
Collaborator

This PR is intended to be used for testing transaction creation using "bdk-tx" which is still a new and mostly untested project. I may also use this as a place to collect any issues or findings that come up during testing.

builds on #1840

Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

@ValuedMammal ValuedMammal self-assigned this Mar 16, 2025
Copy link

@aagbotemi aagbotemi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ValuedMammal, thanks for your hard work on this PR

@@ -87,7 +87,7 @@ impl EsploraArgs {
#[derive(Parser, Debug, Clone, PartialEq)]
pub struct ScanOptions {
/// Max number of concurrent esplora server requests.
#[clap(long, default_value = "5")]
#[clap(long, default_value = "2")]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the default value of concurrent request is good at 5. While lower value might reduce the risk of overloading the system, using 5 allows more operation to run in parallel, and make a process to complete faster, which will help to improve overall performace.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @aagbotemi Since this was part of #1840 I left it as is. The option is configurable from the command line and if the default turns out to be too slow, we can change it back.

@ValuedMammal ValuedMammal force-pushed the example/cli-build-psbt branch from ddc0225 to 0c55a8d Compare March 20, 2025 17:43
@ValuedMammal ValuedMammal changed the title example_cli: use bdk_tx Builder to create PSBTs example_cli: use bdk_tx to create PSBTs Apr 15, 2025
@notmandatory notmandatory moved this to In Progress in BDK Chain Apr 23, 2025
@ValuedMammal ValuedMammal force-pushed the example/cli-build-psbt branch from 0c55a8d to c397fae Compare May 16, 2025 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants