Skip to content

Conversation

GideonBature
Copy link
Contributor

@GideonBature GideonBature commented May 25, 2025

The JSON-RPC method clearbanned returns a null. We would like to test this in case a later version of Core changes this behaviour.

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 42c1e22

@tcharding tcharding merged commit e6f1f97 into rust-bitcoin:master May 27, 2025
29 checks passed
@GideonBature GideonBature deleted the clearbanned branch May 31, 2025 08:09
blaze-smith470pm added a commit to blaze-smith470pm/corepc that referenced this pull request Sep 26, 2025
42c1e2295a47bc4e8e0f71c0f707dcc8eaa0f505 Implement clearbanned method and test (GideonBature)

Pull request description:

  Going by the conversations with tcharding for PR [#116 ](rust-bitcoin/corepc#116) on implementing one method at a time for easier review: This is the clearbanned method which is a specific type that returns a (json null). Once this is approved, I’ll proceed with the next one.

ACKs for top commit:
  tcharding:
    ACK 42c1e2295a47bc4e8e0f71c0f707dcc8eaa0f505

Tree-SHA512: 24b86868139c63d682423e93b362dcb930b4d2ed909b099786612b8a52c2ba993c8323b2332aa45e6c58097a412187e07508fc847ab228dc09499e301b3b3fb2
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