Store identification info about the remote (#1500)

* Store identification info about the remote

* Add node name on the wire

* Fix tests
This commit is contained in:
Pierre Krieger
2019-01-21 14:33:25 +01:00
committed by Gav Wood
parent 010e63116f
commit f67c2cc181
5 changed files with 142 additions and 34 deletions
+1
View File
@@ -112,6 +112,7 @@ fn node_config<F: ServiceFactory> (
reserved_nodes: vec![],
non_reserved_mode: NonReservedPeerMode::Accept,
client_version: "network/test/0.1".to_owned(),
node_name: "unknown".to_owned(),
};
Configuration {