public override int GetHashCode() { unchecked { return(((UnitsRange != null ? UnitsRange.GetHashCode() : 0) * 397) ^ (Signature != null ? Signature.GetHashCode() : 0)); } }
public DataDeliveryReceiptRequest(uint number, Keccak depositId, UnitsRange unitsRange, bool isSettlement = false, IEnumerable <DataDeliveryReceiptToMerge> receiptsToMerge = null) { Number = number; DepositId = depositId; UnitsRange = unitsRange; IsSettlement = isSettlement; ReceiptsToMerge = receiptsToMerge ?? Enumerable.Empty <DataDeliveryReceiptToMerge>(); }
public DataDeliveryReceiptRequest WithRange(UnitsRange range, uint number) => new DataDeliveryReceiptRequest(number, DepositId, range, IsSettlement, ReceiptsToMerge);
public DataDeliveryReceiptToMerge(UnitsRange unitsRange, Signature signature) { UnitsRange = unitsRange; Signature = signature; }