Skip to content

Commit 0126269

Browse files
committed
Updated ProtocolConstants
1 parent 2faf6af commit 0126269

File tree

1 file changed

+39
-37
lines changed

1 file changed

+39
-37
lines changed

tzkt/data/general.go

Lines changed: 39 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -78,43 +78,45 @@ type Protocol struct {
7878

7979
// ProtocolConstants -
8080
type ProtocolConstants struct {
81-
RampUpCycles int64 `json:"rampUpCycles"`
82-
NoRewardCycles int64 `json:"noRewardCycles"`
83-
PreservedCycles int64 `json:"preservedCycles"`
84-
BlocksPerCycle int64 `json:"blocksPerCycle"`
85-
BlocksPerCommitment int64 `json:"blocksPerCommitment"`
86-
BlocksPerSnapshot int64 `json:"blocksPerSnapshot"`
87-
BlocksPerVoting int64 `json:"blocksPerVoting"`
88-
TimeBetweenBlocks int64 `json:"timeBetweenBlocks"`
89-
EndorsersPerBlock int64 `json:"endorsersPerBlock"`
90-
HardOperationGasLimit int64 `json:"hardOperationGasLimit"`
91-
HardOperationStorageLimit int64 `json:"hardOperationStorageLimit"`
92-
HardBlockGasLimit int64 `json:"hardBlockGasLimit"`
93-
TokensPerRoll int64 `json:"tokensPerRoll"`
94-
RevelationReward int64 `json:"revelationReward"`
95-
BlockDeposit int64 `json:"blockDeposit"`
96-
BlockReward []int64 `json:"blockReward"`
97-
EndorsementDeposit int64 `json:"endorsementDeposit"`
98-
EndorsementReward []int64 `json:"endorsementReward"`
99-
OriginationSize int64 `json:"originationSize"`
100-
ByteCost int64 `json:"byteCost"`
101-
ProposalQuorum int64 `json:"proposalQuorum"`
102-
BallotQuorumMin int64 `json:"ballotQuorumMin"`
103-
BallotQuorumMax int64 `json:"ballotQuorumMax"`
104-
LbSubsidy int64 `json:"lbSubsidy"`
105-
LbSunsetLevel int64 `json:"lbSunsetLevel"`
106-
LbToggleThreshold int64 `json:"lbToggleThreshold"`
107-
ConsensusThreshold int64 `json:"consensusThreshold"`
108-
MinParticipationNumerator int64 `json:"minParticipationNumerator"`
109-
MinParticipationDenominator int64 `json:"minParticipationDenominator"`
110-
MaxSlashingPeriod int64 `json:"maxSlashingPeriod"`
111-
FrozenDepositsPercentage int64 `json:"frozenDepositsPercentage"`
112-
DoubleBakingPunishment int64 `json:"doubleBakingPunishment"`
113-
DoubleEndorsingPunishmentNumerator int64 `json:"doubleEndorsingPunishmentNumerator"`
114-
DoubleEndorsingPunishmentDenominator int64 `json:"doubleEndorsingPunishmentDenominator"`
115-
TxRollupOriginationSize int64 `json:"txRollupOriginationSize"`
116-
TxRollupCommitmentBond int64 `json:"txRollupCommitmentBond"`
117-
LbEscapeThreshold int64 `json:"lbEscapeThreshold"`
81+
RampUpCycles int64 `json:"rampUpCycles"`
82+
NoRewardCycles int64 `json:"noRewardCycles"`
83+
ConsensusRightsDelay int64 `json:"consensusRightsDelay"`
84+
DelegateParametersActivationDelay int64 `json:"delegateParametersActivationDelay"`
85+
BlocksPerCycle int64 `json:"blocksPerCycle"`
86+
BlocksPerCommitment int64 `json:"blocksPerCommitment"`
87+
BlocksPerSnapshot int64 `json:"blocksPerSnapshot"`
88+
BlocksPerVoting int64 `json:"blocksPerVoting"`
89+
TimeBetweenBlocks int64 `json:"timeBetweenBlocks"`
90+
AttestersPerBlock int64 `json:"attestersPerBlock"`
91+
HardOperationGasLimit int64 `json:"hardOperationGasLimit"`
92+
HardOperationStorageLimit int64 `json:"hardOperationStorageLimit"`
93+
HardBlockGasLimit int64 `json:"hardBlockGasLimit"`
94+
MinimalStake int64 `json:"minimalStake"`
95+
MinimalFrozenStake int64 `json:"minimalFrozenStake"`
96+
BlockDeposit int64 `json:"blockDeposit"`
97+
BlockReward []int64 `json:"blockReward"`
98+
AttestationDeposit int64 `json:"attestationDeposit"`
99+
AttestationReward []int64 `json:"attestationReward"`
100+
OriginationSize int64 `json:"originationSize"`
101+
ByteCost int64 `json:"byteCost"`
102+
ProposalQuorum int64 `json:"proposalQuorum"`
103+
BallotQuorumMin int64 `json:"ballotQuorumMin"`
104+
BallotQuorumMax int64 `json:"ballotQuorumMax"`
105+
LbToggleThreshold int64 `json:"lbToggleThreshold"`
106+
ConsensusThreshold int64 `json:"consensusThreshold"`
107+
MinParticipationNumerator int64 `json:"minParticipationNumerator"`
108+
MinParticipationDenominator int64 `json:"minParticipationDenominator"`
109+
DenunciationPeriod int64 `json:"denunciationPeriod"`
110+
SlashingDelay int64 `json:"slashingDelay"`
111+
MaxDelegatedOverFrozenRatio int64 `json:"maxDelegatedOverFrozenRatio"`
112+
MaxExternalOverOwnStakeRatio int64 `json:"maxExternalOverOwnStakeRatio"`
113+
SmartRollupOriginationSize int64 `json:"smartRollupOriginationSize"`
114+
SmartRollupStakeAmount int64 `json:"smartRollupStakeAmount"`
115+
SmartRollupChallengeWindow int64 `json:"smartRollupChallengeWindow"`
116+
SmartRollupCommitmentPeriod int64 `json:"smartRollupCommitmentPeriod"`
117+
SmartRollupTimeoutPeriod int64 `json:"smartRollupTimeoutPeriod"`
118+
DalNumberOfShards int64 `json:"dalNumberOfShards"`
119+
Dictator string `json:"dictator"`
118120
}
119121

120122
// ProtocolConstants -

0 commit comments

Comments
 (0)