Cosmos · Schema

Cosmos SDK tendermint.types.DuplicateVoteEvidence Schemas

JSON Schema definitions for the tendermint.types.DuplicateVoteEvidence module of the Cosmos SDK gRPC-gateway REST API.

BlockchainCosmosIBCStakingGovernanceDeFiWeb3
View JSON Schema on GitHub

JSON Schema

tendermint-types-DuplicateVoteEvidence.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Cosmos SDK tendermint.types.DuplicateVoteEvidence Schemas",
  "description": "JSON Schema definitions for the tendermint.types.DuplicateVoteEvidence module of the Cosmos SDK gRPC-gateway REST API.",
  "definitions": {
    "tendermint.types.DuplicateVoteEvidence": {
      "type": "object",
      "properties": {
        "voteA": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "SIGNED_MSG_TYPE_UNKNOWN",
                "SIGNED_MSG_TYPE_PREVOTE",
                "SIGNED_MSG_TYPE_PRECOMMIT",
                "SIGNED_MSG_TYPE_PROPOSAL"
              ],
              "default": "SIGNED_MSG_TYPE_UNKNOWN",
              "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals"
            },
            "height": {
              "type": "string",
              "format": "int64"
            },
            "round": {
              "type": "integer",
              "format": "int32"
            },
            "blockId": {
              "type": "object",
              "properties": {
                "hash": {
                  "type": "string",
                  "format": "byte"
                },
                "partSetHeader": {
                  "type": "object",
                  "properties": {
                    "total": {
                      "type": "integer",
                      "format": "int64"
                    },
                    "hash": {
                      "type": "string",
                      "format": "byte"
                    }
                  },
                  "title": "PartsetHeader"
                }
              },
              "title": "BlockID",
              "description": "zero if vote is nil."
            },
            "timestamp": {
              "type": "string",
              "format": "date-time"
            },
            "validatorAddress": {
              "type": "string",
              "format": "byte"
            },
            "validatorIndex": {
              "type": "integer",
              "format": "int32"
            },
            "signature": {
              "type": "string",
              "format": "byte",
              "description": "Vote signature by the validator if they participated in consensus for the\nassociated block."
            },
            "extension": {
              "type": "string",
              "format": "byte",
              "description": "Vote extension provided by the application. Only valid for precommit\nmessages."
            },
            "extensionSignature": {
              "type": "string",
              "format": "byte",
              "description": "Vote extension signature by the validator if they participated in\nconsensus for the associated block.\nOnly valid for precommit messages."
            }
          },
          "description": "Vote represents a prevote or precommit vote from validators for\nconsensus."
        },
        "voteB": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "SIGNED_MSG_TYPE_UNKNOWN",
                "SIGNED_MSG_TYPE_PREVOTE",
                "SIGNED_MSG_TYPE_PRECOMMIT",
                "SIGNED_MSG_TYPE_PROPOSAL"
              ],
              "default": "SIGNED_MSG_TYPE_UNKNOWN",
              "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals"
            },
            "height": {
              "type": "string",
              "format": "int64"
            },
            "round": {
              "type": "integer",
              "format": "int32"
            },
            "blockId": {
              "type": "object",
              "properties": {
                "hash": {
                  "type": "string",
                  "format": "byte"
                },
                "partSetHeader": {
                  "type": "object",
                  "properties": {
                    "total": {
                      "type": "integer",
                      "format": "int64"
                    },
                    "hash": {
                      "type": "string",
                      "format": "byte"
                    }
                  },
                  "title": "PartsetHeader"
                }
              },
              "title": "BlockID",
              "description": "zero if vote is nil."
            },
            "timestamp": {
              "type": "string",
              "format": "date-time"
            },
            "validatorAddress": {
              "type": "string",
              "format": "byte"
            },
            "validatorIndex": {
              "type": "integer",
              "format": "int32"
            },
            "signature": {
              "type": "string",
              "format": "byte",
              "description": "Vote signature by the validator if they participated in consensus for the\nassociated block."
            },
            "extension": {
              "type": "string",
              "format": "byte",
              "description": "Vote extension provided by the application. Only valid for precommit\nmessages."
            },
            "extensionSignature": {
              "type": "string",
              "format": "byte",
              "description": "Vote extension signature by the validator if they participated in\nconsensus for the associated block.\nOnly valid for precommit messages."
            }
          },
          "description": "Vote represents a prevote or precommit vote from validators for\nconsensus."
        },
        "totalVotingPower": {
          "type": "string",
          "format": "int64"
        },
        "validatorPower": {
          "type": "string",
          "format": "int64"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time"
        }
      },
      "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes."
    }
  }
}