Skip to content

Fix invalid json#4

Merged
lploom merged 1 commit intomainfrom
fix-json
Mar 30, 2026
Merged

Fix invalid json#4
lploom merged 1 commit intomainfrom
fix-json

Conversation

@lploom
Copy link
Copy Markdown
Contributor

@lploom lploom commented Mar 30, 2026

No description provided.

@lploom lploom requested a review from MastaP March 30, 2026 11:20
@lploom lploom linked an issue Mar 30, 2026 that may be closed by this pull request
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request enables position-independent code in the CMake configuration and updates the RPC server to return block hashes as quoted JSON strings for the getblockhash and getbestblockhash commands. Additionally, integration tests were updated to include JSON parsing and a new test case was added to verify error handling for out-of-range block heights. I have no feedback to provide.

@lploom lploom merged commit 285d9ad into main Mar 30, 2026
3 checks passed
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.

getblockhash returns invalid json

2 participants