Commit Graph

10 Commits (0950571313fd11b7cc9aa9c3dd7ed788d9874851)

Author SHA1 Message Date
Michael 1aec0dfa2b
Move logging to subdirectory 5 years ago
Thomas Winget 38fd0552d3 Adds Link-Relay Status Messages
Success case:
  - the path endpoint creates and sends a LR_StatusMessage upon
    successful path creation

Failure case:
  - an intermediate hop creates and sends a LR_StatusMessage upon
    failure to forward the path to the next hop for any reason

Both cases:
  - transit hops receive LR_StatusMessages and add a frame
    to them reflecting their "status" with respect to that path
  - the path creator receives LR_StatusMessages and decrypts/parses
    the LR_StatusRecord frames from the path hops.  If all is good,
    the Path does as it would when receiving a PathConfirmMessage.
    If not, the Path marks the new path as failed.

LR_StatusMessage is now used/sent in place of PathConfirmMessage
5 years ago
Jeff Becker ec1910b8ca
remove threadpool.hpp
make link layer not use null lock and null mutex
5 years ago
Jeff Becker c355d37beb
use limited size queue for logic and singled threaded threadpool 5 years ago
Michael f734ffeae4 Fixup MSVC build 5 years ago
Jeff Becker 5d388bc9f2
meh 5 years ago
Michael 61f3273dc4
Add threading annotations and fix potential deadlocks 6 years ago
Michael c5a129ddff
Convert to use abseil synchronisation primitives 6 years ago
Michael 67b5d48095
Replace usage of new/delete with unique_ptr/stack allocation 6 years ago
Michael e5eda0fb8f
Move lokinet unspecific components to a util/ library 6 years ago