Here’s the progress ongoing.
The server had reached the latest block and it did something.
But there are mysterious things that I can’t understand in the latest logs.
Block 959156 has been already mined but the server started validating the block and then stuck. The server does not output any logs to the terminal after finishing the validation of block 959156. Furthermore, The block was already dropped before as you can see in the logs below.
What is happening in there? And there are error logs that the connection was refused. see “[Errno 111] Connection refused”
I’m using a multi-threading mining script that someone had posted in this community
[2021-10-15 07:33:36.373 DEBUG signature_verifier] Drop already validated block: 467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9
[2021-10-15 07:33:36.374 DEBUG signature_verifier] Drop already validated block: 467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9
[2021-10-15 07:33:36.375 DEBUG signature_verifier] Drop already validated block: 467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9
[2021-10-15 07:33:36.379 DEBUG completer] Drop duplicate block: 467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9 (block_num:959156, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:177d2cf1148c666f284fdf836d334a98ce7df161b5d50fa95f05146d7a17fcb00385b86864997d18a72208209db7380571cd3de20a2e044dc8ead7c808b99c12)
[2021-10-15 07:33:36.379 DEBUG chain] Block received: 467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9 (block_num:959156, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:177d2cf1148c666f284fdf836d334a98ce7df161b5d50fa95f05146d7a17fcb00385b86864997d18a72208209db7380571cd3de20a2e044dc8ead7c808b99c12)
[2021-10-15 07:33:36.380 INFO block_validator] Starting block validation of : 467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9 (block_num:959156, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:177d2cf1148c666f284fdf836d334a98ce7df161b5d50fa95f05146d7a17fcb00385b86864997d18a72208209db7380571cd3de20a2e044dc8ead7c808b99c12)
1948619 [0x7fbfd00d4700] DEBUG sawtooth.MessageDispatcher null - ReceiveMessage MessageType: 5
Applicator::Apply
1948621 [0x7fbfd00d4700] DEBUG sawtooth.MessageDispatcher null - ReceiveMessage MessageType: 8
[2021-10-15 07:33:36.689 INFO block_validator] Comparing current chain head ‘177d2cf1148c666f284fdf836d334a98ce7df161b5d50fa95f05146d7a17fcb00385b86864997d18a72208209db7380571cd3de20a2e044dc8ead7c808b99c12 (block_num:959155, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:a31ba2de864fa86c81acd59fb891713b6893c00027ab24fcd9ddd7307c8ebfaf3e9b9360560b797212ff7ce0f044e53e0843d2cf967844a6a73e236d76cca450)’ against new block ‘177d2cf1148c666f284fdf836d334a98ce7df161b5d50fa95f05146d7a17fcb00385b86864997d18a72208209db7380571cd3de20a2e044dc8ead7c808b99c12 (block_num:959155, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:a31ba2de864fa86c81acd59fb891713b6893c00027ab24fcd9ddd7307c8ebfaf3e9b9360560b797212ff7ce0f044e53e0843d2cf967844a6a73e236d76cca450)’
[2021-10-15 07:33:36.690 INFO block_validator] Fork comparison at height 959156 is between - and 467d87d0
[2021-10-15 07:33:36.690 INFO chain] Chain head updated to: 467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9 (block_num:959156, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:177d2cf1148c666f284fdf836d334a98ce7df161b5d50fa95f05146d7a17fcb00385b86864997d18a72208209db7380571cd3de20a2e044dc8ead7c808b99c12)
[2021-10-15 07:33:36.690 INFO publisher] Now building on top of block: 467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9 (block_num:959156, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:177d2cf1148c666f284fdf836d334a98ce7df161b5d50fa95f05146d7a17fcb00385b86864997d18a72208209db7380571cd3de20a2e044dc8ead7c808b99c12)
[2021-10-15 07:33:36.690 DEBUG init] on cancel publish block POW
[2021-10-15 07:33:36.690 DEBUG init] Stop call SOLVER_PRIM
[2021-10-15 07:33:36.690 DEBUG init] Stop call SOLVER_PERF
[2021-10-15 07:33:36.692 DEBUG publisher] Loaded batch injectors: [<sawtooth_validator.journal.batch_injector.GluwaBatchInjector object at 0x7c04a0482cf8>]
[2021-10-15 07:33:36.693 DEBUG init] Start solver call SOLVER_PRIM
[2021-10-15 07:33:36.693 INFO init] New block using Gluwa PoW 1.1 consensus
[Errno 111] Connection refused
[2021-10-15 07:33:36.694 DEBUG chain] Verify descendant blocks: 467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9 (block_num:959156, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:177d2cf1148c666f284fdf836d334a98ce7df161b5d50fa95f05146d7a17fcb00385b86864997d18a72208209db7380571cd3de20a2e044dc8ead7c808b99c12) ()
1948629 [0x7fbfd00d4700] DEBUG sawtooth.MessageDispatcher null - ReceiveMessage MessageType: 5
Applicator::Apply
1948630 [0x7fbfd00d4700] DEBUG sawtooth.MessageDispatcher null - ReceiveMessage MessageType: 8
[2021-10-15 07:33:36.778 INFO block_validator] Finished block validation of: 467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9 (block_num:959156, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:177d2cf1148c666f284fdf836d334a98ce7df161b5d50fa95f05146d7a17fcb00385b86864997d18a72208209db7380571cd3de20a2e044dc8ead7c808b99c12)
And I got these newer logs after 15 mins passed.
[2021-10-15 07:50:19.448 DEBUG completer] Drop duplicate block: 57a73bd9dc32cc60103a7a2ab63143d96c18a16f7c1432979d523d5ccd9a3b335792919036c4afc657fe3d9dd4875fdb778f1b5d49b88d32f502117903de61ad (block_num:959157, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9)
[2021-10-15 07:50:19.449 DEBUG chain] Block received: 57a73bd9dc32cc60103a7a2ab63143d96c18a16f7c1432979d523d5ccd9a3b335792919036c4afc657fe3d9dd4875fdb778f1b5d49b88d32f502117903de61ad (block_num:959157, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9)
[2021-10-15 07:50:19.450 INFO block_validator] Starting block validation of : 57a73bd9dc32cc60103a7a2ab63143d96c18a16f7c1432979d523d5ccd9a3b335792919036c4afc657fe3d9dd4875fdb778f1b5d49b88d32f502117903de61ad (block_num:959157, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9)
2951421 [0x7fbfd00d4700] DEBUG sawtooth.MessageDispatcher null - ReceiveMessage MessageType: 5
Applicator::Apply
2951422 [0x7fbfd00d4700] DEBUG sawtooth.MessageDispatcher null - ReceiveMessage MessageType: 8
[2021-10-15 07:50:19.490 INFO block_validator] Comparing current chain head ‘467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9 (block_num:959156, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:177d2cf1148c666f284fdf836d334a98ce7df161b5d50fa95f05146d7a17fcb00385b86864997d18a72208209db7380571cd3de20a2e044dc8ead7c808b99c12)’ against new block ‘467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9 (block_num:959156, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:177d2cf1148c666f284fdf836d334a98ce7df161b5d50fa95f05146d7a17fcb00385b86864997d18a72208209db7380571cd3de20a2e044dc8ead7c808b99c12)’
[2021-10-15 07:50:19.491 INFO block_validator] Fork comparison at height 959157 is between - and 57a73bd9
[2021-10-15 07:50:19.491 INFO chain] Chain head updated to: 57a73bd9dc32cc60103a7a2ab63143d96c18a16f7c1432979d523d5ccd9a3b335792919036c4afc657fe3d9dd4875fdb778f1b5d49b88d32f502117903de61ad (block_num:959157, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9)
[2021-10-15 07:50:19.491 INFO publisher] Now building on top of block: 57a73bd9dc32cc60103a7a2ab63143d96c18a16f7c1432979d523d5ccd9a3b335792919036c4afc657fe3d9dd4875fdb778f1b5d49b88d32f502117903de61ad (block_num:959157, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9)
[2021-10-15 07:50:19.491 DEBUG init] on cancel publish block POW
[2021-10-15 07:50:19.491 DEBUG init] Stop call SOLVER_PRIM
[2021-10-15 07:50:19.491 DEBUG init] Stop call SOLVER_PERF
[2021-10-15 07:50:19.493 DEBUG publisher] Loaded batch injectors: [<sawtooth_validator.journal.batch_injector.GluwaBatchInjector object at 0x7c04a0583550>]
[2021-10-15 07:50:19.494 DEBUG init] Start solver call SOLVER_PRIM
[2021-10-15 07:50:19.494 INFO init] New block using Gluwa PoW 1.1 consensus
[Errno 111] Connection refused
[2021-10-15 07:50:19.495 DEBUG chain] Verify descendant blocks: 57a73bd9dc32cc60103a7a2ab63143d96c18a16f7c1432979d523d5ccd9a3b335792919036c4afc657fe3d9dd4875fdb778f1b5d49b88d32f502117903de61ad (block_num:959157, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9) ()
2951429 [0x7fbfd00d4700] DEBUG sawtooth.MessageDispatcher null - ReceiveMessage MessageType: 5
Applicator::Apply
2951431 [0x7fbfd00d4700] DEBUG sawtooth.MessageDispatcher null - ReceiveMessage MessageType: 8
[2021-10-15 07:50:19.535 INFO block_validator] Finished block validation of: 57a73bd9dc32cc60103a7a2ab63143d96c18a16f7c1432979d523d5ccd9a3b335792919036c4afc657fe3d9dd4875fdb778f1b5d49b88d32f502117903de61ad (block_num:959157, state:c0c57e29a6b48f38b94e56a5fb3469fae5e2c7999cb7842b80af8bf8bbae2660, previous_block_id:467d87d006d37e1b9a2eaeea17d8ecc16457bbd3c9729f2b38d21b710c2427af6c75aee90b63447dcdd10c70c3ff0a90c4d708685993d60ac453c95a439300f9)