Skip to content

Commit

Permalink
Merge 827eb09 into f9676f1
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths authored Mar 20, 2024
2 parents f9676f1 + 827eb09 commit a698133
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/beacon-node/src/network/gossip/gossipsub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {SignaturePolicy, TopicStr} from "@chainsafe/libp2p-gossipsub/types";
import {PeerScoreParams} from "@chainsafe/libp2p-gossipsub/score";
import {MetricsRegister, TopicLabel, TopicStrToLabel} from "@chainsafe/libp2p-gossipsub/metrics";
import {BeaconConfig} from "@lodestar/config";
import {ATTESTATION_SUBNET_COUNT, ForkName, SYNC_COMMITTEE_SUBNET_COUNT} from "@lodestar/params";
import {ATTESTATION_SUBNET_COUNT, ForkName, SLOTS_PER_EPOCH, SYNC_COMMITTEE_SUBNET_COUNT} from "@lodestar/params";
import {Logger, Map2d, Map2dArr} from "@lodestar/utils";

import {RegistryMetricCreator} from "../../metrics/index.js";
Expand Down Expand Up @@ -99,7 +99,7 @@ export class Eth2Gossipsub extends GossipSub {
fanoutTTL: 60 * 1000,
mcacheLength: 6,
mcacheGossip: 3,
seenTTL: 550 * GOSSIPSUB_HEARTBEAT_INTERVAL,
seenTTL: config.SECONDS_PER_SLOT * SLOTS_PER_EPOCH * 2,
scoreParams,
scoreThresholds: gossipScoreThresholds,
// For a single stream, await processing each RPC before processing the next
Expand Down

0 comments on commit a698133

Please sign in to comment.