Jason Rhinelander
89b582bf60
Modernize [[maybe_unused]] attribute
4 years ago
Stephen Shelton
595288e046
Add PeerDb::handleGossipedRC
4 years ago
Stephen Shelton
43ffe23f66
Remove obnoxious log statement
4 years ago
Stephen Shelton
273270916e
The Great Wall of Blame
...
This commit reflects changes to clang-format rules. Unfortunately,
these rule changes create a massive change to the codebase, which
causes an apparent rewrite of git history.
Git blame's --ignore-rev flag can be used to ignore this commit when
attempting to `git blame` some code.
5 years ago
Stephen Shelton
ea835405c5
Refactor NotifyRouterEvent() to forward args, event code cleanup
...
This template-ifies Router::NotifyRouterEvent() up so that it accepts
the arguments to instantiate the specified event type, forwarding them
to std::make_unique. This would allow (in the future) the function to
no-op the call and avoid memory allocation. It also slightly reduces
the amount of code required to fire an event.
This commit also simplifies some of the RouterEvent code to reduce
redundancy.
5 years ago
Thomas Winget
84a1d7dbcc
clang format.......
5 years ago
Thomas Winget
a58a8c9a61
hive.py now defaults to 1000 relays because f your box.
...
also check for error on uv_async_init...
may want to `ulimit -Sn $(ulimit -Hn)`...
5 years ago
Thomas Winget
c8c66f0a5f
some refactoring of tooling code, added RCGossipReceivedEvent
5 years ago
Jeff Becker
ea3851d15f
rc gossiping
5 years ago
Jeff Becker
4f81b913ef
make router version member optional on serialization
5 years ago
Jeff Becker
9efd796145
initial wack at 0.7.0 dht fixes
5 years ago
Jeff Becker
2c0dc12f39
refactor single char variables in DHT (mostly)
5 years ago
Jeff Becker
a17b5f25b5
check for zero'd rc
5 years ago
Jeff Becker
2af64671bf
make it compile
5 years ago
Jeff Becker
0526fef37b
store RCs if valid
5 years ago
Stephen Shelton
66a058a2af
Make format
5 years ago
Stephen Shelton
db56e17c23
Rename bencode function for clarity
5 years ago
Jeff Becker
b904a4ee22
fix explore
5 years ago
Michael
16cdfbd5f0
clang-tidy modernize pass
5 years ago
Michael
b89689fec3
Refactor path build code
5 years ago
Jeff Becker
d423ee02d2
use shared_ptr
6 years ago
Jeff Becker
5938cec770
fix gotrouter handling
6 years ago
Michael
13a9f65520
Fully define interface for dht::Context
6 years ago
Michael
a00d6afc5e
Convert llarp_buffer_t to be a class with methods
6 years ago
Michael
048fa83c39
Finish replacement of Router with AbstractRouter
6 years ago
Michael
729cd045f1
Convert llarp::Router into an abstract base class
6 years ago
Michael
2de621b0ad
Disable copy constructing llarp_buffer_t
6 years ago
Michael
7296ebcbe8
Tidy dht code
6 years ago
Michael
4257b62e88
Add .cpp files for all .hpp files
6 years ago