-
Notifications
You must be signed in to change notification settings - Fork 254
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
Add missing networking RPC calls. #171
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Would be awesome if you could also add the methods to our integration testsuite so we can automatically test compatibility with supported versions of bitcoind.
I now added the integration tests as far as I could without spawning another bitcoind instance (which would for example become necessary to in order fully test the functionality of the On the way fixed a small bug with the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
I might hold off merging this till #195 is merged so we have CI again. I'd also like a second review, will beg for that on IRC once CI is running again. |
Will review once rebased on #195 :) Please ping me if I don't. |
Finally rebased! 😄 (@0xB10C) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
crACK 537fa9e modulo missing function documentation and #171 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure about conventions for this repo, but you could probably squash your commits into one
45442ee
to
585dfdd
Compare
Thanks for the review! Squashed now. |
utACK 585dfdd |
It looks there are some issues in the CI |
Bitcoin Core needs to be connected to at least one peer when calling |
I fiddled around with re-connecting the peer, but finally found that it's much simpler and cleaner to move the network tests to the end of the integration tests, so that it doesn't matter if the peer isn't connected anymore afterwards. So it should be fixed now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 150953a
going to merge tomorrow if there isn't any comment from someone else (feel free to ping me if I don't)
This pull request adds the missing networking RPC calls (cf. API).
I locally tested the calls in regtest as far as I could, looks like they behave as expected.