Thomas Winget
81209669e3
typo
2020-03-03 19:57:09 -05:00
Thomas Winget
14bf2733c1
how to use a router event doc
2020-03-03 19:57:09 -05:00
Thomas Winget
4ffd42109c
some tooling documentation
2020-03-03 19:57:09 -05:00
Thomas Winget
309569628e
change some to_string functions
2020-03-03 19:57:09 -05:00
Thomas Winget
db2a0ef7f7
git add because I'm dumb
2020-03-03 19:57:09 -05:00
Thomas Winget
a9882ad475
PathRequestReceivedEvent implemented
2020-03-03 19:57:09 -05:00
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.
2020-03-03 19:57:09 -05:00
Thomas Winget
e0187fd690
holy GIL contention batman
2020-03-03 19:57:09 -05:00
Thomas Winget
5cf35769b4
don't have python try to intercept stdout/stderr
2020-03-03 19:57:09 -05:00
Jeff Becker
32dbe6b1ad
more shiz
2020-03-03 19:57:09 -05:00
Jeff Becker
877443d95c
more introspection code
2020-03-03 19:57:09 -05:00
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.
2020-03-03 19:57:09 -05:00
Thomas Winget
d8d0338575
don't use cmake findlibrary on pybind
2020-03-03 19:57:09 -05:00
Thomas Winget
2cda9f6cb8
pybind stable
2020-03-03 19:57:09 -05:00
Thomas Winget
1e04decb66
can ping on lokinet running in python context!
2020-03-03 19:57:09 -05:00
Thomas Winget
85e510c89b
add router_event pybind file
2020-03-03 19:57:09 -05:00
Thomas Winget
5e498e962f
working on more pybinds
2020-03-03 19:57:09 -05:00
Thomas Winget
0f34a950a9
pybind config object, working
2020-03-03 19:57:09 -05:00
Thomas Winget
9b3bf833e0
revert nop logging -- un-revert later
2020-03-03 19:57:09 -05:00
Jeff Becker
5dcf271339
update python
2020-03-03 19:57:09 -05:00
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
2020-03-03 19:57:09 -05:00
Thomas Winget
0007996fde
using instead of typedef
2020-03-03 19:57:09 -05:00
Jeff Becker
21026753d1
makefile tweaks for tommyboi
2020-03-03 19:57:09 -05:00
Jeff Becker
a5dc41b049
OMG IT DOES STUFF :DDDDDD
2020-03-03 19:57:09 -05:00
Jeff Becker
1bb3fba31b
add demo script
2020-03-03 19:57:09 -05:00
Jeff Becker
831e80f498
more pybind bindings
2020-03-03 19:57:09 -05:00
Thomas Winget
f712acc486
huzzah it builds, time to test soon!
2020-03-03 19:57:09 -05:00
Jeff Becker
da79b14703
make it compile
2020-03-03 19:57:09 -05:00
Jeff Becker
d0b909f881
use stable branch in submodule
2020-03-03 19:57:09 -05:00
Thomas Winget
8dc5dabe49
working toward compilation, still has include issue
2020-03-03 19:57:09 -05:00
Jeff Becker
a4141617d7
add build infra for toggling hive builds
2020-03-03 19:57:09 -05:00
Jeff Becker
26c1670af7
make it compile
2020-03-03 19:57:09 -05:00
Jeff Becker
fc0dfb6e3d
add submodule
2020-03-03 19:57:09 -05:00
Jeff Becker
78454f1cb4
more introspection
2020-03-03 19:57:09 -05:00
Jeff Becker
35bea37fd1
make it compile
2020-03-03 19:57:09 -05:00
Jeff Becker
1fdb8b4c94
initial pybind11 introspection code
2020-03-03 19:57:09 -05:00
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
2020-03-03 19:57:09 -05:00
Thomas Winget
cd48b3946e
config will be handled by python. router add/start/stop code in hive.
2020-03-03 19:57:09 -05:00
Thomas Winget
86bd6bed50
progress commit to push for others to see
2020-03-03 19:57:09 -05:00
Thomas Winget
6a0ee9dc55
RouterHive initial commit, minor changes to RouterEvent
2020-03-03 19:57:09 -05:00
Thomas Winget
07c5d6f5df
first draft of router event tooling
2020-03-03 19:57:09 -05:00
Jeff Becker
add305b9f4
use size / 2 as the number of transit paths
2020-03-03 18:16:08 -05:00
Jeff Becker
05082e2507
fix status line
2020-03-03 18:04:09 -05:00
Rick V
3ca50b3619
missing branch on option
2020-03-03 15:33:12 -06:00
Rick V
c8c9222b01
remove unused rule
2020-03-03 15:33:11 -06:00
Rick V
d22af469a4
some win32 cmake cleanup
...
also removes MSVC rules (we don't support MSVC)
2020-03-03 15:33:11 -06:00
Rick V
c4e8e52fcc
finally remove C++17 requirement on windows (only needed it for
...
filesystem)
2020-03-03 15:33:10 -06:00
Rick V
dbc559d4ff
finally fix cross-LTO on windows builds
2020-03-03 15:33:10 -06:00
Rick V
4cd7a22ca3
fix libsodium cross compile
2020-03-03 15:33:04 -06:00
Jeff
ef8570ff58
Merge pull request #1156 from majestrate/make-goissp-work
...
make gossip serialize gossip messages
2020-03-03 15:28:32 -05:00