polyswarm / relay

Sidechain relay for PolySwarm, the first decentralized threat intelligence market.
https://polyswarm.io
GNU General Public License v3.0
2 stars 1 forks source link

Exit on lost geth connection with configurable timeout #75

Closed Rizato closed 5 years ago

Rizato commented 5 years ago

Created a timeout stream that will exit if no responses have been found on the underlying stream for the given duration.

Apparently the stream::chunks combinator was consuming the errors given by the new heads stream that the missed transfers block listened to. Removed that so that the timeout will trigger an error, and exit.

TODO