Commit Graph

5631 Commits (3c6a127dcef82f26c580db0613139c45a24dfe48)
 

Author SHA1 Message Date
Thomas Winget 695784b2b6 more hive things
DHT PubIntroSentEvent
some helper functions added to RouterHive (C++ class) as well as RouterHive(Python class)
hive.py main() continues to be a testbed for new event types
some more internal classes in pybind
5 years ago
Thomas Winget 6d472d2423 rc gossip delay adjustment for hive
allows enough time for every relay (at least in a hive of 50) to connect
to the bootstrap node so all will get all gossips, but not too long so
tests can run relatively quickly.
5 years ago
Jason Rhinelander c87fd66386 Fix lookup filter to filter second, not first, lookup 5 years ago
Jeff Becker 08de84d40b
remove non public routers from nodedb 5 years ago
Thomas Winget 6fc05ca1ff RCGossipSentEvent 5 years ago
Thomas Winget 7e0e8ab7bf hive.py upgrades, now with more cli args! 5 years ago
Thomas Winget f01624d10a 2ms between hive router spin-up instead of 20ms 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
Thomas Winget 912e4267e4 I'm a muppet. 5 years ago
Thomas Winget 88c80dc2ee add cxxopts to shared_lib dependencies 5 years ago
Thomas Winget df0380e746 LRSM RouterEvent, added to hive test and test passes. 5 years ago
Thomas Winget 138a0b33fb jason's computer can't python3 5 years ago
Thomas Winget 771d0b4489 hive pytest framework in place (and path build test works)! 5 years ago
Thomas Winget 04c1f67f78 more structure to python hive code 5 years ago
Thomas Winget d40b106292 --print-events to enable hive printing all events, default false now 5 years ago
Thomas Winget 2bf1c889cf call relays 'relays' instead of 'routers' in hive.py 5 years ago
Thomas Winget ee7b7e917d hive can now instantiate and start relays/clients separately 5 years ago
Thomas Winget 2bbb274131 superfluous class declaration 5 years ago
Thomas Winget e1be27611b hive print count of each event after every 10 events 5 years ago
Stephen Shelton 4741d81051 Add GotIntro event to RouterHive 5 years ago
Thomas Winget 68c1ae52b3 add ShortHex function to AlignedBuffer 5 years ago
Thomas Winget 341d03bcf8 changes 5 years ago
Jeff Becker e7689b40a7 dht pub intro message router event thiny doo 5 years ago
Jeff Becker 22ed47ca12 better tostring 5 years ago
Thomas Winget 5672c42f20 RouterEvent::ToString in parent class 5 years ago
Thomas Winget 81209669e3 typo 5 years ago
Thomas Winget 14bf2733c1 how to use a router event doc 5 years ago
Thomas Winget 4ffd42109c some tooling documentation 5 years ago
Thomas Winget 309569628e change some to_string functions 5 years ago
Thomas Winget db2a0ef7f7 git add because I'm dumb 5 years ago
Thomas Winget a9882ad475 PathRequestReceivedEvent implemented 5 years ago
Thomas Winget c9a278c0de some more changes to pybind/hive code, read below
hive.py is currently largely for testing the pybind stuff, so changes to it will likely
be frequent and arbitrary for now.

Added pybind for llarp::path::PathHopConfig, but not every member -- just rc and upstream routerID

Hive now uses std::queue with mutex instead of our lockless queue.

Removed some functions from Hive that will not be necessary as things are being handled from python.
5 years ago
Thomas Winget e0187fd690 holy GIL contention batman 5 years ago
Thomas Winget 5cf35769b4 don't have python try to intercept stdout/stderr 5 years ago
Jeff Becker 32dbe6b1ad more shiz 5 years ago
Jeff Becker 877443d95c more introspection code 5 years ago
Thomas Winget 931ff521d1 working toward full testnet of routers (not clients yet) in hive/pybind setup
Not working yet -- some sort of RC issue.  Checkout the commit prior to this if you want something that 'works' that you can play with.
5 years ago
Thomas Winget d8d0338575 don't use cmake findlibrary on pybind 5 years ago
Thomas Winget 2cda9f6cb8 pybind stable 5 years ago
Thomas Winget 1e04decb66 can ping on lokinet running in python context! 5 years ago
Thomas Winget 85e510c89b add router_event pybind file 5 years ago
Thomas Winget 5e498e962f working on more pybinds 5 years ago
Thomas Winget 0f34a950a9 pybind config object, working 5 years ago
Thomas Winget 9b3bf833e0 revert nop logging -- un-revert later 5 years ago
Jeff Becker 5dcf271339 update python 5 years ago
Thomas Winget a5c2b369b7 nop logging on hive build for now
a bunch of routers logging to stdout at the same time is a complete
charlie foxtrot.  until we take the time to make logger not a singleton
(and probably make each router able to log to its own file rather than stdout)
just make it not log.

Note: this is very temporary, as the logs will be annoying for testing the
pybind stuff and shouldn't be necessary for debugging it
5 years ago
Thomas Winget 0007996fde using instead of typedef 5 years ago
Jeff Becker 21026753d1 makefile tweaks for tommyboi 5 years ago
Jeff Becker a5dc41b049 OMG IT DOES STUFF :DDDDDD 5 years ago