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
Jeff Becker
1bb3fba31b
add demo script
5 years ago
Jeff Becker
831e80f498
more pybind bindings
5 years ago
Thomas Winget
f712acc486
huzzah it builds, time to test soon!
5 years ago
Jeff Becker
da79b14703
make it compile
5 years ago
Jeff Becker
d0b909f881
use stable branch in submodule
5 years ago
Thomas Winget
8dc5dabe49
working toward compilation, still has include issue
5 years ago
Jeff Becker
a4141617d7
add build infra for toggling hive builds
5 years ago
Jeff Becker
26c1670af7
make it compile
5 years ago
Jeff Becker
fc0dfb6e3d
add submodule
5 years ago
Jeff Becker
78454f1cb4
more introspection
5 years ago
Jeff Becker
35bea37fd1
make it compile
5 years ago
Jeff Becker
1fdb8b4c94
initial pybind11 introspection code
5 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
5 years ago
Thomas Winget
cd48b3946e
config will be handled by python. router add/start/stop code in hive.
5 years ago
Thomas Winget
86bd6bed50
progress commit to push for others to see
5 years ago
Thomas Winget
6a0ee9dc55
RouterHive initial commit, minor changes to RouterEvent
5 years ago
Thomas Winget
07c5d6f5df
first draft of router event tooling
5 years ago
Jeff Becker
add305b9f4
use size / 2 as the number of transit paths
5 years ago
Jeff Becker
05082e2507
fix status line
5 years ago
Rick V
3ca50b3619
missing branch on option
5 years ago
Rick V
c8c9222b01
remove unused rule
5 years ago
Rick V
d22af469a4
some win32 cmake cleanup
...
also removes MSVC rules (we don't support MSVC)
5 years ago