org.plasmalabs.node.services.CurrentMempoolResValidator.scala Maven / Gradle / Ivy
The newest version!
package org.plasmalabs.node.services
object CurrentMempoolResValidator extends scalapb.validate.Validator[org.plasmalabs.node.services.CurrentMempoolRes] {
def validate(input: org.plasmalabs.node.services.CurrentMempoolRes): scalapb.validate.Result =
scalapb.validate.Result.repeated(input.transactionIds.iterator) { _value =>
org.plasmalabs.sdk.models.TransactionIdValidator.validate(_value)
}
}