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

Add dumptxoutset #359

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

NTL00068
Copy link

@NTL00068 NTL00068 commented Jun 4, 2024

Added dumptxout rpc call.
This call encounters JsonRpc(Transport(SocketError(Os { code: 35, kind: WouldBlock, message: "Resource temporarily unavailable" }))) error if used on a default client connected to mainnet due to the time it takes to complete the process.
Simple workaround consists of creating the client through bitcoincore_rpc::jsonrpc::simple_http::Builder with an increased timeout parameter.
It must be noted that the aforementioned rpc error does not affect the process of creating the dump file by bitcoincore.

@NTL00068 NTL00068 closed this Jun 4, 2024
@NTL00068
Copy link
Author

NTL00068 commented Jun 4, 2024

This rpc call was added from version 26.0. Hence, not supported by the versions targeted by this crate.

@NTL00068 NTL00068 reopened this Jun 4, 2024
@luisschwab
Copy link

#365 fixes this timeout problem

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.

2 participants