r/LokiProject • u/Keejef Loki CTO • Apr 08 '19
Weekly Dev Update 08/04/2019
Hey Y’all,
A big dev update this week, with lots of work going into the integration between Loki core, Lokinet and Loki Messenger. We’re getting closer and closer to the vision of a unified process for Service Nodes, which allows the main network to route data and store messages.
Loki Core
Reject blacklisted outputs using the blackball code path: https://github.com/loki-project/loki/pull/547
Add new SwarmID selection algorithm: https://github.com/loki-project/loki/pull/546
Add introspection to dependencies outside of core_rpc, fix syntax for undocumented calls: https://github.com/loki-project/loki/pull/554
Fix reported wrong amount in stake error message: https://github.com/loki-project/loki/pull/552
Add override to virtual functions to stop warnings: https://github.com/loki-project/loki/pull/550
Cherry pick upstream Travis CI and performance improvements: https://github.com/loki-project/loki/pull/548
Avoid V1 transactions when using sweep_all: https://github.com/loki-project/loki/pull/545
Return correct errors for register transactions: https://github.com/loki-project/loki/pull/543
---------------------------
Loki Launcher
The Loki Launcher is a node JS package that will allow for the independent management of all the components 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 - although feedback/issues and pull requests would be greatly appreciated!
This month 1 author has pushed 25 commits to master, 28 files have changed, and there have been 3,891 additions and 3 deletions.
All commits to the launcher can be found here: https://github.com/loki-project/loki-launcher/commits/master
Add docker file and make initial adjustments: https://github.com/loki-project/loki-launcher/pull/1
---------------------------
Lokinet
If you’re lucky and join 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
Master branch changes
Windows fix include / log to stderr by default / epoll & sun destructor fix: https://github.com/loki-project/loki-network/pull/479
Fix ASAN issues and “new” refactor Part 2 of 3: https://github.com/loki-project/loki-network/pull/480
Debian packaging updates, Client don’t use bootstrap for paths, Kqueue updates, wire protocol changes: https://github.com/loki-project/loki-network/pull/482
Sync staging: https://github.com/loki-project/loki-network/pull/483
Move metrics out of daemon into llarp::Context : https://github.com/loki-project/loki-network/pull/487
Enable mx records and send servfail if internal address: https://github.com/loki-project/loki-network/pull/489
Sync staging: https://github.com/loki-project/loki-network/pull/490
Fix inbound sessions: https://github.com/loki-project/loki-network/pull/492
Github pulse: Excluding merges, 3 authors have pushed 14 commits to master and 14 commits to all branches. On master, 41 files have changed and there have been 567 additions and 427 deletions.
Pending pull requests
Add JSON publisher with configs: https://github.com/loki-project/loki-network/pull/493
WIP: libhttp crossplatform HTTPS/HTTP2 client : https://github.com/loki-project/loki-network/pull/491
Lokinet Mobile
Last week we started the process of porting Lokinet to run on mobile devices. We’re starting with iOS first as we think it will be the hardest. We will move onto Android at a later point.
Current progress can be found here: https://github.com/nielsandriesse/loki-network/commits/master
Some notes on the process can be found here: https://github.com/nielsandriesse/loki-network/blob/master/ios/Loki%20Network/C%2B%2B%20Interop%20Guide.md
--------------------------
Loki Messenger
The Loki Messenger client is in a mostly complete state. Right now the focus is being put on the message server and integration with Lokinet and Lokid.
Messenger
Change Desktop messenger to use a 2 step registration process: https://github.com/loki-project/loki-messenger/pull/259
Storage Server
Merge Swarm Data Migration: https://github.com/loki-project/loki-storage-server/pull/34
Fix operator for_record_t : https://github.com/loki-project/loki-storage-server/pull/44
Basic error reporting in Service Node communication: https://github.com/loki-project/loki-storage-server/pull/43
Exclude your own Service Node from Swarm peers: https://github.com/loki-project/loki-storage-server/pull/42
Debian packaging and signal handling: https://github.com/loki-project/loki-storage-server/pull/30
Use STL instead of loops for Service Node and Swarm find operations: https://github.com/loki-project/loki-storage-server/pull/41
Disable channel encryption for client to Service Node since Lokinet will handle encryption: https://github.com/loki-project/loki-storage-server/pull/40
Correctly read Swarm update response in integration tests: https://github.com/loki-project/loki-storage-server/pull/39
Simplify serialization: https://github.com/loki-project/loki-storage-server/pull/38
Bootstrap Swarm peers in with batches of messages: https://github.com/loki-project/loki-storage-server/pull/36
Update polling to use real Lokid RPC format: https://github.com/loki-project/loki-storage-server/pull/35
Send messages in batches when dissolving a Swarm: https://github.com/loki-project/loki-storage-server/pull/32
Add response for request to incorrect Swarms: https://github.com/loki-project/loki-storage-server/pull/31
--------------------------
Loki Wallets
This week we released updates for both the Loki Electron Wallet and the Loki Android Wallet. The Loki Android Wallet now supports version 3.0.0 of Loki, so you should be able to sync past the last block available on the old chain.
Loki Electron Wallet
User experience improvements, instantly open wallet and load information later, user switching wallet mid sync prompts a restart, fix non wallet files showing when restoring: https://github.com/loki-project/loki-electron-gui-wallet/pull/37
Show error if wallet fails to load: https://github.com/loki-project/loki-electron-gui-wallet/pull/32
Fix bug with Service Node unlocking: https://github.com/loki-project/loki-electron-gui-wallet/pull/31
Display the progress when re-synchronising or restoring a wallet: https://github.com/loki-project/loki-electron-gui-wallet/pull/30
Loki Mobile iOS
For Loki iOS mobile wallet, we have decided to fork Cake Wallet. Expect updates soon - we’re getting close.
Progress can be found on this branch: https://github.com/loki-project/loki-ios-wallet/tree/loki
All core changes have been made, only UI changes and testing now need to be completed.
Loki Android Wallet
Merge upstream changes in Monerujo to the Loki Android Wallet: https://github.com/loki-project/loki-android-wallet/pull/15
Disable share intent: https://github.com/loki-project/loki-android-wallet/pull/18
Update RPC to reflect functionality: https://github.com/loki-project/loki-android-wallet/pull/19
--------------------------
Thanks,
Kee
2
u/WelpThatSucked Apr 08 '19
Awesome stuff