diff --git a/.ci/general-jobs b/.ci/general-jobs index e9612d1c..4945ed38 100755 --- a/.ci/general-jobs +++ b/.ci/general-jobs @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright 2019 The Grin Developers +# Copyright 2021 The Grin Developers # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.hooks/pre-commit b/.hooks/pre-commit index 8056d6cb..7c029ede 100755 --- a/.hooks/pre-commit +++ b/.hooks/pre-commit @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright 2018 The Grin Developers +# Copyright 2021 The Grin Developers # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/api/src/auth.rs b/api/src/auth.rs index 7c2b00d7..55c856a4 100644 --- a/api/src/auth.rs +++ b/api/src/auth.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/client.rs b/api/src/client.rs index 7ed93565..2cbd8ff7 100644 --- a/api/src/client.rs +++ b/api/src/client.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/foreign.rs b/api/src/foreign.rs index 7860bfb3..ba2907a1 100644 --- a/api/src/foreign.rs +++ b/api/src/foreign.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/foreign_rpc.rs b/api/src/foreign_rpc.rs index 85673404..c4bbc3b4 100644 --- a/api/src/foreign_rpc.rs +++ b/api/src/foreign_rpc.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/handlers.rs b/api/src/handlers.rs index 4cfe125f..29064d6b 100644 --- a/api/src/handlers.rs +++ b/api/src/handlers.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/handlers/blocks_api.rs b/api/src/handlers/blocks_api.rs index 0860149e..fb419d0d 100644 --- a/api/src/handlers/blocks_api.rs +++ b/api/src/handlers/blocks_api.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/handlers/chain_api.rs b/api/src/handlers/chain_api.rs index 116063dd..318ebbb5 100644 --- a/api/src/handlers/chain_api.rs +++ b/api/src/handlers/chain_api.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/handlers/peers_api.rs b/api/src/handlers/peers_api.rs index 65b8c614..c539f43e 100644 --- a/api/src/handlers/peers_api.rs +++ b/api/src/handlers/peers_api.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/handlers/pool_api.rs b/api/src/handlers/pool_api.rs index 9f46e04e..d5c6dfdd 100644 --- a/api/src/handlers/pool_api.rs +++ b/api/src/handlers/pool_api.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/handlers/server_api.rs b/api/src/handlers/server_api.rs index 4802bf83..6e47f1c3 100644 --- a/api/src/handlers/server_api.rs +++ b/api/src/handlers/server_api.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/handlers/transactions_api.rs b/api/src/handlers/transactions_api.rs index 3b931c87..05f0fba6 100644 --- a/api/src/handlers/transactions_api.rs +++ b/api/src/handlers/transactions_api.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/handlers/utils.rs b/api/src/handlers/utils.rs index cb308640..35df9ba1 100644 --- a/api/src/handlers/utils.rs +++ b/api/src/handlers/utils.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/handlers/version_api.rs b/api/src/handlers/version_api.rs index d67e35e5..cd1d7ff2 100644 --- a/api/src/handlers/version_api.rs +++ b/api/src/handlers/version_api.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/json_rpc.rs b/api/src/json_rpc.rs index 5978fc4a..6728ca70 100644 --- a/api/src/json_rpc.rs +++ b/api/src/json_rpc.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/lib.rs b/api/src/lib.rs index 54620bc2..7a31e26f 100644 --- a/api/src/lib.rs +++ b/api/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/owner.rs b/api/src/owner.rs index ff0177bf..483f74db 100644 --- a/api/src/owner.rs +++ b/api/src/owner.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/owner_rpc.rs b/api/src/owner_rpc.rs index f8c3cdc4..44799793 100644 --- a/api/src/owner_rpc.rs +++ b/api/src/owner_rpc.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/rest.rs b/api/src/rest.rs index 01d10544..7139cd44 100644 --- a/api/src/rest.rs +++ b/api/src/rest.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/router.rs b/api/src/router.rs index 1c1bf014..8f3b503d 100644 --- a/api/src/router.rs +++ b/api/src/router.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/src/types.rs b/api/src/types.rs index 3945341d..6af238a4 100644 --- a/api/src/types.rs +++ b/api/src/types.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 762c622b..d60e544b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,4 +1,4 @@ -# Copyright 2019 The Grin Developers +# Copyright 2021 The Grin Developers # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/chain/src/chain.rs b/chain/src/chain.rs index 47d1ec75..ca547786 100644 --- a/chain/src/chain.rs +++ b/chain/src/chain.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/src/error.rs b/chain/src/error.rs index 6bc87fce..a110d976 100644 --- a/chain/src/error.rs +++ b/chain/src/error.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/src/lib.rs b/chain/src/lib.rs index 15727523..cd12a665 100644 --- a/chain/src/lib.rs +++ b/chain/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/src/linked_list.rs b/chain/src/linked_list.rs index 5c46fa1d..113a1a3b 100644 --- a/chain/src/linked_list.rs +++ b/chain/src/linked_list.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/src/pipe.rs b/chain/src/pipe.rs index 02c9b508..221e09ea 100644 --- a/chain/src/pipe.rs +++ b/chain/src/pipe.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/src/store.rs b/chain/src/store.rs index ca28bf00..d89112ca 100644 --- a/chain/src/store.rs +++ b/chain/src/store.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/src/txhashset.rs b/chain/src/txhashset.rs index 1926d7d7..a91b3e0f 100644 --- a/chain/src/txhashset.rs +++ b/chain/src/txhashset.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/src/txhashset/bitmap_accumulator.rs b/chain/src/txhashset/bitmap_accumulator.rs index 5aab93cf..057e0166 100644 --- a/chain/src/txhashset/bitmap_accumulator.rs +++ b/chain/src/txhashset/bitmap_accumulator.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/src/txhashset/rewindable_kernel_view.rs b/chain/src/txhashset/rewindable_kernel_view.rs index 3fcec1a5..b2b2c2c4 100644 --- a/chain/src/txhashset/rewindable_kernel_view.rs +++ b/chain/src/txhashset/rewindable_kernel_view.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/src/txhashset/segmenter.rs b/chain/src/txhashset/segmenter.rs index ccf21eeb..b614125a 100644 --- a/chain/src/txhashset/segmenter.rs +++ b/chain/src/txhashset/segmenter.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/src/txhashset/txhashset.rs b/chain/src/txhashset/txhashset.rs index 3ea6eab0..f4893ef8 100644 --- a/chain/src/txhashset/txhashset.rs +++ b/chain/src/txhashset/txhashset.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/src/txhashset/utxo_view.rs b/chain/src/txhashset/utxo_view.rs index 3eb2e40c..4d2bfe88 100644 --- a/chain/src/txhashset/utxo_view.rs +++ b/chain/src/txhashset/utxo_view.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/src/types.rs b/chain/src/types.rs index bbcfebd8..4dc4900a 100644 --- a/chain/src/types.rs +++ b/chain/src/types.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/tests/bitmap_accumulator.rs b/chain/tests/bitmap_accumulator.rs index 5d480303..39844b59 100644 --- a/chain/tests/bitmap_accumulator.rs +++ b/chain/tests/bitmap_accumulator.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/tests/chain_test_helper.rs b/chain/tests/chain_test_helper.rs index 849adbf9..8641257d 100644 --- a/chain/tests/chain_test_helper.rs +++ b/chain/tests/chain_test_helper.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/tests/data_file_integrity.rs b/chain/tests/data_file_integrity.rs index 76a1e95f..ffe25a57 100644 --- a/chain/tests/data_file_integrity.rs +++ b/chain/tests/data_file_integrity.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/tests/mine_nrd_kernel.rs b/chain/tests/mine_nrd_kernel.rs index fb042925..bf5001df 100644 --- a/chain/tests/mine_nrd_kernel.rs +++ b/chain/tests/mine_nrd_kernel.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/tests/mine_simple_chain.rs b/chain/tests/mine_simple_chain.rs index 69bae8b2..63a79836 100644 --- a/chain/tests/mine_simple_chain.rs +++ b/chain/tests/mine_simple_chain.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/tests/nrd_validation_rules.rs b/chain/tests/nrd_validation_rules.rs index 7cce9027..8551657e 100644 --- a/chain/tests/nrd_validation_rules.rs +++ b/chain/tests/nrd_validation_rules.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/tests/process_block_cut_through.rs b/chain/tests/process_block_cut_through.rs index 89c07593..a296c587 100644 --- a/chain/tests/process_block_cut_through.rs +++ b/chain/tests/process_block_cut_through.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/tests/store_indices.rs b/chain/tests/store_indices.rs index a0f5b2f9..5cc19356 100644 --- a/chain/tests/store_indices.rs +++ b/chain/tests/store_indices.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/tests/store_kernel_pos_index.rs b/chain/tests/store_kernel_pos_index.rs index 1b74502c..664e2818 100644 --- a/chain/tests/store_kernel_pos_index.rs +++ b/chain/tests/store_kernel_pos_index.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/tests/test_block_known.rs b/chain/tests/test_block_known.rs index 937756a6..f9c9f050 100644 --- a/chain/tests/test_block_known.rs +++ b/chain/tests/test_block_known.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/tests/test_coinbase_maturity.rs b/chain/tests/test_coinbase_maturity.rs index e283f9d2..d7b24a77 100644 --- a/chain/tests/test_coinbase_maturity.rs +++ b/chain/tests/test_coinbase_maturity.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/tests/test_get_kernel_height.rs b/chain/tests/test_get_kernel_height.rs index 4112c45d..9a9e976c 100644 --- a/chain/tests/test_get_kernel_height.rs +++ b/chain/tests/test_get_kernel_height.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/tests/test_header_weight_validation.rs b/chain/tests/test_header_weight_validation.rs index 17f81631..3cfc5300 100644 --- a/chain/tests/test_header_weight_validation.rs +++ b/chain/tests/test_header_weight_validation.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/tests/test_txhashset.rs b/chain/tests/test_txhashset.rs index 3210dd34..36b23e84 100644 --- a/chain/tests/test_txhashset.rs +++ b/chain/tests/test_txhashset.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/chain/tests/test_txhashset_archive.rs b/chain/tests/test_txhashset_archive.rs index 0b133631..67e25220 100644 --- a/chain/tests/test_txhashset_archive.rs +++ b/chain/tests/test_txhashset_archive.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/config/src/comments.rs b/config/src/comments.rs index 078f7866..d415c473 100644 --- a/config/src/comments.rs +++ b/config/src/comments.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/config/src/config.rs b/config/src/config.rs index 5a71a20a..34c0e357 100644 --- a/config/src/config.rs +++ b/config/src/config.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/config/src/lib.rs b/config/src/lib.rs index e1ef7de8..936198d2 100644 --- a/config/src/lib.rs +++ b/config/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/config/src/types.rs b/config/src/types.rs index 4387e49f..82cd1440 100644 --- a/config/src/types.rs +++ b/config/src/types.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/consensus.rs b/core/src/consensus.rs index 60c1cbb4..1a47840c 100644 --- a/core/src/consensus.rs +++ b/core/src/consensus.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // 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 diff --git a/core/src/core.rs b/core/src/core.rs index c90aa796..386e201c 100644 --- a/core/src/core.rs +++ b/core/src/core.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/block.rs b/core/src/core/block.rs index fe06bae0..46d81902 100644 --- a/core/src/core/block.rs +++ b/core/src/core/block.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/block_sums.rs b/core/src/core/block_sums.rs index b6b05c88..923b244f 100644 --- a/core/src/core/block_sums.rs +++ b/core/src/core/block_sums.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/committed.rs b/core/src/core/committed.rs index db6124cd..bd8276d7 100644 --- a/core/src/core/committed.rs +++ b/core/src/core/committed.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/compact_block.rs b/core/src/core/compact_block.rs index d61524ee..42f72ab8 100644 --- a/core/src/core/compact_block.rs +++ b/core/src/core/compact_block.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/hash.rs b/core/src/core/hash.rs index 2dc968fa..38daee68 100644 --- a/core/src/core/hash.rs +++ b/core/src/core/hash.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/id.rs b/core/src/core/id.rs index dec4fea2..3f303de1 100644 --- a/core/src/core/id.rs +++ b/core/src/core/id.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/merkle_proof.rs b/core/src/core/merkle_proof.rs index 8711ab5f..3b4a1a72 100644 --- a/core/src/core/merkle_proof.rs +++ b/core/src/core/merkle_proof.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/pmmr.rs b/core/src/core/pmmr.rs index a294eba2..6c238771 100644 --- a/core/src/core/pmmr.rs +++ b/core/src/core/pmmr.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/pmmr/backend.rs b/core/src/core/pmmr/backend.rs index 60c194a0..f1ce870f 100644 --- a/core/src/core/pmmr/backend.rs +++ b/core/src/core/pmmr/backend.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/pmmr/pmmr.rs b/core/src/core/pmmr/pmmr.rs index 5492a24c..82042378 100644 --- a/core/src/core/pmmr/pmmr.rs +++ b/core/src/core/pmmr/pmmr.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/pmmr/readonly_pmmr.rs b/core/src/core/pmmr/readonly_pmmr.rs index a27c898a..6b71cb93 100644 --- a/core/src/core/pmmr/readonly_pmmr.rs +++ b/core/src/core/pmmr/readonly_pmmr.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/pmmr/rewindable_pmmr.rs b/core/src/core/pmmr/rewindable_pmmr.rs index a3b92743..fee03394 100644 --- a/core/src/core/pmmr/rewindable_pmmr.rs +++ b/core/src/core/pmmr/rewindable_pmmr.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/pmmr/segment.rs b/core/src/core/pmmr/segment.rs index 771eaf3b..7d885e4b 100644 --- a/core/src/core/pmmr/segment.rs +++ b/core/src/core/pmmr/segment.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/pmmr/vec_backend.rs b/core/src/core/pmmr/vec_backend.rs index e9d444e1..c281be1f 100644 --- a/core/src/core/pmmr/vec_backend.rs +++ b/core/src/core/pmmr/vec_backend.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/transaction.rs b/core/src/core/transaction.rs index 58874c2d..ca5a4e04 100644 --- a/core/src/core/transaction.rs +++ b/core/src/core/transaction.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/core/verifier_cache.rs b/core/src/core/verifier_cache.rs index 6e1a0836..26453e65 100644 --- a/core/src/core/verifier_cache.rs +++ b/core/src/core/verifier_cache.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/genesis.rs b/core/src/genesis.rs index aa749500..e2b252a7 100644 --- a/core/src/genesis.rs +++ b/core/src/genesis.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/global.rs b/core/src/global.rs index a64c2e9b..9b67d936 100644 --- a/core/src/global.rs +++ b/core/src/global.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/lib.rs b/core/src/lib.rs index 45e59fc4..bc7434c1 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/libtx/aggsig.rs b/core/src/libtx/aggsig.rs index 551bcbc2..266c4752 100644 --- a/core/src/libtx/aggsig.rs +++ b/core/src/libtx/aggsig.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/libtx/build.rs b/core/src/libtx/build.rs index 0693bd0f..ffc4a050 100644 --- a/core/src/libtx/build.rs +++ b/core/src/libtx/build.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/libtx/error.rs b/core/src/libtx/error.rs index 4141be8a..9b2ae16b 100644 --- a/core/src/libtx/error.rs +++ b/core/src/libtx/error.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/libtx/mod.rs b/core/src/libtx/mod.rs index c7080d30..c87aa77f 100644 --- a/core/src/libtx/mod.rs +++ b/core/src/libtx/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/libtx/proof.rs b/core/src/libtx/proof.rs index 1f595bca..e5e13fc0 100644 --- a/core/src/libtx/proof.rs +++ b/core/src/libtx/proof.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/libtx/reward.rs b/core/src/libtx/reward.rs index 403c0f9a..148436ee 100644 --- a/core/src/libtx/reward.rs +++ b/core/src/libtx/reward.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/libtx/secp_ser.rs b/core/src/libtx/secp_ser.rs index 54d03343..f09aaafa 100644 --- a/core/src/libtx/secp_ser.rs +++ b/core/src/libtx/secp_ser.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/macros.rs b/core/src/macros.rs index 32243b7b..084ecf6a 100644 --- a/core/src/macros.rs +++ b/core/src/macros.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/pow.rs b/core/src/pow.rs index 689de94d..75f35aee 100644 --- a/core/src/pow.rs +++ b/core/src/pow.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/pow/common.rs b/core/src/pow/common.rs index ddd0875b..4d0bee03 100644 --- a/core/src/pow/common.rs +++ b/core/src/pow/common.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/pow/cuckaroo.rs b/core/src/pow/cuckaroo.rs index ab43423b..ee7f0648 100644 --- a/core/src/pow/cuckaroo.rs +++ b/core/src/pow/cuckaroo.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/pow/cuckarood.rs b/core/src/pow/cuckarood.rs index 61fd7e5e..16c9128c 100644 --- a/core/src/pow/cuckarood.rs +++ b/core/src/pow/cuckarood.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/pow/cuckaroom.rs b/core/src/pow/cuckaroom.rs index dd0aa8ae..c8814a0a 100644 --- a/core/src/pow/cuckaroom.rs +++ b/core/src/pow/cuckaroom.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/pow/cuckarooz.rs b/core/src/pow/cuckarooz.rs index 730140b3..414adc8a 100644 --- a/core/src/pow/cuckarooz.rs +++ b/core/src/pow/cuckarooz.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/pow/error.rs b/core/src/pow/error.rs index 946ac26b..1dfe5558 100644 --- a/core/src/pow/error.rs +++ b/core/src/pow/error.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/pow/siphash.rs b/core/src/pow/siphash.rs index 7e9a5f63..566f4672 100644 --- a/core/src/pow/siphash.rs +++ b/core/src/pow/siphash.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/pow/types.rs b/core/src/pow/types.rs index 7eb6c5d3..1773176b 100644 --- a/core/src/pow/types.rs +++ b/core/src/pow/types.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/src/ser.rs b/core/src/ser.rs index 78bd79c3..169c2a00 100644 --- a/core/src/ser.rs +++ b/core/src/ser.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/tests/block.rs b/core/tests/block.rs index f8bf6a38..59ed9361 100644 --- a/core/tests/block.rs +++ b/core/tests/block.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/tests/common.rs b/core/tests/common.rs index 7f2f8507..293e98f4 100644 --- a/core/tests/common.rs +++ b/core/tests/common.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/tests/consensus_automated.rs b/core/tests/consensus_automated.rs index 67f82fe9..50952d34 100644 --- a/core/tests/consensus_automated.rs +++ b/core/tests/consensus_automated.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // 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 diff --git a/core/tests/consensus_mainnet.rs b/core/tests/consensus_mainnet.rs index df7fa813..84a77971 100644 --- a/core/tests/consensus_mainnet.rs +++ b/core/tests/consensus_mainnet.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // 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 diff --git a/core/tests/consensus_testnet.rs b/core/tests/consensus_testnet.rs index a1ce758f..12a1b89e 100644 --- a/core/tests/consensus_testnet.rs +++ b/core/tests/consensus_testnet.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // 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 diff --git a/core/tests/core.rs b/core/tests/core.rs index 3df78de4..a83dc37f 100644 --- a/core/tests/core.rs +++ b/core/tests/core.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/tests/merkle_proof.rs b/core/tests/merkle_proof.rs index f0e6d6bf..f45cc963 100644 --- a/core/tests/merkle_proof.rs +++ b/core/tests/merkle_proof.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/tests/pmmr.rs b/core/tests/pmmr.rs index 46a862f7..70e5549e 100644 --- a/core/tests/pmmr.rs +++ b/core/tests/pmmr.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/tests/segment.rs b/core/tests/segment.rs index c70a73e6..faf58d39 100644 --- a/core/tests/segment.rs +++ b/core/tests/segment.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/tests/transaction.rs b/core/tests/transaction.rs index 423a67c5..e4c34016 100644 --- a/core/tests/transaction.rs +++ b/core/tests/transaction.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/tests/vec_backend.rs b/core/tests/vec_backend.rs index 4ac4419d..8193548e 100644 --- a/core/tests/vec_backend.rs +++ b/core/tests/vec_backend.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/core/tests/verifier_cache.rs b/core/tests/verifier_cache.rs index 92bc3763..495b302b 100644 --- a/core/tests/verifier_cache.rs +++ b/core/tests/verifier_cache.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/etc/gen_gen/src/bin/gen_gen.rs b/etc/gen_gen/src/bin/gen_gen.rs index 32489116..0c57d04d 100644 --- a/etc/gen_gen/src/bin/gen_gen.rs +++ b/etc/gen_gen/src/bin/gen_gen.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keychain/src/base58.rs b/keychain/src/base58.rs index 6429fd86..15f4d6a7 100644 --- a/keychain/src/base58.rs +++ b/keychain/src/base58.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keychain/src/extkey_bip32.rs b/keychain/src/extkey_bip32.rs index f28a1322..321852c2 100644 --- a/keychain/src/extkey_bip32.rs +++ b/keychain/src/extkey_bip32.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keychain/src/keychain.rs b/keychain/src/keychain.rs index fdb84071..c9bbbd14 100644 --- a/keychain/src/keychain.rs +++ b/keychain/src/keychain.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keychain/src/lib.rs b/keychain/src/lib.rs index 04461e52..12841328 100644 --- a/keychain/src/lib.rs +++ b/keychain/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keychain/src/mnemonic.rs b/keychain/src/mnemonic.rs index 9a26155b..75cad859 100644 --- a/keychain/src/mnemonic.rs +++ b/keychain/src/mnemonic.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keychain/src/types.rs b/keychain/src/types.rs index 3270308e..d004d3e0 100644 --- a/keychain/src/types.rs +++ b/keychain/src/types.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keychain/src/view_key.rs b/keychain/src/view_key.rs index 4a321bfc..7747c9e1 100644 --- a/keychain/src/view_key.rs +++ b/keychain/src/view_key.rs @@ -1,3 +1,17 @@ +// Copyright 2021 The Grin Developers +// +// 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. + use crate::blake2::blake2b::blake2b; use byteorder::{BigEndian, ByteOrder}; //use crate::sha2::{Digest, Sha256}; diff --git a/p2p/src/codec.rs b/p2p/src/codec.rs index ae0322bc..53278d77 100644 --- a/p2p/src/codec.rs +++ b/p2p/src/codec.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/p2p/src/conn.rs b/p2p/src/conn.rs index dfbbfddc..578dd962 100644 --- a/p2p/src/conn.rs +++ b/p2p/src/conn.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -54,7 +54,7 @@ macro_rules! try_break { // to avoid the heavy polling which will consume CPU 100% thread::sleep(Duration::from_millis(10)); None - } + } Err(Error::Store(_)) | Err(Error::Chain(_)) | Err(Error::Internal) @@ -62,8 +62,8 @@ macro_rules! try_break { Err(ref e) => { debug!("try_break: exit the loop: {:?}", e); break; - } } + } }; } diff --git a/p2p/src/handshake.rs b/p2p/src/handshake.rs index 59d17f09..25855eff 100644 --- a/p2p/src/handshake.rs +++ b/p2p/src/handshake.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/p2p/src/lib.rs b/p2p/src/lib.rs index 203001a2..52db2bec 100644 --- a/p2p/src/lib.rs +++ b/p2p/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/p2p/src/msg.rs b/p2p/src/msg.rs index 92153b6b..86252137 100644 --- a/p2p/src/msg.rs +++ b/p2p/src/msg.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/p2p/src/peer.rs b/p2p/src/peer.rs index 1b28baeb..3d57ba42 100644 --- a/p2p/src/peer.rs +++ b/p2p/src/peer.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/p2p/src/peers.rs b/p2p/src/peers.rs index b0fde05d..de090347 100644 --- a/p2p/src/peers.rs +++ b/p2p/src/peers.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/p2p/src/protocol.rs b/p2p/src/protocol.rs index 9a2cf8b4..9f0122f0 100644 --- a/p2p/src/protocol.rs +++ b/p2p/src/protocol.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/p2p/src/serv.rs b/p2p/src/serv.rs index fd0abf09..784d562a 100644 --- a/p2p/src/serv.rs +++ b/p2p/src/serv.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/p2p/src/store.rs b/p2p/src/store.rs index 17e4211e..37b95065 100644 --- a/p2p/src/store.rs +++ b/p2p/src/store.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/p2p/src/types.rs b/p2p/src/types.rs index 6ca11413..496858fa 100644 --- a/p2p/src/types.rs +++ b/p2p/src/types.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/p2p/tests/capabilities.rs b/p2p/tests/capabilities.rs index 5bdf7107..d07354d2 100644 --- a/p2p/tests/capabilities.rs +++ b/p2p/tests/capabilities.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/p2p/tests/peer_addr.rs b/p2p/tests/peer_addr.rs index 97f2e3a6..645d2c8e 100644 --- a/p2p/tests/peer_addr.rs +++ b/p2p/tests/peer_addr.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/p2p/tests/peer_handshake.rs b/p2p/tests/peer_handshake.rs index 7a3eeded..c4f16c55 100644 --- a/p2p/tests/peer_handshake.rs +++ b/p2p/tests/peer_handshake.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/p2p/tests/ser_deser.rs b/p2p/tests/ser_deser.rs index 7d0767f6..c75faf04 100644 --- a/p2p/tests/ser_deser.rs +++ b/p2p/tests/ser_deser.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pool/fuzz/fuzz_targets/common.rs b/pool/fuzz/fuzz_targets/common.rs index a6405626..65b9c8ee 100644 --- a/pool/fuzz/fuzz_targets/common.rs +++ b/pool/fuzz/fuzz_targets/common.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pool/src/lib.rs b/pool/src/lib.rs index 790b3537..60a70da7 100644 --- a/pool/src/lib.rs +++ b/pool/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pool/src/pool.rs b/pool/src/pool.rs index 5127b094..291eff78 100644 --- a/pool/src/pool.rs +++ b/pool/src/pool.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pool/src/transaction_pool.rs b/pool/src/transaction_pool.rs index 8d4a46e2..42e2c962 100644 --- a/pool/src/transaction_pool.rs +++ b/pool/src/transaction_pool.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pool/src/types.rs b/pool/src/types.rs index a96940e7..4466cfe3 100644 --- a/pool/src/types.rs +++ b/pool/src/types.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pool/tests/block_building.rs b/pool/tests/block_building.rs index d7e78434..986265f4 100644 --- a/pool/tests/block_building.rs +++ b/pool/tests/block_building.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pool/tests/block_max_weight.rs b/pool/tests/block_max_weight.rs index 9928f990..1d4f1279 100644 --- a/pool/tests/block_max_weight.rs +++ b/pool/tests/block_max_weight.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pool/tests/block_reconciliation.rs b/pool/tests/block_reconciliation.rs index 9ce20104..06e7a424 100644 --- a/pool/tests/block_reconciliation.rs +++ b/pool/tests/block_reconciliation.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pool/tests/coinbase_maturity.rs b/pool/tests/coinbase_maturity.rs index 7d845f83..5510997d 100644 --- a/pool/tests/coinbase_maturity.rs +++ b/pool/tests/coinbase_maturity.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pool/tests/common.rs b/pool/tests/common.rs index a7413927..46dd02c6 100644 --- a/pool/tests/common.rs +++ b/pool/tests/common.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pool/tests/nrd_kernel_relative_height.rs b/pool/tests/nrd_kernel_relative_height.rs index 6ceb570c..88bb6935 100644 --- a/pool/tests/nrd_kernel_relative_height.rs +++ b/pool/tests/nrd_kernel_relative_height.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pool/tests/nrd_kernels_disabled.rs b/pool/tests/nrd_kernels_disabled.rs index 222697ad..a06d67ee 100644 --- a/pool/tests/nrd_kernels_disabled.rs +++ b/pool/tests/nrd_kernels_disabled.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pool/tests/nrd_kernels_enabled.rs b/pool/tests/nrd_kernels_enabled.rs index 8479a4f2..588ee720 100644 --- a/pool/tests/nrd_kernels_enabled.rs +++ b/pool/tests/nrd_kernels_enabled.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pool/tests/transaction_pool.rs b/pool/tests/transaction_pool.rs index 61f4a487..128de219 100644 --- a/pool/tests/transaction_pool.rs +++ b/pool/tests/transaction_pool.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/common.rs b/servers/src/common.rs index 67cc12b4..0a1569c3 100644 --- a/servers/src/common.rs +++ b/servers/src/common.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/common/adapters.rs b/servers/src/common/adapters.rs index 95503b72..c97d4914 100644 --- a/servers/src/common/adapters.rs +++ b/servers/src/common/adapters.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/common/hooks.rs b/servers/src/common/hooks.rs index 7fc2ceba..966a5a67 100644 --- a/servers/src/common/hooks.rs +++ b/servers/src/common/hooks.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/common/stats.rs b/servers/src/common/stats.rs index 862c99c5..a0ad11f8 100644 --- a/servers/src/common/stats.rs +++ b/servers/src/common/stats.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/common/types.rs b/servers/src/common/types.rs index 7aebf310..ea83fecf 100644 --- a/servers/src/common/types.rs +++ b/servers/src/common/types.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/grin.rs b/servers/src/grin.rs index b9c89775..ac6a70fd 100644 --- a/servers/src/grin.rs +++ b/servers/src/grin.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/grin/dandelion_monitor.rs b/servers/src/grin/dandelion_monitor.rs index 5b99591f..e2720736 100644 --- a/servers/src/grin/dandelion_monitor.rs +++ b/servers/src/grin/dandelion_monitor.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/grin/seed.rs b/servers/src/grin/seed.rs index 2a29a907..4cd84582 100644 --- a/servers/src/grin/seed.rs +++ b/servers/src/grin/seed.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/grin/server.rs b/servers/src/grin/server.rs index 2cda4eab..9b8b4152 100644 --- a/servers/src/grin/server.rs +++ b/servers/src/grin/server.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/grin/sync.rs b/servers/src/grin/sync.rs index 2f01c286..50a9fe59 100644 --- a/servers/src/grin/sync.rs +++ b/servers/src/grin/sync.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/grin/sync/body_sync.rs b/servers/src/grin/sync/body_sync.rs index e78441f7..cd32218a 100644 --- a/servers/src/grin/sync/body_sync.rs +++ b/servers/src/grin/sync/body_sync.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/grin/sync/header_sync.rs b/servers/src/grin/sync/header_sync.rs index 9fa70d43..ad27dffa 100644 --- a/servers/src/grin/sync/header_sync.rs +++ b/servers/src/grin/sync/header_sync.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/grin/sync/state_sync.rs b/servers/src/grin/sync/state_sync.rs index e1af8817..9883cb51 100644 --- a/servers/src/grin/sync/state_sync.rs +++ b/servers/src/grin/sync/state_sync.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/grin/sync/syncer.rs b/servers/src/grin/sync/syncer.rs index 0b8cea3c..19c797e5 100644 --- a/servers/src/grin/sync/syncer.rs +++ b/servers/src/grin/sync/syncer.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/lib.rs b/servers/src/lib.rs index be3d6a30..22e761be 100644 --- a/servers/src/lib.rs +++ b/servers/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/mining.rs b/servers/src/mining.rs index 79a29ff8..8b73fc2f 100644 --- a/servers/src/mining.rs +++ b/servers/src/mining.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/mining/mine_block.rs b/servers/src/mining/mine_block.rs index 064f4088..748a3ad8 100644 --- a/servers/src/mining/mine_block.rs +++ b/servers/src/mining/mine_block.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/mining/stratumserver.rs b/servers/src/mining/stratumserver.rs index 74e1a895..d213a4c7 100644 --- a/servers/src/mining/stratumserver.rs +++ b/servers/src/mining/stratumserver.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/servers/src/mining/test_miner.rs b/servers/src/mining/test_miner.rs index 3135b6b2..39566971 100644 --- a/servers/src/mining/test_miner.rs +++ b/servers/src/mining/test_miner.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/bin/cmd/client.rs b/src/bin/cmd/client.rs index 92e25c72..d0eac06a 100644 --- a/src/bin/cmd/client.rs +++ b/src/bin/cmd/client.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/bin/cmd/config.rs b/src/bin/cmd/config.rs index f6211a39..f78c34e9 100644 --- a/src/bin/cmd/config.rs +++ b/src/bin/cmd/config.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/bin/cmd/mod.rs b/src/bin/cmd/mod.rs index 86078b7c..9df255ce 100644 --- a/src/bin/cmd/mod.rs +++ b/src/bin/cmd/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/bin/cmd/server.rs b/src/bin/cmd/server.rs index b0c9d5a7..233e4f4a 100644 --- a/src/bin/cmd/server.rs +++ b/src/bin/cmd/server.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/bin/grin.rs b/src/bin/grin.rs index bcd3d33e..c5110f82 100644 --- a/src/bin/grin.rs +++ b/src/bin/grin.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/bin/tui/constants.rs b/src/bin/tui/constants.rs index cc381c79..75c31597 100644 --- a/src/bin/tui/constants.rs +++ b/src/bin/tui/constants.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/bin/tui/logs.rs b/src/bin/tui/logs.rs index eeae7772..e5e8b89b 100644 --- a/src/bin/tui/logs.rs +++ b/src/bin/tui/logs.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/bin/tui/menu.rs b/src/bin/tui/menu.rs index 3711ff4b..3c33e042 100644 --- a/src/bin/tui/menu.rs +++ b/src/bin/tui/menu.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/bin/tui/mining.rs b/src/bin/tui/mining.rs index 7fabb6f9..442124d9 100644 --- a/src/bin/tui/mining.rs +++ b/src/bin/tui/mining.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/bin/tui/mod.rs b/src/bin/tui/mod.rs index a1d3b704..2cdf0c88 100644 --- a/src/bin/tui/mod.rs +++ b/src/bin/tui/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/bin/tui/peers.rs b/src/bin/tui/peers.rs index 2a133227..605785a5 100644 --- a/src/bin/tui/peers.rs +++ b/src/bin/tui/peers.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/bin/tui/status.rs b/src/bin/tui/status.rs index a82bb4ec..4d18cf9e 100644 --- a/src/bin/tui/status.rs +++ b/src/bin/tui/status.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/bin/tui/types.rs b/src/bin/tui/types.rs index b476e6a9..03a6be2a 100644 --- a/src/bin/tui/types.rs +++ b/src/bin/tui/types.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/bin/tui/ui.rs b/src/bin/tui/ui.rs index f5dc912b..19e90199 100644 --- a/src/bin/tui/ui.rs +++ b/src/bin/tui/ui.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/bin/tui/version.rs b/src/bin/tui/version.rs index c6b2025f..6be5007d 100644 --- a/src/bin/tui/version.rs +++ b/src/bin/tui/version.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/build/build.rs b/src/build/build.rs index 78655c44..e65905c4 100644 --- a/src/build/build.rs +++ b/src/build/build.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/store/src/leaf_set.rs b/store/src/leaf_set.rs index ed5477dc..44bf91c9 100644 --- a/store/src/leaf_set.rs +++ b/store/src/leaf_set.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // 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 diff --git a/store/src/lib.rs b/store/src/lib.rs index 8fc27278..60c827ca 100644 --- a/store/src/lib.rs +++ b/store/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/store/src/lmdb.rs b/store/src/lmdb.rs index cd865cb0..6e65e6be 100644 --- a/store/src/lmdb.rs +++ b/store/src/lmdb.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/store/src/pmmr.rs b/store/src/pmmr.rs index 803d9ac4..72f22d6c 100644 --- a/store/src/pmmr.rs +++ b/store/src/pmmr.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // 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 diff --git a/store/src/prune_list.rs b/store/src/prune_list.rs index 9e4f084a..0616b190 100644 --- a/store/src/prune_list.rs +++ b/store/src/prune_list.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/store/src/types.rs b/store/src/types.rs index 3c3d94ac..fa68379c 100644 --- a/store/src/types.rs +++ b/store/src/types.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // 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 diff --git a/store/tests/lmdb.rs b/store/tests/lmdb.rs index 0bbf3c4c..dc3d2329 100644 --- a/store/tests/lmdb.rs +++ b/store/tests/lmdb.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/store/tests/pmmr.rs b/store/tests/pmmr.rs index 1f16a294..08381c63 100644 --- a/store/tests/pmmr.rs +++ b/store/tests/pmmr.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/store/tests/prune_list.rs b/store/tests/prune_list.rs index b56bf349..fff180fa 100644 --- a/store/tests/prune_list.rs +++ b/store/tests/prune_list.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/store/tests/segment.rs b/store/tests/segment.rs index 042a5365..61fef782 100644 --- a/store/tests/segment.rs +++ b/store/tests/segment.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/store/tests/test_bitmap.rs b/store/tests/test_bitmap.rs index 5ef214b9..a8b1388d 100644 --- a/store/tests/test_bitmap.rs +++ b/store/tests/test_bitmap.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/store/tests/utxo_set_perf.rs b/store/tests/utxo_set_perf.rs index 0e0e6641..e3e95a46 100644 --- a/store/tests/utxo_set_perf.rs +++ b/store/tests/utxo_set_perf.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/src/file.rs b/util/src/file.rs index 18c44a21..e8997f64 100644 --- a/util/src/file.rs +++ b/util/src/file.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/src/hex.rs b/util/src/hex.rs index 6a5ff438..ebcec3c0 100644 --- a/util/src/hex.rs +++ b/util/src/hex.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/src/lib.rs b/util/src/lib.rs index ad948e9e..e1237c96 100644 --- a/util/src/lib.rs +++ b/util/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/src/logger.rs b/util/src/logger.rs index 918ca229..ecdbf0ff 100644 --- a/util/src/logger.rs +++ b/util/src/logger.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // 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 diff --git a/util/src/macros.rs b/util/src/macros.rs index 2213bdbe..12400bd9 100644 --- a/util/src/macros.rs +++ b/util/src/macros.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/src/rate_counter.rs b/util/src/rate_counter.rs index 0a9c92e1..18837395 100644 --- a/util/src/rate_counter.rs +++ b/util/src/rate_counter.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/src/secp_static.rs b/util/src/secp_static.rs index f9c2b53e..9dc268eb 100644 --- a/util/src/secp_static.rs +++ b/util/src/secp_static.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/src/types.rs b/util/src/types.rs index 364167c5..3bc9eb76 100644 --- a/util/src/types.rs +++ b/util/src/types.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/src/zip.rs b/util/src/zip.rs index 407f3548..ce75078d 100644 --- a/util/src/zip.rs +++ b/util/src/zip.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/tests/file.rs b/util/tests/file.rs index 66f35c37..b31b6da1 100644 --- a/util/tests/file.rs +++ b/util/tests/file.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/tests/zip.rs b/util/tests/zip.rs index deda2204..1a7379c0 100644 --- a/util/tests/zip.rs +++ b/util/tests/zip.rs @@ -1,4 +1,4 @@ -// Copyright 2020 The Grin Developers +// Copyright 2021 The Grin Developers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.