Skip to content

dcrjson: Add VerifySeedCmd.#1160

Merged
davecgh merged 3 commits intodecred:masterfrom
githubsands:master
Mar 30, 2018
Merged

dcrjson: Add VerifySeedCmd.#1160
davecgh merged 3 commits intodecred:masterfrom
githubsands:master

Conversation

@githubsands
Copy link
Copy Markdown
Contributor

@githubsands githubsands commented Mar 28, 2018

Changes needed for [decred/dcrwallet#1037]

dcrjson/walletsvrcmds.go
dcrjson/walletsvrcmds_test.go
dcrjson/walletsvrresults.go
rpcserver.go

@dajohi
Copy link
Copy Markdown
Member

dajohi commented Mar 28, 2018

Can you please bump the copyright years to 2018 in each file modified?

@githubsands
Copy link
Copy Markdown
Contributor Author

Yeah give me a bit

@davecgh davecgh changed the title Multi: All necessary changes for verifyseed RPC method multi: All necessary changes for verifyseed RPC. Mar 30, 2018

// VerifySeedCmd defines the verifyseed JSON-RPC command.
type VerifySeedCmd struct {
Seed string `json:"seed"`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Commands should not have the json field name overrides because they are positional. Take a look at all of the other type XCmd struct definitions and notice that none of them do so.

@davecgh davecgh changed the title multi: All necessary changes for verifyseed RPC. dcrjson: Add VerifySeedCmd. Mar 30, 2018
@davecgh davecgh merged commit fd99f57 into decred:master Mar 30, 2018
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.

3 participants