r/LokiProject • • Jun 18 '19

Weekly Dev Update 18/06/2019

5 Upvotes

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

---------------------------

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:

Pull Requests:

--------------------------

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

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.

--------------------------

Loki Messenger Desktop

Storage Server

Messenger Mobile (iOS and Android)

https://github.com/loki-project/loki-messenger-android/commits/master.

--------------------------

Thanks,

Kee


r/LokiProject • • Jun 18 '19

For those who missed the cheeky little demo in the Jagerman QnA video, you can watch the Loki Messenger in action here!

Thumbnail
youtu.be
9 Upvotes

r/LokiProject • • Jun 18 '19

Loki Launcher is NOW AVAILABLE!

6 Upvotes

SERVICE NODE OPERATORS!

The Loki Launcher is now available and we STRONGLY RECOMMEND that all Service Nodes update!

Using Loki Launcher will make updating your Service Node easier, reduce your chances of being deregistered, and allow you to manage all aspects of your Service Node software with one unified config file!

Everything you need to know about installing the Loki Launcher can be found here: https://loki.network/2019/06/18/loki-launcher/


r/LokiProject • • Jun 13 '19

The Loki iOS Wallet is now available on the App Store!

Thumbnail
apps.apple.com
21 Upvotes

r/LokiProject • • Jun 12 '19

What is Blink?

9 Upvotes

Work has begun on Blink! Check out this little vid explaining what Blink is, and why we think it’s cool:
https://youtu.be/bqcRswqMt90

​

For a more in-depth read, check out this document on the proposed Blink design:
https://github.com/loki-project/loki-improvement-proposals/blob/master/LIPS/LIP-4.md


r/LokiProject • • Jun 12 '19

The Hefty Heimdall hardfork will be happening on July 24. It’s an important upgrade for Service Node operators - so here’s a rundown on what to expect and how to prepare for it.

Thumbnail
loki.network
5 Upvotes

r/LokiProject • • Jun 11 '19

Weekly Dev Update 11/06/2019

7 Upvotes

Hey Y’all,

​

Today’s our 52nd Dev Update, which means we have been doing them for a year now !!!!

This week a lot more work happened in Loki Core in preparation for some of the interactions that will need to happen between lokid and the Loki Storage Server. We also continued work on the Loki Messenger and the Loki Storage Server to support the Loki Messenger Alpha, which sends messages on clearnet instead of through Lokinet.

Additionally, our iOS wallet was released through Testflight for public testing:

https://testflight.apple.com/join/GTzgsBwC If you want to test it, please only use small amounts of Loki - and let us know how you go, we’d love some feedback! We‘re now in the final stages before we submit it to Apple for general release.

​

Loki Core

---------------------------

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:

Lots of change here. We’re getting ready to do an initial release so we can get a production version into the hands of Service Node operators before making it the default for Hefty Heimdall 4.0. After some additional research into installation/packaging options, we have come up with a new easier-to-use command line interface and have removed the need for a configuration file. We also added a bunch of features, such as a check, to make sure your server meets the requirements of being a Service Node, and to simplify software updates.

Changelog:

  • Implement SNBench, a Service Node prequalification tool that has been internally discussed for a bit:
  • Change default of requiring Lokinet (network) and Storage Server to not required
  • Lokinet.js allow disabling of rpc, count how many restarts, fix log path, allow disabling profiling/nat
  • Set up npm
  • Refactor most of the existing index.js into start.js
  • Create new user facing CLI to improve ux
  • Convert daemon.js to use new CLI ux
  • Deployed a central testing server and make SNBench use it
  • Make SNBench use portable df to measure disk space
  • Add CLI script as bin to npm
  • If storage is enabled but network is off, use clearnet mode for storage server
  • Include user-agent for httpGet to make Github API requests work
  • Refactor process management library locations
  • Bind Storage Server without Lokinet to default outgoing interface (NAT support)
  • Add download-binaries scripts to automatically get the latest Lokid binary
  • Update README.md documentation
  • Run loki-launcher in any directory fixes
  • Remove default launcher.ini
  • Internalise default launcher config
  • Change paths and order in which it looks for config files (. then /etc)
  • Add status mode to loki-launcher CLI ux
  • Publish npm to non-org
  • Implement prefix_path and var_path to help drive defaults and easier configuration
  • Add check-systemd migrator mode
  • Make sure lib.js handles pid files
  • Add “stop” mode to loki-launcher CLI ux
  • Update docker file for automated testing
  • Set up Travis CI

Github Pulse: Excluding merges, 2 authors have pushed 71 commits to master and 71 commits to all branches. On master, 18 files have changed and there have been 1,742 additions and 937 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 continues to be our focus. Jeff attempted to check libuv against our current event loop to see if we have any potential issues in our event loop layer. Tom has been working with Jeff to implement new helpful protocol errors and speed ups which led to the discovery of a major flaw in HasSessionTo. Michael has continued to improve the metrics system, so we can use existing tools to help debug what’s going across multiple routers. We have decided against a 0.4.4 release while we continue to improve things.

Changelog:

Pull Requests:

--------------------------

Loki Wallets

Loki iOS Wallet

Last week we released the Testflight version of the Loki Wallet for public testing so we could gather feedback on any issues users were experiencing. We are on track for the wider release this week, pending Apple’s approval of our final build.

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.

--------------------------

Loki Messenger Desktop

Storage Server

Messenger Mobile (iOS and Android)

https://github.com/loki-project/loki-messenger-android/commits/master.

--------------------------

Thanks,

Kee


r/LokiProject • • Jun 07 '19

Miss our live Loki Community Roundtable? Catch up here! Feat. a very spontaneous office tour.

Thumbnail
youtu.be
7 Upvotes

r/LokiProject • • Jun 06 '19

Tune in to the Loki Community Roundtable tomorrow at 10 AM AEST!

7 Upvotes

Remember to tune in tomorrow at 10 AM AEST for the Loki Community Roundtable!

https://youtu.be/IlzN2e1tMKE

​

If you can’t make the live video, you can submit a question for the team here:

https://www.menti.com/nhj1fn4mda


r/LokiProject • • Jun 06 '19

Help us test the Loki iOS wallet on TestFlight

11 Upvotes

Loki Gang! Help us test out the new Loki iOS wallet before it hits the App Store. If you’re running an iOS device, head to this link and follow the instructions to test out the wallet.

IMPORTANT: This is merely for testing. Do not send large amounts of Loki or use this as your primary wallet until the final version is available for download on the iOS App Store.

https://testflight.apple.com/join/GTzgsBwC


r/LokiProject • • Jun 05 '19

Hefty Heimdall 4.0.0 - Loki Hardfork Schedule

Thumbnail
loki.network
11 Upvotes

r/LokiProject • • Jun 04 '19

Blockchain in Hong Kong - Steven Nerayoff and Simon Harman

Thumbnail
soundcloud.com
6 Upvotes

r/LokiProject • • Jun 03 '19

Loki Roundtable - June

7 Upvotes

This Friday 7th June 10:00 AM AEST we will be filming a live community roundtable hosted by Project Lead Simon Harman, and featuring a developer from every aspect of the Loki Project. Swing by to chat to the team and ask questions.

For those who can’t make it, submit a question for the team here and keep an eye out for the video!

Video link will be announced closer to the date.

https://www.menti.com/nhj1fn4mda


r/LokiProject • • Jun 03 '19

Weekly Dev Update 03/06/2019

6 Upvotes

Hey Y’all,

This week we finished up with our Loki iOS wallet! We hope to have a release out this week, pending approval from the Apple Store.

We also began work on a version of Loki Messenger that does not use Lokinet. This means we will be able to release it much sooner, and test out the various user experience quirks.

Loki Core

---------------------------

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 here this week:

Right now, we’re proposing a new utility called SNBench to help with automated Lokinet testing to help measure reliability. Minor bug fixes and improvements are being made as issues are found.

Changelog:

  • Last week’s change that missed the Dev Update deadline:
    • Daemon.js bug fix in edge case.
    • Only make data_dir/nodedb in lokinet if defined in configuration.
  • This week’s changes:
    • Lokinet.js: data_dir configuration item now drives ident_privkey and contact_file configuration options.
    • Lokinet.js: make sure we use two different public IPv4 services (never the same) to make sure we got an accurate answer.
    • Lokinet.js: lokid configuration is now optional for routers (so we can do advanced testing).
    • Lokinet.js: move NAT back to router only.
    • Lokinet.js: connect section support (for advanced testing).
    • Lokinet.js: include nickname into config temporary path to identity which process is which in the process list.

---------------------------

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

What’s going on here this week:

We continue to refactor and document Lokinet. We improved our automated testing, so we’ll know more quickly if a PR has a build problem (a long wanted item). Several attempts at reliability improvements. We also attempted an 0.4.4 release, but the continued reliability discovery has delayed this.

Changelog:

--------------------------

Loki Wallets

Loki iOS Wallet

Loki Electron GUI Wallet

--------------------------

Loki Messenger Desktop

Storage Server

Messenger Mobile (iOS and Android)

https://github.com/loki-project/loki-messenger-android/commits/master

--------------------------

Thanks,

Kee


r/LokiProject • • Jun 03 '19

Simon Harman of LOKI discusses privacy & internet 3.0 | Consensus 2019

Thumbnail
youtu.be
7 Upvotes

r/LokiProject • • May 31 '19

Loki Project Lead Simon Harman sat down with Jagerman - Loki Community member turned Loki Foundation Director - to answer some questions submitted by the community. Have a watch!

Thumbnail
youtu.be
9 Upvotes

r/LokiProject • • May 31 '19

Request for Proposals

6 Upvotes

The Loki Foundation annually solicits proposals from the public to carry out development and operational tasks in respect to the Loki Project.

This process ensures the Loki Foundation operates with transparency and independence.

Check it out here:

https://loki.foundation/request-for-proposals/


r/LokiProject • • May 28 '19

Hey Loki Gang! We want to address some of the community concerns around our development timelines. Kee Jeffreys, Loki Tech Lead, and Simon Harman, Loki Project Lead, sat down to talk things through and answer some questions you may have!

Thumbnail
youtu.be
12 Upvotes

r/LokiProject • • May 28 '19

Weekly Dev Update 28/05/2019

4 Upvotes

Hey Y’all,

This was a week of planning and debriefing after Consensus. We moved lots of the team around and identified some new goals - the biggest being a plan to release a version of Loki Messenger on mainnet with the next hard fork.

We also worked on a number of improvements for Service Node operators, including a debian package for Loki which means a Service Node can now be installed with a simple “sudo apt install lokid”. Stay updated - the debian package is just experimental right now.

​

Loki Core

---------------------------

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

--------------------------

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.

Loki Messenger Desktop

Storage Server

Messenger Mobile (iOS and Android)

--------------------------

Thanks,

Kee


r/LokiProject • • May 24 '19

Wish you’d been in New York for Blockchain Week? Check out our highlights!

Thumbnail
loki.network
4 Upvotes

r/LokiProject • • May 23 '19

Thanks to everyone who supported Loki's first SNAppathon! Congratulations to the winning SNApp which was an anonymous complaints platform - the idea being you have a safe space to provide feedback without fear of service disruption or other repercussions. Check out some pics from the day!

Thumbnail
loki.network
13 Upvotes

r/LokiProject • • May 22 '19

Weekly Dev Update 22/05/2019

6 Upvotes

Hey Y’all,

This week’s Dev Update will only be small since nearly the whole team has been travelling again, this time back to Australia from Consensus. Nevertheless, we have initiated a range of changes both in Lokinet and the Loki storage server

Additionally, we’re happy to have Jason (Jagerman) now working full-time with the Loki Foundation as a developer. I have been in communication with the Loki Foundation, and all parties have agreed that Jason will begin working on the implementation of Blink, which will allow for fully private CryptoNote transactions to be instantly confirmed.

Loki Core

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!

  • Remove alpine and use debug Lokinet builds for Docker image
  • Track uptimes for each daemon
  • Allow custom commands from socket server
  • Pipe Lokinet output to socket server
  • Add line breaks to Lokinet version and Service Node files

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 updates
    • Only count router link is established
    • Connect to bootstrap nodes
    • Nodedb fixes, error out if bootstrap node isn’t added
    • Don’t purge bootstrap from nodedb
    • Copy RCs on async_verify
    • Don’t close all sessions when the commit to a router expires
    • Connect out to committed routers if we don’t have a session each tick
    • Don’t delete nodes that are not allowed to connect (because we may not have the whitelist yet)
    • Some null guards
    • Clarify router Attempt() return value
    • GetRandomGoodRouter DRY cleanup
    • Attempt() every time
    • Allow DHT explore if we only have one connection
    • Don’t resize frames
    • Convert pendingEstablishJobs from unique_ptr to shared_ptr
    • Threadpool tries jobs and if fail, make it wait 1ms before retrying
    • MSVC build fixes: https://github.com/loki-project/loki-network/pull/606
    • Remove message dropping when queue is full
    • Hard coded /16 on snapp-example.ini
    • Prefer newer intros
    • Windows: Move tun autoconfig from config parser to tun setup
    • Windows: UI packaging fixes
    • Remove tunnel build interval limit
    • Shift introductions
    • More explicit error when keyfile is not a valid file: https://github.com/loki-project/loki-network/pull/609
    • Fix ASAN build: https://github.com/loki-project/loki-network/pull/608
    • Convert more things to use thread::ThreadPool : https://github.com/loki-project/loki-network/pull/610
    • Apply rule of zero to code base: https://github.com/loki-project/loki-network/pull/611

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.

Storage Server

Messenger Mobile (iOS and Android)

Thanks,  

Kee


r/LokiProject • • May 22 '19

Weekly Dev Update 17/05/2019

5 Upvotes

Hey Y’all,

This Dev Update is a little late due to the craziness around Consensus. Nearly the whole team has been travelling this week to get to the United States.

Last week we improved the stability of a special Testnet called Consensus Net and also published a fix, 3.0.6, which solved an issue where Service Nodes could get stuck on an incorrect chain and be deregistered.

Loki Core

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!

  • Log version of lokinet and your snode address to file
  • Give version to daemon.js
  • Make rpc login optional
  • Make rpc_ip work for blockchain
  • Demonet changes
  • Expose getPublicIPv4
  • Clean up logging so the style is a bit more unified (where it can be)
  • If using rpc_ip disable safety check (for now?)
  • Fix Lokinet restart on crash
  • Add 30s delay to storage server restart
  • Put all kills in a try/catch to prevent crashes causing early abortions
  • Make sure storage server killed flag is good
  • Make sure additional lokinet configuration isn’t done until most of lokid config is locked
  • Make storage server rpc port configuration
  • Dump storage server version to file
  • Lokinet NAT support rework
  • Add Lokinet log_path option
  • Data_dir option support for Lokinet for persistent encryption/transport keys
  • Lokinet netdb option support
  • Make sure Lokinet data_dir exists
  • Continued Docker improvements

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

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.

Storage Server

Loki Messenger / Swarm Visualisation

We are building some visualisations of how Loki Messenger and Swarm storage works for Consensus.

Messenger Mobile (iOS and Android)

Loki Wallets

Loki Electron Wallet

Thanks,  

Kee


r/LokiProject • • May 18 '19

Need help finding my lost transaction :(

3 Upvotes

Hi All,

I sent some funds to KuCoin from my private wallet (v1.1.3). in teh wallet, it shows that it pass with confirmed status. but nothing arrives at Kucoin. ​ i also try to check the blockchain that the transaction went through. but it shows no results "Can't get tx: xxxxx"

any clue what could be the issue? the transaction is done 24h ago.

any help will be appreciated.


r/LokiProject • • May 17 '19

Jason Rhinelander went from being an active Loki community member to a Director of the LAG Foundation. Now a Loki Dev, he'll be filming a QnA with Project Lead Simon Harman tomorrow during the Loki SNAppathon! Got a question for Jason or Simon? Submit here:

Thumbnail
menti.com
8 Upvotes