Validation Error as Error Code #965
Labels
feature
New feature request
mining
Involve transaction validation and mining
serialization
Involve message serialization
transaction
Involve transactions
Is your feature request related to a problem?
During transaction validation, the miners check the transaction and store the error reason in the validation state and the validation stamp. However, the validation stamp's error is meaningless if the validation's state is not given.
Moreover, to avoid recomputing the reason of the pending transaction validation, we should have a way to enhance the discoverability of the error reasons.
Describe the solution you'd like
We should then a list of error codes given by the pending transaction validation and for any further network issues, helping to reduce the network bandwidth and help to discover error's reason.
For example we might have:
Additional context
Epic: #306
The text was updated successfully, but these errors were encountered: