Skip to content

Conversation

GideonBature
Copy link
Contributor

The JSON-RPC method ping does return null. We want to test this to catch any changes in behavior in future Core versions.

This PR adds a client function that errors if the return value is anything other than null, along with an integration test that calls this function.

Ref: #116

Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

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

ACK 8b1f578

@tcharding tcharding merged commit a6841a9 into rust-bitcoin:master Jun 1, 2025
29 checks passed
@tcharding
Copy link
Member

Grinding them out! Well done, keep at it.

@GideonBature
Copy link
Contributor Author

Thank you!!!

@GideonBature GideonBature deleted the ping branch June 14, 2025 09:20
blaze-smith470pm added a commit to blaze-smith470pm/corepc that referenced this pull request Sep 26, 2025
8b1f5782afd21aba158fe1b23103997067e414c5 Implement ping method and test (GideonBature)

Pull request description:

  The JSON-RPC method `ping` does return null. We want to test this to catch any changes in behavior in future Core versions.

  This PR adds a client function that errors if the return value is anything other than `null`, along with an integration test that calls this function.

  Ref: [#116](rust-bitcoin/corepc#116)

ACKs for top commit:
  tcharding:
    ACK 8b1f5782afd21aba158fe1b23103997067e414c5

Tree-SHA512: c2626a22f96179e22154a8830a53d6b2568c959515244445dc6481572bde8f45ea9eec16f82bafa19ad8c31814c49d6ccf2e3d0a1d279191548e420d3d15d55d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants