[dashpay/dash] add compressed option to `masternode genkey` (#2232)

This allows anyone to generate / display compressed private keys using `masternode genkey`. Prior to this change only the uncompressed format is displayed.

I don’t like the «string that looks like bool» option but I’ve tried and unsure how else to get this to a true bool since `genkey` is a subcommand. Might have to change the help text to reflect this, I’m up for suggestions.
You can view, comment on, or merge this pull request online at:

https://github.com/dashpay/dash/pull/2232

— Commit Summary —

* add compressed option to `masternode genkey`

— File Changes —

M src/rpc/masternode.cpp (9)

— Patch Links —

https://github.com/dashpay/dash/pull/2232.patch
https://github.com/dashpay/dash/pull/2232.diff

Добавить комментарий