All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.plasmalabs.node.services.FetchBlockHeaderResValidator.scala Maven / Gradle / Ivy

The newest version!
package org.plasmalabs.node.services

object FetchBlockHeaderResValidator extends scalapb.validate.Validator[org.plasmalabs.node.services.FetchBlockHeaderRes] {
  def validate(input: org.plasmalabs.node.services.FetchBlockHeaderRes): scalapb.validate.Result =
    scalapb.validate.Result.optional(input.header) { _value =>
      org.plasmalabs.consensus.models.BlockHeaderValidator.validate(_value)
    }
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy