Theoretical data
Transaction size
Ordinary transfer transaction: 147 bytes. It will increase if you carry information.
Cross-chain transfer transactions: 139 bytes, which will increase if information is carried.
Create smart contract transaction: Determined by the size of the smart contract, the system smart contract has 1800 lines of code and the size is 11070 bytes.
Execute smart contract transactions: Determined by the size of the data carried, the minimum is 155 bytes.
Transaction volume contained in a single block
The default block size is 1M (not including block header information), and the default block interval of the first chain is 1 minute.
If they are all ordinary transfer transactions (147 bytes), there can be a maximum of 6802 transactions, and the single-chain TPS is 113.
If it is a mixed transaction, assuming an average transaction size of 200 bytes, there can be 5,000 transactions, and the TPS of a single chain is 83.
The system supports dynamic adjustment of block size and block interval, which can increase the TPS upper limit of a single chain.
Theoretical performance
The first chain is one block per minute, and the size of a block is 1M. The average transaction size is 200 bytes. The maximum TPS of the chain is 83.
The block generation time of the second and third chains is 56 seconds, and its TPS upper limit is 89.
If the system has only 3 chains and the other system parameters are not modified, the TPS upper limit is 261.
The upper limit of the TPS of a single chain depends on the block size and the block generation speed. Both of these parameters can be dynamically adjusted by the administrator (smart contract), thereby increasing the upper limit of the TPS.
The upper limit of the TPS of the entire system will increase linearly with the number of chains.
The ID of the chain is a 64-bit number, so there can be up to 2 ^ 64-1 chains.
The upper limit of the TPS of the entire system will be greater than 83 * 2 ^ 64.