evmos.proto.autogen.py.tendermint.types
Classes
|
ABCIParams configure functionality specific to the Application Blockchain Interface. |
|
|
|
BlockID |
|
BlockIdFlag indicates which BlockID 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. |
|
|
|
ExtendedCommitSig retains all the same fields as CommitSig but adds vote extension-related fields. |
|
HashedParams is a subset of ConsensusParams. |
|
Header defines the structure of a 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 or precommit vote from validators for consensus. |
- class evmos.proto.autogen.py.tendermint.types.AbciParams(vote_extensions_enable_height: int = <object object>)[source]
Bases:
MessageABCIParams configure functionality specific to the Application Blockchain Interface.
- vote_extensions_enable_height: int = <object object>
vote_extensions_enable_height configures the first height during which vote extensions will be enabled. During this specified height, and for all subsequent heights, precommit messages that do not contain valid extension data will be considered invalid. Prior to this height, vote extensions will not be used or accepted by validators on the network. Once enabled, vote extensions will be created by the application in ExtendVote, passed to the application for validation in VerifyVoteExtension and given to the application to use when proposing a block during PrepareProposal.
- class evmos.proto.autogen.py.tendermint.types.Block(header: 'Header' = <object object at 0x7c636f753d40>, data: 'Data' = <object object at 0x7c636f753d40>, evidence: 'EvidenceList' = <object object at 0x7c636f753d40>, last_commit: 'Commit' = <object object at 0x7c636f753d40>)[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:
MessageBlockID
- part_set_header: PartSetHeader = <object object>
- class evmos.proto.autogen.py.tendermint.types.BlockIdFlag(*values)[source]
Bases:
EnumBlockIdFlag indicates which BlockID 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 0x7c636f753d40>, block_size: int = <object object at 0x7c636f753d40>, header: 'Header' = <object object at 0x7c636f753d40>, num_txs: int = <object object at 0x7c636f753d40>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.types.BlockParams(max_bytes: int = <object object>, max_gas: int = <object object>)[source]
Bases:
MessageBlockParams 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:
MessageCommit 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:
MessageCommitSig 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>, abci: ~evmos.proto.autogen.py.tendermint.types.AbciParams = <object object>)[source]
Bases:
MessageConsensusParams contains consensus critical parameters that determine the validity of blocks.
- abci: AbciParams = <object object>
- 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:
MessageData 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:
MessageDuplicateVoteEvidence contains evidence of a validator signed two conflicting votes.
- class evmos.proto.autogen.py.tendermint.types.Evidence(duplicate_vote_evidence: 'DuplicateVoteEvidence' = <object object at 0x7c636f753d40>, light_client_attack_evidence: 'LightClientAttackEvidence' = <object object at 0x7c636f753d40>)[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 0x7c636f753d40>)[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:
MessageEvidenceParams 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.ExtendedCommit(height: int = <object object at 0x7c636f753d40>, round: int = <object object at 0x7c636f753d40>, block_id: 'BlockId' = <object object at 0x7c636f753d40>, extended_signatures: List[ForwardRef('ExtendedCommitSig')] = <object object at 0x7c636f753d40>)[source]
Bases:
Message- extended_signatures: List[ExtendedCommitSig] = <object object>
- class evmos.proto.autogen.py.tendermint.types.ExtendedCommitSig(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>, extension: bytes = <object object>, extension_signature: bytes = <object object>)[source]
Bases:
MessageExtendedCommitSig retains all the same fields as CommitSig but adds vote extension-related fields. We use two signatures to ensure backwards compatibility. That is the digest of the original signature is still the same in prior versions
- block_id_flag: BlockIdFlag = <object object>
- class evmos.proto.autogen.py.tendermint.types.HashedParams(block_max_bytes: int = <object object>, block_max_gas: int = <object object>)[source]
Bases:
MessageHashedParams 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:
MessageHeader defines the structure of a block header.
- version: _version__.Consensus = <object object>
basic block info
- class evmos.proto.autogen.py.tendermint.types.LightBlock(signed_header: 'SignedHeader' = <object object at 0x7c636f753d40>, validator_set: 'ValidatorSet' = <object object at 0x7c636f753d40>)[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:
MessageLightClientAttackEvidence 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 0x7c636f753d40>, bytes: bytes = <object object at 0x7c636f753d40>, proof: '_crypto__.Proof' = <object object at 0x7c636f753d40>)[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:
MessagePartsetHeader
- class evmos.proto.autogen.py.tendermint.types.Proposal(type: 'SignedMsgType' = <object object at 0x7c636f753d40>, height: int = <object object at 0x7c636f753d40>, round: int = <object object at 0x7c636f753d40>, pol_round: int = <object object at 0x7c636f753d40>, block_id: 'BlockId' = <object object at 0x7c636f753d40>, timestamp: datetime.datetime = <object object at 0x7c636f753d40>, signature: bytes = <object object at 0x7c636f753d40>)[source]
Bases:
Message- type: SignedMsgType = <object object>
- class evmos.proto.autogen.py.tendermint.types.SignedHeader(header: 'Header' = <object object at 0x7c636f753d40>, commit: 'Commit' = <object object at 0x7c636f753d40>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.types.SignedMsgType(*values)[source]
Bases:
EnumSignedMsgType 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 0x7c636f753d40>, voting_power: int = <object object at 0x7c636f753d40>)[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:
MessageTxProof 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 0x7c636f753d40>, pub_key: '_crypto__.PublicKey' = <object object at 0x7c636f753d40>, voting_power: int = <object object at 0x7c636f753d40>, proposer_priority: int = <object object at 0x7c636f753d40>)[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:
MessageValidatorParams 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 0x7c636f753d40>, proposer: 'Validator' = <object object at 0x7c636f753d40>, total_voting_power: int = <object object at 0x7c636f753d40>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.types.VersionParams(app: int = <object object>)[source]
Bases:
MessageVersionParams 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>, extension: bytes = <object object>, extension_signature: bytes = <object object>)[source]
Bases:
MessageVote represents a prevote or precommit vote from validators for consensus.
- extension: bytes = <object object>
Vote extension provided by the application. Only valid for precommit messages.
- extension_signature: bytes = <object object>
Vote extension signature by the validator if they participated in consensus for the associated block. Only valid for precommit messages.
- signature: bytes = <object object>
Vote signature by the validator if they participated in consensus for the associated block.
- type: SignedMsgType = <object object>