class AggregateGossipManager {

  public void onNewAggregate(final ValidateableAttestation validateableAttestation) {
    if (!validateableAttestation.isAggregate() || !validateableAttestation.markGossiped()) {
      return;
    }
    validator.addSeenAggregate(validateableAttestation);
    final Bytes data = gossipEncoding.encode(validateableAttestation.getSignedAggregateAndProof());
    channel.gossip(data);
  }

  public  AggregateGossipManager(
      final AsyncRunner asyncRunner,
      final GossipNetwork gossipNetwork,
      final GossipEncoding gossipEncoding,
      final ForkInfo forkInfo,
      final SignedAggregateAndProofValidator validator,
      final GossipedOperationConsumer<ValidateableAttestation> gossipedAttestationConsumer);

}