co.topl.modifier.transaction.validation
SyntacticallyValidatable
Companion object SyntacticallyValidatable
trait SyntacticallyValidatable[T] extends Serializable
- Annotations
- @implicitNotFound()
- Alphabetic
- By Inheritance
- SyntacticallyValidatable
- Serializable
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def getClass(): Class[_ <: AnyRef]
- Definition Classes
- Any
- abstract def rawSyntacticValidation(t: T): ValidatedNec[SyntacticValidationFailure, T]
Performs most syntactic validation of the given value T, but without a specification of a NetworkPrefix.
Performs most syntactic validation of the given value T, but without a specification of a NetworkPrefix. This generally means it does not perform signature or address verifications.
- t
The item to validate
- returns
either a non-empty listt of SyntacticValidationFailures, or the given value T
- abstract def syntacticValidation(t: T)(implicit networkPrefix: NetworkPrefix): ValidatedNec[SyntacticValidationFailure, T]
Performs syntactic validation on the given T.
Performs syntactic validation on the given T. Semantic validation performs context-free checks on the given value. This validation only verifies that the given T is "grammatically valid", but it does not consider the history of the blockchain or any other variable data.
This type of validation is expected to be "computationally inexpensive"
- t
The item to validate
- returns
either a non-empty listt of SyntacticValidationFailures, or the given value T
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def equals(arg0: Any): Boolean
- Definition Classes
- Any
- def hashCode(): Int
- Definition Classes
- Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any