This is an automated email from the ASF dual-hosted git repository.

junchao pushed a commit to branch apache_check
in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb.git

commit 0bf5e2d4b9bd18899a63646850d85b31ead9f592
Author: Ubuntu <[email protected]>
AuthorDate: Sat May 4 14:24:24 2024 +0000

    add license
---
 .licenserc.yaml                                    | 18 ++++++++++
 BUILD.bazel                                        | 19 ++++++++++
 api/BUILD                                          | 21 +++++++++++-
 api/kv_operation.py                                | 19 ++++++++++
 api/pybind_kv_service.cpp                          | 19 ++++++++++
 benchmark/protocols/pbft/BUILD                     | 21 +++++++++++-
 benchmark/protocols/poe/BUILD                      | 21 +++++++++++-
 chain/state/BUILD                                  | 21 +++++++++++-
 chain/storage/BUILD                                | 21 +++++++++++-
 chain/storage/proto/BUILD                          | 21 +++++++++++-
 chain/storage/proto/kv.proto                       | 19 ++++++++++
 chain/storage/proto/leveldb_config.proto           | 19 ++++++++++
 chain/storage/proto/rocksdb_config.proto           | 19 ++++++++++
 chain/storage/setting/BUILD                        | 21 +++++++++++-
 common/BUILD                                       | 21 +++++++++++-
 common/crypto/BUILD                                | 19 ++++++++++
 common/proto/BUILD                                 | 21 +++++++++++-
 common/proto/signature_info.proto                  | 19 ++++++++++
 common/test/BUILD                                  | 40 +++++++++-------------
 common/utils/BUILD                                 | 21 +++++++++++-
 executor/common/BUILD                              | 21 +++++++++++-
 executor/contract/executor/BUILD                   | 21 +++++++++++-
 executor/contract/executor/test_data/BUILD         | 21 +++++++++++-
 executor/contract/manager/BUILD                    | 21 +++++++++++-
 executor/contract/manager/test_data/BUILD          | 21 +++++++++++-
 executor/kv/BUILD                                  | 21 +++++++++++-
 executor/utxo/executor/BUILD                       | 21 +++++++++++-
 executor/utxo/manager/BUILD                        | 21 +++++++++++-
 interface/common/BUILD                             | 21 +++++++++++-
 interface/contract/BUILD                           | 21 +++++++++++-
 interface/kv/BUILD                                 | 21 +++++++++++-
 interface/rdbc/BUILD                               | 21 +++++++++++-
 interface/utxo/BUILD                               | 21 +++++++++++-
 platform/common/data_comm/BUILD                    | 21 +++++++++++-
 platform/common/network/BUILD                      | 21 +++++++++++-
 platform/common/queue/BUILD                        | 21 +++++++++++-
 platform/config/BUILD                              | 21 +++++++++++-
 platform/consensus/checkpoint/BUILD                | 21 +++++++++++-
 platform/consensus/execution/BUILD                 | 21 +++++++++++-
 platform/consensus/ordering/common/BUILD           | 21 +++++++++++-
 platform/consensus/ordering/common/algorithm/BUILD | 21 +++++++++++-
 platform/consensus/ordering/common/framework/BUILD | 21 +++++++++++-
 platform/consensus/ordering/geo_pbft/BUILD         | 21 +++++++++++-
 platform/consensus/ordering/pbft/BUILD             | 21 +++++++++++-
 platform/consensus/ordering/poe/algorithm/BUILD    | 21 +++++++++++-
 platform/consensus/ordering/poe/framework/BUILD    | 21 +++++++++++-
 platform/consensus/ordering/poe/proto/BUILD        | 21 +++++++++++-
 .../consensus/ordering/poe/proto/proposal.proto    | 18 ++++++++++
 platform/consensus/recovery/BUILD                  | 21 +++++++++++-
 platform/networkstrate/BUILD                       | 21 +++++++++++-
 platform/proto/BUILD                               | 21 +++++++++++-
 platform/proto/broadcast.proto                     | 19 ++++++++++
 platform/proto/checkpoint_info.proto               | 19 ++++++++++
 platform/proto/client_test.proto                   | 19 ++++++++++
 platform/proto/logging.proto                       | 19 ++++++++++
 platform/proto/network_type.proto                  | 19 ++++++++++
 platform/proto/replica_info.proto                  | 19 ++++++++++
 platform/proto/resdb.proto                         | 19 ++++++++++
 platform/proto/system_info_data.proto              | 19 ++++++++++
 platform/proto/viewchange_message.proto            | 19 ++++++++++
 platform/rdbc/BUILD                                | 21 +++++++++++-
 platform/statistic/BUILD                           | 21 +++++++++++-
 platform/test/BUILD                                | 19 ++++++++++
 platform/test/proto/BUILD                          | 20 +++++++++++
 platform/test/proto/resdb_test.proto               | 19 ++++++++++
 platform/test/resdb_test.cpp                       | 18 ++++++++++
 platform/test/test_data/BUILD                      | 19 ++++++++++
 proto/contract/BUILD                               | 19 ++++++++++
 proto/contract/account.proto                       | 19 ++++++++++
 proto/contract/contract.proto                      | 19 ++++++++++
 proto/contract/func_params.proto                   | 19 ++++++++++
 proto/contract/rpc.proto                           | 19 ++++++++++
 proto/kv/BUILD                                     | 19 ++++++++++
 proto/kv/kv.proto                                  | 19 ++++++++++
 proto/utxo/BUILD                                   | 19 ++++++++++
 proto/utxo/config.proto                            | 19 ++++++++++
 proto/utxo/rpc.proto                               | 19 ++++++++++
 proto/utxo/utxo.proto                              | 19 ++++++++++
 service/contract/BUILD                             | 18 ++++++++++
 service/kv/BUILD                                   | 19 ++++++++++
 service/tools/contract/api_tools/BUILD             | 19 ++++++++++
 service/tools/kv/api_tools/BUILD                   | 19 ++++++++++
 service/tools/utxo/wallet_tool/cpp/BUILD           | 19 ++++++++++
 service/tools/utxo/wallet_tool/py/BUILD            | 19 ++++++++++
 service/tools/utxo/wallet_tool/pybind/BUILD        | 19 ++++++++++
 service/tools/utxo/wallet_tool/test/BUILD          | 19 ++++++++++
 service/utils/BUILD                                | 20 +++++++++++
 service/utxo/BUILD                                 | 19 ++++++++++
 third_party/BUILD                                  | 19 ++++++++++
 tools/BUILD                                        | 19 ++++++++++
 90 files changed, 1748 insertions(+), 65 deletions(-)

diff --git a/.licenserc.yaml b/.licenserc.yaml
index b8328c2b..b2d7d9c1 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -10,6 +10,24 @@ header:
     - 'LICENSE'
     - 'NOTICE'
     - '.*'
+    - '.**/**'
+    - '**/*.conf'
+    - '**/*.config'
+    - 'src/index.js'
+    - '**/*.json'
+    - '**/*.sol'
+    - '**/*.yaml'
+    - '**/*.css'
+    - '**/*.yml'
+    - 'repositories.bzl'
+    - 'documents/**'
+    - 'CNAME'
+    - 'DISCLAIMER'
+    - 'Docker/**'
+    - 'WORKSPACE'
+    - 'skywalking-eyes/**'
+    - 'third-party/*.BUILD'
+
 
   comment: on-failure
 
diff --git a/BUILD.bazel b/BUILD.bazel
index ef108781..a2966540 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 load("@rules_foreign_cc//foreign_cc:defs.bzl", "make")
diff --git a/api/BUILD b/api/BUILD
index 93b83cdf..3cbaa622 100644
--- a/api/BUILD
+++ b/api/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_binary(
     name = "pybind_kv.so",
diff --git a/api/kv_operation.py b/api/kv_operation.py
index c100962e..f18c8460 100644
--- a/api/kv_operation.py
+++ b/api/kv_operation.py
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 import os
 import sys
 current_file_path = os.path.abspath(__file__)
diff --git a/api/pybind_kv_service.cpp b/api/pybind_kv_service.cpp
index 40073d66..013683fb 100644
--- a/api/pybind_kv_service.cpp
+++ b/api/pybind_kv_service.cpp
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #include <fcntl.h>
 #include <getopt.h>
 #include <pybind11/pybind11.h>
diff --git a/benchmark/protocols/pbft/BUILD b/benchmark/protocols/pbft/BUILD
index 659280d9..1a989583 100644
--- a/benchmark/protocols/pbft/BUILD
+++ b/benchmark/protocols/pbft/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:private"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:private"])
 
 load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
 
diff --git a/benchmark/protocols/poe/BUILD b/benchmark/protocols/poe/BUILD
index f63f6fb8..2656472c 100644
--- a/benchmark/protocols/poe/BUILD
+++ b/benchmark/protocols/poe/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:private"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:private"])
 
 load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
 
diff --git a/chain/state/BUILD b/chain/state/BUILD
index 5bd5d118..245faa8c 100644
--- a/chain/state/BUILD
+++ b/chain/state/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "chain_state",
diff --git a/chain/storage/BUILD b/chain/storage/BUILD
index 57904291..1be1b5a3 100644
--- a/chain/storage/BUILD
+++ b/chain/storage/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "storage",
diff --git a/chain/storage/proto/BUILD b/chain/storage/proto/BUILD
index 1dea24a1..4ca69873 100644
--- a/chain/storage/proto/BUILD
+++ b/chain/storage/proto/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
 load("@rules_proto//proto:defs.bzl", "proto_library")
diff --git a/chain/storage/proto/kv.proto b/chain/storage/proto/kv.proto
index bb2e8945..8466b8dc 100644
--- a/chain/storage/proto/kv.proto
+++ b/chain/storage/proto/kv.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb.storage;
diff --git a/chain/storage/proto/leveldb_config.proto 
b/chain/storage/proto/leveldb_config.proto
index 572b4a08..d8be2519 100644
--- a/chain/storage/proto/leveldb_config.proto
+++ b/chain/storage/proto/leveldb_config.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb.storage;
diff --git a/chain/storage/proto/rocksdb_config.proto 
b/chain/storage/proto/rocksdb_config.proto
index a1a45396..bb03566c 100644
--- a/chain/storage/proto/rocksdb_config.proto
+++ b/chain/storage/proto/rocksdb_config.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb.storage;
diff --git a/chain/storage/setting/BUILD b/chain/storage/setting/BUILD
index e7f33e35..be110d15 100644
--- a/chain/storage/setting/BUILD
+++ b/chain/storage/setting/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
 
diff --git a/common/BUILD b/common/BUILD
index 4e6a18aa..88a2016f 100644
--- a/common/BUILD
+++ b/common/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "absl",
diff --git a/common/crypto/BUILD b/common/crypto/BUILD
index 1b7dbebe..1fbf72bb 100644
--- a/common/crypto/BUILD
+++ b/common/crypto/BUILD
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/common/proto/BUILD b/common/proto/BUILD
index d6647a53..46c09066 100644
--- a/common/proto/BUILD
+++ b/common/proto/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
 load("@rules_proto//proto:defs.bzl", "proto_library")
diff --git a/common/proto/signature_info.proto 
b/common/proto/signature_info.proto
index 607fe4ac..cc1cfc42 100644
--- a/common/proto/signature_info.proto
+++ b/common/proto/signature_info.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/common/test/BUILD b/common/test/BUILD
index c7470298..f0ba29c6 100644
--- a/common/test/BUILD
+++ b/common/test/BUILD
@@ -1,27 +1,21 @@
 #
-# Copyright (c) 2019-2022 ExpoLab, UC Davis
-#
-# Permission is hereby granted, free of charge, to any person
-# obtaining a copy of this software and associated documentation
-# files (the "Software"), to deal in the Software without
-# restriction, including without limitation the rights to use,
-# copy, modify, merge, publish, distribute, sublicense, and/or
-# sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be
-# included in all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-#
-#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
 
 package(default_visibility = ["//visibility:public"])
 
diff --git a/common/utils/BUILD b/common/utils/BUILD
index 3f6d1d06..db97c375 100644
--- a/common/utils/BUILD
+++ b/common/utils/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "utils",
diff --git a/executor/common/BUILD b/executor/common/BUILD
index 0e0d8ee5..e38bc89d 100644
--- a/executor/common/BUILD
+++ b/executor/common/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "transaction_manager",
diff --git a/executor/contract/executor/BUILD b/executor/contract/executor/BUILD
index d93b372b..c703d369 100644
--- a/executor/contract/executor/BUILD
+++ b/executor/contract/executor/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "contract_executor",
diff --git a/executor/contract/executor/test_data/BUILD 
b/executor/contract/executor/test_data/BUILD
index 65e3dc3d..3aa56de0 100644
--- a/executor/contract/executor/test_data/BUILD
+++ b/executor/contract/executor/test_data/BUILD
@@ -1 +1,20 @@
-exports_files(["contract.json"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ exports_files(["contract.json"])
diff --git a/executor/contract/manager/BUILD b/executor/contract/manager/BUILD
index 17d9d709..f103a112 100644
--- a/executor/contract/manager/BUILD
+++ b/executor/contract/manager/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "utils",
diff --git a/executor/contract/manager/test_data/BUILD 
b/executor/contract/manager/test_data/BUILD
index 65e3dc3d..3aa56de0 100644
--- a/executor/contract/manager/test_data/BUILD
+++ b/executor/contract/manager/test_data/BUILD
@@ -1 +1,20 @@
-exports_files(["contract.json"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ exports_files(["contract.json"])
diff --git a/executor/kv/BUILD b/executor/kv/BUILD
index 85a5e216..9b4172a4 100644
--- a/executor/kv/BUILD
+++ b/executor/kv/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
 
diff --git a/executor/utxo/executor/BUILD b/executor/utxo/executor/BUILD
index 013e4ad6..5258e820 100644
--- a/executor/utxo/executor/BUILD
+++ b/executor/utxo/executor/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "utxo_executor",
diff --git a/executor/utxo/manager/BUILD b/executor/utxo/manager/BUILD
index 13958c40..da010bad 100644
--- a/executor/utxo/manager/BUILD
+++ b/executor/utxo/manager/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//executor/utxo:__subpackages__"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//executor/utxo:__subpackages__"])
 
 cc_library(
     name = "tx_mempool",
diff --git a/interface/common/BUILD b/interface/common/BUILD
index e5765e1e..24c15123 100644
--- a/interface/common/BUILD
+++ b/interface/common/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "resdb_state_accessor",
diff --git a/interface/contract/BUILD b/interface/contract/BUILD
index f31924fb..4cfb7de9 100644
--- a/interface/contract/BUILD
+++ b/interface/contract/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "contract_client",
diff --git a/interface/kv/BUILD b/interface/kv/BUILD
index 2acf3636..559240af 100644
--- a/interface/kv/BUILD
+++ b/interface/kv/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "kv_client",
diff --git a/interface/rdbc/BUILD b/interface/rdbc/BUILD
index b1137dbf..83f1ea80 100644
--- a/interface/rdbc/BUILD
+++ b/interface/rdbc/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "net_channel",
diff --git a/interface/utxo/BUILD b/interface/utxo/BUILD
index 7079e644..25cc02c9 100644
--- a/interface/utxo/BUILD
+++ b/interface/utxo/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "utxo_client",
diff --git a/platform/common/data_comm/BUILD b/platform/common/data_comm/BUILD
index 2d887a0f..89b24545 100644
--- a/platform/common/data_comm/BUILD
+++ b/platform/common/data_comm/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "data_comm",
diff --git a/platform/common/network/BUILD b/platform/common/network/BUILD
index 0545051d..08bdcc10 100644
--- a/platform/common/network/BUILD
+++ b/platform/common/network/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "socket",
diff --git a/platform/common/queue/BUILD b/platform/common/queue/BUILD
index de2759ba..b0d77629 100644
--- a/platform/common/queue/BUILD
+++ b/platform/common/queue/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "blocking_queue",
diff --git a/platform/config/BUILD b/platform/config/BUILD
index 85b029d5..1a9831de 100644
--- a/platform/config/BUILD
+++ b/platform/config/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 cc_library(
     name = "resdb_config",
diff --git a/platform/consensus/checkpoint/BUILD 
b/platform/consensus/checkpoint/BUILD
index 2f107761..08e1c265 100644
--- a/platform/consensus/checkpoint/BUILD
+++ b/platform/consensus/checkpoint/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//platform/consensus:__subpackages__"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//platform/consensus:__subpackages__"])
 
 cc_library(
     name = "checkpoint",
diff --git a/platform/consensus/execution/BUILD 
b/platform/consensus/execution/BUILD
index 64a61d96..c2b1e3f2 100644
--- a/platform/consensus/execution/BUILD
+++ b/platform/consensus/execution/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//platform/consensus:__subpackages__"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//platform/consensus:__subpackages__"])
 
 cc_library(
     name = "system_info",
diff --git a/platform/consensus/ordering/common/BUILD 
b/platform/consensus/ordering/common/BUILD
index 8a581e54..7df81996 100644
--- a/platform/consensus/ordering/common/BUILD
+++ b/platform/consensus/ordering/common/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//platform:__subpackages__"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//platform:__subpackages__"])
 
 cc_library(
     name = "transaction_utils",
diff --git a/platform/consensus/ordering/common/algorithm/BUILD 
b/platform/consensus/ordering/common/algorithm/BUILD
index 1ba4e6fa..db52ff0e 100644
--- a/platform/consensus/ordering/common/algorithm/BUILD
+++ b/platform/consensus/ordering/common/algorithm/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//platform/consensus/ordering:__subpackages__"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = 
["//platform/consensus/ordering:__subpackages__"])
 
 cc_library(
     name = "protocol_base",
diff --git a/platform/consensus/ordering/common/framework/BUILD 
b/platform/consensus/ordering/common/framework/BUILD
index e4a5382d..43dffcc7 100644
--- a/platform/consensus/ordering/common/framework/BUILD
+++ b/platform/consensus/ordering/common/framework/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//platform/consensus/ordering:__subpackages__"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = 
["//platform/consensus/ordering:__subpackages__"])
 
 cc_library(
     name = "consensus",
diff --git a/platform/consensus/ordering/geo_pbft/BUILD 
b/platform/consensus/ordering/geo_pbft/BUILD
index 652c9d20..2aeac6c5 100644
--- a/platform/consensus/ordering/geo_pbft/BUILD
+++ b/platform/consensus/ordering/geo_pbft/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:private"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:private"])
 
 cc_library(
     name = "consensus_manager_geo_pbft",
diff --git a/platform/consensus/ordering/pbft/BUILD 
b/platform/consensus/ordering/pbft/BUILD
index a1bf1755..cfe1a362 100644
--- a/platform/consensus/ordering/pbft/BUILD
+++ b/platform/consensus/ordering/pbft/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:private"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:private"])
 
 cc_library(
     name = "lock_free_collector_pool",
diff --git a/platform/consensus/ordering/poe/algorithm/BUILD 
b/platform/consensus/ordering/poe/algorithm/BUILD
index 335cbca0..d0b15b94 100644
--- a/platform/consensus/ordering/poe/algorithm/BUILD
+++ b/platform/consensus/ordering/poe/algorithm/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = 
["//platform/consensus/ordering/poe:__subpackages__"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = 
["//platform/consensus/ordering/poe:__subpackages__"])
 
 cc_library(
     name = "poe",
diff --git a/platform/consensus/ordering/poe/framework/BUILD 
b/platform/consensus/ordering/poe/framework/BUILD
index 833a121b..1d570b1d 100644
--- a/platform/consensus/ordering/poe/framework/BUILD
+++ b/platform/consensus/ordering/poe/framework/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:private"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:private"])
 
 cc_library(
     name = "consensus",
diff --git a/platform/consensus/ordering/poe/proto/BUILD 
b/platform/consensus/ordering/poe/proto/BUILD
index 8088db09..0da82c0d 100644
--- a/platform/consensus/ordering/poe/proto/BUILD
+++ b/platform/consensus/ordering/poe/proto/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = 
["//platform/consensus/ordering/poe:__subpackages__"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = 
["//platform/consensus/ordering/poe:__subpackages__"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
 load("@rules_proto//proto:defs.bzl", "proto_library")
diff --git a/platform/consensus/ordering/poe/proto/proposal.proto 
b/platform/consensus/ordering/poe/proto/proposal.proto
index 8302752a..4f8124d4 100644
--- a/platform/consensus/ordering/poe/proto/proposal.proto
+++ b/platform/consensus/ordering/poe/proto/proposal.proto
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 
 syntax = "proto3";
 
diff --git a/platform/consensus/recovery/BUILD 
b/platform/consensus/recovery/BUILD
index 8426a64b..1e5b51dc 100644
--- a/platform/consensus/recovery/BUILD
+++ b/platform/consensus/recovery/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//platform/consensus:__subpackages__"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//platform/consensus:__subpackages__"])
 
 cc_library(
     name = "recovery",
diff --git a/platform/networkstrate/BUILD b/platform/networkstrate/BUILD
index a44b75b1..71178089 100644
--- a/platform/networkstrate/BUILD
+++ b/platform/networkstrate/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//platform:__subpackages__"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//platform:__subpackages__"])
 
 cc_library(
     name = "server_comm",
diff --git a/platform/proto/BUILD b/platform/proto/BUILD
index c19b351c..e859a626 100644
--- a/platform/proto/BUILD
+++ b/platform/proto/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//visibility:public"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//visibility:public"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
 load("@rules_proto//proto:defs.bzl", "proto_library")
diff --git a/platform/proto/broadcast.proto b/platform/proto/broadcast.proto
index 3f50416e..3b2d9fbd 100644
--- a/platform/proto/broadcast.proto
+++ b/platform/proto/broadcast.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 message BroadcastData {
diff --git a/platform/proto/checkpoint_info.proto 
b/platform/proto/checkpoint_info.proto
index dec6733d..6d4de8ae 100644
--- a/platform/proto/checkpoint_info.proto
+++ b/platform/proto/checkpoint_info.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 import "common/proto/signature_info.proto";
diff --git a/platform/proto/client_test.proto b/platform/proto/client_test.proto
index 08a83b4e..be16d37e 100644
--- a/platform/proto/client_test.proto
+++ b/platform/proto/client_test.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/platform/proto/logging.proto b/platform/proto/logging.proto
index 1963b603..4908c276 100644
--- a/platform/proto/logging.proto
+++ b/platform/proto/logging.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/platform/proto/network_type.proto 
b/platform/proto/network_type.proto
index 86ac773d..66940704 100644
--- a/platform/proto/network_type.proto
+++ b/platform/proto/network_type.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/platform/proto/replica_info.proto 
b/platform/proto/replica_info.proto
index 658bf532..5df8ec1c 100644
--- a/platform/proto/replica_info.proto
+++ b/platform/proto/replica_info.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/platform/proto/resdb.proto b/platform/proto/resdb.proto
index 0efea6bf..ac60498a 100644
--- a/platform/proto/resdb.proto
+++ b/platform/proto/resdb.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 import "platform/proto/replica_info.proto";
diff --git a/platform/proto/system_info_data.proto 
b/platform/proto/system_info_data.proto
index a8452f6b..9ae67788 100644
--- a/platform/proto/system_info_data.proto
+++ b/platform/proto/system_info_data.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/platform/proto/viewchange_message.proto 
b/platform/proto/viewchange_message.proto
index cd0a8056..70827e0d 100644
--- a/platform/proto/viewchange_message.proto
+++ b/platform/proto/viewchange_message.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 import "platform/proto/resdb.proto";
diff --git a/platform/rdbc/BUILD b/platform/rdbc/BUILD
index dce5f250..5e9b32dd 100644
--- a/platform/rdbc/BUILD
+++ b/platform/rdbc/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = ["//platform:__subpackages__"])
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = ["//platform:__subpackages__"])
 
 cc_library(
     name = "acceptor",
diff --git a/platform/statistic/BUILD b/platform/statistic/BUILD
index a0618d3d..b6bf1b59 100644
--- a/platform/statistic/BUILD
+++ b/platform/statistic/BUILD
@@ -1,4 +1,23 @@
-package(default_visibility = [
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+ package(default_visibility = [
     "//platform:__subpackages__",
     "//service:__subpackages__",
 ])
diff --git a/platform/test/BUILD b/platform/test/BUILD
index 33c9fa26..19df81fb 100644
--- a/platform/test/BUILD
+++ b/platform/test/BUILD
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 package(default_visibility = ["//visibility:private"])
 
 cc_test(
diff --git a/platform/test/proto/BUILD b/platform/test/proto/BUILD
index 0b33cd00..4cc185c2 100644
--- a/platform/test/proto/BUILD
+++ b/platform/test/proto/BUILD
@@ -1,3 +1,23 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+
 package(default_visibility = ["//platform/test:__pkg__"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
diff --git a/platform/test/proto/resdb_test.proto 
b/platform/test/proto/resdb_test.proto
index bc09053e..4537ddd0 100644
--- a/platform/test/proto/resdb_test.proto
+++ b/platform/test/proto/resdb_test.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/platform/test/resdb_test.cpp b/platform/test/resdb_test.cpp
index 87b48d01..fca03a15 100644
--- a/platform/test/resdb_test.cpp
+++ b/platform/test/resdb_test.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 
 #include <glog/logging.h>
 #include <gmock/gmock.h>
diff --git a/platform/test/test_data/BUILD b/platform/test/test_data/BUILD
index 68bd5b95..ba9c4dfe 100644
--- a/platform/test/test_data/BUILD
+++ b/platform/test/test_data/BUILD
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 package(default_visibility = ["//platform/test:__pkg__"])
 
 filegroup(
diff --git a/proto/contract/BUILD b/proto/contract/BUILD
index 0b094362..81b31034 100644
--- a/proto/contract/BUILD
+++ b/proto/contract/BUILD
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 package(default_visibility = ["//visibility:public"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
diff --git a/proto/contract/account.proto b/proto/contract/account.proto
index e98e0364..9dd8964f 100644
--- a/proto/contract/account.proto
+++ b/proto/contract/account.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb.contract;
diff --git a/proto/contract/contract.proto b/proto/contract/contract.proto
index b226ed81..fd595dd9 100644
--- a/proto/contract/contract.proto
+++ b/proto/contract/contract.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb.contract;
diff --git a/proto/contract/func_params.proto b/proto/contract/func_params.proto
index d1a9ca1c..67310482 100644
--- a/proto/contract/func_params.proto
+++ b/proto/contract/func_params.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb.contract;
diff --git a/proto/contract/rpc.proto b/proto/contract/rpc.proto
index 1e2e4982..8939fdef 100644
--- a/proto/contract/rpc.proto
+++ b/proto/contract/rpc.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb.contract;
diff --git a/proto/kv/BUILD b/proto/kv/BUILD
index 8c4098b3..38e67347 100644
--- a/proto/kv/BUILD
+++ b/proto/kv/BUILD
@@ -1,3 +1,22 @@
+
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
 package(default_visibility = ["//visibility:public"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
diff --git a/proto/kv/kv.proto b/proto/kv/kv.proto
index f07523fe..a76c2f48 100644
--- a/proto/kv/kv.proto
+++ b/proto/kv/kv.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/proto/utxo/BUILD b/proto/utxo/BUILD
index cf9f2823..fa033f5c 100644
--- a/proto/utxo/BUILD
+++ b/proto/utxo/BUILD
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 package(default_visibility = ["//visibility:public"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
diff --git a/proto/utxo/config.proto b/proto/utxo/config.proto
index b0901021..227efcda 100644
--- a/proto/utxo/config.proto
+++ b/proto/utxo/config.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb.utxo;
diff --git a/proto/utxo/rpc.proto b/proto/utxo/rpc.proto
index 3713da46..add8f872 100644
--- a/proto/utxo/rpc.proto
+++ b/proto/utxo/rpc.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb.utxo;
diff --git a/proto/utxo/utxo.proto b/proto/utxo/utxo.proto
index 4fd41790..63137fc0 100644
--- a/proto/utxo/utxo.proto
+++ b/proto/utxo/utxo.proto
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 syntax = "proto3";
 
 package resdb.utxo;
diff --git a/service/contract/BUILD b/service/contract/BUILD
index d19f5a6b..1e423797 100644
--- a/service/contract/BUILD
+++ b/service/contract/BUILD
@@ -1,3 +1,21 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
 package(default_visibility = ["//visibility:public"])
 
 cc_binary(
diff --git a/service/kv/BUILD b/service/kv/BUILD
index 56b45ae1..94e26066 100644
--- a/service/kv/BUILD
+++ b/service/kv/BUILD
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 package(default_visibility = ["//visibility:private"])
 
 load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
diff --git a/service/tools/contract/api_tools/BUILD 
b/service/tools/contract/api_tools/BUILD
index c9c4b1d0..eb4bd0d6 100644
--- a/service/tools/contract/api_tools/BUILD
+++ b/service/tools/contract/api_tools/BUILD
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 package(default_visibility = ["//visibility:public"])
 
 cc_binary(
diff --git a/service/tools/kv/api_tools/BUILD b/service/tools/kv/api_tools/BUILD
index e1f198cd..475ea477 100644
--- a/service/tools/kv/api_tools/BUILD
+++ b/service/tools/kv/api_tools/BUILD
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 package(default_visibility = ["//visibility:public"])
 
 cc_binary(
diff --git a/service/tools/utxo/wallet_tool/cpp/BUILD 
b/service/tools/utxo/wallet_tool/cpp/BUILD
index 729dab6e..4b65f1cb 100644
--- a/service/tools/utxo/wallet_tool/cpp/BUILD
+++ b/service/tools/utxo/wallet_tool/cpp/BUILD
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 package(default_visibility = 
["//service/tools/utxo/wallet_tool/pybind:__subpackages__"])
 
 cc_library(
diff --git a/service/tools/utxo/wallet_tool/py/BUILD 
b/service/tools/utxo/wallet_tool/py/BUILD
index 0e8e8e71..830e32a5 100644
--- a/service/tools/utxo/wallet_tool/py/BUILD
+++ b/service/tools/utxo/wallet_tool/py/BUILD
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 package(default_visibility = ["//visibility:public"])
 
 py_binary(
diff --git a/service/tools/utxo/wallet_tool/pybind/BUILD 
b/service/tools/utxo/wallet_tool/pybind/BUILD
index 9a6b7bad..2b130409 100644
--- a/service/tools/utxo/wallet_tool/pybind/BUILD
+++ b/service/tools/utxo/wallet_tool/pybind/BUILD
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 package(default_visibility = ["//visibility:public"])
 
 cc_binary(
diff --git a/service/tools/utxo/wallet_tool/test/BUILD 
b/service/tools/utxo/wallet_tool/test/BUILD
index 2055c2ff..069d6cf8 100644
--- a/service/tools/utxo/wallet_tool/test/BUILD
+++ b/service/tools/utxo/wallet_tool/test/BUILD
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 package(default_visibility = ["//visibility:private"])
 
 cc_binary(
diff --git a/service/utils/BUILD b/service/utils/BUILD
index a851d99a..a3231476 100644
--- a/service/utils/BUILD
+++ b/service/utils/BUILD
@@ -1,3 +1,23 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/service/utxo/BUILD b/service/utxo/BUILD
index d832e989..0a0e79c8 100644
--- a/service/utxo/BUILD
+++ b/service/utxo/BUILD
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 package(default_visibility = ["//visibility:public"])
 
 cc_binary(
diff --git a/third_party/BUILD b/third_party/BUILD
index 0ec7614b..f5a6fc8b 100644
--- a/third_party/BUILD
+++ b/third_party/BUILD
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 package(default_visibility = ["//visibility:public"])
 
 load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make", "make")
diff --git a/tools/BUILD b/tools/BUILD
index 56b50b98..14c5b287 100644
--- a/tools/BUILD
+++ b/tools/BUILD
@@ -1,3 +1,22 @@
+#
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership.  The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License.  You may obtain a copy of the License at
+ #
+ #   http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied.  See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+
 package(default_visibility = ["//visibility:public"])
 
 cc_binary(

Reply via email to