Pierre Krieger
a77da73010
Add inject_dial_failure and make addresses_of_peer mut ( #901 )
...
* Add inject_dial_failure and make addresses_of_peer mut
* Fix tests
2019-01-30 14:55:39 +01:00
Pierre Krieger
df923526ca
Embed the topology in the NetworkBehaviour ( #889 )
...
* Embed the topology in the NetworkBehaviour
* Put topologies inside of Floodsub and Kad
* Fix core tests
* Fix chat example
* More work
* Some cleanup
* Restore external addresses system
2019-01-26 23:57:53 +01:00
Toralf Wittner
6be3aca768
Cleanup. ( #803 )
...
- Use `Error::source` instead of `Error::cause`.
- Remove unused import.
2018-12-20 13:41:11 +01:00
James Ray
f541df391a
Chore/semi colons ( #799 )
...
* Add helpers for easier Transports creation (#777 )
* Add helpers for easier Transports creation
* Fix doctests
* Fix ' ;' occurrences
2018-12-19 23:22:39 +01:00
Pierre Krieger
83320e0347
More precise error passed to inject_dial_upgrade_error ( #771 )
...
* More precise error passed to inject_dial_upgrade_error
* Fix concerns
* Fix panic proof
2018-12-18 11:23:13 +01:00
Pierre Krieger
40a503fd63
Store information about the local node in the topology ( #772 )
...
* Store information about the local node in the topology
* Fix build
* Store the external addresses in the topology
2018-12-13 19:06:13 +01:00
Pierre Krieger
7da651bf32
Add an IdentifyTopology ( #770 )
2018-12-11 17:00:29 +01:00
Pierre Krieger
05e4a84da3
Rename PeriodicIdentification to PeriodicIdHandler ( #757 )
...
* Rename PeriodicIdentification to PeriodicIdentificationHandler
* Concern
2018-12-07 19:21:02 +01:00
Pierre Krieger
6b93f02f6d
Add an Identify behaviour ( #741 )
...
* Add an Identify behaviour
* Report observed address in PeriodicIdentify
* Reexport IdentifyEvent
* Concerns
* Concerns
2018-12-07 10:23:38 +01:00