Skip to content

feature(rpc): Extend getinfo#9261

Merged
mergify[bot] merged 7 commits into
mainfrom
extend-getinfo
Feb 18, 2025
Merged

feature(rpc): Extend getinfo#9261
mergify[bot] merged 7 commits into
mainfrom
extend-getinfo

Conversation

@oxarbitrage

Copy link
Copy Markdown
Contributor

Motivation

Close #8448

Solution

Add fields needed.

Tests

Existing tests were updated where needed.

Follow-up Work

PR Author's Checklist

  • The PR name will make sense to users.
  • The PR provides a CHANGELOG summary.
  • The solution is tested.
  • The documentation is up to date.
  • The PR has a priority label.

PR Reviewer's Checklist

  • The PR Author's checklist is complete.
  • The PR resolves the issue.

@oxarbitrage oxarbitrage added A-rpc Area: Remote Procedure Call interfaces P-Medium ⚡ labels Feb 17, 2025
@oxarbitrage oxarbitrage self-assigned this Feb 17, 2025
@oxarbitrage oxarbitrage requested review from a team as code owners February 17, 2025 15:07
@oxarbitrage oxarbitrage requested review from upbqdn and removed request for a team February 17, 2025 15:07
@github-actions github-actions Bot added the C-feature Category: New features label Feb 17, 2025
@arya2 arya2 self-requested a review February 17, 2025 22:31
@arya2

arya2 commented Feb 18, 2025

Copy link
Copy Markdown
Contributor

This looks good and should work, thank you for these changes.

I opened a suggestion PR (#9262) for replacing the new Mutex with a watch channel, it may not be terribly useful if you want to skip merging it, but it would be nice to have fewer Mutexes.

@mergify mergify Bot merged commit 5cf5178 into main Feb 18, 2025
@mergify mergify Bot deleted the extend-getinfo branch February 18, 2025 03:23
elijahhampton pushed a commit to elijahhampton/zebra that referenced this pull request Feb 25, 2025
* introduce new fields to `GetInfo`

* add address book to methods for getinfo connections field

* add the version field to getinfo

* track last node error or warning and display it in getinfo rpc method

* add the rest of the fields, minor cleanup

* fix the tests

* clippy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rpc Area: Remote Procedure Call interfaces C-feature Category: New features P-Medium ⚡

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update getinfo RPC method

2 participants