public override int CompareToImpl(BaseTransaction obj) { var noneCoinBaseTransaction = obj as NoneCoinbaseTransaction; if (noneCoinBaseTransaction == null) { return(1); } var r = noneCoinBaseTransaction.GetReferencedTransactionOut(this); if (r.Any()) { return(1); } r = GetReferencedTransactionOut(noneCoinBaseTransaction); if (r.Any()) { return(-1); } return(0); }
public abstract int CompareToImpl(BaseTransaction obj);
public override int CompareToImpl(BaseTransaction obj) { return(-1); }