Class ValidatorKey


  • public abstract class ValidatorKey
    extends Object
    Public keys of validator nodes.
    • Constructor Detail

      • ValidatorKey

        public ValidatorKey()
    • Method Detail

      • consensusKey

        @SerializedName("consensus_key")
        public abstract PublicKey consensusKey()
        Consensus key is used for messages related to the consensus algorithm.
      • serviceKey

        @SerializedName("service_key")
        public abstract PublicKey serviceKey()
        Service key is used for services, for example, the configuration updater service.
      • typeAdapter

        public static com.google.gson.TypeAdapter<ValidatorKey> typeAdapter​(com.google.gson.Gson gson)
        Provides a Gson type adapter for this class.
        See Also:
        CommonTypeAdapterFactory