From b510cac9904f582cd50da24a89f59fe16c06eb78 Mon Sep 17 00:00:00 2001 From: Nicholas Pettas Date: Wed, 6 Mar 2024 13:40:21 -0800 Subject: [PATCH] Disable llr seeding and remove snapsync from the configs (#17) * disable llr seeding * remove snapsync from configs --- gossip/handler.go | 12 ++++++------ system/etc/x1/config.toml | 3 --- system/usr/share/x1/configs/testnet/api-node.toml | 3 --- system/usr/share/x1/configs/testnet/full-node.toml | 3 --- .../usr/share/x1/configs/testnet/validator-node.toml | 3 --- 5 files changed, 6 insertions(+), 18 deletions(-) diff --git a/gossip/handler.go b/gossip/handler.go index 23ea3e8fb..ff47770ea 100644 --- a/gossip/handler.go +++ b/gossip/handler.go @@ -683,20 +683,20 @@ func (h *handler) Start(maxPeers int) { h.txFetcher.Start() h.checkers.Heavycheck.Start() - h.epProcessor.Start() - h.epSeeder.Start() + //h.epProcessor.Start() + //h.epSeeder.Start() //h.epLeecher.Start() h.dagProcessor.Start() h.dagSeeder.Start() h.dagLeecher.Start() - h.bvProcessor.Start() - h.bvSeeder.Start() + //h.bvProcessor.Start() + //h.bvSeeder.Start() //h.bvLeecher.Start() - h.brProcessor.Start() - h.brSeeder.Start() + //h.brProcessor.Start() + //h.brSeeder.Start() //h.brLeecher.Start() h.started.Done() } diff --git a/system/etc/x1/config.toml b/system/etc/x1/config.toml index 6f1389e7d..bf0fe714d 100644 --- a/system/etc/x1/config.toml +++ b/system/etc/x1/config.toml @@ -4,9 +4,6 @@ Testnet = true [Node.P2P] ListenAddr = ":5050" -[Opera] -AllowSnapsync = true - # Share you node info with the xenblocks.io explorer # (optional) comment out to disable [XenBlocks] diff --git a/system/usr/share/x1/configs/testnet/api-node.toml b/system/usr/share/x1/configs/testnet/api-node.toml index 6bc8c08ac..5fc52d91a 100644 --- a/system/usr/share/x1/configs/testnet/api-node.toml +++ b/system/usr/share/x1/configs/testnet/api-node.toml @@ -33,9 +33,6 @@ WSModules = [ [Node.P2P] ListenAddr = ":5050" -[Opera] -AllowSnapsync = true - # Share you node info with the xenblocks.io explorer # (optional) comment out to disable [XenBlocks] diff --git a/system/usr/share/x1/configs/testnet/full-node.toml b/system/usr/share/x1/configs/testnet/full-node.toml index 6f1389e7d..bf0fe714d 100644 --- a/system/usr/share/x1/configs/testnet/full-node.toml +++ b/system/usr/share/x1/configs/testnet/full-node.toml @@ -4,9 +4,6 @@ Testnet = true [Node.P2P] ListenAddr = ":5050" -[Opera] -AllowSnapsync = true - # Share you node info with the xenblocks.io explorer # (optional) comment out to disable [XenBlocks] diff --git a/system/usr/share/x1/configs/testnet/validator-node.toml b/system/usr/share/x1/configs/testnet/validator-node.toml index 73b057cf9..03eb18f47 100644 --- a/system/usr/share/x1/configs/testnet/validator-node.toml +++ b/system/usr/share/x1/configs/testnet/validator-node.toml @@ -4,9 +4,6 @@ Testnet = true [Node.P2P] ListenAddr = ":5050" -[Opera] -AllowSnapsync = true - [Emitter.Validator] # update with your validator ID