Commit Graph

5600 Commits (9e7254f6fa820c1d174b1bab9c6bf848d6abc03f)
 

Author SHA1 Message Date
Thomas Winget a9882ad475 PathRequestReceivedEvent implemented 4 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.
4 years ago
Thomas Winget e0187fd690 holy GIL contention batman 4 years ago
Thomas Winget 5cf35769b4 don't have python try to intercept stdout/stderr 4 years ago
Jeff Becker 32dbe6b1ad more shiz 4 years ago
Jeff Becker 877443d95c more introspection code 4 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.
4 years ago
Thomas Winget d8d0338575 don't use cmake findlibrary on pybind 4 years ago
Thomas Winget 2cda9f6cb8 pybind stable 4 years ago
Thomas Winget 1e04decb66 can ping on lokinet running in python context! 4 years ago
Thomas Winget 85e510c89b add router_event pybind file 4 years ago
Thomas Winget 5e498e962f working on more pybinds 4 years ago
Thomas Winget 0f34a950a9 pybind config object, working 4 years ago
Thomas Winget 9b3bf833e0 revert nop logging -- un-revert later 4 years ago
Jeff Becker 5dcf271339 update python 4 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
4 years ago
Thomas Winget 0007996fde using instead of typedef 4 years ago
Jeff Becker 21026753d1 makefile tweaks for tommyboi 4 years ago
Jeff Becker a5dc41b049 OMG IT DOES STUFF :DDDDDD 4 years ago
Jeff Becker 1bb3fba31b add demo script 4 years ago
Jeff Becker 831e80f498 more pybind bindings 4 years ago
Thomas Winget f712acc486 huzzah it builds, time to test soon! 4 years ago
Jeff Becker da79b14703 make it compile 4 years ago
Jeff Becker d0b909f881 use stable branch in submodule 4 years ago
Thomas Winget 8dc5dabe49 working toward compilation, still has include issue 4 years ago
Jeff Becker a4141617d7 add build infra for toggling hive builds 4 years ago
Jeff Becker 26c1670af7 make it compile 4 years ago
Jeff Becker fc0dfb6e3d add submodule 4 years ago
Jeff Becker 78454f1cb4 more introspection 4 years ago
Jeff Becker 35bea37fd1 make it compile 4 years ago
Jeff Becker 1fdb8b4c94 initial pybind11 introspection code 4 years ago
Thomas Winget 8d03e6dd3c more router hive stuff, read below the fold
Router now has a hive pointer if LOKINET_HIVE is set.
llarp::Context has a method InjectHive to give Router the pointer.
Router has a method NotifyRouterEvent which does:
  - when LOKINET_HIVE is set, passes the event to RouterHive
  - else when LOKINET_DEBUG is set, prints the event at a low log level
  - else NOP
4 years ago
Thomas Winget cd48b3946e config will be handled by python. router add/start/stop code in hive. 4 years ago
Thomas Winget 86bd6bed50 progress commit to push for others to see 4 years ago
Thomas Winget 6a0ee9dc55 RouterHive initial commit, minor changes to RouterEvent 4 years ago
Thomas Winget 07c5d6f5df first draft of router event tooling 4 years ago
Jeff Becker add305b9f4
use size / 2 as the number of transit paths 4 years ago
Jeff Becker 05082e2507
fix status line 4 years ago
Rick V 3ca50b3619
missing branch on option 4 years ago
Rick V c8c9222b01
remove unused rule 4 years ago
Rick V d22af469a4
some win32 cmake cleanup
also removes MSVC rules (we don't support MSVC)
4 years ago
Rick V c4e8e52fcc
finally remove C++17 requirement on windows (only needed it for
filesystem)
4 years ago
Rick V dbc559d4ff
finally fix cross-LTO on windows builds 4 years ago
Rick V 4cd7a22ca3
fix libsodium cross compile 4 years ago
Jeff ef8570ff58
Merge pull request #1156 from majestrate/make-goissp-work
make gossip serialize gossip messages
4 years ago
Jeff Becker 61ffbc0643
std::vector reserve does not resize 4 years ago
Jeff cca53cfdea
Merge pull request #1155 from jagerman/ctest-sucks
Remove enable_testing() because ctest sucks (and thus we don't use it)
4 years ago
Jason Rhinelander 7a5b105f49 Remove enable_testing() because ctest sucks (and thus we don't use it) 4 years ago
Jeff Becker 0a6c91b26c
operator presidence 4 years ago
Jeff Becker d8cf164a7d
add gitattributes for git-archive-all 4 years ago