# Constants
PaysetCommitFlat hashes the entire payset array.
PaysetCommitMerkle uses merkle array to commit to the payset.
PaysetCommitUnsupported is the zero value, reflecting the fact that some early protocols used a Merkle tree to commit to the transactions in a way that we no longer support.
# Variables
Consensus tracks the protocol-level settings for different versions of the consensus protocol.
MaxAppBytesKeyLen is the maximum length of a key used in an application's global or local key/value store.
MaxAppBytesValueLen is the maximum length of a bytes value used in an application's global or local key/value store.
MaxAppProgramLen is the largest supported app program size supported by any of the consensus protocols.
MaxAppTotalArgLen is the maximum number of bytes across all arguments of an application max sum([len(arg) for arg in txn.ApplicationArgs]).
MaxAppTxnForeignApps is the max number of foreign apps per txn across all consensus versions.
MaxAssetNameBytes is the maximum asset name length in bytes.
MaxAssetUnitNameBytes is the maximum asset unit name length in bytes.
MaxAssetURLBytes is the maximum asset URL length in bytes.
MaxAvailableAppProgramLen is the largest supported app program size include the extra pages supported supported by any of the consensus protocols.
MaxBytesKeyValueLen is a maximum length of key or value across all protocols.
MaxEvalDeltaAccounts is the largest number of accounts that may appear in an eval delta, used for decoding purposes.
MaxExtraAppProgramLen is the maximum extra app program length supported by any of the consensus protocols.
MaxInnerTransactionsPerDelta is the maximum number of inner transactions in one EvalDelta.
MaxLogCalls is the highest allowable log messages that may appear in any version, used only for decoding purposes.
MaxLogicSigMaxSize is the largest logical signature appear in any of the supported protocols, used for decoding purposes.
MaxMarkAbsent is the maximum number of online accounts that a proposer can suspend for not proposing "lately".
MaxProposedExpiredOnlineAccounts is the maximum number of online accounts that a proposer can take offline for having expired voting keys.
MaxStateDeltaKeys is the largest number of key/value pairs that may appear in a StateDelta, used for decoding purposes.
MaxTxGroupSize is the largest supported number of transactions per transaction group supported by any of the consensus protocols.
MaxTxnBytesPerBlock determines the maximum number of bytes that transactions can take up in a block.
MaxTxnNoteBytes is the largest supported nodes field array size supported by any of the consensus protocols.
MaxVoteThreshold is the largest threshold for a bundle over all supported consensus protocols, used for decoding purposes.
Protocol holds the global configuration settings for the agreement protocol, initialized with our current defaults.
StateProofTopVoters is a bound on how many online accounts get to participate in forming the state proof, by including the top StateProofTopVoters accounts (by normalized balance) into the vector commitment.
# Structs
BonusPlan describes how the "extra" proposer payouts are to be made.
ConsensusParams specifies settings that might vary based on the particular version of the consensus protocol.
Global defines global Algorand protocol parameters which should not be overridden.
ProposerPayoutRules puts several related consensus parameters in one place.
# Type aliases
ConsensusProtocols defines a set of supported protocol versions and their corresponding parameters.
PaysetCommitType enumerates possible ways for the block header to commit to the set of transactions in the block.