Skip to content

Commit

Permalink
chore: add missing requestType field to keystore messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Trottier committed Dec 30, 2019
1 parent 8ff5b35 commit ac000ea
Show file tree
Hide file tree
Showing 6 changed files with 251 additions and 87 deletions.
2 changes: 2 additions & 0 deletions doc/PROTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ Used to submit a request to Keystore RPC

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| requestType | [KSREQTYPE](#pb.KSREQTYPE) | | indicates the request type being performed |
| name | [string](#string) | | name of the key the request is for sent by: KS_HAS, KS_GET, KS_PUT, KS_DELETE |
| privateKey | [bytes](#bytes) | | the actual private key bytes sent by: KS_PUT |

Expand All @@ -538,6 +539,7 @@ Used in response to a Keystore RPC

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| requestType | [KSREQTYPE](#pb.KSREQTYPE) | | indicates the request type being performed |
| privateKey | [bytes](#bytes) | | the private key bytes sent by: KS_GET |
| keyNames | [string](#string) | repeated | contains all known key names sent by: KS_LIST |
| has | [bool](#bool) | | indicates if we have the key in our keystore sent by: KS_HAS |
Expand Down
138 changes: 106 additions & 32 deletions go/keystore.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ac000ea

Please sign in to comment.