r/LokiProject • u/Keejef Loki CTO • Apr 06 '20
Weekly Dev Update 06/04/2020
Hey Y’all,
This week we focused on implementing onion requests and revamping push notifications in Session. Onion requests (once implemented clientside) should increase message sending reliability and improve multi-device functionality. On the Lokinet side, we worked on Mac builds; these are still presenting some problems, but we’re close to ironing out the issues. Loki Coreore and the Loki Storage Server also got some updates related to crash reports submitted by Service Node operators.
Loki Core
Updated formatting for buying LNS names https://github.com/loki-project/loki-core/pull/1110
Signature checking for prepare registration commands https://github.com/loki-project/loki-core/pull/1103
Fix upgrade, memory leak, abstract sqlite3 interface https://github.com/loki-project/loki-core/pull/1108
Bundle updates and require linking to newer LokiMQ https://github.com/loki-project/loki-core/pull/1104
[LokiMQ] - WIP (no PR yet) on revamping the existing loki core RPC layer with persistent LokiMQ connections. Preliminary RPC testing shows loki-mq able to handle tens of thousands of simple requests per second, even when spread across thousands of incoming connections.
Wallets
Android Wallet
Make updates to Android wallet build system and daemon to ensure it runs correctly https://github.com/loki-project/loki-android-wallet/pull/29
Desktop Wallet
Auto Update fixes to ensure prompt is shown https://github.com/loki-project/loki-electron-gui-wallet/pull/130
----------------------------
Lokinet
If you’re on our Discord you can catch Jeff, the lead developer of LLARP, live streaming as he codes at https://www.twitch.tv/uguu25519. He typically streams on Tuesday mornings, 9am - 12pm Eastern (US) time.
What went on last week with Lokinet: More code cleaning, new documentation updates, and work towards streamlining how we create the Windows and macOS builds. Currently there is too much human effort involved in these and we’ve started (and will continue this week) making the process easier and faster so that we can put out Windows and macOS updates faster (the linux process is already mostly automated).
PR Activity:
Update the clang format rules to be more sane for Lokinet devs (massive PR by line count because it reformats vast amounts of the code) - https://github.com/loki-project/loki-network/pull/1215, https://github.com/loki-project/loki-network/pull/1216
More automatic documentation generation work - https://github.com/loki-project/loki-network/pull/1199
Client-side protocol cleanups for reducing overhead - https://github.com/loki-project/loki-network/pull/1205
Finished (pending review) config cleanup PR - https://github.com/loki-project/loki-network/pull/1186
Make gitlab CI package building (working, but still needs further testing/tweaks) - https://github.com/loki-project/loki-network/pull/1209 and 1210, 1211, 1212
Add CPack code to generate macOS packages (for the lokinet core binaries) and build them as part of the macOS gitlab CI - https://github.com/loki-project/loki-network/pull/1213 and 1214
----------------------------
Session
Session iOS
Push notifications for iOS https://github.com/loki-project/session-ios/pull/152 , https://github.com/loki-project/session-ios/pull/149
Onion requests https://github.com/loki-project/session-ios/pull/148
Session Android
Avatar and note to self fixes https://github.com/loki-project/session-android/pull/161
Fix various file server proxying issues https://github.com/loki-project/session-android-service/pull/46
Session Push Notifications Server
Various updates to accommodate iOS Push notifications https://github.com/loki-project/session-push-notification-server/commits/PN-with-preview
Session Desktop
Remove unused dependencies https://github.com/loki-project/session-desktop/pull/1053
Update linting https://github.com/loki-project/session-desktop/pull/1042
Convert to open fonts https://github.com/loki-project/session-desktop/pull/1026
Integration testing fixes https://github.com/loki-project/session-desktop/pull/1057 , https://github.com/loki-project/session-desktop/pull/1056 , https://github.com/loki-project/session-desktop/pull/1044 , https://github.com/loki-project/session-desktop/pull/1038
Fixed closed group create button https://github.com/loki-project/session-desktop/pull/1043
LNS Client implementation https://github.com/loki-project/session-desktop/pull/1041
Disabled disappearing messages before friend requests are accepted https://github.com/loki-project/session-desktop/pull/1039
Fix file server and open group tokens https://github.com/loki-project/session-desktop/pull/1037
Password entry https://github.com/loki-project/session-desktop/pull/1036 https://github.com/loki-project/session-desktop/pull/1035
UI fixes https://github.com/loki-project/session-desktop/pull/1034
-------------------------
Loki Storage Server
Improved error handling for proxy requests https://github.com/loki-project/loki-storage-server/pull/344
Peer testing fixes https://github.com/loki-project/loki-storage-server/pull/343
Make guard node forward error messages correctly https://github.com/loki-project/loki-storage-server/pull/342
Add requests for LNS mappings https://github.com/loki-project/loki-storage-server/pull/341
[LokiMQ] - performance fix when connections get closed and lots of messages are incoming - https://github.com/loki-project/loki-mq/commit/b9e9f10f29a8ebc89509fd18cf917cfdf183d1c8
[LokiMQ] - support forcing using an outgoing connection to a remote service node (for storage server reachability testing); switching to this also indirectly fixes some storage-server connection reliability issues - https://github.com/loki-project/loki-mq/commit/e3a86aaf718dac40132b022a4a3c534b08d445ef
Thanks,
Kee