missing data 01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff20034c5b02044843b95d08
[2019-10-30 04:22:47] submit_upstream_work::3 stratum_send_line failed - truncated hex
[2019-10-30 04:22:47] ...retry after 30 seconds
[2019-10-30 04:23:06] thread 0: 2969508352 hashes, 31698 khash/s
Error in stratum-gen-work2; poolhex too short
I think I might try reinstalling. installing pool with "sudo su" seems to mean that I have to run is as "sudo su" trying the normal sudo way it won''t launch right....
Will try again.
You're doing great. Keep it at. I didn't get that particular error myself, but I see it in the code here. Maybe use -P (protocol) and see what is being submitted to pool.
cpu-miner.c
// R Andrews: Ensure this is truncated at 160 bytes (for the header) when we add funded ABNs
// Little endian:
for (i = 0; i < ARRAY_SIZE(work->data); i++)
le32enc(work->data + i, work->data[i]);
if (strlen(work->block) < 160)
{
printf("\nmissing data %s\n ", work->block);
applog(LOG_ERR, "submit_upstream_work::3 stratum_send_line failed - truncated hex");
goto out;
}
char mySubmission[strlen(work->block) + 128];
My issues are mostly duplicate share issues when I start pool mining. I don't know why I get so many. I really need to read up more on how mining.submit works on the protocol level and how it interacts with pools. Later, I get ntime out of range errors.
NOMP was relatively easy to install, but hasn't been updated much since 2014 (lot of forks), but no maintainer. Probably a lot of bugs out of the box.