Skip to content

Commit

Permalink
chore : Update copyright text and remove unused verifying keys (#358)
Browse files Browse the repository at this point in the history
* Creating service abstractions for separating testnet/tangle runtime

* adding new_full wip

* Refactor service into separate crate and get building

* Fixes, failing after launch

* Adding babe primitives and fixing paths

* More babe work

* Updates to rpcs, babe service

* Remove some feature flags

* Updates to tangle_service::babe

* switch testnet to babe

* more fixes

* everything compiles

* cleanup naming

* clippy fixes

* cleanup copyright text

* restore txpool features

---------

Co-authored-by: Drew Stone <[email protected]>
  • Loading branch information
1xstj and drewstone authored Dec 22, 2023
1 parent edd2450 commit b813698
Show file tree
Hide file tree
Showing 124 changed files with 271 additions and 108 deletions.
2 changes: 1 addition & 1 deletion docker/Tangle.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 Webb Technologies Inc.
# Copyright 2024 Webb Technologies Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,4 @@ rocksdb = [
]
sql = ["fc-db/sql", "fc-mapping-sync/sql"]
testnet = ["tangle-testnet-runtime"]
txpool = ["fc-rpc/txpool"]
txpool = ["fc-rpc/txpool"]
3 changes: 2 additions & 1 deletion node/src/chainspec/mainnet.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 Webb Technologies Inc.
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion node/src/chainspec/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 Webb Technologies Inc.
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion node/src/chainspec/testnet.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 Webb Technologies Inc.
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion node/src/cli.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 Webb Technologies Inc.
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion node/src/command.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 Webb Technologies Inc.
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
15 changes: 15 additions & 0 deletions node/src/distributions/develop.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Tangle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Tangle. If not, see <http://www.gnu.org/licenses/>.
use std::str::FromStr;

use fp_evm::GenesisAccount;
Expand Down
15 changes: 15 additions & 0 deletions node/src/distributions/mainnet.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Tangle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Tangle. If not, see <http://www.gnu.org/licenses/>.
use std::str::FromStr;

use fp_evm::GenesisAccount;
Expand Down
15 changes: 15 additions & 0 deletions node/src/distributions/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Tangle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Tangle. If not, see <http://www.gnu.org/licenses/>.
use fp_evm::GenesisAccount;
use sp_core::H160;

Expand Down
15 changes: 15 additions & 0 deletions node/src/distributions/testnet.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Tangle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Tangle. If not, see <http://www.gnu.org/licenses/>.
use std::{
fs::File,
io::Read,
Expand Down
3 changes: 2 additions & 1 deletion node/src/eth.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 Webb Technologies Inc.
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion node/src/mainnet_fixtures.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 Webb Technologies Inc.
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
15 changes: 15 additions & 0 deletions node/src/rpc/eth.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Tangle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Tangle. If not, see <http://www.gnu.org/licenses/>.
use std::{collections::BTreeMap, sync::Arc};

use jsonrpsee::RpcModule;
Expand Down
15 changes: 15 additions & 0 deletions node/src/rpc/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Tangle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Tangle. If not, see <http://www.gnu.org/licenses/>.
//! A collection of node-specific RPC methods.
use futures::channel::mpsc;
Expand Down
3 changes: 2 additions & 1 deletion node/src/service.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 Webb Technologies Inc.
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion node/src/testnet_fixtures.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 Webb Technologies Inc.
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion pallets/dkg/src/functions.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
3 changes: 2 additions & 1 deletion pallets/dkg/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -13,6 +13,7 @@
//
// You should have received a copy of the GNU General Public License
// along with Tangle. If not, see <http://www.gnu.org/licenses/>.

#![cfg_attr(not(feature = "std"), no_std)]
//! # Pallet-DKG
//!
Expand Down
2 changes: 1 addition & 1 deletion pallets/dkg/src/mock.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/dkg/src/tests.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/dkg/src/types.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/dkg/src/weights.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/jobs/rpc/runtime-api/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
3 changes: 2 additions & 1 deletion pallets/jobs/rpc/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2022 Webb Technologies Inc.
// This file is part of Tangle.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion pallets/jobs/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/jobs/src/mock.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/jobs/src/tests.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/jobs/src/types.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/jobs/src/weights.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/roles/src/impls.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/roles/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/roles/src/mock.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/roles/src/offences.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Webb.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/roles/src/profile.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Webb.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/roles/src/tests.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/roles/src/weights.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/transaction-pause/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/transaction-pause/src/mock.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/zksaas/src/functions.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/zksaas/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/zksaas/src/mock.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/zksaas/src/tests.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/zksaas/src/types.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion pallets/zksaas/src/weights.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is part of Tangle.
// Copyright (C) 2022-2023 Webb Technologies Inc.
// Copyright (C) 2022-2024 Webb Technologies Inc.
//
// Tangle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down
Loading

0 comments on commit b813698

Please sign in to comment.