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

[PENDING]neutrinorpc: remove getblockhash #7699

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ErikEk
Copy link
Contributor

@ErikEk ErikEk commented May 16, 2023

Removes the getblockhash function from the neutrino sub-server. The functionality and endpoint has been moved to the chainrpc sub-server in 0.16.

Waiting for lnd 0.18 or 0.19...

@ErikEk ErikEk force-pushed the neutrinorpc-getblockhash-remove branch 2 times, most recently from ea9bb8e to e95f05d Compare May 16, 2023 04:17
Copy link
Collaborator

@yyforyongyu yyforyongyu left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Not sure if we could remove an RPC like this. Maybe we need to first deprecate it in one release and then remove it in the next following release?

docs/release-notes/release-notes-0.17.0.md Outdated Show resolved Hide resolved
@ErikEk
Copy link
Contributor Author

ErikEk commented May 17, 2023

@yyforyongyu Ok, I will write a pr to deprecate it for 0.17 and remove it for 0.18 or 0.19 then. Just assumed we could get rid of it because it hasnt been in the code base for very long.
Thanks for your input.

@ErikEk
Copy link
Contributor Author

ErikEk commented May 18, 2023

@yyforyongyu Or actually... the reason I removed it was because it has already been removed from the lncli interface (https://github.com/lightningnetwork/lnd/blob/2fd40d16f1ec7a93d17870d27dfc3d488d34a7c9/cmd/lncli/neutrino_active.go#LL238C5-L243C23). Still want to me to deprecate it?

@ErikEk ErikEk force-pushed the neutrinorpc-getblockhash-remove branch from e95f05d to 337535b Compare May 18, 2023 07:26
@ErikEk ErikEk force-pushed the neutrinorpc-getblockhash-remove branch from 337535b to c0a5397 Compare May 18, 2023 07:33
@guggero
Copy link
Collaborator

guggero commented May 19, 2023

Yeah, if a mobile app developer already started using this after updating to 0.16, it would be a bit premature to remove it again in 0.17, even if there's an alternative.

@ErikEk
Copy link
Contributor Author

ErikEk commented May 20, 2023

@guggero @yyforyongyu Deprecated neutrinorpc getblockhash in #7712.

@ErikEk ErikEk marked this pull request as draft May 20, 2023 06:15
@Roasbeef Roasbeef added rpc Related to the RPC interface neutrino Lightweight neutrino backend-type labels May 23, 2023
@ErikEk ErikEk changed the title neutrinorpc: remove getblockhash [PENDING]neutrinorpc: remove getblockhash Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
neutrino Lightweight neutrino backend-type rpc Related to the RPC interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants