trait SyntacticallyValidatable[T] extends Serializable

Annotations
@implicitNotFound("Could not find an instance of SyntacticallyValidatable for ${T}")
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SyntacticallyValidatable
  2. Serializable
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def getClass(): Class[_ <: AnyRef]
    Definition Classes
    Any
  2. 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

  3. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  6. def hashCode(): Int
    Definition Classes
    Any
  7. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  8. def toString(): String
    Definition Classes
    Any

Inherited from Serializable

Inherited from Any

Ungrouped