lighthouse/beacon_node/eth2-libp2p
divma 103300c880
Custom net behaviour (#1122)
* expand NetworkBehaviour derive

* add handler placeholder

* add dummy custom handler wrapping the select

* cleanup behaviour's expanded impl of NetworkBehaviour

* cleanup behaviour with macro

* add missing function and clean with macros

* add custom InEvent for Behaviour's handler

* cleanup

* replace InboundProtocol with a "custom" one

* add a delegating handler to put the encapsulate the noice

* partially implement poll for handler

* partially implement poll for handler

* cleanup

* Remove warnings before merge

Co-authored-by: Age Manning <Age@AgeManning.com>
2020-05-26 14:24:38 +10:00
..
src Custom net behaviour (#1122) 2020-05-26 14:24:38 +10:00
tests Adds counter of received chunks to an OutboundSubstream. Ends the str… (#1126) 2020-05-18 21:41:01 +10:00
Cargo.toml Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00