Trinity Biweekly Report — Early June
Technological progress
1. Solving the problem of TCP transmission of sticky package processing. During the channel transaction process, the two parties need to perform multiple message interactions in order to confirm the validity and security of the transactions. When there are a large number of frequent transactions, message receiving efficiency and message processing efficiency are not balanced, so messages will be accumulated in the TCP receive buffer. When the messages overflow in the buffer, some of the messages and data will be lost, resulting in message processing failure. To solve this problem, we defined a customized packet header in the message interaction, where the data length of each message is specified. After the message processor obtains the correct header, it will then, by calculating the data length, successfully obtain the complete transaction information.
2. Finished the verification process of the transaction messages. When two parties of the channel interact with each other, one party will verify the information sent by the other party. First, it checks whether the redistribution of the balance between the two parties is correct, and whether the transaction sequence is also correct. After the confirmation of these transaction information, the signature information produced by the counterparty will then be verified to sign the validity of the transaction.
3. Test RSMC transactions. We have been conducting basic RSMC transaction test and repairing and improving the system, so as to refine the stability of RSMC transactions.
Trinity Telegram Channel: https://t.me/TrinityStateChannels
Official Website: https://trinity.tech/#/
Trinity Github: https://github.com/trinity-project