You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
288 B

  1. package secp256k1
  2. import (
  3. tmjson "github.com/tendermint/tendermint/libs/json"
  4. )
  5. const (
  6. PrivKeyName = "tendermint/PrivKeySecp256k1"
  7. PubKeyName = "tendermint/PubKeySecp256k1"
  8. )
  9. func init() {
  10. tmjson.RegisterType(PubKey{}, PubKeyName)
  11. tmjson.RegisterType(PrivKey{}, PrivKeyName)
  12. }