This repository was archived by the owner on Feb 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 91
91
"ipld-resolver" : " ^0.4.0" ,
92
92
"isstream" : " ^0.1.2" ,
93
93
"joi" : " ^10.0.1" ,
94
- "libp2p-floodsub" : " 0.3.1 " ,
94
+ "libp2p-floodsub" : " 0.4.0 " ,
95
95
"libp2p-ipfs-browser" : " ^0.17.0" ,
96
96
"libp2p-ipfs-nodejs" : " ^0.16.1" ,
97
97
"lodash.flatmap" : " ^4.5.0" ,
Original file line number Diff line number Diff line change @@ -22,10 +22,7 @@ module.exports = function goOnline (self) {
22
22
)
23
23
self . _bitswap . start ( )
24
24
self . _blockService . goOnline ( self . _bitswap )
25
-
26
- //
27
25
self . _pubsub = new FloodSub ( self . _libp2pNode )
28
- //
29
26
30
27
cb ( )
31
28
} )
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ module.exports = function pubsub (self) {
114
114
115
115
try {
116
116
const peerSet = self . _pubsub . getPeerSet ( )
117
+ console . log ( peerSet )
117
118
_values ( peerSet ) . forEach ( ( peer ) => {
118
119
const idB58Str = peer . peerInfo . id . toB58String ( )
119
120
const index = peer . topics . indexOf ( topic )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ function makeBlock (cb) {
22
22
return cb ( null , new Block ( `IPFS is awesome ${ Math . random ( ) } ` ) )
23
23
}
24
24
25
- describe ( 'bitswap' , ( ) => {
25
+ describe . skip ( 'bitswap' , ( ) => {
26
26
let inProcNode // Node spawned inside this process
27
27
let swarmAddrsBak
28
28
You can’t perform that action at this time.
0 commit comments