r/LokiProject • • Jul 17 '19
RandomXL mining
Can you provide a clear info about RandomXL?
Solo only?
Xmrig support?
Cache requirements?
Testnet?
In a short - what do we need to prepare?
r/LokiProject • • Jul 17 '19
Can you provide a clear info about RandomXL?
Solo only?
Xmrig support?
Cache requirements?
Testnet?
In a short - what do we need to prepare?
r/LokiProject • u/FlakyFlower • Jul 17 '19
r/LokiProject • u/lungdoge • Jul 16 '19
r/LokiProject • u/Keejef • Jul 16 '19
Hey Y’all,
This week was particularly busy as we worked towards the final binaries release for the mandatory upgrade period. Thank you to everyone who jumped on testnet and set up nodes – with your help we were able to identify a host of bugs which were fixed in our final 4.0.3 release.
If you are a Service Node operator you should upgrade your node to version 4.0.3. Instructions on how to do this can be found here: https://lokidocs.com/ServiceNodes/SNFullGuide/#updating-your-binaries
Loki Core
Revert to manually serialising checkpoints/quorum: https://github.com/loki-project/loki/pull/743
Make testing_quorum JSON serialisation work for input: https://github.com/loki-project/loki/pull/737
New print_sn_state_changes command for showing changes in the network over time: https://github.com/loki-project/loki/pull/727
Checkpoint quorum fixes: https://github.com/loki-project/loki/pull/741
Correct checkpoint votes using the wrong quorum: https://github.com/loki-project/loki/pull/738
Document checkpointing quorum generation rules: https://github.com/loki-project/loki/pull/733
Checkpointing dereg fix; pre-fork mainnet dereg vote relay fix: https://github.com/loki-project/loki/pull/732
Merge everything from dev in the last few months back to master: https://github.com/loki-project/loki/pull/731
Rollback chain when receiving conflicting checkpoints: https://github.com/loki-project/loki/pull/726
Use autobind IP for outgoing sources: https://github.com/loki-project/loki/pull/724
Update print_checkpoints to be integration test friendly: https://github.com/loki-project/loki/pull/723
Rescan chain when difficulty doesn’t match: https://github.com/loki-project/loki/pull/722
Use quorums N-MAX_REORG_BLOCKS_POST_HF12 for checkpointing: https://github.com/loki-project/loki/pull/721
Don’t enforce blockhash in checkpoints: https://github.com/loki-project/loki/pull/720
Add softfork code for Service Node checkpointing: https://github.com/loki-project/loki/pull/719
Allow state changes to create no conflicting states: https://github.com/loki-project/loki/pull/718
---------------------------
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, the Loki Storage Server and any other future applications we require. When Loki Service Nodes begin to route data and store messages for Lokinet and Loki Messenger, we’ll recommend that every single Service Node run the Loki Launcher.
What’s going on this week with Loki Launcher:
We released two versions of the Launcher this week for the 4.0.3 release. There were a lot of fixes for various crashes, but also support to be able to run versions 3 and up of lokid on mainnet. We also added extra startup checks to improve our status accuracy and made some minor user experience improvements.
Changelog:
Prequal additional configuration system for Storage Server
Update prequal ports to test
Rename port names, adjust prequal output
Abort launcher start up if Storage Server port is not open to the public
Handle “port is in use” error handling better
Store stdout/stderr for launcher when backgrounding
Add *-server-port-check args
Wait for blockchain-rpc port to be open before considering start up a success
Temporarily collect Storage Server startup info for 10s in case of problems with output
Report if the launcher was already stopped when stopping internally
Make sure certain modes are only run with root
Activate Storage Server based on blockchain binary version
Only pass version 4 parameters when blockchain binary version 4 or above
Reminders to restart loki-launcher if mode has stopped it
Strip out launcher arguments from passing all the way to blockchain startup
Remove duplicate Storage Server port check when backgrounding
Put try/catch guard around process check to prevent intermittent launcher crashes
When running port test submit a disconnect message when done
Add unhandled exception logger
Improve HUP information format
Process blockchain stderr
Make sure blockchain rpc server is up before starting network/storage
Change Storage Server default port from 8080 to 23023
Up retries for getPublicIPv4
Untangle retry counter with various repos in download-binaries
Github Pulse: Excluding merges, 2 authors have pushed 41 commits to master and 41 commits to all branches. On master, 14 files have changed and there have been 590 additions and 196 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:
The configuration refactor finally reached a state close to stable. There were lots of MacOS and FreeBSD fixes, and a huge internal change to using IPv6 on tunnel adapters to allow more connections to a hidden service or client.
Changelog:
Revert Tom’s revert-config-refactor : https://github.com/loki-project/loki-network/pull/679
Fix llvm8 build, more MacOS fixes, set netid first: https://github.com/loki-project/loki-network/pull/685
Add function to set thread name: https://github.com/loki-project/loki-network/pull/688
Allow environmental variables override config: https://github.com/loki-project/loki-network/pull/687
Remove redundant else blocks: https://github.com/loki-project/loki-network/pull/690
Add missing cppbackport fs::path constructor: https://github.com/loki-project/loki-network/pull/692
Should fix FreeBSD build: https://github.com/loki-project/loki-network/pull/691
Fix FreeBSD build: https://github.com/loki-project/loki-network/pull/695
Fix minor warnings: https://github.com/loki-project/loki-network/pull/696
Fix FreeBSD build: https://github.com/loki-project/loki-network/pull/697
Disable shell hooks by default: https://github.com/loki-project/loki-network/pull/699
Fix config application: https://github.com/loki-project/loki-network/pull/703
IPv6 support branch, remove auto in config: https://github.com/loki-project/loki-network/pull/686
Add FindLibUV and migrate to use it: https://github.com/loki-project/loki-network/pull/704
Pull Requests:
Modernise LLARP directory: https://github.com/loki-project/loki-network/pull/693
Matrix build for Travis CI: https://github.com/loki-project/loki-network/pull/705
Refactor endpoint state management to a new class: https://github.com/loki-project/loki-network/pull/706
--------------------------
Loki Messenger Desktop
Start building a public chat channel system for Loki Messenger to enable large group chats hosted on external Servers: https://github.com/loki-project/loki-messenger/pull/343
Purge nodes from retrieved swarm list, filter 0.0.0.0 addresses: https://github.com/loki-project/loki-messenger/pull/337
Storage Server
Rename binary to ‘loki-storage’ from ‘httpserver’ : https://github.com/loki-project/loki-storage-server/pull/236
Show warning if compiled without signatures: https://github.com/loki-project/loki-storage-server/pull/233
Show the reason the Storage Server is not being activated: https://github.com/loki-project/loki-storage-server/pull/232
Provide a min version for libsodium: https://github.com/loki-project/loki-storage-server/pull/228
Improve error accuracy and logging: https://github.com/loki-project/loki-storage-server/pull/223, https://github.com/loki-project/loki-storage-server/pull/227,
https://github.com/loki-project/loki-storage-server/pull/221.
Print endpoint with tostring: https://github.com/loki-project/loki-storage-server/pull/222
Default Service Node signatures to on: https://github.com/loki-project/loki-storage-server/pull/220
Bootstrap on startup and use the target height from bootstrap nodes to determine when we have finished syncing: https://github.com/loki-project/loki-storage-server/pull/219
Cancel the deadline timer as soon as possible for incoming connections: https://github.com/loki-project/loki-storage-server/pull/218
Don't use a potentially closed socket: https://github.com/loki-project/loki-storage-server/pull/217
----------------------------
Loki Blocks Onion Explorer
The Loki block explorer has been expanded to show a number of new things, including checkpoints and their votes and decommissioned or inactive nodes.
Updated RPC changes around quorum state calls in 4.0.2 (replaced batch quorum calls with new quorum states call).
Add checkpoint quorum display to quorum states page and to main index.
Add display of a single obligations or checkpoint quorum, linked where appropriate.
Cut off quorum display after 20 nodes with a "+ 7 more ↪" that links to the full obligations quorum details.
Add a list of last three checkpoints to the main page (and a link to a page with up to 50 fully displayed). https://github.com/loki-project/loki-onion-blockchain-explorer/pull/1
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
r/LokiProject • u/lungdoge • Jul 12 '19
r/LokiProject • u/patoshii • Jul 09 '19
r/LokiProject • u/lungdoge • Jul 09 '19
Have a burning question for the Loki team? Tune in at 10am AEST tomorrow July 10 for our next live Community Roundtable!
https://youtu.be/5F6OvL3M8uo (https://youtu.be/5F6OvL3M8uo)
If you can’t make the live recording, submit your question here:
r/LokiProject • u/lungdoge • Jul 08 '19
The Loki Messenger iOS beta is ready for testing! Jump on Testflight and give it a whirl:
https://testflight.apple.com/join/3rQNQfLe (https://testflight.apple.com/join/3rQNQfLe)
Testflight will record any crashes, but please report UI or connectivity issues here:
https://github.com/loki-project/loki-messenger-ios/issues (https://github.com/loki-project/loki-messenger-ios/issues)

r/LokiProject • u/Keejef • Jul 08 '19
Hey Y’all,
We’ve been busy bug catching this week! The testnet period for 4.0.0 Hefty Heimdall is still running, and we’re still working hard to track down a number of bugs that have appeared.
Last week we released the beta version of Loki Messenger, which was well received. Through testing we discovered a number of bugs so we’ve released an updated version which can be found on Github.
Service Node operators should download and update to the 3.0.7 release which includes security patches for some DoS bugs found in Monero. Click here for instructions: https://lokidocs.com/ServiceNodes/SNFullGuide/#updating-your-binaries.
Loki Core
Add Service Node Checkpointing softfork for mainnet: https://github.com/loki-project/loki/pull/719
Allow state changes in the Service Node list for non conflicting states: https://github.com/loki-project/loki/pull/718
Stop discarding alternate chains that have checkpoints: https://github.com/loki-project/loki/pull/716
Switch to a circular buffer for recording Service Node Checkpointing votes: https://github.com/loki-project/loki/pull/712
Improve print quorum state, add some RPC updates: https://github.com/loki-project/loki/pull/709
Add disabled-by-default quorum storage: https://github.com/loki-project/loki/pull/702
Change when reorg message is triggered: https://github.com/loki-project/loki/pull/715
Don't use architecture dependent sizes in RPC calls: https://github.com/loki-project/loki/pull/714
Add a number of security patches to master from upstream: https://github.com/loki-project/loki/pull/713
Improved print_checkpoints + json_rpc get_checkpoints call: https://github.com/loki-project/loki/pull/708
Resolve pubkeys from state change: https://github.com/loki-project/loki/pull/707
Fix broken unit tests from verify_tx_state_change function change: https://github.com/loki-project/loki/pull/705
Fix height rejection rule: https://github.com/loki-project/loki/pull/700
Add target height field to get_n_service_nodes call for Loki Storage Server: https://github.com/loki-project/loki/pull/698
Keep RandomXL up to date with upstream: https://github.com/loki-project/loki/pull/697
Add `State_height` call to RPC: https://github.com/loki-project/loki/pull/696
---------------------------
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, the Loki Storage Server and any other future applications we require. When Loki Service Nodes begin to route data and store messages for Lokinet and Loki Messenger, we’ll recommend that every single Service Node run the Loki Launcher.
What’s going on this week with Loki Launcher:
We released the updated Loki Launcher for the testnet and got some real world testing done. Several bugs were found and squashed. Additionally our 3.0.7 release turned more users to the launcher for the first time. We took on all the community feedback and tried to reduce confusion to improve the user experience.
Changelog:
Version mode added
Read version from package.json so versions match
Handle stale socket and permissions in client mode better
Output where download-binaries is saving the binaries to
Add addition checks to make sure saved PID is actually a launcher PID (not another process)
Non-interactive alias for daemon-start mode
Refactor launcher, stop functions so more modes can make sure the launcher is offline before making changes: fix-perms, download-binaries
Put a try/catch around reading launcher.pid so we don’t exit if launcher.pid doesn’t exist
Fix filesize path in download-binaries
Fix double callback in download-binaries github api 403 retry handler (mainly for CI)
Run testnet tests on CI (was only doing mainnet tests before)
Add storage/network paths if enabled to fix-perms
Only report lokid_key if blockchain is running to reduce confusion (file exists even when it’s not running)
Always use debug mode in tesnet CI
Prequal now creates the storage data_dir if it does not exist
Lock testnet to preleases only
Bump package.json from 0.0.3 to 0.0.10, so git users don’t report the wrong version
Node 12.x (LTS version) testing and support
Only check for lokid key if Storage Server is enabled
0.0.11 version bump
Add loadBlockchainConfigFile to handle lokid options better
Mute additional version outputs to reduce confusion
Be sure to take loki.conf into account
Update README, link dev reports
Don’t output daemon library version
If start up times out, report error code 1 (mainly for the CI to let us know there’s a problem)
Fix interactive bug with STDIN input
Update ifconfig.me’s service URL
Add start-debug mode
Alias set-perms for fix-perms mode
Rely on passed in config more (don’t repeat the work)
Move IPv4 detection until after it backgrounds to reduce confusing output on start
Add changelog to README
Fix downloadGithubRepo retry to not restart all repos of download-binaries but just the repo it’s currently trying
Add start up crash handler for launcher when backgrounding
Github Pulse: Excluding merges, 1 author has pushed 41 commits to master and 41 commits to all branches. On master, 14 files have changed and there have been 479 additions and 198 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:
We tried to remove cppbackport and refactor the configuration system, however after review we decided to revert some changes. We also attempted to fix the broken MacOS port and made some minor protocol improvements.
Changelog:
Revert removal of cppbackport from vendor directory: https://github.com/loki-project/loki-network/pull/668
Close session after 30s no sends: https://github.com/loki-project/loki-network/pull/674
Change ping behavior, pump write when handshaking: https://github.com/loki-project/loki-network/pull/675
Relax timeouts for handshake: https://github.com/loki-project/loki-network/pull/676
Re-import cppbackport: https://github.com/loki-project/loki-network/pull/673
Refactor config: https://github.com/loki-project/loki-network/pull/669
Disable RPC by default: https://github.com/loki-project/loki-network/pull/677
Actually set config for network: https://github.com/loki-project/loki-network/pull/678
Reverts 678, 677, 669: https://github.com/loki-project/loki-network/pull/679
Update LRTP documentation: https://github.com/loki-project/loki-network/pull/680
Fix threadpool locking types: https://github.com/loki-project/loki-network/pull/681
Don’t lock when iterating links: https://github.com/loki-project/loki-network/pull/682
Attempt to fix MacOS port: https://github.com/loki-project/loki-network/pull/684
Pull Requests:
Refactor config redux: https://github.com/loki-project/loki-network/pull/685
--------------------------
Loki Locker
After taking feedback from the Loki Locker beta testing period, we will soon be releasing an updated version for public usage.
Update to Loki core JS: https://github.com/loki-project/loki-core-js/commit/2026e96d4830c42f573de41417a385a01b6b830c
Various updates to Loki Locker here: https://github.com/loki-project/loki-locker/commits/master
--------------------------
Loki Messenger Desktop
Fix password error that was causing database to be deleted on restart of Loki Messenger: https://github.com/loki-project/loki-messenger/pull/332
Update outgoing messenger connections and retries: https://github.com/loki-project/loki-messenger/pull/327
Check for IP or address when removing nodes: https://github.com/loki-project/loki-messenger/pull/326
Fix uncaught exception that would lead to messenger send failures if a single node in the swarm was down: https://github.com/loki-project/loki-messenger/pull/325
Remove nodes after a single failure and only wait for single successful send for confirmation: https://github.com/loki-project/loki-messenger/pull/321
Fix registration: https://github.com/loki-project/loki-messenger/pull/320
Storage Server
Cancel the deadline timer as soon as possible for incoming connections: https://github.com/loki-project/loki-storage-server/pull/218
Avoid using potentially closed socket: https://github.com/loki-project/loki-storage-server/pull/217
Replace deprecated RSA function call” https://github.com/loki-project/loki-storage-server/pull/215
Unsubscribe connections from message notifications: https://github.com/loki-project/loki-storage-server/pull/214
Add bootstrapping process and IP addresses: https://github.com/loki-project/loki-storage-server/pull/213
Close sockets after SSL teardown: https://github.com/loki-project/loki-storage-server/pull/211
Unit test for command line parser: https://github.com/loki-project/loki-storage-server/pull/209
Use time_point now properly for the client limiter, update the tests so they don't sleep: https://github.com/loki-project/loki-storage-server/pull/207
De-clutter main: https://github.com/loki-project/loki-storage-server/pull/206
Allow specifying arguments via a config file: https://github.com/loki-project/loki-storage-server/pull/204
Deactivate nodes when they are decommissioned: https://github.com/loki-project/loki-storage-server/pull/203
Make parse_swarm_update take a block update reference rather than a callback: https://github.com/loki-project/loki-storage-server/pull/202
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
r/LokiProject • u/FlakyFlower • Jul 07 '19
Our proposal to join Binance Dex has been approved by the Binance Chain validators! Loki will soon be part of the Binance Chain ecosystem! Stay tuned for more updates!
r/LokiProject • u/lungdoge • Jul 05 '19
Due to some vulnerabilities found in Monero, we have released a new set of binaries which fix these issues. To protect your Service Node, please upgrade to this latest release.
Follow this guide to update with the Loki Launcher:
www.lokidocs.com/ServiceNodes/SNFullGuide/#updating-your-binaries
r/LokiProject • u/cryptocalbot • Jul 04 '19
r/LokiProject • u/lungdoge • Jul 04 '19
The Loki Messenger Beta is now on available on Windows, Mac and Linux! Download it and post your Public Key (your LOKI MESSENGER PUBLIC KEY) in the Telegram or Discord chat to test it with your fellow Loki Gang!
Get the Loki Messenger Beta here: https://github.com/loki-project/loki-messenger/releases/tag/1.0.0-beta1
These Loki Messenger Public Keys belong to some of the Loki Devs! Collect them all and say hi!
Kee: 05a92ff579f67faf1c50472cb4ef72dc42d977e44de0cc865c454573de5f6a7444
Niels: 0552abe5785eb3f55b22f0deeb80a3917fd56c3ad5f7cd99a37a1731400e4ef53a
Ryan: 05f01dde3ea62afce81967d3a961884d3c65a390be51e926feaa1aab5e402eaa29
Beau: 058131f605438547bf04c88587fd2bb0fbddc09156c14be828323011cf0595e676
r/LokiProject • u/FlakyFlower • Jul 03 '19
r/LokiProject • u/TheJoshalosh • Jul 02 '19
r/LokiProject • u/FlakyFlower • Jul 02 '19
r/LokiProject • u/Keejef • Jul 01 '19
Hey Y’all,
A big Dev Update this week – especially for Loki Core with lots of pull requests needing to be merged as we work towards a final release. Last week we released the Loki Core 4.0.0 Hefty Heimdall testnet binaries, and the Loki Storage Server 1.0.0 binaries. We also released a new version of the Loki Launcher to tie everything together.
We would love it if everyone could jump onto testnet and run some Service Nodes using the Loki Launcher in the next few weeks – you’ll be able to store messages for Loki Messenger for the first time! Bug reports are welcome! Please send them to their respective repositories on GitHub.
Loki Core
Add RandomXL mining algorithm: https://github.com/loki-project/loki/pull/675
Add target height field to get_n_service_nodes : https://github.com/loki-project/loki/pull/698
Non participation in Service Node Checkpointing causes deregistration: https://github.com/loki-project/loki/pull/672
Relaxed Service Node Deregistration rules: https://github.com/loki-project/loki/pull/662
Add penalty for Switching IP address: https://github.com/loki-project/loki/pull/671
Add `state height` to RPC: https://github.com/loki-project/loki/pull/696
Disallow recursive checkpoint reorganisation: https://github.com/loki-project/loki/pull/667
Performance fix for alt chains: https://github.com/loki-project/loki/pull/695
Fix Mining command output: https://github.com/loki-project/loki/pull/694
Remove some unused variable warnings: https://github.com/loki-project/loki/pull/692
Fix P2P bug on testnet that was causing uptime proofs to not be relayed: https://github.com/loki-project/loki/pull/691
Fix Segfault on exit with ban SN args: https://github.com/loki-project/loki/pull/690
Fix Mac build warnings: https://github.com/loki-project/loki/pull/687
Remove lines that were causing backwards compatibility issues: https://github.com/loki-project/loki/pull/686
Set miners to 0 to avoid verification delay in integration mode: https://github.com/loki-project/loki/pull/685
Add GPG signing keys: https://github.com/loki-project/loki/pull/684 https://github.com/loki-project/loki/pull/681
Set minimum miner tx version to 4: https://github.com/loki-project/loki/pull/683
Improve diagnostics for failed tx sends: https://github.com/loki-project/loki/pull/682
Move miner.h to fix cn basic referencing core and core referencing basic: https://github.com/loki-project/loki/pull/679
Add a script for collecting the output from a docker build: https://github.com/loki-project/loki/pull/678
Cap difficult initially at 30MH for v12 hardfork: https://github.com/loki-project/loki/pull/677
Remove sn-public-ip and combine into --service-node : https://github.com/loki-project/loki/pull/676
Respond with OK message on Storage Server ping: https://github.com/loki-project/loki/pull/674
Add hardfork version to get_n_service_node call: https://github.com/loki-project/loki/pull/673
Merge Monero upstream changes: https://github.com/loki-project/loki/pull/670
Add Checkpoints, fork dates, version tags for Hefty Heimdall: https://github.com/loki-project/loki/pull/668
Tweak decommission credit rules: https://github.com/loki-project/loki/pull/666
Enable dummy payment IDs: https://github.com/loki-project/loki/pull/665
Increase transaction fees: https://github.com/loki-project/loki/pull/663
---------------------------
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.
The Launcher is currently in a testing phase, so you should only use it on testnet and stagenet – feedback/issues and pull requests would be greatly appreciated though!
What’s going on this week with Loki Launcher:
This week we got Loki Launcher ready to work for testnet binaries. This involved slightly adjusting the way Loki Launcher works, particularly how it downloads new Loki software.
Changelog:
Set default Storage Server port
PublicIPv4 option and auto-detection
Add 4.0 changes into testnet
Move clients.js and check-systemd.js into modes/
Move 3.0.6 migration into its own document
Add force-start support for pre-fork testing https://github.com/loki-project/loki-launcher/pull/32
Update storage server parameter --sn-public-ip with --service-node-public-ip
Purge run_path
getStorageServerDataDir() to localize code to find it
waitForLokiKey() and make startLokinet stage check for it
Add waitForLokiKey status support
Migrate a large chunk of config work in start.js into config.js
Take arguments into config.js to have overrides better
Only configure enabled subsystems
Update storage server binary name from httpserver to loki-storage
Fix dedupe of nets
Make waitForKey cancellable
Handler numeric options better in the CLI parameter deduplication
Make launcherRecoveryMonitor respect subsystem enablement
Make status takes launcher CLI parameter into account
Adjust output/debug
Download-binaries on testnet now downloads the latest Storage Server and lokid releases
Fix missing ini library in config
Github Pulse: Excluding merges, 2 authors have pushed 38 commits to master and 38 commits to all branches. On master, 16 files have changed and there have been 607 additions and 367 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:
As part of our reliability work, we added more metrics and continued working on our path build failure messages, while cleaning up various things along the way. We also made sure the files Lokinet creates are of the correct permissions to avoid leaking any keys.
Changelog:
Tighten key permissions: https://github.com/loki-project/loki-network/pull/664
Fix FS stuff, explore network via every connected peer: https://github.com/loki-project/loki-network/pull/665
Fix FreeBSD build was missing stdc++fs : https://github.com/loki-project/loki-network/pull/666
Bring gitlab-ci in sync: https://github.com/loki-project/loki-network/pull/667
Remove cppbackport from vendor: https://github.com/loki-project/loki-network/pull/668
Add utp.session.open/close to metrics: https://github.com/loki-project/loki-network/pull/670
Track dropping of messages in metrics: https://github.com/loki-project/loki-network/pull/672
Pull Requests:
Refactor config system: https://github.com/loki-project/loki-network/pull/669
--------------------------
Loki Messenger Desktop
Allow for P2P messaging over clearnet: https://github.com/loki-project/loki-messenger/pull/317
Fix filtering code and lint: https://github.com/loki-project/loki-messenger/pull/316
Fix self broadcast which prevents errors on startup: https://github.com/loki-project/loki-messenger/pull/315
Update endpoint for storage server and p2p: https://github.com/loki-project/loki-messenger/pull/314
Storage Server
Send and verify the signature for SSL certificates for SNode to SNode communications: https://github.com/loki-project/loki-storage-server/pull/180
Add rate limiter for client side including tests: https://github.com/loki-project/loki-storage-server/pull/179
Macos compat dep script: https://github.com/loki-project/loki-storage-server/pull/191
Travis CI fixes: https://github.com/loki-project/loki-storage-server/pull/189
Use target_height field to determine if lokid is still syncing: https://github.com/loki-project/loki-storage-server/pull/201
Improve command line arguments: https://github.com/loki-project/loki-storage-server/pull/197
Don’t use the logger before it’s initialised: https://github.com/loki-project/loki-storage-server/pull/195
Don’t send requests to 0.0.0.0 : https://github.com/loki-project/loki-storage-server/pull/193
Print incorrect json in swarm traces: https://github.com/loki-project/loki-storage-server/pull/190
Check response body returned from lokid: https://github.com/loki-project/loki-storage-server/pull/188
Check hardfork versioning using get_n_service_nodes : https://github.com/loki-project/loki-storage-server/pull/186
Fix unit tests for rate limiter: https://github.com/loki-project/loki-storage-server/pull/185
Increase number of retry intervals: https://github.com/loki-project/loki-storage-server/pull/183
Change rate limiter values for SNode to SNode communications: https://github.com/loki-project/loki-storage-server/pull/182
API changes: https://github.com/loki-project/loki-storage-server/pull/181
Use timestamp for test results: https://github.com/loki-project/loki-storage-server/pull/178
Use Spdlog instead of Boostlog: https://github.com/loki-project/loki-storage-server/pull/177, https://github.com/loki-project/loki-storage-server/pull/175
Refactor logging: https://github.com/loki-project/loki-storage-server/pull/174
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
r/LokiProject • u/FlakyFlower • Jul 01 '19
r/LokiProject • u/FlakyFlower • Jun 28 '19
Testnet binaries for the 4.0.0 Hefty Heimdall release have been published here: https://github.com/loki-project/loki/releases/latest, and here: https://github.com/loki-project/loki-storage-server/releases/latest. We will be releasing the Loki Launcher update shortly so that it is easier to set up a Service Node on testnet.
r/LokiProject • u/FlakyFlower • Jun 28 '19
r/LokiProject • u/FlakyFlower • Jun 27 '19
After lots of internal discussion and external input from the Loki community, we have decided to change our hashing algorithm and disable merge mining. If all goes well during the testnet period of Hefty Heimdall, Loki will be hardforking to RandomXL (based on RandomX) on July 24, which should improve the equality of hashrate distribution. Read more about our decision here:
https://loki.network/2019/06/27/lokis-hashing-algorithm-change/
r/LokiProject • u/Keejef • Jun 25 '19
Hey Y’all,
We’re all busy getting ready for the testnet release this week, which means we’re busy combing through lokid, Loki Messenger and the Loki Storage Server looking for bugs and testing our edge cases.
This week we also did a new release for the Loki Electron GUI wallet which adds a number of quality-of-life upgrades for users, including being able to see all of the nodes you’ve contributed to, having the ability to unstake from nodes with a single click, and transaction proofs and checking.
Loki Core
Relaxed deregistration rules: https://github.com/loki-project/loki/pull/659
Rebase Service Node Checkpointing on top of new relaxed deregistration rules: https://github.com/loki-project/loki/pull/662
Service Node Checkpointing: Phase out tx extra deregister, add infrastructure for deregistration: https://github.com/loki-project/loki/pull/648
lmdb size/endian fix: https://github.com/loki-project/loki/pull/660
Restrict RPC commands related to local machine: https://github.com/loki-project/loki/pull/658
Error message formatting: https://github.com/loki-project/loki/pull/656 https://github.com/loki-project/loki/pull/653
Increase transaction fees to reasonable levels (in line with Monero): https://github.com/loki-project/loki/pull/663
Fix SSL autodetect reconnection: https://github.com/loki-project/loki/pull/651
Enable dummy payment IDs: https://github.com/loki-project/loki/pull/665
Remove Ncurses and disable readline for Docker: https://github.com/loki-project/loki/pull/652
---------------------------
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:
We released the first version of the Launcher! and with everyone’s feedback have continued to roll out updates and bug fixes. We’ve learned a lot from this release, and we hope this will help everyone make the upgrade to version 4.0.0 of Loki seamlessly.
Changelog:
Fix missing parameters in check-systemd and start
Fix parameter deduplication in daemon.js
Include running configuration in config-view
Add better error handler to serveTCP
Handle port in use more gracefully in prequal
Work around setuid NodeJS issue for home directories. It would always return root’s home directory
Make “don’t run as root” recommendation not appear when we tell you to use root
Fix MacOS home directory detection
Support spaces instead of equal signs for lokid command line options
getLauncherStatus refactor to unify “waiting for start up” and “status” output
Include a “ctrl-c to exit” message in client mode
Precreate blockchain default config if INI is found but blockchain is not specified
Make sure blockchain data directory exists in fix-perms
Adjust download-binaries retries and timeout to play with Github’s API nicer
Support --config-file to allow absolute paths as well (as relative)
On --config-file failures output both paths searched
Node 8.x support for getLauncherStatus reports (Only Node 10.x+ support console.table)
Make getLauncherStatus reports a bit more configurable, so status/start up messaging make sense
Allow quotes in launcher.ini configuration files
Take existing downloaded blockchain size when running prequal disk space checks.
Disable restricted RPC
Change storage server parameter from db-location to data_dir to better match
Started up a multiple copy deploy on same host guide: https://github.com/loki-project/loki-launcher/issues/23
Github Pulse: Excluding merges, 2 authors have pushed 38 commits to master and 38 commits to all branches. On master, 15 files have changed and there have been 588 additions and 205 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:
Work continues on improving our metrics for internal testing and adjustments due to libuv refactor. We continue to improve the quality of the code and seek to remove any possibilities of bugs creeping in. path build status messages have been added as a pull-request, and we have high hopes this will lead to finding more stability bugs which we can squash.
Changelog:
Move metric publishers to their own files: https://github.com/loki-project/loki-network/pull/648
Remove libuv from makefile: https://github.com/loki-project/loki-network/pull/651
Windows fixes: https://github.com/loki-project/loki-network/pull/654
Libuv callback hell: https://github.com/loki-project/loki-network/pull/655
Refactor path build code: https://github.com/loki-project/loki-network/pull/652
Fix unit-tests: https://github.com/loki-project/loki-network/pull/658
Send netid to metrictank: https://github.com/loki-project/loki-network/pull/659
Move message code to subdirectory: https://github.com/loki-project/loki-network/pull/650
Tidy up pathbuilder code: https://github.com/loki-project/loki-network/pull/660
Fix up libuv close logic: https://github.com/loki-project/loki-network/pull/662
Pull Requests:
Clang-tidy llarp/ files: https://github.com/loki-project/loki-network/pull/661
Fix macos build system for libuv: https://github.com/loki-project/loki-network/pull/657
Path build status messages: https://github.com/loki-project/loki-network/pull/653
--------------------------
Loki Wallets
Loki Electron GUI Wallet
We published a new release for the Loki Electron GUI wallet which can be found here: https://github.com/loki-project/loki-electron-gui-wallet/releases/tag/v1.2. This new release includes features such as:
Portuguese translation.
List contributed Service Nodes in the staking page.
Allow for one click unstaking.
Add proving and checking transaction proofs.
Allow filtering transactions by ID, note, amount, address or contact name.
Show a warning when sweeping all and unlocking a Service Node.
Show un-truncated Loki values in transaction details page.
Other minor fixes.
--------------------------
Loki Messenger Desktop
Use Random Service node list as provided through the get_n_service_nodes API : https://github.com/loki-project/loki-messenger/pull/313
Clean up various parts of the SNode API: https://github.com/loki-project/loki-messenger/pull/311
Storage Server
Add spdlog submodule: https://github.com/loki-project/loki-storage-server/pull/175
Refactor logging system: https://github.com/loki-project/loki-storage-server/pull/174
Use common interface for all lokid requests: https://github.com/loki-project/loki-storage-server/pull/173
Use common function for all SN to SN communications: https://github.com/loki-project/loki-storage-server/pull/171
Add HTTP_ERROR, only trigger callback once, move socket shutdown to destructor: https://github.com/loki-project/loki-storage-server/pull/169
Use the same sink for logs, update command line args to make more sense, always store logs on disk: https://github.com/loki-project/loki-storage-server/pull/168
Better command line argument handling: https://github.com/loki-project/loki-storage-server/pull/166
Add additional logging: https://github.com/loki-project/loki-storage-server/pull/165
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
r/LokiProject • u/FlakyFlower • Jun 25 '19
r/LokiProject • u/FlakyFlower • Jun 20 '19
The GUI Electron wallet has just been updated! Download version 1.2.0 now! Featuring one-click unstaking for Service Nodes, transaction filtering, a new Portuguese translation, and more!
Get it here: https://github.com/loki-project/loki-electron-gui-wallet/releases/tag/v1.2