Skip to content

Commit

Permalink
Turn off libp2p by default (#2557)
Browse files Browse the repository at this point in the history
  • Loading branch information
acolytec3 authored Feb 28, 2023
1 parent 295e5a3 commit 6949e89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/client/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ export class Config {
public static readonly SYNCMODE_DEFAULT = SyncMode.Full
public static readonly LIGHTSERV_DEFAULT = false
public static readonly DATADIR_DEFAULT = `./datadir`
public static readonly TRANSPORTS_DEFAULT = ['rlpx', 'libp2p']
public static readonly TRANSPORTS_DEFAULT = ['rlpx']
public static readonly PORT_DEFAULT = 30303
public static readonly MAXPERREQUEST_DEFAULT = 50
public static readonly MAXFETCHERJOBS_DEFAULT = 100
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"clean": "../../config/cli/clean-package.sh",
"client:start": "ts-node bin/cli.ts",
"client:start:dev1": "npm run client:start -- --discDns=false --discV4=false --bootnodes",
"client:start:dev2": "npm run client:start -- --discDns=false --discV4=false --transports=rlpx --port=30304 --dataDir=datadir-dev2",
"client:start:dev2": "npm run client:start -- --discDns=false --discV4=false --port=30304 --dataDir=datadir-dev2",
"coverage": "c8 --all --reporter=lcov --reporter=text npm run test:unit",
"docs:build": "typedoc --options typedoc.js --tsconfig tsconfig.prod.json",
"preinstall": "npm run binWorkaround",
Expand Down

0 comments on commit 6949e89

Please sign in to comment.