org.plasmalabs.node.models.FullBlockValidator.scala Maven / Gradle / Ivy
The newest version!
package org.plasmalabs.node.models
object FullBlockValidator extends scalapb.validate.Validator[org.plasmalabs.node.models.FullBlock] {
def validate(input: org.plasmalabs.node.models.FullBlock): scalapb.validate.Result =
org.plasmalabs.consensus.models.BlockHeaderValidator.validate(input.header) &&
org.plasmalabs.node.models.FullBlockBodyValidator.validate(input.fullBody)
}