Skip to content

rpcclient: add ListLabels RPC using RawRequest#2484

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

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

Conversation

@studentyashsrivastava
Copy link

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.

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

Comments