Skip to content

Conversation

ukane-philemon
Copy link
Contributor

@ukane-philemon ukane-philemon commented Jun 2, 2022

This adds new values to RPC server version return. Closes #1151

  • add dexc version to rpc server version return value
  • add supported RPC version to dexcctl.
  • change dexc RPC server version return to a json object
  • Edit: update rpc version handler test
$ ./dexcctl version
{
  "rpcServerVersion": {
    "Major": 0,
    "Minor": 2,
    "Patch": 0
  },
  "dexcVersion": {
    "versionString": "0.5.0-pre+9763b71bb",
    "major": 0,
    "minor": 5,
    "patch": 0,
    "prerelease": "pre",
    "buildMetadata": "9763b71bb.go1-18"
  }
}
$ ./dexcctl -V
dexcctl version 0.5.0-pre+9763b71bb (Go version go1.18 linux/amd64)
dexcctl required RPC server version: 0.2.0

ukane-philemon added 2 commits June 2, 2022 21:51
- add dexc version to rpc server version return value
- change dexc rpc server version return to a json object
Copy link
Member

@JoeGruffins JoeGruffins left a comment

Choose a reason for hiding this comment

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

Looks perfect to me.

Copy link
Member

@chappjc chappjc left a comment

Choose a reason for hiding this comment

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

Seems good. A few minor things.

@chappjc chappjc merged commit 2b63a55 into decred:master Jun 7, 2022
@chappjc chappjc added this to the 0.5 milestone Jun 13, 2022
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.

dexcctl: Add supported rpc version.
3 participants