Skip to content

Commit

Permalink
Remove bitswap per https:/github.com/libp2p/rust-libp2p/issues/2632
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Nov 21, 2023
1 parent 1626c20 commit 043eacc
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 749 deletions.
76 changes: 4 additions & 72 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ members = [
"substrate/client/mixnet",
"substrate/client/network-gossip",
"substrate/client/network",
"substrate/client/network/bitswap",
"substrate/client/network/common",
"substrate/client/network/light",
"substrate/client/network/sync",
Expand Down
1 change: 1 addition & 0 deletions removed_folders.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
./substrate/client/consensus/merkle-mountain-range
./substrate/client/consensus/pow
./substrate/client/merkle-mountain-range
./substrate/client/network/bitswap
./substrate/client/network/statement
./substrate/client/rpc/src/statement
./substrate/client/rpc-api/src/statement
Expand Down
5 changes: 0 additions & 5 deletions substrate/client/cli/src/params/network_params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,6 @@ pub struct NetworkParams {
#[arg(long, default_value = "20")]
pub kademlia_replication_factor: NonZeroUsize,

/// Join the IPFS network and serve transactions over bitswap protocol.
#[arg(long)]
pub ipfs_server: bool,

/// Blockchain syncing mode.
#[arg(
long,
Expand Down Expand Up @@ -243,7 +239,6 @@ impl NetworkParams {
kademlia_disjoint_query_paths: self.kademlia_disjoint_query_paths,
kademlia_replication_factor: self.kademlia_replication_factor,
yamux_window_size: None,
ipfs_server: self.ipfs_server,
sync_mode: self.sync.into(),
}
}
Expand Down
39 changes: 0 additions & 39 deletions substrate/client/network/bitswap/Cargo.toml

This file was deleted.

24 changes: 0 additions & 24 deletions substrate/client/network/bitswap/build.rs

This file was deleted.

Loading

0 comments on commit 043eacc

Please sign in to comment.