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

feat(client): add async and blocking clients to submit txs package #114

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

Conversation

acidbunny21
Copy link

@acidbunny21 acidbunny21 commented Jan 22, 2025

Counterpart PR for Blockstream/electrs#119 to enable submitpackage API

src/api.rs Outdated Show resolved Hide resolved
src/api.rs Outdated

#[derive(Deserialize, Debug)]
pub struct MempoolFeesSubmitPackage {
pub base: f64,

Choose a reason for hiding this comment

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

What is base here?
Can you leave a comment

src/async.rs Outdated Show resolved Hide resolved
src/blocking.rs Outdated Show resolved Hide resolved
Copy link

@stevenroose stevenroose left a comment

Choose a reason for hiding this comment

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

looks good, let just some nits. can confirm that the calls match the endpoint added in my pr on esplora (Blockstream/electrs#119)

src/blocking.rs Outdated Show resolved Hide resolved
src/blocking.rs Outdated Show resolved Hide resolved
src/blocking.rs Outdated Show resolved Hide resolved
@acidbunny21 acidbunny21 force-pushed the submit-tx-pkg-clients branch from 9f5a8f6 to 6a22216 Compare January 23, 2025 13:39
@acidbunny21 acidbunny21 force-pushed the submit-tx-pkg-clients branch from 6a22216 to 01fb9c9 Compare January 23, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants