feat(net): draft for sending status updates through NetworkHandle (#436)

* feat(net): draft for sending status updates through `NetworkHandle`

* feat(net): draft for sending status updates through `NetworkHandle`

* fix(net): remove unused import

* feat(net): implement getters for status update sender half

* docs(net): document methods

* chore: cargo fmt

* feat(net): move status updating logic to NetworkManager and NetworkHandle

* feat(net): move status updating logic to NetworkManager and NetworkHandle

* fix(net): fix headers stage testing

* fix: derive default

* fix: remove StatusUpdate struct

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
mempirate
2022-12-15 08:59:28 +01:00
committed by GitHub
parent 7b6bf0820e
commit c23c65fc3b
14 changed files with 76 additions and 82 deletions

View File

@ -63,6 +63,7 @@ impl Command {
.build(consensus.clone(), fetch_client.clone()),
consensus: consensus.clone(),
client: fetch_client.clone(),
network_handle: network.clone(),
commit_threshold: 100,
},
false,