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.

32 lines
838 B

  1. syntax = "proto3";
  2. package tendermint.types;
  3. option go_package = "github.com/tendermint/tendermint/proto/tendermint/types";
  4. import "gogoproto/gogo.proto";
  5. import "tendermint/types/types.proto";
  6. // DuplicateVoteEvidence contains evidence a validator signed two conflicting
  7. // votes.
  8. message DuplicateVoteEvidence {
  9. Vote vote_a = 1;
  10. Vote vote_b = 2;
  11. }
  12. message LightClientAttackEvidence {
  13. LightBlock conflicting_block = 1;
  14. int64 common_height = 2;
  15. }
  16. message Evidence {
  17. oneof sum {
  18. DuplicateVoteEvidence duplicate_vote_evidence = 1;
  19. LightClientAttackEvidence light_client_attack_evidence = 2;
  20. }
  21. }
  22. // EvidenceData contains any evidence of malicious wrong-doing by validators
  23. message EvidenceData {
  24. repeated Evidence evidence = 1 [(gogoproto.nullable) = false];
  25. bytes hash = 2;
  26. }