package starknet.consensus.consensus

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message CommitmentParts

consensus.proto:69

Used in: ProposalFinPayload

message ConsensusTransaction

consensus.proto:11

Contains all transaction types that can be in a new block: - User transactions (same types as MempoolTransaction: Declare, DeployAccount, Invoke) - L1Handler transactions (messages from L1, not propagated via mempool)

Used in: TransactionBatch

message L2GasInfo

consensus.proto:78

L2 gas info for the block (next price and gas used).

Used in: ProposalFinPayload

message ProposalFin

consensus.proto:89

Used in: ProposalPart

message ProposalFinPayload

consensus.proto:84

Optional payload carried in ProposalFin: commitment parts and L2 gas.

Used in: ProposalFin

message ProposalInit

consensus.proto:48

Used in: ProposalPart

message ProposalPart

consensus.proto:101

Network format: 1. First message is ProposalInit (init, includes all block metadata) 2. transactions is sent repeatedly (for non-empty blocks) 3. Last message is ProposalFin

message StreamMessage

consensus.proto:39

message TransactionBatch

consensus.proto:65

Used in: ProposalPart

message Vote

consensus.proto:21

enum Vote.VoteType

consensus.proto:22

Used in: Vote