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.
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
Transaction
structValidate
to be private, and addValidateTransaction
,ValidateBlock
andValidateGenesisBlock
to theChain
struct.Transaction
andBlock
validation should depend on the configuration pass to the chain.MaxTransactionSize
MaxTransactionsLength
, andTransaction
orBlock
struct doesn't hold those valuesAcceptance Criteria
Validate
on struct is privateValidate
to consistently use method fromChain
Additional Information
The text was updated successfully, but these errors were encountered: