Handle submit block response in self select client

This PR fixes self-select client with submit-to-origin=true by handling `submitblock` responses.

Previously, the submit block responses would result in an error message
and enter RETRY state because parseResponse expects all responses to be
for `getblocktemplate`.
This commit is contained in:
Stanimal 2021-02-28 17:54:57 +04:00
parent 072881e1a1
commit 302290c4a1
No known key found for this signature in database
GPG key ID: 1885B149504C0A64
3 changed files with 34 additions and 8 deletions

6
.gitignore vendored
View file

@ -4,3 +4,9 @@ scripts/deps
/CMakeLists.txt.user
/.idea
/src/backend/opencl/cl/cn/cryptonight_gen.cl
*.a
CMakeCache.txt
CMakeFiles/
Makefile
cmake_install.cmake
/xmrig