public static PendingAttestation Clone(PendingAttestation other) { var clone = new PendingAttestation( new BitArray(other.AggregationBits), AttestationData.Clone(other.Data), other.InclusionDelay, other.ProposerIndex); return(clone); }
public IndexedAttestation( IEnumerable <ValidatorIndex> custodyBit0Indices, IEnumerable <ValidatorIndex> custodyBit1Indices, AttestationData data, BlsSignature signature) { _custodyBit0Indices = new List <ValidatorIndex>(custodyBit0Indices); _custodyBit1Indices = new List <ValidatorIndex>(custodyBit1Indices); Data = data; Signature = signature; }
public PendingAttestation( BitArray aggregationBits, AttestationData data, Slot inclusionDelay, ValidatorIndex proposerIndex) { AggregationBits = aggregationBits; Data = data; InclusionDelay = inclusionDelay; ProposerIndex = proposerIndex; }