December Progress Report
What progress was made on your grant this month?
- We have created a WebSocket server to receive information about changes in folders/files in the SIA storage;
- We have implemented changes tracking in the SIA storage. Changes in the SIA storage are synchronized with the local app using the WebSocket server. Received data is decrypted with the user’s key and saved to the local disk to the chosen folder.
Currently the “Sync” section in the app shows the synchronisation process and the “Files” section shows all current files in the local folder. This “Files” menu section is only used for testing purposes and more likely to be removed on the 3rd Milestone.
Summarize any problems that you ran into this month and how you’ll be solving them.
We have encountered several issues with our web-socket server, as spdy-server (needed for HTTP/2 and “duplex:half”) had conflicts with NestJS WebSocketGateway, so first of all we had to run two http-servers - the second one for WebSockets on a separate port. But finally we have found the right solution and implemented a single server.
Also, to speed up the process and return to the timeline specified in the application, we have implemented the 2nd Milestone functionality without a multiuser feature, so currently synchronisation works in both ways, but only for the first wallet logged into the desktop application. If a test user will switch to another wallet, he will encounter errors. These bugs will be fixed in January.
Links to repos worked on this month:
Tiri desktop
Tiri gateway
The current version of the executable file (for Windows) is here: TiriVD-Setup-v.0.2.2.exe
What will you be working on next?
Our plan for the next month is to fix multiuser issues and then proceed to Milestone 3 - UI development.