From 0259ed23ea584523f7617d728e345fee899189c1 Mon Sep 17 00:00:00 2001 From: Quentin Le Sceller Date: Wed, 10 Mar 2021 10:14:48 -0500 Subject: [PATCH] Update copyright year to 2021 (#3592) * Update copyright year to 2021 --- .ci/general-jobs | 2 +- .hooks/pre-commit | 2 +- api/src/auth.rs | 2 +- api/src/client.rs | 2 +- api/src/foreign.rs | 2 +- api/src/foreign_rpc.rs | 2 +- api/src/handlers.rs | 2 +- api/src/handlers/blocks_api.rs | 2 +- api/src/handlers/chain_api.rs | 2 +- api/src/handlers/peers_api.rs | 2 +- api/src/handlers/pool_api.rs | 2 +- api/src/handlers/server_api.rs | 2 +- api/src/handlers/transactions_api.rs | 2 +- api/src/handlers/utils.rs | 2 +- api/src/handlers/version_api.rs | 2 +- api/src/json_rpc.rs | 2 +- api/src/lib.rs | 2 +- api/src/owner.rs | 2 +- api/src/owner_rpc.rs | 2 +- api/src/rest.rs | 2 +- api/src/router.rs | 2 +- api/src/types.rs | 2 +- azure-pipelines.yml | 2 +- chain/src/chain.rs | 2 +- chain/src/error.rs | 2 +- chain/src/lib.rs | 2 +- chain/src/linked_list.rs | 2 +- chain/src/pipe.rs | 2 +- chain/src/store.rs | 2 +- chain/src/txhashset.rs | 2 +- chain/src/txhashset/bitmap_accumulator.rs | 2 +- chain/src/txhashset/rewindable_kernel_view.rs | 2 +- chain/src/txhashset/segmenter.rs | 2 +- chain/src/txhashset/txhashset.rs | 2 +- chain/src/txhashset/utxo_view.rs | 2 +- chain/src/types.rs | 2 +- chain/tests/bitmap_accumulator.rs | 2 +- chain/tests/chain_test_helper.rs | 2 +- chain/tests/data_file_integrity.rs | 2 +- chain/tests/mine_nrd_kernel.rs | 2 +- chain/tests/mine_simple_chain.rs | 2 +- chain/tests/nrd_validation_rules.rs | 2 +- chain/tests/process_block_cut_through.rs | 2 +- chain/tests/store_indices.rs | 2 +- chain/tests/store_kernel_pos_index.rs | 2 +- chain/tests/test_block_known.rs | 2 +- chain/tests/test_coinbase_maturity.rs | 2 +- chain/tests/test_get_kernel_height.rs | 2 +- chain/tests/test_header_weight_validation.rs | 2 +- chain/tests/test_txhashset.rs | 2 +- chain/tests/test_txhashset_archive.rs | 2 +- config/src/comments.rs | 2 +- config/src/config.rs | 2 +- config/src/lib.rs | 2 +- config/src/types.rs | 2 +- core/src/consensus.rs | 2 +- core/src/core.rs | 2 +- core/src/core/block.rs | 2 +- core/src/core/block_sums.rs | 2 +- core/src/core/committed.rs | 2 +- core/src/core/compact_block.rs | 2 +- core/src/core/hash.rs | 2 +- core/src/core/id.rs | 2 +- core/src/core/merkle_proof.rs | 2 +- core/src/core/pmmr.rs | 2 +- core/src/core/pmmr/backend.rs | 2 +- core/src/core/pmmr/pmmr.rs | 2 +- core/src/core/pmmr/readonly_pmmr.rs | 2 +- core/src/core/pmmr/rewindable_pmmr.rs | 2 +- core/src/core/pmmr/segment.rs | 2 +- core/src/core/pmmr/vec_backend.rs | 2 +- core/src/core/transaction.rs | 2 +- core/src/core/verifier_cache.rs | 2 +- core/src/genesis.rs | 2 +- core/src/global.rs | 2 +- core/src/lib.rs | 2 +- core/src/libtx/aggsig.rs | 2 +- core/src/libtx/build.rs | 2 +- core/src/libtx/error.rs | 2 +- core/src/libtx/mod.rs | 2 +- core/src/libtx/proof.rs | 2 +- core/src/libtx/reward.rs | 2 +- core/src/libtx/secp_ser.rs | 2 +- core/src/macros.rs | 2 +- core/src/pow.rs | 2 +- core/src/pow/common.rs | 2 +- core/src/pow/cuckaroo.rs | 2 +- core/src/pow/cuckarood.rs | 2 +- core/src/pow/cuckaroom.rs | 2 +- core/src/pow/cuckarooz.rs | 2 +- core/src/pow/error.rs | 2 +- core/src/pow/siphash.rs | 2 +- core/src/pow/types.rs | 2 +- core/src/ser.rs | 2 +- core/tests/block.rs | 2 +- core/tests/common.rs | 2 +- core/tests/consensus_automated.rs | 2 +- core/tests/consensus_mainnet.rs | 2 +- core/tests/consensus_testnet.rs | 2 +- core/tests/core.rs | 2 +- core/tests/merkle_proof.rs | 2 +- core/tests/pmmr.rs | 2 +- core/tests/segment.rs | 2 +- core/tests/transaction.rs | 2 +- core/tests/vec_backend.rs | 2 +- core/tests/verifier_cache.rs | 2 +- etc/gen_gen/src/bin/gen_gen.rs | 2 +- keychain/src/base58.rs | 2 +- keychain/src/extkey_bip32.rs | 2 +- keychain/src/keychain.rs | 2 +- keychain/src/lib.rs | 2 +- keychain/src/mnemonic.rs | 2 +- keychain/src/types.rs | 2 +- keychain/src/view_key.rs | 14 ++++++++++++++ p2p/src/codec.rs | 2 +- p2p/src/conn.rs | 6 +++--- p2p/src/handshake.rs | 2 +- p2p/src/lib.rs | 2 +- p2p/src/msg.rs | 2 +- p2p/src/peer.rs | 2 +- p2p/src/peers.rs | 2 +- p2p/src/protocol.rs | 2 +- p2p/src/serv.rs | 2 +- p2p/src/store.rs | 2 +- p2p/src/types.rs | 2 +- p2p/tests/capabilities.rs | 2 +- p2p/tests/peer_addr.rs | 2 +- p2p/tests/peer_handshake.rs | 2 +- p2p/tests/ser_deser.rs | 2 +- pool/fuzz/fuzz_targets/common.rs | 2 +- pool/src/lib.rs | 2 +- pool/src/pool.rs | 2 +- pool/src/transaction_pool.rs | 2 +- pool/src/types.rs | 2 +- pool/tests/block_building.rs | 2 +- pool/tests/block_max_weight.rs | 2 +- pool/tests/block_reconciliation.rs | 2 +- pool/tests/coinbase_maturity.rs | 2 +- pool/tests/common.rs | 2 +- pool/tests/nrd_kernel_relative_height.rs | 2 +- pool/tests/nrd_kernels_disabled.rs | 2 +- pool/tests/nrd_kernels_enabled.rs | 2 +- pool/tests/transaction_pool.rs | 2 +- servers/src/common.rs | 2 +- servers/src/common/adapters.rs | 2 +- servers/src/common/hooks.rs | 2 +- servers/src/common/stats.rs | 2 +- servers/src/common/types.rs | 2 +- servers/src/grin.rs | 2 +- servers/src/grin/dandelion_monitor.rs | 2 +- servers/src/grin/seed.rs | 2 +- servers/src/grin/server.rs | 2 +- servers/src/grin/sync.rs | 2 +- servers/src/grin/sync/body_sync.rs | 2 +- servers/src/grin/sync/header_sync.rs | 2 +- servers/src/grin/sync/state_sync.rs | 2 +- servers/src/grin/sync/syncer.rs | 2 +- servers/src/lib.rs | 2 +- servers/src/mining.rs | 2 +- servers/src/mining/mine_block.rs | 2 +- servers/src/mining/stratumserver.rs | 2 +- servers/src/mining/test_miner.rs | 2 +- src/bin/cmd/client.rs | 2 +- src/bin/cmd/config.rs | 2 +- src/bin/cmd/mod.rs | 2 +- src/bin/cmd/server.rs | 2 +- src/bin/grin.rs | 2 +- src/bin/tui/constants.rs | 2 +- src/bin/tui/logs.rs | 2 +- src/bin/tui/menu.rs | 2 +- src/bin/tui/mining.rs | 2 +- src/bin/tui/mod.rs | 2 +- src/bin/tui/peers.rs | 2 +- src/bin/tui/status.rs | 2 +- src/bin/tui/types.rs | 2 +- src/bin/tui/ui.rs | 2 +- src/bin/tui/version.rs | 2 +- src/build/build.rs | 2 +- store/src/leaf_set.rs | 2 +- store/src/lib.rs | 2 +- store/src/lmdb.rs | 2 +- store/src/pmmr.rs | 2 +- store/src/prune_list.rs | 2 +- store/src/types.rs | 2 +- store/tests/lmdb.rs | 2 +- store/tests/pmmr.rs | 2 +- store/tests/prune_list.rs | 2 +- store/tests/segment.rs | 2 +- store/tests/test_bitmap.rs | 2 +- store/tests/utxo_set_perf.rs | 2 +- util/src/file.rs | 2 +- util/src/hex.rs | 2 +- util/src/lib.rs | 2 +- util/src/logger.rs | 2 +- util/src/macros.rs | 2 +- util/src/rate_counter.rs | 2 +- util/src/secp_static.rs | 2 +- util/src/types.rs | 2 +- util/src/zip.rs | 2 +- util/tests/file.rs | 2 +- util/tests/zip.rs | 2 +- 201 files changed, 216 insertions(+), 202 deletions(-) diff --git a/.ci/general-jobs b/.ci/general-jobs index e9612d1c8..4945ed382 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 8056d6cb8..7c029edeb 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 7c2b00d76..55c856a44 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 7ed935654..2cbd8ff71 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 7860bfb3f..ba2907a10 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 85673404c..c4bbc3b43 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 4cfe125f6..29064d6b9 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 0860149e4..fb419d0d9 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 116063ddf..318ebbb54 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 65b8c6141..c539f43e0 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 9f46e04e3..d5c6dfdda 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 4802bf839..6e47f1c30 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 3b931c873..05f0fba65 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 cb308640e..35df9ba13 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 d67e35e54..cd1d7ff28 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 5978fc4a8..6728ca705 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 54620bc29..7a31e26fd 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 ff0177bf4..483f74db3 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 f8c3cdc48..44799793c 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 01d10544f..7139cd442 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 1c1bf0145..8f3b503df 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 3945341de..6af238a45 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 762c622b5..d60e544b4 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 47d1ec756..ca547786e 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 6bc87fce5..a110d9763 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 157275239..cd12a665d 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 5c46fa1d0..113a1a3bf 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 02c9b5082..221e09ea2 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 ca28bf00d..d89112ca3 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 1926d7d79..a91b3e0fc 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 5aab93cf4..057e01667 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 3fcec1a58..b2b2c2c4c 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 ccf21eeb5..b614125a4 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 3ea6eab0f..f4893ef8c 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 3eb2e40c6..4d2bfe88a 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 bbcfebd8d..4dc4900a2 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 5d4803038..39844b592 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 849adbf9c..8641257d8 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 76a1e95fc..ffe25a57a 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 fb0429250..bf5001df7 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 69bae8b2c..63a798366 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 7cce9027a..8551657ee 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 89c075938..a296c5871 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 a0f5b2f98..5cc193565 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 1b74502c5..664e2818c 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 937756a6f..f9c9f050e 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 e283f9d21..d7b24a779 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 4112c45db..9a9e976cd 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 17f816314..3cfc5300d 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 3210dd341..36b23e844 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 0b1336317..67e252203 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 078f78661..d415c4732 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 5a71a20af..34c0e3572 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 e1ef7de8a..936198d29 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 4387e49f7..82cd1440d 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 60c1cbb46..1a47840c5 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 c90aa7969..386e201c9 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 fe06bae0a..46d819024 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 b6b05c886..923b244fb 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 db6124cdb..bd8276d75 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 d61524ee1..42f72ab88 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 2dc968fa4..38daee68a 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 dec4fea2c..3f303de11 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 8711ab5fc..3b4a1a722 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 a294eba24..6c2387714 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 60c194a0c..f1ce870fd 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 5492a24c6..820423782 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 a27c898ad..6b71cb930 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 a3b927434..fee03394b 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 771eaf3be..7d885e4b8 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 e9d444e14..c281be1fa 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 58874c2d8..ca5a4e04d 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 6e1a0836e..26453e65e 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 aa749500a..e2b252a7a 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 a64c2e9bd..9b67d9369 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 45e59fc49..bc7434c12 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 551bcbc2b..266c47520 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 0693bd0f6..ffc4a0500 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 4141be8a2..9b2ae16b5 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 c7080d306..c87aa77f4 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 1f595bca6..e5e13fc0f 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 403c0f9a3..148436eee 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 54d03343f..f09aaafa5 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 32243b7be..084ecf6a5 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 689de94d6..75f35aee2 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 ddd0875b3..4d0bee03d 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 ab43423bf..ee7f06484 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 61fd7e5e2..16c9128cf 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 dd0aa8ae5..c8814a0af 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 730140b34..414adc8a5 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 946ac26b0..1dfe55587 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 7e9a5f630..566f4672f 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 7eb6c5d3c..1773176b5 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 78bd79c3b..169c2a00a 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 f8bf6a381..59ed9361f 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 7f2f85071..293e98f43 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 67f82fe93..50952d340 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 df7fa8137..84a77971a 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 a1ce758fe..12a1b89e1 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 3df78de43..a83dc37fd 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 f0e6d6bf8..f45cc9636 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 46a862f73..70e5549ed 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 c70a73e6f..faf58d39d 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 423a67c58..e4c340161 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 4ac4419df..8193548e6 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 92bc3763f..495b302ba 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 324891166..0c57d04de 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 6429fd86b..15f4d6a7f 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 f28a13222..321852c26 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 fdb84071a..c9bbbd14a 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 04461e526..128413281 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 9a26155b2..75cad8594 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 3270308e4..d004d3e02 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 4a321bfc1..7747c9e1d 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 ae0322bc6..53278d777 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 dfbbfddce..578dd962b 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 59d17f098..25855effc 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 203001a2e..52db2bece 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 92153b6b9..86252137c 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 1b28baeba..3d57ba423 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 b0fde05da..de0903470 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 9a2cf8b4c..9f0122f08 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 fd0abf090..784d562ab 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 17e4211ee..37b95065b 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 6ca114137..496858fae 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 5bdf7107a..d07354d2f 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 97f2e3a68..645d2c8e2 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 7a3eeded7..c4f16c559 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 7d0767f62..c75faf049 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 a64056268..65b9c8eec 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 790b3537e..60a70da78 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 5127b0947..291eff780 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 8d4a46e2b..42e2c962c 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 a96940e7d..4466cfe3d 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 d7e784341..986265f4d 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 9928f990b..1d4f12799 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 9ce20104a..06e7a4245 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 7d845f838..5510997dd 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 a7413927c..46dd02c6c 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 6ceb570ce..88bb6935c 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 222697ad9..a06d67ee2 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 8479a4f22..588ee7209 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 61f4a4876..128de2196 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 67cc12b40..0a1569c3b 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 95503b727..c97d49148 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 7fc2ceba7..966a5a677 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 862c99c50..a0ad11f88 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 7aebf3108..ea83fecf8 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 b9c897751..ac6a70fdf 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 5b99591fd..e2720736d 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 2a29a907a..4cd845820 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 2cda4eab8..9b8b4152d 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 2f01c286d..50a9fe591 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 e78441f78..cd32218a3 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 9fa70d43e..ad27dffae 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 e1af88170..9883cb51c 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 0b8cea3cb..19c797e57 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 be3d6a30a..22e761bea 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 79a29ff81..8b73fc2f9 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 064f40885..748a3ad8e 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 74e1a8955..d213a4c72 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 3135b6b27..395669716 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 92e25c728..d0eac06ac 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 f6211a39c..f78c34e98 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 86078b7c7..9df255ce0 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 b0c9d5a76..233e4f4af 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 bcd3d33e0..c5110f822 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 cc381c792..75c31597e 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 eeae77721..e5e8b89b5 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 3711ff4b1..3c33e0429 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 7fabb6f99..442124d97 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 a1d3b7040..2cdf0c886 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 2a133227c..605785a50 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 a82bb4ec0..4d18cf9e0 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 b476e6a96..03a6be2a7 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 f5dc912b8..19e901999 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 c6b2025f7..6be5007d0 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 78655c440..e65905c4b 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 ed5477dc6..44bf91c9c 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 8fc27278d..60c827cae 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 cd865cb00..6e65e6be6 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 803d9ac45..72f22d6c4 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 9e4f084a9..0616b1906 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 3c3d94aca..fa68379c5 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 0bbf3c4c4..dc3d2329f 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 1f16a2941..08381c63f 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 b56bf349f..fff180faa 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 042a5365a..61fef7828 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 5ef214b98..a8b1388d1 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 0e0e66412..e3e95a46a 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 18c44a210..e8997f646 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 6a5ff438b..ebcec3c0c 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 ad948e9ed..e1237c965 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 918ca2299..ecdbf0ffd 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 2213bdbe4..12400bd9f 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 0a9c92e1e..188373953 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 f9c2b53e3..9dc268eb9 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 364167c58..3bc9eb764 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 407f35480..ce75078da 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 66f35c37e..b31b6da13 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 deda2204d..1a7379c02 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.