From 315172063dfe29cebedb09f13812daab9b3e74ec Mon Sep 17 00:00:00 2001 From: Mathieu Baudet Date: Tue, 12 Oct 2021 16:30:59 -0700 Subject: [PATCH] fix copyright headers --- fastpay/src/bench.rs | 2 +- fastpay/src/client.rs | 2 +- fastpay/src/config.rs | 2 +- fastpay/src/lib.rs | 2 +- fastpay/src/network.rs | 2 +- fastpay/src/server.rs | 2 +- fastpay/src/transport.rs | 2 +- fastpay/src/unit_tests/transport_tests.rs | 2 +- fastpay/tests/readme.rs | 2 +- fastpay_core/src/authority.rs | 2 +- fastpay_core/src/base_types.rs | 2 +- fastpay_core/src/client.rs | 2 +- fastpay_core/src/committee.rs | 2 +- fastpay_core/src/downloader.rs | 2 +- fastpay_core/src/error.rs | 2 +- fastpay_core/src/fastpay_smart_contract.rs | 2 +- fastpay_core/src/generate_format.rs | 2 +- fastpay_core/src/lib.rs | 2 +- fastpay_core/src/messages.rs | 2 +- fastpay_core/src/serialize.rs | 2 +- fastpay_core/src/unit_tests/authority_tests.rs | 2 +- fastpay_core/src/unit_tests/base_types_tests.rs | 2 +- fastpay_core/src/unit_tests/client_tests.rs | 2 +- fastpay_core/src/unit_tests/downloader_tests.rs | 2 +- fastpay_core/src/unit_tests/fastpay_smart_contract_tests.rs | 2 +- fastpay_core/src/unit_tests/messages_tests.rs | 2 +- fastpay_core/src/unit_tests/serialize_tests.rs | 2 +- fastpay_core/tests/format.rs | 2 +- scripts/aws_plot.py | 2 +- scripts/fabfile.py | 2 +- scripts/latency.py | 2 +- scripts/latency_with_crash.py | 2 +- scripts/microbenchmark.py | 2 +- scripts/throughput.py | 2 +- 34 files changed, 34 insertions(+), 34 deletions(-) diff --git a/fastpay/src/bench.rs b/fastpay/src/bench.rs index 3b79a8d1fda48..f90c5c525afe4 100644 --- a/fastpay/src/bench.rs +++ b/fastpay/src/bench.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 #![deny(warnings)] diff --git a/fastpay/src/client.rs b/fastpay/src/client.rs index f6f9242f069d1..a41d461d6c484 100644 --- a/fastpay/src/client.rs +++ b/fastpay/src/client.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 #![deny(warnings)] diff --git a/fastpay/src/config.rs b/fastpay/src/config.rs index 2f82c49fe592d..c471dc94a4b26 100644 --- a/fastpay/src/config.rs +++ b/fastpay/src/config.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use crate::transport::NetworkProtocol; diff --git a/fastpay/src/lib.rs b/fastpay/src/lib.rs index e2aa330070f3d..f56277b64ad84 100644 --- a/fastpay/src/lib.rs +++ b/fastpay/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 #![deny(warnings)] diff --git a/fastpay/src/network.rs b/fastpay/src/network.rs index 65d9830bfe4f4..5bd6dd5da95f6 100644 --- a/fastpay/src/network.rs +++ b/fastpay/src/network.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use crate::transport::*; diff --git a/fastpay/src/server.rs b/fastpay/src/server.rs index fb5a3bf87530f..dac1635ec25d5 100644 --- a/fastpay/src/server.rs +++ b/fastpay/src/server.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 #![deny(warnings)] diff --git a/fastpay/src/transport.rs b/fastpay/src/transport.rs index 4fe40423bdeb5..1817275d7cb10 100644 --- a/fastpay/src/transport.rs +++ b/fastpay/src/transport.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use clap::arg_enum; diff --git a/fastpay/src/unit_tests/transport_tests.rs b/fastpay/src/unit_tests/transport_tests.rs index c8cea98df5d81..8bfaaa4092982 100644 --- a/fastpay/src/unit_tests/transport_tests.rs +++ b/fastpay/src/unit_tests/transport_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/fastpay/tests/readme.rs b/fastpay/tests/readme.rs index 4477920740219..0ff56c9b9e87b 100644 --- a/fastpay/tests/readme.rs +++ b/fastpay/tests/readme.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use std::{io::Write, process::Command}; diff --git a/fastpay_core/src/authority.rs b/fastpay_core/src/authority.rs index f6370dc069257..455df0d918f5c 100644 --- a/fastpay_core/src/authority.rs +++ b/fastpay_core/src/authority.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use crate::{base_types::*, committee::Committee, error::FastPayError, messages::*}; diff --git a/fastpay_core/src/base_types.rs b/fastpay_core/src/base_types.rs index 71959a86ac7bb..8267f76dbb39e 100644 --- a/fastpay_core/src/base_types.rs +++ b/fastpay_core/src/base_types.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use ed25519_dalek as dalek; diff --git a/fastpay_core/src/client.rs b/fastpay_core/src/client.rs index 494231725bd89..725fe6b686ae5 100644 --- a/fastpay_core/src/client.rs +++ b/fastpay_core/src/client.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use crate::{base_types::*, committee::Committee, downloader::*, error::FastPayError, messages::*}; diff --git a/fastpay_core/src/committee.rs b/fastpay_core/src/committee.rs index 3e53691ed8c5c..3858538021c39 100644 --- a/fastpay_core/src/committee.rs +++ b/fastpay_core/src/committee.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use super::base_types::*; diff --git a/fastpay_core/src/downloader.rs b/fastpay_core/src/downloader.rs index 666dbbab0a994..e56f47ca1a48d 100644 --- a/fastpay_core/src/downloader.rs +++ b/fastpay_core/src/downloader.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use futures::{ diff --git a/fastpay_core/src/error.rs b/fastpay_core/src/error.rs index 159c953d8521d..ae2415529410e 100644 --- a/fastpay_core/src/error.rs +++ b/fastpay_core/src/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use crate::{base_types::*, messages::*}; diff --git a/fastpay_core/src/fastpay_smart_contract.rs b/fastpay_core/src/fastpay_smart_contract.rs index 4e31aefdccabb..af7bb2dad6f65 100644 --- a/fastpay_core/src/fastpay_smart_contract.rs +++ b/fastpay_core/src/fastpay_smart_contract.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use super::{base_types::*, committee::Committee, messages::*}; diff --git a/fastpay_core/src/generate_format.rs b/fastpay_core/src/generate_format.rs index ae8ca3f1ea46a..ef0885447f631 100644 --- a/fastpay_core/src/generate_format.rs +++ b/fastpay_core/src/generate_format.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use fastpay_core::{error, messages, serialize}; diff --git a/fastpay_core/src/lib.rs b/fastpay_core/src/lib.rs index fc8526ddade4e..a628f994a49cb 100644 --- a/fastpay_core/src/lib.rs +++ b/fastpay_core/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 #![deny(warnings)] diff --git a/fastpay_core/src/messages.rs b/fastpay_core/src/messages.rs index 19a53609d5136..7bfddd4ce3c1f 100644 --- a/fastpay_core/src/messages.rs +++ b/fastpay_core/src/messages.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use super::{base_types::*, committee::Committee, error::*}; diff --git a/fastpay_core/src/serialize.rs b/fastpay_core/src/serialize.rs index f1a5e8c710472..e7cb7d097a156 100644 --- a/fastpay_core/src/serialize.rs +++ b/fastpay_core/src/serialize.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use super::messages::*; diff --git a/fastpay_core/src/unit_tests/authority_tests.rs b/fastpay_core/src/unit_tests/authority_tests.rs index e1ede3da1f347..e521279489a1e 100644 --- a/fastpay_core/src/unit_tests/authority_tests.rs +++ b/fastpay_core/src/unit_tests/authority_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/fastpay_core/src/unit_tests/base_types_tests.rs b/fastpay_core/src/unit_tests/base_types_tests.rs index 947dca1a6f24b..7d61eba98ae08 100644 --- a/fastpay_core/src/unit_tests/base_types_tests.rs +++ b/fastpay_core/src/unit_tests/base_types_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 #![allow(clippy::blacklisted_name)] diff --git a/fastpay_core/src/unit_tests/client_tests.rs b/fastpay_core/src/unit_tests/client_tests.rs index 5f81f5230b211..7f83b6e742bbd 100644 --- a/fastpay_core/src/unit_tests/client_tests.rs +++ b/fastpay_core/src/unit_tests/client_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 #![allow(clippy::same_item_push)] // get_key_pair returns random elements diff --git a/fastpay_core/src/unit_tests/downloader_tests.rs b/fastpay_core/src/unit_tests/downloader_tests.rs index 51a9277a23283..5f3f2bfc4f5c8 100644 --- a/fastpay_core/src/unit_tests/downloader_tests.rs +++ b/fastpay_core/src/unit_tests/downloader_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/fastpay_core/src/unit_tests/fastpay_smart_contract_tests.rs b/fastpay_core/src/unit_tests/fastpay_smart_contract_tests.rs index 66e49ab9d9617..1e0103d2ec889 100644 --- a/fastpay_core/src/unit_tests/fastpay_smart_contract_tests.rs +++ b/fastpay_core/src/unit_tests/fastpay_smart_contract_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/fastpay_core/src/unit_tests/messages_tests.rs b/fastpay_core/src/unit_tests/messages_tests.rs index 4895a8a327de8..9e33ccdd098ba 100644 --- a/fastpay_core/src/unit_tests/messages_tests.rs +++ b/fastpay_core/src/unit_tests/messages_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/fastpay_core/src/unit_tests/serialize_tests.rs b/fastpay_core/src/unit_tests/serialize_tests.rs index 585b4aaeb564e..7760169c2ac28 100644 --- a/fastpay_core/src/unit_tests/serialize_tests.rs +++ b/fastpay_core/src/unit_tests/serialize_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 #![allow(clippy::same_item_push)] // get_key_pair returns random elements diff --git a/fastpay_core/tests/format.rs b/fastpay_core/tests/format.rs index e5e175dfcbc22..26b8d1437fce3 100644 --- a/fastpay_core/tests/format.rs +++ b/fastpay_core/tests/format.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook Inc. +// Copyright (c) Facebook, Inc. and its affiliates. // SPDX-License-Identifier: Apache-2.0 #[test] diff --git a/scripts/aws_plot.py b/scripts/aws_plot.py index 6f139d3050970..7529bdb3e7fa4 100644 --- a/scripts/aws_plot.py +++ b/scripts/aws_plot.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook Inc. +# Copyright (c) Facebook, Inc. and its affiliates. # SPDX-License-Identifier: Apache-2.0 """ diff --git a/scripts/fabfile.py b/scripts/fabfile.py index 2967d1f531c8b..25f81e156591f 100644 --- a/scripts/fabfile.py +++ b/scripts/fabfile.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook Inc. +# Copyright (c) Facebook, Inc. and its affiliates. # SPDX-License-Identifier: Apache-2.0 """ diff --git a/scripts/latency.py b/scripts/latency.py index 6f15cbbd134a9..5cf33c87d45e4 100644 --- a/scripts/latency.py +++ b/scripts/latency.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook Inc. +# Copyright (c) Facebook, Inc. and its affiliates. # SPDX-License-Identifier: Apache-2.0 import numpy as np diff --git a/scripts/latency_with_crash.py b/scripts/latency_with_crash.py index a252323b51110..1c130e7eff54d 100644 --- a/scripts/latency_with_crash.py +++ b/scripts/latency_with_crash.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook Inc. +# Copyright (c) Facebook, Inc. and its affiliates. # SPDX-License-Identifier: Apache-2.0 import numpy as np diff --git a/scripts/microbenchmark.py b/scripts/microbenchmark.py index 8b404e881a383..23a0fd76850cc 100644 --- a/scripts/microbenchmark.py +++ b/scripts/microbenchmark.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook Inc. +# Copyright (c) Facebook, Inc. and its affiliates. # SPDX-License-Identifier: Apache-2.0 import numpy as np diff --git a/scripts/throughput.py b/scripts/throughput.py index 22d74f7838fb2..6e13dad73b111 100644 --- a/scripts/throughput.py +++ b/scripts/throughput.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook Inc. +# Copyright (c) Facebook, Inc. and its affiliates. # SPDX-License-Identifier: Apache-2.0 import numpy as np