-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix masari #2296
fix masari #2296
Conversation
How can i get this version ? |
Needs another change: --- a/xmrstak/cli/cli-miner.cpp
+++ b/xmrstak/cli/cli-miner.cpp
@@ -874,8 +874,8 @@ int do_benchmark(int block_version, int wait_sec, int work_sec)
printer::inst()->print_msg(L0, "Prepare benchmark for block version %d", block_version);
- uint8_t work[112];
- memset(work,0,112);
+ uint8_t work[128];
+ memset(work,0,128);
work[0] = static_cast<uint8_t>(block_version);
xmrstak::pool_data dat;
|
And probably --- a/xmrstak/net/msgstruct.hpp
+++ b/xmrstak/net/msgstruct.hpp
@@ -12,7 +12,7 @@
struct pool_job
{
char sJobID[64];
- uint8_t bWorkBlob[112];
+ uint8_t bWorkBlob[128];
uint64_t iTarget;
uint32_t iWorkLen; |
thx: well spotted I will fix it.
|
I have changed my tree to use a This way there is only one place to change it (in the future) |
Since masari increased the block size the miner crashed each time it gets connected with a masari pool. This PR extent the possible size of a block to 128 byte and updated the kernel.
I hope it is never needed again^^ |
fix #2278 #2233
Since masari increased the block size the miner crashed each time it
gets connected with a masari pool.
This PR extent the possible size of a block to 128 byte and updated the
kernel.