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

RPC-API: add getinfo endpoint. #1532

Merged
merged 1 commit into from
Aug 12, 2023
Merged

RPC-API: add getinfo endpoint. #1532

merged 1 commit into from
Aug 12, 2023

Conversation

AdamISZ
Copy link
Member

@AdamISZ AdamISZ commented Aug 11, 2023

This commit creates a new endpoint /getinfo which currently returns only the version of Joinmarket (JM_CORE_VERSION) running in the backend joinmarketd. In future commits the returned dict may add more information, for example the current block height of the connected Bitcoin Core node.

Additionally, this commit fixes the response type of the /rescanblockchain endpoint as defined in the OpenAPI spec.

docs/api/wallet-rpc.yaml Outdated Show resolved Hide resolved
This commit creates a new endpoint /getinfo which currently returns only
the version of Joinmarket (JM_CORE_VERSION) running in the backend
joinmarketd. In future commits the returned dict may add more
information, for example the current block height of the connected
Bitcoin Core node.

Additionally, this commit fixes the response type of the
/rescanblockchain endpoint as defined in the OpenAPI spec.
Copy link
Member

@kristapsk kristapsk left a comment

Choose a reason for hiding this comment

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

utACK c9f6ac8

@roshii
Copy link
Contributor

roshii commented Aug 12, 2023

tACK c9f6ac8

@kristapsk kristapsk merged commit 0fa5e85 into master Aug 12, 2023
40 checks passed
@AdamISZ AdamISZ deleted the rpc-getinfo-endpoint branch August 20, 2023 15:01
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