Skip to content
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

rpcclient: Add net params to Client #1467

Merged
merged 2 commits into from
Mar 5, 2020

Conversation

Rjected
Copy link
Collaborator

@Rjected Rjected commented Sep 7, 2019

Adds a chaincfg.Params to rpcclient.Client to allow for net-specific RPC commands to be called.

Removes a multiple type () definition for consistency.

Fixes #1466

Adds a chaincfg.Params to the Client

rpcclient: parse config to assign params
@Rjected Rjected changed the title rpcclient: Add net params to Client (fix rpcclient: Add net params to Client (fix #1466) Sep 7, 2019
@Rjected Rjected changed the title rpcclient: Add net params to Client (fix #1466) rpcclient: Add net params to Client Sep 7, 2019
Copy link
Contributor

@torkelrogstad torkelrogstad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition!

rpcclient/wallet.go Outdated Show resolved Hide resolved
 * Change address future struct to contain a network field, so futures
   can return the correct type for Receive
@nostdm
Copy link

nostdm commented Jan 17, 2020

What's the status of this change being marged into master?

@tiger5226
Copy link

tiger5226 commented Feb 3, 2020

We still need it at @lbryio , we have to fork it...

@torkelrogstad
Copy link
Contributor

@Roasbeef this PR is fairly well reviewed, and looks like it is needed by quite a large number of people in the community. Would it be possible to get this merged?

@Rjected
Copy link
Collaborator Author

Rjected commented Mar 3, 2020

@jcvernaleo I think this is an important PR, can you take a look?

@jakesylvestre
Copy link
Collaborator

Agree - definitely a high priority issue

@jakesylvestre
Copy link
Collaborator

jakesylvestre commented Mar 4, 2020

@jcvernaleo (as per #1530)

  • high priority
  • bug

Copy link
Member

@jcvernaleo jcvernaleo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.
OK

@jcvernaleo jcvernaleo merged commit e9f15ed into btcsuite:master Mar 5, 2020
@Rjected Rjected mentioned this pull request May 12, 2020
@Rjected Rjected mentioned this pull request Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GetNewAddress uses hardcoded network value
6 participants