Global validation unnecessary rules ?
- Some properties of the HEAD of the BINDEX are initialised with nulls (Number, PreviousHash, PreviousIssuer, Currency...) instead of using the value from the associated block
- Then they are updated recursively with the previous head HEAD~1
- Finally some rules compare the values from these HEAD properties with the values from the block.
It seems more natural to initialise these properties directly with the values from the block, and then to do the comparison HEAD.property == HEAD~1.property
Should we follow nonetheless follow the protocol or go with the more natural option ?
List of affected properties:
- number
- currency
- previousHash
- previousIssuer
- membersCount
- issuersCount
- issuersFrame
- issuersFrameVar
- medianTime
- dividend
- unitBase
Edited by ABDELGHANI Nassim