Skip to content

Commit bf75508

Browse files
authored
Merge pull request #3351 from autonomys/0bsd-license
Change license of crates under `crates` and `shared` to 0BSD
2 parents 65b39b6 + 70cc984 commit bf75508

File tree

117 files changed

+57
-1031
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+57
-1031
lines changed

crates/pallet-domains/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "pallet-domains"
33
version = "0.1.0"
44
authors = ["Subspace Labs <https://subspace.network>"]
55
edition = "2021"
6-
license = "Apache-2.0"
6+
license = "0BSD"
77
homepage = "https://subspace.network"
88
repository = "https://github.com/autonomys/subspace"
99
description = "Subspace domains pallet"

crates/pallet-domains/src/lib.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
// Copyright (C) 2021 Subspace Labs, Inc.
2-
// SPDX-License-Identifier: Apache-2.0
3-
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
161
//! Pallet Domains
172
183
#![cfg_attr(not(feature = "std"), no_std)]

crates/pallet-rewards/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "pallet-rewards"
33
version = "0.1.0"
44
authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"]
55
edition = "2021"
6-
license = "Apache-2.0"
6+
license = "0BSD"
77
homepage = "https://subspace.network"
88
repository = "https://github.com/autonomys/subspace"
99
description = "Pallet for issuing rewards to block producers"

crates/pallet-rewards/src/lib.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
// Copyright (C) 2021 Subspace Labs, Inc.
2-
// SPDX-License-Identifier: Apache-2.0
3-
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
161
//! Pallet for issuing rewards to block producers.
172
183
#![cfg_attr(not(feature = "std"), no_std)]

crates/pallet-runtime-configs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "pallet-runtime-configs"
33
version = "0.1.0"
44
authors = ["Liu-Cheng Xu <xuliuchengxlc@gmail.com>"]
55
edition = "2021"
6-
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
6+
license = "0BSD"
77
homepage = "https://subspace.network"
88
repository = "https://github.com/autonomys/subspace"
99
description = "Pallet for tweaking the runtime configs for multiple network"

crates/pallet-runtime-configs/src/lib.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
// Copyright (C) 2022 Subspace Labs, Inc.
2-
// SPDX-License-Identifier: Apache-2.0
3-
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
161
//! Pallet for tweaking the runtime configs for multiple network.
172
183
#![cfg_attr(not(feature = "std"), no_std)]

crates/pallet-subspace-mmr/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "pallet-subspace-mmr"
33
homepage = "https://subspace.network"
44
repository = "https://github.com/autonomys/subspace"
55
description = "Primitives for Subspace MMR"
6-
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
6+
license = "0BSD"
77
version = "0.1.0"
88
authors = ["Subspace Labs <https://subspace.network>"]
99
edition = "2021"

crates/pallet-subspace-mmr/src/lib.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
// Copyright (C) 2022 Subspace Labs, Inc.
2-
// SPDX-License-Identifier: Apache-2.0
3-
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
161
//! Pallet that provides necessary Leaf data for MMR.
172
183
#![cfg_attr(not(feature = "std"), no_std)]

crates/pallet-subspace/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "pallet-subspace"
33
version = "0.1.0"
44
authors = ["Parity Technologies <admin@parity.io>", "Subspace Labs <admin@subspace.network>"]
55
edition = "2021"
6-
license = "Apache-2.0"
6+
license = "0BSD"
77
homepage = "https://subspace.network"
88
repository = "https://github.com/autonomys/subspace"
99
description = "Subspace consensus pallet"

crates/pallet-subspace/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,3 @@ Pallet maintains crucial state required for Subspace Proof-of-Archival-Storage c
1414
validity of piece from solution can be checked later
1515

1616
Pallet also provides handy API for finding block author, block reward address, randomness and some others.
17-
18-
License: Apache-2.0

crates/pallet-subspace/src/lib.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
// Copyright (C) 2019-2021 Parity Technologies (UK) Ltd.
2-
// Copyright (C) 2021 Subspace Labs, Inc.
3-
// SPDX-License-Identifier: Apache-2.0
4-
5-
// Licensed under the Apache License, Version 2.0 (the "License");
6-
// you may not use this file except in compliance with the License.
7-
// You may obtain a copy of the License at
8-
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
10-
//
11-
// Unless required by applicable law or agreed to in writing, software
12-
// distributed under the License is distributed on an "AS IS" BASIS,
13-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
// See the License for the specific language governing permissions and
15-
// limitations under the License.
161
#![doc = include_str!("../README.md")]
172
#![cfg_attr(not(feature = "std"), no_std)]
183
#![feature(array_chunks, assert_matches, let_chains, portable_simd)]

crates/pallet-subspace/src/mock.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
// Copyright (C) 2019-2021 Parity Technologies (UK) Ltd.
2-
// Copyright (C) 2021 Subspace Labs, Inc.
3-
// SPDX-License-Identifier: Apache-2.0
4-
5-
// Licensed under the Apache License, Version 2.0 (the "License");
6-
// you may not use this file except in compliance with the License.
7-
// You may obtain a copy of the License at
8-
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
10-
//
11-
// Unless required by applicable law or agreed to in writing, software
12-
// distributed under the License is distributed on an "AS IS" BASIS,
13-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
// See the License for the specific language governing permissions and
15-
// limitations under the License.
16-
171
//! Test utilities
182
193
use crate::{self as pallet_subspace, AllowAuthoringBy, Config, EnableRewardsAt, NormalEraChange};

crates/pallet-subspace/src/tests.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
// Copyright (C) 2019-2021 Parity Technologies (UK) Ltd.
2-
// Copyright (C) 2021 Subspace Labs, Inc.
3-
// SPDX-License-Identifier: Apache-2.0
4-
5-
// Licensed under the Apache License, Version 2.0 (the "License");
6-
// you may not use this file except in compliance with the License.
7-
// You may obtain a copy of the License at
8-
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
10-
//
11-
// Unless required by applicable law or agreed to in writing, software
12-
// distributed under the License is distributed on an "AS IS" BASIS,
13-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
// See the License for the specific language governing permissions and
15-
// limitations under the License.
16-
171
//! Consensus extension module tests for Subspace consensus.
182
193
use crate::mock::{

crates/pallet-transaction-fees/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "pallet-transaction-fees"
33
version = "0.1.0"
44
authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"]
55
edition = "2021"
6-
license = "Apache-2.0"
6+
license = "0BSD"
77
homepage = "https://subspace.network"
88
repository = "https://github.com/autonomys/subspace"
99
description = "Pallet for charging and re-distributing transaction fees"
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
# Pallet Transaction Fees
22

33
Pallet for charging and re-distributing transaction fees.
4-
5-
License: Apache-2.0

crates/pallet-transaction-fees/src/lib.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
// Copyright (C) 2021 Subspace Labs, Inc.
2-
// SPDX-License-Identifier: Apache-2.0
3-
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
161
//! Pallet for charging and re-distributing transaction fees.
172
183
#![cfg_attr(not(feature = "std"), no_std)]

crates/pallet-transaction-fees/src/weights.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
// Copyright (C) 2021 Subspace Labs, Inc.
2-
// SPDX-License-Identifier: Apache-2.0
3-
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
161
//! Default weights for the Rewards Pallet
172
//! This file was not auto-generated.
183

crates/sc-consensus-subspace-rpc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
authors = ["Parity Technologies <admin@parity.io>", "Subspace Labs <admin@subspace.network>"]
55
description = "RPC extensions for the Subspace consensus algorithm"
66
edition = "2021"
7-
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
7+
license = "0BSD"
88
homepage = "https://subspace.network"
99
repository = "https://github.com/autonomys/subspace"
1010
readme = "README.md"
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
RPC api for Subspace Consensus.
2-
3-
License: GPL-3.0-or-later WITH Classpath-exception-2.0

crates/sc-consensus-subspace-rpc/src/lib.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
// Copyright (C) 2020-2021 Parity Technologies (UK) Ltd.
2-
// Copyright (C) 2021 Subspace Labs, Inc.
3-
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0
4-
5-
// This program is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
15-
// You should have received a copy of the GNU General Public License
16-
// along with this program. If not, see <https://www.gnu.org/licenses/>.
17-
181
//! RPC api for Subspace.
192
203
#![feature(try_blocks)]

crates/sc-consensus-subspace/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
authors = ["Parity Technologies <admin@parity.io>", "Subspace Labs <admin@subspace.network>"]
55
description = "Subspace consensus algorithm for substrate"
66
edition = "2021"
7-
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
7+
license = "0BSD"
88
homepage = "https://subspace.network"
99
repository = "https://github.com/autonomys/subspace"
1010
documentation = "https://docs.rs/sc-consensus-subspace"

crates/sc-consensus-subspace/src/archiver.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
// Copyright (C) 2021 Subspace Labs, Inc.
2-
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0
3-
4-
// This program is free software: you can redistribute it and/or modify
5-
// it under the terms of the GNU General Public License as published by
6-
// the Free Software Foundation, either version 3 of the License, or
7-
// (at your option) any later version.
8-
9-
// This program is distributed in the hope that it will be useful,
10-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
// GNU General Public License for more details.
13-
14-
// You should have received a copy of the GNU General Public License
15-
// along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
171
//! Consensus archiver responsible for archival of blockchain history, it is driven by block import
182
//! pipeline.
193
//!

crates/sc-consensus-subspace/src/aux_schema.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
// Copyright (C) 2019-2021 Parity Technologies (UK) Ltd.
2-
// Copyright (C) 2021 Subspace Labs, Inc.
3-
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0
4-
5-
// This program is free software: you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation, either version 3 of the License, or
8-
// (at your option) any later version.
9-
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
15-
// You should have received a copy of the GNU General Public License
16-
// along with this program. If not, see <https://www.gnu.org/licenses/>.
17-
181
//! Schema for Subspace block weight in the aux-db.
192
203
use codec::{Decode, Encode};

crates/sc-consensus-subspace/src/block_import.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
// Copyright (C) 2021 Subspace Labs, Inc.
2-
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0
3-
4-
// This program is free software: you can redistribute it and/or modify
5-
// it under the terms of the GNU General Public License as published by
6-
// the Free Software Foundation, either version 3 of the License, or
7-
// (at your option) any later version.
8-
9-
// This program is distributed in the hope that it will be useful,
10-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
// GNU General Public License for more details.
13-
14-
// You should have received a copy of the GNU General Public License
15-
// along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
171
//! Block import for Subspace, which includes stateful verification and corresponding notifications.
182
//!
193
//! In most cases block import happens after stateless block verification using [`verifier`](crate::verifier),

crates/sc-consensus-subspace/src/lib.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
// Copyright (C) 2021 Subspace Labs, Inc.
2-
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0
3-
4-
// This program is free software: you can redistribute it and/or modify
5-
// it under the terms of the GNU General Public License as published by
6-
// the Free Software Foundation, either version 3 of the License, or
7-
// (at your option) any later version.
8-
9-
// This program is distributed in the hope that it will be useful,
10-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
// GNU General Public License for more details.
13-
14-
// You should have received a copy of the GNU General Public License
15-
// along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
171
//! `sc-consensus-subspace` is the core of Subspace consensus implementation.
182
//!
193
//! You should familiarize yourself with [Subnomicon](https://subnomicon.subspace.network/) and, ideally, protocol

crates/sc-consensus-subspace/src/notification.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
// Copyright (C) 2021 Subspace Labs, Inc.
2-
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0
3-
4-
// This program is free software: you can redistribute it and/or modify
5-
// it under the terms of the GNU General Public License as published by
6-
// the Free Software Foundation, either version 3 of the License, or
7-
// (at your option) any later version.
8-
9-
// This program is distributed in the hope that it will be useful,
10-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
// GNU General Public License for more details.
13-
14-
// You should have received a copy of the GNU General Public License
15-
// along with this program. If not, see <https://www.gnu.org/licenses/>.
161
//! Utility module for handling Subspace client notifications.
172
183
use parking_lot::Mutex;

0 commit comments

Comments
 (0)