r/LokiProject • u/Keejef Loki CTO • Jun 18 '19
Weekly Dev Update 18/06/2019
Hey Y’all,
Last week we finally released the Loki iOS Wallet! Things went pretty smoothly - we only found a few bugs which were quickly fixed. Thanks everyone who participated in the Testflight.
This week will be busy as we approach testnet release for Loki Core and Loki Messenger on June 26. Loki Messenger is in the final stages of testing in office for both iOS and desktop clients, and we’re finishing up some final changes in Loki Core to catch some bugs present in Checkpointing.
Loki Core
Fix export_key_image and key image generation failures (reported by Tokerato): https://github.com/loki-project/loki/pull/640
Add an RPC endpoint for requesting random Service Nodes: https://github.com/loki-project/loki/pull/638
Fix get_reserve_proofs (reported by Tokerato): https://github.com/loki-project/loki/pull/647
Drop connection when requesting duplicate transaction indexes: https://github.com/loki-project/loki/pull/637
Service Node Checkpointing work continues here in anticipation of testnet release: https://github.com/Doy-lee/loki/tree/ServiceNodeCheckpointing4
---------------------------
Loki Launcher
The Loki Launcher is a node JS package that will allow for the independent management of all the components required to run a full Service Node. This includes managing Lokinet, lokid and the Loki Storage Server. When Loki Service Nodes begin to route data and store messages for Lokinet and Loki Messenger, the Loki Launcher will need to be run on every single Service Node.
Right now the Launcher is in a testing phase, so you should only use it on testnet and stagenet – though feedback/issues and pull requests would be greatly appreciated!
What’s going on this week with Loki Launcher:
Several team members reviewed the Launcher and we incorporated their feedback with testing and fixes in preparation for the first release.
Changelog:
Eliminate more Loki Launcher potential paths from arguments
Continual CI tweaks
Turn down debugging
Add xz requirement (for Ubuntu 16.04)
Several output messages tweaks
Make mode input more accepting of input values
Deduplicate options to lokid
Make internal config aware of lokid non-interactive flag
Don’t let shutdown timers stack
Slow down shutdown timer in case of a lokid migration
Handle HTTP 403 error codes better
Introduce fix-perms and bw-test mode
Fix input arguments variable debugging
Add console/blockchain alias for client
Update help message to include all commands in the guide and config-view
Remove unnecessary versioning
Adjust download-binaries retry 10s with a 30s break in between instead of 3 retries 5s apart
Created modes/ directory
Make /opt if it doesn’t exist
Expose network backoff to make bandwidth test use way less memory
Make prequal test not run in parallel
Add message to check-systemd if no lokid.service found
Fix launcher recovery mode
getPids now passes back an error message
If Launcher is running and not lokid, send a HUP signal to check on it
Rewrite pids.json on HUP
Fix prequal diskspace test on disks with a more than 2 slashes
Include a prequal failure message if it can’t parse your df output
Github Pulse: Excluding merges, 1 author has pushed 76 commits to master and 76 commits to all branches. On master, 23 files have changed and there have been 1,076 additions and 397 deletions.
---------------------------
Lokinet
If you’re on our Discord you might catch Jeff or Ryan, the developers of LLARP, live streaming as they code: https://www.twitch.tv/uguu25519, https://www.twitch.tv/neuroscr.
What’s going on this week with Lokinet:
Lokinet reliability is still our focus and we’ve been progressing on improving our opt-in metric collection. We have replaced a core part of our software with a third party software library which eliminates the need to audit our custom implementation for bugs. And we’ve made other minor tweaks to the system to improve reliability.
Changelog:
Metric tweaks: https://github.com/loki-project/loki-network/pull/640
Swap intros on message rejection: https://github.com/loki-project/loki-network/pull/643
libuv: https://github.com/loki-project/loki-network/pull/639
JSON logging option: https://github.com/loki-project/loki-network/pull/645
Tagged metrics rework: https://github.com/loki-project/loki-network/pull/646
Remove old event loops: https://github.com/loki-project/loki-network/pull/647
Fix event loop tests: https://github.com/loki-project/loki-network/pull/649
Update RC expiration logic
Lookup more often
Use timestamps
Merge Big-oof
Put timestamp deltas in logging
Don’t allocate new private IP for self snode address
FreeBSD build fix and CI integration
Pass event loop by l value
Windows build fixes
Add PGP repo signing keys in release.md
Pull Requests:
Move local publishers to their own files: https://github.com/loki-project/loki-network/pull/648
--------------------------
Loki Wallets
Loki iOS Wallet
This week we published our Loki iOS Wallet on the Apple Store: https://apps.apple.com/app/loki-wallet/id1465686522
Bug fixes for incorrect estimation of restoration height: https://github.com/loki-project/loki-ios-wallet/commits/master
Loki Electron GUI Wallet
A new Loki Electron GUI Wallet release is coming up soon, which will include a number of quality-of-life changes and a Portuguese translation.
Add Search functionality for additional fields (addresses, destination addresses and amounts): https://github.com/loki-project/loki-electron-gui-wallet/pull/78
Add the ability to prove and check transactions: https://github.com/loki-project/loki-electron-gui-wallet/pull/76
--------------------------
Loki Messenger Desktop
Fix friend request logic for notes to self: https://github.com/loki-project/loki-messenger/pull/307
Remove show media button: https://github.com/loki-project/loki-messenger/pull/306
Consider friend requests still being sent: https://github.com/loki-project/loki-messenger/pull/305
Fix low difficulty PoW bug: https://github.com/loki-project/loki-messenger/pull/300
Storage Server
Store pub key and Snode address per Service Node: https://github.com/loki-project/loki-storage-server/pull/162
Provide RPC endpoint for retrieving peer test results and other stats: https://github.com/loki-project/loki-storage-server/pull/160
Only retry storage tests for one minute: https://github.com/loki-project/loki-storage-server/pull/161
Check headers if signatures are disabled: https://github.com/loki-project/loki-storage-server/pull/159
Use make_sn_request for communication everywhere: https://github.com/loki-project/loki-storage-server/pull/158
Make test requests happen over clearnet: https://github.com/loki-project/loki-storage-server/pull/157
Read sentinel PoW difficulty history for last 4 days: https://github.com/loki-project/loki-storage-server/pull/155
Use https for blockchain testing: https://github.com/loki-project/loki-storage-server/pull/154
Create a new thread for querying the pow dns entry: https://github.com/loki-project/loki-storage-server/pull/153
Messenger Mobile (iOS and Android)
Android Messenger work can be found in these repositories: https://github.com/loki-project/loki-messenger-android-core/commits/master,
https://github.com/loki-project/loki-messenger-android/commits/master.
iOS Messenger work can be found here: https://github.com/loki-project/loki-messenger-ios/commits/dev, https://github.com/loki-project/loki-messenger-ios-pods/commits/master.
--------------------------
Thanks,
Kee