This repository was archived by the owner on Feb 12, 2024. It is now read-only.
File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const ipfsdServer = IPFSFactory.createServer()
8
8
const preloadNode = MockPreloadNode . createNode ( )
9
9
10
10
module . exports = {
11
- bundlesize : { maxSize : '691kB ' } ,
11
+ bundlesize : { maxSize : '694kB ' } ,
12
12
webpack : {
13
13
resolve : {
14
14
mainFields : [ 'browser' , 'main' ] ,
Original file line number Diff line number Diff line change 127
127
"libp2p-delegated-content-routing" : " ^0.2.4" ,
128
128
"libp2p-delegated-peer-routing" : " ^0.2.4" ,
129
129
"libp2p-floodsub" : " ^0.17.0" ,
130
- "libp2p-gossipsub" : " ^0.4.0 " ,
130
+ "libp2p-gossipsub" : " ^0.0.4 " ,
131
131
"libp2p-kad-dht" : " ~0.15.3" ,
132
132
"libp2p-keychain" : " ~0.4.2" ,
133
133
"libp2p-mdns" : " ~0.12.0" ,
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ class Node extends libp2p {
24
24
25
25
const defaults = {
26
26
switch : {
27
- blacklistTTL : 2 * 60 * 1e3 , // 2 minute base
28
- blackListAttempts : 5 , // back off 5 times
27
+ denyTTL : 2 * 60 * 1e3 , // 2 minute base
28
+ denyAttempts : 5 , // back off 5 times
29
29
maxParallelDials : 100 ,
30
30
maxColdCalls : 25 ,
31
31
dialTimeout : 20e3
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ class Node extends libp2p {
23
23
24
24
const defaults = {
25
25
switch : {
26
- blacklistTTL : 2 * 60 * 1e3 , // 2 minute base
27
- blackListAttempts : 5 , // back off 5 times
26
+ denyTTL : 2 * 60 * 1e3 , // 2 minute base
27
+ denyAttempts : 5 , // back off 5 times
28
28
maxParallelDials : 150 ,
29
29
maxColdCalls : 50 ,
30
30
dialTimeout : 10e3 // Be strict with dial time
You can’t perform that action at this time.
0 commit comments