Chains

Block model

sf.cosmos.type.v2.Block

Firehose-centric Block

sf.cosmos.type.v2.Misbehavior

Validatorvalidator = 2

The offending validator

int64height = 3

The height when the offense occurred

The corresponding time where the offense occurred

int64total_voting_power = 5

Total voting power of the validator set in case the ABCI application does not store historical validators. https://github.com/tendermint/tendermint/issues/4581

sf.cosmos.type.v2.TxResults

uint32code = 1
bytesdata = 2
stringlog = 3

nondeterministic

stringinfo = 4

nondeterministic

int64gas_wanted = 5
int64gas_used = 6
Event[]events = 7

nondeterministic

stringcodespace = 8

sf.cosmos.type.v2.ValidatorUpdate

ValidatorUpdate

PublicKeypub_key = 1
int64power = 2

sf.cosmos.type.v2.Consensus

uint64block = 1
uint64app = 2

sf.cosmos.type.v2.BlockID

byteshash = 1
PartSetHeaderpart_set_header = 2

sf.cosmos.type.v2.Validator

bytesaddress = 1

The first 20 bytes of SHA256(public key)

int64power = 3

The voting power

sf.cosmos.type.v2.EventAttribute

stringkey = 1
stringvalue = 2

bool index = 3; // nondeterministic

sf.cosmos.type.v2.PublicKey

bytesed25519 = 1oneof sum
bytessecp256k1 = 2oneof sum

sf.cosmos.type.v2.BlockParams

BlockParams contains limits on the block size.

int64max_bytes = 1

Max block size, in bytes. Note: must be greater than 0

int64max_gas = 2

Max gas per block. Note: must be greater or equal to -1

sf.cosmos.type.v2.EvidenceParams

EvidenceParams determine how we handle evidence of malfeasance.

int64max_age_num_blocks = 1

Max age of evidence, in blocks.

The basic formula for calculating this is: MaxAgeDuration / {average block time}.

google.protobuf.Durationmax_age_duration = 2

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.

int64max_bytes = 3

This sets the maximum size of total evidence in bytes that can be committed in a single block. and should fall comfortably under the max block bytes. Default is 1048576 or 1MB

sf.cosmos.type.v2.ValidatorParams

ValidatorParams restrict the public key types validators can use. NOTE: uses ABCI pubkey naming, not Amino names.

string[]pub_key_types = 1

sf.cosmos.type.v2.VersionParams

VersionParams contains the ABCI application version.

uint64app = 1

sf.cosmos.type.v2.PartSetHeader

uint32total = 1
byteshash = 2

sf.cosmos.type.v2.MisbehaviorType

enum

UNKNOWN = 0

DUPLICATE_VOTE = 1

LIGHT_CLIENT_ATTACK = 2