Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Introduce WalletAccountReference type #227

Merged
merged 1 commit into from
Jul 13, 2017

Conversation

NicolasDorier
Copy link
Contributor

The pair accountname and walletname will often travel together, this make sense to create a value object to bundle them together instead of passing them as individual string.

@NicolasDorier NicolasDorier force-pushed the walletaccountref branch 3 times, most recently from 18a5481 to d387b09 Compare July 13, 2017 06:07
{
//TODO: Support multi wallet like core by mapping passed RPC credentials to a wallet/account
Copy link
Contributor

Choose a reason for hiding this comment

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

An option is pass to the RPC a wallet and accoumt names and if null default to first()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The goal of RPC controller is to be compatible with what has been developped for core. Else I would use WalletController
Core is using RPC creds for mapping to right wallet.

@dangershony dangershony merged commit 21c0d30 into stratisproject:master Jul 13, 2017
codingupastorm pushed a commit to codingupastorm/StratisBitcoinFullNode that referenced this pull request Mar 4, 2020
…ng-mining-tests

[Cleanup] Remove obvious staking and mining tests
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants