TON blockchain limits
This document contains the current limits and metrics used in the TON blockchain.
信息
You can check all the blockchain parameters live in the explorer:Tonviewer or Tonscan.
Parameters defined in the code can be found in the source code repository.
Message and transaction limits
Name | Description | Value | Type | Defined in |
---|---|---|---|---|
max_size | Maximum external message size in bytes | 65535 | uint32 | mc-config.h |
max_depth | Maximum external message depth | 512 | uint16 | mc-config.h |
max_msg_bits | Maximum message size in bits | 2097152 | uint32 | mc-config.h |
max_msg_cells | Maximum number of cells a message can occupy | 8192 | uint32 | mc-config.h |
max_vm_data_depth | Maximum cell depth in messages and c4 & c5 registers | 512 | uint16 | mc-config.h |
max_actions | Maximum amount of actions | 256 | uint32 | transaction.h |
max_library_cells | Maximum number of library cells in library | 1000 | uint32 | mc-config.h |
max_acc_state_cells | Maximum number of cells that an account state can occupy | 65536 | uint32 | mc-config.h |
max_acc_state_bits | Maximum account state size in bits | 67043328 | uint32 | cells x size |
max_acc_public_libraries | Maximum amount of public libraries for account | 256 | uint32 | mc-config.h |