From cabab2c0bdd2386e05a2eb3e5d53240289db43df Mon Sep 17 00:00:00 2001 From: Xiaobo Tian Date: Thu, 27 Feb 2020 20:11:00 +0800 Subject: [PATCH] Update license date Signed-off-by: Xiaobo Tian --- .header.cfg | 2 +- account/account.go | 2 +- account/client.go | 4 ++-- account/common.go | 2 +- account/fileStore.go | 2 +- auxpow/auxpow.go | 2 +- auxpow/auxpow_test.go | 4 ++-- auxpow/btcfaker.go | 2 +- auxpow/btcheader.go | 2 +- auxpow/btctx.go | 2 +- benchmark/common/cli/flags.go | 5 +++++ benchmark/common/tx/fixamontassigner.go | 5 +++++ benchmark/common/tx/interface.go | 5 +++++ benchmark/common/tx/nochangesevenassigner.go | 5 +++++ benchmark/common/tx/transferasset.go | 5 +++++ benchmark/common/utils/random.go | 5 +++++ benchmark/common/utils/sign.go | 5 +++++ benchmark/process/runtoheight_test.go | 5 +++++ benchmark/process/singleblock_test.go | 5 +++++ benchmark/profile/cpu.go | 5 +++++ benchmark/profile/gc.go | 5 +++++ benchmark/profile/profile.go | 5 +++++ benchmark/profile/trace.go | 5 +++++ benchmark/special/serialize_test.go | 5 +++++ benchmark/sync/synctobestheight_test.go | 5 +++++ benchmark/tools/generator/chain/datagen.go | 5 +++++ benchmark/tools/generator/chain/params.go | 5 +++++ benchmark/tools/generator/chain/params_test.go | 5 +++++ benchmark/tools/generator/chain/txrepository.go | 5 +++++ benchmark/tools/generator/chain/txrepository_test.go | 5 +++++ benchmark/tools/generator/chain/utils.go | 5 +++++ benchmark/tools/generator/main.go | 5 +++++ benchmark/tools/inputcounter/calculator/calculator.go | 5 +++++ .../tools/inputcounter/calculator/multiinputsofoneaccount.go | 5 +++++ benchmark/tools/inputcounter/calculator/singleinputoutput.go | 5 +++++ benchmark/tools/inputcounter/main.go | 5 +++++ blockchain/blockchain.go | 4 ++-- blockchain/blockindex.go | 4 ++-- blockchain/blockvalidator.go | 4 ++-- blockchain/blockvalidator_test.go | 4 ++-- blockchain/chainio.go | 5 +++++ blockchain/chainstore.go | 4 ++-- blockchain/chainstore_test.go | 4 ++-- blockchain/chainstoreffldb.go | 4 ++-- blockchain/confirmvalidator.go | 2 +- blockchain/confirmvalidator_test.go | 4 ++-- blockchain/dataentryprefix.go | 2 +- blockchain/difficulty.go | 4 ++-- blockchain/difficulty_test.go | 4 ++-- blockchain/heightversion.go | 2 +- blockchain/indexers/common.go | 5 +++++ blockchain/indexers/manager.go | 5 +++++ blockchain/indexers/tx3index.go | 4 ++-- blockchain/indexers/tx3index_test.go | 4 ++-- blockchain/indexers/txindex.go | 5 +++++ blockchain/indexers/unspentindex.go | 4 ++-- blockchain/indexers/unspentindex_test.go | 4 ++-- blockchain/indexers/utxoindex.go | 4 ++-- blockchain/indexers/utxoindex_test.go | 4 ++-- blockchain/iterator.go | 2 +- blockchain/ledger.go | 4 ++-- blockchain/ledgerstore.go | 4 ++-- blockchain/leveldb.go | 4 ++-- blockchain/store.go | 2 +- blockchain/txvalidator.go | 4 ++-- blockchain/txvalidator_specailtx_test.go | 4 ++-- blockchain/txvalidator_test.go | 4 ++-- blockchain/upgrade.go | 2 +- blockchain/utxocache.go | 4 ++-- blockchain/utxocache_test.go | 4 ++-- blockchain/validation.go | 2 +- blockchain/validation_test.go | 4 ++-- blockchain/weight.go | 2 +- cmd/common/common.go | 2 +- cmd/common/flags.go | 4 ++-- cmd/common/print.go | 2 +- cmd/ela-cli.go | 2 +- cmd/info/info.go | 2 +- cmd/mine/mine.go | 2 +- cmd/rollback/rollback.go | 4 ++-- cmd/script/api/api.go | 4 ++-- cmd/script/api/arbitrators.go | 2 +- cmd/script/api/attribute.go | 2 +- cmd/script/api/block.go | 2 +- cmd/script/api/clienttype.go | 2 +- cmd/script/api/confirm.go | 2 +- cmd/script/api/dposmanager.go | 2 +- cmd/script/api/dposnetwork.go | 2 +- cmd/script/api/header.go | 2 +- cmd/script/api/illegalblocks.go | 2 +- cmd/script/api/illegalproposals.go | 2 +- cmd/script/api/illegalvotes.go | 2 +- cmd/script/api/inputtype.go | 2 +- cmd/script/api/mock/dposnetwork.go | 2 +- cmd/script/api/mock/peer.go | 2 +- cmd/script/api/outputtype.go | 4 ++-- cmd/script/api/payloadtype.go | 4 ++-- cmd/script/api/program.go | 2 +- cmd/script/api/proposal.go | 4 ++-- cmd/script/api/strings.go | 2 +- cmd/script/api/txtype.go | 4 ++-- cmd/script/api/vote.go | 2 +- cmd/script/script.go | 4 ++-- cmd/wallet/account.go | 4 ++-- cmd/wallet/common.go | 2 +- cmd/wallet/transaction.go | 4 ++-- cmd/wallet/txbuilder.go | 4 ++-- cmd/wallet/wallet.go | 2 +- common/common.go | 4 ++-- common/common_test.go | 2 +- common/config/config.go | 4 ++-- common/config/params.go | 4 ++-- common/config/params_test.go | 2 +- common/config/settings/settings.go | 4 ++-- common/error.go | 2 +- common/fixed64.go | 4 ++-- common/log/log.go | 2 +- common/serialize.go | 4 ++-- common/uint160.go | 2 +- common/uint168.go | 2 +- common/uint168_test.go | 2 +- common/uint256.go | 2 +- common/uint256_test.go | 2 +- core/checkpoint/channels.go | 2 +- core/checkpoint/channels_test.go | 2 +- core/checkpoint/manager.go | 4 ++-- core/checkpoint/manager_test.go | 2 +- core/contract/common.go | 2 +- core/contract/contract.go | 2 +- core/contract/contract_test.go | 2 +- core/contract/crdid.go | 2 +- core/contract/crosschain.go | 2 +- core/contract/multisig.go | 4 ++-- core/contract/pledge.go | 2 +- core/contract/program/program.go | 2 +- core/contract/program/programbuilder.go | 2 +- core/contract/standard.go | 4 ++-- core/types/attribute.go | 2 +- core/types/block.go | 4 ++-- core/types/dposblock.go | 2 +- core/types/dposheader.go | 2 +- core/types/header.go | 2 +- core/types/input.go | 2 +- core/types/outpoint.go | 2 +- core/types/output.go | 2 +- core/types/output_test.go | 2 +- core/types/outputpayload/default.go | 2 +- core/types/outputpayload/mapping.go | 2 +- core/types/outputpayload/mapping_test.go | 2 +- core/types/outputpayload/vote.go | 4 ++-- core/types/outputpayload/vote_test.go | 2 +- core/types/payload/activateproducer.go | 2 +- core/types/payload/asset.go | 2 +- core/types/payload/coinbase.go | 2 +- core/types/payload/confirm.go | 2 +- core/types/payload/crcappropriation.go | 4 ++-- core/types/payload/crcproposal.go | 4 ++-- core/types/payload/crcproposalreview.go | 4 ++-- core/types/payload/crcproposaltracking.go | 4 ++-- core/types/payload/crcproposalwithdraw.go | 4 ++-- core/types/payload/crinfo.go | 2 +- core/types/payload/dposillegalblocks.go | 2 +- core/types/payload/dposillegaldata.go | 2 +- core/types/payload/dposillegalproposals.go | 2 +- core/types/payload/dposillegalvotes.go | 2 +- core/types/payload/dposproposal.go | 2 +- core/types/payload/dposproposalvote.go | 2 +- core/types/payload/inactivearbitrators.go | 2 +- core/types/payload/processproducer.go | 2 +- core/types/payload/producerinfo.go | 2 +- core/types/payload/record.go | 2 +- core/types/payload/registerasset.go | 2 +- core/types/payload/returnpledgecoin.go | 2 +- core/types/payload/sidechainillegaldata.go | 2 +- core/types/payload/sidechainpow.go | 2 +- core/types/payload/transferasset.go | 2 +- core/types/payload/transfercrosschainasset.go | 2 +- core/types/payload/unregistercr.go | 4 ++-- core/types/payload/updateversion.go | 2 +- core/types/payload/withdrawfromsidechain.go | 2 +- core/types/transaction.go | 4 ++-- core/types/transaction_test.go | 4 ++-- core/types/utxo.go | 4 ++-- cr/state/ICRRecord.go | 2 +- cr/state/candidate.go | 4 ++-- cr/state/candidate_test.go | 4 ++-- cr/state/checkpoint.go | 4 ++-- cr/state/committee.go | 4 ++-- cr/state/committee_test.go | 4 ++-- cr/state/committeeaction.go | 4 ++-- cr/state/keyframe.go | 4 ++-- cr/state/keyframe_test.go | 4 ++-- cr/state/log.go | 2 +- cr/state/proposalmanager.go | 4 ++-- cr/state/proposalmanager_test.go | 4 ++-- cr/state/state.go | 4 ++-- cr/state/state_test.go | 4 ++-- crypto/aes.go | 2 +- crypto/common.go | 2 +- crypto/crypto.go | 2 +- crypto/crypto_test.go | 2 +- crypto/encode.go | 2 +- crypto/merkletree.go | 2 +- database/doc.go | 4 ++-- database/driver.go | 4 ++-- database/driver_test.go | 4 ++-- database/error.go | 4 ++-- database/error_test.go | 4 ++-- database/export_test.go | 4 ++-- database/ffldb/blockio.go | 4 ++-- database/ffldb/db.go | 4 ++-- database/ffldb/dbcache.go | 4 ++-- database/ffldb/doc.go | 4 ++-- database/ffldb/driver.go | 4 ++-- database/ffldb/ldbtreapiter.go | 4 ++-- database/ffldb/reconcile.go | 4 ++-- database/interface.go | 4 ++-- database/internal/treap/common.go | 4 ++-- database/internal/treap/common_test.go | 4 ++-- database/internal/treap/doc.go | 4 ++-- database/internal/treap/immutable.go | 4 ++-- database/internal/treap/immutable_test.go | 4 ++-- database/internal/treap/mutable.go | 4 ++-- database/internal/treap/mutable_test.go | 4 ++-- database/internal/treap/treapiter.go | 4 ++-- database/internal/treap/treapiter_test.go | 4 ++-- dpos/account/account.go | 2 +- dpos/arbitrator.go | 4 ++-- dpos/log/eventlogs.go | 2 +- dpos/log/eventmonitor.go | 2 +- dpos/log/log.go | 4 ++-- dpos/manager/consensus.go | 2 +- dpos/manager/consensusblockcache.go | 2 +- dpos/manager/dposhandlerswitch.go | 2 +- dpos/manager/dposmanager.go | 4 ++-- dpos/manager/dposnormalhandler.go | 2 +- dpos/manager/dposondutyhandler.go | 2 +- dpos/manager/eventanalyzer.go | 2 +- dpos/manager/evidencecache.go | 2 +- dpos/manager/illegalbehaviormonitor.go | 2 +- dpos/manager/proposaldispatcher.go | 2 +- dpos/manager/view.go | 2 +- dpos/manager/viewchangescountdown.go | 2 +- dpos/network.go | 4 ++-- dpos/p2p/addrmgr/addrmanager.go | 4 ++-- dpos/p2p/addrmgr/addrmanager_test.go | 2 +- dpos/p2p/addrmgr/log.go | 2 +- dpos/p2p/config.go | 2 +- dpos/p2p/connmgr/connmanager.go | 2 +- dpos/p2p/connmgr/log.go | 2 +- dpos/p2p/hub/conn.go | 2 +- dpos/p2p/hub/hub.go | 2 +- dpos/p2p/hub/hub_test.go | 4 ++-- dpos/p2p/hub/log.go | 2 +- dpos/p2p/interface.go | 2 +- dpos/p2p/log.go | 2 +- dpos/p2p/msg/addr.go | 2 +- dpos/p2p/msg/commands.go | 2 +- dpos/p2p/msg/consensusstatus.go | 2 +- dpos/p2p/msg/getblock.go | 2 +- dpos/p2p/msg/getblocks.go | 2 +- dpos/p2p/msg/illegalproposals.go | 2 +- dpos/p2p/msg/illegalvotes.go | 2 +- dpos/p2p/msg/inventory.go | 2 +- dpos/p2p/msg/ping.go | 2 +- dpos/p2p/msg/pong.go | 2 +- dpos/p2p/msg/proposal.go | 2 +- dpos/p2p/msg/reject.go | 2 +- dpos/p2p/msg/requestconsensus.go | 2 +- dpos/p2p/msg/requestproposal.go | 2 +- dpos/p2p/msg/responseblocks.go | 2 +- dpos/p2p/msg/responseconsensus.go | 2 +- dpos/p2p/msg/responseinactivearbitrators.go | 2 +- dpos/p2p/msg/sidechainillegaldata.go | 2 +- dpos/p2p/msg/verack.go | 2 +- dpos/p2p/msg/version.go | 2 +- dpos/p2p/msg/vote.go | 2 +- dpos/p2p/notifier.go | 2 +- dpos/p2p/notifier_test.go | 2 +- dpos/p2p/server.go | 4 ++-- dpos/p2p/server_test.go | 2 +- dpos/state/arbitermember.go | 4 ++-- dpos/state/arbitermember_test.go | 4 ++-- dpos/state/arbitrators.go | 4 ++-- dpos/state/arbitrators_test.go | 4 ++-- dpos/state/arbitratorsmock.go | 4 ++-- dpos/state/checkpoint.go | 4 ++-- dpos/state/crarbiter_test.go | 4 ++-- dpos/state/crcarbiter.go | 4 ++-- dpos/state/degradation.go | 2 +- dpos/state/dposarbiter.go | 4 ++-- dpos/state/dposarbiter_test.go | 4 ++-- dpos/state/heightversion.go | 4 ++-- dpos/state/heightversion_test.go | 4 ++-- dpos/state/interface.go | 4 ++-- dpos/state/keyframe.go | 4 ++-- dpos/state/keyframe_test.go | 4 ++-- dpos/state/log.go | 2 +- dpos/state/originarbiter.go | 4 ++-- dpos/state/originarbiter_test.go | 4 ++-- dpos/state/state.go | 4 ++-- dpos/state/state_test.go | 4 ++-- elanet/dns/dns.go | 2 +- elanet/dns/dns_test.go | 2 +- elanet/dns/log.go | 2 +- elanet/dns/main/main.go | 2 +- elanet/filter/filter.go | 2 +- elanet/filter/merkleblock.go | 2 +- elanet/filter/sidefilter/sidefilter.go | 2 +- elanet/interface.go | 2 +- elanet/log.go | 2 +- elanet/netsync/interface.go | 2 +- elanet/netsync/log.go | 2 +- elanet/netsync/manager.go | 4 ++-- elanet/pact/protocol.go | 4 ++-- elanet/peer/log.go | 2 +- elanet/peer/mruinvmap.go | 2 +- elanet/peer/mruinvmap_test.go | 2 +- elanet/peer/peer.go | 2 +- elanet/routes/log.go | 2 +- elanet/routes/routes.go | 2 +- elanet/routes/routes_test.go | 2 +- elanet/server.go | 4 ++-- elanet/server_test.go | 4 ++-- errors/elaerror.go | 4 ++-- errors/errcode.go | 4 ++-- errors/errcode_test.go | 4 ++-- errors/errmap.go | 4 ++-- errors/errmap_test.go | 4 ++-- errors/jsonformat.go | 4 ++-- errors/jsonformat_test.go | 4 ++-- events/events.go | 2 +- events/events_test.go | 4 ++-- log.go | 2 +- main.go | 4 ++-- mempool/blockevidence.go | 4 ++-- mempool/blockpool.go | 4 ++-- mempool/conflictfunc.go | 5 +++++ mempool/conflictmanager.go | 5 +++++ mempool/conflictmanager_test.go | 5 +++++ mempool/conflictslot.go | 4 ++-- mempool/conflictslot_test.go | 5 +++++ mempool/txfeeorderedlist.go | 5 +++++ mempool/txfeeorderedlist_bench_test.go | 5 +++++ mempool/txfeeorderedlist_test.go | 5 +++++ mempool/txpool.go | 4 ++-- mempool/txpool_test.go | 4 ++-- mempool/txpoolcheckpoint.go | 5 +++++ p2p/addrmgr/addrmanager.go | 4 ++-- p2p/addrmgr/addrmanager_test.go | 2 +- p2p/addrmgr/internal_test.go | 2 +- p2p/addrmgr/knownaddress.go | 2 +- p2p/addrmgr/knownaddress_test.go | 2 +- p2p/addrmgr/log.go | 2 +- p2p/addrmgr/network.go | 2 +- p2p/addrmgr/network_test.go | 2 +- p2p/connmgr/connmanager.go | 2 +- p2p/connmgr/connmanager_test.go | 2 +- p2p/connmgr/dynamicbanscore.go | 2 +- p2p/connmgr/dynamicbanscore_test.go | 2 +- p2p/connmgr/log.go | 2 +- p2p/connmgr/tor.go | 2 +- p2p/header.go | 2 +- p2p/message.go | 4 ++-- p2p/msg/addr.go | 2 +- p2p/msg/block.go | 2 +- p2p/msg/daddr.go | 2 +- p2p/msg/empty.go | 2 +- p2p/msg/filteradd.go | 2 +- p2p/msg/filterclear.go | 2 +- p2p/msg/filterload.go | 2 +- p2p/msg/getaddr.go | 2 +- p2p/msg/getblocks.go | 2 +- p2p/msg/getdata.go | 2 +- p2p/msg/inv.go | 2 +- p2p/msg/invvect.go | 2 +- p2p/msg/mempool.go | 2 +- p2p/msg/merkleblock.go | 2 +- p2p/msg/notfound.go | 2 +- p2p/msg/ping.go | 2 +- p2p/msg/pong.go | 2 +- p2p/msg/reject.go | 2 +- p2p/msg/tx.go | 2 +- p2p/msg/txfilterload.go | 2 +- p2p/msg/verack.go | 2 +- p2p/msg/version.go | 2 +- p2p/nafilter.go | 2 +- p2p/netaddress.go | 2 +- p2p/peer/log.go | 2 +- p2p/peer/peer.go | 4 ++-- p2p/server/config.go | 4 ++-- p2p/server/interface.go | 2 +- p2p/server/log.go | 2 +- p2p/server/mrunoncemap.go | 2 +- p2p/server/mrunoncemap_test.go | 2 +- p2p/server/seed.go | 2 +- p2p/server/server.go | 4 ++-- pow/service.go | 4 ++-- pow/service_test.go | 4 ++-- servers/common.go | 4 ++-- servers/errors/errcode.go | 2 +- servers/errors/errcode_test.go | 2 +- servers/httpjsonrpc/server.go | 4 ++-- servers/httpnodeinfo/server.go | 2 +- servers/httpnodeinfo/template.go | 2 +- servers/httprestful/router.go | 2 +- servers/httprestful/server.go | 2 +- servers/httpwebsocket/server.go | 2 +- servers/httpwebsocket/session.go | 2 +- servers/interfaces.go | 4 ++-- servers/params.go | 2 +- test/common/ansicolors.lua | 2 +- test/common/test_utils.lua | 2 +- test/transaction/activate_producer_tx.lua | 2 +- test/transaction/cancel_producer_tx.lua | 2 +- test/transaction/common.lua | 2 +- test/transaction/crc_proposal_review.lua | 2 +- test/transaction/crc_proposal_tracking.lua | 5 +++++ test/transaction/crc_proposal_tx.lua | 2 +- test/transaction/crc_proposal_withdraw.lua | 2 +- test/transaction/normal_multi_output.lua | 4 ++-- test/transaction/normal_tx.lua | 2 +- test/transaction/register_cr_tx.lua | 2 +- test/transaction/register_producer_tx.lua | 2 +- test/transaction/return_cr_deposit_coin.lua | 2 +- test/transaction/return_deposit_coin.lua | 2 +- test/transaction/sidechainpow_tx.lua | 2 +- test/transaction/unregister_cr_tx.lua | 2 +- test/transaction/update_cr_tx.lua | 2 +- test/transaction/update_producer_tx.lua | 2 +- test/transaction/vote_cr_tx.lua | 2 +- test/transaction/vote_crc_impeachment_tx.lua | 2 +- test/transaction/vote_crc_proposal_tx.lua | 2 +- test/transaction/vote_tx.lua | 2 +- test/white_box/dpos/illegal_proposals.lua | 2 +- test/white_box/dpos/normal_one_view_success.lua | 2 +- test/white_box/dpos/onduty_one_view_success.lua | 2 +- test/white_box/dpos_manager.lua | 2 +- test/white_box/dpos_msg.lua | 2 +- test/white_box/dpos_test_suite.lua | 2 +- test/white_box/log_config.lua | 2 +- test/white_box/main/test_all.lua | 2 +- utils/common.go | 2 +- utils/elalog/filewriter.go | 2 +- utils/elalog/interface.go | 2 +- utils/elalog/log.go | 2 +- utils/gpath/gpath.go | 2 +- utils/gpath/gpath_test.go | 2 +- utils/history.go | 4 ++-- utils/history_test.go | 4 ++-- utils/http/error.go | 2 +- utils/http/jsonrpc/server.go | 2 +- utils/http/jsonrpc/server_test.go | 2 +- utils/http/jsonrpc/util.go | 2 +- utils/http/params.go | 2 +- utils/http/restful/route.go | 2 +- utils/http/restful/server.go | 2 +- utils/http/restful/server_test.go | 2 +- utils/signal/interrupt.go | 2 +- utils/test/test.go | 4 ++-- vm/opcode.go | 2 +- wallet/coin.go | 2 +- wallet/coin_test.go | 2 +- wallet/coincheckpoint.go | 2 +- wallet/coincheckpoint_test.go | 2 +- wallet/common.go | 2 +- wallet/ownedcoins.go | 2 +- wallet/ownedcoins_test.go | 2 +- wallet/wallet.go | 4 ++-- wallet/wallet_test.go | 2 +- 470 files changed, 778 insertions(+), 583 deletions(-) diff --git a/.header.cfg b/.header.cfg index 3d4b57507..27ce76b19 100644 --- a/.header.cfg +++ b/.header.cfg @@ -19,7 +19,7 @@ ], "UseDefaultExcludes": true, "Properties": { - "Year": "2017-2019", + "Year": "2017-2020", "Owner": "The Elastos Foundation" } } diff --git a/account/account.go b/account/account.go index 56914c7b0..9ff2659ca 100644 --- a/account/account.go +++ b/account/account.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/account/client.go b/account/client.go index 5ba9afe17..f9d6aac83 100644 --- a/account/client.go +++ b/account/client.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package account diff --git a/account/common.go b/account/common.go index af17ba5e5..59fd04876 100644 --- a/account/common.go +++ b/account/common.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/account/fileStore.go b/account/fileStore.go index a47286fac..445710b8d 100644 --- a/account/fileStore.go +++ b/account/fileStore.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/auxpow/auxpow.go b/auxpow/auxpow.go index 67910cccc..15a1b6517 100644 --- a/auxpow/auxpow.go +++ b/auxpow/auxpow.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/auxpow/auxpow_test.go b/auxpow/auxpow_test.go index dcd656e2f..30fcec253 100644 --- a/auxpow/auxpow_test.go +++ b/auxpow/auxpow_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package auxpow diff --git a/auxpow/btcfaker.go b/auxpow/btcfaker.go index 235d5abfe..69981cccf 100644 --- a/auxpow/btcfaker.go +++ b/auxpow/btcfaker.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/auxpow/btcheader.go b/auxpow/btcheader.go index 2fcaecdb7..15e3437f3 100644 --- a/auxpow/btcheader.go +++ b/auxpow/btcheader.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/auxpow/btctx.go b/auxpow/btctx.go index 9609ccf53..7466bdf3c 100644 --- a/auxpow/btctx.go +++ b/auxpow/btctx.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/benchmark/common/cli/flags.go b/benchmark/common/cli/flags.go index 3dc65f3b2..aa03911a4 100644 --- a/benchmark/common/cli/flags.go +++ b/benchmark/common/cli/flags.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package cli import ( diff --git a/benchmark/common/tx/fixamontassigner.go b/benchmark/common/tx/fixamontassigner.go index 980a9f8a3..fd3811747 100644 --- a/benchmark/common/tx/fixamontassigner.go +++ b/benchmark/common/tx/fixamontassigner.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package tx import ( diff --git a/benchmark/common/tx/interface.go b/benchmark/common/tx/interface.go index 1463820f2..813c4a245 100644 --- a/benchmark/common/tx/interface.go +++ b/benchmark/common/tx/interface.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package tx import ( diff --git a/benchmark/common/tx/nochangesevenassigner.go b/benchmark/common/tx/nochangesevenassigner.go index 0459d6d1d..191a1a097 100644 --- a/benchmark/common/tx/nochangesevenassigner.go +++ b/benchmark/common/tx/nochangesevenassigner.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package tx import ( diff --git a/benchmark/common/tx/transferasset.go b/benchmark/common/tx/transferasset.go index 6eb6e8686..92c0b1e06 100644 --- a/benchmark/common/tx/transferasset.go +++ b/benchmark/common/tx/transferasset.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package tx import ( diff --git a/benchmark/common/utils/random.go b/benchmark/common/utils/random.go index 9c60c2b21..788b9c94b 100644 --- a/benchmark/common/utils/random.go +++ b/benchmark/common/utils/random.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package utils import "crypto/rand" diff --git a/benchmark/common/utils/sign.go b/benchmark/common/utils/sign.go index 15dd93aff..b959cf629 100644 --- a/benchmark/common/utils/sign.go +++ b/benchmark/common/utils/sign.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package utils import ( diff --git a/benchmark/process/runtoheight_test.go b/benchmark/process/runtoheight_test.go index 4b7f484d1..7780e7226 100644 --- a/benchmark/process/runtoheight_test.go +++ b/benchmark/process/runtoheight_test.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package process import ( diff --git a/benchmark/process/singleblock_test.go b/benchmark/process/singleblock_test.go index 5629dda12..443383400 100644 --- a/benchmark/process/singleblock_test.go +++ b/benchmark/process/singleblock_test.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + // Copyright (c) 2017-2019 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. diff --git a/benchmark/profile/cpu.go b/benchmark/profile/cpu.go index c8c96366b..78b20a531 100644 --- a/benchmark/profile/cpu.go +++ b/benchmark/profile/cpu.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package profile import ( diff --git a/benchmark/profile/gc.go b/benchmark/profile/gc.go index 931eef25d..3df7888a0 100644 --- a/benchmark/profile/gc.go +++ b/benchmark/profile/gc.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package profile import ( diff --git a/benchmark/profile/profile.go b/benchmark/profile/profile.go index 34ab9f112..827f38057 100644 --- a/benchmark/profile/profile.go +++ b/benchmark/profile/profile.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package profile import "os" diff --git a/benchmark/profile/trace.go b/benchmark/profile/trace.go index 2bd94602d..6eb2c03ca 100644 --- a/benchmark/profile/trace.go +++ b/benchmark/profile/trace.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package profile import ( diff --git a/benchmark/special/serialize_test.go b/benchmark/special/serialize_test.go index d75eb0615..26d7e9576 100644 --- a/benchmark/special/serialize_test.go +++ b/benchmark/special/serialize_test.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package special import ( diff --git a/benchmark/sync/synctobestheight_test.go b/benchmark/sync/synctobestheight_test.go index 6e117fda3..c31f5f7a2 100644 --- a/benchmark/sync/synctobestheight_test.go +++ b/benchmark/sync/synctobestheight_test.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package sync import ( diff --git a/benchmark/tools/generator/chain/datagen.go b/benchmark/tools/generator/chain/datagen.go index 789ae7ba1..6634cf93e 100644 --- a/benchmark/tools/generator/chain/datagen.go +++ b/benchmark/tools/generator/chain/datagen.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package chain import ( diff --git a/benchmark/tools/generator/chain/params.go b/benchmark/tools/generator/chain/params.go index 9b04b341d..64f5ed291 100644 --- a/benchmark/tools/generator/chain/params.go +++ b/benchmark/tools/generator/chain/params.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package chain import ( diff --git a/benchmark/tools/generator/chain/params_test.go b/benchmark/tools/generator/chain/params_test.go index 0ea5ba730..e9cf6e91d 100644 --- a/benchmark/tools/generator/chain/params_test.go +++ b/benchmark/tools/generator/chain/params_test.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package chain import ( diff --git a/benchmark/tools/generator/chain/txrepository.go b/benchmark/tools/generator/chain/txrepository.go index f59d69365..464e4dcef 100644 --- a/benchmark/tools/generator/chain/txrepository.go +++ b/benchmark/tools/generator/chain/txrepository.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package chain import ( diff --git a/benchmark/tools/generator/chain/txrepository_test.go b/benchmark/tools/generator/chain/txrepository_test.go index 9f221ee07..702b96e63 100644 --- a/benchmark/tools/generator/chain/txrepository_test.go +++ b/benchmark/tools/generator/chain/txrepository_test.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package chain import ( diff --git a/benchmark/tools/generator/chain/utils.go b/benchmark/tools/generator/chain/utils.go index 3b3293945..b458af6dd 100644 --- a/benchmark/tools/generator/chain/utils.go +++ b/benchmark/tools/generator/chain/utils.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package chain import ( diff --git a/benchmark/tools/generator/main.go b/benchmark/tools/generator/main.go index ce28e5242..1b350900f 100644 --- a/benchmark/tools/generator/main.go +++ b/benchmark/tools/generator/main.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package main import ( diff --git a/benchmark/tools/inputcounter/calculator/calculator.go b/benchmark/tools/inputcounter/calculator/calculator.go index d017b7b14..c76d16c67 100644 --- a/benchmark/tools/inputcounter/calculator/calculator.go +++ b/benchmark/tools/inputcounter/calculator/calculator.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package calculator import "errors" diff --git a/benchmark/tools/inputcounter/calculator/multiinputsofoneaccount.go b/benchmark/tools/inputcounter/calculator/multiinputsofoneaccount.go index edf983dfe..687470498 100644 --- a/benchmark/tools/inputcounter/calculator/multiinputsofoneaccount.go +++ b/benchmark/tools/inputcounter/calculator/multiinputsofoneaccount.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package calculator import ( diff --git a/benchmark/tools/inputcounter/calculator/singleinputoutput.go b/benchmark/tools/inputcounter/calculator/singleinputoutput.go index c20a1ced5..9c2ada1c6 100644 --- a/benchmark/tools/inputcounter/calculator/singleinputoutput.go +++ b/benchmark/tools/inputcounter/calculator/singleinputoutput.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package calculator import ( diff --git a/benchmark/tools/inputcounter/main.go b/benchmark/tools/inputcounter/main.go index 76def93b2..fce76b3ff 100644 --- a/benchmark/tools/inputcounter/main.go +++ b/benchmark/tools/inputcounter/main.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package main import ( diff --git a/blockchain/blockchain.go b/blockchain/blockchain.go index acaed0625..230f85a44 100644 --- a/blockchain/blockchain.go +++ b/blockchain/blockchain.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/blockindex.go b/blockchain/blockindex.go index 3ca712e8a..c840a7ed4 100644 --- a/blockchain/blockindex.go +++ b/blockchain/blockindex.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers // Copyright (c) 2017-2019 The Elastos Foundation diff --git a/blockchain/blockvalidator.go b/blockchain/blockvalidator.go index 083be30c0..5f09b12b8 100644 --- a/blockchain/blockvalidator.go +++ b/blockchain/blockvalidator.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/blockvalidator_test.go b/blockchain/blockvalidator_test.go index 3c97da960..4d2e672c2 100644 --- a/blockchain/blockvalidator_test.go +++ b/blockchain/blockvalidator_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/chainio.go b/blockchain/chainio.go index 15c935c89..09d899409 100644 --- a/blockchain/chainio.go +++ b/blockchain/chainio.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + // Copyright (c) 2013-2016 The btcsuite developers // Copyright (c) 2017-2019 Elastos Foundation // Use of this source code is governed by an MIT diff --git a/blockchain/chainstore.go b/blockchain/chainstore.go index 5bb7c9cb4..e7e6d5a81 100644 --- a/blockchain/chainstore.go +++ b/blockchain/chainstore.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/chainstore_test.go b/blockchain/chainstore_test.go index 38a135279..784fb299e 100644 --- a/blockchain/chainstore_test.go +++ b/blockchain/chainstore_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/chainstoreffldb.go b/blockchain/chainstoreffldb.go index b4845c6d3..9991434de 100644 --- a/blockchain/chainstoreffldb.go +++ b/blockchain/chainstoreffldb.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/confirmvalidator.go b/blockchain/confirmvalidator.go index 8be125ccf..3e17aec04 100644 --- a/blockchain/confirmvalidator.go +++ b/blockchain/confirmvalidator.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/blockchain/confirmvalidator_test.go b/blockchain/confirmvalidator_test.go index 3e1e7998a..8fd1fb500 100644 --- a/blockchain/confirmvalidator_test.go +++ b/blockchain/confirmvalidator_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/dataentryprefix.go b/blockchain/dataentryprefix.go index 40ffb26aa..32e1fde08 100644 --- a/blockchain/dataentryprefix.go +++ b/blockchain/dataentryprefix.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/blockchain/difficulty.go b/blockchain/difficulty.go index 9ee88af56..6e0568a6b 100644 --- a/blockchain/difficulty.go +++ b/blockchain/difficulty.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/difficulty_test.go b/blockchain/difficulty_test.go index ee7aeb952..8b08627f0 100644 --- a/blockchain/difficulty_test.go +++ b/blockchain/difficulty_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/heightversion.go b/blockchain/heightversion.go index 3b69e2aa7..1afd6fc77 100644 --- a/blockchain/heightversion.go +++ b/blockchain/heightversion.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/blockchain/indexers/common.go b/blockchain/indexers/common.go index 9fc66602f..d99cebf86 100644 --- a/blockchain/indexers/common.go +++ b/blockchain/indexers/common.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + // Copyright (c) 2016 The btcsuite developers // Copyright (c) 2017-2019 Elastos Foundation // Use of this source code is governed by an ISC diff --git a/blockchain/indexers/manager.go b/blockchain/indexers/manager.go index 363ce6d2e..b10dcccdf 100644 --- a/blockchain/indexers/manager.go +++ b/blockchain/indexers/manager.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + // Copyright (c) 2016 The btcsuite developers // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. diff --git a/blockchain/indexers/tx3index.go b/blockchain/indexers/tx3index.go index 9c569aaa0..9c0df96e3 100644 --- a/blockchain/indexers/tx3index.go +++ b/blockchain/indexers/tx3index.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package indexers diff --git a/blockchain/indexers/tx3index_test.go b/blockchain/indexers/tx3index_test.go index b878b84d0..60711364a 100644 --- a/blockchain/indexers/tx3index_test.go +++ b/blockchain/indexers/tx3index_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package indexers diff --git a/blockchain/indexers/txindex.go b/blockchain/indexers/txindex.go index d0e63ea06..cc2d7659a 100644 --- a/blockchain/indexers/txindex.go +++ b/blockchain/indexers/txindex.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + // Copyright (c) 2016 The btcsuite developers // Copyright (c) 2017-2019 Elastos Foundation // Use of this source code is governed by an ISC diff --git a/blockchain/indexers/unspentindex.go b/blockchain/indexers/unspentindex.go index ae0881e64..ad1b0f798 100644 --- a/blockchain/indexers/unspentindex.go +++ b/blockchain/indexers/unspentindex.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package indexers diff --git a/blockchain/indexers/unspentindex_test.go b/blockchain/indexers/unspentindex_test.go index ed9dc6716..0b7ec5bad 100644 --- a/blockchain/indexers/unspentindex_test.go +++ b/blockchain/indexers/unspentindex_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package indexers diff --git a/blockchain/indexers/utxoindex.go b/blockchain/indexers/utxoindex.go index 65a472bef..cf12bcdf3 100644 --- a/blockchain/indexers/utxoindex.go +++ b/blockchain/indexers/utxoindex.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package indexers diff --git a/blockchain/indexers/utxoindex_test.go b/blockchain/indexers/utxoindex_test.go index 7500e92b5..365760a8d 100644 --- a/blockchain/indexers/utxoindex_test.go +++ b/blockchain/indexers/utxoindex_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package indexers diff --git a/blockchain/iterator.go b/blockchain/iterator.go index 16d0579ac..1f0b9bf99 100644 --- a/blockchain/iterator.go +++ b/blockchain/iterator.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/blockchain/ledger.go b/blockchain/ledger.go index ca8c3c3bd..b7ff78cc6 100644 --- a/blockchain/ledger.go +++ b/blockchain/ledger.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/ledgerstore.go b/blockchain/ledgerstore.go index f8e9550bd..f34245e50 100644 --- a/blockchain/ledgerstore.go +++ b/blockchain/ledgerstore.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/leveldb.go b/blockchain/leveldb.go index bf3a2c9f9..e90f6009c 100644 --- a/blockchain/leveldb.go +++ b/blockchain/leveldb.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/store.go b/blockchain/store.go index f7b46ab70..86a79a8f2 100644 --- a/blockchain/store.go +++ b/blockchain/store.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/blockchain/txvalidator.go b/blockchain/txvalidator.go index 507dec176..c8dd96c22 100644 --- a/blockchain/txvalidator.go +++ b/blockchain/txvalidator.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/txvalidator_specailtx_test.go b/blockchain/txvalidator_specailtx_test.go index 9f62546e1..0f2aceac2 100644 --- a/blockchain/txvalidator_specailtx_test.go +++ b/blockchain/txvalidator_specailtx_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/txvalidator_test.go b/blockchain/txvalidator_test.go index e583dba78..5ea9ce6da 100644 --- a/blockchain/txvalidator_test.go +++ b/blockchain/txvalidator_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/upgrade.go b/blockchain/upgrade.go index aaada0e1f..b2a3cca3f 100644 --- a/blockchain/upgrade.go +++ b/blockchain/upgrade.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/blockchain/utxocache.go b/blockchain/utxocache.go index 8f5d5f17e..d5c7bdd9d 100644 --- a/blockchain/utxocache.go +++ b/blockchain/utxocache.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/utxocache_test.go b/blockchain/utxocache_test.go index 5f9d19603..f85efc829 100644 --- a/blockchain/utxocache_test.go +++ b/blockchain/utxocache_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/validation.go b/blockchain/validation.go index 218a71617..22f1de6c6 100644 --- a/blockchain/validation.go +++ b/blockchain/validation.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/blockchain/validation_test.go b/blockchain/validation_test.go index b8ab5e152..6d9c7f38d 100644 --- a/blockchain/validation_test.go +++ b/blockchain/validation_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package blockchain diff --git a/blockchain/weight.go b/blockchain/weight.go index a05467bd4..9a9909548 100644 --- a/blockchain/weight.go +++ b/blockchain/weight.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/common/common.go b/cmd/common/common.go index 1128a2105..cc9bec401 100644 --- a/cmd/common/common.go +++ b/cmd/common/common.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/common/flags.go b/cmd/common/flags.go index 54f15e9e2..30315950e 100644 --- a/cmd/common/flags.go +++ b/cmd/common/flags.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package common diff --git a/cmd/common/print.go b/cmd/common/print.go index 33e743b51..30413c48a 100644 --- a/cmd/common/print.go +++ b/cmd/common/print.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/ela-cli.go b/cmd/ela-cli.go index c6778e7b6..00d3c63f6 100644 --- a/cmd/ela-cli.go +++ b/cmd/ela-cli.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/info/info.go b/cmd/info/info.go index f0eecb4ac..016fbcd78 100644 --- a/cmd/info/info.go +++ b/cmd/info/info.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/mine/mine.go b/cmd/mine/mine.go index def00c3c9..380a28a25 100644 --- a/cmd/mine/mine.go +++ b/cmd/mine/mine.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/rollback/rollback.go b/cmd/rollback/rollback.go index 78c2a85ac..8b11f5401 100644 --- a/cmd/rollback/rollback.go +++ b/cmd/rollback/rollback.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package rollback diff --git a/cmd/script/api/api.go b/cmd/script/api/api.go index 58107bad3..8fbf61ffb 100644 --- a/cmd/script/api/api.go +++ b/cmd/script/api/api.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package api diff --git a/cmd/script/api/arbitrators.go b/cmd/script/api/arbitrators.go index 24d865fe9..8e52517f7 100644 --- a/cmd/script/api/arbitrators.go +++ b/cmd/script/api/arbitrators.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/attribute.go b/cmd/script/api/attribute.go index 25cd7fd5d..b52eda845 100644 --- a/cmd/script/api/attribute.go +++ b/cmd/script/api/attribute.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/block.go b/cmd/script/api/block.go index 3a689c5e8..cd45cddfd 100644 --- a/cmd/script/api/block.go +++ b/cmd/script/api/block.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/clienttype.go b/cmd/script/api/clienttype.go index 95882498a..090a8187d 100644 --- a/cmd/script/api/clienttype.go +++ b/cmd/script/api/clienttype.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/confirm.go b/cmd/script/api/confirm.go index 7f9e28cf3..07de87ffc 100644 --- a/cmd/script/api/confirm.go +++ b/cmd/script/api/confirm.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/dposmanager.go b/cmd/script/api/dposmanager.go index fc2a548ba..0868cc1a2 100644 --- a/cmd/script/api/dposmanager.go +++ b/cmd/script/api/dposmanager.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/dposnetwork.go b/cmd/script/api/dposnetwork.go index 41f84f05a..e49b75b7d 100644 --- a/cmd/script/api/dposnetwork.go +++ b/cmd/script/api/dposnetwork.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/header.go b/cmd/script/api/header.go index 831f4a612..655d31b89 100644 --- a/cmd/script/api/header.go +++ b/cmd/script/api/header.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/illegalblocks.go b/cmd/script/api/illegalblocks.go index caa551828..96f64935c 100644 --- a/cmd/script/api/illegalblocks.go +++ b/cmd/script/api/illegalblocks.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/illegalproposals.go b/cmd/script/api/illegalproposals.go index d7e691739..9255a9a22 100644 --- a/cmd/script/api/illegalproposals.go +++ b/cmd/script/api/illegalproposals.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/illegalvotes.go b/cmd/script/api/illegalvotes.go index 36d968bcd..ad9ad223f 100644 --- a/cmd/script/api/illegalvotes.go +++ b/cmd/script/api/illegalvotes.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/inputtype.go b/cmd/script/api/inputtype.go index 3f2715010..cc9500455 100644 --- a/cmd/script/api/inputtype.go +++ b/cmd/script/api/inputtype.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/mock/dposnetwork.go b/cmd/script/api/mock/dposnetwork.go index aa990053c..070a00f53 100644 --- a/cmd/script/api/mock/dposnetwork.go +++ b/cmd/script/api/mock/dposnetwork.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/mock/peer.go b/cmd/script/api/mock/peer.go index 98c0977f4..9d5a7de67 100644 --- a/cmd/script/api/mock/peer.go +++ b/cmd/script/api/mock/peer.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/outputtype.go b/cmd/script/api/outputtype.go index 6ce75550c..1b255de86 100644 --- a/cmd/script/api/outputtype.go +++ b/cmd/script/api/outputtype.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package api diff --git a/cmd/script/api/payloadtype.go b/cmd/script/api/payloadtype.go index fc71ad0d5..816d533ff 100644 --- a/cmd/script/api/payloadtype.go +++ b/cmd/script/api/payloadtype.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package api diff --git a/cmd/script/api/program.go b/cmd/script/api/program.go index 715a3322c..e23498945 100644 --- a/cmd/script/api/program.go +++ b/cmd/script/api/program.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/proposal.go b/cmd/script/api/proposal.go index b20b513a2..56433296d 100644 --- a/cmd/script/api/proposal.go +++ b/cmd/script/api/proposal.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package api diff --git a/cmd/script/api/strings.go b/cmd/script/api/strings.go index ca1ab452a..5a7237380 100644 --- a/cmd/script/api/strings.go +++ b/cmd/script/api/strings.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/api/txtype.go b/cmd/script/api/txtype.go index 585eb659d..215de1352 100644 --- a/cmd/script/api/txtype.go +++ b/cmd/script/api/txtype.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package api diff --git a/cmd/script/api/vote.go b/cmd/script/api/vote.go index dd4122a18..ac298542d 100644 --- a/cmd/script/api/vote.go +++ b/cmd/script/api/vote.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/script/script.go b/cmd/script/script.go index 07ef96428..7cd716477 100644 --- a/cmd/script/script.go +++ b/cmd/script/script.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package script diff --git a/cmd/wallet/account.go b/cmd/wallet/account.go index 67b78d7b2..9156612be 100644 --- a/cmd/wallet/account.go +++ b/cmd/wallet/account.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package wallet diff --git a/cmd/wallet/common.go b/cmd/wallet/common.go index 84b668f38..85c065565 100644 --- a/cmd/wallet/common.go +++ b/cmd/wallet/common.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cmd/wallet/transaction.go b/cmd/wallet/transaction.go index d7b382e71..bb1c1c8a6 100644 --- a/cmd/wallet/transaction.go +++ b/cmd/wallet/transaction.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package wallet diff --git a/cmd/wallet/txbuilder.go b/cmd/wallet/txbuilder.go index dac55a24a..b630184ba 100644 --- a/cmd/wallet/txbuilder.go +++ b/cmd/wallet/txbuilder.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package wallet diff --git a/cmd/wallet/wallet.go b/cmd/wallet/wallet.go index dd4af03b4..c35ea465a 100644 --- a/cmd/wallet/wallet.go +++ b/cmd/wallet/wallet.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/common/common.go b/common/common.go index 21404a278..402738348 100644 --- a/common/common.go +++ b/common/common.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package common diff --git a/common/common_test.go b/common/common_test.go index 7a4d72047..d9bd771fd 100644 --- a/common/common_test.go +++ b/common/common_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/common/config/config.go b/common/config/config.go index 35a17ca18..d22a9c086 100644 --- a/common/config/config.go +++ b/common/config/config.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package config diff --git a/common/config/params.go b/common/config/params.go index c3ad09b34..066bd2a28 100644 --- a/common/config/params.go +++ b/common/config/params.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package config diff --git a/common/config/params_test.go b/common/config/params_test.go index 33d209849..ab82a90a1 100644 --- a/common/config/params_test.go +++ b/common/config/params_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/common/config/settings/settings.go b/common/config/settings/settings.go index d110c8a63..85bdc2494 100644 --- a/common/config/settings/settings.go +++ b/common/config/settings/settings.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package settings diff --git a/common/error.go b/common/error.go index 9a708924f..a08cca869 100644 --- a/common/error.go +++ b/common/error.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/common/fixed64.go b/common/fixed64.go index 9bb0edb1f..b73b71315 100644 --- a/common/fixed64.go +++ b/common/fixed64.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package common diff --git a/common/log/log.go b/common/log/log.go index e55d8f171..ed5021438 100644 --- a/common/log/log.go +++ b/common/log/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/common/serialize.go b/common/serialize.go index 7da6a1148..5abdf0952 100644 --- a/common/serialize.go +++ b/common/serialize.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package common diff --git a/common/uint160.go b/common/uint160.go index 21a3bf0eb..bd94cb2ce 100644 --- a/common/uint160.go +++ b/common/uint160.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/common/uint168.go b/common/uint168.go index a3f2172db..4f067b74e 100644 --- a/common/uint168.go +++ b/common/uint168.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/common/uint168_test.go b/common/uint168_test.go index 83fd106ff..197d26be5 100644 --- a/common/uint168_test.go +++ b/common/uint168_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/common/uint256.go b/common/uint256.go index f1b1e96e6..8131157a3 100644 --- a/common/uint256.go +++ b/common/uint256.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/common/uint256_test.go b/common/uint256_test.go index 2c80fdae5..25a6ff2d6 100644 --- a/common/uint256_test.go +++ b/common/uint256_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/checkpoint/channels.go b/core/checkpoint/channels.go index 0cab4be2e..868957424 100644 --- a/core/checkpoint/channels.go +++ b/core/checkpoint/channels.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/checkpoint/channels_test.go b/core/checkpoint/channels_test.go index b8d9ad3d1..705adec1c 100644 --- a/core/checkpoint/channels_test.go +++ b/core/checkpoint/channels_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/checkpoint/manager.go b/core/checkpoint/manager.go index a4045bf58..b50a02993 100644 --- a/core/checkpoint/manager.go +++ b/core/checkpoint/manager.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package checkpoint diff --git a/core/checkpoint/manager_test.go b/core/checkpoint/manager_test.go index fab72f3e5..144d2da2e 100644 --- a/core/checkpoint/manager_test.go +++ b/core/checkpoint/manager_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/contract/common.go b/core/contract/common.go index 6b6350451..e40d97d5b 100644 --- a/core/contract/common.go +++ b/core/contract/common.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/contract/contract.go b/core/contract/contract.go index 42baeb163..f26c8c11e 100644 --- a/core/contract/contract.go +++ b/core/contract/contract.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/contract/contract_test.go b/core/contract/contract_test.go index fe5774178..ea6b84d4b 100644 --- a/core/contract/contract_test.go +++ b/core/contract/contract_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/contract/crdid.go b/core/contract/crdid.go index de2a57f24..52bd05260 100644 --- a/core/contract/crdid.go +++ b/core/contract/crdid.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/contract/crosschain.go b/core/contract/crosschain.go index 9995d58d3..e5d49fe27 100644 --- a/core/contract/crosschain.go +++ b/core/contract/crosschain.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/contract/multisig.go b/core/contract/multisig.go index dbf23b5b5..084247150 100644 --- a/core/contract/multisig.go +++ b/core/contract/multisig.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package contract diff --git a/core/contract/pledge.go b/core/contract/pledge.go index 94248adfa..50f1248cf 100644 --- a/core/contract/pledge.go +++ b/core/contract/pledge.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/contract/program/program.go b/core/contract/program/program.go index 0525daa27..c08689671 100644 --- a/core/contract/program/program.go +++ b/core/contract/program/program.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/contract/program/programbuilder.go b/core/contract/program/programbuilder.go index cecbdb653..7d050304a 100644 --- a/core/contract/program/programbuilder.go +++ b/core/contract/program/programbuilder.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/contract/standard.go b/core/contract/standard.go index 2fe8c8f7a..7a865b39f 100644 --- a/core/contract/standard.go +++ b/core/contract/standard.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package contract diff --git a/core/types/attribute.go b/core/types/attribute.go index d3453a340..3abe01abd 100644 --- a/core/types/attribute.go +++ b/core/types/attribute.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/block.go b/core/types/block.go index ec17fb1ad..5fe92f196 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package types diff --git a/core/types/dposblock.go b/core/types/dposblock.go index b6f8b3add..6bcc8e1b0 100644 --- a/core/types/dposblock.go +++ b/core/types/dposblock.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/dposheader.go b/core/types/dposheader.go index 091299a65..abe2eba89 100644 --- a/core/types/dposheader.go +++ b/core/types/dposheader.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/header.go b/core/types/header.go index 53c26c21b..fb26e5582 100644 --- a/core/types/header.go +++ b/core/types/header.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/input.go b/core/types/input.go index 63a5d4e89..4b45f40f2 100644 --- a/core/types/input.go +++ b/core/types/input.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/outpoint.go b/core/types/outpoint.go index c87b53806..cfc4c45f0 100644 --- a/core/types/outpoint.go +++ b/core/types/outpoint.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/output.go b/core/types/output.go index 5b202ab1c..52885ce63 100644 --- a/core/types/output.go +++ b/core/types/output.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/output_test.go b/core/types/output_test.go index 43d9875e7..573f99fba 100644 --- a/core/types/output_test.go +++ b/core/types/output_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/outputpayload/default.go b/core/types/outputpayload/default.go index 748abaeb0..d96a13697 100644 --- a/core/types/outputpayload/default.go +++ b/core/types/outputpayload/default.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/outputpayload/mapping.go b/core/types/outputpayload/mapping.go index e23aba0d6..9a5ac2494 100644 --- a/core/types/outputpayload/mapping.go +++ b/core/types/outputpayload/mapping.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/outputpayload/mapping_test.go b/core/types/outputpayload/mapping_test.go index 3e34cc28f..cc427d424 100644 --- a/core/types/outputpayload/mapping_test.go +++ b/core/types/outputpayload/mapping_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/outputpayload/vote.go b/core/types/outputpayload/vote.go index 91af3fb8c..7e4b93363 100644 --- a/core/types/outputpayload/vote.go +++ b/core/types/outputpayload/vote.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package outputpayload diff --git a/core/types/outputpayload/vote_test.go b/core/types/outputpayload/vote_test.go index ff8785cbe..71d4df861 100644 --- a/core/types/outputpayload/vote_test.go +++ b/core/types/outputpayload/vote_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/activateproducer.go b/core/types/payload/activateproducer.go index 719c4bbc8..9fddb488c 100644 --- a/core/types/payload/activateproducer.go +++ b/core/types/payload/activateproducer.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/asset.go b/core/types/payload/asset.go index 4e600d156..bf08cfbec 100644 --- a/core/types/payload/asset.go +++ b/core/types/payload/asset.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/coinbase.go b/core/types/payload/coinbase.go index 955da8537..fd5ae7c6a 100644 --- a/core/types/payload/coinbase.go +++ b/core/types/payload/coinbase.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/confirm.go b/core/types/payload/confirm.go index 060c7e62f..38189c286 100644 --- a/core/types/payload/confirm.go +++ b/core/types/payload/confirm.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/crcappropriation.go b/core/types/payload/crcappropriation.go index e7342c4b9..7e8eb7815 100644 --- a/core/types/payload/crcappropriation.go +++ b/core/types/payload/crcappropriation.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package payload diff --git a/core/types/payload/crcproposal.go b/core/types/payload/crcproposal.go index 945fe799f..bb9a0af48 100644 --- a/core/types/payload/crcproposal.go +++ b/core/types/payload/crcproposal.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package payload diff --git a/core/types/payload/crcproposalreview.go b/core/types/payload/crcproposalreview.go index 958eb7187..da941f112 100644 --- a/core/types/payload/crcproposalreview.go +++ b/core/types/payload/crcproposalreview.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package payload diff --git a/core/types/payload/crcproposaltracking.go b/core/types/payload/crcproposaltracking.go index 44755ae14..bff05ec2f 100644 --- a/core/types/payload/crcproposaltracking.go +++ b/core/types/payload/crcproposaltracking.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package payload diff --git a/core/types/payload/crcproposalwithdraw.go b/core/types/payload/crcproposalwithdraw.go index b8459a69f..419427ed7 100644 --- a/core/types/payload/crcproposalwithdraw.go +++ b/core/types/payload/crcproposalwithdraw.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package payload diff --git a/core/types/payload/crinfo.go b/core/types/payload/crinfo.go index 911f57ff0..5e1f622c5 100644 --- a/core/types/payload/crinfo.go +++ b/core/types/payload/crinfo.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/dposillegalblocks.go b/core/types/payload/dposillegalblocks.go index a235a2e80..7c93cc899 100644 --- a/core/types/payload/dposillegalblocks.go +++ b/core/types/payload/dposillegalblocks.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/dposillegaldata.go b/core/types/payload/dposillegaldata.go index 7a61cf83c..d1ce624c3 100644 --- a/core/types/payload/dposillegaldata.go +++ b/core/types/payload/dposillegaldata.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/dposillegalproposals.go b/core/types/payload/dposillegalproposals.go index a130e0f50..c8648a67a 100644 --- a/core/types/payload/dposillegalproposals.go +++ b/core/types/payload/dposillegalproposals.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/dposillegalvotes.go b/core/types/payload/dposillegalvotes.go index 18f283829..c3c6f0a13 100644 --- a/core/types/payload/dposillegalvotes.go +++ b/core/types/payload/dposillegalvotes.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/dposproposal.go b/core/types/payload/dposproposal.go index c8899c839..0a64f09d8 100644 --- a/core/types/payload/dposproposal.go +++ b/core/types/payload/dposproposal.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/dposproposalvote.go b/core/types/payload/dposproposalvote.go index 3c66cdce7..a11f94401 100644 --- a/core/types/payload/dposproposalvote.go +++ b/core/types/payload/dposproposalvote.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/inactivearbitrators.go b/core/types/payload/inactivearbitrators.go index 1b46f6e43..023519f05 100644 --- a/core/types/payload/inactivearbitrators.go +++ b/core/types/payload/inactivearbitrators.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/processproducer.go b/core/types/payload/processproducer.go index 57caa81a3..e4ef0876c 100644 --- a/core/types/payload/processproducer.go +++ b/core/types/payload/processproducer.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/producerinfo.go b/core/types/payload/producerinfo.go index 0b3af84a5..c781871d3 100644 --- a/core/types/payload/producerinfo.go +++ b/core/types/payload/producerinfo.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/record.go b/core/types/payload/record.go index ffc32d831..d8e0ba0a9 100644 --- a/core/types/payload/record.go +++ b/core/types/payload/record.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/registerasset.go b/core/types/payload/registerasset.go index e35b09146..ae9896945 100644 --- a/core/types/payload/registerasset.go +++ b/core/types/payload/registerasset.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/returnpledgecoin.go b/core/types/payload/returnpledgecoin.go index 86bf6ce80..6e2010d2e 100644 --- a/core/types/payload/returnpledgecoin.go +++ b/core/types/payload/returnpledgecoin.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/sidechainillegaldata.go b/core/types/payload/sidechainillegaldata.go index 040043a56..cd3313361 100644 --- a/core/types/payload/sidechainillegaldata.go +++ b/core/types/payload/sidechainillegaldata.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/sidechainpow.go b/core/types/payload/sidechainpow.go index 0740d0b97..7fd04a479 100644 --- a/core/types/payload/sidechainpow.go +++ b/core/types/payload/sidechainpow.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/transferasset.go b/core/types/payload/transferasset.go index 99833514f..1d2329574 100644 --- a/core/types/payload/transferasset.go +++ b/core/types/payload/transferasset.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/transfercrosschainasset.go b/core/types/payload/transfercrosschainasset.go index b296a5d87..25e60eddd 100644 --- a/core/types/payload/transfercrosschainasset.go +++ b/core/types/payload/transfercrosschainasset.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/unregistercr.go b/core/types/payload/unregistercr.go index b02cfa5ec..8d5cb6d56 100644 --- a/core/types/payload/unregistercr.go +++ b/core/types/payload/unregistercr.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package payload diff --git a/core/types/payload/updateversion.go b/core/types/payload/updateversion.go index f84c59bfd..8fd09f8dc 100644 --- a/core/types/payload/updateversion.go +++ b/core/types/payload/updateversion.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/payload/withdrawfromsidechain.go b/core/types/payload/withdrawfromsidechain.go index b82ec72b0..630ef723a 100644 --- a/core/types/payload/withdrawfromsidechain.go +++ b/core/types/payload/withdrawfromsidechain.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/core/types/transaction.go b/core/types/transaction.go index 23c942a37..7e2d87c25 100644 --- a/core/types/transaction.go +++ b/core/types/transaction.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package types diff --git a/core/types/transaction_test.go b/core/types/transaction_test.go index b37a58148..a4292e441 100644 --- a/core/types/transaction_test.go +++ b/core/types/transaction_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package types diff --git a/core/types/utxo.go b/core/types/utxo.go index a8466bc9e..83c1c57cc 100644 --- a/core/types/utxo.go +++ b/core/types/utxo.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package types diff --git a/cr/state/ICRRecord.go b/cr/state/ICRRecord.go index 1238f1f19..26bb9bc16 100644 --- a/cr/state/ICRRecord.go +++ b/cr/state/ICRRecord.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cr/state/candidate.go b/cr/state/candidate.go index b012001fe..eadd17667 100644 --- a/cr/state/candidate.go +++ b/cr/state/candidate.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/cr/state/candidate_test.go b/cr/state/candidate_test.go index 93e534359..1bf31bf87 100644 --- a/cr/state/candidate_test.go +++ b/cr/state/candidate_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/cr/state/checkpoint.go b/cr/state/checkpoint.go index 9d11e3aed..b200e0252 100644 --- a/cr/state/checkpoint.go +++ b/cr/state/checkpoint.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/cr/state/committee.go b/cr/state/committee.go index f94bad271..c86c33651 100644 --- a/cr/state/committee.go +++ b/cr/state/committee.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/cr/state/committee_test.go b/cr/state/committee_test.go index 8aa060322..f818496ad 100644 --- a/cr/state/committee_test.go +++ b/cr/state/committee_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/cr/state/committeeaction.go b/cr/state/committeeaction.go index 68ba2daff..c80db641e 100644 --- a/cr/state/committeeaction.go +++ b/cr/state/committeeaction.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/cr/state/keyframe.go b/cr/state/keyframe.go index 87d9b4922..50a8af8db 100644 --- a/cr/state/keyframe.go +++ b/cr/state/keyframe.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/cr/state/keyframe_test.go b/cr/state/keyframe_test.go index f06ede58c..7428fcc2e 100644 --- a/cr/state/keyframe_test.go +++ b/cr/state/keyframe_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/cr/state/log.go b/cr/state/log.go index 43bee0507..2839ee1d7 100644 --- a/cr/state/log.go +++ b/cr/state/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/cr/state/proposalmanager.go b/cr/state/proposalmanager.go index 5c98273a1..bb7ad9fb9 100644 --- a/cr/state/proposalmanager.go +++ b/cr/state/proposalmanager.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/cr/state/proposalmanager_test.go b/cr/state/proposalmanager_test.go index b56768ec5..75824e8e5 100644 --- a/cr/state/proposalmanager_test.go +++ b/cr/state/proposalmanager_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/cr/state/state.go b/cr/state/state.go index 5258a3211..4406e7740 100644 --- a/cr/state/state.go +++ b/cr/state/state.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/cr/state/state_test.go b/cr/state/state_test.go index 9e67aff19..a9827e599 100644 --- a/cr/state/state_test.go +++ b/cr/state/state_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/crypto/aes.go b/crypto/aes.go index d23c84d88..8bd4a13d8 100644 --- a/crypto/aes.go +++ b/crypto/aes.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/crypto/common.go b/crypto/common.go index 38f3fd6ea..2aae2363b 100644 --- a/crypto/common.go +++ b/crypto/common.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/crypto/crypto.go b/crypto/crypto.go index b84d79612..db209afa9 100644 --- a/crypto/crypto.go +++ b/crypto/crypto.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/crypto/crypto_test.go b/crypto/crypto_test.go index 1f7a9f5cb..93a0a5936 100644 --- a/crypto/crypto_test.go +++ b/crypto/crypto_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/crypto/encode.go b/crypto/encode.go index 690bb2cfb..ebcb46b6f 100644 --- a/crypto/encode.go +++ b/crypto/encode.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/crypto/merkletree.go b/crypto/merkletree.go index 3c91f0268..94e7994c7 100644 --- a/crypto/merkletree.go +++ b/crypto/merkletree.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/database/doc.go b/database/doc.go index 789447b8b..fa295d909 100644 --- a/database/doc.go +++ b/database/doc.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/driver.go b/database/driver.go index 23f5a691f..8281243d9 100644 --- a/database/driver.go +++ b/database/driver.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/driver_test.go b/database/driver_test.go index c622a1100..bbfb984d9 100644 --- a/database/driver_test.go +++ b/database/driver_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/error.go b/database/error.go index c876cb22c..5cc47f2f9 100644 --- a/database/error.go +++ b/database/error.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/error_test.go b/database/error_test.go index 98e833011..34a5b6eb8 100644 --- a/database/error_test.go +++ b/database/error_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/export_test.go b/database/export_test.go index 97887c08d..7d66f7baf 100644 --- a/database/export_test.go +++ b/database/export_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/ffldb/blockio.go b/database/ffldb/blockio.go index 6e09a8c4d..767bd6978 100644 --- a/database/ffldb/blockio.go +++ b/database/ffldb/blockio.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/ffldb/db.go b/database/ffldb/db.go index 4f3e4f569..cb0345d4a 100644 --- a/database/ffldb/db.go +++ b/database/ffldb/db.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/ffldb/dbcache.go b/database/ffldb/dbcache.go index 5a9663490..584a788af 100644 --- a/database/ffldb/dbcache.go +++ b/database/ffldb/dbcache.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/ffldb/doc.go b/database/ffldb/doc.go index 743ea3159..33e67665c 100644 --- a/database/ffldb/doc.go +++ b/database/ffldb/doc.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/ffldb/driver.go b/database/ffldb/driver.go index a8ec3f224..4a5dfd028 100644 --- a/database/ffldb/driver.go +++ b/database/ffldb/driver.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/ffldb/ldbtreapiter.go b/database/ffldb/ldbtreapiter.go index 9161ce327..ec20fcb0f 100644 --- a/database/ffldb/ldbtreapiter.go +++ b/database/ffldb/ldbtreapiter.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/ffldb/reconcile.go b/database/ffldb/reconcile.go index 80a440aa3..e3c14969e 100644 --- a/database/ffldb/reconcile.go +++ b/database/ffldb/reconcile.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/interface.go b/database/interface.go index 1eb25b2f5..0d209bfb2 100644 --- a/database/interface.go +++ b/database/interface.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/internal/treap/common.go b/database/internal/treap/common.go index 2406b3a83..bbbed6347 100644 --- a/database/internal/treap/common.go +++ b/database/internal/treap/common.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/internal/treap/common_test.go b/database/internal/treap/common_test.go index 1709981ee..a7183fb36 100644 --- a/database/internal/treap/common_test.go +++ b/database/internal/treap/common_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/internal/treap/doc.go b/database/internal/treap/doc.go index acb729362..75c0b51cd 100644 --- a/database/internal/treap/doc.go +++ b/database/internal/treap/doc.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/internal/treap/immutable.go b/database/internal/treap/immutable.go index c478970a1..aac469d97 100644 --- a/database/internal/treap/immutable.go +++ b/database/internal/treap/immutable.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/internal/treap/immutable_test.go b/database/internal/treap/immutable_test.go index e3e44cb44..3b64c8df5 100644 --- a/database/internal/treap/immutable_test.go +++ b/database/internal/treap/immutable_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/internal/treap/mutable.go b/database/internal/treap/mutable.go index 2c6167e5c..4f8d8263a 100644 --- a/database/internal/treap/mutable.go +++ b/database/internal/treap/mutable.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/internal/treap/mutable_test.go b/database/internal/treap/mutable_test.go index f94ee2d05..516e79f69 100644 --- a/database/internal/treap/mutable_test.go +++ b/database/internal/treap/mutable_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/internal/treap/treapiter.go b/database/internal/treap/treapiter.go index 4502f735e..96418e43c 100644 --- a/database/internal/treap/treapiter.go +++ b/database/internal/treap/treapiter.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/database/internal/treap/treapiter_test.go b/database/internal/treap/treapiter_test.go index 3fe2c2dc7..9448a4c75 100644 --- a/database/internal/treap/treapiter_test.go +++ b/database/internal/treap/treapiter_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// // Copyright (c) 2013-2016 The btcsuite developers diff --git a/dpos/account/account.go b/dpos/account/account.go index 24a8dda7e..0a12f2b70 100644 --- a/dpos/account/account.go +++ b/dpos/account/account.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/arbitrator.go b/dpos/arbitrator.go index d3c4fab4b..0bef3eaee 100644 --- a/dpos/arbitrator.go +++ b/dpos/arbitrator.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package dpos diff --git a/dpos/log/eventlogs.go b/dpos/log/eventlogs.go index d919437ec..c226f5651 100644 --- a/dpos/log/eventlogs.go +++ b/dpos/log/eventlogs.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/log/eventmonitor.go b/dpos/log/eventmonitor.go index 2d7c2d5b0..92db2bbe7 100644 --- a/dpos/log/eventmonitor.go +++ b/dpos/log/eventmonitor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/log/log.go b/dpos/log/log.go index b4ecb574b..6f7832b44 100644 --- a/dpos/log/log.go +++ b/dpos/log/log.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package log diff --git a/dpos/manager/consensus.go b/dpos/manager/consensus.go index f139d6b3d..d547cd8b1 100644 --- a/dpos/manager/consensus.go +++ b/dpos/manager/consensus.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/manager/consensusblockcache.go b/dpos/manager/consensusblockcache.go index fb8993728..fa787d971 100644 --- a/dpos/manager/consensusblockcache.go +++ b/dpos/manager/consensusblockcache.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/manager/dposhandlerswitch.go b/dpos/manager/dposhandlerswitch.go index 78e365559..0d317f90d 100644 --- a/dpos/manager/dposhandlerswitch.go +++ b/dpos/manager/dposhandlerswitch.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/manager/dposmanager.go b/dpos/manager/dposmanager.go index 02c090741..65cc62763 100644 --- a/dpos/manager/dposmanager.go +++ b/dpos/manager/dposmanager.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package manager diff --git a/dpos/manager/dposnormalhandler.go b/dpos/manager/dposnormalhandler.go index c7b5f6052..702c63ad1 100644 --- a/dpos/manager/dposnormalhandler.go +++ b/dpos/manager/dposnormalhandler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/manager/dposondutyhandler.go b/dpos/manager/dposondutyhandler.go index a1c169708..e8d68051e 100644 --- a/dpos/manager/dposondutyhandler.go +++ b/dpos/manager/dposondutyhandler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/manager/eventanalyzer.go b/dpos/manager/eventanalyzer.go index c7ec883dc..399832483 100644 --- a/dpos/manager/eventanalyzer.go +++ b/dpos/manager/eventanalyzer.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/manager/evidencecache.go b/dpos/manager/evidencecache.go index 7c8947158..be282d2f8 100644 --- a/dpos/manager/evidencecache.go +++ b/dpos/manager/evidencecache.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/manager/illegalbehaviormonitor.go b/dpos/manager/illegalbehaviormonitor.go index 1f79b5985..77dae8b9f 100644 --- a/dpos/manager/illegalbehaviormonitor.go +++ b/dpos/manager/illegalbehaviormonitor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/manager/proposaldispatcher.go b/dpos/manager/proposaldispatcher.go index 5d5369d8a..393b68ba9 100644 --- a/dpos/manager/proposaldispatcher.go +++ b/dpos/manager/proposaldispatcher.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/manager/view.go b/dpos/manager/view.go index 2cb18653e..ccb885ad7 100644 --- a/dpos/manager/view.go +++ b/dpos/manager/view.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/manager/viewchangescountdown.go b/dpos/manager/viewchangescountdown.go index 8090521db..c03d7f84f 100644 --- a/dpos/manager/viewchangescountdown.go +++ b/dpos/manager/viewchangescountdown.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/network.go b/dpos/network.go index 31b9b3d82..20597d852 100644 --- a/dpos/network.go +++ b/dpos/network.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package dpos diff --git a/dpos/p2p/addrmgr/addrmanager.go b/dpos/p2p/addrmgr/addrmanager.go index a9f8f1b6d..16615526b 100644 --- a/dpos/p2p/addrmgr/addrmanager.go +++ b/dpos/p2p/addrmgr/addrmanager.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package addrmgr diff --git a/dpos/p2p/addrmgr/addrmanager_test.go b/dpos/p2p/addrmgr/addrmanager_test.go index 9d2fd5e4c..d50b1bc4c 100644 --- a/dpos/p2p/addrmgr/addrmanager_test.go +++ b/dpos/p2p/addrmgr/addrmanager_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/addrmgr/log.go b/dpos/p2p/addrmgr/log.go index 4b7147987..62e198b07 100644 --- a/dpos/p2p/addrmgr/log.go +++ b/dpos/p2p/addrmgr/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/config.go b/dpos/p2p/config.go index fddfd72c8..84e22fb38 100644 --- a/dpos/p2p/config.go +++ b/dpos/p2p/config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/connmgr/connmanager.go b/dpos/p2p/connmgr/connmanager.go index 24af01f51..071831bc3 100644 --- a/dpos/p2p/connmgr/connmanager.go +++ b/dpos/p2p/connmgr/connmanager.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/connmgr/log.go b/dpos/p2p/connmgr/log.go index 7902a8a8b..dd303cdf4 100644 --- a/dpos/p2p/connmgr/log.go +++ b/dpos/p2p/connmgr/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/hub/conn.go b/dpos/p2p/hub/conn.go index 9339728fc..7537e3e28 100644 --- a/dpos/p2p/hub/conn.go +++ b/dpos/p2p/hub/conn.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/hub/hub.go b/dpos/p2p/hub/hub.go index 66ab3946e..c8d5a95bd 100644 --- a/dpos/p2p/hub/hub.go +++ b/dpos/p2p/hub/hub.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/hub/hub_test.go b/dpos/p2p/hub/hub_test.go index 9e67a4dda..9bb484d4c 100644 --- a/dpos/p2p/hub/hub_test.go +++ b/dpos/p2p/hub/hub_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package hub diff --git a/dpos/p2p/hub/log.go b/dpos/p2p/hub/log.go index 6a3430772..13d9a5775 100644 --- a/dpos/p2p/hub/log.go +++ b/dpos/p2p/hub/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/interface.go b/dpos/p2p/interface.go index 71523424e..26cabc293 100644 --- a/dpos/p2p/interface.go +++ b/dpos/p2p/interface.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/log.go b/dpos/p2p/log.go index 3c080d6fe..d50596afc 100644 --- a/dpos/p2p/log.go +++ b/dpos/p2p/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/addr.go b/dpos/p2p/msg/addr.go index 52e95f0ce..ac5c7ffb0 100644 --- a/dpos/p2p/msg/addr.go +++ b/dpos/p2p/msg/addr.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/commands.go b/dpos/p2p/msg/commands.go index 7edb2cda8..e08e75bcc 100644 --- a/dpos/p2p/msg/commands.go +++ b/dpos/p2p/msg/commands.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/consensusstatus.go b/dpos/p2p/msg/consensusstatus.go index c317c513b..1a15eded6 100644 --- a/dpos/p2p/msg/consensusstatus.go +++ b/dpos/p2p/msg/consensusstatus.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/getblock.go b/dpos/p2p/msg/getblock.go index 3e0b5997a..46fb6572b 100644 --- a/dpos/p2p/msg/getblock.go +++ b/dpos/p2p/msg/getblock.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/getblocks.go b/dpos/p2p/msg/getblocks.go index 41bda9605..7a5e8810c 100644 --- a/dpos/p2p/msg/getblocks.go +++ b/dpos/p2p/msg/getblocks.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/illegalproposals.go b/dpos/p2p/msg/illegalproposals.go index 44b58271a..ad477428f 100644 --- a/dpos/p2p/msg/illegalproposals.go +++ b/dpos/p2p/msg/illegalproposals.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/illegalvotes.go b/dpos/p2p/msg/illegalvotes.go index ad2cf7ca1..fd87bc4a2 100644 --- a/dpos/p2p/msg/illegalvotes.go +++ b/dpos/p2p/msg/illegalvotes.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/inventory.go b/dpos/p2p/msg/inventory.go index 457c158d7..331c13154 100644 --- a/dpos/p2p/msg/inventory.go +++ b/dpos/p2p/msg/inventory.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/ping.go b/dpos/p2p/msg/ping.go index d7d0cb07a..69f191ac9 100644 --- a/dpos/p2p/msg/ping.go +++ b/dpos/p2p/msg/ping.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/pong.go b/dpos/p2p/msg/pong.go index 7128ac2dc..d31871031 100644 --- a/dpos/p2p/msg/pong.go +++ b/dpos/p2p/msg/pong.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/proposal.go b/dpos/p2p/msg/proposal.go index 52d16f848..07ea5fb60 100644 --- a/dpos/p2p/msg/proposal.go +++ b/dpos/p2p/msg/proposal.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/reject.go b/dpos/p2p/msg/reject.go index 0bd2e96ef..22e1e6009 100644 --- a/dpos/p2p/msg/reject.go +++ b/dpos/p2p/msg/reject.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/requestconsensus.go b/dpos/p2p/msg/requestconsensus.go index 516c3751c..77cee4ecc 100644 --- a/dpos/p2p/msg/requestconsensus.go +++ b/dpos/p2p/msg/requestconsensus.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/requestproposal.go b/dpos/p2p/msg/requestproposal.go index 55c1a74db..010708920 100644 --- a/dpos/p2p/msg/requestproposal.go +++ b/dpos/p2p/msg/requestproposal.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/responseblocks.go b/dpos/p2p/msg/responseblocks.go index fd6339824..cb5e65636 100644 --- a/dpos/p2p/msg/responseblocks.go +++ b/dpos/p2p/msg/responseblocks.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/responseconsensus.go b/dpos/p2p/msg/responseconsensus.go index b74790c64..f355db2bd 100644 --- a/dpos/p2p/msg/responseconsensus.go +++ b/dpos/p2p/msg/responseconsensus.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/responseinactivearbitrators.go b/dpos/p2p/msg/responseinactivearbitrators.go index d01acc301..0a1baf87e 100644 --- a/dpos/p2p/msg/responseinactivearbitrators.go +++ b/dpos/p2p/msg/responseinactivearbitrators.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/sidechainillegaldata.go b/dpos/p2p/msg/sidechainillegaldata.go index 4c734df50..c3d637571 100644 --- a/dpos/p2p/msg/sidechainillegaldata.go +++ b/dpos/p2p/msg/sidechainillegaldata.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/verack.go b/dpos/p2p/msg/verack.go index 78c0fccf3..d9768547a 100644 --- a/dpos/p2p/msg/verack.go +++ b/dpos/p2p/msg/verack.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/version.go b/dpos/p2p/msg/version.go index 0ad348ae2..00005fbbb 100644 --- a/dpos/p2p/msg/version.go +++ b/dpos/p2p/msg/version.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/msg/vote.go b/dpos/p2p/msg/vote.go index f909590ca..f63b18072 100644 --- a/dpos/p2p/msg/vote.go +++ b/dpos/p2p/msg/vote.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/notifier.go b/dpos/p2p/notifier.go index 55efd47f3..843f258c4 100644 --- a/dpos/p2p/notifier.go +++ b/dpos/p2p/notifier.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/notifier_test.go b/dpos/p2p/notifier_test.go index bd5d20578..a47d95e06 100644 --- a/dpos/p2p/notifier_test.go +++ b/dpos/p2p/notifier_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/p2p/server.go b/dpos/p2p/server.go index 93ceaad3c..c1522dafb 100644 --- a/dpos/p2p/server.go +++ b/dpos/p2p/server.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package p2p diff --git a/dpos/p2p/server_test.go b/dpos/p2p/server_test.go index 985b91887..036d00268 100644 --- a/dpos/p2p/server_test.go +++ b/dpos/p2p/server_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/state/arbitermember.go b/dpos/state/arbitermember.go index 4393af9d5..01cd73f92 100644 --- a/dpos/state/arbitermember.go +++ b/dpos/state/arbitermember.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/arbitermember_test.go b/dpos/state/arbitermember_test.go index e38f8a57f..57efb4b61 100644 --- a/dpos/state/arbitermember_test.go +++ b/dpos/state/arbitermember_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/arbitrators.go b/dpos/state/arbitrators.go index 892c46545..f951bc801 100644 --- a/dpos/state/arbitrators.go +++ b/dpos/state/arbitrators.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/arbitrators_test.go b/dpos/state/arbitrators_test.go index eb01535f7..d192e7627 100644 --- a/dpos/state/arbitrators_test.go +++ b/dpos/state/arbitrators_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/arbitratorsmock.go b/dpos/state/arbitratorsmock.go index 117d73789..a749efa03 100644 --- a/dpos/state/arbitratorsmock.go +++ b/dpos/state/arbitratorsmock.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/checkpoint.go b/dpos/state/checkpoint.go index 1b9a6e661..185700af7 100644 --- a/dpos/state/checkpoint.go +++ b/dpos/state/checkpoint.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/crarbiter_test.go b/dpos/state/crarbiter_test.go index 9d661faad..46dada32b 100644 --- a/dpos/state/crarbiter_test.go +++ b/dpos/state/crarbiter_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/crcarbiter.go b/dpos/state/crcarbiter.go index 8ace2c734..0233a9236 100644 --- a/dpos/state/crcarbiter.go +++ b/dpos/state/crcarbiter.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/degradation.go b/dpos/state/degradation.go index 25bb84456..f336fccdf 100644 --- a/dpos/state/degradation.go +++ b/dpos/state/degradation.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/state/dposarbiter.go b/dpos/state/dposarbiter.go index f22fd20ab..6304b16ed 100644 --- a/dpos/state/dposarbiter.go +++ b/dpos/state/dposarbiter.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/dposarbiter_test.go b/dpos/state/dposarbiter_test.go index 7663f7578..12f41db6e 100644 --- a/dpos/state/dposarbiter_test.go +++ b/dpos/state/dposarbiter_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/heightversion.go b/dpos/state/heightversion.go index 118eb37b3..8d845902b 100644 --- a/dpos/state/heightversion.go +++ b/dpos/state/heightversion.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/heightversion_test.go b/dpos/state/heightversion_test.go index 3ce2197b3..0bc283007 100644 --- a/dpos/state/heightversion_test.go +++ b/dpos/state/heightversion_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/interface.go b/dpos/state/interface.go index 9fc9f91a0..bbf063e49 100644 --- a/dpos/state/interface.go +++ b/dpos/state/interface.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/keyframe.go b/dpos/state/keyframe.go index d0114b533..5ad97c4a2 100644 --- a/dpos/state/keyframe.go +++ b/dpos/state/keyframe.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/keyframe_test.go b/dpos/state/keyframe_test.go index c5f6a14fd..977bca6f9 100644 --- a/dpos/state/keyframe_test.go +++ b/dpos/state/keyframe_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/log.go b/dpos/state/log.go index 43bee0507..2839ee1d7 100644 --- a/dpos/state/log.go +++ b/dpos/state/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/dpos/state/originarbiter.go b/dpos/state/originarbiter.go index 401167cb1..743234570 100644 --- a/dpos/state/originarbiter.go +++ b/dpos/state/originarbiter.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/originarbiter_test.go b/dpos/state/originarbiter_test.go index b67352354..be1ba9113 100644 --- a/dpos/state/originarbiter_test.go +++ b/dpos/state/originarbiter_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/state.go b/dpos/state/state.go index 58d5ff528..a501f155a 100644 --- a/dpos/state/state.go +++ b/dpos/state/state.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/dpos/state/state_test.go b/dpos/state/state_test.go index ed84715bb..f0f2c26e0 100644 --- a/dpos/state/state_test.go +++ b/dpos/state/state_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package state diff --git a/elanet/dns/dns.go b/elanet/dns/dns.go index 798772d04..657e98686 100644 --- a/elanet/dns/dns.go +++ b/elanet/dns/dns.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/dns/dns_test.go b/elanet/dns/dns_test.go index 3b0b7804e..faac73198 100644 --- a/elanet/dns/dns_test.go +++ b/elanet/dns/dns_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/dns/log.go b/elanet/dns/log.go index 8f344cbe3..f7cf953da 100644 --- a/elanet/dns/log.go +++ b/elanet/dns/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/dns/main/main.go b/elanet/dns/main/main.go index 3e7691ecb..068754b48 100644 --- a/elanet/dns/main/main.go +++ b/elanet/dns/main/main.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/filter/filter.go b/elanet/filter/filter.go index ff01593dc..7b6f0284e 100644 --- a/elanet/filter/filter.go +++ b/elanet/filter/filter.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/filter/merkleblock.go b/elanet/filter/merkleblock.go index 98a1344bd..c16a89c79 100644 --- a/elanet/filter/merkleblock.go +++ b/elanet/filter/merkleblock.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/filter/sidefilter/sidefilter.go b/elanet/filter/sidefilter/sidefilter.go index bc4f213af..f3e17cadb 100644 --- a/elanet/filter/sidefilter/sidefilter.go +++ b/elanet/filter/sidefilter/sidefilter.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/interface.go b/elanet/interface.go index ab3136623..669853791 100644 --- a/elanet/interface.go +++ b/elanet/interface.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/log.go b/elanet/log.go index 47e8e6a24..f46d33d78 100644 --- a/elanet/log.go +++ b/elanet/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/netsync/interface.go b/elanet/netsync/interface.go index 7a2db8877..93fafe54d 100644 --- a/elanet/netsync/interface.go +++ b/elanet/netsync/interface.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/netsync/log.go b/elanet/netsync/log.go index 80ec40911..ff967f021 100644 --- a/elanet/netsync/log.go +++ b/elanet/netsync/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/netsync/manager.go b/elanet/netsync/manager.go index 5d3e7adae..cd1957ea6 100644 --- a/elanet/netsync/manager.go +++ b/elanet/netsync/manager.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package netsync diff --git a/elanet/pact/protocol.go b/elanet/pact/protocol.go index 8c9eabb56..3b05f6463 100644 --- a/elanet/pact/protocol.go +++ b/elanet/pact/protocol.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package pact diff --git a/elanet/peer/log.go b/elanet/peer/log.go index 120590c37..c13aa6d05 100644 --- a/elanet/peer/log.go +++ b/elanet/peer/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/peer/mruinvmap.go b/elanet/peer/mruinvmap.go index 48d44d7f2..a2808a0a9 100644 --- a/elanet/peer/mruinvmap.go +++ b/elanet/peer/mruinvmap.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/peer/mruinvmap_test.go b/elanet/peer/mruinvmap_test.go index 06e84c20e..c0c0e90d7 100644 --- a/elanet/peer/mruinvmap_test.go +++ b/elanet/peer/mruinvmap_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/peer/peer.go b/elanet/peer/peer.go index fe5e62ea6..feda9f3cb 100644 --- a/elanet/peer/peer.go +++ b/elanet/peer/peer.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/routes/log.go b/elanet/routes/log.go index 61983720d..df7aae43c 100644 --- a/elanet/routes/log.go +++ b/elanet/routes/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/routes/routes.go b/elanet/routes/routes.go index 0fa3b2337..da2315bc5 100644 --- a/elanet/routes/routes.go +++ b/elanet/routes/routes.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/routes/routes_test.go b/elanet/routes/routes_test.go index 9183236f1..51fa5634d 100644 --- a/elanet/routes/routes_test.go +++ b/elanet/routes/routes_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/elanet/server.go b/elanet/server.go index 6093e3114..32b728002 100644 --- a/elanet/server.go +++ b/elanet/server.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package elanet diff --git a/elanet/server_test.go b/elanet/server_test.go index 327c6739e..c010fadb1 100644 --- a/elanet/server_test.go +++ b/elanet/server_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package elanet diff --git a/errors/elaerror.go b/errors/elaerror.go index 6269f4a58..f0f002d42 100644 --- a/errors/elaerror.go +++ b/errors/elaerror.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package errors diff --git a/errors/errcode.go b/errors/errcode.go index f492e548b..f0f99ca64 100644 --- a/errors/errcode.go +++ b/errors/errcode.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package errors diff --git a/errors/errcode_test.go b/errors/errcode_test.go index ccdc012ad..8afa5d117 100644 --- a/errors/errcode_test.go +++ b/errors/errcode_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package errors diff --git a/errors/errmap.go b/errors/errmap.go index 0371c7a0b..cdcc093b8 100644 --- a/errors/errmap.go +++ b/errors/errmap.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package errors diff --git a/errors/errmap_test.go b/errors/errmap_test.go index 2855fe5fc..3a4aaa842 100644 --- a/errors/errmap_test.go +++ b/errors/errmap_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package errors diff --git a/errors/jsonformat.go b/errors/jsonformat.go index ba9b2b17c..831bd128a 100644 --- a/errors/jsonformat.go +++ b/errors/jsonformat.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package errors diff --git a/errors/jsonformat_test.go b/errors/jsonformat_test.go index 6d6a49b0e..ebb65f86b 100644 --- a/errors/jsonformat_test.go +++ b/errors/jsonformat_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package errors diff --git a/events/events.go b/events/events.go index f06bd0bbf..901df0817 100644 --- a/events/events.go +++ b/events/events.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/events/events_test.go b/events/events_test.go index 92fb7d799..2fe730d6a 100644 --- a/events/events_test.go +++ b/events/events_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package events diff --git a/log.go b/log.go index 2ec594516..0adb657b9 100644 --- a/log.go +++ b/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/main.go b/main.go index c723e60d7..ec904d4e0 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package main diff --git a/mempool/blockevidence.go b/mempool/blockevidence.go index 741daeccb..d07b6cc5a 100644 --- a/mempool/blockevidence.go +++ b/mempool/blockevidence.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package mempool diff --git a/mempool/blockpool.go b/mempool/blockpool.go index 695c05fa0..11f7c3923 100644 --- a/mempool/blockpool.go +++ b/mempool/blockpool.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package mempool diff --git a/mempool/conflictfunc.go b/mempool/conflictfunc.go index 92c68f610..e2a329297 100644 --- a/mempool/conflictfunc.go +++ b/mempool/conflictfunc.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package mempool import ( diff --git a/mempool/conflictmanager.go b/mempool/conflictmanager.go index de4f74147..6926495e9 100644 --- a/mempool/conflictmanager.go +++ b/mempool/conflictmanager.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package mempool import ( diff --git a/mempool/conflictmanager_test.go b/mempool/conflictmanager_test.go index 1b96cb2f4..a440ce3d7 100644 --- a/mempool/conflictmanager_test.go +++ b/mempool/conflictmanager_test.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package mempool import ( diff --git a/mempool/conflictslot.go b/mempool/conflictslot.go index e6eaad080..2059f1f32 100644 --- a/mempool/conflictslot.go +++ b/mempool/conflictslot.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package mempool diff --git a/mempool/conflictslot_test.go b/mempool/conflictslot_test.go index 9056649d3..faee7fda7 100644 --- a/mempool/conflictslot_test.go +++ b/mempool/conflictslot_test.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package mempool import ( diff --git a/mempool/txfeeorderedlist.go b/mempool/txfeeorderedlist.go index 5b84dd44d..7dcae8de7 100644 --- a/mempool/txfeeorderedlist.go +++ b/mempool/txfeeorderedlist.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package mempool import ( diff --git a/mempool/txfeeorderedlist_bench_test.go b/mempool/txfeeorderedlist_bench_test.go index fe1852185..85f746750 100644 --- a/mempool/txfeeorderedlist_bench_test.go +++ b/mempool/txfeeorderedlist_bench_test.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package mempool import ( diff --git a/mempool/txfeeorderedlist_test.go b/mempool/txfeeorderedlist_test.go index 1add91142..3932f82df 100644 --- a/mempool/txfeeorderedlist_test.go +++ b/mempool/txfeeorderedlist_test.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package mempool import ( diff --git a/mempool/txpool.go b/mempool/txpool.go index fbf2d49aa..16acb282d 100644 --- a/mempool/txpool.go +++ b/mempool/txpool.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package mempool diff --git a/mempool/txpool_test.go b/mempool/txpool_test.go index e112d47f9..75850f061 100644 --- a/mempool/txpool_test.go +++ b/mempool/txpool_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package mempool diff --git a/mempool/txpoolcheckpoint.go b/mempool/txpoolcheckpoint.go index 0bb743890..60e48c130 100644 --- a/mempool/txpoolcheckpoint.go +++ b/mempool/txpoolcheckpoint.go @@ -1,3 +1,8 @@ +// Copyright (c) 2017-2020 The Elastos Foundation +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. +// + package mempool import ( diff --git a/p2p/addrmgr/addrmanager.go b/p2p/addrmgr/addrmanager.go index bb9dede5c..d5afc7fc6 100644 --- a/p2p/addrmgr/addrmanager.go +++ b/p2p/addrmgr/addrmanager.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package addrmgr diff --git a/p2p/addrmgr/addrmanager_test.go b/p2p/addrmgr/addrmanager_test.go index a53d4f96f..c8c2d7a58 100644 --- a/p2p/addrmgr/addrmanager_test.go +++ b/p2p/addrmgr/addrmanager_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/addrmgr/internal_test.go b/p2p/addrmgr/internal_test.go index 3c2895684..8749d1693 100644 --- a/p2p/addrmgr/internal_test.go +++ b/p2p/addrmgr/internal_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/addrmgr/knownaddress.go b/p2p/addrmgr/knownaddress.go index 7af009695..fcdcc1f7e 100644 --- a/p2p/addrmgr/knownaddress.go +++ b/p2p/addrmgr/knownaddress.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/addrmgr/knownaddress_test.go b/p2p/addrmgr/knownaddress_test.go index 6af56d1a5..db2110acb 100644 --- a/p2p/addrmgr/knownaddress_test.go +++ b/p2p/addrmgr/knownaddress_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/addrmgr/log.go b/p2p/addrmgr/log.go index 4b7147987..62e198b07 100644 --- a/p2p/addrmgr/log.go +++ b/p2p/addrmgr/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/addrmgr/network.go b/p2p/addrmgr/network.go index 8d694ffee..ecb52d6bb 100644 --- a/p2p/addrmgr/network.go +++ b/p2p/addrmgr/network.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/addrmgr/network_test.go b/p2p/addrmgr/network_test.go index e79468608..2e2a8dbac 100644 --- a/p2p/addrmgr/network_test.go +++ b/p2p/addrmgr/network_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/connmgr/connmanager.go b/p2p/connmgr/connmanager.go index 77b22cd62..1cd5af3b4 100644 --- a/p2p/connmgr/connmanager.go +++ b/p2p/connmgr/connmanager.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/connmgr/connmanager_test.go b/p2p/connmgr/connmanager_test.go index 5f0dbc98e..3ab76b81a 100644 --- a/p2p/connmgr/connmanager_test.go +++ b/p2p/connmgr/connmanager_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/connmgr/dynamicbanscore.go b/p2p/connmgr/dynamicbanscore.go index 4de20867c..1479a0805 100644 --- a/p2p/connmgr/dynamicbanscore.go +++ b/p2p/connmgr/dynamicbanscore.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/connmgr/dynamicbanscore_test.go b/p2p/connmgr/dynamicbanscore_test.go index 3becc240f..174c010ad 100644 --- a/p2p/connmgr/dynamicbanscore_test.go +++ b/p2p/connmgr/dynamicbanscore_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/connmgr/log.go b/p2p/connmgr/log.go index 7902a8a8b..dd303cdf4 100644 --- a/p2p/connmgr/log.go +++ b/p2p/connmgr/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/connmgr/tor.go b/p2p/connmgr/tor.go index 71000be26..fd41b175f 100644 --- a/p2p/connmgr/tor.go +++ b/p2p/connmgr/tor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/header.go b/p2p/header.go index 6130d5c49..d58ed2b06 100644 --- a/p2p/header.go +++ b/p2p/header.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/message.go b/p2p/message.go index 27d2ad948..6540c7fa5 100644 --- a/p2p/message.go +++ b/p2p/message.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package p2p diff --git a/p2p/msg/addr.go b/p2p/msg/addr.go index 17b186742..6d915968d 100644 --- a/p2p/msg/addr.go +++ b/p2p/msg/addr.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/block.go b/p2p/msg/block.go index 9f8558302..d871045ef 100644 --- a/p2p/msg/block.go +++ b/p2p/msg/block.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/daddr.go b/p2p/msg/daddr.go index d26ba7769..ccbf3f86b 100644 --- a/p2p/msg/daddr.go +++ b/p2p/msg/daddr.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/empty.go b/p2p/msg/empty.go index cc89c0652..a5cd496b9 100644 --- a/p2p/msg/empty.go +++ b/p2p/msg/empty.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/filteradd.go b/p2p/msg/filteradd.go index 72d1cfac8..4625b95bd 100644 --- a/p2p/msg/filteradd.go +++ b/p2p/msg/filteradd.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/filterclear.go b/p2p/msg/filterclear.go index 14a0ca0e3..fc0d37747 100644 --- a/p2p/msg/filterclear.go +++ b/p2p/msg/filterclear.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/filterload.go b/p2p/msg/filterload.go index d228ba99c..e48c991cc 100644 --- a/p2p/msg/filterload.go +++ b/p2p/msg/filterload.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/getaddr.go b/p2p/msg/getaddr.go index e67950610..e0c5f2108 100644 --- a/p2p/msg/getaddr.go +++ b/p2p/msg/getaddr.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/getblocks.go b/p2p/msg/getblocks.go index d2877feaa..e0b48e9e2 100644 --- a/p2p/msg/getblocks.go +++ b/p2p/msg/getblocks.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/getdata.go b/p2p/msg/getdata.go index 3c606aee0..bf6c01bdc 100644 --- a/p2p/msg/getdata.go +++ b/p2p/msg/getdata.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/inv.go b/p2p/msg/inv.go index 8128861ef..e1327aaad 100644 --- a/p2p/msg/inv.go +++ b/p2p/msg/inv.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/invvect.go b/p2p/msg/invvect.go index 8edc4169a..75fd1cd71 100644 --- a/p2p/msg/invvect.go +++ b/p2p/msg/invvect.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/mempool.go b/p2p/msg/mempool.go index b1dae0c9f..d3c8a506f 100644 --- a/p2p/msg/mempool.go +++ b/p2p/msg/mempool.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/merkleblock.go b/p2p/msg/merkleblock.go index cfe9c08ae..e03a0c2b5 100644 --- a/p2p/msg/merkleblock.go +++ b/p2p/msg/merkleblock.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/notfound.go b/p2p/msg/notfound.go index 48e38bfe1..06f4d7b50 100644 --- a/p2p/msg/notfound.go +++ b/p2p/msg/notfound.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/ping.go b/p2p/msg/ping.go index d7d0cb07a..69f191ac9 100644 --- a/p2p/msg/ping.go +++ b/p2p/msg/ping.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/pong.go b/p2p/msg/pong.go index 7128ac2dc..d31871031 100644 --- a/p2p/msg/pong.go +++ b/p2p/msg/pong.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/reject.go b/p2p/msg/reject.go index 8a2fa4a76..cf527b55a 100644 --- a/p2p/msg/reject.go +++ b/p2p/msg/reject.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/tx.go b/p2p/msg/tx.go index 63631748a..5488b554b 100644 --- a/p2p/msg/tx.go +++ b/p2p/msg/tx.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/txfilterload.go b/p2p/msg/txfilterload.go index a03e646a1..1c37d777c 100644 --- a/p2p/msg/txfilterload.go +++ b/p2p/msg/txfilterload.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/verack.go b/p2p/msg/verack.go index 5870b2453..ec43fa747 100644 --- a/p2p/msg/verack.go +++ b/p2p/msg/verack.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/msg/version.go b/p2p/msg/version.go index 330bd2714..644d1a6f4 100644 --- a/p2p/msg/version.go +++ b/p2p/msg/version.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/nafilter.go b/p2p/nafilter.go index f79c0b70f..e674ec4c4 100644 --- a/p2p/nafilter.go +++ b/p2p/nafilter.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/netaddress.go b/p2p/netaddress.go index 8b57a9804..567a6d6d9 100644 --- a/p2p/netaddress.go +++ b/p2p/netaddress.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/peer/log.go b/p2p/peer/log.go index a44ca45de..5e7121da9 100644 --- a/p2p/peer/log.go +++ b/p2p/peer/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/peer/peer.go b/p2p/peer/peer.go index 8c04e215a..e1032a1ec 100644 --- a/p2p/peer/peer.go +++ b/p2p/peer/peer.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package peer diff --git a/p2p/server/config.go b/p2p/server/config.go index e0799e6c7..4c88b4ef4 100644 --- a/p2p/server/config.go +++ b/p2p/server/config.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package server diff --git a/p2p/server/interface.go b/p2p/server/interface.go index 31d545190..8694fa55d 100644 --- a/p2p/server/interface.go +++ b/p2p/server/interface.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/server/log.go b/p2p/server/log.go index 518572697..33dc182cc 100644 --- a/p2p/server/log.go +++ b/p2p/server/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/server/mrunoncemap.go b/p2p/server/mrunoncemap.go index 079809b04..8f4d53f8d 100644 --- a/p2p/server/mrunoncemap.go +++ b/p2p/server/mrunoncemap.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/server/mrunoncemap_test.go b/p2p/server/mrunoncemap_test.go index 3658acb9b..8996c48a9 100644 --- a/p2p/server/mrunoncemap_test.go +++ b/p2p/server/mrunoncemap_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/server/seed.go b/p2p/server/seed.go index 8f21ca005..1edc4871c 100644 --- a/p2p/server/seed.go +++ b/p2p/server/seed.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/p2p/server/server.go b/p2p/server/server.go index 1c808baaf..97ae3fec6 100644 --- a/p2p/server/server.go +++ b/p2p/server/server.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package server diff --git a/pow/service.go b/pow/service.go index 634792484..4cf17b3ad 100644 --- a/pow/service.go +++ b/pow/service.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package pow diff --git a/pow/service_test.go b/pow/service_test.go index 51f5a2908..ef4cfd14c 100644 --- a/pow/service_test.go +++ b/pow/service_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package pow diff --git a/servers/common.go b/servers/common.go index f15f388c9..f2d678ad8 100644 --- a/servers/common.go +++ b/servers/common.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package servers diff --git a/servers/errors/errcode.go b/servers/errors/errcode.go index a303d6476..1a05fc98d 100644 --- a/servers/errors/errcode.go +++ b/servers/errors/errcode.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/servers/errors/errcode_test.go b/servers/errors/errcode_test.go index baa35127e..cdaf67911 100644 --- a/servers/errors/errcode_test.go +++ b/servers/errors/errcode_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/servers/httpjsonrpc/server.go b/servers/httpjsonrpc/server.go index 222dee6d9..0959c6458 100644 --- a/servers/httpjsonrpc/server.go +++ b/servers/httpjsonrpc/server.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package httpjsonrpc diff --git a/servers/httpnodeinfo/server.go b/servers/httpnodeinfo/server.go index e11d2f2bc..eabb21073 100644 --- a/servers/httpnodeinfo/server.go +++ b/servers/httpnodeinfo/server.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/servers/httpnodeinfo/template.go b/servers/httpnodeinfo/template.go index c9b5e09f7..3c4b11061 100644 --- a/servers/httpnodeinfo/template.go +++ b/servers/httpnodeinfo/template.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/servers/httprestful/router.go b/servers/httprestful/router.go index 482797228..a1ba41aa4 100644 --- a/servers/httprestful/router.go +++ b/servers/httprestful/router.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/servers/httprestful/server.go b/servers/httprestful/server.go index 594e78031..f58620572 100644 --- a/servers/httprestful/server.go +++ b/servers/httprestful/server.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/servers/httpwebsocket/server.go b/servers/httpwebsocket/server.go index 7cb4fb537..db7c4f558 100644 --- a/servers/httpwebsocket/server.go +++ b/servers/httpwebsocket/server.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/servers/httpwebsocket/session.go b/servers/httpwebsocket/session.go index eee633b4a..14092c52e 100644 --- a/servers/httpwebsocket/session.go +++ b/servers/httpwebsocket/session.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/servers/interfaces.go b/servers/interfaces.go index e674e2c5c..f3a48610a 100644 --- a/servers/interfaces.go +++ b/servers/interfaces.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package servers diff --git a/servers/params.go b/servers/params.go index 75ee08ded..2dc480233 100644 --- a/servers/params.go +++ b/servers/params.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/test/common/ansicolors.lua b/test/common/ansicolors.lua index 9bd4b25b9..daf62f122 100644 --- a/test/common/ansicolors.lua +++ b/test/common/ansicolors.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/common/test_utils.lua b/test/common/test_utils.lua index 42ccceeb5..a0d6f609d 100644 --- a/test/common/test_utils.lua +++ b/test/common/test_utils.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/activate_producer_tx.lua b/test/transaction/activate_producer_tx.lua index fb7b36efb..6da0774b5 100644 --- a/test/transaction/activate_producer_tx.lua +++ b/test/transaction/activate_producer_tx.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/cancel_producer_tx.lua b/test/transaction/cancel_producer_tx.lua index 075c51ece..03af5ba6a 100644 --- a/test/transaction/cancel_producer_tx.lua +++ b/test/transaction/cancel_producer_tx.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/common.lua b/test/transaction/common.lua index 973778cc9..c074a2cf2 100644 --- a/test/transaction/common.lua +++ b/test/transaction/common.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/crc_proposal_review.lua b/test/transaction/crc_proposal_review.lua index 466a539bc..7a9812d17 100644 --- a/test/transaction/crc_proposal_review.lua +++ b/test/transaction/crc_proposal_review.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/crc_proposal_tracking.lua b/test/transaction/crc_proposal_tracking.lua index 8161ca652..06d213faf 100644 --- a/test/transaction/crc_proposal_tracking.lua +++ b/test/transaction/crc_proposal_tracking.lua @@ -1,3 +1,8 @@ +-- Copyright (c) 2017-2020 The Elastos Foundation +-- Use of this source code is governed by an MIT +-- license that can be found in the LICENSE file. +-- + -- Copyright (c) 2017-2019 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. diff --git a/test/transaction/crc_proposal_tx.lua b/test/transaction/crc_proposal_tx.lua index 7b1dc23e1..2302e3821 100644 --- a/test/transaction/crc_proposal_tx.lua +++ b/test/transaction/crc_proposal_tx.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/crc_proposal_withdraw.lua b/test/transaction/crc_proposal_withdraw.lua index 3b466dfbc..1c6709f96 100644 --- a/test/transaction/crc_proposal_withdraw.lua +++ b/test/transaction/crc_proposal_withdraw.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/normal_multi_output.lua b/test/transaction/normal_multi_output.lua index 8ba01863c..a5fc4ce9c 100644 --- a/test/transaction/normal_multi_output.lua +++ b/test/transaction/normal_multi_output.lua @@ -1,7 +1,7 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. --- +-- local m = require("api") diff --git a/test/transaction/normal_tx.lua b/test/transaction/normal_tx.lua index 8e4c45abf..1f3a5e87f 100644 --- a/test/transaction/normal_tx.lua +++ b/test/transaction/normal_tx.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/register_cr_tx.lua b/test/transaction/register_cr_tx.lua index f11e26c82..6e2820acd 100644 --- a/test/transaction/register_cr_tx.lua +++ b/test/transaction/register_cr_tx.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/register_producer_tx.lua b/test/transaction/register_producer_tx.lua index b668bf85b..dc91cb373 100644 --- a/test/transaction/register_producer_tx.lua +++ b/test/transaction/register_producer_tx.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/return_cr_deposit_coin.lua b/test/transaction/return_cr_deposit_coin.lua index 379fd872e..6cba158ea 100644 --- a/test/transaction/return_cr_deposit_coin.lua +++ b/test/transaction/return_cr_deposit_coin.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/return_deposit_coin.lua b/test/transaction/return_deposit_coin.lua index ed3aafff3..08b78e240 100644 --- a/test/transaction/return_deposit_coin.lua +++ b/test/transaction/return_deposit_coin.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/sidechainpow_tx.lua b/test/transaction/sidechainpow_tx.lua index c3b8d19ad..574f436bc 100644 --- a/test/transaction/sidechainpow_tx.lua +++ b/test/transaction/sidechainpow_tx.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/unregister_cr_tx.lua b/test/transaction/unregister_cr_tx.lua index 42941ad9c..217ef459a 100644 --- a/test/transaction/unregister_cr_tx.lua +++ b/test/transaction/unregister_cr_tx.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/update_cr_tx.lua b/test/transaction/update_cr_tx.lua index 8953acce7..509dbf00d 100644 --- a/test/transaction/update_cr_tx.lua +++ b/test/transaction/update_cr_tx.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/update_producer_tx.lua b/test/transaction/update_producer_tx.lua index b7ef2d047..6137328db 100644 --- a/test/transaction/update_producer_tx.lua +++ b/test/transaction/update_producer_tx.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/vote_cr_tx.lua b/test/transaction/vote_cr_tx.lua index 0d6d48016..7e5c6a9d4 100644 --- a/test/transaction/vote_cr_tx.lua +++ b/test/transaction/vote_cr_tx.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/vote_crc_impeachment_tx.lua b/test/transaction/vote_crc_impeachment_tx.lua index bfedce461..5974e8695 100644 --- a/test/transaction/vote_crc_impeachment_tx.lua +++ b/test/transaction/vote_crc_impeachment_tx.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/vote_crc_proposal_tx.lua b/test/transaction/vote_crc_proposal_tx.lua index 896d03ab0..cd9ddfeaa 100644 --- a/test/transaction/vote_crc_proposal_tx.lua +++ b/test/transaction/vote_crc_proposal_tx.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/transaction/vote_tx.lua b/test/transaction/vote_tx.lua index e1106c148..a5f6749b8 100644 --- a/test/transaction/vote_tx.lua +++ b/test/transaction/vote_tx.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/white_box/dpos/illegal_proposals.lua b/test/white_box/dpos/illegal_proposals.lua index b418062e6..cd5b676aa 100644 --- a/test/white_box/dpos/illegal_proposals.lua +++ b/test/white_box/dpos/illegal_proposals.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/white_box/dpos/normal_one_view_success.lua b/test/white_box/dpos/normal_one_view_success.lua index f8e90bacb..64d51e508 100644 --- a/test/white_box/dpos/normal_one_view_success.lua +++ b/test/white_box/dpos/normal_one_view_success.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/white_box/dpos/onduty_one_view_success.lua b/test/white_box/dpos/onduty_one_view_success.lua index dbfd36e4d..034b05f66 100644 --- a/test/white_box/dpos/onduty_one_view_success.lua +++ b/test/white_box/dpos/onduty_one_view_success.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/white_box/dpos_manager.lua b/test/white_box/dpos_manager.lua index b9b2835e3..0fddd674c 100644 --- a/test/white_box/dpos_manager.lua +++ b/test/white_box/dpos_manager.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/white_box/dpos_msg.lua b/test/white_box/dpos_msg.lua index e9ae98de3..1f8bb9af8 100644 --- a/test/white_box/dpos_msg.lua +++ b/test/white_box/dpos_msg.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/white_box/dpos_test_suite.lua b/test/white_box/dpos_test_suite.lua index 2d50937f1..a3b23e218 100644 --- a/test/white_box/dpos_test_suite.lua +++ b/test/white_box/dpos_test_suite.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/white_box/log_config.lua b/test/white_box/log_config.lua index 70e17ba63..1ac7bf1cf 100644 --- a/test/white_box/log_config.lua +++ b/test/white_box/log_config.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/test/white_box/main/test_all.lua b/test/white_box/main/test_all.lua index 9e9faf06e..522e95122 100644 --- a/test/white_box/main/test_all.lua +++ b/test/white_box/main/test_all.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2017-2019 The Elastos Foundation +-- Copyright (c) 2017-2020 The Elastos Foundation -- Use of this source code is governed by an MIT -- license that can be found in the LICENSE file. -- diff --git a/utils/common.go b/utils/common.go index 7252e7497..5638a962e 100644 --- a/utils/common.go +++ b/utils/common.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/utils/elalog/filewriter.go b/utils/elalog/filewriter.go index 53bd8e451..e49ef11d9 100644 --- a/utils/elalog/filewriter.go +++ b/utils/elalog/filewriter.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/utils/elalog/interface.go b/utils/elalog/interface.go index 4a9567859..7a5982426 100644 --- a/utils/elalog/interface.go +++ b/utils/elalog/interface.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/utils/elalog/log.go b/utils/elalog/log.go index d427a2773..852fc8f4e 100644 --- a/utils/elalog/log.go +++ b/utils/elalog/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/utils/gpath/gpath.go b/utils/gpath/gpath.go index f9e2bfcda..77f8f4ceb 100644 --- a/utils/gpath/gpath.go +++ b/utils/gpath/gpath.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/utils/gpath/gpath_test.go b/utils/gpath/gpath_test.go index a735ec021..ed15b651c 100644 --- a/utils/gpath/gpath_test.go +++ b/utils/gpath/gpath_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/utils/history.go b/utils/history.go index 6ac341337..0ca1729c8 100644 --- a/utils/history.go +++ b/utils/history.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package utils diff --git a/utils/history_test.go b/utils/history_test.go index 93b1d7fa8..1444f01e6 100644 --- a/utils/history_test.go +++ b/utils/history_test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package utils diff --git a/utils/http/error.go b/utils/http/error.go index 3368e775f..c10a6d2f1 100644 --- a/utils/http/error.go +++ b/utils/http/error.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/utils/http/jsonrpc/server.go b/utils/http/jsonrpc/server.go index 6dcf05057..e5e0c90de 100644 --- a/utils/http/jsonrpc/server.go +++ b/utils/http/jsonrpc/server.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/utils/http/jsonrpc/server_test.go b/utils/http/jsonrpc/server_test.go index 2cae4a6d1..a06acb931 100644 --- a/utils/http/jsonrpc/server_test.go +++ b/utils/http/jsonrpc/server_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/utils/http/jsonrpc/util.go b/utils/http/jsonrpc/util.go index a429f3240..3291adda4 100644 --- a/utils/http/jsonrpc/util.go +++ b/utils/http/jsonrpc/util.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/utils/http/params.go b/utils/http/params.go index ee46117f9..9b1c733a8 100644 --- a/utils/http/params.go +++ b/utils/http/params.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/utils/http/restful/route.go b/utils/http/restful/route.go index ec490efe7..6ec03e0d4 100644 --- a/utils/http/restful/route.go +++ b/utils/http/restful/route.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/utils/http/restful/server.go b/utils/http/restful/server.go index 28bf33ddb..b5fcabc6c 100644 --- a/utils/http/restful/server.go +++ b/utils/http/restful/server.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/utils/http/restful/server_test.go b/utils/http/restful/server_test.go index 811eb0fa2..661bc1c55 100644 --- a/utils/http/restful/server_test.go +++ b/utils/http/restful/server_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/utils/signal/interrupt.go b/utils/signal/interrupt.go index 730ab014a..ff62eda58 100644 --- a/utils/signal/interrupt.go +++ b/utils/signal/interrupt.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/utils/test/test.go b/utils/test/test.go index 01b9e0468..f89f46a7d 100644 --- a/utils/test/test.go +++ b/utils/test/test.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package test diff --git a/vm/opcode.go b/vm/opcode.go index 6982b726c..c870297d3 100644 --- a/vm/opcode.go +++ b/vm/opcode.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/wallet/coin.go b/wallet/coin.go index b75fbd392..69c8c9d31 100644 --- a/wallet/coin.go +++ b/wallet/coin.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/wallet/coin_test.go b/wallet/coin_test.go index 7f1da286f..98f94c0f7 100644 --- a/wallet/coin_test.go +++ b/wallet/coin_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/wallet/coincheckpoint.go b/wallet/coincheckpoint.go index 7930c3776..d05a01241 100644 --- a/wallet/coincheckpoint.go +++ b/wallet/coincheckpoint.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/wallet/coincheckpoint_test.go b/wallet/coincheckpoint_test.go index 71bbcfefc..ace2a8a83 100644 --- a/wallet/coincheckpoint_test.go +++ b/wallet/coincheckpoint_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/wallet/common.go b/wallet/common.go index 0ba230521..b47e6b0be 100644 --- a/wallet/common.go +++ b/wallet/common.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/wallet/ownedcoins.go b/wallet/ownedcoins.go index 722a62eed..3d690cd2c 100644 --- a/wallet/ownedcoins.go +++ b/wallet/ownedcoins.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/wallet/ownedcoins_test.go b/wallet/ownedcoins_test.go index dcc3361d0..61c729fa1 100644 --- a/wallet/ownedcoins_test.go +++ b/wallet/ownedcoins_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. // diff --git a/wallet/wallet.go b/wallet/wallet.go index 71b76db40..b675634b2 100644 --- a/wallet/wallet.go +++ b/wallet/wallet.go @@ -1,7 +1,7 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// +// package wallet diff --git a/wallet/wallet_test.go b/wallet/wallet_test.go index 2ccef06b7..c4a9950ea 100644 --- a/wallet/wallet_test.go +++ b/wallet/wallet_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Elastos Foundation +// Copyright (c) 2017-2020 The Elastos Foundation // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. //