Add gRPC SeedService. #449

Merged
merged 5 commits into from Dec 8, 2016

Projects

None yet

2 participants

@jrick
Member
jrick commented Dec 8, 2016

This adds a new SeedService to the gRPC server to generate quality
random seed in binary, hex, and mnemonic word list encodings, and
decode human-readable seed formats back into binary so they can be
used in other gRPC request messages.

The Go APIs have also been significantly improved. The pgpwordlist
package no longer has any notion of a checksum and only exists to
encode and decode directly to and from the PGP word list encoding. A
new walletseed package, inspired by the WalletSeed class from
Paymetheus, has been added to encode and decode seeds using the
checksummed mnemonic encoding.

Closes #448.

jrick added some commits Dec 8, 2016
@jrick jrick Add gRPC SeedService.
This adds a new SeedService to the gRPC server to generate quality
random seed in binary, hex, and mnemonic word list encodings, and
decode human-readable seed formats back into binary so they can be
used in other gRPC request messages.

The Go APIs have also been significantly improved.  The pgpwordlist
package no longer has any notion of a checksum and only exists to
encode and decode directly to and from the PGP word list encoding.  A
new walletseed package, inspired by the WalletSeed class from
Paymetheus, has been added to encode and decode seeds using the
checksummed mnemonic encoding.

Closes #448.
edf5d03
@jrick jrick fix 0bf36dc
@jrick jrick better comment 72cf797
@jrick jrick Fix type, slice lengths are ints. 48cfe25
@jrick jrick fix 0b34142
@alexlyp
alexlyp approved these changes Dec 8, 2016 View changes

tACK, tested with new decrediton api/actions

@jrick jrick merged commit 1af06a6 into decred:master Dec 8, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@jrick jrick deleted the jrick:seedservice branch Dec 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment