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

org.plasmalabs.indexer.services.TransactionReceiptValidator.scala Maven / Gradle / Ivy

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

object TransactionReceiptValidator extends scalapb.validate.Validator[org.plasmalabs.indexer.services.TransactionReceipt] {
  def validate(input: org.plasmalabs.indexer.services.TransactionReceipt): scalapb.validate.Result =
    org.plasmalabs.sdk.models.transaction.IoTransactionValidator.validate(input.transaction) &&
    org.plasmalabs.indexer.services.ConfidenceFactorValidator.validate(input.confidenceFactor) &&
    org.plasmalabs.consensus.models.BlockIdValidator.validate(input.blockId) &&
    org.plasmalabs.indexer.services.ChainDistanceValidator.validate(input.depth)
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy