rm experimental Yamux support (#6636)

This commit is contained in:
tersec 2024-10-17 00:23:13 +00:00 committed by GitHub
parent bd94c20325
commit f7ae15e107
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 17 deletions

View File

@ -330,12 +330,6 @@ type
defaultValue: false
name: "enr-auto-update" .}: bool
enableYamux* {.
hidden
desc: "Enable the Yamux multiplexer"
defaultValue: false
name: "debug-enable-yamux" .}: bool
weakSubjectivityCheckpoint* {.
desc: "Weak subjectivity checkpoint in the format block_root:epoch_number"
name: "weak-subjectivity-checkpoint" .}: Option[Checkpoint]

View File

@ -100,12 +100,6 @@ type LightClientConf* = object
defaultValue: false
name: "enr-auto-update" .}: bool
enableYamux* {.
hidden
desc: "Enable the Yamux multiplexer"
defaultValue: false
name: "debug-enable-yamux" .}: bool
agentString* {.
defaultValue: "nimbus",
desc: "Node agent string which is used as identifier in network"

View File

@ -2249,11 +2249,7 @@ proc newBeaconSwitch(config: BeaconNodeConf | LightClientConf,
rng: ref HmacDrbgContext): Switch {.raises: [CatchableError].} =
let service: Service = WildcardAddressResolverService.new()
var sb =
if config.enableYamux:
SwitchBuilder.new().withYamux()
else:
SwitchBuilder.new()
var sb = SwitchBuilder.new()
# Order of multiplexers matters, the first will be default
sb