Skip to content

rpc: remove unimplemented GetHeaders endpoint (#806)#925

Open
atharaldsen wants to merge 1 commit into
kaspanet:masterfrom
atharaldsen:remove-get-headers-rpc
Open

rpc: remove unimplemented GetHeaders endpoint (#806)#925
atharaldsen wants to merge 1 commit into
kaspanet:masterfrom
atharaldsen:remove-get-headers-rpc

Conversation

@atharaldsen
Copy link
Copy Markdown
Contributor

Summary

  • Removes the GetHeaders RPC endpoint which was never implemented (always returned NotImplemented)
  • Cleans up all references across RPC core, gRPC, wRPC, WASM, CLI, tests, and mocks (20 files, -211 lines)

As discussed in #806, this endpoint has no clear use case that isn't already covered by getVirtualChainFromBlock. Removing it reduces API surface confusion.

Closes #806.

Test plan

  • cargo check passes
  • cargo clippy --workspace --tests --benches passes clean
  • cargo fmt --check passes
  • No runtime behavior changes (endpoint was never functional)

The GetHeaders RPC endpoint was never implemented and always
returned NotImplemented. Remove it across all layers to reduce
API surface confusion.
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.

rpc: get headers isn't implemented

1 participant