diff --git a/README.md b/README.md index 9148813..8bbb7d3 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# substraTEE-node +# integritee-node -This repository belongs to the [substraTEE project](https://www.substratee.com). +This repository belongs to the [Integritee project](https://book.integritee.network). -A substrate-based node that maintains a registry of remote attested substraTEE-worker enclaves. The node also acts as a proxy for encrypted requests which are forwarded to the substraTEE-worker. +A substrate-based node that maintains a registry of remote attested integritee-service enclaves. The node also acts as a proxy for encrypted requests which are forwarded to the integritee-service. ## Build and Run -Please see our [SubstraTEE Book](https://www.substratee.com/howto_node.html) to learn how to build and run this. +Please see our [Integritee Book](https://book.integritee.network/howto_node.html) to learn how to build and run this. diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index cee9b13..3e11215 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1,3 +1,16 @@ +/* + Copyright 2021 Integritee AG and Supercomputing Systems AG + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + #![cfg_attr(not(feature = "std"), no_std)] // `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256. #![recursion_limit = "256"] @@ -41,7 +54,7 @@ pub use sp_runtime::BuildStorage; pub use sp_runtime::{Perbill, Permill}; use frame_system::EnsureRoot; -/// added by SCS +/// added by Integritee pub use pallet_teerex; use frame_support::traits::{OnUnbalanced, Imbalance}; @@ -148,7 +161,7 @@ pub const TEER: Balance = 1_000_000_000_000; pub const MILLITEER: Balance = 1_000_000_000; pub const MICROTEER: Balance = 1_000_000; -/// added by scs +/// added by Integritee /// A timestamp: milliseconds since the unix epoch. pub type Moment = u64; @@ -328,7 +341,7 @@ parameter_types! { pub const MaxSilenceTime: Moment =172_800_000; // 48h } -/// added by SCS +/// added by Integritee impl pallet_teerex::Config for Runtime { type Event = Event; type Currency = pallet_balances::Pallet; @@ -381,7 +394,7 @@ construct_runtime!( Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, TransactionPayment: pallet_transaction_payment::{Pallet, Storage}, Sudo: pallet_sudo::{Pallet, Call, Config, Storage, Event}, - // added by SCS + // added by Integritee Teerex: pallet_teerex::{Pallet, Call, Storage, Event}, Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event}, }