From e1df97e70ff2d23854652598cc467dd969381bec Mon Sep 17 00:00:00 2001 From: RenShiWei Date: Tue, 23 May 2023 20:08:17 +0800 Subject: [PATCH] Copyright --- blockchain/tron/key.go | 26 +++++++++----------- blockchain/tron/key_test.go | 26 +++++++++----------- cmd/cobra.go | 26 +++++++++----------- cmd/version/server.go | 26 +++++++++----------- common/cryptor/abi.go | 26 +++++++++----------- common/cryptor/aes.go | 26 +++++++++----------- common/cryptor/des.go | 26 +++++++++----------- common/cryptor/gorsa.go | 26 +++++++++----------- common/cryptor/gorsaSign.go | 26 +++++++++----------- common/cryptor/password.go | 26 +++++++++----------- common/cryptor/rsa.go | 26 +++++++++----------- common/cryptor/rsa_ext.go | 26 +++++++++----------- common/errs/sleep_error.go | 26 +++++++++----------- common/logger/initialize.go | 26 +++++++++----------- common/logger/logger.go | 26 +++++++++----------- config/config.go | 26 +++++++++----------- config/config_test.go | 26 +++++++++----------- config/default_conf.go | 26 +++++++++----------- config/var.go | 26 +++++++++----------- consensus/beacon/beacon_block_id.go | 26 +++++++++----------- consensus/beacon/beacon_block_id_test.go | 26 +++++++++----------- consensus/beacon/client.go | 26 +++++++++----------- consensus/beacon/client_test.go | 26 +++++++++----------- consensus/beacon/service.go | 26 +++++++++----------- consensus/beacon/validators_by_id.go | 26 +++++++++----------- consensus/beacon/validators_by_id_test.go | 26 +++++++++----------- consensus/chaintime/mock/eth2client.go | 26 +++++++++----------- consensus/chaintime/service.go | 26 +++++++++----------- consensus/chaintime/standard/parameters.go | 26 +++++++++----------- consensus/chaintime/standard/service.go | 26 +++++++++----------- consensus/chaintime/standard/service_test.go | 26 +++++++++----------- consensus/consensus.go | 26 +++++++++----------- consensus/consensus_test.go | 26 +++++++++----------- eth1/balance.go | 26 +++++++++----------- eth1/client.go | 26 +++++++++----------- eth1/constants.go | 26 +++++++++----------- eth1/key.go | 26 +++++++++----------- eth1/key_test.go | 26 +++++++++----------- eth1/multicall.go | 26 +++++++++----------- eth1/network.go | 26 +++++++++----------- eth1/simulated.go | 26 +++++++++----------- eth1/types.go | 26 +++++++++----------- main.go | 26 +++++++++----------- utils/base_test.go | 26 +++++++++----------- utils/httptool/http.go | 26 +++++++++----------- utils/timetool/sleep.go | 26 +++++++++----------- utils/timetool/time.go | 26 +++++++++----------- utils/typetool/array.go | 26 +++++++++----------- utils/typetool/array_test.go | 26 +++++++++----------- utils/typetool/bytes.go | 26 +++++++++----------- utils/typetool/strings.go | 26 +++++++++----------- utils/typetool/types.go | 26 +++++++++----------- validator/hexutil.go | 26 +++++++++----------- validator/keystorev4/encryptor.go | 26 +++++++++----------- validator/keystorev4/keystorev4.go | 26 +++++++++----------- validator/keystorev4/keystorev4_test.go | 26 +++++++++----------- 56 files changed, 672 insertions(+), 784 deletions(-) diff --git a/blockchain/tron/key.go b/blockchain/tron/key.go index ce7c2bf..95525b9 100644 --- a/blockchain/tron/key.go +++ b/blockchain/tron/key.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package tron diff --git a/blockchain/tron/key_test.go b/blockchain/tron/key_test.go index 295458e..25e02e2 100644 --- a/blockchain/tron/key_test.go +++ b/blockchain/tron/key_test.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package tron diff --git a/cmd/cobra.go b/cmd/cobra.go index 480b183..dfef086 100644 --- a/cmd/cobra.go +++ b/cmd/cobra.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // description: // @author renshiwei diff --git a/cmd/version/server.go b/cmd/version/server.go index 42af3ae..bba5b8d 100644 --- a/cmd/version/server.go +++ b/cmd/version/server.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package version diff --git a/common/cryptor/abi.go b/common/cryptor/abi.go index 236cbf4..ca6b43b 100644 --- a/common/cryptor/abi.go +++ b/common/cryptor/abi.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // description: abi编码 @see https://github.com/0xsequence/ethkit/tree/master/ethcoder // @author renshiwei diff --git a/common/cryptor/aes.go b/common/cryptor/aes.go index 4d3b936..03bb873 100644 --- a/common/cryptor/aes.go +++ b/common/cryptor/aes.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // description: aes // @author renshiwei diff --git a/common/cryptor/des.go b/common/cryptor/des.go index 48b6523..c33114f 100644 --- a/common/cryptor/des.go +++ b/common/cryptor/des.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // description: des // @author renshiwei diff --git a/common/cryptor/gorsa.go b/common/cryptor/gorsa.go index 00c4a37..9d2a444 100644 --- a/common/cryptor/gorsa.go +++ b/common/cryptor/gorsa.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package cryptor diff --git a/common/cryptor/gorsaSign.go b/common/cryptor/gorsaSign.go index 290aebc..58c46c3 100644 --- a/common/cryptor/gorsaSign.go +++ b/common/cryptor/gorsaSign.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package cryptor diff --git a/common/cryptor/password.go b/common/cryptor/password.go index c8f0bba..728d8d4 100644 --- a/common/cryptor/password.go +++ b/common/cryptor/password.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // description: // @author renshiwei diff --git a/common/cryptor/rsa.go b/common/cryptor/rsa.go index fcb1e4f..3c71d9d 100644 --- a/common/cryptor/rsa.go +++ b/common/cryptor/rsa.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package cryptor diff --git a/common/cryptor/rsa_ext.go b/common/cryptor/rsa_ext.go index ea35651..a7fb8ed 100644 --- a/common/cryptor/rsa_ext.go +++ b/common/cryptor/rsa_ext.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package cryptor diff --git a/common/errs/sleep_error.go b/common/errs/sleep_error.go index 88764e5..013bb55 100644 --- a/common/errs/sleep_error.go +++ b/common/errs/sleep_error.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package errs diff --git a/common/logger/initialize.go b/common/logger/initialize.go index db039a3..42e3f1c 100644 --- a/common/logger/initialize.go +++ b/common/logger/initialize.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // description: // @author renshiwei diff --git a/common/logger/logger.go b/common/logger/logger.go index 12e7dc6..725e700 100644 --- a/common/logger/logger.go +++ b/common/logger/logger.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // description: // @author renshiwei diff --git a/config/config.go b/config/config.go index a838d6f..34cd682 100644 --- a/config/config.go +++ b/config/config.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // description: // @author renshiwei diff --git a/config/config_test.go b/config/config_test.go index 939951d..6d3027d 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package config diff --git a/config/default_conf.go b/config/default_conf.go index 35f37c6..47daff0 100644 --- a/config/default_conf.go +++ b/config/default_conf.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Code generated for package config by go-bindata DO NOT EDIT. (@generated) // sources: diff --git a/config/var.go b/config/var.go index 14b8afe..8285a40 100644 --- a/config/var.go +++ b/config/var.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // description: // @author renshiwei diff --git a/consensus/beacon/beacon_block_id.go b/consensus/beacon/beacon_block_id.go index deb7ebb..ad283b7 100644 --- a/consensus/beacon/beacon_block_id.go +++ b/consensus/beacon/beacon_block_id.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // beacon-api: @see https://ethereum.github.io/beacon-APIs/#/Beacon/getBlockV2 diff --git a/consensus/beacon/beacon_block_id_test.go b/consensus/beacon/beacon_block_id_test.go index d4a22e5..bd2ebe5 100644 --- a/consensus/beacon/beacon_block_id_test.go +++ b/consensus/beacon/beacon_block_id_test.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // @author renshiwei diff --git a/consensus/beacon/client.go b/consensus/beacon/client.go index 1a6949e..9ef6f17 100644 --- a/consensus/beacon/client.go +++ b/consensus/beacon/client.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: The consensus layer client // @author renshiwei diff --git a/consensus/beacon/client_test.go b/consensus/beacon/client_test.go index f5cea4c..8df7b18 100644 --- a/consensus/beacon/client_test.go +++ b/consensus/beacon/client_test.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // @author renshiwei diff --git a/consensus/beacon/service.go b/consensus/beacon/service.go index 2274331..b3e848a 100644 --- a/consensus/beacon/service.go +++ b/consensus/beacon/service.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // @author renshiwei diff --git a/consensus/beacon/validators_by_id.go b/consensus/beacon/validators_by_id.go index 926e173..4798ef0 100644 --- a/consensus/beacon/validators_by_id.go +++ b/consensus/beacon/validators_by_id.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // @author renshiwei diff --git a/consensus/beacon/validators_by_id_test.go b/consensus/beacon/validators_by_id_test.go index cfb5054..17302d5 100644 --- a/consensus/beacon/validators_by_id_test.go +++ b/consensus/beacon/validators_by_id_test.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // @author renshiwei diff --git a/consensus/chaintime/mock/eth2client.go b/consensus/chaintime/mock/eth2client.go index 760c7a9..41d46f7 100644 --- a/consensus/chaintime/mock/eth2client.go +++ b/consensus/chaintime/mock/eth2client.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // @author renshiwei diff --git a/consensus/chaintime/service.go b/consensus/chaintime/service.go index de530aa..a1e3248 100644 --- a/consensus/chaintime/service.go +++ b/consensus/chaintime/service.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package chaintime diff --git a/consensus/chaintime/standard/parameters.go b/consensus/chaintime/standard/parameters.go index 9d136d0..5b543d5 100644 --- a/consensus/chaintime/standard/parameters.go +++ b/consensus/chaintime/standard/parameters.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package standard diff --git a/consensus/chaintime/standard/service.go b/consensus/chaintime/standard/service.go index 596673d..7c8b5c9 100644 --- a/consensus/chaintime/standard/service.go +++ b/consensus/chaintime/standard/service.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package standard diff --git a/consensus/chaintime/standard/service_test.go b/consensus/chaintime/standard/service_test.go index a47e9b9..a14e926 100644 --- a/consensus/chaintime/standard/service_test.go +++ b/consensus/chaintime/standard/service_test.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package standard_test diff --git a/consensus/consensus.go b/consensus/consensus.go index 3155c7a..4ea186a 100644 --- a/consensus/consensus.go +++ b/consensus/consensus.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // @author renshiwei diff --git a/consensus/consensus_test.go b/consensus/consensus_test.go index bb97296..cc8adf3 100644 --- a/consensus/consensus_test.go +++ b/consensus/consensus_test.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // @author renshiwei diff --git a/eth1/balance.go b/eth1/balance.go index 459b0ea..a55c929 100644 --- a/eth1/balance.go +++ b/eth1/balance.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // @author renshiwei diff --git a/eth1/client.go b/eth1/client.go index 9b2878c..35e7a5f 100644 --- a/eth1/client.go +++ b/eth1/client.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // @author renshiwei diff --git a/eth1/constants.go b/eth1/constants.go index 584e91f..1d3f6b4 100644 --- a/eth1/constants.go +++ b/eth1/constants.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // @author renshiwei diff --git a/eth1/key.go b/eth1/key.go index 146645d..a0c46b8 100644 --- a/eth1/key.go +++ b/eth1/key.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // @author renshiwei diff --git a/eth1/key_test.go b/eth1/key_test.go index 0f23613..cd197cb 100644 --- a/eth1/key_test.go +++ b/eth1/key_test.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package eth1 diff --git a/eth1/multicall.go b/eth1/multicall.go index 7db283e..6ca5282 100644 --- a/eth1/multicall.go +++ b/eth1/multicall.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // @author renshiwei diff --git a/eth1/network.go b/eth1/network.go index 066c70f..9add19f 100644 --- a/eth1/network.go +++ b/eth1/network.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package eth1 diff --git a/eth1/simulated.go b/eth1/simulated.go index 351a823..04c3075 100644 --- a/eth1/simulated.go +++ b/eth1/simulated.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package eth1 diff --git a/eth1/types.go b/eth1/types.go index e41ee7e..11512eb 100644 --- a/eth1/types.go +++ b/eth1/types.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // description: 只能合约相关 // @author renshiwei diff --git a/main.go b/main.go index a09296f..083cc6e 100644 --- a/main.go +++ b/main.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // description: // @author renshiwei diff --git a/utils/base_test.go b/utils/base_test.go index cb619ba..d23e264 100644 --- a/utils/base_test.go +++ b/utils/base_test.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // @author renshiwei diff --git a/utils/httptool/http.go b/utils/httptool/http.go index b3d9574..1c1a5ab 100644 --- a/utils/httptool/http.go +++ b/utils/httptool/http.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // desc: // @author renshiwei diff --git a/utils/timetool/sleep.go b/utils/timetool/sleep.go index 9ed31cb..9ca6b3e 100644 --- a/utils/timetool/sleep.go +++ b/utils/timetool/sleep.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package timetool diff --git a/utils/timetool/time.go b/utils/timetool/time.go index c6bb268..e95c910 100644 --- a/utils/timetool/time.go +++ b/utils/timetool/time.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package timetool diff --git a/utils/typetool/array.go b/utils/typetool/array.go index 7ca528a..9cda15f 100644 --- a/utils/typetool/array.go +++ b/utils/typetool/array.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package util diff --git a/utils/typetool/array_test.go b/utils/typetool/array_test.go index 92306b3..0d33eec 100644 --- a/utils/typetool/array_test.go +++ b/utils/typetool/array_test.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package util diff --git a/utils/typetool/bytes.go b/utils/typetool/bytes.go index 04f2a1d..57d5b7e 100644 --- a/utils/typetool/bytes.go +++ b/utils/typetool/bytes.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package util diff --git a/utils/typetool/strings.go b/utils/typetool/strings.go index 60fb7d9..f80ceed 100644 --- a/utils/typetool/strings.go +++ b/utils/typetool/strings.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // description: // @author renshiwei diff --git a/utils/typetool/types.go b/utils/typetool/types.go index e6651c0..3a33921 100644 --- a/utils/typetool/types.go +++ b/utils/typetool/types.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // description: // @author renshiwei diff --git a/validator/hexutil.go b/validator/hexutil.go index 18eeb62..28b2614 100644 --- a/validator/hexutil.go +++ b/validator/hexutil.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package validator diff --git a/validator/keystorev4/encryptor.go b/validator/keystorev4/encryptor.go index a9067aa..ad34ba1 100644 --- a/validator/keystorev4/encryptor.go +++ b/validator/keystorev4/encryptor.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // description:KeystoreV4 加解密 // @author renshiwei diff --git a/validator/keystorev4/keystorev4.go b/validator/keystorev4/keystorev4.go index d22f55b..3f1cbfe 100644 --- a/validator/keystorev4/keystorev4.go +++ b/validator/keystorev4/keystorev4.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // encryptorKeystore v4 Encryptor @see https://www.cnblogs.com/wanghui-garcia/p/10007768.html diff --git a/validator/keystorev4/keystorev4_test.go b/validator/keystorev4/keystorev4_test.go index f4ba567..d0eb45e 100644 --- a/validator/keystorev4/keystorev4_test.go +++ b/validator/keystorev4/keystorev4_test.go @@ -1,17 +1,15 @@ -/* - * // Copyright © 2022-2023. duktig666 Limited. - * // Licensed under the Apache License, Version 2.0 (the "License"); - * // you may not use this file except in compliance with the License. - * // You may obtain a copy of the License at - * // - * // http://www.apache.org/licenses/LICENSE-2.0 - * // - * // Unless required by applicable law or agreed to in writing, software - * // distributed under the License is distributed on an "AS IS" BASIS, - * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * // See the License for the specific language governing permissions and - * // limitations under the License. - */ +// Copyright © 2022-2023. duktig666 Limited. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package keystorev4