Closed mvandeberg closed 2 years ago
For now, we will remove verify_block_signature
, verify_passive_data
, and verify_transaction_signature
flags from submit_block_request
and all the related places within koinos-chain
.
As well as rename the system call to indicate it does more than verification: verify_block_signature
-> process_block_signature
The PoW
verify_block_signature
override causes side effects both in the pow metadata object and block producer balances.The call to
verify_block_signature
implies that it should not have side effects because of thecheck_block_signtature
option toapply_block
.There are two solutions to the problem:
verify_block_signature
is read only and update the PoW contract to follow the new arcitecture.check_block_signature
flag and allowverify_block_signature
to have side effects.