diff --git a/backend/common/src/assign_id.rs b/backend/common/src/assign_id.rs
index 1bcd42f..dfcbb20 100644
--- a/backend/common/src/assign_id.rs
+++ b/backend/common/src/assign_id.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use bimap::BiMap;
use std::hash::Hash;
diff --git a/backend/common/src/byte_size.rs b/backend/common/src/byte_size.rs
index 65fdb68..0f6922d 100644
--- a/backend/common/src/byte_size.rs
+++ b/backend/common/src/byte_size.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use anyhow::{anyhow, Error};
#[derive(Copy, Clone, Debug)]
diff --git a/backend/common/src/dense_map.rs b/backend/common/src/dense_map.rs
index a631cff..b157a51 100644
--- a/backend/common/src/dense_map.rs
+++ b/backend/common/src/dense_map.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
/// This stores items in contiguous memory, making a note of free
/// slots when items are removed again so that they can be reused.
///
diff --git a/backend/common/src/http_utils.rs b/backend/common/src/http_utils.rs
index 49c19fc..e53dd23 100644
--- a/backend/common/src/http_utils.rs
+++ b/backend/common/src/http_utils.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use futures::io::{BufReader, BufWriter};
use hyper::server::conn::AddrStream;
use hyper::{Body, Request, Response, Server};
diff --git a/backend/common/src/id_type.rs b/backend/common/src/id_type.rs
index d3165a5..0274b80 100644
--- a/backend/common/src/id_type.rs
+++ b/backend/common/src/id_type.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
/// Define a type that can be used as an ID, be converted from/to the inner type,
/// and serialized/deserialized transparently into the inner type.
#[macro_export]
diff --git a/backend/common/src/internal_messages.rs b/backend/common/src/internal_messages.rs
index 8a0ecd8..e95c3ef 100644
--- a/backend/common/src/internal_messages.rs
+++ b/backend/common/src/internal_messages.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
//! Internal messages passed between the shard and telemetry core.
use std::net::IpAddr;
diff --git a/backend/common/src/lib.rs b/backend/common/src/lib.rs
index 484185b..f859036 100644
--- a/backend/common/src/lib.rs
+++ b/backend/common/src/lib.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
pub mod byte_size;
pub mod http_utils;
pub mod id_type;
diff --git a/backend/common/src/mean_list.rs b/backend/common/src/mean_list.rs
index ce91aaa..c6c84e1 100644
--- a/backend/common/src/mean_list.rs
+++ b/backend/common/src/mean_list.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use num_traits::{Float, Zero};
use std::ops::AddAssign;
diff --git a/backend/common/src/most_seen.rs b/backend/common/src/most_seen.rs
index 393022d..bc38d8b 100644
--- a/backend/common/src/most_seen.rs
+++ b/backend/common/src/most_seen.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use std::collections::HashMap;
use std::hash::Hash;
diff --git a/backend/common/src/node_message.rs b/backend/common/src/node_message.rs
index b8a87fe..ae491dc 100644
--- a/backend/common/src/node_message.rs
+++ b/backend/common/src/node_message.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
//! This is the internal represenation of telemetry messages sent from nodes.
//! There is a separate JSON representation of these types, because internally we want to be
//! able to serialize these messages to bincode, and various serde attribtues aren't compatible
diff --git a/backend/common/src/node_types.rs b/backend/common/src/node_types.rs
index 3b7c947..bcfebb5 100644
--- a/backend/common/src/node_types.rs
+++ b/backend/common/src/node_types.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
//! These types are partly used in [`crate::node_message`], but also stored and used
//! more generally through the application.
diff --git a/backend/common/src/num_stats.rs b/backend/common/src/num_stats.rs
index 8bec802..30c4b29 100644
--- a/backend/common/src/num_stats.rs
+++ b/backend/common/src/num_stats.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use num_traits::{Bounded, NumOps, Zero};
use std::convert::TryFrom;
use std::iter::Sum;
diff --git a/backend/common/src/ready_chunks_all.rs b/backend/common/src/ready_chunks_all.rs
index f5b5872..ef2d274 100644
--- a/backend/common/src/ready_chunks_all.rs
+++ b/backend/common/src/ready_chunks_all.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
//! [`futures::StreamExt::ready_chunks()`] internally stores a vec with a certain capacity, and will buffer up
//! up to that many items that are ready from the underlying stream before returning either when we run out of
//! Poll::Ready items, or we hit the capacity.
diff --git a/backend/common/src/rolling_total.rs b/backend/common/src/rolling_total.rs
index 91cc8d5..7411b52 100644
--- a/backend/common/src/rolling_total.rs
+++ b/backend/common/src/rolling_total.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use num_traits::{SaturatingAdd, SaturatingSub, Zero};
use std::collections::VecDeque;
use std::time::{Duration, Instant};
diff --git a/backend/common/src/time.rs b/backend/common/src/time.rs
index 29386bd..d5b6280 100644
--- a/backend/common/src/time.rs
+++ b/backend/common/src/time.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
/// Returns current unix time in ms (compatible with JS Date.now())
pub fn now() -> u64 {
use std::time::SystemTime;
diff --git a/backend/common/src/ws_client/connect.rs b/backend/common/src/ws_client/connect.rs
index 9cf909b..48979f1 100644
--- a/backend/common/src/ws_client/connect.rs
+++ b/backend/common/src/ws_client/connect.rs
@@ -1,3 +1,18 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
use futures::channel::mpsc;
use futures::{SinkExt, StreamExt};
use soketto::handshake::{Client, ServerResponse};
diff --git a/backend/common/src/ws_client/mod.rs b/backend/common/src/ws_client/mod.rs
index da37f6f..a6654ae 100644
--- a/backend/common/src/ws_client/mod.rs
+++ b/backend/common/src/ws_client/mod.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
/// Functionality to establish a connection
mod connect;
/// The channel based receive interface
diff --git a/backend/common/src/ws_client/receiver.rs b/backend/common/src/ws_client/receiver.rs
index dfaed84..f4c80e0 100644
--- a/backend/common/src/ws_client/receiver.rs
+++ b/backend/common/src/ws_client/receiver.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use futures::channel::mpsc;
use futures::{Stream, StreamExt};
diff --git a/backend/common/src/ws_client/sender.rs b/backend/common/src/ws_client/sender.rs
index 392de0c..108828d 100644
--- a/backend/common/src/ws_client/sender.rs
+++ b/backend/common/src/ws_client/sender.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use futures::channel::mpsc;
use futures::{Sink, SinkExt};
diff --git a/backend/telemetry_core/src/aggregator/aggregator.rs b/backend/telemetry_core/src/aggregator/aggregator.rs
index bdfbd1f..6ad9153 100644
--- a/backend/telemetry_core/src/aggregator/aggregator.rs
+++ b/backend/telemetry_core/src/aggregator/aggregator.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use super::inner_loop;
use crate::find_location::find_location;
use crate::state::NodeId;
diff --git a/backend/telemetry_core/src/aggregator/inner_loop.rs b/backend/telemetry_core/src/aggregator/inner_loop.rs
index e9bf79b..4941dd0 100644
--- a/backend/telemetry_core/src/aggregator/inner_loop.rs
+++ b/backend/telemetry_core/src/aggregator/inner_loop.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use super::aggregator::ConnId;
use crate::feed_message::{self, FeedMessageSerializer};
use crate::find_location;
diff --git a/backend/telemetry_core/src/aggregator/mod.rs b/backend/telemetry_core/src/aggregator/mod.rs
index c73fba3..7e236eb 100644
--- a/backend/telemetry_core/src/aggregator/mod.rs
+++ b/backend/telemetry_core/src/aggregator/mod.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
mod aggregator;
mod inner_loop;
diff --git a/backend/telemetry_core/src/feed_message.rs b/backend/telemetry_core/src/feed_message.rs
index e0e108f..0b28ed3 100644
--- a/backend/telemetry_core/src/feed_message.rs
+++ b/backend/telemetry_core/src/feed_message.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
//! This module provides a way of encoding the various messages that we'll
//! send to subscribed feeds (browsers).
diff --git a/backend/telemetry_core/src/find_location.rs b/backend/telemetry_core/src/find_location.rs
index e2aa661..00a737a 100644
--- a/backend/telemetry_core/src/find_location.rs
+++ b/backend/telemetry_core/src/find_location.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use std::net::Ipv4Addr;
use std::sync::Arc;
diff --git a/backend/telemetry_core/src/main.rs b/backend/telemetry_core/src/main.rs
index 8c78046..b342953 100644
--- a/backend/telemetry_core/src/main.rs
+++ b/backend/telemetry_core/src/main.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
mod aggregator;
mod feed_message;
mod find_location;
diff --git a/backend/telemetry_core/src/state/chain.rs b/backend/telemetry_core/src/state/chain.rs
index 08ee985..68fb11c 100644
--- a/backend/telemetry_core/src/state/chain.rs
+++ b/backend/telemetry_core/src/state/chain.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use common::node_message::Payload;
use common::node_types::{Block, Timestamp};
use common::node_types::{BlockHash, BlockNumber};
diff --git a/backend/telemetry_core/src/state/mod.rs b/backend/telemetry_core/src/state/mod.rs
index df12d23..2576f5c 100644
--- a/backend/telemetry_core/src/state/mod.rs
+++ b/backend/telemetry_core/src/state/mod.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
mod chain;
mod node;
diff --git a/backend/telemetry_core/src/state/node.rs b/backend/telemetry_core/src/state/node.rs
index 665103c..3853420 100644
--- a/backend/telemetry_core/src/state/node.rs
+++ b/backend/telemetry_core/src/state/node.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use crate::find_location;
use common::node_message::SystemInterval;
use common::node_types::{
diff --git a/backend/telemetry_core/src/state/state.rs b/backend/telemetry_core/src/state/state.rs
index f1ac6bc..c06f569 100644
--- a/backend/telemetry_core/src/state/state.rs
+++ b/backend/telemetry_core/src/state/state.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use super::node::Node;
use crate::feed_message::FeedMessageSerializer;
use crate::find_location;
diff --git a/backend/telemetry_core/tests/e2e_tests.rs b/backend/telemetry_core/tests/e2e_tests.rs
index dc0e503..4ce7150 100644
--- a/backend/telemetry_core/tests/e2e_tests.rs
+++ b/backend/telemetry_core/tests/e2e_tests.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
//! General end-to-end tests
use common::node_types::BlockHash;
diff --git a/backend/telemetry_core/tests/soak_tests.rs b/backend/telemetry_core/tests/soak_tests.rs
index c9e2e53..81defbe 100644
--- a/backend/telemetry_core/tests/soak_tests.rs
+++ b/backend/telemetry_core/tests/soak_tests.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
/*!
Soak tests. These are ignored by default, and are intended to be long runs
of the core + shards(s) under different loads to get a feel for CPU/memory
diff --git a/backend/telemetry_shard/src/aggregator.rs b/backend/telemetry_shard/src/aggregator.rs
index b112581..d80bbba 100644
--- a/backend/telemetry_shard/src/aggregator.rs
+++ b/backend/telemetry_shard/src/aggregator.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use crate::connection::{create_ws_connection_to_core, Message};
use common::{
internal_messages::{self, ShardNodeId},
diff --git a/backend/telemetry_shard/src/blocked_addrs.rs b/backend/telemetry_shard/src/blocked_addrs.rs
index 93e92b3..6cfa193 100644
--- a/backend/telemetry_shard/src/blocked_addrs.rs
+++ b/backend/telemetry_shard/src/blocked_addrs.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use std::collections::HashMap;
use std::time::{Duration, Instant};
use std::net::IpAddr;
diff --git a/backend/telemetry_shard/src/connection.rs b/backend/telemetry_shard/src/connection.rs
index f3f99de..4ebf39d 100644
--- a/backend/telemetry_shard/src/connection.rs
+++ b/backend/telemetry_shard/src/connection.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use bincode::Options;
use common::ws_client;
use futures::channel::mpsc;
diff --git a/backend/telemetry_shard/src/json_message/hash.rs b/backend/telemetry_shard/src/json_message/hash.rs
index 4be81af..dd647c9 100644
--- a/backend/telemetry_shard/src/json_message/hash.rs
+++ b/backend/telemetry_shard/src/json_message/hash.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
//! A hash wrapper which can be deserialized from a hex string as well as from an array of bytes,
//! so that it can deal with the sort of inputs we expect from substrate nodes.
diff --git a/backend/telemetry_shard/src/json_message/mod.rs b/backend/telemetry_shard/src/json_message/mod.rs
index 60b5d3b..3789257 100644
--- a/backend/telemetry_shard/src/json_message/mod.rs
+++ b/backend/telemetry_shard/src/json_message/mod.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
//! This module contains the types we need to deserialize JSON messages from nodes
mod hash;
diff --git a/backend/telemetry_shard/src/json_message/node_message.rs b/backend/telemetry_shard/src/json_message/node_message.rs
index 41ba1b0..fc40898 100644
--- a/backend/telemetry_shard/src/json_message/node_message.rs
+++ b/backend/telemetry_shard/src/json_message/node_message.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
//! The structs and enums defined in this module are largely identical to those
//! we'll use elsewhere internally, but are kept separate so that the JSON structure
//! is defined (almost) from just this file, and we don't have to worry about breaking
diff --git a/backend/telemetry_shard/src/main.rs b/backend/telemetry_shard/src/main.rs
index e565488..cc3aa90 100644
--- a/backend/telemetry_shard/src/main.rs
+++ b/backend/telemetry_shard/src/main.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
#[warn(missing_docs)]
mod aggregator;
mod connection;
diff --git a/backend/telemetry_shard/src/real_ip.rs b/backend/telemetry_shard/src/real_ip.rs
index 5f2aa3f..79a1bc2 100644
--- a/backend/telemetry_shard/src/real_ip.rs
+++ b/backend/telemetry_shard/src/real_ip.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use std::net::{IpAddr, SocketAddr};
/**
diff --git a/backend/test_utils/src/contains_matches.rs b/backend/test_utils/src/contains_matches.rs
index b619c68..21fa302 100644
--- a/backend/test_utils/src/contains_matches.rs
+++ b/backend/test_utils/src/contains_matches.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
/**
This macro checks to see whether an iterable container contains each of the
match items given, in the order that they are given in (but not necessarily
diff --git a/backend/test_utils/src/feed_message_de.rs b/backend/test_utils/src/feed_message_de.rs
index 08e28cb..e8030c9 100644
--- a/backend/test_utils/src/feed_message_de.rs
+++ b/backend/test_utils/src/feed_message_de.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use anyhow::Context;
use common::node_types::{
BlockDetails, BlockHash, BlockNumber, NodeLocation, NodeStats, Timestamp,
diff --git a/backend/test_utils/src/lib.rs b/backend/test_utils/src/lib.rs
index 102b1ec..6d614a7 100644
--- a/backend/test_utils/src/lib.rs
+++ b/backend/test_utils/src/lib.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
/// Create/connect to a server consisting of shards and a core process that we can interact with.
pub mod server;
diff --git a/backend/test_utils/src/server/channels.rs b/backend/test_utils/src/server/channels.rs
index b2d37ea..ef932b2 100644
--- a/backend/test_utils/src/server/channels.rs
+++ b/backend/test_utils/src/server/channels.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use std::{
ops::{Deref, DerefMut},
time::Duration,
diff --git a/backend/test_utils/src/server/mod.rs b/backend/test_utils/src/server/mod.rs
index 3a7c665..eb3e373 100644
--- a/backend/test_utils/src/server/mod.rs
+++ b/backend/test_utils/src/server/mod.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
mod server;
mod utils;
diff --git a/backend/test_utils/src/server/server.rs b/backend/test_utils/src/server/server.rs
index 41b52df..f322bda 100644
--- a/backend/test_utils/src/server/server.rs
+++ b/backend/test_utils/src/server/server.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use super::{channels, utils};
use common::ws_client;
use common::{id_type, DenseMap};
diff --git a/backend/test_utils/src/server/utils.rs b/backend/test_utils/src/server/utils.rs
index a16e0cd..ba41097 100644
--- a/backend/test_utils/src/server/utils.rs
+++ b/backend/test_utils/src/server/utils.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use anyhow::{anyhow, Context};
use common::ws_client;
use tokio::io::BufReader;
diff --git a/backend/test_utils/src/workspace/commands.rs b/backend/test_utils/src/workspace/commands.rs
index 43a87d3..a092ea9 100644
--- a/backend/test_utils/src/workspace/commands.rs
+++ b/backend/test_utils/src/workspace/commands.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
//! Commands that we can use when running `cargo test` style tests in this workspace
//! that want to test the current code.
use crate::server::Command;
diff --git a/backend/test_utils/src/workspace/mod.rs b/backend/test_utils/src/workspace/mod.rs
index 22f93f2..acbea15 100644
--- a/backend/test_utils/src/workspace/mod.rs
+++ b/backend/test_utils/src/workspace/mod.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
mod commands;
mod start_server;
diff --git a/backend/test_utils/src/workspace/start_server.rs b/backend/test_utils/src/workspace/start_server.rs
index ebcfd5c..72f6550 100644
--- a/backend/test_utils/src/workspace/start_server.rs
+++ b/backend/test_utils/src/workspace/start_server.rs
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
use super::commands;
use crate::server::{self, Command, Server};
diff --git a/frontend/declarations/index.d.ts b/frontend/declarations/index.d.ts
index fc0f52c..a0c0318 100644
--- a/frontend/declarations/index.d.ts
+++ b/frontend/declarations/index.d.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
declare module '@fnando/sparkline' {
namespace sparkline {
export interface Options {
diff --git a/frontend/images.d.ts b/frontend/images.d.ts
index 397cc9b..26b5489 100644
--- a/frontend/images.d.ts
+++ b/frontend/images.d.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
declare module '*.svg'
declare module '*.png'
declare module '*.jpg'
diff --git a/frontend/src/AfgHandling.ts b/frontend/src/AfgHandling.ts
index 277e015..6dc00b1 100644
--- a/frontend/src/AfgHandling.ts
+++ b/frontend/src/AfgHandling.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import { Types } from './common';
import { State, Update } from './state';
import { ConsensusDetail } from './common/types';
diff --git a/frontend/src/App.css b/frontend/src/App.css
index 251554a..14f7c15 100644
--- a/frontend/src/App.css
+++ b/frontend/src/App.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.App {
text-align: left;
font-family: Roboto, Helvetica, Arial, sans-serif;
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx
index 30c87c4..af0a411 100644
--- a/frontend/src/App.tsx
+++ b/frontend/src/App.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Types, SortedCollection, Maybe, Compare } from './common';
import { AllChains, Chains, Chain, Ago, OfflineIndicator } from './components';
diff --git a/frontend/src/Connection.ts b/frontend/src/Connection.ts
index 83ca69e..c8fdcde 100644
--- a/frontend/src/Connection.ts
+++ b/frontend/src/Connection.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import { VERSION, timestamp, FeedMessage, Types, Maybe, sleep } from './common';
import { State, Update, Node, ChainData, PINNED_CHAINS } from './state';
import { PersistentSet } from './persist';
diff --git a/frontend/src/common/SortedCollection.ts b/frontend/src/common/SortedCollection.ts
index 7ddb0a2..539de4f 100644
--- a/frontend/src/common/SortedCollection.ts
+++ b/frontend/src/common/SortedCollection.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import { Maybe, Opaque } from './helpers';
export type Compare = (a: T, b: T) => number;
diff --git a/frontend/src/common/feed.ts b/frontend/src/common/feed.ts
index 04ce2b9..ffc74c6 100644
--- a/frontend/src/common/feed.ts
+++ b/frontend/src/common/feed.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import { Maybe } from './helpers';
import { stringify, parse, Stringified } from './stringify';
import {
diff --git a/frontend/src/common/helpers.ts b/frontend/src/common/helpers.ts
index a34f7ad..e89f3df 100644
--- a/frontend/src/common/helpers.ts
+++ b/frontend/src/common/helpers.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import { Milliseconds, Timestamp } from './types';
/**
diff --git a/frontend/src/common/id.ts b/frontend/src/common/id.ts
index 3ee4c30..bea2ea7 100644
--- a/frontend/src/common/id.ts
+++ b/frontend/src/common/id.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import { Opaque } from './helpers';
/**
diff --git a/frontend/src/common/index.ts b/frontend/src/common/index.ts
index 9a3e98c..55bdb46 100644
--- a/frontend/src/common/index.ts
+++ b/frontend/src/common/index.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
export * from './helpers';
export * from './id';
export * from './stringify';
diff --git a/frontend/src/common/iterators.ts b/frontend/src/common/iterators.ts
index 7509c7c..1f27baa 100644
--- a/frontend/src/common/iterators.ts
+++ b/frontend/src/common/iterators.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
export function* map(
iter: IterableIterator,
fn: (item: T) => U
diff --git a/frontend/src/common/stringify.ts b/frontend/src/common/stringify.ts
index fd6a8f9..1f6f20e 100644
--- a/frontend/src/common/stringify.ts
+++ b/frontend/src/common/stringify.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
export abstract class Stringified {
public __PHANTOM__: T;
}
diff --git a/frontend/src/common/types.ts b/frontend/src/common/types.ts
index a4ca403..c7e165e 100644
--- a/frontend/src/common/types.ts
+++ b/frontend/src/common/types.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import { Opaque, Maybe } from './helpers';
import { Id } from './id';
diff --git a/frontend/src/components/Ago.tsx b/frontend/src/components/Ago.tsx
index 4cadfd3..8e98e17 100644
--- a/frontend/src/components/Ago.tsx
+++ b/frontend/src/components/Ago.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import './Tile.css';
import { timestamp, Types } from '../common';
diff --git a/frontend/src/components/AllChains.css b/frontend/src/components/AllChains.css
index 6eab244..1ede8ae 100644
--- a/frontend/src/components/AllChains.css
+++ b/frontend/src/components/AllChains.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.AllChains {
position: fixed;
z-index: 20;
diff --git a/frontend/src/components/AllChains.tsx b/frontend/src/components/AllChains.tsx
index 0349d43..35e5f3c 100644
--- a/frontend/src/components/AllChains.tsx
+++ b/frontend/src/components/AllChains.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Connection } from '../Connection';
import { Types, Maybe } from '../common';
diff --git a/frontend/src/components/Chain/Chain.css b/frontend/src/components/Chain/Chain.css
index 067baeb..e120def 100644
--- a/frontend/src/components/Chain/Chain.css
+++ b/frontend/src/components/Chain/Chain.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Chain-content-container {
position: absolute;
left: 0;
diff --git a/frontend/src/components/Chain/Chain.tsx b/frontend/src/components/Chain/Chain.tsx
index 7052548..44a575a 100644
--- a/frontend/src/components/Chain/Chain.tsx
+++ b/frontend/src/components/Chain/Chain.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Connection } from '../../Connection';
import { Types, Maybe } from '../../common';
diff --git a/frontend/src/components/Chain/Header.css b/frontend/src/components/Chain/Header.css
index 6f07ffb..b6f0013 100644
--- a/frontend/src/components/Chain/Header.css
+++ b/frontend/src/components/Chain/Header.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Header {
width: 100%;
height: 108px;
diff --git a/frontend/src/components/Chain/Header.tsx b/frontend/src/components/Chain/Header.tsx
index 843ee62..597cb57 100644
--- a/frontend/src/components/Chain/Header.tsx
+++ b/frontend/src/components/Chain/Header.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Types, Maybe } from '../../common';
import { formatNumber, secondsWithPrecision } from '../../utils';
diff --git a/frontend/src/components/Chain/Tab.css b/frontend/src/components/Chain/Tab.css
index 73f0752..6292728 100644
--- a/frontend/src/components/Chain/Tab.css
+++ b/frontend/src/components/Chain/Tab.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Chain-Tab {
display: inline-block;
margin-right: 5px;
diff --git a/frontend/src/components/Chain/Tab.tsx b/frontend/src/components/Chain/Tab.tsx
index 2a4a8fa..33b1028 100644
--- a/frontend/src/components/Chain/Tab.tsx
+++ b/frontend/src/components/Chain/Tab.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Chain } from './';
import { Icon } from '../';
diff --git a/frontend/src/components/Chain/index.ts b/frontend/src/components/Chain/index.ts
index 0ef537f..1fdb88c 100644
--- a/frontend/src/components/Chain/index.ts
+++ b/frontend/src/components/Chain/index.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
export * from './Chain';
export * from './Tab';
export * from './Header';
diff --git a/frontend/src/components/Chains.css b/frontend/src/components/Chains.css
index 810461c..697971a 100644
--- a/frontend/src/components/Chains.css
+++ b/frontend/src/components/Chains.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Chains {
background: #e6007a;
color: #000;
diff --git a/frontend/src/components/Chains.tsx b/frontend/src/components/Chains.tsx
index deacdab..228cdd7 100644
--- a/frontend/src/components/Chains.tsx
+++ b/frontend/src/components/Chains.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Connection } from '../Connection';
import { Icon } from './Icon';
diff --git a/frontend/src/components/Consensus/Consensus.css b/frontend/src/components/Consensus/Consensus.css
index 17adacd..41cbf71 100644
--- a/frontend/src/components/Consensus/Consensus.css
+++ b/frontend/src/components/Consensus/Consensus.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Consensus .ConsensusList {
opacity: 0; /* the box should only show up once flexing has been applied */
}
diff --git a/frontend/src/components/Consensus/Consensus.tsx b/frontend/src/components/Consensus/Consensus.tsx
index 0b15b44..682962b 100644
--- a/frontend/src/components/Consensus/Consensus.tsx
+++ b/frontend/src/components/Consensus/Consensus.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Types, Maybe } from '../../common';
import { Connection } from '../../Connection';
diff --git a/frontend/src/components/Consensus/ConsensusBlock.css b/frontend/src/components/Consensus/ConsensusBlock.css
index 6b608b4..2357c0d 100644
--- a/frontend/src/components/Consensus/ConsensusBlock.css
+++ b/frontend/src/components/Consensus/ConsensusBlock.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Consensus .BlockConsensusMatrice {
background-color: #222;
font-family: monospace, sans-serif;
diff --git a/frontend/src/components/Consensus/ConsensusBlock.tsx b/frontend/src/components/Consensus/ConsensusBlock.tsx
index 45c5070..78332ae 100644
--- a/frontend/src/components/Consensus/ConsensusBlock.tsx
+++ b/frontend/src/components/Consensus/ConsensusBlock.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import Measure, { BoundingRect, ContentRect } from 'react-measure';
diff --git a/frontend/src/components/Consensus/Jdenticon.css b/frontend/src/components/Consensus/Jdenticon.css
index 0545b3d..c40961f 100644
--- a/frontend/src/components/Consensus/Jdenticon.css
+++ b/frontend/src/components/Consensus/Jdenticon.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Jdenticon {
cursor: pointer;
vertical-align: middle;
diff --git a/frontend/src/components/Consensus/Jdenticon.tsx b/frontend/src/components/Consensus/Jdenticon.tsx
index 08b8653..02c03bc 100644
--- a/frontend/src/components/Consensus/Jdenticon.tsx
+++ b/frontend/src/components/Consensus/Jdenticon.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import './Jdenticon.css';
diff --git a/frontend/src/components/Consensus/index.ts b/frontend/src/components/Consensus/index.ts
index fd17085..bdc4ed2 100644
--- a/frontend/src/components/Consensus/index.ts
+++ b/frontend/src/components/Consensus/index.ts
@@ -1,2 +1,18 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
export * from './Consensus';
export * from './ConsensusBlock';
diff --git a/frontend/src/components/Filter.css b/frontend/src/components/Filter.css
index 9623ef5..0603dd4 100644
--- a/frontend/src/components/Filter.css
+++ b/frontend/src/components/Filter.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Filter {
position: fixed;
z-index: 100;
diff --git a/frontend/src/components/Filter.tsx b/frontend/src/components/Filter.tsx
index 37e6799..fc5c15e 100644
--- a/frontend/src/components/Filter.tsx
+++ b/frontend/src/components/Filter.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Maybe } from '../common';
import { Node } from '../state';
diff --git a/frontend/src/components/Icon.css b/frontend/src/components/Icon.css
index a1402a8..510fcc2 100644
--- a/frontend/src/components/Icon.css
+++ b/frontend/src/components/Icon.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Icon {
fill: currentColor;
height: 1em;
diff --git a/frontend/src/components/Icon.tsx b/frontend/src/components/Icon.tsx
index a1371f2..4e159a6 100644
--- a/frontend/src/components/Icon.tsx
+++ b/frontend/src/components/Icon.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import './Icon.css';
import { getSVGShadowRoot, W3SVG } from '../utils';
diff --git a/frontend/src/components/List/Column/BlockHashColumn.tsx b/frontend/src/components/List/Column/BlockHashColumn.tsx
index 2b5b193..a654940 100644
--- a/frontend/src/components/List/Column/BlockHashColumn.tsx
+++ b/frontend/src/components/List/Column/BlockHashColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Maybe } from '../../../common';
import { Column } from './';
diff --git a/frontend/src/components/List/Column/BlockNumberColumn.tsx b/frontend/src/components/List/Column/BlockNumberColumn.tsx
index 043a076..7dfb45a 100644
--- a/frontend/src/components/List/Column/BlockNumberColumn.tsx
+++ b/frontend/src/components/List/Column/BlockNumberColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Column } from './';
import { Node } from '../../../state';
diff --git a/frontend/src/components/List/Column/BlockPropagationColumn.tsx b/frontend/src/components/List/Column/BlockPropagationColumn.tsx
index 49de8cc..98c4ab6 100644
--- a/frontend/src/components/List/Column/BlockPropagationColumn.tsx
+++ b/frontend/src/components/List/Column/BlockPropagationColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Maybe } from '../../../common';
import { Column } from './';
diff --git a/frontend/src/components/List/Column/BlockTimeColumn.tsx b/frontend/src/components/List/Column/BlockTimeColumn.tsx
index 8a2353e..30a46f0 100644
--- a/frontend/src/components/List/Column/BlockTimeColumn.tsx
+++ b/frontend/src/components/List/Column/BlockTimeColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Column } from './';
import { Node } from '../../../state';
diff --git a/frontend/src/components/List/Column/Column.css b/frontend/src/components/List/Column/Column.css
index a7ff76f..321e3cd 100644
--- a/frontend/src/components/List/Column/Column.css
+++ b/frontend/src/components/List/Column/Column.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Column {
text-align: left;
padding: 6px 13px;
diff --git a/frontend/src/components/List/Column/Column.tsx b/frontend/src/components/List/Column/Column.tsx
index 6d1d948..1e3de0e 100644
--- a/frontend/src/components/List/Column/Column.tsx
+++ b/frontend/src/components/List/Column/Column.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Types, Maybe, timestamp } from '../../../common';
import { Node } from '../../../state';
diff --git a/frontend/src/components/List/Column/DownloadColumn.tsx b/frontend/src/components/List/Column/DownloadColumn.tsx
index a0ce5b9..b753c6f 100644
--- a/frontend/src/components/List/Column/DownloadColumn.tsx
+++ b/frontend/src/components/List/Column/DownloadColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Types, Maybe, timestamp } from '../../../common';
import { Column, BANDWIDTH_SCALE } from './';
diff --git a/frontend/src/components/List/Column/FinalizedBlockColumn.tsx b/frontend/src/components/List/Column/FinalizedBlockColumn.tsx
index ba6db5b..1295820 100644
--- a/frontend/src/components/List/Column/FinalizedBlockColumn.tsx
+++ b/frontend/src/components/List/Column/FinalizedBlockColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Column } from './';
import { Node } from '../../../state';
diff --git a/frontend/src/components/List/Column/FinalizedHashColumn.tsx b/frontend/src/components/List/Column/FinalizedHashColumn.tsx
index 16dd245..f178d65 100644
--- a/frontend/src/components/List/Column/FinalizedHashColumn.tsx
+++ b/frontend/src/components/List/Column/FinalizedHashColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Maybe } from '../../../common';
import { Column } from './';
diff --git a/frontend/src/components/List/Column/ImplementationColumn.tsx b/frontend/src/components/List/Column/ImplementationColumn.tsx
index ef1d292..702d7c7 100644
--- a/frontend/src/components/List/Column/ImplementationColumn.tsx
+++ b/frontend/src/components/List/Column/ImplementationColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Column } from './';
import { Node } from '../../../state';
diff --git a/frontend/src/components/List/Column/LastBlockColumn.tsx b/frontend/src/components/List/Column/LastBlockColumn.tsx
index 37ffe15..172c8f2 100644
--- a/frontend/src/components/List/Column/LastBlockColumn.tsx
+++ b/frontend/src/components/List/Column/LastBlockColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Column } from './';
import { Node } from '../../../state';
diff --git a/frontend/src/components/List/Column/LocationColumn.tsx b/frontend/src/components/List/Column/LocationColumn.tsx
index 5ba77e1..14c2390 100644
--- a/frontend/src/components/List/Column/LocationColumn.tsx
+++ b/frontend/src/components/List/Column/LocationColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Maybe } from '../../../common';
import { Column } from './';
diff --git a/frontend/src/components/List/Column/NameColumn.tsx b/frontend/src/components/List/Column/NameColumn.tsx
index dce4689..01f5788 100644
--- a/frontend/src/components/List/Column/NameColumn.tsx
+++ b/frontend/src/components/List/Column/NameColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Column } from './';
import { Node } from '../../../state';
diff --git a/frontend/src/components/List/Column/NetworkIdColumn.tsx b/frontend/src/components/List/Column/NetworkIdColumn.tsx
index f339093..36344b7 100644
--- a/frontend/src/components/List/Column/NetworkIdColumn.tsx
+++ b/frontend/src/components/List/Column/NetworkIdColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Maybe } from '../../../common';
import { Column } from './';
diff --git a/frontend/src/components/List/Column/PeersColumn.tsx b/frontend/src/components/List/Column/PeersColumn.tsx
index 1ec83f1..a88531b 100644
--- a/frontend/src/components/List/Column/PeersColumn.tsx
+++ b/frontend/src/components/List/Column/PeersColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Column } from './';
import { Node } from '../../../state';
diff --git a/frontend/src/components/List/Column/StateCacheColumn.tsx b/frontend/src/components/List/Column/StateCacheColumn.tsx
index a460a8b..69e40af 100644
--- a/frontend/src/components/List/Column/StateCacheColumn.tsx
+++ b/frontend/src/components/List/Column/StateCacheColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Types, Maybe, timestamp } from '../../../common';
import { Column, BANDWIDTH_SCALE } from './';
diff --git a/frontend/src/components/List/Column/TxsColumn.tsx b/frontend/src/components/List/Column/TxsColumn.tsx
index e8d1f0e..82c021d 100644
--- a/frontend/src/components/List/Column/TxsColumn.tsx
+++ b/frontend/src/components/List/Column/TxsColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Column } from './';
import { Node } from '../../../state';
diff --git a/frontend/src/components/List/Column/UploadColumn.tsx b/frontend/src/components/List/Column/UploadColumn.tsx
index f532011..d60db64 100644
--- a/frontend/src/components/List/Column/UploadColumn.tsx
+++ b/frontend/src/components/List/Column/UploadColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Types, Maybe, timestamp } from '../../../common';
import { Column, BANDWIDTH_SCALE } from './';
diff --git a/frontend/src/components/List/Column/UptimeColumn.tsx b/frontend/src/components/List/Column/UptimeColumn.tsx
index d46d39d..0ed7fc9 100644
--- a/frontend/src/components/List/Column/UptimeColumn.tsx
+++ b/frontend/src/components/List/Column/UptimeColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Column } from './';
import { Node } from '../../../state';
diff --git a/frontend/src/components/List/Column/ValidatorColumn.tsx b/frontend/src/components/List/Column/ValidatorColumn.tsx
index e1ce963..a49823e 100644
--- a/frontend/src/components/List/Column/ValidatorColumn.tsx
+++ b/frontend/src/components/List/Column/ValidatorColumn.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Maybe } from '../../../common';
import { Column } from './';
diff --git a/frontend/src/components/List/Column/index.ts b/frontend/src/components/List/Column/index.ts
index a080871..088a19b 100644
--- a/frontend/src/components/List/Column/index.ts
+++ b/frontend/src/components/List/Column/index.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
export * from './Column';
export * from './NameColumn';
export * from './ValidatorColumn';
diff --git a/frontend/src/components/List/List.css b/frontend/src/components/List/List.css
index d34b6e1..5bf1e50 100644
--- a/frontend/src/components/List/List.css
+++ b/frontend/src/components/List/List.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.List {
/* Prevents the list from auto-scrolling while cascading node
* updates on new block, which helps with performance. */
diff --git a/frontend/src/components/List/List.tsx b/frontend/src/components/List/List.tsx
index 7c4b5c2..ea3e80e 100644
--- a/frontend/src/components/List/List.tsx
+++ b/frontend/src/components/List/List.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Types, Maybe } from '../../common';
import { Filter } from '../';
diff --git a/frontend/src/components/List/Row.css b/frontend/src/components/List/Row.css
index af5c98d..05a5cbc 100644
--- a/frontend/src/components/List/Row.css
+++ b/frontend/src/components/List/Row.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Row {
color: #b5aeae;
cursor: pointer;
diff --git a/frontend/src/components/List/Row.tsx b/frontend/src/components/List/Row.tsx
index 482f82b..3e1333e 100644
--- a/frontend/src/components/List/Row.tsx
+++ b/frontend/src/components/List/Row.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Types, Maybe } from '../../common';
import { Node } from '../../state';
diff --git a/frontend/src/components/List/THead.css b/frontend/src/components/List/THead.css
index 7e131cd..8e5063d 100644
--- a/frontend/src/components/List/THead.css
+++ b/frontend/src/components/List/THead.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.THead {
background: #393838;
}
diff --git a/frontend/src/components/List/THead.tsx b/frontend/src/components/List/THead.tsx
index edf29af..78665a2 100644
--- a/frontend/src/components/List/THead.tsx
+++ b/frontend/src/components/List/THead.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Maybe } from '../../common';
import { Column, THeadCell } from './';
diff --git a/frontend/src/components/List/THeadCell.tsx b/frontend/src/components/List/THeadCell.tsx
index 73d5cd4..f78385f 100644
--- a/frontend/src/components/List/THeadCell.tsx
+++ b/frontend/src/components/List/THeadCell.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Maybe } from '../../common';
import { Column } from './';
diff --git a/frontend/src/components/List/index.ts b/frontend/src/components/List/index.ts
index b187e98..e34ecb4 100644
--- a/frontend/src/components/List/index.ts
+++ b/frontend/src/components/List/index.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
export * from './Column';
export * from './List';
export * from './Row';
diff --git a/frontend/src/components/Map/Location.css b/frontend/src/components/Map/Location.css
index 76eb70d..0acea6b 100644
--- a/frontend/src/components/Map/Location.css
+++ b/frontend/src/components/Map/Location.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Location {
width: 6px;
height: 6px;
diff --git a/frontend/src/components/Map/Location.tsx b/frontend/src/components/Map/Location.tsx
index cb1b3a8..dec9d40 100644
--- a/frontend/src/components/Map/Location.tsx
+++ b/frontend/src/components/Map/Location.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import {
formatNumber,
diff --git a/frontend/src/components/Map/Map.css b/frontend/src/components/Map/Map.css
index 0f8b8ef..8a23946 100644
--- a/frontend/src/components/Map/Map.css
+++ b/frontend/src/components/Map/Map.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Map {
min-width: 1350px;
background: url('../../assets/world-map.svg') no-repeat;
diff --git a/frontend/src/components/Map/Map.tsx b/frontend/src/components/Map/Map.tsx
index 176605f..9bb2a33 100644
--- a/frontend/src/components/Map/Map.tsx
+++ b/frontend/src/components/Map/Map.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Types, Maybe } from '../../common';
import { Filter } from '../';
diff --git a/frontend/src/components/Map/index.ts b/frontend/src/components/Map/index.ts
index 602baea..298e6e7 100644
--- a/frontend/src/components/Map/index.ts
+++ b/frontend/src/components/Map/index.ts
@@ -1,2 +1,18 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
export * from './Map';
export * from './Location';
diff --git a/frontend/src/components/OfflineIndicator.css b/frontend/src/components/OfflineIndicator.css
index ae5ef5d..daf6d0c 100644
--- a/frontend/src/components/OfflineIndicator.css
+++ b/frontend/src/components/OfflineIndicator.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.OfflineIndicator {
position: absolute;
top: 30px;
diff --git a/frontend/src/components/OfflineIndicator.tsx b/frontend/src/components/OfflineIndicator.tsx
index 1f9431f..8fcb321 100644
--- a/frontend/src/components/OfflineIndicator.tsx
+++ b/frontend/src/components/OfflineIndicator.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import './OfflineIndicator.css';
import { Icon } from './Icon';
diff --git a/frontend/src/components/Settings/Setting.css b/frontend/src/components/Settings/Setting.css
index 8f87c81..a28afdd 100644
--- a/frontend/src/components/Settings/Setting.css
+++ b/frontend/src/components/Settings/Setting.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Setting {
color: #635f5f;
padding: 0;
diff --git a/frontend/src/components/Settings/Setting.tsx b/frontend/src/components/Settings/Setting.tsx
index 745df0c..52cb230 100644
--- a/frontend/src/components/Settings/Setting.tsx
+++ b/frontend/src/components/Settings/Setting.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Icon } from '../';
import { State } from '../../state';
diff --git a/frontend/src/components/Settings/Settings.css b/frontend/src/components/Settings/Settings.css
index 2be4b57..75d681a 100644
--- a/frontend/src/components/Settings/Settings.css
+++ b/frontend/src/components/Settings/Settings.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Settings {
text-align: center;
}
diff --git a/frontend/src/components/Settings/Settings.tsx b/frontend/src/components/Settings/Settings.tsx
index c38387f..56e82ba 100644
--- a/frontend/src/components/Settings/Settings.tsx
+++ b/frontend/src/components/Settings/Settings.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Maybe } from '../../common';
import { State as AppState } from '../../state';
diff --git a/frontend/src/components/Settings/index.ts b/frontend/src/components/Settings/index.ts
index 93d8026..20fa3d4 100644
--- a/frontend/src/components/Settings/index.ts
+++ b/frontend/src/components/Settings/index.ts
@@ -1,2 +1,18 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
export * from './Settings';
export * from './Setting';
diff --git a/frontend/src/components/Sparkline.css b/frontend/src/components/Sparkline.css
index 71f2e94..d553298 100644
--- a/frontend/src/components/Sparkline.css
+++ b/frontend/src/components/Sparkline.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Sparkline {
fill: currentcolor;
fill-opacity: 0.35;
diff --git a/frontend/src/components/Sparkline.tsx b/frontend/src/components/Sparkline.tsx
index 526fe8f..003a27c 100644
--- a/frontend/src/components/Sparkline.tsx
+++ b/frontend/src/components/Sparkline.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Types, Maybe } from '../common';
import { Tooltip } from './';
diff --git a/frontend/src/components/Tile.css b/frontend/src/components/Tile.css
index 6c5967d..9281a06 100644
--- a/frontend/src/components/Tile.css
+++ b/frontend/src/components/Tile.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Tile {
font-size: 2.5em;
text-align: left;
diff --git a/frontend/src/components/Tile.tsx b/frontend/src/components/Tile.tsx
index 9225289..873b0a7 100644
--- a/frontend/src/components/Tile.tsx
+++ b/frontend/src/components/Tile.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import './Tile.css';
import { Icon } from './Icon';
diff --git a/frontend/src/components/Tooltip.css b/frontend/src/components/Tooltip.css
index a463999..e7482e9 100644
--- a/frontend/src/components/Tooltip.css
+++ b/frontend/src/components/Tooltip.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
.Tooltip {
background: #000;
color: #fff;
diff --git a/frontend/src/components/Tooltip.tsx b/frontend/src/components/Tooltip.tsx
index e77a493..8af81a4 100644
--- a/frontend/src/components/Tooltip.tsx
+++ b/frontend/src/components/Tooltip.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Maybe } from '../common';
diff --git a/frontend/src/components/Truncate.tsx b/frontend/src/components/Truncate.tsx
index b4ad137..98c64a0 100644
--- a/frontend/src/components/Truncate.tsx
+++ b/frontend/src/components/Truncate.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
export namespace Truncate {
diff --git a/frontend/src/components/index.ts b/frontend/src/components/index.ts
index e162455..db4ab5d 100644
--- a/frontend/src/components/index.ts
+++ b/frontend/src/components/index.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
export * from './AllChains';
export * from './Chains';
export * from './Chain';
diff --git a/frontend/src/icons/assets.d.ts b/frontend/src/icons/assets.d.ts
index bff9471..93241bb 100644
--- a/frontend/src/icons/assets.d.ts
+++ b/frontend/src/icons/assets.d.ts
@@ -1 +1,17 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
declare module '*.svg';
diff --git a/frontend/src/index.css b/frontend/src/index.css
index b4cc725..ec22f5f 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -1,3 +1,21 @@
+/*
+Source code for the Substrate Telemetry Server.
+Copyright (C) 2021 Parity Technologies (UK) Ltd.
+
+This program 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.
+
+This program 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 this program. If not, see .
+*/
+
body {
margin: 0;
padding: 0;
diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx
index 04e438a..5bc3d03 100644
--- a/frontend/src/index.tsx
+++ b/frontend/src/index.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import App from './App';
diff --git a/frontend/src/persist/Persistent.ts b/frontend/src/persist/Persistent.ts
index d23b1b7..ecc0f6c 100644
--- a/frontend/src/persist/Persistent.ts
+++ b/frontend/src/persist/Persistent.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import { parse, Stringified, stringify, Maybe } from '../common';
export class Persistent {
diff --git a/frontend/src/persist/PersistentObject.ts b/frontend/src/persist/PersistentObject.ts
index 83b974f..2d05878 100644
--- a/frontend/src/persist/PersistentObject.ts
+++ b/frontend/src/persist/PersistentObject.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import { Persistent } from './';
export class PersistentObject {
diff --git a/frontend/src/persist/PersistentSet.ts b/frontend/src/persist/PersistentSet.ts
index a89a6cc..f96c320 100644
--- a/frontend/src/persist/PersistentSet.ts
+++ b/frontend/src/persist/PersistentSet.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import { Persistent } from './';
export class PersistentSet- {
diff --git a/frontend/src/persist/index.ts b/frontend/src/persist/index.ts
index 8d05b8d..a14714f 100644
--- a/frontend/src/persist/index.ts
+++ b/frontend/src/persist/index.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
export * from './Persistent';
export * from './PersistentObject';
export * from './PersistentSet';
diff --git a/frontend/src/registerServiceWorker.ts b/frontend/src/registerServiceWorker.ts
index 6855fe1..4d5fd47 100644
--- a/frontend/src/registerServiceWorker.ts
+++ b/frontend/src/registerServiceWorker.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
// tslint:disable:no-console
// In production, we register a service worker to serve assets from local cache.
diff --git a/frontend/src/state.ts b/frontend/src/state.ts
index 6eee391..ff64e62 100644
--- a/frontend/src/state.ts
+++ b/frontend/src/state.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import { Types, Maybe, SortedCollection } from './common';
import { Column } from './components/List';
diff --git a/frontend/src/utils.ts b/frontend/src/utils.ts
index faee909..8522727 100644
--- a/frontend/src/utils.ts
+++ b/frontend/src/utils.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import { Types } from './common';
export interface Viewport {
diff --git a/frontend/test/App.test.tsx b/frontend/test/App.test.tsx
index e0f09ab..fbe8620 100644
--- a/frontend/test/App.test.tsx
+++ b/frontend/test/App.test.tsx
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import App from './App';
diff --git a/frontend/test/common.spec.ts b/frontend/test/common.spec.ts
index 889ad50..55da87a 100644
--- a/frontend/test/common.spec.ts
+++ b/frontend/test/common.spec.ts
@@ -1,3 +1,19 @@
+// Source code for the Substrate Telemetry Server.
+// Copyright (C) 2021 Parity Technologies (UK) Ltd.
+//
+// This program 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.
+//
+// This program 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 this program. If not, see .
+
import * as test from 'tape';
import { sortedInsert, sortedIndexOf } from '../src/common';
test('sortedInsert', (assert) => {