Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageHeader ¶
type Precommit ¶
func (*Precommit[H, A]) Header ¶ added in v0.15.3
func (p *Precommit[H, A]) Header() *MessageHeader[A]
type Prevote ¶
func (*Prevote[H, A]) Header ¶ added in v0.15.3
func (p *Prevote[H, A]) Header() *MessageHeader[A]
type Proposal ¶
type Proposal[V Hashable[H], H Hash, A Addr] struct { MessageHeader[A] ValidRound Round `cbor:"valid_round"` Value *V `cbor:"value"` }
func (*Proposal[V, H, A]) Header ¶ added in v0.15.3
func (p *Proposal[V, H, A]) Header() *MessageHeader[A]
type ProposalCommitment ¶ added in v0.14.6
type ProposalCommitment struct {
BlockNumber uint64
Builder felt.Felt
// We must set these by hand. They will be compared against ProposalCommitment
ParentCommitment felt.Felt
Timestamp uint64
ProtocolVersion semver.Version
// These also need set by hand. However, we would need to update the DB
// and blockchain Reader interface, so they are ignored for now.
OldStateRoot felt.Felt
VersionConstantCommitment felt.Felt
NextL2GasPriceFRI felt.Felt // If empty proposal, use last value
// These values may be zero for empty proposals
StateDiffCommitment felt.Felt
TransactionCommitment felt.Felt
EventCommitment felt.Felt
ReceiptCommitment felt.Felt
ConcatenatedCounts felt.Felt
L1GasPriceFRI felt.Felt
L1DataGasPriceFRI felt.Felt
L2GasPriceFRI felt.Felt
L2GasUsed felt.Felt
L1DAMode core.L1DAMode
}
type ProposalFin ¶ added in v0.14.6
type ProposalInit ¶ added in v0.14.6
type Transaction ¶ added in v0.14.6
type Transaction struct {
Transaction core.Transaction
Class core.ClassDefinition
PaidFeeOnL1 *felt.Felt
}
type Vote ¶
type Vote[H Hash, A Addr] struct { MessageHeader[A] ID *H `cbor:"id"` }
type VotingPower ¶
type VotingPower uint
Click to show internal directories.
Click to hide internal directories.