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 was archived by the owner on Jun 11, 2024. It is now read-only.
Update Transaction struct Validate to be private, and add ValidateTransaction, ValidateBlock and ValidateGenesisBlock to the Chain struct.
Transaction and Block validation should depend on the configuration pass to the chain. MaxTransactionSizeMaxTransactionsLength, and Transaction or Block struct doesn't hold those values
Acceptance Criteria
Validate on struct is private
Update the usage of Validate to consistently use method from Chain
Description
Update
TransactionstructValidateto be private, and addValidateTransaction,ValidateBlockandValidateGenesisBlockto theChainstruct.TransactionandBlockvalidation should depend on the configuration pass to the chain.MaxTransactionSizeMaxTransactionsLength, andTransactionorBlockstruct doesn't hold those valuesAcceptance Criteria
Validateon struct is privateValidateto consistently use method fromChainAdditional Information