grin-miner icon indicating copy to clipboard operation
grin-miner copied to clipboard

Grin-miner cuckroom and C31 {{verification error}} for running two instances on same miner

Open BLOCKCHAINSMOKER opened this issue 4 years ago • 4 comments

I added a second instance in the cuckaroom miner plugin and it gave me a verification error.

first: {{verification error: edges not ascending}}

second {{endpoints don't match}} IMG_2831

This is in the grin-miner.toml

I just want to add that this works it is just not stable and prone to errors.

BLOCKCHAINSMOKER avatar Jan 16 '20 12:01 BLOCKCHAINSMOKER

It would be helpful to look into your grin-miner.log for when these faulty shares are found and submitted to server and post that section of a few dozen lines here.

tromp avatar Jan 16 '20 12:01 tromp

Could you please cut and paste text instead of posting pictures of them?

tromp avatar Jan 16 '20 12:01 tromp

Grin-miner.log

Jan 16 14:16:52.058 INFO Mining: Cucka*oo* at 4.624437694375451 gps (graphs per second)
Jan 16 14:16:54.168 DEBG Client received message: FoundSolution(524500, 0, 31, 5206368735325789604, [9080281, 49555634, 76363344, 91187728, 139557042, 142601226, 194061066, 275451271, 314143420, 347465631, 378387870, 439505585, 478910920, 648989503, 695026760, 795942983, 999550357, 1028298197, 1147298353, 1176863014, 1185399762, 1189948675, 1198481907, 1225009604, 1282738880, 1299480392, 1319920191, 1333925679, 1345192900, 1365515073, 1553144976, 1554772256, 1772758323, 1782966561, 1963044791, 1985322258, 1998374362, 2019492932, 2022402830, 2039699047, 2050738963, 2089456824])
Jan 16 14:16:54.168 DEBG sending request: {"id":"0","jsonrpc":"2.0","method":"submit","params":{"edge_bits":31,"height":524500,"job_id":0,"nonce":5206368735325789604,"pow":[9080281,49555634,76363344,91187728,139557042,142601226,194061066,275451271,314143420,347465631,378387870,439505585,478910920,648989503,695026760,795942983,999550357,1028298197,1147298353,1176863014,1185399762,1189948675,1198481907,1225009604,1282738880,1299480392,1319920191,1333925679,1345192900,1365515073,1553144976,1554772256,1772758323,1782966561,1963044791,1985322258,1998374362,2019492932,2022402830,2039699047,2050738963,2089456824]}}
Jan 16 14:16:54.269 DEBG Client received message: FoundSolution(524500, 0, 31, 16365386764001939637, [9080281, 49555634, 76363344, 91187728, 139557042, 142601226, 194061066, 275451271, 314143420, 347465631, 378387870, 439505585, 478910920, 648989503, 695026760, 795942983, 999550357, 1028298197, 1147298353, 1176863014, 1185399762, 1189948675, 1198481907, 1225009604, 1282738880, 1299480392, 1319920191, 1333925679, 1345192900, 1365515073, 1553144976, 1554772256, 1772758323, 1782966561, 1963044791, 1985322258, 1998374362, 2019492932, 2022402830, 2039699047, 2050738963, 2089456824])
Jan 16 14:16:54.269 DEBG sending request: {"id":"0","jsonrpc":"2.0","method":"submit","params":{"edge_bits":31,"height":524500,"job_id":0,"nonce":16365386764001939637,"pow":[9080281,49555634,76363344,91187728,139557042,142601226,194061066,275451271,314143420,347465631,378387870,439505585,478910920,648989503,695026760,795942983,999550357,1028298197,1147298353,1176863014,1185399762,1189948675,1198481907,1225009604,1282738880,1299480392,1319920191,1333925679,1345192900,1365515073,1553144976,1554772256,1772758323,1782966561,1963044791,1985322258,1998374362,2019492932,2022402830,2039699047,2050738963,2089456824]}}
Jan 16 14:16:55.005 DEBG Received message: {"id":"0","jsonrpc":"2.0","method":"submit","result":null,"error":{"code":-32502,"message":"Failed to validate solution"}}

Jan 16 14:16:55.009 DEBG Received response with id: 0
Jan 16 14:16:55.009 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
Jan 16 14:16:55.009 DEBG Received message: {"id":"0","jsonrpc":"2.0","method":"submit","result":"ok","error":null}

Jan 16 14:16:55.009 DEBG Received response with id: 0
Jan 16 14:16:55.009 INFO Share Accepted!!

Jan 16 14:17:22.082 INFO Mining: Cucka*oo* at 4.508621533385242 gps (graphs per second)
Jan 16 14:17:23.891 DEBG Client received message: FoundSolution(524500, 2, 31, 17789503261658987202, [13544214, 13560482, 13560482, 15827927, 21178359, 40979263, 41079072, 41079072, 42555466, 42555466, 42856698, 53247518, 58307491, 58658713, 58658713, 58658713, 62645795, 68630013, 68967536, 70542303, 71840472, 209135425, 394040439, 586768845, 1106877332, 1389654408, 1813421043, 1883246627, 2152843857, 2237756925, 2287034829, 2373227639, 2526277148, 2643026381, 2717108146, 3072433044, 3417053080, 3471054744, 3730995852, 3815068213, 3957833494, 4180679705])
Jan 16 14:17:23.891 DEBG sending request: {"id":"0","jsonrpc":"2.0","method":"submit","params":{"edge_bits":31,"height":524500,"job_id":2,"nonce":17789503261658987202,"pow":[13544214,13560482,13560482,15827927,21178359,40979263,41079072,41079072,42555466,42555466,42856698,53247518,58307491,58658713,58658713,58658713,62645795,68630013,68967536,70542303,71840472,209135425,394040439,586768845,1106877332,1389654408,1813421043,1883246627,2152843857,2237756925,2287034829,2373227639,2526277148,2643026381,2717108146,3072433044,3417053080,3471054744,3730995852,3815068213,3957833494,4180679705]}}
Jan 16 14:17:23.992 DEBG Client received message: FoundSolution(524500, 2, 31, 16374425458708274551, [9667644, 18736488, 20501885, 21821793, 24632738, 26473239, 26473239, 26473239, 27080640, 32604140, 33019671, 33037912, 34780880, 37112089, 43869677, 43869677, 47858465, 68059191, 72760313, 72760313, 73181999, 291668123, 331601725, 475190059, 545383235, 737428768, 918842421, 1565959603, 1604758511, 2037833586, 2049969118, 2180096018, 2193546360, 2328292607, 2438437482, 2542404560, 2674357198, 3655467984, 3831104464, 3982073874, 4019374997, 4049001592])
Jan 16 14:17:23.992 DEBG sending request: {"id":"0","jsonrpc":"2.0","method":"submit","params":{"edge_bits":31,"height":524500,"job_id":2,"nonce":16374425458708274551,"pow":[9667644,18736488,20501885,21821793,24632738,26473239,26473239,26473239,27080640,32604140,33019671,33037912,34780880,37112089,43869677,43869677,47858465,68059191,72760313,72760313,73181999,291668123,331601725,475190059,545383235,737428768,918842421,1565959603,1604758511,2037833586,2049969118,2180096018,2193546360,2328292607,2438437482,2542404560,2674357198,3655467984,3831104464,3982073874,4019374997,4049001592]}}
Jan 16 14:17:25.001 DEBG Received message: {"id":"0","jsonrpc":"2.0","method":"submit","result":null,"error":{"code":-32502,"message":"Failed to validate solution"}}

Jan 16 14:17:25.001 DEBG Received response with id: 0
Jan 16 14:17:25.001 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
Jan 16 14:17:25.001 DEBG Received message: {"id":"0","jsonrpc":"2.0","method":"submit","result":null,"error":{"code":-32502,"message":"Failed to validate solution"}}

Jan 16 14:17:25.001 DEBG Received response with id: 0
Jan 16 14:17:25.001 ERRO Failed to submit a solution: RpcError { code: -32502, message: "Failed to validate solution" }
Jan 16 14:17:25.085 DEBG Mining: Plugin 0 - Device 0 (TITAN RTX) at Cuckatoo31 - Status: OK : Last Graph time: 0.952510096s; Graphs per second: 1.050 - Total Attempts: 389
Jan 16 14:17:25.085 DEBG Mining: Plugin 1 - Device 0 (TITAN RTX) at Cuckatoo31 - Status: OK : Last Graph time: 1.579755229s; Graphs per second: 0.633 - Total Attempts: 392
Jan 16 14:17:25.085 DEBG Mining: Plugin 2 - Device 1 (TITAN RTX) at Cuckatoo31 - Status: OK : Last Graph time: 1.14157763s; Graphs per second: 0.876 - Total Attempts: 390
Jan 16 14:17:25.085 DEBG Mining: Plugin 3 - Device 1 (TITAN RTX) at Cuckatoo31 - Status: OK : Last Graph time: 0.938530244s; Graphs per second: 1.065 - Total Attempts: 393
Jan 16 14:17:25.085 INFO Mining: Cucka*oo* at 3.624343585351606 gps (graphs per second)
Jan 16 14:17:28.087 DEBG Mining: Plugin 0 - Device 0 (TITAN RTX) at Cuckatoo31 - Status: OK : Last Graph time: 0.995315871s; Graphs per second: 1.005 - Total Attempts: 392
Jan 16 14:17:28.087 DEBG Mining: Plugin 1 - Device 0 (TITAN RTX) at Cuckatoo31 - Status: OK : Last Graph time: 0.946191077s; Graphs per second: 1.057 - Total Attempts: 395
Jan 16 14:17:28.087 DEBG Mining: Plugin 2 - Device 1 (TITAN RTX) at Cuckatoo31 - Status: OK : Last Graph time: 0.977628068s; Graphs per second: 1.023 - Total Attempts: 393
Jan 16 14:17:28.087 DEBG Mining: Plugin 3 - Device 1 (TITAN RTX) at Cuckatoo31 - Status: OK : Last Graph time: 0.97737543s; Graphs per second: 1.023 - Total Attempts: 396
Jan 16 14:17:28.087 INFO Mining: Cucka*oo* at 4.107607333892098 gps (graphs per second)
Jan 16 14:17:31.008 DEBG Received message: {"id":"Stratum","jsonrpc":"2.0","method":"job","params":{"difficulty":1,"height":524500,"job_id":3,"pre_pow":"000300000000000800d4000000005e203f410000241117a9b7f55150ebedff0dd05bfbbf37aaf28d524bf2c0b9acd57abc1acaf59b4f29b8118c3ed0233eb05ac59c3012378a16be10517efd8b0a4d01200923e45f54c782ab2256c61de8aaee9dd9e4fd19fa4c63d34181da8d80f0cc1e25a4aa81f8e4c3ab9638bb3b95b06c16f220892b9d51921c425ed3d4373d458965864b2acc3a8ffc915b0b9219fe603a1bd3a908354fc5d522365ab46e3988f720705ea763e109ac9a62a20b6cb5e4efc00ee14c09c843f547910fd3fa98778796000000000054a06900000000002e8d5d0005284810ba799d00000495"}}

Jan 16 14:17:31.008 DEBG Received request type: job
Jan 16 14:17:31.008 INFO Got a new job: JobTemplate { height: 524500, job_id: 3, difficulty: 1, pre_pow: "000300000000000800d4000000005e203f410000241117a9b7f55150ebedff0dd05bfbbf37aaf28d524bf2c0b9acd57abc1acaf59b4f29b8118c3ed0233eb05ac59c3012378a16be10517efd8b0a4d01200923e45f54c782ab2256c61de8aaee9dd9e4fd19fa4c63d34181da8d80f0cc1e25a4aa81f8e4c3ab9638bb3b95b06c16f220892b9d51921c425ed3d4373d458965864b2acc3a8ffc915b0b9219fe603a1bd3a908354fc5d522365ab46e3988f720705ea763e109ac9a62a20b6cb5e4efc00ee14c09c843f547910fd3fa98778796000000000054a06900000000002e8d5d0005284810ba799d00000495" }

BLOCKCHAINSMOKER avatar Jan 16 '20 12:01 BLOCKCHAINSMOKER

grin-server.log {edges not ascending endpoints don't match}
20200116 14:16:49.965 INFO grin_servers::mining::stratumserver - (Server ID: 0) Got share at height 524500, hash 941a10dfac0b, edge_bits 31, nonce 13881781061756349784, job_id 0, difficulty 13275/1182712647, submitted by 5
20200116 14:16:54.168 ERROR grin_servers::mining::stratumserver - (Server ID: 0) Failed to validate share at height 524500, hash 48adc9b996cd, edge_bits 31, nonce 5206368735325789604, job_id 0. Err(Error { inner: 

Verification Error: endpoints don't match up })
20200116 14:16:54.269 INFO grin_servers::mining::stratumserver - (Server ID: 0) Got share at height 524500, hash 48adc9b996cd, edge_bits 31, nonce 16365386764001939637, job_id 0, difficulty 27051/1182712647, submitted by 5
20200116 14:17:23.891 ERROR grin_servers::mining::stratumserver - (Server ID: 0) Failed to validate share at height 524500, hash da7440aa9c46, edge_bits 31, nonce 17789503261658987202, job_id 2. Err(Error { inner: 

Verification Error: edges not ascending })
20200116 14:17:23.992 ERROR grin_servers::mining::stratumserver - (Server ID: 0) Failed to validate share at height 524500, hash 9b3d112974d1, edge_bits 31, nonce 16374425458708274551, job_id 2. Err(Error { inner: 

BLOCKCHAINSMOKER avatar Jan 16 '20 12:01 BLOCKCHAINSMOKER