evmos.proto.autogen.py.tendermint.types
Classes
|
|
|
BlockID |
|
BlockIdFlag indicates which BlcokID the signature is for |
|
|
|
BlockParams contains limits on the block size. |
|
Commit contains the evidence that a block was committed by a set of validators. |
|
CommitSig is a part of the Vote included in a Commit. |
|
ConsensusParams contains consensus critical parameters that determine the validity of blocks. |
|
Data contains the set of transactions included in the block |
|
DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. |
|
|
|
|
|
EvidenceParams determine how we handle evidence of malfeasance. |
|
HashedParams is a subset of ConsensusParams. |
|
Header defines the structure of a Tendermint block header. |
|
|
|
LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. |
|
|
|
PartsetHeader |
|
|
|
|
|
SignedMsgType is a type of signed message in the consensus. |
|
|
|
TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. |
|
|
|
ValidatorParams restrict the public key types validators can use. |
|
|
|
VersionParams contains the ABCI application version. |
|
Vote represents a prevote, precommit, or commit vote from validators for consensus. |
- class evmos.proto.autogen.py.tendermint.types.Block(header: 'Header' = <object object at 0x7f9e85778540>, data: 'Data' = <object object at 0x7f9e85778540>, evidence: 'EvidenceList' = <object object at 0x7f9e85778540>, last_commit: 'Commit' = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- evidence: EvidenceList = <object object>
- class evmos.proto.autogen.py.tendermint.types.BlockId(hash: bytes = <object object>, part_set_header: ~evmos.proto.autogen.py.tendermint.types.PartSetHeader = <object object>)[source]
Bases:
Message
BlockID
- part_set_header: PartSetHeader = <object object>
- class evmos.proto.autogen.py.tendermint.types.BlockIdFlag(value)[source]
Bases:
Enum
BlockIdFlag indicates which BlcokID the signature is for
- BLOCK_ID_FLAG_ABSENT = 1
- BLOCK_ID_FLAG_COMMIT = 2
- BLOCK_ID_FLAG_NIL = 3
- BLOCK_ID_FLAG_UNKNOWN = 0
- class evmos.proto.autogen.py.tendermint.types.BlockMeta(block_id: 'BlockId' = <object object at 0x7f9e85778540>, block_size: int = <object object at 0x7f9e85778540>, header: 'Header' = <object object at 0x7f9e85778540>, num_txs: int = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.types.BlockParams(max_bytes: int = <object object>, max_gas: int = <object object>, time_iota_ms: int = <object object>)[source]
Bases:
Message
BlockParams contains limits on the block size.
- class evmos.proto.autogen.py.tendermint.types.Commit(height: int = <object object>, round: int = <object object>, block_id: ~evmos.proto.autogen.py.tendermint.types.BlockId = <object object>, signatures: ~typing.List[~evmos.proto.autogen.py.tendermint.types.CommitSig] = <object object>)[source]
Bases:
Message
Commit contains the evidence that a block was committed by a set of validators.
- class evmos.proto.autogen.py.tendermint.types.CommitSig(block_id_flag: ~evmos.proto.autogen.py.tendermint.types.BlockIdFlag = <object object>, validator_address: bytes = <object object>, timestamp: ~datetime.datetime = <object object>, signature: bytes = <object object>)[source]
Bases:
Message
CommitSig is a part of the Vote included in a Commit.
- block_id_flag: BlockIdFlag = <object object>
- class evmos.proto.autogen.py.tendermint.types.ConsensusParams(block: ~evmos.proto.autogen.py.tendermint.types.BlockParams = <object object>, evidence: ~evmos.proto.autogen.py.tendermint.types.EvidenceParams = <object object>, validator: ~evmos.proto.autogen.py.tendermint.types.ValidatorParams = <object object>, version: ~evmos.proto.autogen.py.tendermint.types.VersionParams = <object object>)[source]
Bases:
Message
ConsensusParams contains consensus critical parameters that determine the validity of blocks.
- block: BlockParams = <object object>
- evidence: EvidenceParams = <object object>
- validator: ValidatorParams = <object object>
- version: VersionParams = <object object>
- class evmos.proto.autogen.py.tendermint.types.Data(txs: ~typing.List[bytes] = <object object>)[source]
Bases:
Message
Data contains the set of transactions included in the block
- class evmos.proto.autogen.py.tendermint.types.DuplicateVoteEvidence(vote_a: ~evmos.proto.autogen.py.tendermint.types.Vote = <object object>, vote_b: ~evmos.proto.autogen.py.tendermint.types.Vote = <object object>, total_voting_power: int = <object object>, validator_power: int = <object object>, timestamp: ~datetime.datetime = <object object>)[source]
Bases:
Message
DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes.
- class evmos.proto.autogen.py.tendermint.types.Evidence(duplicate_vote_evidence: 'DuplicateVoteEvidence' = <object object at 0x7f9e85778540>, light_client_attack_evidence: 'LightClientAttackEvidence' = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- duplicate_vote_evidence: DuplicateVoteEvidence = <object object>
- light_client_attack_evidence: LightClientAttackEvidence = <object object>
- class evmos.proto.autogen.py.tendermint.types.EvidenceList(evidence: List[ForwardRef('Evidence')] = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.types.EvidenceParams(max_age_num_blocks: int = <object object>, max_age_duration: ~datetime.timedelta = <object object>, max_bytes: int = <object object>)[source]
Bases:
Message
EvidenceParams determine how we handle evidence of malfeasance.
- max_age_duration: timedelta = <object object>
Max age of evidence, in time. It should correspond with an app’s “unbonding period” or other similar mechanism for handling Nothing-At-Stake attacks.
- class evmos.proto.autogen.py.tendermint.types.HashedParams(block_max_bytes: int = <object object>, block_max_gas: int = <object object>)[source]
Bases:
Message
HashedParams is a subset of ConsensusParams. It is hashed into the Header.ConsensusHash.
- class evmos.proto.autogen.py.tendermint.types.Header(version: ~evmos.proto.autogen.py.tendermint.version.Consensus = <object object>, chain_id: str = <object object>, height: int = <object object>, time: ~datetime.datetime = <object object>, last_block_id: ~evmos.proto.autogen.py.tendermint.types.BlockId = <object object>, last_commit_hash: bytes = <object object>, data_hash: bytes = <object object>, validators_hash: bytes = <object object>, next_validators_hash: bytes = <object object>, consensus_hash: bytes = <object object>, app_hash: bytes = <object object>, last_results_hash: bytes = <object object>, evidence_hash: bytes = <object object>, proposer_address: bytes = <object object>)[source]
Bases:
Message
Header defines the structure of a Tendermint block header.
- version: _version__.Consensus = <object object>
basic block info
- class evmos.proto.autogen.py.tendermint.types.LightBlock(signed_header: 'SignedHeader' = <object object at 0x7f9e85778540>, validator_set: 'ValidatorSet' = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- signed_header: SignedHeader = <object object>
- validator_set: ValidatorSet = <object object>
- class evmos.proto.autogen.py.tendermint.types.LightClientAttackEvidence(conflicting_block: ~evmos.proto.autogen.py.tendermint.types.LightBlock = <object object>, common_height: int = <object object>, byzantine_validators: ~typing.List[~evmos.proto.autogen.py.tendermint.types.Validator] = <object object>, total_voting_power: int = <object object>, timestamp: ~datetime.datetime = <object object>)[source]
Bases:
Message
LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client.
- conflicting_block: LightBlock = <object object>
- class evmos.proto.autogen.py.tendermint.types.Part(index: int = <object object at 0x7f9e85778540>, bytes: bytes = <object object at 0x7f9e85778540>, proof: '_crypto__.Proof' = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- proof: _crypto__.Proof = <object object>
- class evmos.proto.autogen.py.tendermint.types.PartSetHeader(total: int = <object object>, hash: bytes = <object object>)[source]
Bases:
Message
PartsetHeader
- class evmos.proto.autogen.py.tendermint.types.Proposal(type: 'SignedMsgType' = <object object at 0x7f9e85778540>, height: int = <object object at 0x7f9e85778540>, round: int = <object object at 0x7f9e85778540>, pol_round: int = <object object at 0x7f9e85778540>, block_id: 'BlockId' = <object object at 0x7f9e85778540>, timestamp: datetime.datetime = <object object at 0x7f9e85778540>, signature: bytes = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- type: SignedMsgType = <object object>
- class evmos.proto.autogen.py.tendermint.types.SignedHeader(header: 'Header' = <object object at 0x7f9e85778540>, commit: 'Commit' = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.types.SignedMsgType(value)[source]
Bases:
Enum
SignedMsgType is a type of signed message in the consensus.
- SIGNED_MSG_TYPE_PRECOMMIT = 2
- SIGNED_MSG_TYPE_PREVOTE = 1
Votes
- SIGNED_MSG_TYPE_PROPOSAL = 32
Proposals
- SIGNED_MSG_TYPE_UNKNOWN = 0
- class evmos.proto.autogen.py.tendermint.types.SimpleValidator(pub_key: '_crypto__.PublicKey' = <object object at 0x7f9e85778540>, voting_power: int = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- pub_key: _crypto__.PublicKey = <object object>
- class evmos.proto.autogen.py.tendermint.types.TxProof(root_hash: bytes = <object object>, data: bytes = <object object>, proof: ~evmos.proto.autogen.py.tendermint.crypto.Proof = <object object>)[source]
Bases:
Message
TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree.
- proof: _crypto__.Proof = <object object>
- class evmos.proto.autogen.py.tendermint.types.Validator(address: bytes = <object object at 0x7f9e85778540>, pub_key: '_crypto__.PublicKey' = <object object at 0x7f9e85778540>, voting_power: int = <object object at 0x7f9e85778540>, proposer_priority: int = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- pub_key: _crypto__.PublicKey = <object object>
- class evmos.proto.autogen.py.tendermint.types.ValidatorParams(pub_key_types: ~typing.List[str] = <object object>)[source]
Bases:
Message
ValidatorParams restrict the public key types validators can use. NOTE: uses ABCI pubkey naming, not Amino names.
- class evmos.proto.autogen.py.tendermint.types.ValidatorSet(validators: List[ForwardRef('Validator')] = <object object at 0x7f9e85778540>, proposer: 'Validator' = <object object at 0x7f9e85778540>, total_voting_power: int = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.types.VersionParams(app_version: int = <object object>)[source]
Bases:
Message
VersionParams contains the ABCI application version.
- class evmos.proto.autogen.py.tendermint.types.Vote(type: ~evmos.proto.autogen.py.tendermint.types.SignedMsgType = <object object>, height: int = <object object>, round: int = <object object>, block_id: ~evmos.proto.autogen.py.tendermint.types.BlockId = <object object>, timestamp: ~datetime.datetime = <object object>, validator_address: bytes = <object object>, validator_index: int = <object object>, signature: bytes = <object object>)[source]
Bases:
Message
Vote represents a prevote, precommit, or commit vote from validators for consensus.
- type: SignedMsgType = <object object>