1-6-2. High-Speed Transactions
Last updated
Last updated
A mechanism to allow different tokens to coexist in the same blockchain
FRUITS allows for the creation of original tokens. However, managing a separate block for each token would increase the data size, complicate the storage method, and slow down the PoC mining process. Thus, FRUITS solves this problem in the following way:
As shown in Figure 14, the maximum number of transactions that can be recorded in each block is 256, and a masking filter is added to the header of the contract (data structure before encryption) of this base transaction.
The masking filter is set to 32 bits (= 4 bytes). The number of combinations is 232 = 4,294,967,296, which is about 4.3 billion. By adding this to the head and storing a total of 256 transactions in each block, about 4.3 billion different tokens can be stored with the same hash formula. In other words, the conventional method of recording hash data in PoC can only control one type of token per one type of encryption method, but with this method, a large number of tokens can be handled.
In addition, this method can also achieve high-speed processing when retrieving information recorded in a block. During actions, such as, allowing services like transaction sites to reference transactions and view recorded information, with this filter, you can instantly search and display only the necessary data from a huge amount of data at high speed.