Trinity Biweekly Report——Late January

TrinityProtocol
Trinity Protocol
Published in
3 min readJan 31, 2019

The Chinese New Year is just around the corner. In the traditional Chinese culture, it is a festival of bidding farewell to the old and ushering in the new. In 2018, at the turn of business cycle, the market rode an adventurous roller coaster. However, Trinity is still firmly committed to building a secure, efficient, decentralized and scalable layer-2 network.

The year of 2018 is crucial for Trinity. Focusing on the research and development, the team kept its pace and hit key milestones on the roadmap, including the launching on the Neo mainnet and Ethereum mainnet, development of cross-chain converter, experience store and wallet (listed on Google Play Store). In addition, Trinity explored many application scenarios for the technology of state channel and proposed solutions for community governance. For more information about Trinity Review in 2018, please see the Biweekly Report in Late December in 2018 (https://medium.com/trinity-protocol/trinity-monthly-report-late-december-dec-17th-dec-30th-a7437f55b21c).

Technical Review 2018

1. Add the function of re-sign in channel transactions to ensure the consistency of transaction data.

Due to the complexity of the network, some information may be lost in the interaction of channel interaction. Trinity enhances the transaction stability by adding the transaction re-sign mechanism to ensure the data consistency between transaction parties.

2. Improve gateway stability to ensure the reliability of channels between nodes

Transactions between nodes generate as a result of the demands of transactions. There is no fixed timing for transactions. If no transaction occurs, it is necessary to check the interoperability of the node network, otherwise network interruption may occur when there is no data transferred. Trinity optimizes network heartbeat and interval as well as format and size of the transaction message to ensure network connectivity and stability and maximize network resources.

3. Optimize the network topology to ensure the reliability of routing

Frequent establishment and dismantling of channels lead to dynamic changes in the network topology. Through the optimization of the Interweave Routing algorithm, the routing topology information between gateways can be updated in time and the gateway can get accurate and effective routes.

4. Optimize asynchronous processing to improve module processing efficiency

While processing channel transactions, state channels also need to monitor the on-chain behavior on the channel to identify its legitimacy. Such processing tasks sometimes may lead to congestion. Trinity puts many processing tasks into different coroutines so that these processing tasks can be concurrent. In addition, asynchronous processing is added to ensure smooth switching between coroutines. Through the coordination of each independent module, the concurrency of channel processing is improved and the reliability of channel transactions is guaranteed.

5. SPV-supported NEO/ETH

Integrate Nep-5 and Erc-20 tokens into the SPV light wallet (http://twallet.trinity.ink:7034/). Users can switch freely in the SPV wallet according to their transaction demands, which makes transactions more convenient and operable.

6. Design a scheme for two-way payment of the channel

Due to the randomness of the transactions on both sides of the channel, they may initiate transactions at the same time, resulting in disorder of transactions. Trinity has designed a solution that supports concurrent transactions to ensure correct timing of transactions.

At the beginning of 2019, as Trinity’s state-channel network matures, Trinity becomes more practicable as a generalized off-chain scaling solution. On January 28, 2019, TNC was listed on the MXC Exchange, which provides a convenient TNC-ERC20/ETH trading platform for users. Trinity also co-organized promotion activities with MXC for the listing (https://mxc-exchange.zendesk.com/hc/zh-cn/articles/360022518231-MXC-will-List-TNC-Trinity-and-Hold-Two-Competitions-with-TNC-to-Share-2-500-000-TNC-with-You). Furthermore, Trinity Foundation and Neo have made plans for in-depth technological cooperation. After the Chinese New Year, Trinity will further the development for Neo and serve Neo network better to improve the performance and expand applications.

We send our best wishes to you in the New Year. The achievements in 2018 could not be reached without the effort of the team and the community. Thank you for your long-standing support and trust. Trinity encourages every community member to join us and witness the growth of the blockchain industry.

Happy Chinese New Year!

Future always uncertain. Be prepared.

Trinity Telegram Channel: https://t.me/TrinityStateChannels

Official Website: https://trinity.tech/#/

Trinity Github: https://github.com/trinity-project

--

--