Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Jason Rhinelander c5e787b8cb Oxend error ping + unfunded tracking
Currently (from a recent PR) we aren't pinging oxend if not active, but
that behaviour ended up being quite wrong because lokinet needs to ping
even when decommissioned or deregistered (when decommissioned we need
the ping to get commissioned again, and if not registered we need the
ping to get past the "lokinet isn't pinging" nag screen to prepare a
registration).

This considerably revises the pinging behaviour:

- We ping oxend *unless* there is a specific error with our connections
  (i.e. we *should* be establishing peer connections but don't have any)
- If we do have such an error, we send a new oxend "error" ping to
  report the error to oxend and get oxend to hold off on sending uptime
  proofs.

Along the way this also changes how we handle the current node state:
instead of just tracking deregistered/decommissioned, we now track three
states:

- LooksRegistered -- which means the SN is known to the network (but not
  necessarily active or fully staked)
- LooksFunded -- which means it is known *and* is fully funded, but not
  necessarily active
- LooksDecommissioned -- which means it is known, funded, and not
  currently active (which implies decommissioned).

The funded (or more precisely, unfunded) state is now tracked in
rc_lookup_handler in a "greenlist" -- i.e. new SNs that are so new (i.e.
"green") that they aren't even fully staked or active yet.
2 years ago
.github Update issue templates 5 years ago
cmake Remake non-mac icon; regenerate during build for windows 2 years ago
contrib Remake non-mac icon; regenerate during build for windows 2 years ago
crypto Replace logging with oxen-logger 2 years ago
daemon Merge pull request #1991 from jagerman/lokinet-vpn-cleanups 2 years ago
docs Merge pull request #1969 from majestrate/wintun-windivert-2022-08-02 2 years ago
external oxen-mq update to tagged stable release 2 years ago
gui@7b0f1aacdf Remake non-mac icon; regenerate during build for windows 2 years ago
include fix up log statements 2 years ago
jni changeset for windows port 2 years ago
llarp Oxend error ping + unfunded tracking 2 years ago
pybind changeset for windows port 2 years ago
test Fix obsolete oxenmq/hex.h usage 2 years ago
win32-setup changeset for windows port 2 years ago
.clang-format Config file improvements (#1397) 4 years ago
.clang-tidy Tweak clang-tidy rules 3 years ago
.dir-locals.el add emacs dir-locals 6 years ago
.dockerignore Add fail-able docker build for gcc trunk 5 years ago
.drone.jsonnet Remake non-mac icon; regenerate during build for windows 2 years ago
.gitattributes Add mainnet/testnet bootstrap files into repo 3 years ago
.gitignore Add mainnet/testnet bootstrap files into repo 3 years ago
.gitmodules Build apple/macos GUI from lokinet project 2 years ago
.swift-version add swift version bullshit file and additional bullshittery 3 years ago
CMakeLists.txt bake in bootstrap fallbacks at build time 2 years ago
CMakeSettings.json Fixup MSVC build 5 years ago
CONTRIBUTING.md Update CONTRIBUTING.md 5 years ago
CONTRIBUTING_es.md Create CONTRIBUTING_es.md 5 years ago
LICENSE make it so github sees the repo is gpl3 2 years ago
readme.md restructure readme and docs 2 years ago
readme_es.md Add missing dep 'cppzmq' (#1764) 3 years ago
readme_fr.md add french readme 2 years ago
readme_ru.md Add missing dep 'cppzmq' (#1764) 3 years ago

readme.md

Lokinet

Lokinet is the reference implementation of LLARP (low latency anonymous routing protocol), a layer 3 onion routing protocol.

Installation instructions can be found here.

You can learn more about the high level, how to use it and the internals of the protocol here

Build Status

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Copyright © 2018-2022 The Oxen Project
Copyright © 2018-2022 Jeff Becker
Copyright © 2018-2020 Rick V. (Historical Windows NT port and portions)