public MempoolValidationState Invalid(MempoolError error, string errorMessage)
 {
     this.Error        = error;
     this.IsInvalid    = true;
     this.ErrorMessage = errorMessage;
     return(this);
 }
 public MempoolValidationState Fail(MempoolError error, string errorMessage)
 {
     this.Error        = error;
     this.ErrorMessage = errorMessage;
     return(this);
 }
 public MempoolValidationState Fail(MempoolError error)
 {
     this.Error = error;
     return(this);
 }
 public MempoolValidationState Invalid(MempoolError error)
 {
     this.Error     = error;
     this.IsInvalid = true;
     return(this);
 }