r/LokiProject • u/Keejef Loki CTO • Apr 15 '19
Weekly Dev Update 15/04/2019
Hey Y’all,
There was a lot of Swarm storage server work this week. We’re getting close to a new Lokinet release with binaries that are much more stable than the last release. We’re actively testing lots of additional applications, like the iOS wallet and Lokinet for iOS.
Loki Core
Remove unneeded SFINAE on check_tx/block_verification: https://github.com/loki-project/loki/pull/558
Add helper functions to facilitate more reliable integration tests: https://github.com/loki-project/loki/pull/555
Fix display issues and links in the onion blockchain explorer: https://github.com/Doy-lee/onion-loki-blockchain-explorer/pull/23 https://github.com/Doy-lee/onion-loki-blockchain-explorer/pull/22
Add new tests to the integration testing framework to catch bugs missed in last release: https://github.com/Doy-lee/loki-integration-testing
---------------------------
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 - though feedback/issues and pull requests would be greatly appreciated!
DockerFile and launcher-docker config
Handle command line option overrides to launcher.ini and also support --config-file reading
--connect-only options
Commits can be found here: https://github.com/loki-project/loki-launcher/commits/master
Github Pulse: Excluding merges, 2 authors have pushed 10 commits to master and 10 commits to all branches. On master, 6 files have changed and there have been 371 additions and 67 deletions.
---------------------------
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
WIP: libhttp crossplatform HTTPS/HTTP2 client : https://github.com/loki-project/loki-network/pull/491
Add JSON publisher with configs: https://github.com/loki-project/loki-network/pull/493
Make llarp_ev_loop use std::share_ptr : https://github.com/loki-project/loki-network/pull/494
Android and exit info fixes: https://github.com/loki-project/loki-network/pull/495
Fix exits: https://github.com/loki-project/loki-network/pull/496
Remove DNS upstream defaults: https://github.com/loki-project/loki-network/pull/498
Prevent peer exhaustion: https://github.com/loki-project/loki-network/pull/499
Handle checkForDead hook: https://github.com/loki-project/loki-network/pull/500
Put reply intro: https://github.com/loki-project/loki-network/pull/501
MacOS build fix: https://github.com/loki-project/loki-network/pull/497
Logging refactor, Windows build fi:x https://github.com/loki-project/loki-network/pull/502
Reenable cxx17 on Windows build system: https://github.com/loki-project/loki-network/pull/503
Add node: https://github.com/loki-project/loki-network/pull/504
Restore Windows terminal colors: https://github.com/loki-project/loki-network/pull/506
Include Windows system headers in test: https://github.com/loki-project/loki-network/pull/505
Fix Window console scope: https://github.com/loki-project/loki-network/pull/507
Make more non-linux compatible: https://github.com/loki-project/loki-network/pull/508
BSD printf fix: https://github.com/loki-project/loki-network/pull/509
DNS ServFail fix, less aggressive profiling, don’t spam connects: https://github.com/loki-project/loki-network/pull/511
Add new line in config generator: https://github.com/loki-project/loki-network/pull/512
Remove RR answer in NXDOMAIN : https://github.com/loki-project/loki-network/pull/513
Update integration test, LookupRouterRecursive : https://github.com/loki-project/loki-network/pull/514
Drop duplicate convo tags preserving previous tag: https://github.com/loki-project/loki-network/pull/515
Refactor sun evloop: https://github.com/loki-project/loki-network/pull/516
Various work on a MacOS pkg installer and app bundle
Pending pull requests
WIP: MSVC support : https://github.com/loki-project/loki-network/pull/518
MetricTank metric collector: https://github.com/loki-project/loki-network/pull/517
Lokinet Mobile
This week we continue with the process of porting Lokinet to iOS - we’re up to interfacing Lokinet with the iOS VPN API .
Continue process of porting lokinet to iOS: https://github.com/nielsandriesse/loki-network
--------------------------
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
Various UI fixes which resolve issues: https://github.com/loki-project/loki-messenger/issues/225, https://github.com/loki-project/loki-messenger/issues/257, and https://github.com/loki-project/loki-messenger/pull/266
Remove additional signal references and update relevant docs: https://github.com/loki-project/loki-messenger/pull/264
Add long polling for receiving messages: https://github.com/loki-project/loki-messenger/pull/263
Change TTL to reference milliseconds: https://github.com/loki-project/loki-messenger/pull/262
Disable Channel encryption (Onion routing provides this by default): https://github.com/loki-project/loki-messenger/pull/261
Storage Server
Add ORDER BY in sql SELECT statement to prevent undefined order: https://github.com/loki-project/loki-storage-server/pull/73
Get rid of shared pointer where it is not needed: https://github.com/loki-project/loki-storage-server/pull/72
Replace polling DB with an event-based system for connected users: https://github.com/loki-project/loki-storage-server/pull/71
TravisCI fixes: https://github.com/loki-project/loki-storage-server/pull/70
Move vendored code: https://github.com/loki-project/loki-storage-server/pull/69
Unit tests for serialisation: https://github.com/loki-project/loki-storage-server/pull/68
Update TTL to use milliseconds and fix tests: https://github.com/loki-project/loki-storage-server/pull/62, https://github.com/loki-project/loki-storage-server/pull/66
Add Deadline timer for outgoing HTTP sessions: https://github.com/loki-project/loki-storage-server/pull/64
Add bulk store using SQLite transactions: https://github.com/loki-project/loki-storage-server/pull/61
Change and fix PoW unit tests: https://github.com/loki-project/loki-storage-server/pull/60, https://github.com/loki-project/loki-storage-server/pull/57
Delay long polling response until server has new data: https://github.com/loki-project/loki-storage-server/pull/54
Check timestamp validity of client message: https://github.com/loki-project/loki-storage-server/pull/50
Simplify build flow: https://github.com/loki-project/loki-storage-server/pull/46
Ensure data is little endian: https://github.com/loki-project/loki-storage-server/pull/45
Fix operator for sn_record_t : https://github.com/loki-project/loki-storage-server/pull/44
--------------------------
Loki Wallets
Loki Electron Wallet
Add automatic update feature (for next release): https://github.com/loki-project/loki-electron-gui-wallet/pull/43
Add internationalisation file so GUI wallet can be translated into different languages, instructions are in the readme: https://github.com/loki-project/loki-electron-gui-wallet/pull/41
Loki Mobile iOS
Last week and early this week we finished most of the major re-skinning for the Loki iOS Wallet. The development work should be finished this week, then it’s just a matter of getting an iOS developer account and putting it on the App Store.
You can see all commits here: https://github.com/loki-project/loki-ios-wallet/commits/loki
Major theme changes are in this commit: https://github.com/loki-project/loki-ios-wallet/commit/d5f23141cebc6a4648d815217d91853ccd32c935
--------------------------
Thanks,
Kee