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
2020-03-04 00:57:26 -05:00
Thomas Winget
6fc05ca1ff
RCGossipSentEvent
2020-03-03 19:57:09 -05:00
Thomas Winget
f01624d10a
2ms between hive router spin-up instead of 20ms
2020-03-03 19:57:09 -05:00
Thomas Winget
c8c66f0a5f
some refactoring of tooling code, added RCGossipReceivedEvent
2020-03-03 19:57:09 -05:00
Thomas Winget
df0380e746
LRSM RouterEvent, added to hive test and test passes.
2020-03-03 19:57:09 -05:00
Thomas Winget
771d0b4489
hive pytest framework in place (and path build test works)!
2020-03-03 19:57:09 -05:00
Thomas Winget
04c1f67f78
more structure to python hive code
2020-03-03 19:57:09 -05:00
Thomas Winget
ee7b7e917d
hive can now instantiate and start relays/clients separately
2020-03-03 19:57:09 -05:00
Thomas Winget
2bbb274131
superfluous class declaration
2020-03-03 19:57:09 -05:00
Stephen Shelton
4741d81051
Add GotIntro event to RouterHive
2020-03-03 19:57:09 -05:00
Thomas Winget
68c1ae52b3
add ShortHex function to AlignedBuffer
2020-03-03 19:57:09 -05:00
Thomas Winget
341d03bcf8
changes
2020-03-03 19:57:09 -05:00
Jeff Becker
e7689b40a7
dht pub intro message router event thiny doo
2020-03-03 19:57:09 -05:00
Thomas Winget
5672c42f20
RouterEvent::ToString in parent class
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
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
1e04decb66
can ping on lokinet running in python context!
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
0007996fde
using instead of typedef
2020-03-03 19:57:09 -05:00
Jeff Becker
a5dc41b049
OMG IT DOES STUFF :DDDDDD
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