Open accelleon opened 2 years ago
In order to mock the websocket and HTTP calls miner implementations will need to replace TcpStream
with an implementation generic over T: AsyncRead + AsyncWrite
. tokio_test::io
will likely be used for this.
Due to this, I will schedule this to be worked alongside #2 .
Self-explanatory: