From bfbcfbe4a9dd9125391b56d6a13158cc5ec71c89 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 23 Jul 2015 18:35:11 +0200 Subject: [PATCH 1/4] all: fix license headers one more time I forgot to update one instance of "go-ethereum" in commit 3f047be5a. --- accounts/abi/abi.go | 2 +- accounts/abi/abi_test.go | 2 +- accounts/abi/doc.go | 2 +- accounts/abi/numbers.go | 2 +- accounts/abi/numbers_test.go | 2 +- accounts/abi/type.go | 2 +- accounts/account_manager.go | 2 +- accounts/accounts_test.go | 2 +- build/update-license.go | 2 +- common/big.go | 2 +- common/big_test.go | 2 +- common/bytes.go | 2 +- common/bytes_test.go | 2 +- common/compiler/solidity.go | 2 +- common/compiler/solidity_test.go | 2 +- common/config.go | 2 +- common/db.go | 2 +- common/debug.go | 2 +- common/docserver/docserver.go | 2 +- common/docserver/docserver_test.go | 2 +- common/list.go | 2 +- common/main_test.go | 2 +- common/math/dist.go | 2 +- common/math/dist_test.go | 2 +- common/natspec/natspec.go | 2 +- common/natspec/natspec_e2e_test.go | 2 +- common/natspec/natspec_js.go | 2 +- common/natspec/natspec_test.go | 2 +- common/number/int.go | 2 +- common/number/uint_test.go | 2 +- common/package.go | 2 +- common/path.go | 2 +- common/path_test.go | 2 +- common/registrar/contracts.go | 2 +- common/registrar/ethreg/ethreg.go | 2 +- common/registrar/registrar.go | 2 +- common/registrar/registrar_test.go | 2 +- common/rlp.go | 2 +- common/rlp_test.go | 2 +- common/size.go | 2 +- common/size_test.go | 2 +- common/test_utils.go | 2 +- common/types.go | 2 +- common/types_template.go | 2 +- common/types_test.go | 2 +- common/value.go | 2 +- common/value_test.go | 2 +- compression/rle/read_write.go | 2 +- compression/rle/read_write_test.go | 2 +- core/asm.go | 2 +- core/bad_block.go | 2 +- core/bench_test.go | 2 +- core/block_cache.go | 2 +- core/block_cache_test.go | 2 +- core/block_processor.go | 2 +- core/block_processor_test.go | 2 +- core/blocks.go | 2 +- core/canary.go | 2 +- core/chain_makers.go | 2 +- core/chain_makers_test.go | 2 +- core/chain_manager.go | 2 +- core/chain_manager_test.go | 2 +- core/chain_util.go | 2 +- core/error.go | 2 +- core/events.go | 2 +- core/execution.go | 2 +- core/fees.go | 2 +- core/filter.go | 2 +- core/filter_test.go | 2 +- core/genesis.go | 2 +- core/helper_test.go | 2 +- core/manager.go | 2 +- core/state/dump.go | 2 +- core/state/errors.go | 2 +- core/state/log.go | 2 +- core/state/main_test.go | 2 +- core/state/managed_state.go | 2 +- core/state/managed_state_test.go | 2 +- core/state/state_object.go | 2 +- core/state/state_test.go | 2 +- core/state/statedb.go | 2 +- core/state_transition.go | 2 +- core/transaction_pool.go | 2 +- core/transaction_pool_test.go | 2 +- core/transaction_util.go | 2 +- core/types/block.go | 2 +- core/types/block_test.go | 2 +- core/types/bloom9.go | 2 +- core/types/bloom9_test.go | 2 +- core/types/common.go | 2 +- core/types/derive_sha.go | 2 +- core/types/receipt.go | 2 +- core/types/transaction.go | 2 +- core/types/transaction_test.go | 2 +- core/vm/analysis.go | 2 +- core/vm/asm.go | 2 +- core/vm/common.go | 2 +- core/vm/context.go | 2 +- core/vm/contracts.go | 2 +- core/vm/disasm.go | 2 +- core/vm/environment.go | 2 +- core/vm/errors.go | 2 +- core/vm/gas.go | 2 +- core/vm/logger.go | 2 +- core/vm/memory.go | 2 +- core/vm/opcodes.go | 2 +- core/vm/stack.go | 2 +- core/vm/virtual_machine.go | 2 +- core/vm/vm.go | 2 +- core/vm/vm_jit.go | 2 +- core/vm/vm_jit_fake.go | 2 +- core/vm_env.go | 2 +- crypto/crypto.go | 2 +- crypto/crypto_test.go | 2 +- crypto/encrypt_decrypt_test.go | 2 +- crypto/key.go | 2 +- crypto/key_store_passphrase.go | 2 +- crypto/key_store_plain.go | 2 +- crypto/key_store_test.go | 2 +- crypto/keypair.go | 2 +- crypto/mnemonic.go | 2 +- crypto/mnemonic_test.go | 2 +- crypto/mnemonic_words.go | 2 +- crypto/randentropy/rand_entropy.go | 2 +- crypto/secp256k1/notes.go | 2 +- crypto/secp256k1/secp256.go | 2 +- crypto/secp256k1/secp256_test.go | 2 +- errs/errors.go | 2 +- errs/errors_test.go | 2 +- eth/backend.go | 2 +- eth/downloader/downloader.go | 2 +- eth/downloader/downloader_test.go | 2 +- eth/downloader/events.go | 2 +- eth/downloader/peer.go | 2 +- eth/downloader/queue.go | 2 +- eth/fetcher/fetcher.go | 2 +- eth/fetcher/fetcher_test.go | 2 +- eth/fetcher/metrics.go | 2 +- eth/gasprice.go | 2 +- eth/handler.go | 2 +- eth/metrics.go | 2 +- eth/peer.go | 2 +- eth/protocol.go | 2 +- eth/protocol_test.go | 2 +- eth/sync.go | 2 +- ethdb/database.go | 2 +- ethdb/database_test.go | 2 +- ethdb/memory_database.go | 2 +- event/event.go | 2 +- event/event_test.go | 2 +- event/example_test.go | 2 +- event/filter/eth_filter.go | 2 +- event/filter/filter.go | 2 +- event/filter/filter_test.go | 2 +- event/filter/generic_filter.go | 2 +- generators/defaults.go | 2 +- jsre/bignumber_js.go | 2 +- jsre/ethereum_js.go | 2 +- jsre/jsre.go | 2 +- jsre/jsre_test.go | 2 +- jsre/pp_js.go | 2 +- logger/example_test.go | 2 +- logger/log.go | 2 +- logger/loggers.go | 2 +- logger/loggers_test.go | 2 +- logger/logsystem.go | 2 +- logger/sys.go | 2 +- logger/types.go | 2 +- logger/verbosity.go | 2 +- metrics/disk.go | 2 +- metrics/disk_linux.go | 2 +- metrics/disk_nop.go | 2 +- metrics/metrics.go | 2 +- miner/agent.go | 2 +- miner/miner.go | 2 +- miner/remote_agent.go | 2 +- miner/worker.go | 2 +- p2p/dial.go | 2 +- p2p/dial_test.go | 2 +- p2p/discover/database.go | 2 +- p2p/discover/database_test.go | 2 +- p2p/discover/node.go | 2 +- p2p/discover/node_test.go | 2 +- p2p/discover/table.go | 2 +- p2p/discover/table_test.go | 2 +- p2p/discover/udp.go | 2 +- p2p/discover/udp_test.go | 2 +- p2p/message.go | 2 +- p2p/message_test.go | 2 +- p2p/metrics.go | 2 +- p2p/nat/nat.go | 2 +- p2p/nat/nat_test.go | 2 +- p2p/nat/natpmp.go | 2 +- p2p/nat/natupnp.go | 2 +- p2p/nat/natupnp_test.go | 2 +- p2p/peer.go | 2 +- p2p/peer_error.go | 2 +- p2p/peer_test.go | 2 +- p2p/protocol.go | 2 +- p2p/rlpx.go | 2 +- p2p/rlpx_test.go | 2 +- p2p/server.go | 2 +- p2p/server_test.go | 2 +- params/protocol_params.go | 2 +- pow/block.go | 2 +- pow/dagger/dagger.go | 2 +- pow/dagger/dagger_test.go | 2 +- pow/ezp/pow.go | 2 +- pow/pow.go | 2 +- rlp/decode.go | 2 +- rlp/decode_test.go | 2 +- rlp/doc.go | 2 +- rlp/encode.go | 2 +- rlp/encode_test.go | 2 +- rlp/encoder_example_test.go | 2 +- rlp/typecache.go | 2 +- rpc/api/admin.go | 2 +- rpc/api/admin_args.go | 2 +- rpc/api/admin_js.go | 2 +- rpc/api/api.go | 2 +- rpc/api/api_test.go | 2 +- rpc/api/args.go | 2 +- rpc/api/args_test.go | 2 +- rpc/api/db.go | 2 +- rpc/api/db_args.go | 2 +- rpc/api/db_js.go | 2 +- rpc/api/debug.go | 2 +- rpc/api/debug_args.go | 2 +- rpc/api/debug_js.go | 2 +- rpc/api/eth.go | 2 +- rpc/api/eth_args.go | 2 +- rpc/api/eth_js.go | 2 +- rpc/api/mergedapi.go | 2 +- rpc/api/miner.go | 2 +- rpc/api/miner_args.go | 2 +- rpc/api/miner_js.go | 2 +- rpc/api/net.go | 2 +- rpc/api/net_js.go | 2 +- rpc/api/parsing.go | 2 +- rpc/api/personal.go | 2 +- rpc/api/personal_args.go | 2 +- rpc/api/personal_js.go | 2 +- rpc/api/shh.go | 2 +- rpc/api/shh_args.go | 2 +- rpc/api/ssh_js.go | 2 +- rpc/api/txpool.go | 2 +- rpc/api/txpool_js.go | 2 +- rpc/api/utils.go | 2 +- rpc/api/web3.go | 2 +- rpc/api/web3_args.go | 2 +- rpc/codec/codec.go | 2 +- rpc/codec/json.go | 2 +- rpc/codec/json_test.go | 2 +- rpc/comms/comms.go | 2 +- rpc/comms/http.go | 2 +- rpc/comms/http_net.go | 2 +- rpc/comms/inproc.go | 2 +- rpc/comms/ipc.go | 2 +- rpc/comms/ipc_unix.go | 2 +- rpc/comms/ipc_windows.go | 2 +- rpc/jeth.go | 2 +- rpc/shared/errors.go | 2 +- rpc/shared/types.go | 2 +- rpc/shared/utils.go | 2 +- rpc/xeth.go | 2 +- tests/block_test.go | 2 +- tests/block_test_util.go | 2 +- tests/init.go | 2 +- tests/rlp_test.go | 2 +- tests/rlp_test_util.go | 2 +- tests/state_test.go | 2 +- tests/state_test_util.go | 2 +- tests/transaction_test.go | 2 +- tests/transaction_test_util.go | 2 +- tests/util.go | 2 +- tests/vm_test.go | 2 +- tests/vm_test_util.go | 2 +- trie/cache.go | 2 +- trie/encoding.go | 2 +- trie/encoding_test.go | 2 +- trie/fullnode.go | 2 +- trie/hashnode.go | 2 +- trie/iterator.go | 2 +- trie/iterator_test.go | 2 +- trie/node.go | 2 +- trie/secure_trie.go | 2 +- trie/shortnode.go | 2 +- trie/slice.go | 2 +- trie/trie.go | 2 +- trie/trie_test.go | 2 +- trie/valuenode.go | 2 +- whisper/doc.go | 2 +- whisper/envelope.go | 2 +- whisper/envelope_test.go | 2 +- whisper/filter.go | 2 +- whisper/filter_test.go | 2 +- whisper/main.go | 2 +- whisper/message.go | 2 +- whisper/message_test.go | 2 +- whisper/peer.go | 2 +- whisper/peer_test.go | 2 +- whisper/topic.go | 2 +- whisper/topic_test.go | 2 +- whisper/whisper.go | 2 +- whisper/whisper_test.go | 2 +- xeth/frontend.go | 2 +- xeth/state.go | 2 +- xeth/types.go | 2 +- xeth/whisper.go | 2 +- xeth/whisper_filter.go | 2 +- xeth/whisper_message.go | 2 +- xeth/xeth.go | 2 +- 312 files changed, 312 insertions(+), 312 deletions(-) diff --git a/accounts/abi/abi.go b/accounts/abi/abi.go index c31127cb34aa..de3128902b68 100644 --- a/accounts/abi/abi.go +++ b/accounts/abi/abi.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/accounts/abi/abi_test.go b/accounts/abi/abi_test.go index 8c08c6a74a16..7706de05d932 100644 --- a/accounts/abi/abi_test.go +++ b/accounts/abi/abi_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/accounts/abi/doc.go b/accounts/abi/doc.go index 8e47ce674aa9..824206858244 100644 --- a/accounts/abi/doc.go +++ b/accounts/abi/doc.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/accounts/abi/numbers.go b/accounts/abi/numbers.go index 23ec2020ea74..2a7049425a7a 100644 --- a/accounts/abi/numbers.go +++ b/accounts/abi/numbers.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/accounts/abi/numbers_test.go b/accounts/abi/numbers_test.go index 4beb5204a57f..78dc57543b1e 100644 --- a/accounts/abi/numbers_test.go +++ b/accounts/abi/numbers_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/accounts/abi/type.go b/accounts/abi/type.go index c3f1968d912b..b16822d3ba3c 100644 --- a/accounts/abi/type.go +++ b/accounts/abi/type.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/accounts/account_manager.go b/accounts/account_manager.go index 9a7d8397fdff..2781be656f89 100644 --- a/accounts/account_manager.go +++ b/accounts/account_manager.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/accounts/accounts_test.go b/accounts/accounts_test.go index 94c2489fdc69..02a255f3e9e7 100644 --- a/accounts/accounts_test.go +++ b/accounts/accounts_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/build/update-license.go b/build/update-license.go index 3c18ee40f184..e28005cbd7af 100644 --- a/build/update-license.go +++ b/build/update-license.go @@ -68,7 +68,7 @@ var licenseT = template.Must(template.New("").Parse(` // Copyright {{.Year}} The go-ethereum Authors // This file is part of {{.Whole false}}. // -// go-ethereum is free software: you can redistribute it and/or modify +// {{.Whole true}} is free software: you can redistribute it and/or modify // it under the terms of the GNU {{.License}} as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/big.go b/common/big.go index ebec0cbdb1be..a5d512d0dc86 100644 --- a/common/big.go +++ b/common/big.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/big_test.go b/common/big_test.go index 80f706bbaf0a..1eb0c0c1fd4e 100644 --- a/common/big_test.go +++ b/common/big_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/bytes.go b/common/bytes.go index fec8db393c7b..ba6987a9ece2 100644 --- a/common/bytes.go +++ b/common/bytes.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/bytes_test.go b/common/bytes_test.go index 5cc940b8a4de..816d2082b85f 100644 --- a/common/bytes_test.go +++ b/common/bytes_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/compiler/solidity.go b/common/compiler/solidity.go index 3981ae8c77ab..56928ac27ddb 100644 --- a/common/compiler/solidity.go +++ b/common/compiler/solidity.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/compiler/solidity_test.go b/common/compiler/solidity_test.go index f25bff5b3657..8255e8e2d9a7 100644 --- a/common/compiler/solidity_test.go +++ b/common/compiler/solidity_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/config.go b/common/config.go index d2a0d4fa3875..3c2683db0ee1 100644 --- a/common/config.go +++ b/common/config.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/db.go b/common/db.go index e83d8802b46a..60c090cdce24 100644 --- a/common/db.go +++ b/common/db.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/debug.go b/common/debug.go index 7897c24f57b2..fa93d7bda558 100644 --- a/common/debug.go +++ b/common/debug.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/docserver/docserver.go b/common/docserver/docserver.go index e07ee3a623bc..fa120fb380ca 100644 --- a/common/docserver/docserver.go +++ b/common/docserver/docserver.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/docserver/docserver_test.go b/common/docserver/docserver_test.go index aa75ff4fd37f..92e39d167a20 100644 --- a/common/docserver/docserver_test.go +++ b/common/docserver/docserver_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/list.go b/common/list.go index 21ae41dded7d..07b2f17f53a0 100644 --- a/common/list.go +++ b/common/list.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/main_test.go b/common/main_test.go index 5e26721b25a7..149d09928a9c 100644 --- a/common/main_test.go +++ b/common/main_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/math/dist.go b/common/math/dist.go index d3a096133fda..913fbfbd47bf 100644 --- a/common/math/dist.go +++ b/common/math/dist.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/math/dist_test.go b/common/math/dist_test.go index 07397f332400..1eacfbcaf283 100644 --- a/common/math/dist_test.go +++ b/common/math/dist_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/natspec/natspec.go b/common/natspec/natspec.go index e68f50f54354..0265c2e13fde 100644 --- a/common/natspec/natspec.go +++ b/common/natspec/natspec.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/natspec/natspec_e2e_test.go b/common/natspec/natspec_e2e_test.go index d55c3fff7e08..fc8ca6af2e1c 100644 --- a/common/natspec/natspec_e2e_test.go +++ b/common/natspec/natspec_e2e_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/natspec/natspec_js.go b/common/natspec/natspec_js.go index 9db3050ec8b9..2b30d31d35d5 100644 --- a/common/natspec/natspec_js.go +++ b/common/natspec/natspec_js.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/natspec/natspec_test.go b/common/natspec/natspec_test.go index 726b3ef6743b..9ec14829a9f5 100644 --- a/common/natspec/natspec_test.go +++ b/common/natspec/natspec_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/number/int.go b/common/number/int.go index 9f32c9d86f2a..6dab2436de04 100644 --- a/common/number/int.go +++ b/common/number/int.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/number/uint_test.go b/common/number/uint_test.go index 17110ecc2b36..3ab9e4c344cc 100644 --- a/common/number/uint_test.go +++ b/common/number/uint_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/package.go b/common/package.go index 8e57f2fbed02..4e8780c08a64 100644 --- a/common/package.go +++ b/common/package.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/path.go b/common/path.go index e55eb1ab7f1d..0d7adb961778 100644 --- a/common/path.go +++ b/common/path.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/path_test.go b/common/path_test.go index ffc72bc53af0..71ffd5fe1e36 100644 --- a/common/path_test.go +++ b/common/path_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/registrar/contracts.go b/common/registrar/contracts.go index 6d6d190aef94..cd80dfcabaff 100644 --- a/common/registrar/contracts.go +++ b/common/registrar/contracts.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/registrar/ethreg/ethreg.go b/common/registrar/ethreg/ethreg.go index 46aa5c95d843..626ebe1d741b 100644 --- a/common/registrar/ethreg/ethreg.go +++ b/common/registrar/ethreg/ethreg.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/registrar/registrar.go b/common/registrar/registrar.go index 976991ad617f..d891e161e77f 100644 --- a/common/registrar/registrar.go +++ b/common/registrar/registrar.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/registrar/registrar_test.go b/common/registrar/registrar_test.go index 7d109a2682c4..63f2835638e1 100644 --- a/common/registrar/registrar_test.go +++ b/common/registrar/registrar_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/rlp.go b/common/rlp.go index 757a0466f4a9..481b451b1b39 100644 --- a/common/rlp.go +++ b/common/rlp.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/rlp_test.go b/common/rlp_test.go index b6ceac485def..2320ffe3c267 100644 --- a/common/rlp_test.go +++ b/common/rlp_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/size.go b/common/size.go index eb9b1f4307d1..9653b36298b7 100644 --- a/common/size.go +++ b/common/size.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/size_test.go b/common/size_test.go index 85e01fa9a02f..8709a0237490 100644 --- a/common/size_test.go +++ b/common/size_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/test_utils.go b/common/test_utils.go index 8603ba222880..a848642f77f9 100644 --- a/common/test_utils.go +++ b/common/test_utils.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/types.go b/common/types.go index 90d253318719..624f4b826583 100644 --- a/common/types.go +++ b/common/types.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/types_template.go b/common/types_template.go index d24c9c7f7f71..8048f9cc3f7f 100644 --- a/common/types_template.go +++ b/common/types_template.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/types_test.go b/common/types_test.go index fec45e959291..edf8d4d142f3 100644 --- a/common/types_test.go +++ b/common/types_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/value.go b/common/value.go index 20829eecd2da..7abbf67b156d 100644 --- a/common/value.go +++ b/common/value.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/common/value_test.go b/common/value_test.go index 6ec0c744fd63..ac2ef02a7031 100644 --- a/common/value_test.go +++ b/common/value_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/compression/rle/read_write.go b/compression/rle/read_write.go index ad1830c7f598..19133119b3dc 100644 --- a/compression/rle/read_write.go +++ b/compression/rle/read_write.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/compression/rle/read_write_test.go b/compression/rle/read_write_test.go index 99785af80a25..ba39650256a7 100644 --- a/compression/rle/read_write_test.go +++ b/compression/rle/read_write_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/asm.go b/core/asm.go index 4c71cb1d9d6c..a86a2c44c37d 100644 --- a/core/asm.go +++ b/core/asm.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/bad_block.go b/core/bad_block.go index 23bc6800c48a..cd3fb575a891 100644 --- a/core/bad_block.go +++ b/core/bad_block.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/bench_test.go b/core/bench_test.go index 89908c9bd9c4..c5c5b5b72210 100644 --- a/core/bench_test.go +++ b/core/bench_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/block_cache.go b/core/block_cache.go index 2c72f939723f..0fd71144882b 100644 --- a/core/block_cache.go +++ b/core/block_cache.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/block_cache_test.go b/core/block_cache_test.go index ecf0e42a10b2..ef826d5bda9c 100644 --- a/core/block_cache_test.go +++ b/core/block_cache_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/block_processor.go b/core/block_processor.go index ed0335630a8d..6687cd000b8d 100644 --- a/core/block_processor.go +++ b/core/block_processor.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/block_processor_test.go b/core/block_processor_test.go index 54fa34472f9c..f48ce9607f3c 100644 --- a/core/block_processor_test.go +++ b/core/block_processor_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/blocks.go b/core/blocks.go index 178230b5b897..326e4c3fc5e5 100644 --- a/core/blocks.go +++ b/core/blocks.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/canary.go b/core/canary.go index efdf19e7d056..5eefe066cfce 100644 --- a/core/canary.go +++ b/core/canary.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/chain_makers.go b/core/chain_makers.go index 63e9334d2524..283653d9a4f0 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/chain_makers_test.go b/core/chain_makers_test.go index 715e4c7acaa1..750ec3809b54 100644 --- a/core/chain_makers_test.go +++ b/core/chain_makers_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/chain_manager.go b/core/chain_manager.go index b2fcb677c8e6..4ad48c24c59c 100644 --- a/core/chain_manager.go +++ b/core/chain_manager.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/chain_manager_test.go b/core/chain_manager_test.go index d247c3e506d3..2602afe19226 100644 --- a/core/chain_manager_test.go +++ b/core/chain_manager_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/chain_util.go b/core/chain_util.go index a67fdb135273..4e6665568489 100644 --- a/core/chain_util.go +++ b/core/chain_util.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/error.go b/core/error.go index f055b103d607..5e6ff4de7f3c 100644 --- a/core/error.go +++ b/core/error.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/events.go b/core/events.go index f820b6b0b266..a487fc51d40d 100644 --- a/core/events.go +++ b/core/events.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/execution.go b/core/execution.go index bab3a72e3b0d..699bad9a3837 100644 --- a/core/execution.go +++ b/core/execution.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/fees.go b/core/fees.go index 3f6177975237..322bc96f63ca 100644 --- a/core/fees.go +++ b/core/fees.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/filter.go b/core/filter.go index b78647f05848..8a876396be7f 100644 --- a/core/filter.go +++ b/core/filter.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/filter_test.go b/core/filter_test.go index c973bbed3125..58e71e305d8d 100644 --- a/core/filter_test.go +++ b/core/filter_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/genesis.go b/core/genesis.go index 7d3727b820d9..67c3a3b58fb5 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/helper_test.go b/core/helper_test.go index c85df133eee6..b21f31d7c834 100644 --- a/core/helper_test.go +++ b/core/helper_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/manager.go b/core/manager.go index c9fdce78eaee..a07c32659230 100644 --- a/core/manager.go +++ b/core/manager.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/state/dump.go b/core/state/dump.go index 6b5e40565d52..9acb8a024454 100644 --- a/core/state/dump.go +++ b/core/state/dump.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/state/errors.go b/core/state/errors.go index 343567b18558..a08ed2d23d8b 100644 --- a/core/state/errors.go +++ b/core/state/errors.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/state/log.go b/core/state/log.go index 67450c689235..5d7d7357ddaf 100644 --- a/core/state/log.go +++ b/core/state/log.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/state/main_test.go b/core/state/main_test.go index 38b62df029b4..cd9661031fd1 100644 --- a/core/state/main_test.go +++ b/core/state/main_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/state/managed_state.go b/core/state/managed_state.go index 13535a4050ff..4df0479791a2 100644 --- a/core/state/managed_state.go +++ b/core/state/managed_state.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/state/managed_state_test.go b/core/state/managed_state_test.go index a751e04bc501..58e77d842bff 100644 --- a/core/state/managed_state_test.go +++ b/core/state/managed_state_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/state/state_object.go b/core/state/state_object.go index e366444db803..3d4f0b37694b 100644 --- a/core/state/state_object.go +++ b/core/state/state_object.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/state/state_test.go b/core/state/state_test.go index a2cab025e147..5972d266a9f7 100644 --- a/core/state/state_test.go +++ b/core/state/state_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/state/statedb.go b/core/state/statedb.go index f438fc00b8f4..f481c8ab38b4 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/state_transition.go b/core/state_transition.go index 8d2acb904163..a5d4fc19b9aa 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/transaction_pool.go b/core/transaction_pool.go index 003d4a14aaf0..2a6666ea1430 100644 --- a/core/transaction_pool.go +++ b/core/transaction_pool.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/transaction_pool_test.go b/core/transaction_pool_test.go index 5e2294068390..26af4fc16a5e 100644 --- a/core/transaction_pool_test.go +++ b/core/transaction_pool_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/transaction_util.go b/core/transaction_util.go index 1020fbd6e092..54a909ba2d89 100644 --- a/core/transaction_util.go +++ b/core/transaction_util.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/types/block.go b/core/types/block.go index d18bf147f690..5a0b2abce504 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/types/block_test.go b/core/types/block_test.go index 03fa679b1327..aebb6328bd4b 100644 --- a/core/types/block_test.go +++ b/core/types/block_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/types/bloom9.go b/core/types/bloom9.go index bfc27c6f7bd4..0629b31d4583 100644 --- a/core/types/bloom9.go +++ b/core/types/bloom9.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/types/bloom9_test.go b/core/types/bloom9_test.go index 25c96c7ca721..f020670b1c20 100644 --- a/core/types/bloom9_test.go +++ b/core/types/bloom9_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/types/common.go b/core/types/common.go index 2b834a2556a0..de6efcd86b84 100644 --- a/core/types/common.go +++ b/core/types/common.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/types/derive_sha.go b/core/types/derive_sha.go index 1c793becca3a..478edb0e81f6 100644 --- a/core/types/derive_sha.go +++ b/core/types/derive_sha.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/types/receipt.go b/core/types/receipt.go index 914ff0b3c19f..e01d69005271 100644 --- a/core/types/receipt.go +++ b/core/types/receipt.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/types/transaction.go b/core/types/transaction.go index c60e45fe8585..cc17931120c9 100644 --- a/core/types/transaction.go +++ b/core/types/transaction.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/types/transaction_test.go b/core/types/transaction_test.go index 11c30b1f72c3..1c0e27d9a48a 100644 --- a/core/types/transaction_test.go +++ b/core/types/transaction_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/analysis.go b/core/vm/analysis.go index b88f33fdc55c..a0f615821737 100644 --- a/core/vm/analysis.go +++ b/core/vm/analysis.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/asm.go b/core/vm/asm.go index ccaacd36b81e..639201e50ba8 100644 --- a/core/vm/asm.go +++ b/core/vm/asm.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/common.go b/core/vm/common.go index be8511a8fcc1..2e03ec80bb61 100644 --- a/core/vm/common.go +++ b/core/vm/common.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/context.go b/core/vm/context.go index 18617b98fa7d..162666ef2275 100644 --- a/core/vm/context.go +++ b/core/vm/context.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/contracts.go b/core/vm/contracts.go index 0e7c04c048be..2d70f173e913 100644 --- a/core/vm/contracts.go +++ b/core/vm/contracts.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/disasm.go b/core/vm/disasm.go index 0aefbd659f3f..2bfea5cbda65 100644 --- a/core/vm/disasm.go +++ b/core/vm/disasm.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/environment.go b/core/vm/environment.go index 8ef2a7426180..723924b6fc3b 100644 --- a/core/vm/environment.go +++ b/core/vm/environment.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/errors.go b/core/vm/errors.go index 3af1ce6f5e4a..24567e9a1eb5 100644 --- a/core/vm/errors.go +++ b/core/vm/errors.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/gas.go b/core/vm/gas.go index 9dbfe65fd849..af2e586a71a3 100644 --- a/core/vm/gas.go +++ b/core/vm/gas.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/logger.go b/core/vm/logger.go index c6d3fbd939ba..736f595f6b48 100644 --- a/core/vm/logger.go +++ b/core/vm/logger.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/memory.go b/core/vm/memory.go index 169707a324f2..0109050d7c5d 100644 --- a/core/vm/memory.go +++ b/core/vm/memory.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/opcodes.go b/core/vm/opcodes.go index 24d6b52945ab..ecced3650bde 100644 --- a/core/vm/opcodes.go +++ b/core/vm/opcodes.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/stack.go b/core/vm/stack.go index d9d9dd2a54fa..3d669b2f205e 100644 --- a/core/vm/stack.go +++ b/core/vm/stack.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/virtual_machine.go b/core/vm/virtual_machine.go index 1d765d36c006..047723744e31 100644 --- a/core/vm/virtual_machine.go +++ b/core/vm/virtual_machine.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/vm.go b/core/vm/vm.go index d67e01307582..21e0a466566e 100644 --- a/core/vm/vm.go +++ b/core/vm/vm.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/vm_jit.go b/core/vm/vm_jit.go index 6f7163c22d5e..339cb8ea8a7b 100644 --- a/core/vm/vm_jit.go +++ b/core/vm/vm_jit.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm/vm_jit_fake.go b/core/vm/vm_jit_fake.go index 191496e0a45f..456fcb8d4b67 100644 --- a/core/vm/vm_jit_fake.go +++ b/core/vm/vm_jit_fake.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/core/vm_env.go b/core/vm_env.go index 79aa460b2d3d..c1a86d63e219 100644 --- a/core/vm_env.go +++ b/core/vm_env.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/crypto/crypto.go b/crypto/crypto.go index 1c34f9a7d8f8..a474d6f13f24 100644 --- a/crypto/crypto.go +++ b/crypto/crypto.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/crypto/crypto_test.go b/crypto/crypto_test.go index e68d6e50d16f..b891f41a9ae2 100644 --- a/crypto/crypto_test.go +++ b/crypto/crypto_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/crypto/encrypt_decrypt_test.go b/crypto/encrypt_decrypt_test.go index a2d8a2189555..fcf40b70fd6f 100644 --- a/crypto/encrypt_decrypt_test.go +++ b/crypto/encrypt_decrypt_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/crypto/key.go b/crypto/key.go index 994ebe4af2ed..d80b99759861 100644 --- a/crypto/key.go +++ b/crypto/key.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/crypto/key_store_passphrase.go b/crypto/key_store_passphrase.go index 2198d1af44b7..f21af8dd9f87 100644 --- a/crypto/key_store_passphrase.go +++ b/crypto/key_store_passphrase.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/crypto/key_store_plain.go b/crypto/key_store_plain.go index bb7a2b7a549e..c1c23f8b8bf3 100644 --- a/crypto/key_store_plain.go +++ b/crypto/key_store_plain.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/crypto/key_store_test.go b/crypto/key_store_test.go index 8634aad4607f..fda87ddc8726 100644 --- a/crypto/key_store_test.go +++ b/crypto/key_store_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/crypto/keypair.go b/crypto/keypair.go index 3e600d98a6f6..e070f292fc7f 100644 --- a/crypto/keypair.go +++ b/crypto/keypair.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/crypto/mnemonic.go b/crypto/mnemonic.go index ad6207b90c71..34698926cb55 100644 --- a/crypto/mnemonic.go +++ b/crypto/mnemonic.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/crypto/mnemonic_test.go b/crypto/mnemonic_test.go index 46dfc79cabd8..07b364a01e5e 100644 --- a/crypto/mnemonic_test.go +++ b/crypto/mnemonic_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/crypto/mnemonic_words.go b/crypto/mnemonic_words.go index 6127be60ecd8..6b8412e897fb 100644 --- a/crypto/mnemonic_words.go +++ b/crypto/mnemonic_words.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/crypto/randentropy/rand_entropy.go b/crypto/randentropy/rand_entropy.go index ec1a20f9271c..0c2e3c051d31 100644 --- a/crypto/randentropy/rand_entropy.go +++ b/crypto/randentropy/rand_entropy.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/crypto/secp256k1/notes.go b/crypto/secp256k1/notes.go index c26079d21011..93e6d1902f9c 100644 --- a/crypto/secp256k1/notes.go +++ b/crypto/secp256k1/notes.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/crypto/secp256k1/secp256.go b/crypto/secp256k1/secp256.go index 88aa32a4b291..39cfda607245 100644 --- a/crypto/secp256k1/secp256.go +++ b/crypto/secp256k1/secp256.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/crypto/secp256k1/secp256_test.go b/crypto/secp256k1/secp256_test.go index 0e4fe5033b17..deeec98d509a 100644 --- a/crypto/secp256k1/secp256_test.go +++ b/crypto/secp256k1/secp256_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/errs/errors.go b/errs/errors.go index 854796d0a594..675649efa22e 100644 --- a/errs/errors.go +++ b/errs/errors.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/errs/errors_test.go b/errs/errors_test.go index 5d39938fef2f..d6d14b45eaad 100644 --- a/errs/errors_test.go +++ b/errs/errors_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/backend.go b/eth/backend.go index 82e57c75b2a3..4bc00edde735 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index 7b0cd86b835e..4c8b2e8d00c4 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/downloader/downloader_test.go b/eth/downloader/downloader_test.go index 993b64ddabff..8299dd62ce37 100644 --- a/eth/downloader/downloader_test.go +++ b/eth/downloader/downloader_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/downloader/events.go b/eth/downloader/events.go index cd2ffdad5b65..64905b8f2ac7 100644 --- a/eth/downloader/events.go +++ b/eth/downloader/events.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/downloader/peer.go b/eth/downloader/peer.go index 28922c6831cc..4273b9168240 100644 --- a/eth/downloader/peer.go +++ b/eth/downloader/peer.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/downloader/queue.go b/eth/downloader/queue.go index a84509a9b27d..96e08e1440c4 100644 --- a/eth/downloader/queue.go +++ b/eth/downloader/queue.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/fetcher/fetcher.go b/eth/fetcher/fetcher.go index 1f02aab6e92a..55b6c5c1c59f 100644 --- a/eth/fetcher/fetcher.go +++ b/eth/fetcher/fetcher.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/fetcher/fetcher_test.go b/eth/fetcher/fetcher_test.go index 4670713b2259..499d6d546a20 100644 --- a/eth/fetcher/fetcher_test.go +++ b/eth/fetcher/fetcher_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/fetcher/metrics.go b/eth/fetcher/metrics.go index 08941c255fa8..76cc49226915 100644 --- a/eth/fetcher/metrics.go +++ b/eth/fetcher/metrics.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/gasprice.go b/eth/gasprice.go index ae679c6761af..031098e9a1df 100644 --- a/eth/gasprice.go +++ b/eth/gasprice.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/handler.go b/eth/handler.go index 5ea9a3fdb2c2..f427854ac0fe 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/metrics.go b/eth/metrics.go index 2ec6e47d9135..625b90b67188 100644 --- a/eth/metrics.go +++ b/eth/metrics.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/peer.go b/eth/peer.go index f06dbea72818..ade1f37eaa60 100644 --- a/eth/peer.go +++ b/eth/peer.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/protocol.go b/eth/protocol.go index 5e2454999d51..0bc845660102 100644 --- a/eth/protocol.go +++ b/eth/protocol.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/protocol_test.go b/eth/protocol_test.go index 7dcbc714c36b..c01f5969190d 100644 --- a/eth/protocol_test.go +++ b/eth/protocol_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/eth/sync.go b/eth/sync.go index 5d1c066a2bdd..a69bd6c69af1 100644 --- a/eth/sync.go +++ b/eth/sync.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/ethdb/database.go b/ethdb/database.go index febf8d9f9789..c93344409ab0 100644 --- a/ethdb/database.go +++ b/ethdb/database.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/ethdb/database_test.go b/ethdb/database_test.go index ce2ca48d0ec0..2465036aa8b4 100644 --- a/ethdb/database_test.go +++ b/ethdb/database_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/ethdb/memory_database.go b/ethdb/memory_database.go index 3dcb9fa98343..70b03dfade66 100644 --- a/ethdb/memory_database.go +++ b/ethdb/memory_database.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/event/event.go b/event/event.go index 6a0525f18f13..ce74e52862e7 100644 --- a/event/event.go +++ b/event/event.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/event/event_test.go b/event/event_test.go index 8b2856bc42e0..465af38cd90e 100644 --- a/event/event_test.go +++ b/event/event_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/event/example_test.go b/event/example_test.go index 1b27197b5aeb..d4642ef2f5bd 100644 --- a/event/example_test.go +++ b/event/example_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/event/filter/eth_filter.go b/event/filter/eth_filter.go index 7f7b3a909b1a..6f61e2b60876 100644 --- a/event/filter/eth_filter.go +++ b/event/filter/eth_filter.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/event/filter/filter.go b/event/filter/filter.go index 7f07194b5856..b1fbf30ee4b2 100644 --- a/event/filter/filter.go +++ b/event/filter/filter.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/event/filter/filter_test.go b/event/filter/filter_test.go index fbf08814589c..0cd26bfc9ba5 100644 --- a/event/filter/filter_test.go +++ b/event/filter/filter_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/event/filter/generic_filter.go b/event/filter/generic_filter.go index 3193bb75ecf7..27f35920d407 100644 --- a/event/filter/generic_filter.go +++ b/event/filter/generic_filter.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/generators/defaults.go b/generators/defaults.go index f28d249c472b..386c6743d9fe 100644 --- a/generators/defaults.go +++ b/generators/defaults.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/jsre/bignumber_js.go b/jsre/bignumber_js.go index 9ecefcb03a0f..2e9c74c9f278 100644 --- a/jsre/bignumber_js.go +++ b/jsre/bignumber_js.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/jsre/ethereum_js.go b/jsre/ethereum_js.go index 7f0c108fa8ab..01a9b5da65bc 100644 --- a/jsre/ethereum_js.go +++ b/jsre/ethereum_js.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/jsre/jsre.go b/jsre/jsre.go index 8a7b257b88a0..d4c98289703f 100644 --- a/jsre/jsre.go +++ b/jsre/jsre.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/jsre/jsre_test.go b/jsre/jsre_test.go index 38c9e5026f3e..ad210932a0a6 100644 --- a/jsre/jsre_test.go +++ b/jsre/jsre_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/jsre/pp_js.go b/jsre/pp_js.go index 876ea89f5744..80fe523c1401 100644 --- a/jsre/pp_js.go +++ b/jsre/pp_js.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/logger/example_test.go b/logger/example_test.go index c44f7f8925ef..ce5f9da67f90 100644 --- a/logger/example_test.go +++ b/logger/example_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/logger/log.go b/logger/log.go index 6329259d7094..38a6ce139179 100644 --- a/logger/log.go +++ b/logger/log.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/logger/loggers.go b/logger/loggers.go index f1ed3a4ece4d..e63355d0bfd8 100644 --- a/logger/loggers.go +++ b/logger/loggers.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/logger/loggers_test.go b/logger/loggers_test.go index 88a375ebb6f8..85564698bcd2 100644 --- a/logger/loggers_test.go +++ b/logger/loggers_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/logger/logsystem.go b/logger/logsystem.go index da56ba7193e5..24f4351d4905 100644 --- a/logger/logsystem.go +++ b/logger/logsystem.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/logger/sys.go b/logger/sys.go index f6fbf6cd0ab5..18d4ea641c77 100644 --- a/logger/sys.go +++ b/logger/sys.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/logger/types.go b/logger/types.go index e1f47e47cb5a..ee7e845de855 100644 --- a/logger/types.go +++ b/logger/types.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/logger/verbosity.go b/logger/verbosity.go index f1196f144d34..aa3d59c30d0f 100644 --- a/logger/verbosity.go +++ b/logger/verbosity.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/metrics/disk.go b/metrics/disk.go index f1a00c6fb7ed..25142d2ad1e6 100644 --- a/metrics/disk.go +++ b/metrics/disk.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/metrics/disk_linux.go b/metrics/disk_linux.go index 73692421b5f0..e0c8a1a3a7e4 100644 --- a/metrics/disk_linux.go +++ b/metrics/disk_linux.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/metrics/disk_nop.go b/metrics/disk_nop.go index 4aef17008b97..4319f8b277f8 100644 --- a/metrics/disk_nop.go +++ b/metrics/disk_nop.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/metrics/metrics.go b/metrics/metrics.go index 82519d902d91..6d1a065edb01 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/miner/agent.go b/miner/agent.go index caf1cb322ad6..2f8d9fee4218 100644 --- a/miner/agent.go +++ b/miner/agent.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/miner/miner.go b/miner/miner.go index a5cd71702963..bf6a4880202a 100644 --- a/miner/miner.go +++ b/miner/miner.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/miner/remote_agent.go b/miner/remote_agent.go index 59080fc44216..674ca40acd51 100644 --- a/miner/remote_agent.go +++ b/miner/remote_agent.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/miner/worker.go b/miner/worker.go index 5d548584cdff..7fb40af7801c 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/dial.go b/p2p/dial.go index 9d9623c6058c..0fd3a4cf52df 100644 --- a/p2p/dial.go +++ b/p2p/dial.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/dial_test.go b/p2p/dial_test.go index 9f036241f8ec..d24e03e292f7 100644 --- a/p2p/dial_test.go +++ b/p2p/dial_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/discover/database.go b/p2p/discover/database.go index 4a3a217cdc74..d5c594364fb3 100644 --- a/p2p/discover/database.go +++ b/p2p/discover/database.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/discover/database_test.go b/p2p/discover/database_test.go index 88ca580f8550..569585903f0b 100644 --- a/p2p/discover/database_test.go +++ b/p2p/discover/database_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/discover/node.go b/p2p/discover/node.go index 3d5251d7e4fd..b6956e197dc0 100644 --- a/p2p/discover/node.go +++ b/p2p/discover/node.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/discover/node_test.go b/p2p/discover/node_test.go index bf9af4b4869f..e523e12d2f54 100644 --- a/p2p/discover/node_test.go +++ b/p2p/discover/node_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/discover/table.go b/p2p/discover/table.go index db0ed8cd84ed..48c47347574c 100644 --- a/p2p/discover/table.go +++ b/p2p/discover/table.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/discover/table_test.go b/p2p/discover/table_test.go index c6db96d3cc7d..310fe2b7bcde 100644 --- a/p2p/discover/table_test.go +++ b/p2p/discover/table_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/discover/udp.go b/p2p/discover/udp.go index f54f19a02baf..4e6ecaf23709 100644 --- a/p2p/discover/udp.go +++ b/p2p/discover/udp.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/discover/udp_test.go b/p2p/discover/udp_test.go index c034ec072409..8d6d3e855759 100644 --- a/p2p/discover/udp_test.go +++ b/p2p/discover/udp_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/message.go b/p2p/message.go index 69d5beeaa618..1292d2121383 100644 --- a/p2p/message.go +++ b/p2p/message.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/message_test.go b/p2p/message_test.go index ac369a9efe29..8599b7e87c05 100644 --- a/p2p/message_test.go +++ b/p2p/message_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/metrics.go b/p2p/metrics.go index 74048a17057f..f98cac2742d7 100644 --- a/p2p/metrics.go +++ b/p2p/metrics.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/nat/nat.go b/p2p/nat/nat.go index 17e5517f2f14..505a1fc77bcd 100644 --- a/p2p/nat/nat.go +++ b/p2p/nat/nat.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/nat/nat_test.go b/p2p/nat/nat_test.go index 78a968acf8e8..a079e7a22c6e 100644 --- a/p2p/nat/nat_test.go +++ b/p2p/nat/nat_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/nat/natpmp.go b/p2p/nat/natpmp.go index fae0874afa48..c2f940891422 100644 --- a/p2p/nat/natpmp.go +++ b/p2p/nat/natpmp.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/nat/natupnp.go b/p2p/nat/natupnp.go index 0c234a7b87a9..0bcb262bf619 100644 --- a/p2p/nat/natupnp.go +++ b/p2p/nat/natupnp.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/nat/natupnp_test.go b/p2p/nat/natupnp_test.go index 6198754fab08..c1e322af7029 100644 --- a/p2p/nat/natupnp_test.go +++ b/p2p/nat/natupnp_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/peer.go b/p2p/peer.go index ba0781d75094..1b3b19c79833 100644 --- a/p2p/peer.go +++ b/p2p/peer.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/peer_error.go b/p2p/peer_error.go index e3f9a6d94cf0..b1762a6ee8b7 100644 --- a/p2p/peer_error.go +++ b/p2p/peer_error.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/peer_test.go b/p2p/peer_test.go index e9bd8555bd23..6f96a823b4c0 100644 --- a/p2p/peer_test.go +++ b/p2p/peer_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/protocol.go b/p2p/protocol.go index d25a49c1b8eb..ac0c3d942635 100644 --- a/p2p/protocol.go +++ b/p2p/protocol.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/rlpx.go b/p2p/rlpx.go index 927cc5412fac..fd43f565e486 100644 --- a/p2p/rlpx.go +++ b/p2p/rlpx.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/rlpx_test.go b/p2p/rlpx_test.go index c7b98136ca19..900353f0ee9c 100644 --- a/p2p/rlpx_test.go +++ b/p2p/rlpx_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/server.go b/p2p/server.go index df5b11ee7c84..ba83c55035cf 100644 --- a/p2p/server.go +++ b/p2p/server.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/p2p/server_test.go b/p2p/server_test.go index bec0fcf29baa..976d5baf5965 100644 --- a/p2p/server_test.go +++ b/p2p/server_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/params/protocol_params.go b/params/protocol_params.go index ae64c46c47db..baa1b63a936a 100755 --- a/params/protocol_params.go +++ b/params/protocol_params.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/pow/block.go b/pow/block.go index 7a56a2323529..11807113dce4 100644 --- a/pow/block.go +++ b/pow/block.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/pow/dagger/dagger.go b/pow/dagger/dagger.go index 9c812ee63aff..f54ba71ca1f2 100644 --- a/pow/dagger/dagger.go +++ b/pow/dagger/dagger.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/pow/dagger/dagger_test.go b/pow/dagger/dagger_test.go index 7cf1d5b9ddfa..39b74df30601 100644 --- a/pow/dagger/dagger_test.go +++ b/pow/dagger/dagger_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/pow/ezp/pow.go b/pow/ezp/pow.go index 358e2f82dd87..03bb3da291ea 100644 --- a/pow/ezp/pow.go +++ b/pow/ezp/pow.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/pow/pow.go b/pow/pow.go index 7d67d0c60a74..22daf35e4def 100644 --- a/pow/pow.go +++ b/pow/pow.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rlp/decode.go b/rlp/decode.go index f27dcebc3d5f..c0b5f069946c 100644 --- a/rlp/decode.go +++ b/rlp/decode.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rlp/decode_test.go b/rlp/decode_test.go index 0347424de859..331faa9d83d5 100644 --- a/rlp/decode_test.go +++ b/rlp/decode_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rlp/doc.go b/rlp/doc.go index 62b54bc733d3..72667416cf88 100644 --- a/rlp/doc.go +++ b/rlp/doc.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rlp/encode.go b/rlp/encode.go index 86fe3ac5f317..0ddef7bbb5e9 100644 --- a/rlp/encode.go +++ b/rlp/encode.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rlp/encode_test.go b/rlp/encode_test.go index bfe893353742..e83c76b51ee7 100644 --- a/rlp/encode_test.go +++ b/rlp/encode_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rlp/encoder_example_test.go b/rlp/encoder_example_test.go index c3c3b40d7f7b..1cffa241c259 100644 --- a/rlp/encoder_example_test.go +++ b/rlp/encoder_example_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rlp/typecache.go b/rlp/typecache.go index f5387a2717f5..0ab096695fc7 100644 --- a/rlp/typecache.go +++ b/rlp/typecache.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/admin.go b/rpc/api/admin.go index 44815ae2d7b1..29f342ab6393 100644 --- a/rpc/api/admin.go +++ b/rpc/api/admin.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/admin_args.go b/rpc/api/admin_args.go index a4e6713f3899..e3a2f72bf97d 100644 --- a/rpc/api/admin_args.go +++ b/rpc/api/admin_args.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/admin_js.go b/rpc/api/admin_js.go index 847a1e840d2c..25dbb4a8d3a8 100644 --- a/rpc/api/admin_js.go +++ b/rpc/api/admin_js.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/api.go b/rpc/api/api.go index 07f0896a6d42..e03250ec6dc0 100644 --- a/rpc/api/api.go +++ b/rpc/api/api.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/api_test.go b/rpc/api/api_test.go index 1b00a9d499ba..131ef68f8137 100644 --- a/rpc/api/api_test.go +++ b/rpc/api/api_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/args.go b/rpc/api/args.go index a4393a41a3ae..20f073b67035 100644 --- a/rpc/api/args.go +++ b/rpc/api/args.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/args_test.go b/rpc/api/args_test.go index fdaa38864990..bb279718b73d 100644 --- a/rpc/api/args_test.go +++ b/rpc/api/args_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/db.go b/rpc/api/db.go index 5371572b1902..0eddc410ed58 100644 --- a/rpc/api/db.go +++ b/rpc/api/db.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/db_args.go b/rpc/api/db_args.go index b6d38cbbd8fc..d61ea77ee0db 100644 --- a/rpc/api/db_args.go +++ b/rpc/api/db_args.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/db_js.go b/rpc/api/db_js.go index 09e3401d0811..899f8abd9a49 100644 --- a/rpc/api/db_js.go +++ b/rpc/api/db_js.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/debug.go b/rpc/api/debug.go index 396584765440..cdacd6c62ea7 100644 --- a/rpc/api/debug.go +++ b/rpc/api/debug.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/debug_args.go b/rpc/api/debug_args.go index edc4003ec6bc..041ad6b6ad4f 100644 --- a/rpc/api/debug_args.go +++ b/rpc/api/debug_args.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/debug_js.go b/rpc/api/debug_js.go index 7afc414d4e0b..0eb9f97f1542 100644 --- a/rpc/api/debug_js.go +++ b/rpc/api/debug_js.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/eth.go b/rpc/api/eth.go index a94279b65bad..ed636004c915 100644 --- a/rpc/api/eth.go +++ b/rpc/api/eth.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/eth_args.go b/rpc/api/eth_args.go index 256313472cb6..ae394e7ecef8 100644 --- a/rpc/api/eth_args.go +++ b/rpc/api/eth_args.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/eth_js.go b/rpc/api/eth_js.go index d80e6f4d870a..393dac22f4fc 100644 --- a/rpc/api/eth_js.go +++ b/rpc/api/eth_js.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/mergedapi.go b/rpc/api/mergedapi.go index 7ed8cfedb862..8f4ef8e60388 100644 --- a/rpc/api/mergedapi.go +++ b/rpc/api/mergedapi.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/miner.go b/rpc/api/miner.go index 93507f54a11d..d134f1a55863 100644 --- a/rpc/api/miner.go +++ b/rpc/api/miner.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/miner_args.go b/rpc/api/miner_args.go index f19411a70a36..5ceb244feb4a 100644 --- a/rpc/api/miner_args.go +++ b/rpc/api/miner_args.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/miner_js.go b/rpc/api/miner_js.go index be4257447d2c..0998a9f41c41 100644 --- a/rpc/api/miner_js.go +++ b/rpc/api/miner_js.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/net.go b/rpc/api/net.go index 93ea77c65579..39c230e143bd 100644 --- a/rpc/api/net.go +++ b/rpc/api/net.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/net_js.go b/rpc/api/net_js.go index 99052b1152b5..2ee1f0041ae3 100644 --- a/rpc/api/net_js.go +++ b/rpc/api/net_js.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/parsing.go b/rpc/api/parsing.go index 3f1f79e228e7..0698e8dbe792 100644 --- a/rpc/api/parsing.go +++ b/rpc/api/parsing.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/personal.go b/rpc/api/personal.go index e4fe329a0bf6..e9942c1e551c 100644 --- a/rpc/api/personal.go +++ b/rpc/api/personal.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/personal_args.go b/rpc/api/personal_args.go index 5224d241138c..7f00701e3240 100644 --- a/rpc/api/personal_args.go +++ b/rpc/api/personal_args.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/personal_js.go b/rpc/api/personal_js.go index cb94c7cfb5f1..81c5d4a36619 100644 --- a/rpc/api/personal_js.go +++ b/rpc/api/personal_js.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/shh.go b/rpc/api/shh.go index e55b0ae1731f..9ca6f9dda475 100644 --- a/rpc/api/shh.go +++ b/rpc/api/shh.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/shh_args.go b/rpc/api/shh_args.go index 42508a2c8c4d..468a0b98fcc5 100644 --- a/rpc/api/shh_args.go +++ b/rpc/api/shh_args.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/ssh_js.go b/rpc/api/ssh_js.go index 02ff7a1e5117..a92ad1644bef 100644 --- a/rpc/api/ssh_js.go +++ b/rpc/api/ssh_js.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/txpool.go b/rpc/api/txpool.go index b75f33f3430d..27e40cae59d0 100644 --- a/rpc/api/txpool.go +++ b/rpc/api/txpool.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/txpool_js.go b/rpc/api/txpool_js.go index 4856683b08cf..b6c29871a2ed 100644 --- a/rpc/api/txpool_js.go +++ b/rpc/api/txpool_js.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/utils.go b/rpc/api/utils.go index a35dc3cb9396..a791dcd6518b 100644 --- a/rpc/api/utils.go +++ b/rpc/api/utils.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/web3.go b/rpc/api/web3.go index 8666a0634fb0..e2d8543d3401 100644 --- a/rpc/api/web3.go +++ b/rpc/api/web3.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/api/web3_args.go b/rpc/api/web3_args.go index 8c0cb135b6e9..9e39f7130faf 100644 --- a/rpc/api/web3_args.go +++ b/rpc/api/web3_args.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/codec/codec.go b/rpc/codec/codec.go index 504907622fc3..2fdb0d8f3e2f 100644 --- a/rpc/codec/codec.go +++ b/rpc/codec/codec.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/codec/json.go b/rpc/codec/json.go index dbac95436a33..d811b20968f5 100644 --- a/rpc/codec/json.go +++ b/rpc/codec/json.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/codec/json_test.go b/rpc/codec/json_test.go index 28533af6670e..01ef77e57dcd 100644 --- a/rpc/codec/json_test.go +++ b/rpc/codec/json_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/comms/comms.go b/rpc/comms/comms.go index b2955d7c29ab..f5eeae84fbff 100644 --- a/rpc/comms/comms.go +++ b/rpc/comms/comms.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/comms/http.go b/rpc/comms/http.go index 91eacca91b56..108ba0c5fd93 100644 --- a/rpc/comms/http.go +++ b/rpc/comms/http.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/comms/http_net.go b/rpc/comms/http_net.go index 4eec824ac212..dba2029d40e5 100644 --- a/rpc/comms/http_net.go +++ b/rpc/comms/http_net.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/comms/inproc.go b/rpc/comms/inproc.go index 2a92f12f5935..f279f0163ddd 100644 --- a/rpc/comms/inproc.go +++ b/rpc/comms/inproc.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/comms/ipc.go b/rpc/comms/ipc.go index 2b5fc8b6cf48..0250aa01e0bc 100644 --- a/rpc/comms/ipc.go +++ b/rpc/comms/ipc.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/comms/ipc_unix.go b/rpc/comms/ipc_unix.go index 2504058f9a87..aff90cfaa0e0 100644 --- a/rpc/comms/ipc_unix.go +++ b/rpc/comms/ipc_unix.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/comms/ipc_windows.go b/rpc/comms/ipc_windows.go index 9918821604a6..ee49f069bf85 100644 --- a/rpc/comms/ipc_windows.go +++ b/rpc/comms/ipc_windows.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/jeth.go b/rpc/jeth.go index 56fd725686ce..07add2bad8ed 100644 --- a/rpc/jeth.go +++ b/rpc/jeth.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/shared/errors.go b/rpc/shared/errors.go index 97872f463686..85af1bb2f40a 100644 --- a/rpc/shared/errors.go +++ b/rpc/shared/errors.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/shared/types.go b/rpc/shared/types.go index 9c791f4c76a1..659b74bf60ae 100644 --- a/rpc/shared/types.go +++ b/rpc/shared/types.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/shared/utils.go b/rpc/shared/utils.go index 33639cc35d32..b13e9eb1b4b9 100644 --- a/rpc/shared/utils.go +++ b/rpc/shared/utils.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/rpc/xeth.go b/rpc/xeth.go index beb20ecd9d3c..65a1edeb8a75 100644 --- a/rpc/xeth.go +++ b/rpc/xeth.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/tests/block_test.go b/tests/block_test.go index 40a210a3e305..f80e1f37781b 100644 --- a/tests/block_test.go +++ b/tests/block_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/tests/block_test_util.go b/tests/block_test_util.go index 9a964bb925e3..42e4383d1ca7 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/tests/init.go b/tests/init.go index d372ead25921..3f8b8c684422 100644 --- a/tests/init.go +++ b/tests/init.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/tests/rlp_test.go b/tests/rlp_test.go index 35461813bbf6..2469ce0dbc34 100644 --- a/tests/rlp_test.go +++ b/tests/rlp_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/tests/rlp_test_util.go b/tests/rlp_test_util.go index 3c8028b827e8..ac53a4f52cae 100644 --- a/tests/rlp_test_util.go +++ b/tests/rlp_test_util.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/tests/state_test.go b/tests/state_test.go index 15c5967e47db..1684614df2a3 100644 --- a/tests/state_test.go +++ b/tests/state_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/tests/state_test_util.go b/tests/state_test_util.go index 1195fa5e0b4d..7086de38973b 100644 --- a/tests/state_test_util.go +++ b/tests/state_test_util.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/tests/transaction_test.go b/tests/transaction_test.go index bfe085ffee1b..f1dfbd0a7fee 100644 --- a/tests/transaction_test.go +++ b/tests/transaction_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/tests/transaction_test_util.go b/tests/transaction_test_util.go index b20ae6089a62..09511acb796c 100644 --- a/tests/transaction_test_util.go +++ b/tests/transaction_test_util.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/tests/util.go b/tests/util.go index 88341cffd530..6ee1a42db751 100644 --- a/tests/util.go +++ b/tests/util.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/tests/vm_test.go b/tests/vm_test.go index f80e5059297e..3674ed440e64 100644 --- a/tests/vm_test.go +++ b/tests/vm_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/tests/vm_test_util.go b/tests/vm_test_util.go index 126073a70799..e63a92558d6e 100644 --- a/tests/vm_test_util.go +++ b/tests/vm_test_util.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/trie/cache.go b/trie/cache.go index 2949a5d64d1c..d661648b4599 100644 --- a/trie/cache.go +++ b/trie/cache.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/trie/encoding.go b/trie/encoding.go index 8f5f276ace3b..524807f06b5a 100644 --- a/trie/encoding.go +++ b/trie/encoding.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/trie/encoding_test.go b/trie/encoding_test.go index 323e4d73ee3c..e52c6ba8d865 100644 --- a/trie/encoding_test.go +++ b/trie/encoding_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/trie/fullnode.go b/trie/fullnode.go index 620fd759e4b9..8ff019ec43e9 100644 --- a/trie/fullnode.go +++ b/trie/fullnode.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/trie/hashnode.go b/trie/hashnode.go index 4cc82d2b4cde..d4a0bc7ec92d 100644 --- a/trie/hashnode.go +++ b/trie/hashnode.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/trie/iterator.go b/trie/iterator.go index 226dc38d4192..698e64b34d01 100644 --- a/trie/iterator.go +++ b/trie/iterator.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/trie/iterator_test.go b/trie/iterator_test.go index 7bbd3c5a53ee..148f9adf99e7 100644 --- a/trie/iterator_test.go +++ b/trie/iterator_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/trie/node.go b/trie/node.go index fb6ae81caa56..9d49029ded94 100644 --- a/trie/node.go +++ b/trie/node.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/trie/secure_trie.go b/trie/secure_trie.go index e3dbe7bdfd4f..47c7542bb014 100644 --- a/trie/secure_trie.go +++ b/trie/secure_trie.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/trie/shortnode.go b/trie/shortnode.go index 15b06a70db10..b5fc6d1f957e 100644 --- a/trie/shortnode.go +++ b/trie/shortnode.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/trie/slice.go b/trie/slice.go index 8b1024391049..ccefbd06439b 100644 --- a/trie/slice.go +++ b/trie/slice.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/trie/trie.go b/trie/trie.go index 4050e2dc6914..e7ee86402194 100644 --- a/trie/trie.go +++ b/trie/trie.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/trie/trie_test.go b/trie/trie_test.go index d36b325232ae..ae4e5efe402a 100644 --- a/trie/trie_test.go +++ b/trie/trie_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/trie/valuenode.go b/trie/valuenode.go index e1a76fb72da4..0afa64d54c41 100644 --- a/trie/valuenode.go +++ b/trie/valuenode.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/whisper/doc.go b/whisper/doc.go index b47948060093..cfb0b5117582 100644 --- a/whisper/doc.go +++ b/whisper/doc.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/whisper/envelope.go b/whisper/envelope.go index ef4bf0f8e361..b231c6b44f62 100644 --- a/whisper/envelope.go +++ b/whisper/envelope.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/whisper/envelope_test.go b/whisper/envelope_test.go index 155571834e56..3bfe52737244 100644 --- a/whisper/envelope_test.go +++ b/whisper/envelope_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/whisper/filter.go b/whisper/filter.go index bb58b579d629..9f6d6b781730 100644 --- a/whisper/filter.go +++ b/whisper/filter.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/whisper/filter_test.go b/whisper/filter_test.go index ab4bce255bd5..b805b2baf19f 100644 --- a/whisper/filter_test.go +++ b/whisper/filter_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/whisper/main.go b/whisper/main.go index acbab6eed775..be41604890cf 100644 --- a/whisper/main.go +++ b/whisper/main.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/whisper/message.go b/whisper/message.go index faba84fe6fa2..506f142edd58 100644 --- a/whisper/message.go +++ b/whisper/message.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/whisper/message_test.go b/whisper/message_test.go index 3a95297ba172..6ff95efff564 100644 --- a/whisper/message_test.go +++ b/whisper/message_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/whisper/peer.go b/whisper/peer.go index 9fa50d65ed79..ee10e66e7901 100644 --- a/whisper/peer.go +++ b/whisper/peer.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/whisper/peer_test.go b/whisper/peer_test.go index 7fdb9f71b1d0..594671ee14c8 100644 --- a/whisper/peer_test.go +++ b/whisper/peer_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/whisper/topic.go b/whisper/topic.go index ba17fdfcb537..7ac3e8dc1dfe 100644 --- a/whisper/topic.go +++ b/whisper/topic.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/whisper/topic_test.go b/whisper/topic_test.go index e86b4f543c86..9c45f67408df 100644 --- a/whisper/topic_test.go +++ b/whisper/topic_test.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/whisper/whisper.go b/whisper/whisper.go index 243f6222fdec..676d8ae7a3c5 100644 --- a/whisper/whisper.go +++ b/whisper/whisper.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/whisper/whisper_test.go b/whisper/whisper_test.go index abd35317ad77..b5a919984b6f 100644 --- a/whisper/whisper_test.go +++ b/whisper/whisper_test.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/xeth/frontend.go b/xeth/frontend.go index 315de18dce34..e8928224287e 100644 --- a/xeth/frontend.go +++ b/xeth/frontend.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/xeth/state.go b/xeth/state.go index 689ddd2c160a..16bfb523d2bb 100644 --- a/xeth/state.go +++ b/xeth/state.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/xeth/types.go b/xeth/types.go index 82da39960493..ad5101d61f72 100644 --- a/xeth/types.go +++ b/xeth/types.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/xeth/whisper.go b/xeth/whisper.go index 7c0c586e890f..e7130978f2bc 100644 --- a/xeth/whisper.go +++ b/xeth/whisper.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/xeth/whisper_filter.go b/xeth/whisper_filter.go index 92d0207164d9..fdf5cebae1a1 100644 --- a/xeth/whisper_filter.go +++ b/xeth/whisper_filter.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/xeth/whisper_message.go b/xeth/whisper_message.go index 593c7399b0da..b3014a6972a8 100644 --- a/xeth/whisper_message.go +++ b/xeth/whisper_message.go @@ -1,7 +1,7 @@ // Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. diff --git a/xeth/xeth.go b/xeth/xeth.go index 3bc22a43d26e..68d760ccb507 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -1,7 +1,7 @@ // Copyright 2014 The go-ethereum Authors // This file is part of the go-ethereum library. // -// go-ethereum is free software: you can redistribute it and/or modify +// The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. From fd2356c620cbe431394a3b49828b26a2d4d0770f Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 24 Jul 2015 11:43:32 +0200 Subject: [PATCH 2/4] common: remove config.go The code in config.go is unused. The main reason for removing it is to get rid github.com/rakyll/goini in Godeps (it has no license). --- Godeps/Godeps.json | 8 - .../github.com/rakyll/globalconf/.travis.yml | 2 - .../github.com/rakyll/globalconf/README.md | 144 ---------- .../rakyll/globalconf/globalconf.go | 179 ------------ .../rakyll/globalconf/globalconf_test.go | 267 ------------------ .../rakyll/globalconf/testdata/custom.ini | 2 - .../rakyll/globalconf/testdata/global.ini | 3 - .../globalconf/testdata/globalandcustom.ini | 6 - .../src/github.com/rakyll/goini/.gitignore | 8 - .../src/github.com/rakyll/goini/Makefile | 7 - .../src/github.com/rakyll/goini/empty.ini | 0 .../src/github.com/rakyll/goini/example.ini | 18 -- .../src/github.com/rakyll/goini/ini.go | 241 ---------------- .../src/github.com/rakyll/goini/ini_test.go | 169 ----------- common/config.go | 83 ------ 15 files changed, 1137 deletions(-) delete mode 100644 Godeps/_workspace/src/github.com/rakyll/globalconf/.travis.yml delete mode 100644 Godeps/_workspace/src/github.com/rakyll/globalconf/README.md delete mode 100644 Godeps/_workspace/src/github.com/rakyll/globalconf/globalconf.go delete mode 100644 Godeps/_workspace/src/github.com/rakyll/globalconf/globalconf_test.go delete mode 100644 Godeps/_workspace/src/github.com/rakyll/globalconf/testdata/custom.ini delete mode 100644 Godeps/_workspace/src/github.com/rakyll/globalconf/testdata/global.ini delete mode 100644 Godeps/_workspace/src/github.com/rakyll/globalconf/testdata/globalandcustom.ini delete mode 100644 Godeps/_workspace/src/github.com/rakyll/goini/.gitignore delete mode 100644 Godeps/_workspace/src/github.com/rakyll/goini/Makefile delete mode 100644 Godeps/_workspace/src/github.com/rakyll/goini/empty.ini delete mode 100644 Godeps/_workspace/src/github.com/rakyll/goini/example.ini delete mode 100644 Godeps/_workspace/src/github.com/rakyll/goini/ini.go delete mode 100644 Godeps/_workspace/src/github.com/rakyll/goini/ini_test.go delete mode 100644 common/config.go diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index c016558940ff..645ea23f4f2f 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -66,14 +66,6 @@ "ImportPath": "github.com/peterh/liner", "Rev": "29f6a646557d83e2b6e9ba05c45fbea9c006dbe8" }, - { - "ImportPath": "github.com/rakyll/globalconf", - "Rev": "415abc325023f1a00cd2d9fa512e0e71745791a2" - }, - { - "ImportPath": "github.com/rakyll/goini", - "Rev": "907cca0f578a5316fb864ec6992dc3d9730ec58c" - }, { "ImportPath": "github.com/rcrowley/go-metrics", "Rev": "a5cfc242a56ba7fa70b785f678d6214837bf93b9" diff --git a/Godeps/_workspace/src/github.com/rakyll/globalconf/.travis.yml b/Godeps/_workspace/src/github.com/rakyll/globalconf/.travis.yml deleted file mode 100644 index fb9efcb9a235..000000000000 --- a/Godeps/_workspace/src/github.com/rakyll/globalconf/.travis.yml +++ /dev/null @@ -1,2 +0,0 @@ -language: go -go: 1.2 diff --git a/Godeps/_workspace/src/github.com/rakyll/globalconf/README.md b/Godeps/_workspace/src/github.com/rakyll/globalconf/README.md deleted file mode 100644 index dcbf4ddf0c6b..000000000000 --- a/Godeps/_workspace/src/github.com/rakyll/globalconf/README.md +++ /dev/null @@ -1,144 +0,0 @@ -# globalconf - -[![Build Status](https://travis-ci.org/rakyll/globalconf.png?branch=master)](https://travis-ci.org/rakyll/globalconf) - -Effortlessly persist/retrieve flags of your Golang programs. If you need global configuration instead of requiring user always to set command line flags, you are looking at the right package. `globalconf` allows your users to not only provide flags, but config files and environment variables as well. - -## Usage - -~~~ go -import "github.com/rakyll/globalconf" -~~~ - -### Loading a config file - -By default, globalconf provides you a config file under `~/.config//config.ini`. - -~~~ go -globalconf.New("appname") // loads from ~/.config//config.ini -~~~ - -If you don't prefer the default location you can load from a specified path as well. - -~~~ go -globalconf.NewWithOptions(&globalconf.Options{ - Filename: "/path/to/config/file", -}) -~~~ - -You may like to override configuration with env variables. See "Environment variables" header to see how to it works. - -~~~ go -globalconf.NewWithOptions(&globalconf.Options{ - Filename: "/path/to/config/file", - EnvPrefix: "APPCONF_", -}) -~~~ - -### Parsing flag values - -`globalconf` populates flags with data in the config file if they are not already set. - -~~~ go -var ( - flagName = flag.String("name", "", "Name of the person.") - flagAddress = flag.String("addr", "", "Address of the person.") -) -~~~ - -Assume the configuration file to be loaded contains the following lines. - - name = Burcu - addr = Brandschenkestrasse 110, 8002 - -And your program is being started, `$ myapp -name=Jane` -~~~ go -conf, err := globalconf.New("myapp") -conf.ParseAll() -~~~ - -`*flagName` is going to be equal to `Jane`, whereas `*flagAddress` is `Brandschenkestrasse 110, 8002`, what is provided in the configuration file. - -### Custom flag sets - -Custom flagsets are supported, but required registration before parse is done. The default flagset `flag.CommandLine` is automatically registered. - -~~~ go -globalconf.Register("termopts", termOptsFlagSet) -conf.ParseAll() // parses command line and all registered flag sets -~~~ - -Custom flagset values should be provided in their own segment. Getting back to the sample ini config file, termopts values will have their own segment. - - name = Burcu - addr = Brandschenkestrasse 110, 8002 - - [termopts] - color = true - background = ff0000 - -### Environment variables - -If an EnvPrefix is provided, environment variables will take precedence over values in the configuration file. -Set the `EnvPrefix` option when calling `globalconf.NewWithOptions`. -An `EnvPrefix` will only be used if it is a non-empty string. -Command line flags will override the environment variables. - -~~~ go -opts := globalconf.Options{ - EnvPrefix: "MYAPP_", - Filename: "/path/to/config", -} -conf, err := globalconf.NewWithOptions(&opts) -conf.ParseAll() -~~~ - -With environment variables: - - APPCONF_NAME = Burcu - -and configuration: - - name = Jane - addr = Brandschenkestrasse 110, 8002 - -`name` will be set to "burcu" and `addr` will be set to "Brandschenkestrasse 110, 8002". - -### Modifying stored flags - -Modifications are persisted as long as you set a new flag and your GlobalConf -object was configured with a filename. - -~~~ go -f := &flag.Flag{Name: "name", Value: val} -conf.Set("", f) // if you are modifying a command line flag - -f := &flag.Flag{Name: "color", Value: val} -conf.Set("termopts", color) // if you are modifying a custom flag set flag -~~~ - -### Deleting stored flags - -Like Set, Deletions are persisted as long as you delete a flag's value and your -GlobalConf object was configured with a filename. - -~~~ go -conf.Delete("", "name") // removes command line flag "name"s value from config -conf.Delete("termopts", "color") // removes "color"s value from the custom flag set -~~~ - -## License - -Copyright 2014 Google Inc. All Rights Reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. ![Analytics](https://ga-beacon.appspot.com/UA-46881978-1/globalconf?pixel) diff --git a/Godeps/_workspace/src/github.com/rakyll/globalconf/globalconf.go b/Godeps/_workspace/src/github.com/rakyll/globalconf/globalconf.go deleted file mode 100644 index 57d5dd42a38e..000000000000 --- a/Godeps/_workspace/src/github.com/rakyll/globalconf/globalconf.go +++ /dev/null @@ -1,179 +0,0 @@ -package globalconf - -import ( - "flag" - "io/ioutil" - "os" - "os/user" - "path" - "strings" - - ini "github.com/rakyll/goini" -) - -const ( - defaultConfigFileName = "config.ini" -) - -var flags map[string]*flag.FlagSet = make(map[string]*flag.FlagSet) - -// Represents a GlobalConf context. -type GlobalConf struct { - Filename string - EnvPrefix string - dict *ini.Dict -} - -type Options struct { - Filename string - EnvPrefix string -} - -// NewWithOptions creates a GlobalConf from the provided -// Options. The caller is responsible for creating any -// referenced config files. -func NewWithOptions(opts *Options) (g *GlobalConf, err error) { - Register("", flag.CommandLine) - - var dict ini.Dict - if opts.Filename != "" { - dict, err = ini.Load(opts.Filename) - if err != nil { - return nil, err - } - } else { - dict = make(ini.Dict, 0) - } - - return &GlobalConf{ - Filename: opts.Filename, - EnvPrefix: opts.EnvPrefix, - dict: &dict, - }, nil -} - -// Opens/creates a config file for the specified appName. -// The path to config file is ~/.config/appName/config.ini. -func New(appName string) (g *GlobalConf, err error) { - var u *user.User - if u, err = user.Current(); u == nil { - return - } - // Create config file's directory. - dirPath := path.Join(u.HomeDir, ".config", appName) - if err = os.MkdirAll(dirPath, 0755); err != nil { - return - } - // Touch a config file if it doesn't exit. - filePath := path.Join(dirPath, defaultConfigFileName) - if _, err = os.Stat(filePath); err != nil { - if !os.IsNotExist(err) { - return - } - // create file - if err = ioutil.WriteFile(filePath, []byte{}, 0644); err != nil { - return - } - } - opts := Options{Filename: filePath} - return NewWithOptions(&opts) -} - -// Sets a flag's value and persists the changes to the disk. -func (g *GlobalConf) Set(flagSetName string, f *flag.Flag) error { - g.dict.SetString(flagSetName, f.Name, f.Value.String()) - if g.Filename != "" { - return ini.Write(g.Filename, g.dict) - } - return nil -} - -// Deletes a flag from config file and persists the changes -// to the disk. -func (g *GlobalConf) Delete(flagSetName, flagName string) error { - g.dict.Delete(flagSetName, flagName) - if g.Filename != "" { - return ini.Write(g.Filename, g.dict) - } - return nil -} - -// Parses the config file for the provided flag set. -// If the flags are already set, values are overwritten -// by the values in the config file. Defaults are not set -// if the flag is not in the file. -func (g *GlobalConf) ParseSet(flagSetName string, set *flag.FlagSet) { - set.VisitAll(func(f *flag.Flag) { - val := getEnv(g.EnvPrefix, flagSetName, f.Name) - if val != "" { - set.Set(f.Name, val) - return - } - - val, found := g.dict.GetString(flagSetName, f.Name) - if found { - set.Set(f.Name, val) - } - }) -} - -// Parses all the registered flag sets, including the command -// line set and sets values from the config file if they are -// not already set. -func (g *GlobalConf) Parse() { - for name, set := range flags { - alreadySet := make(map[string]bool) - set.Visit(func(f *flag.Flag) { - alreadySet[f.Name] = true - }) - set.VisitAll(func(f *flag.Flag) { - // if not already set, set it from dict if exists - if alreadySet[f.Name] { - return - } - - val := getEnv(g.EnvPrefix, name, f.Name) - if val != "" { - set.Set(f.Name, val) - return - } - - val, found := g.dict.GetString(name, f.Name) - if found { - set.Set(f.Name, val) - } - }) - } -} - -// Parses command line flags and then, all of the registered -// flag sets with the values provided in the config file. -func (g *GlobalConf) ParseAll() { - if !flag.Parsed() { - flag.Parse() - } - g.Parse() -} - -// Looks up variable in environment -func getEnv(envPrefix, flagSetName, flagName string) string { - // If we haven't set an EnvPrefix, don't lookup vals in the ENV - if envPrefix == "" { - return "" - } - // Append a _ to flagSetName if it exists. - if flagSetName != "" { - flagSetName += "_" - } - flagName = strings.Replace(flagName, ".", "_", -1) - flagName = strings.Replace(flagName, "-", "_", -1) - envKey := strings.ToUpper(envPrefix + flagSetName + flagName) - return os.Getenv(envKey) -} - -// Registers a flag set to be parsed. Register all flag sets -// before calling this function. flag.CommandLine is automatically -// registered. -func Register(flagSetName string, set *flag.FlagSet) { - flags[flagSetName] = set -} diff --git a/Godeps/_workspace/src/github.com/rakyll/globalconf/globalconf_test.go b/Godeps/_workspace/src/github.com/rakyll/globalconf/globalconf_test.go deleted file mode 100644 index f36f74cea468..000000000000 --- a/Godeps/_workspace/src/github.com/rakyll/globalconf/globalconf_test.go +++ /dev/null @@ -1,267 +0,0 @@ -package globalconf - -import ( - "flag" - "io/ioutil" - "os" - "testing" -) - -const envTestPrefix = "CONFTEST_" - -func TestNewWithOptionsNoFilename(t *testing.T) { - opts := Options{EnvPrefix: envTestPrefix} - - os.Setenv(envTestPrefix+"D", "EnvD") - - flagD := flag.String("d", "default", "") - flagE := flag.Bool("e", true, "") - - conf, err := NewWithOptions(&opts) - if err != nil { - t.Fatal(err) - } - conf.ParseAll() - - if *flagD != "EnvD" { - t.Errorf("flagD found %v, expected 'EnvD'", *flagD) - } - if !*flagE { - t.Errorf("flagE found %v, expected true", *flagE) - } -} - -func TestParse_Global(t *testing.T) { - resetForTesting("") - - os.Setenv(envTestPrefix+"D", "EnvD") - os.Setenv(envTestPrefix+"E", "true") - os.Setenv(envTestPrefix+"F", "5.5") - - flagA := flag.Bool("a", false, "") - flagB := flag.Float64("b", 0.0, "") - flagC := flag.String("c", "", "") - - flagD := flag.String("d", "", "") - flagE := flag.Bool("e", false, "") - flagF := flag.Float64("f", 0.0, "") - - parse(t, "./testdata/global.ini", envTestPrefix) - if !*flagA { - t.Errorf("flagA found %v, expected true", *flagA) - } - if *flagB != 5.6 { - t.Errorf("flagB found %v, expected 5.6", *flagB) - } - if *flagC != "Hello world" { - t.Errorf("flagC found %v, expected 'Hello world'", *flagC) - } - if *flagD != "EnvD" { - t.Errorf("flagD found %v, expected 'EnvD'", *flagD) - } - if !*flagE { - t.Errorf("flagE found %v, expected true", *flagE) - } - if *flagF != 5.5 { - t.Errorf("flagF found %v, expected 5.5", *flagF) - } -} - -func TestParse_DashConversion(t *testing.T) { - resetForTesting("") - - flagFooBar := flag.String("foo-bar", "", "") - os.Setenv("PREFIX_FOO_BAR", "baz") - - opts := Options{EnvPrefix: "PREFIX_"} - conf, err := NewWithOptions(&opts) - if err != nil { - t.Fatal(err) - } - conf.ParseAll() - - if *flagFooBar != "baz" { - t.Errorf("flagFooBar found %v, expected 5.5", *flagFooBar) - } -} - -func TestParse_GlobalWithDottedFlagname(t *testing.T) { - resetForTesting("") - os.Setenv(envTestPrefix+"SOME_VALUE", "some-value") - flagSomeValue := flag.String("some.value", "", "") - - parse(t, "./testdata/global.ini", envTestPrefix) - if *flagSomeValue != "some-value" { - t.Errorf("flagSomeValue found %v, some-value expected", *flagSomeValue) - } -} - -func TestParse_GlobalOverwrite(t *testing.T) { - resetForTesting("-b=7.6") - flagB := flag.Float64("b", 0.0, "") - - parse(t, "./testdata/global.ini", "") - if *flagB != 7.6 { - t.Errorf("flagB found %v, expected 7.6", *flagB) - } -} - -func TestParse_Custom(t *testing.T) { - resetForTesting("") - - os.Setenv(envTestPrefix+"CUSTOM_E", "Hello Env") - - flagB := flag.Float64("b", 5.0, "") - - name := "custom" - custom := flag.NewFlagSet(name, flag.ExitOnError) - flagD := custom.String("d", "dd", "") - flagE := custom.String("e", "ee", "") - - Register(name, custom) - parse(t, "./testdata/custom.ini", envTestPrefix) - if *flagB != 5.0 { - t.Errorf("flagB found %v, expected 5.0", *flagB) - } - if *flagD != "Hello d" { - t.Errorf("flagD found %v, expected 'Hello d'", *flagD) - } - if *flagE != "Hello Env" { - t.Errorf("flagE found %v, expected 'Hello Env'", *flagE) - } -} - -func TestParse_CustomOverwrite(t *testing.T) { - resetForTesting("-b=6") - flagB := flag.Float64("b", 5.0, "") - - name := "custom" - custom := flag.NewFlagSet(name, flag.ExitOnError) - flagD := custom.String("d", "dd", "") - - Register(name, custom) - parse(t, "./testdata/custom.ini", "") - if *flagB != 6.0 { - t.Errorf("flagB found %v, expected 6.0", *flagB) - } - if *flagD != "Hello d" { - t.Errorf("flagD found %v, expected 'Hello d'", *flagD) - } -} - -func TestParse_GlobalAndCustom(t *testing.T) { - resetForTesting("") - flagA := flag.Bool("a", false, "") - flagB := flag.Float64("b", 0.0, "") - flagC := flag.String("c", "", "") - - name := "custom" - custom := flag.NewFlagSet(name, flag.ExitOnError) - flagD := custom.String("d", "", "") - - Register(name, custom) - parse(t, "./testdata/globalandcustom.ini", "") - if !*flagA { - t.Errorf("flagA found %v, expected true", *flagA) - } - if *flagB != 5.6 { - t.Errorf("flagB found %v, expected 5.6", *flagB) - } - if *flagC != "Hello world" { - t.Errorf("flagC found %v, expected 'Hello world'", *flagC) - } - if *flagD != "Hello d" { - t.Errorf("flagD found %v, expected 'Hello d'", *flagD) - } -} - -func TestParse_GlobalAndCustomOverwrite(t *testing.T) { - resetForTesting("-a=true", "-b=5", "-c=Hello") - flagA := flag.Bool("a", false, "") - flagB := flag.Float64("b", 0.0, "") - flagC := flag.String("c", "", "") - - name := "custom" - custom := flag.NewFlagSet(name, flag.ExitOnError) - flagD := custom.String("d", "", "") - - Register(name, custom) - parse(t, "./testdata/globalandcustom.ini", "") - if !*flagA { - t.Errorf("flagA found %v, expected true", *flagA) - } - if *flagB != 5.0 { - t.Errorf("flagB found %v, expected 5.0", *flagB) - } - if *flagC != "Hello" { - t.Errorf("flagC found %v, expected 'Hello'", *flagC) - } - if *flagD != "Hello d" { - t.Errorf("flagD found %v, expected 'Hello d'", *flagD) - } -} - -func TestSet(t *testing.T) { - resetForTesting() - file, _ := ioutil.TempFile("", "") - conf := parse(t, file.Name(), "") - conf.Set("", &flag.Flag{Name: "a", Value: newFlagValue("test")}) - - flagA := flag.String("a", "", "") - parse(t, file.Name(), "") - if *flagA != "test" { - t.Errorf("flagA found %v, expected 'test'", *flagA) - } -} - -func TestDelete(t *testing.T) { - resetForTesting() - file, _ := ioutil.TempFile("", "") - conf := parse(t, file.Name(), "") - conf.Set("", &flag.Flag{Name: "a", Value: newFlagValue("test")}) - conf.Delete("", "a") - - flagA := flag.String("a", "", "") - parse(t, file.Name(), "") - if *flagA != "" { - t.Errorf("flagNewA found %v, expected ''", *flagA) - } -} - -func parse(t *testing.T, filename, envPrefix string) *GlobalConf { - opts := Options{ - Filename: filename, - EnvPrefix: envPrefix, - } - conf, err := NewWithOptions(&opts) - if err != nil { - t.Error(err) - } - conf.ParseAll() - return conf -} - -// Resets os.Args and the default flag set. -func resetForTesting(args ...string) { - os.Clearenv() - - os.Args = append([]string{"cmd"}, args...) - flag.CommandLine = flag.NewFlagSet(os.Args[0], flag.ExitOnError) -} - -type flagValue struct { - str string -} - -func (f *flagValue) String() string { - return f.str -} - -func (f *flagValue) Set(value string) error { - f.str = value - return nil -} - -func newFlagValue(val string) *flagValue { - return &flagValue{str: val} -} diff --git a/Godeps/_workspace/src/github.com/rakyll/globalconf/testdata/custom.ini b/Godeps/_workspace/src/github.com/rakyll/globalconf/testdata/custom.ini deleted file mode 100644 index 23795a1f0399..000000000000 --- a/Godeps/_workspace/src/github.com/rakyll/globalconf/testdata/custom.ini +++ /dev/null @@ -1,2 +0,0 @@ -[custom] -d = Hello d diff --git a/Godeps/_workspace/src/github.com/rakyll/globalconf/testdata/global.ini b/Godeps/_workspace/src/github.com/rakyll/globalconf/testdata/global.ini deleted file mode 100644 index 1268888583d6..000000000000 --- a/Godeps/_workspace/src/github.com/rakyll/globalconf/testdata/global.ini +++ /dev/null @@ -1,3 +0,0 @@ -a = true -b = 5.6 -c = Hello world diff --git a/Godeps/_workspace/src/github.com/rakyll/globalconf/testdata/globalandcustom.ini b/Godeps/_workspace/src/github.com/rakyll/globalconf/testdata/globalandcustom.ini deleted file mode 100644 index c48a933ed186..000000000000 --- a/Godeps/_workspace/src/github.com/rakyll/globalconf/testdata/globalandcustom.ini +++ /dev/null @@ -1,6 +0,0 @@ -a = true -b = 5.6 -c = Hello world - -[custom] -d = Hello d diff --git a/Godeps/_workspace/src/github.com/rakyll/goini/.gitignore b/Godeps/_workspace/src/github.com/rakyll/goini/.gitignore deleted file mode 100644 index 6facd5a72316..000000000000 --- a/Godeps/_workspace/src/github.com/rakyll/goini/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -.*.swp - -*.[689] -[689].out - -_obj -_test -_testmain.go diff --git a/Godeps/_workspace/src/github.com/rakyll/goini/Makefile b/Godeps/_workspace/src/github.com/rakyll/goini/Makefile deleted file mode 100644 index bc67d570d526..000000000000 --- a/Godeps/_workspace/src/github.com/rakyll/goini/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -test: - go test - -format: - gofmt -w *.go - -.PHONY: format test diff --git a/Godeps/_workspace/src/github.com/rakyll/goini/empty.ini b/Godeps/_workspace/src/github.com/rakyll/goini/empty.ini deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/Godeps/_workspace/src/github.com/rakyll/goini/example.ini b/Godeps/_workspace/src/github.com/rakyll/goini/example.ini deleted file mode 100644 index 1a21f8e3796d..000000000000 --- a/Godeps/_workspace/src/github.com/rakyll/goini/example.ini +++ /dev/null @@ -1,18 +0,0 @@ -# -# This is an example of ini file -# - -[Pizza] - -Ham = yes; -Mushrooms = TRUE; -Capres = 0; -Cheese = Non; - - -[Wine] - -Grape = Cabernet Sauvignon; -Year = 1989; -Country = Spain; -Alcohol = 12.5; diff --git a/Godeps/_workspace/src/github.com/rakyll/goini/ini.go b/Godeps/_workspace/src/github.com/rakyll/goini/ini.go deleted file mode 100644 index 54b81f18b289..000000000000 --- a/Godeps/_workspace/src/github.com/rakyll/goini/ini.go +++ /dev/null @@ -1,241 +0,0 @@ -package ini - -import ( - "bufio" - "bytes" - "fmt" - "io/ioutil" - "os" - "regexp" - "strconv" - "strings" - "unicode" -) - -type Dict map[string]map[string]string - -type Error string - -var ( - regDoubleQuote = regexp.MustCompile("^([^= \t]+)[ \t]*=[ \t]*\"([^\"]*)\"$") - regSingleQuote = regexp.MustCompile("^([^= \t]+)[ \t]*=[ \t]*'([^']*)'$") - regNoQuote = regexp.MustCompile("^([^= \t]+)[ \t]*=[ \t]*([^#;]+)") - regNoValue = regexp.MustCompile("^([^= \t]+)[ \t]*=[ \t]*([#;].*)?") -) - -func Load(filename string) (dict Dict, err error) { - file, err := os.Open(filename) - if err != nil { - return nil, err - } - defer file.Close() - - dict = make(map[string]map[string]string) - reader := bufio.NewReader(file) - lineno := 0 - section := "" - dict[section] = make(map[string]string) - - for err == nil { - l, _, err := reader.ReadLine() - if err != nil { - break - } - lineno++ - if len(l) == 0 { - continue - } - line := strings.TrimFunc(string(l), unicode.IsSpace) - - for line[len(line)-1] == '\\' { - line = line[:len(line)-1] - l, _, err := reader.ReadLine() - if err != nil { - return nil, err - } - line += strings.TrimFunc(string(l), unicode.IsSpace) - } - - section, err = dict.parseLine(section, line) - if err != nil { - return nil, newError( - err.Error() + fmt.Sprintf("'%s:%d'.", filename, lineno)) - } - } - - return -} - -func Write(filename string, dict *Dict) error { - buffer := dict.format() - return ioutil.WriteFile(filename, buffer.Bytes(), 0644) -} - -func (e Error) Error() string { - return string(e) -} -func (dict Dict) parseLine(section, line string) (string, error) { - // commets - if line[0] == '#' || line[0] == ';' { - return section, nil - } - - // section name - if line[0] == '[' && line[len(line)-1] == ']' { - section := strings.TrimFunc(line[1:len(line)-1], unicode.IsSpace) - section = strings.ToLower(section) - dict[section] = make(map[string]string) - return section, nil - } - - // key = value - if m := regDoubleQuote.FindAllStringSubmatch(line, 1); m != nil { - dict.add(section, m[0][1], m[0][2]) - return section, nil - } else if m = regSingleQuote.FindAllStringSubmatch(line, 1); m != nil { - dict.add(section, m[0][1], m[0][2]) - return section, nil - } else if m = regNoQuote.FindAllStringSubmatch(line, 1); m != nil { - dict.add(section, m[0][1], strings.TrimFunc(m[0][2], unicode.IsSpace)) - return section, nil - } else if m = regNoValue.FindAllStringSubmatch(line, 1); m != nil { - dict.add(section, m[0][1], "") - return section, nil - } - - return section, newError("iniparser: syntax error at ") -} - -func (dict Dict) add(section, key, value string) { - key = strings.ToLower(key) - dict[section][key] = value -} - -func (dict Dict) GetBool(section, key string) (bool, bool) { - sec, ok := dict[section] - if !ok { - return false, false - } - value, ok := sec[key] - if !ok { - return false, false - } - v := value[0] - if v == 'y' || v == 'Y' || v == '1' || v == 't' || v == 'T' { - return true, true - } - if v == 'n' || v == 'N' || v == '0' || v == 'f' || v == 'F' { - return false, true - } - return false, false -} - -func (dict Dict) SetBool(section, key string, value bool) { - dict.SetString(section, key, strconv.FormatBool(value)) -} - -func (dict Dict) GetString(section, key string) (string, bool) { - sec, ok := dict[section] - if !ok { - return "", false - } - value, ok := sec[key] - if !ok { - return "", false - } - return value, true -} - -func (dict Dict) SetString(section, key, value string) { - _, ok := dict[section] - if !ok { - dict[section] = make(map[string]string) - } - dict[section][key] = value -} - -func (dict Dict) GetInt(section, key string) (int, bool) { - sec, ok := dict[section] - if !ok { - return 0, false - } - value, ok := sec[key] - if !ok { - return 0, false - } - i, err := strconv.Atoi(value) - if err != nil { - return 0, false - } - return i, true -} - -func (dict Dict) SetInt(section, key string, value int) { - dict.SetString(section, key, strconv.FormatInt(int64(value), 10)) -} - -func (dict Dict) GetDouble(section, key string) (float64, bool) { - sec, ok := dict[section] - if !ok { - return 0, false - } - value, ok := sec[key] - if !ok { - return 0, false - } - d, err := strconv.ParseFloat(value, 64) - if err != nil { - return 0, false - } - return d, true -} - -func (dict Dict) SetDouble(section, key string, value float64) { - dict.SetString(section, key, strconv.FormatFloat(value, 'f', -1, 64)) -} - -func (dict Dict) Delete(section, key string) { - _, ok := dict[section] - if !ok { - return - } - delete(dict[section], key) - // If there are no items left in the section, - // delete the section. - if len(dict[section]) == 0 { - delete(dict, section) - } -} - -func (dict Dict) GetSections() []string { - size := len(dict) - sections := make([]string, size) - i := 0 - for section, _ := range dict { - sections[i] = section - i++ - } - return sections -} - -func (dict Dict) String() string { - return (*dict.format()).String() -} - -func (dict Dict) format() *bytes.Buffer { - var buffer bytes.Buffer - for section, vals := range dict { - if section != "" { - buffer.WriteString(fmt.Sprintf("[%s]\n", section)) - } - for key, val := range vals { - buffer.WriteString(fmt.Sprintf("%s = %s\n", key, val)) - } - buffer.WriteString("\n") - } - return &buffer -} - -func newError(message string) (e error) { - return Error(message) -} diff --git a/Godeps/_workspace/src/github.com/rakyll/goini/ini_test.go b/Godeps/_workspace/src/github.com/rakyll/goini/ini_test.go deleted file mode 100644 index 8a15eea4c2ae..000000000000 --- a/Godeps/_workspace/src/github.com/rakyll/goini/ini_test.go +++ /dev/null @@ -1,169 +0,0 @@ -package ini - -import ( - "io/ioutil" - "testing" -) - -const ( - exampleStr = `key1 = true - -[section1] -key1 = value2 -key2 = 5 -key3 = 1.3 - -[section2] -key1 = 5 - -` -) - -var ( - dict Dict - err error -) - -func init() { - dict, err = Load("example.ini") -} - -func TestLoad(t *testing.T) { - if err != nil { - t.Error("Example: load error:", err) - } -} - -func TestWrite(t *testing.T) { - d, err := Load("empty.ini") - if err != nil { - t.Error("Example: load error:", err) - } - d.SetString("", "key", "value") - tempFile, err := ioutil.TempFile("", "") - if err != nil { - t.Error("Write: Couldn't create temp file.", err) - } - err = Write(tempFile.Name(), &d) - if err != nil { - t.Error("Write: Couldn't write to temp config file.", err) - } - contents, err := ioutil.ReadFile(tempFile.Name()) - if err != nil { - t.Error("Write: Couldn't read from the temp config file.", err) - } - if string(contents) != "key = value\n\n" { - t.Error("Write: Contents of the config file doesn't match the expected.") - } -} - -func TestGetBool(t *testing.T) { - b, found := dict.GetBool("pizza", "ham") - if !found || !b { - t.Error("Example: parse error for key ham of section pizza.") - } - b, found = dict.GetBool("pizza", "mushrooms") - if !found || !b { - t.Error("Example: parse error for key mushrooms of section pizza.") - } - b, found = dict.GetBool("pizza", "capres") - if !found || b { - t.Error("Example: parse error for key capres of section pizza.") - } - b, found = dict.GetBool("pizza", "cheese") - if !found || b { - t.Error("Example: parse error for key cheese of section pizza.") - } -} - -func TestGetStringIntAndDouble(t *testing.T) { - str, found := dict.GetString("wine", "grape") - if !found || str != "Cabernet Sauvignon" { - t.Error("Example: parse error for key grape of section wine.") - } - i, found := dict.GetInt("wine", "year") - if !found || i != 1989 { - t.Error("Example: parse error for key year of section wine.") - } - str, found = dict.GetString("wine", "country") - if !found || str != "Spain" { - t.Error("Example: parse error for key grape of section wine.") - } - d, found := dict.GetDouble("wine", "alcohol") - if !found || d != 12.5 { - t.Error("Example: parse error for key grape of section wine.") - } -} - -func TestSetBoolAndStringAndIntAndDouble(t *testing.T) { - dict.SetBool("pizza", "ham", false) - b, found := dict.GetBool("pizza", "ham") - if !found || b { - t.Error("Example: bool set error for key ham of section pizza.") - } - dict.SetString("pizza", "ham", "no") - n, found := dict.GetString("pizza", "ham") - if !found || n != "no" { - t.Error("Example: string set error for key ham of section pizza.") - } - dict.SetInt("wine", "year", 1978) - i, found := dict.GetInt("wine", "year") - if !found || i != 1978 { - t.Error("Example: int set error for key year of section wine.") - } - dict.SetDouble("wine", "not-exists", 5.6) - d, found := dict.GetDouble("wine", "not-exists") - if !found || d != 5.6 { - t.Error("Example: float set error for not existing key for wine.") - } -} - -func TestDelete(t *testing.T) { - d, err := Load("empty.ini") - if err != nil { - t.Error("Example: load error:", err) - } - d.SetString("pizza", "ham", "yes") - d.Delete("pizza", "ham") - _, found := d.GetString("pizza", "ham") - if found { - t.Error("Example: delete error for key ham of section pizza.") - } - if len(d.GetSections()) > 1 { - t.Error("Only a single section should exist after deletion.") - } -} - -func TestGetNotExist(t *testing.T) { - _, found := dict.GetString("not", "exist") - if found { - t.Error("There is no key exist of section not.") - } -} - -func TestGetSections(t *testing.T) { - sections := dict.GetSections() - if len(sections) != 3 { - t.Error("The number of sections is wrong:", len(sections)) - } - for _, section := range sections { - if section != "" && section != "pizza" && section != "wine" { - t.Errorf("Section '%s' should not be exist.", section) - } - } -} - -func TestString(t *testing.T) { - d, err := Load("empty.ini") - if err != nil { - t.Error("Example: load error:", err) - } - d.SetBool("", "key1", true) - d.SetString("section1", "key1", "value2") - d.SetInt("section1", "key2", 5) - d.SetDouble("section1", "key3", 1.3) - d.SetDouble("section2", "key1", 5.0) - if d.String() != exampleStr { - t.Errorf("Dict cannot be stringified as expected.") - } -} diff --git a/common/config.go b/common/config.go deleted file mode 100644 index 3c2683db0ee1..000000000000 --- a/common/config.go +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. -// -// The go-ethereum library is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// The go-ethereum library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public License -// along with the go-ethereum library. If not, see . - -package common - -import ( - "flag" - "fmt" - "os" - - "github.com/rakyll/globalconf" -) - -// Config struct -type ConfigManager struct { - ExecPath string - Debug bool - Diff bool - DiffType string - Paranoia bool - VmType int - - conf *globalconf.GlobalConf -} - -// Read config -// -// Initialize Config from Config File -func ReadConfig(ConfigFile string, Datadir string, EnvPrefix string) *ConfigManager { - if !FileExist(ConfigFile) { - // create ConfigFile if it does not exist, otherwise - // globalconf will panic when trying to persist flags. - fmt.Printf("config file '%s' doesn't exist, creating it\n", ConfigFile) - os.Create(ConfigFile) - } - g, err := globalconf.NewWithOptions(&globalconf.Options{ - Filename: ConfigFile, - EnvPrefix: EnvPrefix, - }) - if err != nil { - fmt.Println(err) - } else { - g.ParseAll() - } - cfg := &ConfigManager{ExecPath: Datadir, Debug: true, conf: g, Paranoia: true} - return cfg -} - -// provides persistence for flags -func (c *ConfigManager) Save(key string, value interface{}) { - f := &flag.Flag{Name: key, Value: newConfValue(value)} - c.conf.Set("", f) -} - -func (c *ConfigManager) Delete(key string) { - c.conf.Delete("", key) -} - -// private type implementing flag.Value -type confValue struct { - value string -} - -// generic constructor to allow persising non-string values directly -func newConfValue(value interface{}) *confValue { - return &confValue{fmt.Sprintf("%v", value)} -} - -func (self confValue) String() string { return self.value } -func (self confValue) Set(s string) error { self.value = s; return nil } From 67598d9d08dc50172fc4022996d0b01b9ceeed9c Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 24 Jul 2015 12:29:58 +0200 Subject: [PATCH 3/4] crypto/sha3: add full license headers --- crypto/sha3/keccakf.go | 28 ++++++++++++++++++++++++++-- crypto/sha3/sha3.go | 28 ++++++++++++++++++++++++++-- 2 files changed, 52 insertions(+), 4 deletions(-) diff --git a/crypto/sha3/keccakf.go b/crypto/sha3/keccakf.go index 13e7058fa986..5fb98cbeb164 100644 --- a/crypto/sha3/keccakf.go +++ b/crypto/sha3/keccakf.go @@ -1,6 +1,30 @@ // Copyright 2014 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. package sha3 diff --git a/crypto/sha3/sha3.go b/crypto/sha3/sha3.go index 6b058ae4d59b..ee24df5c92ed 100644 --- a/crypto/sha3/sha3.go +++ b/crypto/sha3/sha3.go @@ -1,6 +1,30 @@ // Copyright 2013 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // Package sha3 implements the SHA3 hash algorithm (formerly called Keccak) chosen by NIST in 2012. // This file provides a SHA3 implementation which implements the standard hash.Hash interface. From cd657b98780a74d08c110291dcf8d1183b64be15 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 24 Jul 2015 14:23:02 +0200 Subject: [PATCH 4/4] Godeps: use BSD-licensed version of gopkg.in/karalabe/cookiejar.v2 --- Godeps/Godeps.json | 2 +- .../cookiejar.v2/collections/prque/prque.go | 17 ++++------------- .../collections/prque/prque_test.go | 17 ++++------------- .../cookiejar.v2/collections/prque/sstack.go | 17 ++++------------- .../collections/prque/sstack_test.go | 17 ++++------------- 5 files changed, 17 insertions(+), 53 deletions(-) diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 645ea23f4f2f..199914baa40e 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -121,7 +121,7 @@ }, { "ImportPath": "gopkg.in/karalabe/cookiejar.v2/collections/prque", - "Rev": "0b2e270613f5d7ba262a5749b9e32270131497a2" + "Rev": "8dcd6a7f4951f6ff3ee9cbb919a06d8925822e57" } ] } diff --git a/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/prque.go b/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/prque.go index a1009f3bec8f..5c1967c658a6 100644 --- a/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/prque.go +++ b/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/prque.go @@ -1,19 +1,10 @@ // CookieJar - A contestant's algorithm toolbox // Copyright (c) 2013 Peter Szilagyi. All rights reserved. // -// CookieJar is dual licensed: you can redistribute it and/or modify it under -// the terms of the GNU General Public License as published by the Free Software -// Foundation, either version 3 of the License, or (at your option) any later -// version. -// -// The toolbox is distributed in the hope that it will be useful, but WITHOUT -// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -// more details. -// -// Alternatively, the CookieJar toolbox may be used in accordance with the terms -// and conditions contained in a signed written agreement between you and the -// author(s). +// CookieJar is dual licensed: use of this source code is governed by a BSD +// license that can be found in the LICENSE file. Alternatively, the CookieJar +// toolbox may be used in accordance with the terms and conditions contained +// in a signed written agreement between you and the author(s). // Package prque implements a priority queue data structure supporting arbitrary // value types and float priorities. diff --git a/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/prque_test.go b/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/prque_test.go index daba691e1bf9..6a46bb807815 100644 --- a/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/prque_test.go +++ b/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/prque_test.go @@ -1,19 +1,10 @@ // CookieJar - A contestant's algorithm toolbox // Copyright (c) 2013 Peter Szilagyi. All rights reserved. // -// CookieJar is dual licensed: you can redistribute it and/or modify it under -// the terms of the GNU General Public License as published by the Free Software -// Foundation, either version 3 of the License, or (at your option) any later -// version. -// -// The toolbox is distributed in the hope that it will be useful, but WITHOUT -// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -// more details. -// -// Alternatively, the CookieJar toolbox may be used in accordance with the terms -// and conditions contained in a signed written agreement between you and the -// author(s). +// CookieJar is dual licensed: use of this source code is governed by a BSD +// license that can be found in the LICENSE file. Alternatively, the CookieJar +// toolbox may be used in accordance with the terms and conditions contained +// in a signed written agreement between you and the author(s). package prque diff --git a/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/sstack.go b/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/sstack.go index c11347f9d6e9..9f393196ef2f 100644 --- a/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/sstack.go +++ b/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/sstack.go @@ -1,19 +1,10 @@ // CookieJar - A contestant's algorithm toolbox // Copyright (c) 2013 Peter Szilagyi. All rights reserved. // -// CookieJar is dual licensed: you can redistribute it and/or modify it under -// the terms of the GNU General Public License as published by the Free Software -// Foundation, either version 3 of the License, or (at your option) any later -// version. -// -// The toolbox is distributed in the hope that it will be useful, but WITHOUT -// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -// more details. -// -// Alternatively, the CookieJar toolbox may be used in accordance with the terms -// and conditions contained in a signed written agreement between you and the -// author(s). +// CookieJar is dual licensed: use of this source code is governed by a BSD +// license that can be found in the LICENSE file. Alternatively, the CookieJar +// toolbox may be used in accordance with the terms and conditions contained +// in a signed written agreement between you and the author(s). package prque diff --git a/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/sstack_test.go b/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/sstack_test.go index bcb5b830bdbf..def121812bc9 100644 --- a/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/sstack_test.go +++ b/Godeps/_workspace/src/gopkg.in/karalabe/cookiejar.v2/collections/prque/sstack_test.go @@ -1,19 +1,10 @@ // CookieJar - A contestant's algorithm toolbox // Copyright (c) 2013 Peter Szilagyi. All rights reserved. // -// CookieJar is dual licensed: you can redistribute it and/or modify it under -// the terms of the GNU General Public License as published by the Free Software -// Foundation, either version 3 of the License, or (at your option) any later -// version. -// -// The toolbox is distributed in the hope that it will be useful, but WITHOUT -// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -// more details. -// -// Alternatively, the CookieJar toolbox may be used in accordance with the terms -// and conditions contained in a signed written agreement between you and the -// author(s). +// CookieJar is dual licensed: use of this source code is governed by a BSD +// license that can be found in the LICENSE file. Alternatively, the CookieJar +// toolbox may be used in accordance with the terms and conditions contained +// in a signed written agreement between you and the author(s). package prque