Commit Graph

119 Commits (31616837e04f7d0e6c7781672094e251ddb2aa2e)

Author SHA1 Message Date
dr7ana 7568b71893 kick 5 months ago
dr7ana 2405d36d33 libquic vbump 5 months ago
dr7ana c4f0a70360 Bootstrap seed
- nodes now send their RC to the bootstrap seed on making a request
- allows the bootstrap seed to distribute RCs
5 months ago
Jason Rhinelander 950ebfe2df Update libquic 5 months ago
Jason Rhinelander be613734b4 Remove duplicate connection closing method
`deregister_peer` does the exact same thing as `close_connection` so
just remove it.

Also removes an unnecessary loop dispatch call (because we *have* to be
in the logic thread already to be able to touch the variables we are
touching before the dispatch).
5 months ago
Jason Rhinelander ed87b73f23 Bump libquic 5 months ago
Jason Rhinelander 72276e33ef Update libquic 5 months ago
dr7ana 03976d8731 Squashed misc testnet fixes 5 months ago
dr7ana 267a698da1 libquic vbump
- now pointing to jason/void-listen
5 months ago
Thomas Winget e37ef7808d Add command to fetch RCs from remote node
This command will be called periodically by clients to maintain a list
of RCs of active relay nodes.  It will require another command (future
commit) to fetch the RouterIDs from many nodes and reconcile those so we
have some notion of good-ness of the RCs we're getting; if we get what
seems to be a bad set of RCs (this concept not yet implemented), we will
choose a different relay to fetch RCs from.  These are left as TODOs for
now.
5 months ago
dr7ana d35073cc58 libquic bump 5 months ago
Jason Rhinelander ca5ed01b2c Bump libquic to latest for static build fixes 5 months ago
Jason Rhinelander eb37796b65 Bump oxen-mq for libzmq llvm static build fix 5 months ago
Jason Rhinelander b909f537fe Default libcrypt to whether or not we find it
Also deliberately don't provide the function at all if we aren't
compiled with libcrypt so that we can't link if we try to call it when
not available.
5 months ago
Jason Rhinelander 52b175772f Bring oxen-encoding back in as a submodule
As long as it's loaded before oxen-mq or libquic, this should end up
being the one that gets used in oxen-mq/libquic, and so we don't have to
update those when we want something in a newer oxen-encoding.
5 months ago
dr7ana 12a89328fe Cmake restructuring 5 months ago
dr7ana ad007ff832 libquic/oxen-mq/oxenc version bumps 9 months ago
dr7ana ae319091d6 libquic bump 9 months ago
dr7ana d0c3837384 libquic bparser merged
- bumped version to latest main branch commit
- wired up callbacks to set RPC request stream on creation
- methods for I/O of control and data messages through link_manager
9 months ago
dr7ana a3e6cec7e7 Address type migration + libquic bump
- llarp/router/router.hpp, route_poker, and platform code moved to libquic Address types
- implementing required methods in link_manager for connection establishment
- coming along nicely
9 months ago
dr7ana bfa9629779 More carving + libquic bump
- bumped libquic to begin implementing dependent features on connection open/close signals
- more gutting of interface classes
9 months ago
dr7ana ffb90e87dc libquic bump 10 months ago
dr7ana d1b7eee7c8 Zlib version bump 1.2.13 -> 1.3 10 months ago
dr7ana a4272c4503 Added span backport 10 months ago
dr7ana 7ce517bd2d oxen-libquic update; no leak warn deprecated 10 months ago
dr7ana 0b6506a00b oxen-libquic version bump
- added CI fixes for gnutls build
10 months ago
dr7ana db01c7c4ce oxen-mq commit bump 10 months ago
Jason Rhinelander bc585d93d2
Remove external/ngtcp2 (use the one from libquic instead) 10 months ago
Thomas Winget 68e8abc234 bump libquic version 10 months ago
Jason Rhinelander cd7498cb5a
Bump libquic for oxen-logging fix 10 months ago
dr7ana 620f916e65 Bump oxen-libquic to latest PR's 10 months ago
Jason Rhinelander c997ca2b60
Don't rely on cmake search path for StaticBuild
Resolves a conflict with libquic's StaticBuild.
10 months ago
dr7ana 1346ce5326 oxen-libquic bump for cmake fix 10 months ago
dr7ana ad5055b85f cmake tweaks for redundant dependencies (WIP) 10 months ago
Thomas Winget 3c46b07bfe Add oxen-libquic submodule
TODO: correctly plug it into CMake and remove ngtcp2 submodule from lokinet
as it will now come from oxen-libquic, if even used directly by lokinet at all.
10 months ago
dr7ana 9acac2c33e CI fixes
- oxen-logging updated to bump fmt version
- version bump oxen-logging to fix fmt version
- version bump oxen-mq to solve uniform distribution error
- misc errors introduced by above version bumps
- clang-format 14 -> 15
11 months ago
dan 13b01c86a6 Updated RpcServer Initialization and Logic
-- Moved all RPCServer initialization logic to rpcserver constructor
    -- Fixed config logic, fxn binding to rpc address, fxn adding rpc cats
    -- router hive failed CI/CD resulting from outdated reference to rpcBindAddr
    -- ipc socket as default hidden from windows (for now)
refactored config endpoint
    - added rpc call script (contrib/omq-rpc.py)
    - added new fxns to .ini config stuff
    - added delete .ini file functionality to config endpoint
    - added edge case control for config endpoint

add commented out line in clang-form for header reorg later
1 year ago
Thomas Winget fbfd70a35a Fix incorrect usage of oxen-logging syslog
Previously oxen-logging was erroneously hard-coded to use the target
"lokinet" for system logs.  Obviously this is wrong for anything else
which uses oxen-logging and the system log.  This changes our call to
add_sink to pass "lokinet" as the target rather than the config
filename, and updates oxen-logging to use that argument correctly.
1 year ago
dan dc7f3cee22 Replace cxxopts with CLI11
- Simiplifies CLI code for future modification
- filesystem library linked in cmake check_for_std_filesystem file
1 year ago
Jason Rhinelander c3d212054a
Update deps to latest versions 2 years ago
Jason Rhinelander 081dfd3328 Update submodules to latest version:
cpr: 1.9.2
cxxopts: 3.0.0
ghc-filesystem: 1.5.12
nlohmann-json: 3.11.2
pybind11: 2.10.0
sqlite_orm: 1.7.1

Plus other updates need to make these work:
- cpr needs a cprver.h configured with the version (cmake code copied
  from oxen-core).
2 years ago
Jason Rhinelander 6ee7306217
oxen-mq update to tagged stable release 2 years ago
Thomas Winget eaf30de1fd
omq rpc log subscription
respects whether RPC is enabled, removes the log sink otherwise

bumps oxen-mq and oxen-logging
2 years ago
Jason Rhinelander 75e382604b
Bump required oxenc version 2 years ago
Jason Rhinelander 2eef7c5915
Don't look for sqlite when not building peerstats 2 years ago
Jason Rhinelander 09372994bb macOS system extension support
Adds support for building Lokinet as a system extension, and fixes
various problems in the macos implementation found during development of
the system extension support.
2 years ago
Jeff 23fd46c0db
add directory specific readmes 2 years ago
Jason Rhinelander f6019210c3
oxen-logging update to handle level/type parsing exceptions 2 years ago
Jason Rhinelander 9bf1d5837a
Update oxen-logging for macos compilation 2 years ago
Jeff 8cde7c7e7a
fix win32 and android builds 2 years ago