Commit Graph

26 Commits (273270916ea33b096753c5ad316f46a8268761bd)

Author SHA1 Message Date
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.
4 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.
4 years ago
Thomas Winget 84a1d7dbcc clang format....... 4 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)`...
4 years ago
Thomas Winget c8c66f0a5f some refactoring of tooling code, added RCGossipReceivedEvent 4 years ago
Jeff Becker ea3851d15f
rc gossiping 4 years ago
Jeff Becker 4f81b913ef
make router version member optional on serialization 4 years ago
Jeff Becker 9efd796145
initial wack at 0.7.0 dht fixes 4 years ago
Jeff Becker 2c0dc12f39
refactor single char variables in DHT (mostly) 4 years ago
Jeff Becker a17b5f25b5
check for zero'd rc 4 years ago
Jeff Becker 2af64671bf
make it compile 4 years ago
Jeff Becker 0526fef37b
store RCs if valid 4 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 5 years ago
Jeff Becker 5938cec770
fix gotrouter handling 5 years ago
Michael 13a9f65520
Fully define interface for dht::Context 5 years ago
Michael a00d6afc5e
Convert llarp_buffer_t to be a class with methods 5 years ago
Michael 048fa83c39
Finish replacement of Router with AbstractRouter 5 years ago
Michael 729cd045f1
Convert llarp::Router into an abstract base class 5 years ago
Michael 2de621b0ad
Disable copy constructing llarp_buffer_t 5 years ago
Michael 7296ebcbe8
Tidy dht code 5 years ago
Michael 4257b62e88
Add .cpp files for all .hpp files 6 years ago