Trinity Biweekly Report — Early December

Development Progress

（Dec 1st — Dec 15th）

Trinity-ETH

1. Fix defects in special scenarios in SPV: in some cases of countersignature, the Secret storage fails, resulting in signature failure. Fix the bug of incorrect balance in a special case, which results in transaction failure;

2. Optimize the trading logic of the state channel; enhance the readability and maintainability of the code;

3. Optimize database’s transaction information; update database’s transaction data by using nonce negotiation mechanism to reduce redundant transaction information.

Trinity-NEO

1. SPV debugging for iOS version; complete function integration for iOS version, debug and optimize functions including signature and wallet unlocking;

2. Upgrade the dependent library to the latest version.

Trinity Routing Algorithm

There are several problems to be solved in the data communication on the network:

• How to quickly find the path to the target node?

• How to ensure the consistency of network topology between nodes?

• How to quickly update the node state?

Interweave Routing is a pathfinding algorithm proposed by Trinity to address the issues mentioned above. The advantage of this algorithm is that the nodes connected to the channel network can get the network topology of the whole network regardless the change of network environment so that the channel network becomes a decentralized network. This is a good way to avoid the deviation in pathfinding due to the topology of different networks, which makes the path between A->n and n->A different and hurts user experience greatly. Learn more: https://medium.com/@TrinityProtocol/trinity-routing-algorithm-9d9a0828ad34

Activity

On December 8th, Liu Yuan, Trinity product manager was invited to participate in the 22nd offline blockchain salon held by HiBlock blockchain in Hangzhou, and conducted a speech on the topic of “The Difficulties and Countermeasures of Blockchain Application”. Liu also shared the technical implementation of Trinity’s off-chain scaling solution. This speech helped the audience understand more about the state channel technology of Trinity.