You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Block ID and Height should be included in every block, and not added during other steps (such as block verify).
There is still not a single entry point for blocks verification, verification is occurring in many places along the way.
Belongs to: #449
Previous task list:
New task list:
Provide single entry point for block verificationVerify blocks for fork during verify, instead of onReceiveBlockReorder the operations inblocks/verify.js
, processBlock - https://github.com/LiskHQ/lisk/blob/development/modules/blocks/verify.js#L325checkExists
,validateBlockSlot
andcheckTransactions
should all be performed inside of the verify logic.RefactoronReceiveBlock
behaviors to occur duringverify
, instead of occurring at a separate point in timeThese checks should move to verify, and occur as the first checks of verify, onReceiveBlock should serve as the master thread for block receipt, with logic being performed inside of it.
Move blockId and Height generation into a new place to allow them to be added by the forger, rather than the recipientThe text was updated successfully, but these errors were encountered: