input-output-hk / jormungandr

privacy voting blockchain node
https://input-output-hk.github.io/jormungandr/
Apache License 2.0
365 stars 132 forks source link

Maintain state on peer connections and notification subscriptions #181

Closed mzabaluev closed 5 years ago

mzabaluev commented 5 years ago

The network "task" (which in reality is backed by a Tokio thread pool) needs to maintain state of currently active gRPC connections from/to peers, as well as bidirectional streams that are used to send and receive event notifications.

mzabaluev commented 5 years ago

This is in place now.