Module near_primitives::version [−][src]
Structs
PROTOCOL_FEATURES_TO_VERSION_MAPPING | Map of feature to the minimal protocol version that introduces the feature. We can determine
whether to apply the new feature by comparing the current protocol version of the network to
|
ProtocolVersionRange | |
Version | Data structure for semver version and github tag or commit. |
Enums
ProtocolFeature | New Protocol features should go here. Features are guarded by their corresponding feature flag.
For example, if we have |
Constants
CORRECT_RANDOM_VALUE_PROTOCOL_VERSION | |
CREATE_HASH_PROTOCOL_VERSION | Updates the way receipt ID, data ID and random seeds are constructed. |
CREATE_RECEIPT_ID_SWITCH_TO_CURRENT_BLOCK_VERSION | Updates the way receipt ID is constructed to use current block hash instead of last block hash |
DB_VERSION | Current version of the database. |
DELETE_KEY_STORAGE_USAGE_PROTOCOL_VERSION | Fix the storage usage of the delete key action. |
ENABLE_INFLATION_PROTOCOL_VERSION | The protocol version that enables reward on mainnet. |
IMPLICIT_ACCOUNT_CREATION_PROTOCOL_VERSION | See NEP 71 |
MIN_GAS_PRICE_NEP_92 | Minimum gas price proposed in NEP 92 and the associated protocol version |
MIN_GAS_PRICE_NEP_92_FIX | Minimum gas price proposed in NEP 92 (fixed) and the associated protocol version |
MIN_PROTOCOL_VERSION_NEP_92 | |
MIN_PROTOCOL_VERSION_NEP_92_FIX | |
OLDEST_BACKWARD_COMPATIBLE_PROTOCOL_VERSION | Oldest supported version by this client. |
PROTOCOL_VERSION | Current latest stable version of the protocol. |
SHARD_CHUNK_HEADER_UPGRADE_VERSION | |
UPGRADABILITY_FIX_PROTOCOL_VERSION | Fix upgrade to use the latest voted protocol version instead of the current epoch protocol version when there is no new change in protocol version. |
Type Definitions
DbVersion | Database version. |
ProtocolVersion | Protocol version type. |