Skip to content

Implement addnode method and test #194

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

Merged
merged 1 commit into from
May 22, 2025

Conversation

GideonBature
Copy link
Contributor

@GideonBature GideonBature commented May 22, 2025

The JSON-RPC method addnode 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 91d2ac1

@tcharding tcharding merged commit dbe6a74 into rust-bitcoin:master May 22, 2025
28 of 29 checks passed
@GideonBature GideonBature deleted the addnode branch May 31, 2025 08:09
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.

2 participants