Stephen Shelton
4c6be3c8d1
Add PathBuildRejectedEvent to RouterHive
2020-03-12 12:01:54 -06:00
Stephen Shelton
f61cd1a7da
Add some notes/comments about DHT message handling
2020-02-28 16:26:52 -07:00
Jeff Becker
fdcd19662f
remove trailing "ms"
2020-02-25 12:07:30 -05:00
Jeff Becker
bf0416cab8
remove Time_t, add operator overload for printing llarp_time_t and add to_json function for serializing llarp_time_t to json
2020-02-25 12:05:13 -05:00
Jeff Becker
d2d109e92c
llarp_time_t is now using std::chrono
2020-02-24 15:25:03 -05:00
Jeff Becker
f4520ac920
make decaying hashset use llarp::Time_t and move unit tests to use catch2
2020-02-24 15:22:49 -05:00
Jason Rhinelander
089056ca5b
Remove all ABSL_ATTRIBUTE_UNUSED uses
2020-02-24 14:27:44 -04:00
Stephen Shelton
ea97a8f2ac
Make format
2020-02-21 10:16:45 -07:00
Thomas Winget
145efaf0bb
should probably build before committing...
2020-02-20 17:04:08 -05:00
Thomas Winget
ad3465ee66
std move better
2020-02-20 16:55:45 -05:00
Thomas Winget
893ef2b874
const-y-ness and move-y-ness
2020-02-20 16:46:07 -05:00
Thomas Winget
fc56a018e5
path builder prints hops, rest print short name
2020-02-20 16:37:39 -05:00
Jason Rhinelander
ac1486d0be
Replace absl::optional with optional-lite
...
Step 1 of removing abseil from lokinet.
For the most part this is a drop-in replacement, but there are also a
few changes here to the JSONRPC layer that were needed to work around
current gcc 10 dev snapshot:
- JSONRPC returns a json now instead of an optional<json>. It doesn't
make any sense to have a json rpc call that just closes the connection
with returning anything. Invoked functions can return a null (default
constructed) result now if they don't have anything to return (such a
null value won't be added as "result").
2020-02-19 18:21:25 -04:00
Jeff Becker
e35d17764a
* add path::Path::UniqueEndpointSet_t
...
* start using check2 for new unit tests
* unit test for path::Path::UniqueEndpointSet_t
2020-02-14 17:41:31 -04:00
Jeff Becker
7374f8f0fd
update lokinetmon
2020-02-11 10:36:18 -05:00
Jeff Becker
e8b84fcfbd
add path speed metrics for lokinetmon
2020-02-08 11:21:18 -05:00
Jeff Becker
9214ecbc48
rename bloomfilter to replayfilter
2020-01-06 07:20:16 -05:00
Jeff Becker
a7a101e33c
more intellegent path failure profiling using LRSM
2020-01-03 07:52:19 -05:00
Jeff Becker
73e07ef2d0
client side replay filter
2020-01-03 06:04:47 -05:00
Jeff Becker
56dce90de9
add trace log level for tracking logic thread jobs
2019-11-22 16:23:19 -05:00
Thomas Winget
17de3f2478
do...while; make format; remove erroneous GUARDED_BY
2019-11-06 10:26:51 -05:00
Thomas Winget
75512b1b58
ban zero id for pathid; clarity and cleanup
2019-11-06 10:26:51 -05:00
Jeff Becker
7ee026fa50
make path builds work again
2019-11-05 11:58:53 -05:00
Jeff Becker
7c35b00f98
Revert "move calling of path build sccess hook to correct place"
...
This reverts commit 902cd86a3b
.
2019-11-04 08:39:29 -05:00
Jeff Becker
902cd86a3b
move calling of path build sccess hook to correct place
2019-11-03 16:07:39 -05:00
Jeff Becker
9d266dbec7
meh
2019-11-03 15:52:00 -05:00
Jeff Becker
327c545530
finish multithread cryptography first pass
2019-09-16 12:12:05 -04:00
jeff
14c9ef15ed
try calling stuff in logic thread from event loop
2019-09-16 06:21:12 -04:00
Jeff Becker
4bf6882c8a
more async cryptography
2019-09-05 13:39:09 -04:00
Michael
edd0ec398f
Move thread stuff to subdirectory
2019-09-03 20:52:28 +01:00
Michael
094b697b01
Replace StatusObject with underlying JSON type
2019-08-19 10:33:26 +01:00
Michael
16cdfbd5f0
clang-tidy modernize pass
2019-08-12 16:52:58 +01:00
Michael
84601fa474
Make format
2019-08-08 00:26:40 +01:00
Michael
c429f0cec9
Jeff's fixes
2019-08-04 22:30:47 +01:00
Michael
4763888d2c
Add fail-able docker build for gcc trunk
2019-08-02 10:28:09 +01:00
Jeff Becker
aa0a795689
call path build fail stuff in logic thread
2019-07-31 08:51:24 -04:00
Jeff Becker
db2206664a
fix crashes in testnet
2019-07-29 11:10:20 -04:00
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
2019-07-25 17:46:56 -04:00
Thomas Winget
bbb5339b33
add debug-level log message on path build success
2019-07-25 14:48:14 -04:00
Michael
be997020dd
Fixup two minor warnings
2019-07-12 07:27:21 +01:00
Michael
488695047f
Remove redundant else blocks
2019-07-09 22:54:46 +01:00
Michael
08609f9e5a
Rename message files
2019-06-19 23:30:07 +01:00
Michael
8a058fcb34
Move other messages
2019-06-19 21:35:57 +01:00
Michael
83bd9227a7
Move exit messages
2019-06-19 21:35:26 +01:00
Michael
d6751e3eeb
Move subset of messages to right directory
2019-06-19 21:35:26 +01:00
Michael
b89689fec3
Refactor path build code
2019-06-18 22:51:41 +01:00
Rick V
c6c31efec9
make format
2019-06-17 23:29:54 -05:00
Jeff Becker
9ea13a9ee3
ingore paths that drop exit traffic
2019-05-31 06:57:41 -04:00
Jeff Becker
762a0c534f
Merge remote-tracking branch 'origin/master'
2019-05-29 08:09:02 -04:00
Michael
491fee206b
Port code to use CryptoManager over passing Crypto pointers
2019-05-28 20:45:08 +01:00