Skip to content

rpcclient: add ListLabels RPC using RawRequest#2484

Open
studentyashsrivastava wants to merge 1 commit into
btcsuite:masterfrom
studentyashsrivastava:rpcclient-listlabels
Open

rpcclient: add ListLabels RPC using RawRequest#2484
studentyashsrivastava wants to merge 1 commit into
btcsuite:masterfrom
studentyashsrivastava:rpcclient-listlabels

Conversation

@studentyashsrivastava
Copy link
Copy Markdown

Change Description

Adds a ListLabels() helper to rpcclient using RawRequest.

This allows callers to access the listlabels RPC without modifying or
removing the existing account-based helpers and avoids introducing any
breaking changes.

This follows the RawRequest approach discussed in #1974.

Steps to Test

Build the project:
go build ./...

Run all tests:
go test ./...

Pull Request Checklist

Testing

  • [✔] Your PR passes all CI checks.
  • Tests covering the positive and negative (error paths) are included.
  • Bug fixes contain tests triggering the bug to prevent regressions.

Code Style and Documentation

📝 Please see our Contribution Guidelines for further guidance.

@studentyashsrivastava
Copy link
Copy Markdown
Author

any suggestions on what you need since its not reviewed for long time?

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.

1 participant