peerplays icon indicating copy to clipboard operation
peerplays copied to clipboard

Got exception while generating block [ secret_hash_type::hash( next_block.previous_secret ) == witness.next_secret_hash ]

Open siralexpu opened this issue 5 years ago • 2 comments

10 assert_exception: Assert Exception
secret_hash_type::hash( next_block.previous_secret ) == witness.next_secret_hash:
    {"previous_secret":"a9224cb1c8b3872fcf4712647060f9bddcaa5263","next_secret_hash":"3cfa140cb659c6c4a5d849b2e4bab61b5d57a3a2"}
    th_a  db_block.cpp:696 validate_block_header

    {"next_block.block_num()":27634870}
    th_a  db_block.cpp:587 _apply_block
237001ms th_a       witness.cpp:184               block_production_loo ] Got exception while generating block:
10 assert_exception: Assert Exception
secret_hash_type::hash( next_block.previous_secret ) == witness.next_secret_hash:
    {"previous_secret":"a9224cb1c8b3872fcf4712647060f9bddcaa5263","next_secret_hash":"3cfa140cb659c6c4a5d849b2e4bab61b5d57a3a2"}
    th_a  db_block.cpp:696 validate_block_header

    {"next_block.block_num()":27634870}
    th_a  db_block.cpp:587 _apply_block

    {"new_block":{"previous":"01a5acb54bdd2a7290d134886761e457ab3f3870","timestamp":"2020-01-31T16:03:57","witness":"1.6.80","next_secret_hash":"5453c0fa493444e5ca780531fa9ee078cd311432","previous_secret":"a9224cb1c8b3872fcf4712647060f9bddcaa5263","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"207e94b577da8bedfd1f56978a9ee5258f6e3b4912f534a05eb0e29faf209ce0884b4997d633e431e7d7b8763ad033c423e88870964cac3805ea0a34929d574fbe","transactions":[]}}
    th_a  db_block.cpp:212 _push_block

    {"witness_id":"1.6.80"}
    th_a  db_block.cpp:431 _generate_block

    {}
    th_a  db_block.cpp:314 generate_block
237001ms th_a       witness.cpp:186               block_production_loo ] Discarding all pending transactions in an attempt to prevent the same error from occurring the next time we try to produce a block
237001ms th_a       witness.cpp:220               block_production_loo ] exception prodcing block

siralexpu avatar Jan 31 '20 16:01 siralexpu

after receiving this error - the signature of the blocks doesn't happen further

The error has been received 4 times already (find in the chat):

  • fall 2018
  • 18.09.2019 and 19.09.2019
  • 31.01.2020 - (again 2 nodes broken for signing )

siralexpu avatar Jan 31 '20 16:01 siralexpu

We are working on https://github.com/peerplays-network/peerplays/issues/276 at this point and will start investigating this one as soon as its addressed.

bobinson avatar Feb 04 '20 12:02 bobinson