From fe43e37cf42ecda9a9968a79033398c403d4b932 Mon Sep 17 00:00:00 2001
From: JimmyShi22 <417711026@qq.com>
Date: Tue, 2 Apr 2024 11:12:42 +0800
Subject: [PATCH] update license
---
.../libratelimit/TokenBucketRateLimiter.h | 26 +++++++++----------
.../bcos-utilities/ZstdCompress.cpp | 25 +++++++++---------
bcos-utilities/bcos-utilities/ZstdCompress.h | 25 +++++++++---------
3 files changed, 36 insertions(+), 40 deletions(-)
diff --git a/bcos-gateway/bcos-gateway/libratelimit/TokenBucketRateLimiter.h b/bcos-gateway/bcos-gateway/libratelimit/TokenBucketRateLimiter.h
index d3ce263461..1d531a4459 100644
--- a/bcos-gateway/bcos-gateway/libratelimit/TokenBucketRateLimiter.h
+++ b/bcos-gateway/bcos-gateway/libratelimit/TokenBucketRateLimiter.h
@@ -1,20 +1,18 @@
/*
- * @CopyRight:
- * FISCO-BCOS is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * Copyright (C) 2021 FISCO BCOS.
+ * SPDX-License-Identifier: Apache-2.0
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
*
- * FISCO-BCOS is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * 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.
*
- * You should have received a copy of the GNU General Public License
- * along with FISCO-BCOS. If not, see
- * (c) 2016-2020 fisco-dev contributors.
- */
-/**
* @brief : Implement of TokenBucketRateLimiter
* @file: TokenBucketRateLimiter.h
* @author: yujiechen
diff --git a/bcos-utilities/bcos-utilities/ZstdCompress.cpp b/bcos-utilities/bcos-utilities/ZstdCompress.cpp
index e886f43b8b..946221ffde 100644
--- a/bcos-utilities/bcos-utilities/ZstdCompress.cpp
+++ b/bcos-utilities/bcos-utilities/ZstdCompress.cpp
@@ -1,18 +1,17 @@
-/**
- * @CopyRight:
- * FISCO-BCOS is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+/*
+ * Copyright (C) 2021 FISCO BCOS.
+ * SPDX-License-Identifier: Apache-2.0
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
*
- * FISCO-BCOS is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * You should have received a copy of the GNU General Public License
- * along with FISCO-BCOS. If not, see
- * (c) 2016-2018 fisco-dev contributors.
+ * 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.
*
* @brief : complement compress and uncompress with zstd
*
diff --git a/bcos-utilities/bcos-utilities/ZstdCompress.h b/bcos-utilities/bcos-utilities/ZstdCompress.h
index 3dbea28f5c..099b2559be 100644
--- a/bcos-utilities/bcos-utilities/ZstdCompress.h
+++ b/bcos-utilities/bcos-utilities/ZstdCompress.h
@@ -1,18 +1,17 @@
-/**
- * @CopyRight:
- * FISCO-BCOS is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+/*
+ * Copyright (C) 2021 FISCO BCOS.
+ * SPDX-License-Identifier: Apache-2.0
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
*
- * FISCO-BCOS is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * You should have received a copy of the GNU General Public License
- * along with FISCO-BCOS. If not, see
- * (c) 2016-2018 fisco-dev contributors.
+ * 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.
*
* @brief : complement compress and uncompress with zstd
*