From d69cfcc84e579d777aefa4b1f1bdcd91a893c5b1 Mon Sep 17 00:00:00 2001 From: huuhadz2k <36265491+huuhadz2k@users.noreply.github.com> Date: Thu, 12 Apr 2018 20:08:17 +0700 Subject: [PATCH] =?UTF-8?q?S=C6=B0=CC=89a=20=C4=91=C3=B4=CC=89i=20c=C3=A2?= =?UTF-8?q?=CC=80n=20thi=C3=AA=CC=81t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- accounts/abi/abi.go | 10 +-- accounts/abi/abi_test.go | 14 ++-- accounts/abi/argument.go | 10 +-- accounts/abi/bind/auth.go | 18 ++--- accounts/abi/bind/backend.go | 16 ++--- accounts/abi/bind/backends/simulated.go | 40 +++++------ accounts/abi/bind/base.go | 22 +++--- accounts/abi/bind/bind.go | 16 ++--- accounts/abi/bind/bind_test.go | 16 ++--- accounts/abi/bind/template.go | 12 ++-- accounts/abi/bind/topics.go | 16 ++--- accounts/abi/bind/util.go | 16 ++--- accounts/abi/bind/util_test.go | 22 +++--- accounts/abi/doc.go | 10 +-- accounts/abi/error.go | 10 +-- accounts/abi/event.go | 14 ++-- accounts/abi/event_test.go | 16 ++--- accounts/abi/method.go | 12 ++-- accounts/abi/numbers.go | 14 ++-- accounts/abi/numbers_test.go | 10 +-- accounts/abi/pack.go | 14 ++-- accounts/abi/pack_test.go | 12 ++-- accounts/abi/reflect.go | 10 +-- accounts/abi/type.go | 10 +-- accounts/abi/type_test.go | 12 ++-- accounts/abi/unpack.go | 12 ++-- accounts/abi/unpack_test.go | 12 ++-- accounts/accounts.go | 18 ++--- accounts/errors.go | 10 +-- accounts/hd.go | 10 +-- accounts/hd_test.go | 10 +-- accounts/keystore/account_cache.go | 16 ++--- accounts/keystore/account_cache_test.go | 14 ++-- accounts/keystore/file_cache.go | 12 ++-- accounts/keystore/key.go | 16 ++--- accounts/keystore/keystore.go | 20 +++--- accounts/keystore/keystore_passphrase.go | 18 ++--- accounts/keystore/keystore_passphrase_test.go | 12 ++-- accounts/keystore/keystore_plain.go | 12 ++-- accounts/keystore/keystore_plain_test.go | 14 ++-- accounts/keystore/keystore_test.go | 16 ++--- accounts/keystore/keystore_wallet.go | 16 ++--- accounts/keystore/presale.go | 14 ++-- accounts/keystore/watch.go | 12 ++-- accounts/keystore/watch_fallback.go | 10 +-- accounts/manager.go | 12 ++-- accounts/url.go | 10 +-- accounts/usbwallet/hub.go | 16 ++--- accounts/usbwallet/internal/trezor/trezor.go | 10 +-- accounts/usbwallet/ledger.go | 22 +++--- accounts/usbwallet/trezor.go | 22 +++--- accounts/usbwallet/wallet.go | 20 +++--- bmt/bmt.go | 10 +-- bmt/bmt_r.go | 10 +-- bmt/bmt_test.go | 12 ++-- build/ci.go | 20 +++--- build/update-license.go | 10 +-- cmd/abigen/main.go | 14 ++-- cmd/bootnode/main.go | 24 +++---- cmd/ethkey/generate.go | 16 ++--- cmd/ethkey/inspect.go | 16 ++--- cmd/ethkey/main.go | 12 ++-- cmd/ethkey/message.go | 18 ++--- cmd/ethkey/message_test.go | 10 +-- cmd/ethkey/run_test.go | 12 ++-- cmd/ethkey/utils.go | 16 ++--- cmd/evm/compiler.go | 12 ++-- cmd/evm/disasm.go | 12 ++-- cmd/evm/internal/compiler/compiler.go | 12 ++-- cmd/evm/json_logger.go | 16 ++--- cmd/evm/main.go | 12 ++-- cmd/evm/runner.go | 30 ++++---- cmd/evm/staterunner.go | 20 +++--- cmd/faucet/faucet.go | 46 ++++++------- cmd/geth/accountcmd.go | 22 +++--- cmd/geth/accountcmd_test.go | 12 ++-- cmd/geth/bugcmd.go | 20 +++--- cmd/geth/chaincmd.go | 32 ++++----- cmd/geth/config.go | 22 +++--- cmd/geth/consolecmd.go | 24 +++---- cmd/geth/consolecmd_test.go | 12 ++-- cmd/geth/dao_test.go | 18 ++--- cmd/geth/genesis_test.go | 10 +-- cmd/geth/main.go | 34 +++++----- cmd/geth/misccmd.go | 18 ++--- cmd/geth/monitorcmd.go | 16 ++--- cmd/geth/run_test.go | 12 ++-- cmd/geth/usage.go | 16 ++--- cmd/p2psim/main.go | 22 +++--- cmd/puppeth/genesis.go | 32 ++++----- cmd/puppeth/module.go | 12 ++-- cmd/puppeth/module_dashboard.go | 34 +++++----- cmd/puppeth/module_ethstats.go | 12 ++-- cmd/puppeth/module_explorer.go | 12 ++-- cmd/puppeth/module_faucet.go | 14 ++-- cmd/puppeth/module_nginx.go | 12 ++-- cmd/puppeth/module_node.go | 14 ++-- cmd/puppeth/module_wallet.go | 12 ++-- cmd/puppeth/puppeth.go | 12 ++-- cmd/puppeth/ssh.go | 12 ++-- cmd/puppeth/wizard.go | 16 ++--- cmd/puppeth/wizard_dashboard.go | 12 ++-- cmd/puppeth/wizard_ethstats.go | 12 ++-- cmd/puppeth/wizard_explorer.go | 12 ++-- cmd/puppeth/wizard_faucet.go | 14 ++-- cmd/puppeth/wizard_genesis.go | 18 ++--- cmd/puppeth/wizard_intro.go | 12 ++-- cmd/puppeth/wizard_netstats.go | 14 ++-- cmd/puppeth/wizard_network.go | 12 ++-- cmd/puppeth/wizard_nginx.go | 12 ++-- cmd/puppeth/wizard_node.go | 16 ++--- cmd/puppeth/wizard_wallet.go | 12 ++-- cmd/rlpdump/main.go | 12 ++-- cmd/swarm/config.go | 22 +++--- cmd/swarm/config_test.go | 16 ++--- cmd/swarm/db.go | 16 ++--- cmd/swarm/hash.go | 14 ++-- cmd/swarm/list.go | 14 ++-- cmd/swarm/main.go | 44 ++++++------ cmd/swarm/manifest.go | 16 ++--- cmd/swarm/run_test.go | 24 +++---- cmd/swarm/upload.go | 14 ++-- cmd/swarm/upload_test.go | 10 +-- cmd/utils/cmd.go | 30 ++++---- cmd/utils/customflags.go | 12 ++-- cmd/utils/customflags_test.go | 10 +-- cmd/utils/flags.go | 68 +++++++++---------- cmd/wnode/main.go | 30 ++++---- common/big.go | 10 +-- common/bitutil/compress.go | 10 +-- common/bitutil/compress_fuzz.go | 10 +-- common/bitutil/compress_test.go | 12 ++-- common/bytes.go | 10 +-- common/bytes_test.go | 10 +-- common/compiler/solidity.go | 10 +-- common/compiler/solidity_test.go | 10 +-- common/debug.go | 12 ++-- common/fdlimit/fdlimit_freebsd.go | 10 +-- common/fdlimit/fdlimit_test.go | 10 +-- common/fdlimit/fdlimit_unix.go | 10 +-- common/fdlimit/fdlimit_windows.go | 10 +-- common/format.go | 10 +-- common/hexutil/hexutil.go | 10 +-- common/hexutil/hexutil_test.go | 10 +-- common/hexutil/json.go | 10 +-- common/hexutil/json_example_test.go | 12 ++-- common/hexutil/json_test.go | 10 +-- common/main_test.go | 10 +-- common/math/big.go | 10 +-- common/math/big_test.go | 12 ++-- common/math/integer.go | 10 +-- common/math/integer_test.go | 10 +-- common/mclock/mclock.go | 10 +-- common/number/int.go | 12 ++-- common/number/uint_test.go | 12 ++-- common/path.go | 10 +-- common/size.go | 10 +-- common/size_test.go | 10 +-- common/test_utils.go | 10 +-- common/types.go | 14 ++-- common/types_template.go | 10 +-- common/types_test.go | 10 +-- consensus/clique/api.go | 18 ++--- consensus/clique/clique.go | 38 +++++------ consensus/clique/snapshot.go | 18 ++--- consensus/clique/snapshot_test.go | 22 +++--- consensus/consensus.go | 20 +++--- consensus/errors.go | 10 +-- consensus/ethash/algorithm.go | 20 +++--- consensus/ethash/algorithm_test.go | 16 ++--- consensus/ethash/consensus.go | 24 +++---- consensus/ethash/consensus_test.go | 16 ++--- consensus/ethash/ethash.go | 18 ++--- consensus/ethash/ethash_test.go | 14 ++-- consensus/ethash/sealer.go | 18 ++--- consensus/misc/dao.go | 16 ++--- consensus/misc/forks.go | 16 ++--- console/bridge.go | 16 ++--- console/console.go | 16 ++--- console/console_test.go | 22 +++--- console/prompter.go | 10 +-- contracts/chequebook/api.go | 12 ++-- contracts/chequebook/cheque.go | 26 +++---- contracts/chequebook/cheque_test.go | 22 +++--- contracts/chequebook/contract/chequebook.go | 12 ++-- contracts/chequebook/gencode.go | 20 +++--- contracts/ens/contract/ens.go | 12 ++-- contracts/ens/contract/fifsregistrar.go | 8 +-- contracts/ens/contract/publicresolver.go | 12 ++-- contracts/ens/ens.go | 20 +++--- contracts/ens/ens_test.go | 20 +++--- core/asm/asm.go | 12 ++-- core/asm/asm_test.go | 10 +-- core/asm/compiler.go | 14 ++-- core/asm/lex_test.go | 10 +-- core/asm/lexer.go | 10 +-- core/bench_test.go | 26 +++---- core/block_validator.go | 18 ++--- core/block_validator_test.go | 20 +++--- core/blockchain.go | 38 +++++------ core/blockchain_test.go | 28 ++++---- core/blocks.go | 12 ++-- core/bloombits/doc.go | 10 +-- core/bloombits/generator.go | 12 ++-- core/bloombits/generator_test.go | 12 ++-- core/bloombits/matcher.go | 14 ++-- core/bloombits/matcher_test.go | 14 ++-- core/bloombits/scheduler.go | 10 +-- core/bloombits/scheduler_test.go | 10 +-- core/chain_indexer.go | 20 +++--- core/chain_indexer_test.go | 16 ++--- core/chain_makers.go | 26 +++---- core/chain_makers_test.go | 22 +++--- core/dao_test.go | 18 ++--- core/database_util.go | 24 +++---- core/database_util_test.go | 20 +++--- core/error.go | 10 +-- core/events.go | 14 ++-- core/evm.go | 18 ++--- core/gaspool.go | 10 +-- core/gen_genesis.go | 8 +-- core/gen_genesis_account.go | 6 +- core/genesis.go | 28 ++++---- core/genesis_alloc.go | 10 +-- core/genesis_test.go | 20 +++--- core/headerchain.go | 22 +++--- core/helper_test.go | 16 ++--- core/mkalloc.go | 14 ++-- core/state/database.go | 16 ++--- core/state/dump.go | 16 ++--- core/state/iterator.go | 16 ++--- core/state/iterator_test.go | 14 ++-- core/state/journal.go | 12 ++-- core/state/main_test.go | 10 +-- core/state/managed_state.go | 12 ++-- core/state/managed_state_test.go | 14 ++-- core/state/state_object.go | 16 ++--- core/state/state_test.go | 16 ++--- core/state/statedb.go | 24 +++---- core/state/statedb_test.go | 20 +++--- core/state/sync.go | 16 ++--- core/state/sync_test.go | 18 ++--- core/state_processor.go | 26 +++---- core/state_transition.go | 18 ++--- core/tx_journal.go | 18 ++--- core/tx_list.go | 16 ++--- core/tx_list_test.go | 14 ++-- core/tx_pool.go | 24 +++---- core/tx_pool_test.go | 24 +++---- core/types.go | 16 ++--- core/types/block.go | 18 ++--- core/types/block_test.go | 14 ++-- core/types/bloom9.go | 14 ++-- core/types/bloom9_test.go | 12 ++-- core/types/derive_sha.go | 16 ++--- core/types/gen_header_json.go | 4 +- core/types/gen_log_json.go | 4 +- core/types/gen_receipt_json.go | 4 +- core/types/gen_tx_json.go | 4 +- core/types/log.go | 16 ++--- core/types/log_test.go | 14 ++-- core/types/receipt.go | 16 ++--- core/types/transaction.go | 18 ++--- core/types/transaction_signing.go | 16 ++--- core/types/transaction_signing_test.go | 16 ++--- core/types/transaction_test.go | 16 ++--- core/vm/analysis.go | 12 ++-- core/vm/analysis_test.go | 10 +-- core/vm/common.go | 14 ++-- core/vm/contract.go | 12 ++-- core/vm/contracts.go | 20 +++--- core/vm/contracts_test.go | 12 ++-- core/vm/doc.go | 10 +-- core/vm/errors.go | 10 +-- core/vm/evm.go | 16 ++--- core/vm/gas.go | 12 ++-- core/vm/gas_table.go | 16 ++--- core/vm/gas_table_test.go | 10 +-- core/vm/gen_structlog.go | 6 +- core/vm/instructions.go | 20 +++--- core/vm/instructions_test.go | 14 ++-- core/vm/int_pool_verifier.go | 10 +-- core/vm/int_pool_verifier_empty.go | 10 +-- core/vm/interface.go | 14 ++-- core/vm/interpreter.go | 14 ++-- core/vm/intpool.go | 10 +-- core/vm/jump_table.go | 12 ++-- core/vm/logger.go | 18 ++--- core/vm/logger_test.go | 14 ++-- core/vm/memory.go | 10 +-- core/vm/memory_table.go | 12 ++-- core/vm/noop.go | 14 ++-- core/vm/opcodes.go | 10 +-- core/vm/runtime/doc.go | 10 +-- core/vm/runtime/env.go | 16 ++--- core/vm/runtime/fuzz.go | 10 +-- core/vm/runtime/runtime.go | 22 +++--- core/vm/runtime/runtime_example_test.go | 14 ++-- core/vm/runtime/runtime_test.go | 20 +++--- core/vm/stack.go | 10 +-- core/vm/stack_table.go | 12 ++-- crypto/bn256/bn256_fast.go | 12 ++-- crypto/bn256/bn256_fuzz.go | 14 ++-- crypto/bn256/bn256_slow.go | 12 ++-- crypto/crypto.go | 18 ++--- crypto/crypto_test.go | 12 ++-- crypto/ecies/ecies_test.go | 2 +- crypto/ecies/params.go | 2 +- crypto/randentropy/rand_entropy.go | 10 +-- crypto/secp256k1/curve.go | 2 +- crypto/secp256k1/panic_cb.go | 10 +-- crypto/secp256k1/secp256.go | 10 +-- crypto/secp256k1/secp256_test.go | 14 ++-- crypto/signature_cgo.go | 14 ++-- crypto/signature_nocgo.go | 10 +-- crypto/signature_test.go | 16 ++--- dashboard/assets.go | 2 +- dashboard/config.go | 10 +-- dashboard/cpu.go | 12 ++-- dashboard/cpu_windows.go | 10 +-- dashboard/dashboard.go | 20 +++--- dashboard/message.go | 10 +-- eth/api.go | 32 ++++----- eth/api_backend.go | 38 +++++------ eth/api_test.go | 16 ++--- eth/api_tracer.go | 34 +++++----- eth/backend.go | 56 +++++++-------- eth/bloombits.go | 24 +++---- eth/config.go | 24 +++---- eth/db_upgrade.go | 20 +++--- eth/downloader/api.go | 16 ++--- eth/downloader/downloader.go | 28 ++++---- eth/downloader/downloader_test.go | 28 ++++---- eth/downloader/events.go | 10 +-- eth/downloader/fakepeer.go | 18 ++--- eth/downloader/metrics.go | 12 ++-- eth/downloader/modes.go | 10 +-- eth/downloader/peer.go | 16 ++--- eth/downloader/queue.go | 18 ++--- eth/downloader/statesync.go | 24 +++---- eth/downloader/types.go | 12 ++-- eth/fetcher/fetcher.go | 18 ++--- eth/fetcher/fetcher_test.go | 24 +++---- eth/fetcher/metrics.go | 12 ++-- eth/filters/api.go | 24 +++---- eth/filters/api_test.go | 14 ++-- eth/filters/bench_test.go | 26 +++---- eth/filters/filter.go | 24 +++---- eth/filters/filter_system.go | 22 +++--- eth/filters/filter_system_test.go | 30 ++++---- eth/filters/filter_test.go | 26 +++---- eth/gasprice/gasprice.go | 20 +++--- eth/gen_config.go | 12 ++-- eth/handler.go | 38 +++++------ eth/handler_test.go | 34 +++++----- eth/helper_test.go | 34 +++++----- eth/metrics.go | 14 ++-- eth/peer.go | 18 ++--- eth/protocol.go | 20 +++--- eth/protocol_test.go | 22 +++--- eth/sync.go | 20 +++--- eth/sync_test.go | 16 ++--- eth/tracers/internal/tracers/tracers.go | 10 +-- eth/tracers/tracer.go | 20 +++--- eth/tracers/tracer_test.go | 16 ++--- eth/tracers/tracers.go | 14 ++-- eth/tracers/tracers_test.go | 28 ++++---- ethclient/ethclient.go | 22 +++--- ethclient/ethclient_test.go | 12 ++-- ethclient/signer.go | 14 ++-- ethdb/database.go | 14 ++-- ethdb/database_test.go | 12 ++-- ethdb/interface.go | 10 +-- ethdb/memory_database.go | 12 ++-- ethstats/ethstats.go | 32 ++++----- event/event.go | 10 +-- event/event_test.go | 10 +-- event/example_feed_test.go | 12 ++-- event/example_scope_test.go | 12 ++-- event/example_subscription_test.go | 12 ++-- event/example_test.go | 10 +-- event/feed.go | 10 +-- event/feed_test.go | 10 +-- event/filter/filter.go | 10 +-- event/filter/filter_test.go | 10 +-- event/filter/generic_filter.go | 10 +-- event/subscription.go | 12 ++-- event/subscription_test.go | 10 +-- interfaces.go | 14 ++-- internal/build/archive.go | 10 +-- internal/build/azure.go | 10 +-- internal/build/env.go | 12 ++-- internal/build/pgp.go | 10 +-- internal/build/util.go | 10 +-- internal/cmdtest/test_cmd.go | 10 +-- internal/debug/api.go | 12 ++-- internal/debug/flags.go | 18 ++--- internal/debug/loudpanic.go | 10 +-- internal/debug/loudpanic_fallback.go | 10 +-- internal/debug/trace.go | 12 ++-- internal/debug/trace_fallback.go | 10 +-- internal/ethapi/addrlock.go | 12 ++-- internal/ethapi/api.go | 44 ++++++------ internal/ethapi/backend.go | 32 ++++----- internal/guide/guide.go | 10 +-- internal/guide/guide_test.go | 14 ++-- internal/jsre/completion.go | 10 +-- internal/jsre/completion_test.go | 10 +-- internal/jsre/deps/deps.go | 10 +-- internal/jsre/jsre.go | 14 ++-- internal/jsre/jsre_test.go | 10 +-- internal/jsre/pretty.go | 10 +-- internal/web3ext/web3ext.go | 10 +-- les/api_backend.go | 40 +++++------ les/backend.go | 52 +++++++------- les/bloombits.go | 14 ++-- les/distributor.go | 10 +-- les/distributor_test.go | 10 +-- les/execqueue.go | 10 +-- les/execqueue_test.go | 10 +-- les/fetcher.go | 24 +++---- les/flowcontrol/control.go | 12 ++-- les/flowcontrol/manager.go | 12 ++-- les/handler.go | 42 ++++++------ les/handler_test.go | 34 +++++----- les/helper_test.go | 38 +++++------ les/metrics.go | 14 ++-- les/odr.go | 18 ++--- les/odr_requests.go | 28 ++++---- les/odr_test.go | 32 ++++----- les/peer.go | 24 +++---- les/protocol.go | 20 +++--- les/randselect.go | 10 +-- les/randselect_test.go | 10 +-- les/request_test.go | 22 +++--- les/retrieve.go | 12 ++-- les/server.go | 32 ++++----- les/serverpool.go | 24 +++---- les/sync.go | 16 ++--- les/txrelay.go | 14 ++-- light/lightchain.go | 30 ++++---- light/lightchain_test.go | 22 +++--- light/nodeset.go | 18 ++--- light/odr.go | 18 ++--- light/odr_test.go | 34 +++++----- light/odr_util.go | 20 +++--- light/postprocess.go | 28 ++++---- light/trie.go | 22 +++--- light/trie_test.go | 24 +++---- light/txpool.go | 28 ++++---- light/txpool_test.go | 24 +++---- log/format.go | 2 +- log/handler_glog.go | 10 +-- metrics/disk.go | 10 +-- metrics/disk_linux.go | 10 +-- metrics/disk_nop.go | 10 +-- metrics/exp/exp.go | 2 +- metrics/influxdb/influxdb.go | 2 +- metrics/librato/librato.go | 2 +- metrics/metrics.go | 2 +- miner/agent.go | 14 ++-- miner/miner.go | 32 ++++----- miner/remote_agent.go | 20 +++--- miner/unconfirmed.go | 16 ++--- miner/unconfirmed_test.go | 14 ++-- miner/worker.go | 32 ++++----- mobile/accounts.go | 18 ++--- mobile/android_test.go | 16 ++--- mobile/big.go | 12 ++-- mobile/bind.go | 18 ++--- mobile/common.go | 12 ++-- mobile/context.go | 10 +-- mobile/discover.go | 12 ++-- mobile/doc.go | 18 ++--- mobile/ethclient.go | 14 ++-- mobile/ethereum.go | 16 ++--- mobile/geth.go | 34 +++++----- mobile/geth_android.go | 10 +-- mobile/geth_ios.go | 10 +-- mobile/geth_other.go | 10 +-- mobile/init.go | 12 ++-- mobile/interface.go | 12 ++-- mobile/logger.go | 12 ++-- mobile/p2p.go | 12 ++-- mobile/params.go | 16 ++--- mobile/primitives.go | 10 +-- mobile/types.go | 16 ++--- mobile/vm.go | 12 ++-- node/api.go | 22 +++--- node/config.go | 28 ++++---- node/config_test.go | 14 ++-- node/defaults.go | 14 ++-- node/doc.go | 10 +-- node/errors.go | 10 +-- node/node.go | 24 +++---- node/node_example_test.go | 16 ++--- node/node_test.go | 16 ++--- node/service.go | 20 +++--- node/service_test.go | 10 +-- node/utils_test.go | 14 ++-- p2p/dial.go | 16 ++--- p2p/dial_test.go | 14 ++-- p2p/discover/database.go | 16 ++--- p2p/discover/database_test.go | 10 +-- p2p/discover/node.go | 16 ++--- p2p/discover/node_test.go | 14 ++-- p2p/discover/ntp.go | 12 ++-- p2p/discover/table.go | 18 ++--- p2p/discover/table_test.go | 14 ++-- p2p/discover/udp.go | 20 +++--- p2p/discover/udp_test.go | 16 ++--- p2p/discv5/database.go | 16 ++--- p2p/discv5/database_test.go | 10 +-- p2p/discv5/net.go | 24 +++---- p2p/discv5/net_test.go | 14 ++-- p2p/discv5/node.go | 14 ++-- p2p/discv5/node_test.go | 14 ++-- p2p/discv5/ntp.go | 12 ++-- p2p/discv5/sim_run_test.go | 10 +-- p2p/discv5/sim_test.go | 12 ++-- p2p/discv5/sim_testmain_test.go | 10 +-- p2p/discv5/table.go | 12 ++-- p2p/discv5/table_test.go | 14 ++-- p2p/discv5/ticket.go | 18 ++--- p2p/discv5/topic.go | 14 ++-- p2p/discv5/topic_test.go | 14 ++-- p2p/discv5/udp.go | 22 +++--- p2p/discv5/udp_test.go | 16 ++--- p2p/enr/enr.go | 16 ++--- p2p/enr/enr_test.go | 14 ++-- p2p/enr/entries.go | 14 ++-- p2p/message.go | 16 ++--- p2p/message_test.go | 10 +-- p2p/metrics.go | 12 ++-- p2p/nat/nat.go | 12 ++-- p2p/nat/nat_test.go | 10 +-- p2p/nat/natpmp.go | 10 +-- p2p/nat/natupnp.go | 10 +-- p2p/nat/natupnp_test.go | 10 +-- p2p/netutil/error.go | 10 +-- p2p/netutil/error_test.go | 10 +-- p2p/netutil/net.go | 10 +-- p2p/netutil/net_test.go | 10 +-- p2p/netutil/toobig_notwindows.go | 10 +-- p2p/netutil/toobig_windows.go | 10 +-- p2p/peer.go | 20 +++--- p2p/peer_error.go | 10 +-- p2p/peer_test.go | 10 +-- p2p/protocol.go | 12 ++-- p2p/protocols/protocol.go | 12 ++-- p2p/protocols/protocol_test.go | 18 ++--- p2p/rlpx.go | 22 +++--- p2p/rlpx_test.go | 20 +++--- p2p/server.go | 26 +++---- p2p/server_test.go | 18 ++--- p2p/simulations/adapters/docker.go | 16 ++--- p2p/simulations/adapters/exec.go | 20 +++--- p2p/simulations/adapters/inproc.go | 22 +++--- p2p/simulations/adapters/state.go | 10 +-- p2p/simulations/adapters/types.go | 20 +++--- p2p/simulations/events.go | 10 +-- p2p/simulations/examples/ping-pong.go | 24 +++---- p2p/simulations/http.go | 20 +++--- p2p/simulations/http_test.go | 22 +++--- p2p/simulations/mocker.go | 14 ++-- p2p/simulations/mocker_test.go | 12 ++-- p2p/simulations/network.go | 20 +++--- p2p/simulations/network_test.go | 14 ++-- p2p/simulations/simulation.go | 12 ++-- p2p/testing/peerpool.go | 14 ++-- p2p/testing/protocolsession.go | 18 ++--- p2p/testing/protocoltester.go | 26 +++---- params/bootnodes.go | 10 +-- params/config.go | 12 ++-- params/config_test.go | 10 +-- params/dao.go | 12 ++-- params/denomination.go | 10 +-- params/gas_table.go | 10 +-- params/network_params.go | 10 +-- params/protocol_params.go | 10 +-- params/version.go | 10 +-- rlp/decode.go | 10 +-- rlp/decode_tail_test.go | 10 +-- rlp/decode_test.go | 10 +-- rlp/doc.go | 10 +-- rlp/encode.go | 10 +-- rlp/encode_test.go | 10 +-- rlp/encoder_example_test.go | 10 +-- rlp/raw.go | 10 +-- rlp/raw_test.go | 10 +-- rlp/typecache.go | 10 +-- rpc/client.go | 12 ++-- rpc/client_example_test.go | 12 ++-- rpc/client_test.go | 14 ++-- rpc/doc.go | 10 +-- rpc/errors.go | 10 +-- rpc/http.go | 10 +-- rpc/http_test.go | 10 +-- rpc/inproc.go | 10 +-- rpc/ipc.go | 12 ++-- rpc/ipc_unix.go | 10 +-- rpc/ipc_windows.go | 10 +-- rpc/json.go | 12 ++-- rpc/json_test.go | 10 +-- rpc/server.go | 12 ++-- rpc/server_test.go | 10 +-- rpc/subscription.go | 10 +-- rpc/subscription_test.go | 10 +-- rpc/types.go | 12 ++-- rpc/types_test.go | 12 ++-- rpc/utils.go | 10 +-- rpc/utils_test.go | 10 +-- rpc/websocket.go | 12 ++-- swarm/api/api.go | 18 ++--- swarm/api/api_test.go | 16 ++--- swarm/api/client/client.go | 12 ++-- swarm/api/client/client_test.go | 14 ++-- swarm/api/config.go | 26 +++---- swarm/api/config_test.go | 14 ++-- swarm/api/filesystem.go | 16 ++--- swarm/api/filesystem_test.go | 14 ++-- swarm/api/http/error.go | 16 ++--- swarm/api/http/error_templates.go | 10 +-- swarm/api/http/error_test.go | 12 ++-- swarm/api/http/roundtripper.go | 18 ++--- swarm/api/http/roundtripper_test.go | 10 +-- swarm/api/http/server.go | 20 +++--- swarm/api/http/server_test.go | 20 +++--- swarm/api/http/templates.go | 12 ++-- swarm/api/manifest.go | 16 ++--- swarm/api/manifest_test.go | 12 ++-- swarm/api/storage.go | 10 +-- swarm/api/storage_test.go | 10 +-- swarm/api/testapi.go | 12 ++-- swarm/api/uri.go | 10 +-- swarm/api/uri_test.go | 10 +-- swarm/fuse/fuse_dir.go | 10 +-- swarm/fuse/fuse_file.go | 14 ++-- swarm/fuse/fuse_root.go | 10 +-- swarm/fuse/swarmfs.go | 12 ++-- swarm/fuse/swarmfs_fallback.go | 10 +-- swarm/fuse/swarmfs_test.go | 14 ++-- swarm/fuse/swarmfs_unix.go | 16 ++--- swarm/fuse/swarmfs_util.go | 12 ++-- swarm/metrics/flags.go | 18 ++--- swarm/network/depo.go | 16 ++--- swarm/network/forwarding.go | 14 ++-- swarm/network/hive.go | 24 +++---- swarm/network/kademlia/address.go | 12 ++-- swarm/network/kademlia/address_test.go | 12 ++-- swarm/network/kademlia/kaddb.go | 12 ++-- swarm/network/kademlia/kademlia.go | 14 ++-- swarm/network/kademlia/kademlia_test.go | 10 +-- swarm/network/messages.go | 20 +++--- swarm/network/protocol.go | 24 +++---- swarm/network/protocol_test.go | 10 +-- swarm/network/syncdb.go | 14 ++-- swarm/network/syncdb_test.go | 16 ++--- swarm/network/syncer.go | 14 ++-- swarm/services/swap/swap.go | 26 +++---- swarm/services/swap/swap/swap.go | 12 ++-- swarm/services/swap/swap/swap_test.go | 12 ++-- swarm/storage/chunker.go | 12 ++-- swarm/storage/chunker_test.go | 12 ++-- swarm/storage/common_test.go | 12 ++-- swarm/storage/database.go | 10 +-- swarm/storage/dbstore.go | 16 ++--- swarm/storage/dbstore_test.go | 12 ++-- swarm/storage/dpa.go | 12 ++-- swarm/storage/dpa_test.go | 10 +-- swarm/storage/localstore.go | 12 ++-- swarm/storage/memstore.go | 14 ++-- swarm/storage/memstore_test.go | 10 +-- swarm/storage/netstore.go | 12 ++-- swarm/storage/pyramid.go | 10 +-- swarm/storage/swarmhasher.go | 10 +-- swarm/storage/types.go | 16 ++--- swarm/swarm.go | 46 ++++++------- swarm/swarm_test.go | 12 ++-- swarm/testutil/http.go | 16 ++--- tests/block_test.go | 10 +-- tests/block_test_util.go | 32 ++++----- tests/difficulty_test.go | 14 ++-- tests/difficulty_test_util.go | 20 +++--- tests/gen_btheader.go | 8 +-- tests/gen_difficultytest.go | 4 +- tests/gen_stenv.go | 4 +- tests/gen_sttransaction.go | 4 +- tests/gen_tttransaction.go | 6 +- tests/gen_vmexec.go | 6 +- tests/init.go | 12 ++-- tests/init_test.go | 12 ++-- tests/rlp_test.go | 10 +-- tests/rlp_test_util.go | 12 ++-- tests/state_test.go | 12 ++-- tests/state_test_util.go | 34 +++++----- tests/transaction_test.go | 12 ++-- tests/transaction_test_util.go | 22 +++--- tests/vm_test.go | 12 ++-- tests/vm_test_util.go | 28 ++++---- trie/database.go | 16 ++--- trie/encoding.go | 10 +-- trie/encoding_test.go | 10 +-- trie/errors.go | 12 ++-- trie/hasher.go | 16 ++--- trie/iterator.go | 12 ++-- trie/iterator_test.go | 14 ++-- trie/node.go | 14 ++-- trie/node_test.go | 10 +-- trie/proof.go | 20 +++--- trie/proof_test.go | 16 ++--- trie/secure_trie.go | 14 ++-- trie/secure_trie_test.go | 16 ++--- trie/sync.go | 14 ++-- trie/sync_test.go | 14 ++-- trie/trie.go | 18 ++--- trie/trie_test.go | 18 ++--- whisper/mailserver/mailserver.go | 22 +++--- whisper/mailserver/server_test.go | 16 ++--- whisper/shhclient/client.go | 18 ++--- whisper/whisperv5/api.go | 22 +++--- whisper/whisperv5/benchmarks_test.go | 12 ++-- whisper/whisperv5/config.go | 10 +-- whisper/whisperv5/doc.go | 10 +-- whisper/whisperv5/envelope.go | 20 +++--- whisper/whisperv5/filter.go | 16 ++--- whisper/whisperv5/filter_test.go | 14 ++-- whisper/whisperv5/gen_criteria_json.go | 2 +- whisper/whisperv5/gen_message_json.go | 2 +- whisper/whisperv5/gen_newmessage_json.go | 2 +- whisper/whisperv5/message.go | 18 ++--- whisper/whisperv5/message_test.go | 14 ++-- whisper/whisperv5/peer.go | 18 ++--- whisper/whisperv5/peer_test.go | 20 +++--- whisper/whisperv5/topic.go | 14 ++-- whisper/whisperv5/topic_test.go | 10 +-- whisper/whisperv5/whisper.go | 20 +++--- whisper/whisperv5/whisper_test.go | 12 ++-- whisper/whisperv6/api.go | 22 +++--- whisper/whisperv6/api_test.go | 12 ++-- whisper/whisperv6/benchmarks_test.go | 12 ++-- whisper/whisperv6/config.go | 10 +-- whisper/whisperv6/doc.go | 10 +-- whisper/whisperv6/envelope.go | 20 +++--- whisper/whisperv6/envelope_test.go | 12 ++-- whisper/whisperv6/filter.go | 16 ++--- whisper/whisperv6/filter_test.go | 14 ++-- whisper/whisperv6/gen_criteria_json.go | 2 +- whisper/whisperv6/gen_message_json.go | 2 +- whisper/whisperv6/gen_newmessage_json.go | 2 +- whisper/whisperv6/message.go | 18 ++--- whisper/whisperv6/message_test.go | 16 ++--- whisper/whisperv6/peer.go | 18 ++--- whisper/whisperv6/peer_test.go | 22 +++--- whisper/whisperv6/topic.go | 14 ++-- whisper/whisperv6/topic_test.go | 10 +-- whisper/whisperv6/whisper.go | 22 +++--- whisper/whisperv6/whisper_test.go | 12 ++-- 758 files changed, 5748 insertions(+), 5748 deletions(-) diff --git a/accounts/abi/abi.go b/accounts/abi/abi.go index 254b1f7fb4..27d939b700 100644 --- a/accounts/abi/abi.go +++ b/accounts/abi/abi.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi diff --git a/accounts/abi/abi_test.go b/accounts/abi/abi_test.go index 8018df7756..30314eac6c 100644 --- a/accounts/abi/abi_test.go +++ b/accounts/abi/abi_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi @@ -27,8 +27,8 @@ import ( "reflect" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" ) const jsondata = ` diff --git a/accounts/abi/argument.go b/accounts/abi/argument.go index 512d8fdfa7..01c1e153f4 100644 --- a/accounts/abi/argument.go +++ b/accounts/abi/argument.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi diff --git a/accounts/abi/bind/auth.go b/accounts/abi/bind/auth.go index e6bb0c3b52..45773a6cc1 100644 --- a/accounts/abi/bind/auth.go +++ b/accounts/abi/bind/auth.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bind @@ -22,10 +22,10 @@ import ( "io" "io/ioutil" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" ) // NewTransactor is a utility method to easily create a transaction signer from diff --git a/accounts/abi/bind/backend.go b/accounts/abi/bind/backend.go index ca60cc1b43..0b98983b67 100644 --- a/accounts/abi/bind/backend.go +++ b/accounts/abi/bind/backend.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bind @@ -21,9 +21,9 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" ) var ( diff --git a/accounts/abi/bind/backends/simulated.go b/accounts/abi/bind/backends/simulated.go index 2b5c5fc4a4..5609ede9b7 100644 --- a/accounts/abi/bind/backends/simulated.go +++ b/accounts/abi/bind/backends/simulated.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package backends @@ -24,21 +24,21 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/filters" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/bloombits" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/eth/filters" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // This nil assignment ensures compile time that SimulatedBackend implements bind.ContractBackend. diff --git a/accounts/abi/bind/base.go b/accounts/abi/bind/base.go index 83ad1c8ae7..ed3e3d3c3a 100644 --- a/accounts/abi/bind/base.go +++ b/accounts/abi/bind/base.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bind @@ -22,12 +22,12 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/event" + "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/accounts/abi" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/event" ) // SignerFn is a signer function callback when a contract requires a method to diff --git a/accounts/abi/bind/bind.go b/accounts/abi/bind/bind.go index 411177057b..c9d70494fc 100644 --- a/accounts/abi/bind/bind.go +++ b/accounts/abi/bind/bind.go @@ -1,23 +1,23 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package bind generates Ethereum contract Go bindings. // -// Detailed usage document and tutorial available on the go-ethereum Wiki page: -// https://github.com/ethereum/go-ethereum/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts +// Detailed usage document and tutorial available on the go-etherfact Wiki page: +// https://github.com/EtherFact-Project/go-etherfact/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts package bind import ( @@ -28,7 +28,7 @@ import ( "text/template" "unicode" - "github.com/ethereum/go-ethereum/accounts/abi" + "github.com/EtherFact-Project/go-etherfact/accounts/abi" "golang.org/x/tools/imports" ) diff --git a/accounts/abi/bind/bind_test.go b/accounts/abi/bind/bind_test.go index 2a5a886487..73822b13d3 100644 --- a/accounts/abi/bind/bind_test.go +++ b/accounts/abi/bind/bind_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bind @@ -26,7 +26,7 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" "golang.org/x/tools/imports" ) @@ -819,13 +819,13 @@ func TestBindings(t *testing.T) { if !common.FileExist(gocmd) { t.Skip("go sdk not found for testing") } - // Skip the test if the go-ethereum sources are symlinked (https://github.com/golang/go/issues/14845) + // Skip the test if the go-etherfact sources are symlinked (https://github.com/golang/go/issues/14845) linkTestCode := fmt.Sprintf("package linktest\nfunc CheckSymlinks(){\nfmt.Println(backends.NewSimulatedBackend(nil))\n}") linkTestDeps, err := imports.Process(os.TempDir(), []byte(linkTestCode), nil) if err != nil { t.Fatalf("failed check for goimports symlink bug: %v", err) } - if !strings.Contains(string(linkTestDeps), "go-ethereum") { + if !strings.Contains(string(linkTestDeps), "go-etherfact") { t.Skip("symlinked environment doesn't support bind (https://github.com/golang/go/issues/14845)") } // Create a temporary workspace for the test suite diff --git a/accounts/abi/bind/template.go b/accounts/abi/bind/template.go index 7202ee67a1..f203b68f7b 100644 --- a/accounts/abi/bind/template.go +++ b/accounts/abi/bind/template.go @@ -1,22 +1,22 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bind -import "github.com/ethereum/go-ethereum/accounts/abi" +import "github.com/EtherFact-Project/go-etherfact/accounts/abi" // tmplData is the data structure required to fill the binding template. type tmplData struct { diff --git a/accounts/abi/bind/topics.go b/accounts/abi/bind/topics.go index 600dfcda97..5e66079de3 100644 --- a/accounts/abi/bind/topics.go +++ b/accounts/abi/bind/topics.go @@ -1,18 +1,18 @@ -// Copyright 2018 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2018 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bind @@ -22,9 +22,9 @@ import ( "math/big" "reflect" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/accounts/abi" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" ) // makeTopics converts a filter query argument list into a filter topic set. diff --git a/accounts/abi/bind/util.go b/accounts/abi/bind/util.go index d129993ca1..e1319861d6 100644 --- a/accounts/abi/bind/util.go +++ b/accounts/abi/bind/util.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bind @@ -21,9 +21,9 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/log" ) // WaitMined waits for tx to be mined on the blockchain. diff --git a/accounts/abi/bind/util_test.go b/accounts/abi/bind/util_test.go index 49e6dc813a..7960f57de5 100644 --- a/accounts/abi/bind/util_test.go +++ b/accounts/abi/bind/util_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bind_test @@ -22,12 +22,12 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind/backends" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" ) var testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291") diff --git a/accounts/abi/doc.go b/accounts/abi/doc.go index 8242068582..a6c60956e5 100644 --- a/accounts/abi/doc.go +++ b/accounts/abi/doc.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package abi implements the Ethereum ABI (Application Binary // Interface). diff --git a/accounts/abi/error.go b/accounts/abi/error.go index 9d8674ad08..abb841723d 100644 --- a/accounts/abi/error.go +++ b/accounts/abi/error.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi diff --git a/accounts/abi/event.go b/accounts/abi/event.go index 595f169f3a..58897f2b1f 100644 --- a/accounts/abi/event.go +++ b/accounts/abi/event.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi @@ -20,8 +20,8 @@ import ( "fmt" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" ) // Event is an event potentially triggered by the EVM's LOG mechanism. The Event diff --git a/accounts/abi/event_test.go b/accounts/abi/event_test.go index cca61e433d..c811305993 100644 --- a/accounts/abi/event_test.go +++ b/accounts/abi/event_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi @@ -25,8 +25,8 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) @@ -244,7 +244,7 @@ func unpackTestEventData(dest interface{}, hexData string, jsonEvent []byte, ass /* Taken from -https://github.com/ethereum/go-ethereum/pull/15568 +https://github.com/EtherFact-Project/go-etherfact/pull/15568 */ type testResult struct { diff --git a/accounts/abi/method.go b/accounts/abi/method.go index f434ffdbef..2b71096a1b 100644 --- a/accounts/abi/method.go +++ b/accounts/abi/method.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto" ) // Method represents a callable given a `Name` and whether the method is a constant. diff --git a/accounts/abi/numbers.go b/accounts/abi/numbers.go index 0cd97cc66f..0a1e477e15 100644 --- a/accounts/abi/numbers.go +++ b/accounts/abi/numbers.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi @@ -20,8 +20,8 @@ import ( "math/big" "reflect" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" ) var ( diff --git a/accounts/abi/numbers_test.go b/accounts/abi/numbers_test.go index b9ff5aef17..5eec1cf797 100644 --- a/accounts/abi/numbers_test.go +++ b/accounts/abi/numbers_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi diff --git a/accounts/abi/pack.go b/accounts/abi/pack.go index 36c58265bd..577b010841 100644 --- a/accounts/abi/pack.go +++ b/accounts/abi/pack.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi @@ -20,8 +20,8 @@ import ( "math/big" "reflect" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" ) // packBytesSlice packs the given bytes as [L, V] as the canonical representation diff --git a/accounts/abi/pack_test.go b/accounts/abi/pack_test.go index 58a5b7a581..b825d26b3c 100644 --- a/accounts/abi/pack_test.go +++ b/accounts/abi/pack_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi @@ -24,7 +24,7 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) func TestPack(t *testing.T) { diff --git a/accounts/abi/reflect.go b/accounts/abi/reflect.go index 5620a70845..8a5bbe38eb 100644 --- a/accounts/abi/reflect.go +++ b/accounts/abi/reflect.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi diff --git a/accounts/abi/type.go b/accounts/abi/type.go index 9de36daffb..7a4d39ada4 100644 --- a/accounts/abi/type.go +++ b/accounts/abi/type.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi diff --git a/accounts/abi/type_test.go b/accounts/abi/type_test.go index f6b36f18fd..e638ae5365 100644 --- a/accounts/abi/type_test.go +++ b/accounts/abi/type_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi @@ -22,7 +22,7 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) // typeWithoutStringer is a alias for the Type type which simply doesn't implement diff --git a/accounts/abi/unpack.go b/accounts/abi/unpack.go index 793d515adf..c71db07527 100644 --- a/accounts/abi/unpack.go +++ b/accounts/abi/unpack.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi @@ -22,7 +22,7 @@ import ( "math/big" "reflect" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) // reads the integer based on its kind diff --git a/accounts/abi/unpack_test.go b/accounts/abi/unpack_test.go index bdbab10b4f..5a8aeb38d2 100644 --- a/accounts/abi/unpack_test.go +++ b/accounts/abi/unpack_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package abi @@ -26,7 +26,7 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" "github.com/stretchr/testify/require" ) diff --git a/accounts/accounts.go b/accounts/accounts.go index 76951e1a42..4659ec3577 100644 --- a/accounts/accounts.go +++ b/accounts/accounts.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package accounts implements high level Ethereum account management. package accounts @@ -20,10 +20,10 @@ package accounts import ( "math/big" - ethereum "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" + ethereum "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/event" ) // Account represents an Ethereum account located at a specific location defined diff --git a/accounts/errors.go b/accounts/errors.go index 40b21ed179..990c835b32 100644 --- a/accounts/errors.go +++ b/accounts/errors.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package accounts diff --git a/accounts/hd.go b/accounts/hd.go index 277f688e48..9a44f48cd0 100644 --- a/accounts/hd.go +++ b/accounts/hd.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package accounts diff --git a/accounts/hd_test.go b/accounts/hd_test.go index b6b23230dc..7f8ae84f61 100644 --- a/accounts/hd_test.go +++ b/accounts/hd_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package accounts diff --git a/accounts/keystore/account_cache.go b/accounts/keystore/account_cache.go index 71f698ece7..365c69d7af 100644 --- a/accounts/keystore/account_cache.go +++ b/accounts/keystore/account_cache.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package keystore @@ -27,9 +27,9 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/log" "gopkg.in/fatih/set.v0" ) diff --git a/accounts/keystore/account_cache_test.go b/accounts/keystore/account_cache_test.go index fe9233c046..59372ea137 100644 --- a/accounts/keystore/account_cache_test.go +++ b/accounts/keystore/account_cache_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package keystore @@ -29,8 +29,8 @@ import ( "github.com/cespare/cp" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/common" ) var ( diff --git a/accounts/keystore/file_cache.go b/accounts/keystore/file_cache.go index c91b7b7b61..ed11db0d1e 100644 --- a/accounts/keystore/file_cache.go +++ b/accounts/keystore/file_cache.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package keystore @@ -24,7 +24,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" set "gopkg.in/fatih/set.v0" ) diff --git a/accounts/keystore/key.go b/accounts/keystore/key.go index 211fa863d7..ab96dd2696 100644 --- a/accounts/keystore/key.go +++ b/accounts/keystore/key.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package keystore @@ -29,9 +29,9 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" "github.com/pborman/uuid" ) diff --git a/accounts/keystore/keystore.go b/accounts/keystore/keystore.go index 80ccd37419..ba1f469106 100644 --- a/accounts/keystore/keystore.go +++ b/accounts/keystore/keystore.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package keystore implements encrypted storage of secp256k1 private keys. // @@ -33,11 +33,11 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/event" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/event" ) var ( diff --git a/accounts/keystore/keystore_passphrase.go b/accounts/keystore/keystore_passphrase.go index eaec39f7df..d191b38b8e 100644 --- a/accounts/keystore/keystore_passphrase.go +++ b/accounts/keystore/keystore_passphrase.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . /* @@ -36,10 +36,10 @@ import ( "io/ioutil" "path/filepath" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/randentropy" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/randentropy" "github.com/pborman/uuid" "golang.org/x/crypto/pbkdf2" "golang.org/x/crypto/scrypt" diff --git a/accounts/keystore/keystore_passphrase_test.go b/accounts/keystore/keystore_passphrase_test.go index 630682cebd..2528c63553 100644 --- a/accounts/keystore/keystore_passphrase_test.go +++ b/accounts/keystore/keystore_passphrase_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package keystore @@ -20,7 +20,7 @@ import ( "io/ioutil" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) const ( diff --git a/accounts/keystore/keystore_plain.go b/accounts/keystore/keystore_plain.go index b490ca72b8..41c198057f 100644 --- a/accounts/keystore/keystore_plain.go +++ b/accounts/keystore/keystore_plain.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package keystore @@ -22,7 +22,7 @@ import ( "os" "path/filepath" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) type keyStorePlain struct { diff --git a/accounts/keystore/keystore_plain_test.go b/accounts/keystore/keystore_plain_test.go index a1c3bc4b6c..f233b4151c 100644 --- a/accounts/keystore/keystore_plain_test.go +++ b/accounts/keystore/keystore_plain_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package keystore @@ -27,8 +27,8 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" ) func tmpKeyStoreIface(t *testing.T, encrypted bool) (dir string, ks keyStore) { diff --git a/accounts/keystore/keystore_test.go b/accounts/keystore/keystore_test.go index 6fb0a78088..e2a50d888a 100644 --- a/accounts/keystore/keystore_test.go +++ b/accounts/keystore/keystore_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package keystore @@ -26,9 +26,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/event" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/event" ) var testSigData = make([]byte, 32) diff --git a/accounts/keystore/keystore_wallet.go b/accounts/keystore/keystore_wallet.go index 758fdfe364..3879e3ee2b 100644 --- a/accounts/keystore/keystore_wallet.go +++ b/accounts/keystore/keystore_wallet.go @@ -1,27 +1,27 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package keystore import ( "math/big" - ethereum "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/core/types" + ethereum "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/core/types" ) // keystoreWallet implements the accounts.Wallet interface for the original diff --git a/accounts/keystore/presale.go b/accounts/keystore/presale.go index 1554294e14..4c11da163b 100644 --- a/accounts/keystore/presale.go +++ b/accounts/keystore/presale.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package keystore @@ -25,8 +25,8 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/crypto" "github.com/pborman/uuid" "golang.org/x/crypto/pbkdf2" ) diff --git a/accounts/keystore/watch.go b/accounts/keystore/watch.go index bbcfb99257..f62818803a 100644 --- a/accounts/keystore/watch.go +++ b/accounts/keystore/watch.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build darwin,!ios freebsd linux,!arm64 netbsd solaris @@ -21,7 +21,7 @@ package keystore import ( "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" "github.com/rjeczalik/notify" ) diff --git a/accounts/keystore/watch_fallback.go b/accounts/keystore/watch_fallback.go index 7c5e9cb2e2..69c63ff708 100644 --- a/accounts/keystore/watch_fallback.go +++ b/accounts/keystore/watch_fallback.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build ios linux,arm64 windows !darwin,!freebsd,!linux,!netbsd,!solaris diff --git a/accounts/manager.go b/accounts/manager.go index 96ca298fc5..816ba71a17 100644 --- a/accounts/manager.go +++ b/accounts/manager.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package accounts @@ -21,7 +21,7 @@ import ( "sort" "sync" - "github.com/ethereum/go-ethereum/event" + "github.com/EtherFact-Project/go-etherfact/event" ) // Manager is an overarching account manager that can communicate with various diff --git a/accounts/url.go b/accounts/url.go index 47f9d8ee4b..ff7a4be149 100644 --- a/accounts/url.go +++ b/accounts/url.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package accounts diff --git a/accounts/usbwallet/hub.go b/accounts/usbwallet/hub.go index 61fc98ccc8..7d7143fa96 100644 --- a/accounts/usbwallet/hub.go +++ b/accounts/usbwallet/hub.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package usbwallet @@ -22,9 +22,9 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" "github.com/karalabe/hid" ) diff --git a/accounts/usbwallet/internal/trezor/trezor.go b/accounts/usbwallet/internal/trezor/trezor.go index 8ae9e726e4..00d2e044eb 100644 --- a/accounts/usbwallet/internal/trezor/trezor.go +++ b/accounts/usbwallet/internal/trezor/trezor.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // This file contains the implementation for interacting with the Trezor hardware // wallets. The wire protocol spec can be found on the SatoshiLabs website: diff --git a/accounts/usbwallet/ledger.go b/accounts/usbwallet/ledger.go index f5def61d23..e1222be1ed 100644 --- a/accounts/usbwallet/ledger.go +++ b/accounts/usbwallet/ledger.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // This file contains the implementation for interacting with the Ledger hardware // wallets. The wire protocol spec can be found in the Ledger Blue GitHub repo: @@ -28,12 +28,12 @@ import ( "io" "math/big" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // ledgerOpcode is an enumeration encoding the supported Ledger opcodes. diff --git a/accounts/usbwallet/trezor.go b/accounts/usbwallet/trezor.go index b84a955992..bc5149058f 100644 --- a/accounts/usbwallet/trezor.go +++ b/accounts/usbwallet/trezor.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // This file contains the implementation for interacting with the Trezor hardware // wallets. The wire protocol spec can be found on the SatoshiLabs website: @@ -27,12 +27,12 @@ import ( "io" "math/big" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/usbwallet/internal/trezor" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/accounts/usbwallet/internal/trezor" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/log" "github.com/golang/protobuf/proto" ) diff --git a/accounts/usbwallet/wallet.go b/accounts/usbwallet/wallet.go index 8b3b5a5224..1f6e098190 100644 --- a/accounts/usbwallet/wallet.go +++ b/accounts/usbwallet/wallet.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package usbwallet implements support for USB hardware wallets. package usbwallet @@ -25,11 +25,11 @@ import ( "sync" "time" - ethereum "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" + ethereum "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/log" "github.com/karalabe/hid" ) diff --git a/bmt/bmt.go b/bmt/bmt.go index 3408758675..14e547b676 100644 --- a/bmt/bmt.go +++ b/bmt/bmt.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package bmt provides a binary merkle tree implementation package bmt diff --git a/bmt/bmt_r.go b/bmt/bmt_r.go index 649093ee3a..898380008c 100644 --- a/bmt/bmt_r.go +++ b/bmt/bmt_r.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // simple nonconcurrent reference implementation for hashsize segment based // Binary Merkle tree hash on arbitrary but fixed maximum chunksize diff --git a/bmt/bmt_test.go b/bmt/bmt_test.go index 57df83060a..ea543533dc 100644 --- a/bmt/bmt_test.go +++ b/bmt/bmt_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bmt @@ -28,7 +28,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" ) const ( diff --git a/build/ci.go b/build/ci.go index 91de4e8769..29172e1b87 100644 --- a/build/ci.go +++ b/build/ci.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build none @@ -58,7 +58,7 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/internal/build" + "github.com/EtherFact-Project/go-etherfact/internal/build" ) var ( @@ -188,7 +188,7 @@ func doInstall(cmdline []string) { if minor < 9 { log.Println("You have Go version", runtime.Version()) - log.Println("go-ethereum requires at least Go version 1.9 and cannot") + log.Println("go-etherfact requires at least Go version 1.9 and cannot") log.Println("be compiled with an earlier version. Please upgrade your Go installation.") os.Exit(1) } @@ -523,7 +523,7 @@ func isUnstableBuild(env build.Environment) bool { type debMetadata struct { Env build.Environment - // go-ethereum version being built. Note that this + // go-etherfact version being built. Note that this // is not the debian package version. The package version // is constructed by VersionString. Version string @@ -728,7 +728,7 @@ func doAndroidArchive(cmdline []string) { // Build the Android archive and Maven resources build.MustRun(goTool("get", "golang.org/x/mobile/cmd/gomobile", "golang.org/x/mobile/cmd/gobind")) build.MustRun(gomobileTool("init", "--ndk", os.Getenv("ANDROID_NDK"))) - build.MustRun(gomobileTool("bind", "--target", "android", "--javapkg", "org.ethereum", "-v", "github.com/ethereum/go-ethereum/mobile")) + build.MustRun(gomobileTool("bind", "--target", "android", "--javapkg", "org.ethereum", "-v", "github.com/EtherFact-Project/go-etherfact/mobile")) if *local { // If we're building locally, copy bundle to build dir and skip Maven @@ -849,7 +849,7 @@ func doXCodeFramework(cmdline []string) { // Build the iOS XCode framework build.MustRun(goTool("get", "golang.org/x/mobile/cmd/gomobile", "golang.org/x/mobile/cmd/gobind")) build.MustRun(gomobileTool("init")) - bind := gomobileTool("bind", "--target", "ios", "--tags", "ios", "-v", "github.com/ethereum/go-ethereum/mobile") + bind := gomobileTool("bind", "--target", "ios", "--tags", "ios", "-v", "github.com/EtherFact-Project/go-etherfact/mobile") if *local { // If we're building locally, use the build folder and stop afterwards diff --git a/build/update-license.go b/build/update-license.go index 22e4033428..859d39c594 100644 --- a/build/update-license.go +++ b/build/update-license.go @@ -68,13 +68,13 @@ var ( licenseCommentRE = regexp.MustCompile(`^//\s*(Copyright|This file is part of).*?\n(?://.*?\n)*\n*`) // this text appears at the start of AUTHORS - authorsFileHeader = "# This is the official list of go-ethereum authors for copyright purposes.\n\n" + authorsFileHeader = "# This is the official list of go-etherfact authors for copyright purposes.\n\n" ) // this template generates the license comment. // its input is an info structure. var licenseT = template.Must(template.New("").Parse(` -// Copyright {{.Year}} The go-ethereum Authors +// Copyright {{.Year}} The go-etherfact Authors // This file is part of {{.Whole false}}. // // {{.Whole true}} is free software: you can redistribute it and/or modify @@ -113,12 +113,12 @@ func (i info) ShortLicense() string { func (i info) Whole(startOfSentence bool) string { if i.gpl() { - return "go-ethereum" + return "go-etherfact" } if startOfSentence { - return "The go-ethereum library" + return "The go-etherfact library" } - return "the go-ethereum library" + return "the go-etherfact library" } func (i info) gpl() bool { diff --git a/cmd/abigen/main.go b/cmd/abigen/main.go index 3a1ae6f4c3..4bcdc6c226 100644 --- a/cmd/abigen/main.go +++ b/cmd/abigen/main.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2016 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -24,8 +24,8 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common/compiler" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind" + "github.com/EtherFact-Project/go-etherfact/common/compiler" ) var ( diff --git a/cmd/bootnode/main.go b/cmd/bootnode/main.go index 2e93cc04d2..e06179adc7 100644 --- a/cmd/bootnode/main.go +++ b/cmd/bootnode/main.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2015 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . // bootnode runs a bootstrap node for the Ethereum Discovery Protocol. package main @@ -24,13 +24,13 @@ import ( "net" "os" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/discv5" - "github.com/ethereum/go-ethereum/p2p/nat" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/discv5" + "github.com/EtherFact-Project/go-etherfact/p2p/nat" + "github.com/EtherFact-Project/go-etherfact/p2p/netutil" ) func main() { diff --git a/cmd/ethkey/generate.go b/cmd/ethkey/generate.go index 6d57d17fb4..ab576f8c5c 100644 --- a/cmd/ethkey/generate.go +++ b/cmd/ethkey/generate.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -23,9 +23,9 @@ import ( "os" "path/filepath" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/crypto" "github.com/pborman/uuid" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/ethkey/inspect.go b/cmd/ethkey/inspect.go index dbf5afc0ce..1e2b1997ba 100644 --- a/cmd/ethkey/inspect.go +++ b/cmd/ethkey/inspect.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -21,9 +21,9 @@ import ( "fmt" "io/ioutil" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/crypto" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/ethkey/main.go b/cmd/ethkey/main.go index 2a9e5ee483..2b8ee642cf 100644 --- a/cmd/ethkey/main.go +++ b/cmd/ethkey/main.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -20,7 +20,7 @@ import ( "fmt" "os" - "github.com/ethereum/go-ethereum/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/ethkey/message.go b/cmd/ethkey/message.go index 531a931c82..9f77a6eb25 100644 --- a/cmd/ethkey/message.go +++ b/cmd/ethkey/message.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -21,10 +21,10 @@ import ( "fmt" "io/ioutil" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/ethkey/message_test.go b/cmd/ethkey/message_test.go index 39352b1d22..271f0ff43c 100644 --- a/cmd/ethkey/message_test.go +++ b/cmd/ethkey/message_test.go @@ -1,18 +1,18 @@ -// Copyright 2018 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2018 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main diff --git a/cmd/ethkey/run_test.go b/cmd/ethkey/run_test.go index 6006f6b5bb..053fb1e0a5 100644 --- a/cmd/ethkey/run_test.go +++ b/cmd/ethkey/run_test.go @@ -1,18 +1,18 @@ -// Copyright 2018 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2018 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -22,7 +22,7 @@ import ( "testing" "github.com/docker/docker/pkg/reexec" - "github.com/ethereum/go-ethereum/internal/cmdtest" + "github.com/EtherFact-Project/go-etherfact/internal/cmdtest" ) type testEthkey struct { diff --git a/cmd/ethkey/utils.go b/cmd/ethkey/utils.go index 0e563bf922..c7f2b42dda 100644 --- a/cmd/ethkey/utils.go +++ b/cmd/ethkey/utils.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -22,9 +22,9 @@ import ( "io/ioutil" "strings" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/console" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/console" + "github.com/EtherFact-Project/go-etherfact/crypto" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/evm/compiler.go b/cmd/evm/compiler.go index c019a2fe70..23aaac2a0c 100644 --- a/cmd/evm/compiler.go +++ b/cmd/evm/compiler.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -21,7 +21,7 @@ import ( "fmt" "io/ioutil" - "github.com/ethereum/go-ethereum/cmd/evm/internal/compiler" + "github.com/EtherFact-Project/go-etherfact/cmd/evm/internal/compiler" cli "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/evm/disasm.go b/cmd/evm/disasm.go index 4a442cf784..2162675173 100644 --- a/cmd/evm/disasm.go +++ b/cmd/evm/disasm.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -22,7 +22,7 @@ import ( "io/ioutil" "strings" - "github.com/ethereum/go-ethereum/core/asm" + "github.com/EtherFact-Project/go-etherfact/core/asm" cli "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/evm/internal/compiler/compiler.go b/cmd/evm/internal/compiler/compiler.go index 753ca62264..90bf5bb74c 100644 --- a/cmd/evm/internal/compiler/compiler.go +++ b/cmd/evm/internal/compiler/compiler.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package compiler @@ -20,7 +20,7 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/core/asm" + "github.com/EtherFact-Project/go-etherfact/core/asm" ) func Compile(fn string, src []byte, debug bool) (string, error) { diff --git a/cmd/evm/json_logger.go b/cmd/evm/json_logger.go index 0e7a911896..e70c8ab2f6 100644 --- a/cmd/evm/json_logger.go +++ b/cmd/evm/json_logger.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -22,9 +22,9 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/core/vm" ) type JSONLogger struct { diff --git a/cmd/evm/main.go b/cmd/evm/main.go index a59cb1fb84..e15c3bcf09 100644 --- a/cmd/evm/main.go +++ b/cmd/evm/main.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2014 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . // evm executes EVM code snippets. package main @@ -22,7 +22,7 @@ import ( "math/big" "os" - "github.com/ethereum/go-ethereum/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/evm/runner.go b/cmd/evm/runner.go index 2d9d31fb08..f01acbdc12 100644 --- a/cmd/evm/runner.go +++ b/cmd/evm/runner.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -27,16 +27,16 @@ import ( goruntime "runtime" - "github.com/ethereum/go-ethereum/cmd/evm/internal/compiler" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/core/vm/runtime" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/cmd/evm/internal/compiler" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/core/vm/runtime" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/params" cli "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/evm/staterunner.go b/cmd/evm/staterunner.go index 071ea94ad0..fc4a4cc9c7 100644 --- a/cmd/evm/staterunner.go +++ b/cmd/evm/staterunner.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -23,10 +23,10 @@ import ( "io/ioutil" "os" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/tests" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/tests" cli "gopkg.in/urfave/cli.v1" ) @@ -50,7 +50,7 @@ func stateTestCmd(ctx *cli.Context) error { if len(ctx.Args().First()) == 0 { return errors.New("path-to-test argument required") } - // Configure the go-ethereum logger + // Configure the go-etherfact logger glogger := log.NewGlogHandler(log.StreamHandler(os.Stderr, log.TerminalFormat(false))) glogger.Verbosity(log.Lvl(ctx.GlobalInt(VerbosityFlag.Name))) log.Root().SetHandler(glogger) diff --git a/cmd/faucet/faucet.go b/cmd/faucet/faucet.go index 5bad09bbd5..03decc2068 100644 --- a/cmd/faucet/faucet.go +++ b/cmd/faucet/faucet.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . // faucet is a Ether faucet backed by a light client. package main @@ -41,23 +41,23 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/ethclient" - "github.com/ethereum/go-ethereum/ethstats" - "github.com/ethereum/go-ethereum/les" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/discv5" - "github.com/ethereum/go-ethereum/p2p/nat" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/eth" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/ethclient" + "github.com/EtherFact-Project/go-etherfact/ethstats" + "github.com/EtherFact-Project/go-etherfact/les" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/discv5" + "github.com/EtherFact-Project/go-etherfact/p2p/nat" + "github.com/EtherFact-Project/go-etherfact/params" "golang.org/x/net/websocket" ) @@ -450,7 +450,7 @@ func (f *faucet) apiHandler(conn *websocket.Conn) { case *noauthFlag: username, avatar, address, err = authNoAuth(msg.URL) default: - err = errors.New("Something funky happened, please open an issue at https://github.com/ethereum/go-ethereum/issues") + err = errors.New("Something funky happened, please open an issue at https://github.com/EtherFact-Project/go-etherfact/issues") } if err != nil { if err = sendError(conn, err); err != nil { diff --git a/cmd/geth/accountcmd.go b/cmd/geth/accountcmd.go index 0db5c4ce0f..74dc120a41 100644 --- a/cmd/geth/accountcmd.go +++ b/cmd/geth/accountcmd.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2016 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -20,12 +20,12 @@ import ( "fmt" "io/ioutil" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/console" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/console" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/geth/accountcmd_test.go b/cmd/geth/accountcmd_test.go index 3ea22ccfab..2232ef13fb 100644 --- a/cmd/geth/accountcmd_test.go +++ b/cmd/geth/accountcmd_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2016 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -173,7 +173,7 @@ Fatal: Failed to unlock account f466859ead1932d743d622cb74fc058882e8648a (could `) } -// https://github.com/ethereum/go-ethereum/issues/1785 +// https://github.com/EtherFact-Project/go-etherfact/issues/1785 func TestUnlockFlagMultiIndex(t *testing.T) { datadir := tmpDatadirWithKeystore(t) geth := runGeth(t, diff --git a/cmd/geth/bugcmd.go b/cmd/geth/bugcmd.go index 51187ac90e..7c897a2577 100644 --- a/cmd/geth/bugcmd.go +++ b/cmd/geth/bugcmd.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -26,10 +26,10 @@ import ( "runtime" "strings" - "github.com/ethereum/go-ethereum/cmd/internal/browser" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/cmd/internal/browser" + "github.com/EtherFact-Project/go-etherfact/params" - "github.com/ethereum/go-ethereum/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" cli "gopkg.in/urfave/cli.v1" ) @@ -41,9 +41,9 @@ var bugCommand = cli.Command{ Category: "MISCELLANEOUS COMMANDS", } -const issueUrl = "https://github.com/ethereum/go-ethereum/issues/new" +const issueUrl = "https://github.com/EtherFact-Project/go-etherfact/issues/new" -// reportBug reports a bug by opening a new URL to the go-ethereum GH issue +// reportBug reports a bug by opening a new URL to the go-etherfact GH issue // tracker and setting default values as the issue body. func reportBug(ctx *cli.Context) error { // execute template and write contents to buff diff --git a/cmd/geth/chaincmd.go b/cmd/geth/chaincmd.go index d3086921b9..6e47713bde 100644 --- a/cmd/geth/chaincmd.go +++ b/cmd/geth/chaincmd.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2015 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -25,17 +25,17 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/console" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/console" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/trie" "github.com/syndtr/goleveldb/leveldb/util" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/geth/config.go b/cmd/geth/config.go index e6bd4d5bef..08afe421f6 100644 --- a/cmd/geth/config.go +++ b/cmd/geth/config.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -27,12 +27,12 @@ import ( cli "gopkg.in/urfave/cli.v1" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/dashboard" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/params" - whisper "github.com/ethereum/go-ethereum/whisper/whisperv6" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/dashboard" + "github.com/EtherFact-Project/go-etherfact/eth" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/params" + whisper "github.com/EtherFact-Project/go-etherfact/whisper/whisperv6" "github.com/naoina/toml" ) diff --git a/cmd/geth/consolecmd.go b/cmd/geth/consolecmd.go index 2500a969cf..068ca2a23f 100644 --- a/cmd/geth/consolecmd.go +++ b/cmd/geth/consolecmd.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2016 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -24,10 +24,10 @@ import ( "strings" "syscall" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/console" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/console" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/rpc" "gopkg.in/urfave/cli.v1" ) @@ -43,7 +43,7 @@ var ( Description: ` The Geth console is an interactive shell for the JavaScript runtime environment which exposes a node admin interface as well as the Ðapp JavaScript API. -See https://github.com/ethereum/go-ethereum/wiki/JavaScript-Console.`, +See https://github.com/EtherFact-Project/go-etherfact/wiki/JavaScript-Console.`, } attachCommand = cli.Command{ @@ -56,7 +56,7 @@ See https://github.com/ethereum/go-ethereum/wiki/JavaScript-Console.`, Description: ` The Geth console is an interactive shell for the JavaScript runtime environment which exposes a node admin interface as well as the Ðapp JavaScript API. -See https://github.com/ethereum/go-ethereum/wiki/JavaScript-Console. +See https://github.com/EtherFact-Project/go-etherfact/wiki/JavaScript-Console. This command allows to open a console on a running geth node.`, } @@ -69,7 +69,7 @@ This command allows to open a console on a running geth node.`, Category: "CONSOLE COMMANDS", Description: ` The JavaScript VM exposes a node admin interface as well as the Ðapp -JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/JavaScript-Console`, +JavaScript API. See https://github.com/EtherFact-Project/go-etherfact/wiki/JavaScript-Console`, } ) diff --git a/cmd/geth/consolecmd_test.go b/cmd/geth/consolecmd_test.go index 258b9e6dd9..a80bb0c9da 100644 --- a/cmd/geth/consolecmd_test.go +++ b/cmd/geth/consolecmd_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2016 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -27,7 +27,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/params" ) const ( diff --git a/cmd/geth/dao_test.go b/cmd/geth/dao_test.go index a8dbc51630..3cdebeb1e4 100644 --- a/cmd/geth/dao_test.go +++ b/cmd/geth/dao_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2016 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -23,10 +23,10 @@ import ( "path/filepath" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" ) // Genesis block for nodes which don't care about the DAO fork (i.e. not configured) diff --git a/cmd/geth/genesis_test.go b/cmd/geth/genesis_test.go index a00ae00c19..74547ef68f 100644 --- a/cmd/geth/genesis_test.go +++ b/cmd/geth/genesis_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2016 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main diff --git a/cmd/geth/main.go b/cmd/geth/main.go index d94154245f..72fbfc62cf 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2014 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . // geth is the official command-line client for Ethereum. package main @@ -25,16 +25,16 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/console" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/ethclient" - "github.com/ethereum/go-ethereum/internal/debug" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/node" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/console" + "github.com/EtherFact-Project/go-etherfact/eth" + "github.com/EtherFact-Project/go-etherfact/ethclient" + "github.com/EtherFact-Project/go-etherfact/internal/debug" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/node" "gopkg.in/urfave/cli.v1" ) @@ -46,7 +46,7 @@ var ( // Git SHA1 commit hash of the release (set via linker flags) gitCommit = "" // The app that holds all commands and flags. - app = utils.NewApp(gitCommit, "the go-ethereum command line interface") + app = utils.NewApp(gitCommit, "the go-etherfact command line interface") // flags that configure the node nodeFlags = []cli.Flag{ utils.IdentityFlag, @@ -146,7 +146,7 @@ func init() { // Initialize the CLI app and start Geth app.Action = geth app.HideVersion = true // we have a command to print the version - app.Copyright = "Copyright 2013-2017 The go-ethereum Authors" + app.Copyright = "Copyright 2013-2017 The go-etherfact Authors" app.Commands = []cli.Command{ // See chaincmd.go: initCommand, diff --git a/cmd/geth/misccmd.go b/cmd/geth/misccmd.go index aa9b1ee568..0899227f39 100644 --- a/cmd/geth/misccmd.go +++ b/cmd/geth/misccmd.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2016 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -23,10 +23,10 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/eth" + "github.com/EtherFact-Project/go-etherfact/params" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/geth/monitorcmd.go b/cmd/geth/monitorcmd.go index cd19caa276..ed7b7a1695 100644 --- a/cmd/geth/monitorcmd.go +++ b/cmd/geth/monitorcmd.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2015 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -25,9 +25,9 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/rpc" "github.com/gizak/termui" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/geth/run_test.go b/cmd/geth/run_test.go index da82facac3..2515cebfb2 100644 --- a/cmd/geth/run_test.go +++ b/cmd/geth/run_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2016 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -23,7 +23,7 @@ import ( "testing" "github.com/docker/docker/pkg/reexec" - "github.com/ethereum/go-ethereum/internal/cmdtest" + "github.com/EtherFact-Project/go-etherfact/internal/cmdtest" ) func tmpdir(t *testing.T) string { diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go index a1558c2330..ebd9c86014 100644 --- a/cmd/geth/usage.go +++ b/cmd/geth/usage.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2015 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . // Contains the geth command usage template and generator. @@ -24,8 +24,8 @@ import ( "strings" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/internal/debug" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/internal/debug" "gopkg.in/urfave/cli.v1" ) @@ -33,7 +33,7 @@ import ( var AppHelpTemplate = `NAME: {{.App.Name}} - {{.App.Usage}} - Copyright 2013-2017 The go-ethereum Authors + Copyright 2013-2017 The go-etherfact Authors USAGE: {{.App.HelpName}} [options]{{if .App.Commands}} command [command options]{{end}} {{if .App.ArgsUsage}}{{.App.ArgsUsage}}{{else}}[arguments...]{{end}} diff --git a/cmd/p2psim/main.go b/cmd/p2psim/main.go index 0c8ed038d5..8d6f640a0a 100644 --- a/cmd/p2psim/main.go +++ b/cmd/p2psim/main.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . // p2psim provides a command-line client for a simulation HTTP API. // @@ -45,12 +45,12 @@ import ( "strings" "text/tabwriter" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/simulations" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/simulations" + "github.com/EtherFact-Project/go-etherfact/p2p/simulations/adapters" + "github.com/EtherFact-Project/go-etherfact/rpc" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/puppeth/genesis.go b/cmd/puppeth/genesis.go index 1974a94aa2..62a8f6ebf8 100644 --- a/cmd/puppeth/genesis.go +++ b/cmd/puppeth/genesis.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -21,11 +21,11 @@ import ( "errors" "math" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/params" ) // cppEthereumGenesisSpec represents the genesis specification format used by the @@ -85,10 +85,10 @@ type cppEthereumGenesisSpecLinearPricing struct { Word uint64 `json:"word"` } -// newCppEthereumGenesisSpec converts a go-ethereum genesis block into a Parity specific +// newCppEthereumGenesisSpec converts a go-etherfact genesis block into a Parity specific // chain specification format. func newCppEthereumGenesisSpec(network string, genesis *core.Genesis) (*cppEthereumGenesisSpec, error) { - // Only ethash is currently supported between go-ethereum and cpp-ethereum + // Only ethash is currently supported between go-etherfact and cpp-ethereum if genesis.Config.Ethash == nil { return nil, errors.New("unsupported consensus engine") } @@ -256,10 +256,10 @@ type parityChainSpecAltBnPairingPricing struct { Pair uint64 `json:"pair"` } -// newParityChainSpec converts a go-ethereum genesis block into a Parity specific +// newParityChainSpec converts a go-etherfact genesis block into a Parity specific // chain specification format. func newParityChainSpec(network string, genesis *core.Genesis, bootnodes []string) (*parityChainSpec, error) { - // Only ethash is currently supported between go-ethereum and Parity + // Only ethash is currently supported between go-etherfact and Parity if genesis.Config.Ethash == nil { return nil, errors.New("unsupported consensus engine") } @@ -355,10 +355,10 @@ type pyEthereumGenesisSpec struct { ParentHash common.Hash `json:"parentHash"` } -// newPyEthereumGenesisSpec converts a go-ethereum genesis block into a Parity specific +// newPyEthereumGenesisSpec converts a go-etherfact genesis block into a Parity specific // chain specification format. func newPyEthereumGenesisSpec(network string, genesis *core.Genesis) (*pyEthereumGenesisSpec, error) { - // Only ethash is currently supported between go-ethereum and pyethereum + // Only ethash is currently supported between go-etherfact and pyethereum if genesis.Config.Ethash == nil { return nil, errors.New("unsupported consensus engine") } diff --git a/cmd/puppeth/module.go b/cmd/puppeth/module.go index b6a029a01a..752f594f58 100644 --- a/cmd/puppeth/module.go +++ b/cmd/puppeth/module.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -25,7 +25,7 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) var ( diff --git a/cmd/puppeth/module_dashboard.go b/cmd/puppeth/module_dashboard.go index 3832b247f8..19acda1047 100644 --- a/cmd/puppeth/module_dashboard.go +++ b/cmd/puppeth/module_dashboard.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -26,7 +26,7 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // dashboardContent is the actual dashboard HTML content to serve up when users @@ -202,7 +202,7 @@ var dashboardContent = `

The Ethereum Wallet is an Electron based desktop application to manage your Ethereum accounts and funds. Beside the usual account life-cycle operations you would expect to perform, the wallet also provides a means to send transactions from your accounts and to interact with smart contracts deployed on the network.

-

Under the hood the wallet is backed by a go-ethereum full node, meaning that a mid range machine is assumed. Similarly, synchronization is based on fast-sync, which will download all blockchain data from the network and make it available to the wallet. Light nodes cannot currently fully back the wallet, but it's a target actively pursued.

+

Under the hood the wallet is backed by a go-etherfact full node, meaning that a mid range machine is assumed. Similarly, synchronization is based on fast-sync, which will download all blockchain data from the network and make it available to the wallet. Light nodes cannot currently fully back the wallet, but it's a target actively pursued.


To connect with the Ethereum Wallet, you'll need to initialize your private network first via Geth as the wallet does not currently support calling Geth directly. To initialize your local chain, download {{.GethGenesis}} and run:

geth --datadir=$HOME/.{{.Network}} init {{.GethGenesis}}
@@ -223,7 +223,7 @@ var dashboardContent = `

The Mist browser is an Electron based desktop application to load and interact with Ethereum enabled third party web DApps. Beside all the functionality provided by the Ethereum Wallet, Mist is an extended web-browser where loaded pages have access to the Ethereum network via a web3.js provider, and may also interact with users' own accounts (given proper authorization and confirmation of course).

-

Under the hood the browser is backed by a go-ethereum full node, meaning that a mid range machine is assumed. Similarly, synchronization is based on fast-sync, which will download all blockchain data from the network and make it available to the wallet. Light nodes cannot currently fully back the wallet, but it's a target actively pursued.

+

Under the hood the browser is backed by a go-etherfact full node, meaning that a mid range machine is assumed. Similarly, synchronization is based on fast-sync, which will download all blockchain data from the network and make it available to the wallet. Light nodes cannot currently fully back the wallet, but it's a target actively pursued.


To connect with the Mist browser, you'll need to initialize your private network first via Geth as Mist does not currently support calling Geth directly. To initialize your local chain, download {{.GethGenesis}} and run:

geth --datadir=$HOME/.{{.Network}} init {{.GethGenesis}}
@@ -253,10 +253,10 @@ var dashboardContent = `
-

Starting with the 1.5 release of go-ethereum, we've transitioned away from shipping only full blown Ethereum clients and started focusing on releasing the code as reusable packages initially for Go projects, then later for Java based Android projects too. Mobile support is still evolving, hence is bound to change often and hard, but the Ethereum network can nonetheless be accessed from Android too.

-

Under the hood the Android library is backed by a go-ethereum light node, meaning that given a not-too-old Android device, you should be able to join the network without significant issues. Certain functionality is not yet available and rough edges are bound to appear here and there, please report issues if you find any.

+

Starting with the 1.5 release of go-etherfact, we've transitioned away from shipping only full blown Ethereum clients and started focusing on releasing the code as reusable packages initially for Go projects, then later for Java based Android projects too. Mobile support is still evolving, hence is bound to change often and hard, but the Ethereum network can nonetheless be accessed from Android too.

+

Under the hood the Android library is backed by a go-etherfact light node, meaning that given a not-too-old Android device, you should be able to join the network without significant issues. Certain functionality is not yet available and rough edges are bound to appear here and there, please report issues if you find any.


-

The stable Android archives are distributed via Maven Central, and the develop snapshots via the Sonatype repositories. Before proceeding, please ensure you have a recent version configured in your Android project. You can find details in Mobile: Introduction – Android archive. +

The stable Android archives are distributed via Maven Central, and the develop snapshots via the Sonatype repositories. Before proceeding, please ensure you have a recent version configured in your Android project. You can find details in Mobile: Introduction – Android archive.

Before connecting to the Ethereum network, download the {{.GethGenesis}} genesis json file and either store it in your Android project as a resource file you can access, or save it as a string in a variable. You're going to need to to initialize your client.

Inside your Java code you can now import the geth archive and connect to Ethereum:

import org.ethereum.geth.*;
@@ -284,10 +284,10 @@ node.start();
-

Starting with the 1.5 release of go-ethereum, we've transitioned away from shipping only full blown Ethereum clients and started focusing on releasing the code as reusable packages initially for Go projects, then later for ObjC/Swift based iOS projects too. Mobile support is still evolving, hence is bound to change often and hard, but the Ethereum network can nonetheless be accessed from iOS too.

-

Under the hood the iOS library is backed by a go-ethereum light node, meaning that given a not-too-old Apple device, you should be able to join the network without significant issues. Certain functionality is not yet available and rough edges are bound to appear here and there, please report issues if you find any.

+

Starting with the 1.5 release of go-etherfact, we've transitioned away from shipping only full blown Ethereum clients and started focusing on releasing the code as reusable packages initially for Go projects, then later for ObjC/Swift based iOS projects too. Mobile support is still evolving, hence is bound to change often and hard, but the Ethereum network can nonetheless be accessed from iOS too.

+

Under the hood the iOS library is backed by a go-etherfact light node, meaning that given a not-too-old Apple device, you should be able to join the network without significant issues. Certain functionality is not yet available and rough edges are bound to appear here and there, please report issues if you find any.


-

Both stable and develop builds of the iOS framework are available via CocoaPods. Before proceeding, please ensure you have a recent version configured in your iOS project. You can find details in Mobile: Introduction – iOS framework. +

Both stable and develop builds of the iOS framework are available via CocoaPods. Before proceeding, please ensure you have a recent version configured in your iOS project. You can find details in Mobile: Introduction – iOS framework.

Before connecting to the Ethereum network, download the {{.GethGenesis}} genesis json file and either store it in your iOS project as a resource file you can access, or save it as a string in a variable. You're going to need to to initialize your client.

Inside your Swift code you can now import the geth framework and connect to Ethereum (ObjC should be analogous):

import Geth
@@ -419,9 +419,9 @@ try! node?.start();

Puppeth is a tool to aid you in creating a new Ethereum network down to the genesis block, bootnodes, signers, ethstats server, crypto faucet, wallet browsers, block explorer, dashboard and more; without the hassle that it would normally entail to manually configure all these services one by one.

Puppeth uses ssh to dial in to remote servers, and builds its network components out of docker containers using docker-compose. The user is guided through the process via a command line wizard that does the heavy lifting and topology configuration automatically behind the scenes.


-

Puppeth is distributed as part of the Geth & Tools bundles, but can also be installed separately via:

go get github.com/ethereum/go-ethereum/cmd/puppeth

+

Puppeth is distributed as part of the Geth & Tools bundles, but can also be installed separately via:

go get github.com/EtherFact-Project/go-etherfact/cmd/puppeth


-

Copyright 2017. The go-ethereum Authors.

+

Copyright 2017. The go-etherfact Authors.

@@ -635,7 +635,7 @@ func deployDashboard(client *sshClient, network string, conf *config, config *da }) files[filepath.Join(workdir, "index.html")] = indexfile.Bytes() - // Marshal the genesis spec files for go-ethereum and all the other clients + // Marshal the genesis spec files for go-etherfact and all the other clients genesis, _ := conf.Genesis.MarshalJSON() files[filepath.Join(workdir, network+".json")] = genesis diff --git a/cmd/puppeth/module_ethstats.go b/cmd/puppeth/module_ethstats.go index 20b7afe236..42c988a934 100644 --- a/cmd/puppeth/module_ethstats.go +++ b/cmd/puppeth/module_ethstats.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -25,7 +25,7 @@ import ( "strings" "text/template" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // ethstatsDockerfile is the Dockerfile required to build an ethstats backend diff --git a/cmd/puppeth/module_explorer.go b/cmd/puppeth/module_explorer.go index 427134153b..2393ba9c2f 100644 --- a/cmd/puppeth/module_explorer.go +++ b/cmd/puppeth/module_explorer.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -25,7 +25,7 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // explorerDockerfile is the Dockerfile required to run a block explorer. diff --git a/cmd/puppeth/module_faucet.go b/cmd/puppeth/module_faucet.go index 976bf04d00..e49287ec1b 100644 --- a/cmd/puppeth/module_faucet.go +++ b/cmd/puppeth/module_faucet.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -26,8 +26,8 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/log" ) // faucetDockerfile is the Dockerfile required to build an faucet container to diff --git a/cmd/puppeth/module_nginx.go b/cmd/puppeth/module_nginx.go index 35c0efc8ad..38daa0a39d 100644 --- a/cmd/puppeth/module_nginx.go +++ b/cmd/puppeth/module_nginx.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -24,7 +24,7 @@ import ( "path/filepath" "strconv" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // nginxDockerfile is theis the Dockerfile required to build an nginx reverse- diff --git a/cmd/puppeth/module_node.go b/cmd/puppeth/module_node.go index 49c0991127..20c5eff22d 100644 --- a/cmd/puppeth/module_node.go +++ b/cmd/puppeth/module_node.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -26,8 +26,8 @@ import ( "strings" "text/template" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/log" ) // nodeDockerfile is the Dockerfile required to run an Ethereum node. diff --git a/cmd/puppeth/module_wallet.go b/cmd/puppeth/module_wallet.go index 5e5032bedf..09a61abe65 100644 --- a/cmd/puppeth/module_wallet.go +++ b/cmd/puppeth/module_wallet.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -25,7 +25,7 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // walletDockerfile is the Dockerfile required to run a web wallet. diff --git a/cmd/puppeth/puppeth.go b/cmd/puppeth/puppeth.go index f9b8fe4811..028b8f73eb 100644 --- a/cmd/puppeth/puppeth.go +++ b/cmd/puppeth/puppeth.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . // puppeth is a command to assemble and maintain private networks. package main @@ -23,7 +23,7 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/puppeth/ssh.go b/cmd/puppeth/ssh.go index 158261ce05..6cb15829fa 100644 --- a/cmd/puppeth/ssh.go +++ b/cmd/puppeth/ssh.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -28,7 +28,7 @@ import ( "path/filepath" "strings" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" "golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh/terminal" ) diff --git a/cmd/puppeth/wizard.go b/cmd/puppeth/wizard.go index b88a61de7d..ce28b89bc3 100644 --- a/cmd/puppeth/wizard.go +++ b/cmd/puppeth/wizard.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -30,9 +30,9 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/log" "golang.org/x/crypto/ssh/terminal" ) diff --git a/cmd/puppeth/wizard_dashboard.go b/cmd/puppeth/wizard_dashboard.go index 5f781c4152..ed00d15550 100644 --- a/cmd/puppeth/wizard_dashboard.go +++ b/cmd/puppeth/wizard_dashboard.go @@ -1,25 +1,25 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main import ( "fmt" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // deployDashboard queries the user for various input on deploying a web-service diff --git a/cmd/puppeth/wizard_ethstats.go b/cmd/puppeth/wizard_ethstats.go index fb2529c267..5b57879087 100644 --- a/cmd/puppeth/wizard_ethstats.go +++ b/cmd/puppeth/wizard_ethstats.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -20,7 +20,7 @@ import ( "fmt" "sort" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // deployEthstats queries the user for various input on deploying an ethstats diff --git a/cmd/puppeth/wizard_explorer.go b/cmd/puppeth/wizard_explorer.go index 413511c1c3..87ca3b0d9e 100644 --- a/cmd/puppeth/wizard_explorer.go +++ b/cmd/puppeth/wizard_explorer.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -21,7 +21,7 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // deployExplorer creates a new block explorer based on some user input. diff --git a/cmd/puppeth/wizard_faucet.go b/cmd/puppeth/wizard_faucet.go index 9a429bc96d..894533b6f7 100644 --- a/cmd/puppeth/wizard_faucet.go +++ b/cmd/puppeth/wizard_faucet.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -20,8 +20,8 @@ import ( "encoding/json" "fmt" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/log" ) // deployFaucet queries the user for various input on deploying a faucet, after diff --git a/cmd/puppeth/wizard_genesis.go b/cmd/puppeth/wizard_genesis.go index f255ef6e65..7e458a7fbd 100644 --- a/cmd/puppeth/wizard_genesis.go +++ b/cmd/puppeth/wizard_genesis.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -25,10 +25,10 @@ import ( "math/rand" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/params" ) // makeGenesis creates a new genesis struct based on some user input. diff --git a/cmd/puppeth/wizard_intro.go b/cmd/puppeth/wizard_intro.go index 60aa0f7ffb..ad77299a09 100644 --- a/cmd/puppeth/wizard_intro.go +++ b/cmd/puppeth/wizard_intro.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -26,7 +26,7 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // makeWizard creates and returns a new puppeth wizard. diff --git a/cmd/puppeth/wizard_netstats.go b/cmd/puppeth/wizard_netstats.go index 90bf7ae3c8..4fa5e025f0 100644 --- a/cmd/puppeth/wizard_netstats.go +++ b/cmd/puppeth/wizard_netstats.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -23,8 +23,8 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/log" "github.com/olekukonko/tablewriter" ) diff --git a/cmd/puppeth/wizard_network.go b/cmd/puppeth/wizard_network.go index d780c550b1..a23c7ffc65 100644 --- a/cmd/puppeth/wizard_network.go +++ b/cmd/puppeth/wizard_network.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // manageServers displays a list of servers the user can disconnect from, and an diff --git a/cmd/puppeth/wizard_nginx.go b/cmd/puppeth/wizard_nginx.go index 4eeae93a0b..21d8d4391d 100644 --- a/cmd/puppeth/wizard_nginx.go +++ b/cmd/puppeth/wizard_nginx.go @@ -1,25 +1,25 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main import ( "fmt" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // ensureVirtualHost checks whether a reverse-proxy is running on the specified diff --git a/cmd/puppeth/wizard_node.go b/cmd/puppeth/wizard_node.go index a60948bc67..5e7f1fa28a 100644 --- a/cmd/puppeth/wizard_node.go +++ b/cmd/puppeth/wizard_node.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -21,9 +21,9 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/log" ) // deployNode creates a new node configuration based on some user input. diff --git a/cmd/puppeth/wizard_wallet.go b/cmd/puppeth/wizard_wallet.go index 933cd9ae59..bb9fa11137 100644 --- a/cmd/puppeth/wizard_wallet.go +++ b/cmd/puppeth/wizard_wallet.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -21,7 +21,7 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // deployWallet creates a new web wallet based on some user input. diff --git a/cmd/rlpdump/main.go b/cmd/rlpdump/main.go index d0f993c5b8..81034de063 100644 --- a/cmd/rlpdump/main.go +++ b/cmd/rlpdump/main.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2015 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . // rlpdump is a pretty-printer for RLP data. package main @@ -26,7 +26,7 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/rlp" ) var ( diff --git a/cmd/swarm/config.go b/cmd/swarm/config.go index adac772bab..b7c9e8e6f2 100644 --- a/cmd/swarm/config.go +++ b/cmd/swarm/config.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -28,13 +28,13 @@ import ( cli "gopkg.in/urfave/cli.v1" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/node" "github.com/naoina/toml" - bzzapi "github.com/ethereum/go-ethereum/swarm/api" + bzzapi "github.com/EtherFact-Project/go-etherfact/swarm/api" ) var ( @@ -84,7 +84,7 @@ var tomlSettings = toml.Config{ MissingField: func(rt reflect.Type, field string) error { link := "" if unicode.IsUpper(rune(rt.Name()[0])) && rt.PkgPath() != "main" { - link = fmt.Sprintf(", check github.com/ethereum/go-ethereum/swarm/api/config.go for available fields") + link = fmt.Sprintf(", check github.com/EtherFact-Project/go-etherfact/swarm/api/config.go for available fields") } return fmt.Errorf("field '%s' is not defined in %s%s", field, rt.String(), link) }, diff --git a/cmd/swarm/config_test.go b/cmd/swarm/config_test.go index 9bf584f50c..bb38b1be00 100644 --- a/cmd/swarm/config_test.go +++ b/cmd/swarm/config_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -25,9 +25,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/swarm" - "github.com/ethereum/go-ethereum/swarm/api" + "github.com/EtherFact-Project/go-etherfact/rpc" + "github.com/EtherFact-Project/go-etherfact/swarm" + "github.com/EtherFact-Project/go-etherfact/swarm/api" "github.com/docker/docker/pkg/reexec" ) diff --git a/cmd/swarm/db.go b/cmd/swarm/db.go index dfd2d069b9..8369f89b80 100644 --- a/cmd/swarm/db.go +++ b/cmd/swarm/db.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -22,9 +22,9 @@ import ( "os" "path/filepath" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/swarm/hash.go b/cmd/swarm/hash.go index 792e8d0d7a..4b72b6bf65 100644 --- a/cmd/swarm/hash.go +++ b/cmd/swarm/hash.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2016 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . // Command bzzhash computes a swarm tree hash. package main @@ -21,8 +21,8 @@ import ( "fmt" "os" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/swarm/list.go b/cmd/swarm/list.go index 57b5517c6e..eb5698f58f 100644 --- a/cmd/swarm/list.go +++ b/cmd/swarm/list.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -22,8 +22,8 @@ import ( "strings" "text/tabwriter" - "github.com/ethereum/go-ethereum/cmd/utils" - swarm "github.com/ethereum/go-ethereum/swarm/api/client" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + swarm "github.com/EtherFact-Project/go-etherfact/swarm/api/client" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/swarm/main.go b/cmd/swarm/main.go index 360020b77b..b27d549147 100644 --- a/cmd/swarm/main.go +++ b/cmd/swarm/main.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2016 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -28,22 +28,22 @@ import ( "strings" "syscall" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/console" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethclient" - "github.com/ethereum/go-ethereum/internal/debug" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/swarm" - bzzapi "github.com/ethereum/go-ethereum/swarm/api" - swarmmetrics "github.com/ethereum/go-ethereum/swarm/metrics" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/console" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethclient" + "github.com/EtherFact-Project/go-etherfact/internal/debug" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/swarm" + bzzapi "github.com/EtherFact-Project/go-etherfact/swarm/api" + swarmmetrics "github.com/EtherFact-Project/go-etherfact/swarm/metrics" "gopkg.in/urfave/cli.v1" ) @@ -177,7 +177,7 @@ var app = utils.NewApp(gitCommit, "Ethereum Swarm") func init() { app.Action = bzzd app.HideVersion = true // we have a command to print the version - app.Copyright = "Copyright 2013-2016 The go-ethereum Authors" + app.Copyright = "Copyright 2013-2016 The go-etherfact Authors" app.Commands = []cli.Command{ { Action: version, diff --git a/cmd/swarm/manifest.go b/cmd/swarm/manifest.go index 41a69a5d05..d78f59b4cf 100644 --- a/cmd/swarm/manifest.go +++ b/cmd/swarm/manifest.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . // Command MANIFEST update package main @@ -24,9 +24,9 @@ import ( "path/filepath" "strings" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/swarm/api" - swarm "github.com/ethereum/go-ethereum/swarm/api/client" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/swarm/api" + swarm "github.com/EtherFact-Project/go-etherfact/swarm/api/client" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/swarm/run_test.go b/cmd/swarm/run_test.go index 594cfa55cb..731ea82765 100644 --- a/cmd/swarm/run_test.go +++ b/cmd/swarm/run_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main @@ -27,13 +27,13 @@ import ( "time" "github.com/docker/docker/pkg/reexec" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/internal/cmdtest" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/swarm" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/internal/cmdtest" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/rpc" + "github.com/EtherFact-Project/go-etherfact/swarm" ) func init() { diff --git a/cmd/swarm/upload.go b/cmd/swarm/upload.go index 9f4c525bb9..a026a01811 100644 --- a/cmd/swarm/upload.go +++ b/cmd/swarm/upload.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2016 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . // Command bzzup uploads files to the swarm HTTP API. package main @@ -30,8 +30,8 @@ import ( "path/filepath" "strings" - "github.com/ethereum/go-ethereum/cmd/utils" - swarm "github.com/ethereum/go-ethereum/swarm/api/client" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + swarm "github.com/EtherFact-Project/go-etherfact/swarm/api/client" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/swarm/upload_test.go b/cmd/swarm/upload_test.go index df7fc216af..9437e600f4 100644 --- a/cmd/swarm/upload_test.go +++ b/cmd/swarm/upload_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package main diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go index c0af4c13e7..73006828c5 100644 --- a/cmd/utils/cmd.go +++ b/cmd/utils/cmd.go @@ -1,20 +1,20 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2014 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . -// Package utils contains internal helper functions for go-ethereum commands. +// Package utils contains internal helper functions for go-etherfact commands. package utils import ( @@ -27,15 +27,15 @@ import ( "strings" "syscall" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/internal/debug" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/internal/debug" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/rlp" ) const ( diff --git a/cmd/utils/customflags.go b/cmd/utils/customflags.go index e5bf8724c1..7804cf4022 100644 --- a/cmd/utils/customflags.go +++ b/cmd/utils/customflags.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2015 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package utils @@ -27,7 +27,7 @@ import ( "path" "strings" - "github.com/ethereum/go-ethereum/common/math" + "github.com/EtherFact-Project/go-etherfact/common/math" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/utils/customflags_test.go b/cmd/utils/customflags_test.go index de39ca36a1..5503ba2eb6 100644 --- a/cmd/utils/customflags_test.go +++ b/cmd/utils/customflags_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2015 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . package utils diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 4f3d81f5d2..ee179c03f2 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -1,20 +1,20 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2015 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . -// Package utils contains internal helper functions for go-ethereum commands. +// Package utils contains internal helper functions for go-etherfact commands. package utils import ( @@ -28,34 +28,34 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/fdlimit" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/clique" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/dashboard" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/gasprice" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/ethstats" - "github.com/ethereum/go-ethereum/les" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/discv5" - "github.com/ethereum/go-ethereum/p2p/nat" - "github.com/ethereum/go-ethereum/p2p/netutil" - "github.com/ethereum/go-ethereum/params" - whisper "github.com/ethereum/go-ethereum/whisper/whisperv6" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/fdlimit" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/consensus/clique" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/dashboard" + "github.com/EtherFact-Project/go-etherfact/eth" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/eth/gasprice" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/ethstats" + "github.com/EtherFact-Project/go-etherfact/les" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/discv5" + "github.com/EtherFact-Project/go-etherfact/p2p/nat" + "github.com/EtherFact-Project/go-etherfact/p2p/netutil" + "github.com/EtherFact-Project/go-etherfact/params" + whisper "github.com/EtherFact-Project/go-etherfact/whisper/whisperv6" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/wnode/main.go b/cmd/wnode/main.go index 988c50ce3d..e6778a3dfc 100644 --- a/cmd/wnode/main.go +++ b/cmd/wnode/main.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of go-ethereum. +// Copyright 2017 The go-etherfact Authors +// This file is part of go-etherfact. // -// go-ethereum is free software: you can redistribute it and/or modify +// go-etherfact is free software: 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. // -// go-ethereum is distributed in the hope that it will be useful, +// go-etherfact 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. // // You should have received a copy of the GNU General Public License -// along with go-ethereum. If not, see . +// along with go-etherfact. If not, see . // This is a simple Whisper node. It could be used as a stand-alone bootstrap node. // Also, could be used for different test and diagnostics purposes. @@ -35,16 +35,16 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/console" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/nat" - "github.com/ethereum/go-ethereum/whisper/mailserver" - whisper "github.com/ethereum/go-ethereum/whisper/whisperv6" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/console" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/nat" + "github.com/EtherFact-Project/go-etherfact/whisper/mailserver" + whisper "github.com/EtherFact-Project/go-etherfact/whisper/whisperv6" "golang.org/x/crypto/pbkdf2" ) diff --git a/common/big.go b/common/big.go index 65d4377bf7..5de1049f65 100644 --- a/common/big.go +++ b/common/big.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package common diff --git a/common/bitutil/compress.go b/common/bitutil/compress.go index c057cee4a6..374d0db05d 100644 --- a/common/bitutil/compress.go +++ b/common/bitutil/compress.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bitutil diff --git a/common/bitutil/compress_fuzz.go b/common/bitutil/compress_fuzz.go index 1b87f50edc..fcf2fedff2 100644 --- a/common/bitutil/compress_fuzz.go +++ b/common/bitutil/compress_fuzz.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build gofuzz diff --git a/common/bitutil/compress_test.go b/common/bitutil/compress_test.go index 9bd1de103a..6c141871ba 100644 --- a/common/bitutil/compress_test.go +++ b/common/bitutil/compress_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bitutil @@ -21,7 +21,7 @@ import ( "math/rand" "testing" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" ) // Tests that data bitset encoding and decoding works and is bijective. diff --git a/common/bytes.go b/common/bytes.go index ba00e8a4b2..4c9fee526d 100644 --- a/common/bytes.go +++ b/common/bytes.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package common contains various helper functions. package common diff --git a/common/bytes_test.go b/common/bytes_test.go index 97dd34d159..40f263b9f8 100644 --- a/common/bytes_test.go +++ b/common/bytes_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package common diff --git a/common/compiler/solidity.go b/common/compiler/solidity.go index 234714a2b9..42d5175818 100644 --- a/common/compiler/solidity.go +++ b/common/compiler/solidity.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package compiler wraps the Solidity compiler executable (solc). package compiler diff --git a/common/compiler/solidity_test.go b/common/compiler/solidity_test.go index 0da3bb337e..ad51beb71b 100644 --- a/common/compiler/solidity_test.go +++ b/common/compiler/solidity_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package compiler diff --git a/common/debug.go b/common/debug.go index 61acd8ce70..b6663a2dc1 100644 --- a/common/debug.go +++ b/common/debug.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package common @@ -26,7 +26,7 @@ import ( // Report gives off a warning requesting the user to submit an issue to the github tracker. func Report(extra ...interface{}) { - fmt.Fprintln(os.Stderr, "You've encountered a sought after, hard to reproduce bug. Please report this to the developers <3 https://github.com/ethereum/go-ethereum/issues") + fmt.Fprintln(os.Stderr, "You've encountered a sought after, hard to reproduce bug. Please report this to the developers <3 https://github.com/EtherFact-Project/go-etherfact/issues") fmt.Fprintln(os.Stderr, extra...) _, file, line, _ := runtime.Caller(1) diff --git a/common/fdlimit/fdlimit_freebsd.go b/common/fdlimit/fdlimit_freebsd.go index c126b0c265..f0b77b9d6b 100644 --- a/common/fdlimit/fdlimit_freebsd.go +++ b/common/fdlimit/fdlimit_freebsd.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build freebsd diff --git a/common/fdlimit/fdlimit_test.go b/common/fdlimit/fdlimit_test.go index a9ee9ab36a..b231e3cf23 100644 --- a/common/fdlimit/fdlimit_test.go +++ b/common/fdlimit/fdlimit_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package fdlimit diff --git a/common/fdlimit/fdlimit_unix.go b/common/fdlimit/fdlimit_unix.go index a258132353..7d809209e4 100644 --- a/common/fdlimit/fdlimit_unix.go +++ b/common/fdlimit/fdlimit_unix.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build linux darwin netbsd openbsd solaris diff --git a/common/fdlimit/fdlimit_windows.go b/common/fdlimit/fdlimit_windows.go index 863c58bedf..85300aa96e 100644 --- a/common/fdlimit/fdlimit_windows.go +++ b/common/fdlimit/fdlimit_windows.go @@ -1,18 +1,18 @@ -// Copyright 2018 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2018 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package fdlimit diff --git a/common/format.go b/common/format.go index fccc299620..63e9029347 100644 --- a/common/format.go +++ b/common/format.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package common diff --git a/common/hexutil/hexutil.go b/common/hexutil/hexutil.go index 02c488a3f1..0ce60b150e 100644 --- a/common/hexutil/hexutil.go +++ b/common/hexutil/hexutil.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . /* Package hexutil implements hex encoding with 0x prefix. diff --git a/common/hexutil/hexutil_test.go b/common/hexutil/hexutil_test.go index ed6fccc3ca..eeb1f17d51 100644 --- a/common/hexutil/hexutil_test.go +++ b/common/hexutil/hexutil_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package hexutil diff --git a/common/hexutil/json.go b/common/hexutil/json.go index fbc21241c8..4827945838 100644 --- a/common/hexutil/json.go +++ b/common/hexutil/json.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package hexutil diff --git a/common/hexutil/json_example_test.go b/common/hexutil/json_example_test.go index 80180d9186..6752547702 100644 --- a/common/hexutil/json_example_test.go +++ b/common/hexutil/json_example_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package hexutil_test @@ -20,7 +20,7 @@ import ( "encoding/json" "fmt" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" ) type MyType [5]byte diff --git a/common/hexutil/json_test.go b/common/hexutil/json_test.go index 8a6b8643a1..5fb6ded1c1 100644 --- a/common/hexutil/json_test.go +++ b/common/hexutil/json_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package hexutil diff --git a/common/main_test.go b/common/main_test.go index 149d09928a..7d5ec7f304 100644 --- a/common/main_test.go +++ b/common/main_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package common diff --git a/common/math/big.go b/common/math/big.go index 7872786503..6885cd8c4a 100644 --- a/common/math/big.go +++ b/common/math/big.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package math provides integer math utilities. package math diff --git a/common/math/big_test.go b/common/math/big_test.go index be9810dc8c..bba92d91da 100644 --- a/common/math/big_test.go +++ b/common/math/big_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package math @@ -22,7 +22,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) func TestHexOrDecimal256(t *testing.T) { diff --git a/common/math/integer.go b/common/math/integer.go index 7eff4d3b00..35be9b252c 100644 --- a/common/math/integer.go +++ b/common/math/integer.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package math diff --git a/common/math/integer_test.go b/common/math/integer_test.go index b31c7c26c2..541919e9fb 100644 --- a/common/math/integer_test.go +++ b/common/math/integer_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package math diff --git a/common/mclock/mclock.go b/common/mclock/mclock.go index 92005252eb..1e764b1002 100644 --- a/common/mclock/mclock.go +++ b/common/mclock/mclock.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // package mclock is a wrapper for a monotonic clock source package mclock diff --git a/common/number/int.go b/common/number/int.go index 6dab2436de..a964d142de 100644 --- a/common/number/int.go +++ b/common/number/int.go @@ -1,25 +1,25 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package number import ( "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) var tt256 = new(big.Int).Lsh(big.NewInt(1), 256) diff --git a/common/number/uint_test.go b/common/number/uint_test.go index 3ab9e4c344..dee886f6bd 100644 --- a/common/number/uint_test.go +++ b/common/number/uint_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package number @@ -20,7 +20,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) func TestSet(t *testing.T) { diff --git a/common/path.go b/common/path.go index bd8da86e74..0b53a81bef 100644 --- a/common/path.go +++ b/common/path.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package common diff --git a/common/size.go b/common/size.go index bd0fc85c7d..c956b19c1b 100644 --- a/common/size.go +++ b/common/size.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package common diff --git a/common/size_test.go b/common/size_test.go index f5b6c725e2..5971c79b1c 100644 --- a/common/size_test.go +++ b/common/size_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package common diff --git a/common/test_utils.go b/common/test_utils.go index a848642f77..96055102aa 100644 --- a/common/test_utils.go +++ b/common/test_utils.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package common diff --git a/common/types.go b/common/types.go index 4ea2d56a69..a6a2bec657 100644 --- a/common/types.go +++ b/common/types.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package common @@ -23,8 +23,8 @@ import ( "math/rand" "reflect" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" ) const ( diff --git a/common/types_template.go b/common/types_template.go index 9a8f29977b..ac3995834b 100644 --- a/common/types_template.go +++ b/common/types_template.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build none //sed -e 's/_N_/Hash/g' -e 's/_S_/32/g' -e '1d' types_template.go | gofmt -w hash.go diff --git a/common/types_test.go b/common/types_test.go index db636812ce..72be08b3c2 100644 --- a/common/types_test.go +++ b/common/types_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package common diff --git a/consensus/clique/api.go b/consensus/clique/api.go index b875eef012..4285e7fb2b 100644 --- a/consensus/clique/api.go +++ b/consensus/clique/api.go @@ -1,26 +1,26 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package clique import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // API is a user facing RPC API to allow controlling the signer and voting diff --git a/consensus/clique/clique.go b/consensus/clique/clique.go index 2bdad9092a..5f654d189a 100644 --- a/consensus/clique/clique.go +++ b/consensus/clique/clique.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package clique implements the proof-of-authority consensus engine. package clique @@ -25,20 +25,20 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/sha3" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/consensus/misc" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/rpc" lru "github.com/hashicorp/golang-lru" ) diff --git a/consensus/clique/snapshot.go b/consensus/clique/snapshot.go index 9ebdb8df15..af084adc67 100644 --- a/consensus/clique/snapshot.go +++ b/consensus/clique/snapshot.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package clique @@ -20,10 +20,10 @@ import ( "bytes" "encoding/json" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" lru "github.com/hashicorp/golang-lru" ) diff --git a/consensus/clique/snapshot_test.go b/consensus/clique/snapshot_test.go index 8b51e6e094..b256c6e592 100644 --- a/consensus/clique/snapshot_test.go +++ b/consensus/clique/snapshot_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package clique @@ -22,12 +22,12 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" ) type testerVote struct { diff --git a/consensus/consensus.go b/consensus/consensus.go index be5e661c12..14f2adebc4 100644 --- a/consensus/consensus.go +++ b/consensus/consensus.go @@ -1,28 +1,28 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package consensus implements different Ethereum consensus engines. package consensus import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rpc" "math/big" ) diff --git a/consensus/errors.go b/consensus/errors.go index a005c5f63d..1af4a63a1f 100644 --- a/consensus/errors.go +++ b/consensus/errors.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package consensus diff --git a/consensus/ethash/algorithm.go b/consensus/ethash/algorithm.go index 905a7b1ea7..63b6b6e7d7 100644 --- a/consensus/ethash/algorithm.go +++ b/consensus/ethash/algorithm.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ethash @@ -27,11 +27,11 @@ import ( "time" "unsafe" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/bitutil" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/sha3" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/bitutil" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/log" ) const ( diff --git a/consensus/ethash/algorithm_test.go b/consensus/ethash/algorithm_test.go index 841e39233f..5d85c71973 100644 --- a/consensus/ethash/algorithm_test.go +++ b/consensus/ethash/algorithm_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ethash @@ -25,9 +25,9 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/core/types" ) // Tests whether the dataset size calculator works correctly by cross checking the diff --git a/consensus/ethash/consensus.go b/consensus/ethash/consensus.go index 507270089f..4ab1462aa8 100644 --- a/consensus/ethash/consensus.go +++ b/consensus/ethash/consensus.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ethash @@ -24,13 +24,13 @@ import ( "runtime" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/consensus/misc" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/params" set "gopkg.in/fatih/set.v0" ) diff --git a/consensus/ethash/consensus_test.go b/consensus/ethash/consensus_test.go index 438a99dd66..45971ee051 100644 --- a/consensus/ethash/consensus_test.go +++ b/consensus/ethash/consensus_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ethash @@ -23,9 +23,9 @@ import ( "path/filepath" "testing" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/params" ) type diffTest struct { diff --git a/consensus/ethash/ethash.go b/consensus/ethash/ethash.go index 1b3dcee302..c707d5788d 100644 --- a/consensus/ethash/ethash.go +++ b/consensus/ethash/ethash.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package ethash implements the ethash proof-of-work consensus engine. package ethash @@ -33,10 +33,10 @@ import ( "unsafe" mmap "github.com/edsrzf/mmap-go" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/rpc" "github.com/hashicorp/golang-lru/simplelru" ) diff --git a/consensus/ethash/ethash_test.go b/consensus/ethash/ethash_test.go index 31116da437..8e48397cec 100644 --- a/consensus/ethash/ethash_test.go +++ b/consensus/ethash/ethash_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ethash @@ -24,7 +24,7 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/core/types" ) // Tests that ethash works correctly in test mode. @@ -44,7 +44,7 @@ func TestTestMode(t *testing.T) { } // This test checks that cache lru logic doesn't crash under load. -// It reproduces https://github.com/ethereum/go-ethereum/issues/14943 +// It reproduces https://github.com/EtherFact-Project/go-etherfact/issues/14943 func TestCacheFileEvict(t *testing.T) { tmpdir, err := ioutil.TempDir("", "ethash-test") if err != nil { diff --git a/consensus/ethash/sealer.go b/consensus/ethash/sealer.go index b5e742d8bb..b0cb7550fb 100644 --- a/consensus/ethash/sealer.go +++ b/consensus/ethash/sealer.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ethash @@ -24,10 +24,10 @@ import ( "runtime" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/log" ) // Seal implements consensus.Engine, attempting to find a nonce that satisfies diff --git a/consensus/misc/dao.go b/consensus/misc/dao.go index 9b22bd7a52..f31280610f 100644 --- a/consensus/misc/dao.go +++ b/consensus/misc/dao.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package misc @@ -21,9 +21,9 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/params" ) var ( diff --git a/consensus/misc/forks.go b/consensus/misc/forks.go index 4a5e7c37e0..ce80f332f9 100644 --- a/consensus/misc/forks.go +++ b/consensus/misc/forks.go @@ -1,27 +1,27 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package misc import ( "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/params" ) // VerifyForkHashes verifies that blocks conforming to network hard-forks do have diff --git a/console/bridge.go b/console/bridge.go index b28cc438e2..8e47c7fd40 100644 --- a/console/bridge.go +++ b/console/bridge.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package console @@ -23,9 +23,9 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/accounts/usbwallet" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/accounts/usbwallet" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/rpc" "github.com/robertkrimen/otto" ) diff --git a/console/console.go b/console/console.go index b280d4e65d..32855d4911 100644 --- a/console/console.go +++ b/console/console.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package console @@ -28,9 +28,9 @@ import ( "strings" "syscall" - "github.com/ethereum/go-ethereum/internal/jsre" - "github.com/ethereum/go-ethereum/internal/web3ext" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/internal/jsre" + "github.com/EtherFact-Project/go-etherfact/internal/web3ext" + "github.com/EtherFact-Project/go-etherfact/rpc" "github.com/mattn/go-colorable" "github.com/peterh/liner" "github.com/robertkrimen/otto" diff --git a/console/console_test.go b/console/console_test.go index 7b1629c032..6e86f966cd 100644 --- a/console/console_test.go +++ b/console/console_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package console @@ -26,12 +26,12 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/internal/jsre" - "github.com/ethereum/go-ethereum/node" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/eth" + "github.com/EtherFact-Project/go-etherfact/internal/jsre" + "github.com/EtherFact-Project/go-etherfact/node" ) const ( diff --git a/console/prompter.go b/console/prompter.go index c477b48178..2d07021977 100644 --- a/console/prompter.go +++ b/console/prompter.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package console diff --git a/contracts/chequebook/api.go b/contracts/chequebook/api.go index b2b2365f31..1cd556833d 100644 --- a/contracts/chequebook/api.go +++ b/contracts/chequebook/api.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package chequebook @@ -20,7 +20,7 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) const Version = "1.0" diff --git a/contracts/chequebook/cheque.go b/contracts/chequebook/cheque.go index 92bd896e0a..511a103429 100644 --- a/contracts/chequebook/cheque.go +++ b/contracts/chequebook/cheque.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package chequebook package wraps the 'chequebook' Ethereum smart contract. // @@ -36,14 +36,14 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/contracts/chequebook/contract" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/swarm/services/swap/swap" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/contracts/chequebook/contract" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/swarm/services/swap/swap" ) // TODO(zelig): watch peer solvency and notify of bouncing cheques diff --git a/contracts/chequebook/cheque_test.go b/contracts/chequebook/cheque_test.go index 6b6b28e657..ecb983941c 100644 --- a/contracts/chequebook/cheque_test.go +++ b/contracts/chequebook/cheque_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package chequebook @@ -24,12 +24,12 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/contracts/chequebook/contract" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind/backends" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/contracts/chequebook/contract" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/crypto" ) var ( diff --git a/contracts/chequebook/contract/chequebook.go b/contracts/chequebook/contract/chequebook.go index e275ac9b8d..c1ad3c08a9 100644 --- a/contracts/chequebook/contract/chequebook.go +++ b/contracts/chequebook/contract/chequebook.go @@ -7,12 +7,12 @@ import ( "math/big" "strings" - ethereum "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" + ethereum "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/accounts/abi" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/event" ) // ChequebookABI is the input ABI used to generate the binding from. diff --git a/contracts/chequebook/gencode.go b/contracts/chequebook/gencode.go index 45f6d68f3e..1dd36b7af7 100644 --- a/contracts/chequebook/gencode.go +++ b/contracts/chequebook/gencode.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build none @@ -25,11 +25,11 @@ import ( "io/ioutil" "math/big" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/contracts/chequebook/contract" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind/backends" + "github.com/EtherFact-Project/go-etherfact/contracts/chequebook/contract" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/crypto" ) var ( diff --git a/contracts/ens/contract/ens.go b/contracts/ens/contract/ens.go index cbf6cb05b3..66d8a1d210 100644 --- a/contracts/ens/contract/ens.go +++ b/contracts/ens/contract/ens.go @@ -6,12 +6,12 @@ package contract import ( "strings" - ethereum "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" + ethereum "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/accounts/abi" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/event" ) // ENSABI is the input ABI used to generate the binding from. diff --git a/contracts/ens/contract/fifsregistrar.go b/contracts/ens/contract/fifsregistrar.go index a08380adfc..f2bf4fef61 100644 --- a/contracts/ens/contract/fifsregistrar.go +++ b/contracts/ens/contract/fifsregistrar.go @@ -6,10 +6,10 @@ package contract import ( "strings" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/accounts/abi" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" ) // FIFSRegistrarABI is the input ABI used to generate the binding from. diff --git a/contracts/ens/contract/publicresolver.go b/contracts/ens/contract/publicresolver.go index c567d5884a..5c7657fd98 100644 --- a/contracts/ens/contract/publicresolver.go +++ b/contracts/ens/contract/publicresolver.go @@ -7,12 +7,12 @@ import ( "math/big" "strings" - ethereum "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" + ethereum "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/accounts/abi" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/event" ) // PublicResolverABI is the input ABI used to generate the binding from. diff --git a/contracts/ens/ens.go b/contracts/ens/ens.go index 06045a5cd8..b1e926b14c 100644 --- a/contracts/ens/ens.go +++ b/contracts/ens/ens.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ens @@ -23,11 +23,11 @@ package ens import ( "strings" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/contracts/ens/contract" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/contracts/ens/contract" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" ) var ( diff --git a/contracts/ens/ens_test.go b/contracts/ens/ens_test.go index 0016f47dbf..2d72a67c6a 100644 --- a/contracts/ens/ens_test.go +++ b/contracts/ens/ens_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ens @@ -20,11 +20,11 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/accounts/abi/bind/backends" - "github.com/ethereum/go-ethereum/contracts/ens/contract" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind/backends" + "github.com/EtherFact-Project/go-etherfact/contracts/ens/contract" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/crypto" ) var ( diff --git a/core/asm/asm.go b/core/asm/asm.go index ce22f93f92..bf6756d90d 100644 --- a/core/asm/asm.go +++ b/core/asm/asm.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Provides support for dealing with EVM assembly instructions (e.g., disassembling them). package asm @@ -21,7 +21,7 @@ import ( "encoding/hex" "fmt" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/EtherFact-Project/go-etherfact/core/vm" ) // Iterator for disassembled EVM instructions diff --git a/core/asm/asm_test.go b/core/asm/asm_test.go index 92b26b67a5..c579f08439 100644 --- a/core/asm/asm_test.go +++ b/core/asm/asm_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package asm diff --git a/core/asm/compiler.go b/core/asm/compiler.go index 18dc0877ff..8f63e64857 100644 --- a/core/asm/compiler.go +++ b/core/asm/compiler.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package asm @@ -23,8 +23,8 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/core/vm" ) // Compiler contains information about the parsed source diff --git a/core/asm/lex_test.go b/core/asm/lex_test.go index e6901d4e37..596211e94f 100644 --- a/core/asm/lex_test.go +++ b/core/asm/lex_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package asm diff --git a/core/asm/lexer.go b/core/asm/lexer.go index 4d62159e55..4c1b6b7c1e 100644 --- a/core/asm/lexer.go +++ b/core/asm/lexer.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package asm diff --git a/core/bench_test.go b/core/bench_test.go index e23f0d19d1..4c06c6e3a8 100644 --- a/core/bench_test.go +++ b/core/bench_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -23,14 +23,14 @@ import ( "os" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" ) func BenchmarkInsertChain_empty_memdb(b *testing.B) { diff --git a/core/block_validator.go b/core/block_validator.go index 98958809b7..67465a4d2d 100644 --- a/core/block_validator.go +++ b/core/block_validator.go @@ -1,28 +1,28 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core import ( "fmt" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/params" ) // BlockValidator is responsible for validating block headers, uncles and diff --git a/core/block_validator_test.go b/core/block_validator_test.go index e334b3c3cd..550294a253 100644 --- a/core/block_validator_test.go +++ b/core/block_validator_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -21,11 +21,11 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" ) // Tests that simple header verification works, for both good and bad blocks. diff --git a/core/blockchain.go b/core/blockchain.go index b33eb85a44..e7eda197e5 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package core implements the Ethereum consensus protocol. package core @@ -27,20 +27,20 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/mclock" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/trie" "github.com/hashicorp/golang-lru" "gopkg.in/karalabe/cookiejar.v2/collections/prque" ) diff --git a/core/blockchain_test.go b/core/blockchain_test.go index 375823b57b..a50f069866 100644 --- a/core/blockchain_test.go +++ b/core/blockchain_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -24,14 +24,14 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" ) // Test fork of length N starting from block i @@ -1196,7 +1196,7 @@ func TestEIP161AccountRemoval(t *testing.T) { // tests that under weird reorg conditions the blockchain and its internal header- // chain return the same latest block/header. // -// https://github.com/ethereum/go-ethereum/pull/15941 +// https://github.com/EtherFact-Project/go-etherfact/pull/15941 func TestBlockchainHeaderchainReorgConsistency(t *testing.T) { // Generate a canonical chain to act as the main dataset engine := ethash.NewFaker() diff --git a/core/blocks.go b/core/blocks.go index f20ba4aaf2..88ec7a630e 100644 --- a/core/blocks.go +++ b/core/blocks.go @@ -1,22 +1,22 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core -import "github.com/ethereum/go-ethereum/common" +import "github.com/EtherFact-Project/go-etherfact/common" // BadHashes represent a set of manually tracked bad hashes (usually hard forks) var BadHashes = map[common.Hash]bool{ diff --git a/core/bloombits/doc.go b/core/bloombits/doc.go index 3d159e74f7..fb0190907a 100644 --- a/core/bloombits/doc.go +++ b/core/bloombits/doc.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package bloombits implements bloom filtering on batches of data. package bloombits diff --git a/core/bloombits/generator.go b/core/bloombits/generator.go index 540085450d..c7cdb1e491 100644 --- a/core/bloombits/generator.go +++ b/core/bloombits/generator.go @@ -1,25 +1,25 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bloombits import ( "errors" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/core/types" ) // errSectionOutOfBounds is returned if the user tried to add more bloom filters diff --git a/core/bloombits/generator_test.go b/core/bloombits/generator_test.go index f9bcef96e0..901fbdacf7 100644 --- a/core/bloombits/generator_test.go +++ b/core/bloombits/generator_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bloombits @@ -21,7 +21,7 @@ import ( "math/rand" "testing" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/core/types" ) // Tests that batched bloom bits are correctly rotated from the input bloom diff --git a/core/bloombits/matcher.go b/core/bloombits/matcher.go index ce3031702f..1d42fa2a2a 100644 --- a/core/bloombits/matcher.go +++ b/core/bloombits/matcher.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bloombits @@ -26,8 +26,8 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common/bitutil" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/common/bitutil" + "github.com/EtherFact-Project/go-etherfact/crypto" ) // bloomIndexes represents the bit indexes inside the bloom filter that belong diff --git a/core/bloombits/matcher_test.go b/core/bloombits/matcher_test.go index 7a5f78ef3a..38e5e4f153 100644 --- a/core/bloombits/matcher_test.go +++ b/core/bloombits/matcher_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bloombits @@ -23,7 +23,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) const testSectionSize = 4096 @@ -82,7 +82,7 @@ func TestMatcherRandom(t *testing.T) { // Tests that the matcher can properly find matches if the starting block is // shifter from a multiple of 8. This is needed to cover an optimisation with -// bitset matching https://github.com/ethereum/go-ethereum/issues/15309. +// bitset matching https://github.com/EtherFact-Project/go-etherfact/issues/15309. func TestMatcherShifted(t *testing.T) { // Block 0 always matches in the tests, skip ahead of first 8 blocks with the // start to get a potential zero byte in the matcher bitset. diff --git a/core/bloombits/scheduler.go b/core/bloombits/scheduler.go index 6449c7465a..b90c196bd7 100644 --- a/core/bloombits/scheduler.go +++ b/core/bloombits/scheduler.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bloombits diff --git a/core/bloombits/scheduler_test.go b/core/bloombits/scheduler_test.go index 70772e4ab9..b45a31e8a2 100644 --- a/core/bloombits/scheduler_test.go +++ b/core/bloombits/scheduler_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package bloombits diff --git a/core/chain_indexer.go b/core/chain_indexer.go index 158ed83245..6241cafd3c 100644 --- a/core/chain_indexer.go +++ b/core/chain_indexer.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -23,11 +23,11 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" ) // ChainIndexerBackend defines the methods needed to process chain segments in diff --git a/core/chain_indexer_test.go b/core/chain_indexer_test.go index 9fc09eda51..5a731828ec 100644 --- a/core/chain_indexer_test.go +++ b/core/chain_indexer_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -23,9 +23,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" ) // Runs multiple tests with randomized parameters. diff --git a/core/chain_makers.go b/core/chain_makers.go index 31c9e3fb77..42beb5b8a2 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -20,14 +20,14 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/consensus/misc" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" ) // So we can deterministically seed different blockchains diff --git a/core/chain_makers_test.go b/core/chain_makers_test.go index 93be43ddce..edebf0b2a8 100644 --- a/core/chain_makers_test.go +++ b/core/chain_makers_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -20,12 +20,12 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" ) func ExampleGenerateChain() { diff --git a/core/dao_test.go b/core/dao_test.go index e0a3e3ff37..0c068e6e54 100644 --- a/core/dao_test.go +++ b/core/dao_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -20,10 +20,10 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" ) // Tests that DAO-fork enabled clients can properly filter out fork-commencing diff --git a/core/database_util.go b/core/database_util.go index 8c46989854..bd093188f8 100644 --- a/core/database_util.go +++ b/core/database_util.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -24,13 +24,13 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // DatabaseReader wraps the Get method of a backing data store. diff --git a/core/database_util_test.go b/core/database_util_test.go index aa87fa6f86..7eb3057ce8 100644 --- a/core/database_util_test.go +++ b/core/database_util_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -21,11 +21,11 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto/sha3" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // Tests block header storage and retrieval operations. diff --git a/core/error.go b/core/error.go index 410eca1e1e..2dec26f97c 100644 --- a/core/error.go +++ b/core/error.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core diff --git a/core/events.go b/core/events.go index 6f404f612b..a78563e95f 100644 --- a/core/events.go +++ b/core/events.go @@ -1,24 +1,24 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" ) // TxPreEvent is posted when a transaction enters the transaction pool. diff --git a/core/evm.go b/core/evm.go index 596ea95fb7..3c897ac0de 100644 --- a/core/evm.go +++ b/core/evm.go @@ -1,28 +1,28 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core import ( "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" ) // ChainContext supports retrieving headers and consensus parameters from the diff --git a/core/gaspool.go b/core/gaspool.go index e3795c1ee9..4ae1c0d040 100644 --- a/core/gaspool.go +++ b/core/gaspool.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core diff --git a/core/gen_genesis.go b/core/gen_genesis.go index bb8ea1d6a2..e866988f63 100644 --- a/core/gen_genesis.go +++ b/core/gen_genesis.go @@ -7,10 +7,10 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/params" ) var _ = (*genesisSpecMarshaling)(nil) diff --git a/core/gen_genesis_account.go b/core/gen_genesis_account.go index 64fb9b9248..0e6e6a2870 100644 --- a/core/gen_genesis_account.go +++ b/core/gen_genesis_account.go @@ -7,9 +7,9 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" ) var _ = (*genesisAccountMarshaling)(nil) diff --git a/core/genesis.go b/core/genesis.go index b6ead2250a..4867bbf0be 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -25,15 +25,15 @@ import ( "math/big" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" ) //go:generate gencodec -type Genesis -field-override genesisSpecMarshaling -out gen_genesis.go diff --git a/core/genesis_alloc.go b/core/genesis_alloc.go index a4a2cfb15a..4457796ff6 100644 --- a/core/genesis_alloc.go +++ b/core/genesis_alloc.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core diff --git a/core/genesis_test.go b/core/genesis_test.go index 052ded6991..2a5b27e13b 100644 --- a/core/genesis_test.go +++ b/core/genesis_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -22,11 +22,11 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" ) func TestDefaultGenesisBlock(t *testing.T) { diff --git a/core/headerchain.go b/core/headerchain.go index 2d1b0a2a18..15cbd89016 100644 --- a/core/headerchain.go +++ b/core/headerchain.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -26,12 +26,12 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/params" "github.com/hashicorp/golang-lru" ) diff --git a/core/helper_test.go b/core/helper_test.go index 698a2924cb..552bd05824 100644 --- a/core/helper_test.go +++ b/core/helper_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -20,9 +20,9 @@ import ( "container/list" "fmt" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" ) // Implement our EthTest Manager diff --git a/core/mkalloc.go b/core/mkalloc.go index 565e8c5826..79edd04eba 100644 --- a/core/mkalloc.go +++ b/core/mkalloc.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build none @@ -34,8 +34,8 @@ import ( "sort" "strconv" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/rlp" ) type allocItem struct{ Addr, Balance *big.Int } diff --git a/core/state/database.go b/core/state/database.go index c1b630991c..e56ddd890e 100644 --- a/core/state/database.go +++ b/core/state/database.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package state @@ -20,9 +20,9 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/trie" lru "github.com/hashicorp/golang-lru" ) diff --git a/core/state/dump.go b/core/state/dump.go index 072dbbf053..391c41a193 100644 --- a/core/state/dump.go +++ b/core/state/dump.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package state @@ -20,9 +20,9 @@ import ( "encoding/json" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/trie" ) type DumpAccount struct { diff --git a/core/state/iterator.go b/core/state/iterator.go index 6a5c73d3d1..aae846a62c 100644 --- a/core/state/iterator.go +++ b/core/state/iterator.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package state @@ -20,9 +20,9 @@ import ( "bytes" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/trie" ) // NodeIterator is an iterator to traverse the entire state trie post-order, diff --git a/core/state/iterator_test.go b/core/state/iterator_test.go index 9e46c851cd..b770a2362a 100644 --- a/core/state/iterator_test.go +++ b/core/state/iterator_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package state @@ -20,8 +20,8 @@ import ( "bytes" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/ethdb" ) // Tests that the node iterator indeed walks over the entire database contents. diff --git a/core/state/journal.go b/core/state/journal.go index a03ca57dbc..1674bb3a24 100644 --- a/core/state/journal.go +++ b/core/state/journal.go @@ -1,25 +1,25 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package state import ( "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) // journalEntry is a modification entry in the state change journal that can be diff --git a/core/state/main_test.go b/core/state/main_test.go index cd9661031f..639ef6e556 100644 --- a/core/state/main_test.go +++ b/core/state/main_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package state diff --git a/core/state/managed_state.go b/core/state/managed_state.go index 1390ef4a00..ab6dfec4a5 100644 --- a/core/state/managed_state.go +++ b/core/state/managed_state.go @@ -1,25 +1,25 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package state import ( "sync" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) type account struct { diff --git a/core/state/managed_state_test.go b/core/state/managed_state_test.go index 1cfdd3a890..2decdac898 100644 --- a/core/state/managed_state_test.go +++ b/core/state/managed_state_test.go @@ -1,26 +1,26 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package state import ( "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/ethdb" ) var addr = common.BytesToAddress([]byte("test")) diff --git a/core/state/state_object.go b/core/state/state_object.go index 3c40c20415..2a03d5d541 100644 --- a/core/state/state_object.go +++ b/core/state/state_object.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package state @@ -22,9 +22,9 @@ import ( "io" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/rlp" ) var emptyCodeHash = crypto.Keccak256(nil) diff --git a/core/state/state_test.go b/core/state/state_test.go index 6d42d63d82..e8b72e7aa0 100644 --- a/core/state/state_test.go +++ b/core/state/state_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package state @@ -21,9 +21,9 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" checker "gopkg.in/check.v1" ) diff --git a/core/state/statedb.go b/core/state/statedb.go index 3ae6843d87..8879849e6c 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package state provides a caching layer atop the Ethereum state trie. package state @@ -23,12 +23,12 @@ import ( "sort" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/trie" ) type revision struct { @@ -471,7 +471,7 @@ func (self *StateDB) Copy() *StateDB { } // Copy the dirty states, logs, and preimages for addr := range self.journal.dirties { - // As documented [here](https://github.com/ethereum/go-ethereum/pull/16485#issuecomment-380438527), + // As documented [here](https://github.com/EtherFact-Project/go-etherfact/pull/16485#issuecomment-380438527), // and in the Finalise-method, there is a case where an object is in the journal but not // in the stateObjects: OOG after touch on ripeMD prior to Byzantium. Thus, we need to check for // nil diff --git a/core/state/statedb_test.go b/core/state/statedb_test.go index 420ca745cc..391b4f0956 100644 --- a/core/state/statedb_test.go +++ b/core/state/statedb_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package state @@ -30,9 +30,9 @@ import ( check "gopkg.in/check.v1" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" ) // Tests that updating a state trie does not leak any database writes prior to @@ -119,7 +119,7 @@ func TestIntermediateLeaks(t *testing.T) { // TestCopy tests that copying a statedb object indeed makes the original and // the copy independent of each other. This test is a regression test against -// https://github.com/ethereum/go-ethereum/pull/15549. +// https://github.com/EtherFact-Project/go-etherfact/pull/15549. func TestCopy(t *testing.T) { // Create a random state test to copy and modify "independently" db, _ := ethdb.NewMemDatabase() @@ -424,7 +424,7 @@ func (s *StateSuite) TestTouchDelete(c *check.C) { } // TestCopyOfCopy tests that modified objects are carried over to the copy, and the copy of the copy. -// See https://github.com/ethereum/go-ethereum/pull/15225#issuecomment-380191512 +// See https://github.com/EtherFact-Project/go-etherfact/pull/15225#issuecomment-380191512 func TestCopyOfCopy(t *testing.T) { db, _ := ethdb.NewMemDatabase() sdb, _ := New(common.Hash{}, NewDatabase(db)) diff --git a/core/state/sync.go b/core/state/sync.go index 28fcf6ae05..97bbada203 100644 --- a/core/state/sync.go +++ b/core/state/sync.go @@ -1,27 +1,27 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package state import ( "bytes" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/trie" ) // NewStateSync create a new state trie download scheduler. diff --git a/core/state/sync_test.go b/core/state/sync_test.go index 8f14a44e7a..46b575aff5 100644 --- a/core/state/sync_test.go +++ b/core/state/sync_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package state @@ -21,10 +21,10 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/trie" ) // testAccount is the data associated with an account used by the state tests. diff --git a/core/state_processor.go b/core/state_processor.go index 4dc58b9dea..b63170a2e6 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -1,30 +1,30 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/consensus/misc" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/params" ) // StateProcessor is a basic Processor, which takes care of transitioning diff --git a/core/state_transition.go b/core/state_transition.go index 5654cd01ea..84664ae78c 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -21,10 +21,10 @@ import ( "math" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/params" ) var ( diff --git a/core/tx_journal.go b/core/tx_journal.go index e872d7b530..4b0bde3d3b 100644 --- a/core/tx_journal.go +++ b/core/tx_journal.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -21,10 +21,10 @@ import ( "io" "os" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // errNoActiveJournal is returned if a transaction is attempted to be inserted diff --git a/core/tx_list.go b/core/tx_list.go index ea6ee7019f..1d44499336 100644 --- a/core/tx_list.go +++ b/core/tx_list.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -22,9 +22,9 @@ import ( "math/big" "sort" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/log" ) // nonceHeap is a heap.Interface implementation over 64bit unsigned integers for diff --git a/core/tx_list_test.go b/core/tx_list_test.go index d579f501af..f1d71bd49e 100644 --- a/core/tx_list_test.go +++ b/core/tx_list_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -20,8 +20,8 @@ import ( "math/rand" "testing" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" ) // Tests that transactions can be added to strict lists and list contents and diff --git a/core/tx_pool.go b/core/tx_pool.go index a554f66117..88d0640640 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -25,13 +25,13 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/params" "gopkg.in/karalabe/cookiejar.v2/collections/prque" ) diff --git a/core/tx_pool_test.go b/core/tx_pool_test.go index 0cb14cb6a4..b086158c29 100644 --- a/core/tx_pool_test.go +++ b/core/tx_pool_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core @@ -26,13 +26,13 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/params" ) // testTxPoolConfig is a transaction pool configuration without stateful disk diff --git a/core/types.go b/core/types.go index d0bbaf0aa7..0ff0c2084f 100644 --- a/core/types.go +++ b/core/types.go @@ -1,25 +1,25 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package core import ( - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" ) // Validator is an interface which defines the standard for block validation. It diff --git a/core/types/block.go b/core/types/block.go index ae1b4299d3..0084770151 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package types contains data types related to Ethereum consensus. package types @@ -26,10 +26,10 @@ import ( "time" "unsafe" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto/sha3" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/rlp" ) var ( diff --git a/core/types/block_test.go b/core/types/block_test.go index a35fbc25b1..3aa5869a6c 100644 --- a/core/types/block_test.go +++ b/core/types/block_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package types @@ -23,8 +23,8 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // from bcValidBlockTest.json, "SimpleTx" diff --git a/core/types/bloom9.go b/core/types/bloom9.go index a76b6f33c5..efc60b7929 100644 --- a/core/types/bloom9.go +++ b/core/types/bloom9.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package types @@ -20,8 +20,8 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/crypto" ) type bytesBacked interface { diff --git a/core/types/bloom9_test.go b/core/types/bloom9_test.go index a28ac0e7af..7ee10c40ec 100644 --- a/core/types/bloom9_test.go +++ b/core/types/bloom9_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package types @@ -54,7 +54,7 @@ func TestBloom(t *testing.T) { import ( "testing" - "github.com/ethereum/go-ethereum/core/state" + "github.com/EtherFact-Project/go-etherfact/core/state" ) func TestBloom9(t *testing.T) { diff --git a/core/types/derive_sha.go b/core/types/derive_sha.go index 00c42c5bc6..b0237ec218 100644 --- a/core/types/derive_sha.go +++ b/core/types/derive_sha.go @@ -1,27 +1,27 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package types import ( "bytes" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/trie" ) type DerivableList interface { diff --git a/core/types/gen_header_json.go b/core/types/gen_header_json.go index 1b92cd9cf4..aad071f979 100644 --- a/core/types/gen_header_json.go +++ b/core/types/gen_header_json.go @@ -7,8 +7,8 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" ) var _ = (*headerMarshaling)(nil) diff --git a/core/types/gen_log_json.go b/core/types/gen_log_json.go index 1b5ae3c653..6bae68958a 100644 --- a/core/types/gen_log_json.go +++ b/core/types/gen_log_json.go @@ -6,8 +6,8 @@ import ( "encoding/json" "errors" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" ) var _ = (*logMarshaling)(nil) diff --git a/core/types/gen_receipt_json.go b/core/types/gen_receipt_json.go index c297adebb6..aac5958a52 100644 --- a/core/types/gen_receipt_json.go +++ b/core/types/gen_receipt_json.go @@ -6,8 +6,8 @@ import ( "encoding/json" "errors" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" ) var _ = (*receiptMarshaling)(nil) diff --git a/core/types/gen_tx_json.go b/core/types/gen_tx_json.go index c27da67096..e37f195c01 100644 --- a/core/types/gen_tx_json.go +++ b/core/types/gen_tx_json.go @@ -7,8 +7,8 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" ) var _ = (*txdataMarshaling)(nil) diff --git a/core/types/log.go b/core/types/log.go index b629b47ed5..d59be5a0fa 100644 --- a/core/types/log.go +++ b/core/types/log.go @@ -1,27 +1,27 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package types import ( "io" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/rlp" ) //go:generate gencodec -type Log -field-override logMarshaling -out gen_log_json.go diff --git a/core/types/log_test.go b/core/types/log_test.go index 0e56acfe4a..5d67e858b9 100644 --- a/core/types/log_test.go +++ b/core/types/log_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package types @@ -23,8 +23,8 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" ) var unmarshalLogTests = map[string]struct { diff --git a/core/types/receipt.go b/core/types/receipt.go index 613f03d50f..2b77668e16 100644 --- a/core/types/receipt.go +++ b/core/types/receipt.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package types @@ -22,9 +22,9 @@ import ( "io" "unsafe" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/rlp" ) //go:generate gencodec -type Receipt -field-override receiptMarshaling -out gen_receipt_json.go diff --git a/core/types/transaction.go b/core/types/transaction.go index 70d757c94e..6053b23c2d 100644 --- a/core/types/transaction.go +++ b/core/types/transaction.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package types @@ -23,10 +23,10 @@ import ( "math/big" "sync/atomic" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/rlp" ) //go:generate gencodec -type txdata -field-override txdataMarshaling -out gen_tx_json.go diff --git a/core/types/transaction_signing.go b/core/types/transaction_signing.go index dfc84fdac7..5b33c63f1e 100644 --- a/core/types/transaction_signing.go +++ b/core/types/transaction_signing.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package types @@ -22,9 +22,9 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/params" ) var ( diff --git a/core/types/transaction_signing_test.go b/core/types/transaction_signing_test.go index 689fc38a9b..e93a990e39 100644 --- a/core/types/transaction_signing_test.go +++ b/core/types/transaction_signing_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package types @@ -20,9 +20,9 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/rlp" ) func TestEIP155Signing(t *testing.T) { diff --git a/core/types/transaction_test.go b/core/types/transaction_test.go index d1861b14cd..f18878a594 100644 --- a/core/types/transaction_test.go +++ b/core/types/transaction_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package types @@ -23,9 +23,9 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // The values in those tests are from the Transaction Tests diff --git a/core/vm/analysis.go b/core/vm/analysis.go index f9c4298d39..5d9185dad9 100644 --- a/core/vm/analysis.go +++ b/core/vm/analysis.go @@ -1,25 +1,25 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm import ( "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) // destinations stores one map per contract (keyed by hash of code). diff --git a/core/vm/analysis_test.go b/core/vm/analysis_test.go index a64f90ed9c..75c69a1d13 100644 --- a/core/vm/analysis_test.go +++ b/core/vm/analysis_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm diff --git a/core/vm/common.go b/core/vm/common.go index 17de38decb..320bf5fb2c 100644 --- a/core/vm/common.go +++ b/core/vm/common.go @@ -1,26 +1,26 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm import ( "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" ) // calculates the memory size required for a step diff --git a/core/vm/contract.go b/core/vm/contract.go index 66748e8215..553187e7c5 100644 --- a/core/vm/contract.go +++ b/core/vm/contract.go @@ -1,25 +1,25 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm import ( "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) // ContractRef is a reference to the contract's backing object diff --git a/core/vm/contracts.go b/core/vm/contracts.go index 237450ea96..12e7b89793 100644 --- a/core/vm/contracts.go +++ b/core/vm/contracts.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm @@ -21,11 +21,11 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/bn256" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/bn256" + "github.com/EtherFact-Project/go-etherfact/params" "golang.org/x/crypto/ripemd160" ) diff --git a/core/vm/contracts_test.go b/core/vm/contracts_test.go index 96083337c9..7f9703d293 100644 --- a/core/vm/contracts_test.go +++ b/core/vm/contracts_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm @@ -21,7 +21,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) // precompiledTest defines the input/output pairs for precompiled contract tests. diff --git a/core/vm/doc.go b/core/vm/doc.go index 5864d0cfa2..3936e3e92c 100644 --- a/core/vm/doc.go +++ b/core/vm/doc.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . /* Package vm implements the Ethereum Virtual Machine. diff --git a/core/vm/errors.go b/core/vm/errors.go index b19366be0e..8acc38c7f7 100644 --- a/core/vm/errors.go +++ b/core/vm/errors.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm diff --git a/core/vm/evm.go b/core/vm/evm.go index 96676c314a..1bdf0fdbf1 100644 --- a/core/vm/evm.go +++ b/core/vm/evm.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm @@ -21,9 +21,9 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/params" ) // emptyCodeHash is used by create to ensure deployment is disallowed to already diff --git a/core/vm/gas.go b/core/vm/gas.go index dd64d5f178..730e877f16 100644 --- a/core/vm/gas.go +++ b/core/vm/gas.go @@ -1,25 +1,25 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm import ( "math/big" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/params" ) const ( diff --git a/core/vm/gas_table.go b/core/vm/gas_table.go index 83adba428e..ede854d8ca 100644 --- a/core/vm/gas_table.go +++ b/core/vm/gas_table.go @@ -1,25 +1,25 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/params" ) // memoryGasCosts calculates the quadratic gas for memory expansion. It does so diff --git a/core/vm/gas_table_test.go b/core/vm/gas_table_test.go index 1b91aee56c..4bc04f5eca 100644 --- a/core/vm/gas_table_test.go +++ b/core/vm/gas_table_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm diff --git a/core/vm/gen_structlog.go b/core/vm/gen_structlog.go index ade3ca6318..c0fc838d68 100644 --- a/core/vm/gen_structlog.go +++ b/core/vm/gen_structlog.go @@ -6,9 +6,9 @@ import ( "encoding/json" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" ) var _ = (*structLogMarshaling)(nil) diff --git a/core/vm/instructions.go b/core/vm/instructions.go index 1e494a0eb8..469b52a6d8 100644 --- a/core/vm/instructions.go +++ b/core/vm/instructions.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm @@ -21,11 +21,11 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/params" ) var ( diff --git a/core/vm/instructions_test.go b/core/vm/instructions_test.go index 0de558612c..5cfe676c90 100644 --- a/core/vm/instructions_test.go +++ b/core/vm/instructions_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm @@ -20,8 +20,8 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/params" ) type twoOperandTest struct { diff --git a/core/vm/int_pool_verifier.go b/core/vm/int_pool_verifier.go index 82fbfed699..6e31847d4c 100644 --- a/core/vm/int_pool_verifier.go +++ b/core/vm/int_pool_verifier.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build VERIFY_EVM_INTEGER_POOL diff --git a/core/vm/int_pool_verifier_empty.go b/core/vm/int_pool_verifier_empty.go index a5f1dc02b7..11de41ddb7 100644 --- a/core/vm/int_pool_verifier_empty.go +++ b/core/vm/int_pool_verifier_empty.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build !VERIFY_EVM_INTEGER_POOL diff --git a/core/vm/interface.go b/core/vm/interface.go index 1ef91cf1d6..9a0563c970 100644 --- a/core/vm/interface.go +++ b/core/vm/interface.go @@ -1,26 +1,26 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm import ( "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" ) // StateDB is an EVM database for full state querying. diff --git a/core/vm/interpreter.go b/core/vm/interpreter.go index 7090e0261f..3fe07def31 100644 --- a/core/vm/interpreter.go +++ b/core/vm/interpreter.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm @@ -20,8 +20,8 @@ import ( "fmt" "sync/atomic" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/params" ) // Config are the configuration options for the Interpreter diff --git a/core/vm/intpool.go b/core/vm/intpool.go index 5dbda18eee..6c73ac4c31 100644 --- a/core/vm/intpool.go +++ b/core/vm/intpool.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm diff --git a/core/vm/jump_table.go b/core/vm/jump_table.go index 3389941353..dff2a1e72e 100644 --- a/core/vm/jump_table.go +++ b/core/vm/jump_table.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm @@ -20,7 +20,7 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/params" ) type ( diff --git a/core/vm/logger.go b/core/vm/logger.go index dde1903bf2..278818847c 100644 --- a/core/vm/logger.go +++ b/core/vm/logger.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm @@ -23,10 +23,10 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/core/types" ) type Storage map[common.Hash]common.Hash diff --git a/core/vm/logger_test.go b/core/vm/logger_test.go index 28830c445c..ea014f7d78 100644 --- a/core/vm/logger_test.go +++ b/core/vm/logger_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm @@ -20,8 +20,8 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/params" ) type dummyContractRef struct { diff --git a/core/vm/memory.go b/core/vm/memory.go index 99a84d2271..298640c934 100644 --- a/core/vm/memory.go +++ b/core/vm/memory.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm diff --git a/core/vm/memory_table.go b/core/vm/memory_table.go index bec0235bcc..fed14a65de 100644 --- a/core/vm/memory_table.go +++ b/core/vm/memory_table.go @@ -1,25 +1,25 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm import ( "math/big" - "github.com/ethereum/go-ethereum/common/math" + "github.com/EtherFact-Project/go-etherfact/common/math" ) func memorySha3(stack *Stack) *big.Int { diff --git a/core/vm/noop.go b/core/vm/noop.go index b71ead0d77..fe1e32df91 100644 --- a/core/vm/noop.go +++ b/core/vm/noop.go @@ -1,26 +1,26 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm import ( "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" ) func NoopCanTransfer(db StateDB, from common.Address, balance *big.Int) bool { diff --git a/core/vm/opcodes.go b/core/vm/opcodes.go index 7fe55b72f6..d057d3d905 100644 --- a/core/vm/opcodes.go +++ b/core/vm/opcodes.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm diff --git a/core/vm/runtime/doc.go b/core/vm/runtime/doc.go index a3b464a7d6..b2a06d257a 100644 --- a/core/vm/runtime/doc.go +++ b/core/vm/runtime/doc.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package runtime provides a basic execution model for executing EVM code. package runtime diff --git a/core/vm/runtime/env.go b/core/vm/runtime/env.go index 31c9b9cf9d..2323307402 100644 --- a/core/vm/runtime/env.go +++ b/core/vm/runtime/env.go @@ -1,25 +1,25 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package runtime import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/vm" ) func NewEnv(cfg *Config) *vm.EVM { diff --git a/core/vm/runtime/fuzz.go b/core/vm/runtime/fuzz.go index cb9ff08b5b..a2da355819 100644 --- a/core/vm/runtime/fuzz.go +++ b/core/vm/runtime/fuzz.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build gofuzz diff --git a/core/vm/runtime/runtime.go b/core/vm/runtime/runtime.go index 5ac5464064..d923442fc5 100644 --- a/core/vm/runtime/runtime.go +++ b/core/vm/runtime/runtime.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package runtime @@ -21,12 +21,12 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" ) // Config is a basic type specifying certain configuration flags for running diff --git a/core/vm/runtime/runtime_example_test.go b/core/vm/runtime/runtime_example_test.go index b7d0ddc384..19e5a0387a 100644 --- a/core/vm/runtime/runtime_example_test.go +++ b/core/vm/runtime/runtime_example_test.go @@ -1,26 +1,26 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package runtime_test import ( "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/vm/runtime" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/vm/runtime" ) func ExampleExecute() { diff --git a/core/vm/runtime/runtime_test.go b/core/vm/runtime/runtime_test.go index 2c4dc50265..2b2e1b834f 100644 --- a/core/vm/runtime/runtime_test.go +++ b/core/vm/runtime/runtime_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package runtime @@ -21,11 +21,11 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/EtherFact-Project/go-etherfact/accounts/abi" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/ethdb" ) func TestDefaults(t *testing.T) { diff --git a/core/vm/stack.go b/core/vm/stack.go index 9c10d50ad1..58d3cbae21 100644 --- a/core/vm/stack.go +++ b/core/vm/stack.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm diff --git a/core/vm/stack_table.go b/core/vm/stack_table.go index a4b1cfcd89..5638bf9306 100644 --- a/core/vm/stack_table.go +++ b/core/vm/stack_table.go @@ -1,25 +1,25 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package vm import ( "fmt" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/params" ) func makeStackFunc(pop, push int) stackValidationFunc { diff --git a/crypto/bn256/bn256_fast.go b/crypto/bn256/bn256_fast.go index a8dfa8f67d..11e4c121fe 100644 --- a/crypto/bn256/bn256_fast.go +++ b/crypto/bn256/bn256_fast.go @@ -1,25 +1,25 @@ -// Copyright 2018 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2018 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build amd64 arm64 // Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve. package bn256 -import "github.com/ethereum/go-ethereum/crypto/bn256/cloudflare" +import "github.com/EtherFact-Project/go-etherfact/crypto/bn256/cloudflare" // G1 is an abstract cyclic group. The zero value is suitable for use as the // output of an operation, but cannot be used as an input. diff --git a/crypto/bn256/bn256_fuzz.go b/crypto/bn256/bn256_fuzz.go index f360b0541f..c3ec43273c 100644 --- a/crypto/bn256/bn256_fuzz.go +++ b/crypto/bn256/bn256_fuzz.go @@ -1,18 +1,18 @@ -// Copyright 2018 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2018 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build gofuzz @@ -22,8 +22,8 @@ import ( "bytes" "math/big" - cloudflare "github.com/ethereum/go-ethereum/crypto/bn256/cloudflare" - google "github.com/ethereum/go-ethereum/crypto/bn256/google" + cloudflare "github.com/EtherFact-Project/go-etherfact/crypto/bn256/cloudflare" + google "github.com/EtherFact-Project/go-etherfact/crypto/bn256/google" ) // FuzzAdd fuzzez bn256 addition between the Google and Cloudflare libraries. diff --git a/crypto/bn256/bn256_slow.go b/crypto/bn256/bn256_slow.go index 61373763b8..7d220f17db 100644 --- a/crypto/bn256/bn256_slow.go +++ b/crypto/bn256/bn256_slow.go @@ -1,25 +1,25 @@ -// Copyright 2018 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2018 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build !amd64,!arm64 // Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve. package bn256 -import "github.com/ethereum/go-ethereum/crypto/bn256/google" +import "github.com/EtherFact-Project/go-etherfact/crypto/bn256/google" // G1 is an abstract cyclic group. The zero value is suitable for use as the // output of an operation, but cannot be used as an input. diff --git a/crypto/crypto.go b/crypto/crypto.go index 1c4d5a2e02..836b115104 100644 --- a/crypto/crypto.go +++ b/crypto/crypto.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package crypto @@ -28,10 +28,10 @@ import ( "math/big" "os" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto/sha3" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/rlp" ) var ( diff --git a/crypto/crypto_test.go b/crypto/crypto_test.go index 8350354623..69812e58bf 100644 --- a/crypto/crypto_test.go +++ b/crypto/crypto_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package crypto @@ -25,7 +25,7 @@ import ( "os" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) var testAddrHex = "970e8128ab834e8eac17ab8e3812f010678cf791" diff --git a/crypto/ecies/ecies_test.go b/crypto/ecies/ecies_test.go index f33f204d5b..d5d147b625 100644 --- a/crypto/ecies/ecies_test.go +++ b/crypto/ecies/ecies_test.go @@ -40,7 +40,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto" ) var dumpEnc bool diff --git a/crypto/ecies/params.go b/crypto/ecies/params.go index 6312daf5a1..7815600442 100644 --- a/crypto/ecies/params.go +++ b/crypto/ecies/params.go @@ -42,7 +42,7 @@ import ( "fmt" "hash" - ethcrypto "github.com/ethereum/go-ethereum/crypto" + ethcrypto "github.com/EtherFact-Project/go-etherfact/crypto" ) var ( diff --git a/crypto/randentropy/rand_entropy.go b/crypto/randentropy/rand_entropy.go index 539d3ac894..47fc0357bf 100644 --- a/crypto/randentropy/rand_entropy.go +++ b/crypto/randentropy/rand_entropy.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package randentropy diff --git a/crypto/secp256k1/curve.go b/crypto/secp256k1/curve.go index f51be5e353..b3cf2b4a29 100644 --- a/crypto/secp256k1/curve.go +++ b/crypto/secp256k1/curve.go @@ -36,7 +36,7 @@ import ( "math/big" "unsafe" - "github.com/ethereum/go-ethereum/common/math" + "github.com/EtherFact-Project/go-etherfact/common/math" ) /* diff --git a/crypto/secp256k1/panic_cb.go b/crypto/secp256k1/panic_cb.go index e0e9034ee0..c8c2daa0f0 100644 --- a/crypto/secp256k1/panic_cb.go +++ b/crypto/secp256k1/panic_cb.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package secp256k1 diff --git a/crypto/secp256k1/secp256.go b/crypto/secp256k1/secp256.go index eefbb99ee4..e708c7e9f9 100644 --- a/crypto/secp256k1/secp256.go +++ b/crypto/secp256k1/secp256.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package secp256k1 wraps the bitcoin secp256k1 C library. package secp256k1 diff --git a/crypto/secp256k1/secp256_test.go b/crypto/secp256k1/secp256_test.go index f6582ecd54..7ea30c412f 100644 --- a/crypto/secp256k1/secp256_test.go +++ b/crypto/secp256k1/secp256_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package secp256k1 @@ -24,8 +24,8 @@ import ( "encoding/hex" "testing" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto/randentropy" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/crypto/randentropy" ) const TestCount = 1000 diff --git a/crypto/signature_cgo.go b/crypto/signature_cgo.go index 340bfc221e..8be5546782 100644 --- a/crypto/signature_cgo.go +++ b/crypto/signature_cgo.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build !nacl,!js,!nocgo @@ -23,8 +23,8 @@ import ( "crypto/elliptic" "fmt" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto/secp256k1" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/crypto/secp256k1" ) // Ecrecover returns the uncompressed public key that created the given signature. diff --git a/crypto/signature_nocgo.go b/crypto/signature_nocgo.go index f636b23772..5b2be8b05d 100644 --- a/crypto/signature_nocgo.go +++ b/crypto/signature_nocgo.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build nacl js nocgo diff --git a/crypto/signature_test.go b/crypto/signature_test.go index aecff76bfb..55ad7495cb 100644 --- a/crypto/signature_test.go +++ b/crypto/signature_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package crypto @@ -22,9 +22,9 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" ) var ( diff --git a/dashboard/assets.go b/dashboard/assets.go index 521d134a6a..6a7422e05c 100644 --- a/dashboard/assets.go +++ b/dashboard/assets.go @@ -31423,7 +31423,7 @@ var _bundleJs = []byte((((((((((`!function(modules) { }, _react2.default.createElement("span", { style: _common.styles.light }, "Commit "), _react2.default.createElement("a", { - href: "https://github.com/ethereum/go-ethereum/commit/" + general.commit, + href: "https://github.com/EtherFact-Project/go-etherfact/commit/" + general.commit, target: "_blank", style: { color: "inherit", diff --git a/dashboard/config.go b/dashboard/config.go index c260ed4f0e..0d37e9a2f4 100644 --- a/dashboard/config.go +++ b/dashboard/config.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package dashboard diff --git a/dashboard/cpu.go b/dashboard/cpu.go index c89879028d..9a171d3e2b 100644 --- a/dashboard/cpu.go +++ b/dashboard/cpu.go @@ -1,18 +1,18 @@ -// Copyright 2018 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2018 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build !windows @@ -21,7 +21,7 @@ package dashboard import ( "syscall" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // getProcessCPUTime retrieves the process' CPU time since program startup. diff --git a/dashboard/cpu_windows.go b/dashboard/cpu_windows.go index 9bb7ec789c..8055489b78 100644 --- a/dashboard/cpu_windows.go +++ b/dashboard/cpu_windows.go @@ -1,18 +1,18 @@ -// Copyright 2018 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2018 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package dashboard diff --git a/dashboard/dashboard.go b/dashboard/dashboard.go index 399fa34c08..d0fd860f1e 100644 --- a/dashboard/dashboard.go +++ b/dashboard/dashboard.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package dashboard @@ -33,11 +33,11 @@ import ( "time" "github.com/elastic/gosigar" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rpc" "golang.org/x/net/websocket" ) diff --git a/dashboard/message.go b/dashboard/message.go index 84b8d74439..7b3a2055ad 100644 --- a/dashboard/message.go +++ b/dashboard/message.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package dashboard diff --git a/eth/api.go b/eth/api.go index a345b57e49..43888c5ed6 100644 --- a/eth/api.go +++ b/eth/api.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package eth @@ -25,17 +25,17 @@ import ( "os" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/miner" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/rpc" + "github.com/EtherFact-Project/go-etherfact/trie" ) // PublicEthereumAPI provides an API to access Ethereum full node-related diff --git a/eth/api_backend.go b/eth/api_backend.go index ecd5488a24..cdb9cdeb3c 100644 --- a/eth/api_backend.go +++ b/eth/api_backend.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package eth @@ -20,20 +20,20 @@ import ( "context" "math/big" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/gasprice" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/bloombits" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/eth/gasprice" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // EthApiBackend implements ethapi.Backend for full nodes diff --git a/eth/api_test.go b/eth/api_test.go index 900a82bb6a..dc15556813 100644 --- a/eth/api_test.go +++ b/eth/api_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package eth @@ -21,9 +21,9 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/ethdb" ) var dumper = spew.ConfigState{Indent: " "} diff --git a/eth/api_tracer.go b/eth/api_tracer.go index 07c4457bc3..e6ff3abe95 100644 --- a/eth/api_tracer.go +++ b/eth/api_tracer.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package eth @@ -26,18 +26,18 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/tracers" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/eth/tracers" + "github.com/EtherFact-Project/go-etherfact/internal/ethapi" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/rpc" + "github.com/EtherFact-Project/go-etherfact/trie" ) const ( diff --git a/eth/backend.go b/eth/backend.go index ffd5d85421..eb2bd1730d 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package eth implements the Ethereum protocol. package eth @@ -25,29 +25,29 @@ import ( "sync" "sync/atomic" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/clique" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/filters" - "github.com/ethereum/go-ethereum/eth/gasprice" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/miner" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/consensus/clique" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/bloombits" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/eth/filters" + "github.com/EtherFact-Project/go-etherfact/eth/gasprice" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/internal/ethapi" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/miner" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/rpc" ) type LesServer interface { diff --git a/eth/bloombits.go b/eth/bloombits.go index c5597391c5..daa3903216 100644 --- a/eth/bloombits.go +++ b/eth/bloombits.go @@ -1,31 +1,31 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package eth import ( "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/bitutil" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/bitutil" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/bloombits" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" ) const ( diff --git a/eth/config.go b/eth/config.go index dd7f42c7d9..d25fde86c0 100644 --- a/eth/config.go +++ b/eth/config.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package eth @@ -24,13 +24,13 @@ import ( "runtime" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/gasprice" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/eth/gasprice" + "github.com/EtherFact-Project/go-etherfact/params" ) // DefaultConfig contains default settings for use on the Ethereum main net. diff --git a/eth/db_upgrade.go b/eth/db_upgrade.go index 96c584ac64..9e8773f9ac 100644 --- a/eth/db_upgrade.go +++ b/eth/db_upgrade.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package eth implements the Ethereum protocol. package eth @@ -21,11 +21,11 @@ import ( "bytes" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/rlp" ) var deduplicateData = []byte("dbUpgrade_20170714deduplicateData") diff --git a/eth/downloader/api.go b/eth/downloader/api.go index d496fa6a4d..a3bcfbae22 100644 --- a/eth/downloader/api.go +++ b/eth/downloader/api.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package downloader @@ -20,9 +20,9 @@ import ( "context" "sync" - ethereum "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/rpc" + ethereum "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // PublicDownloaderAPI provides an API which gives information about the current synchronisation status. diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index 9e49498998..c852af2cc5 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package downloader contains the manual full chain synchronisation. package downloader @@ -25,15 +25,15 @@ import ( "sync/atomic" "time" - ethereum "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/params" + ethereum "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/params" ) var ( diff --git a/eth/downloader/downloader_test.go b/eth/downloader/downloader_test.go index e85e234c0e..121e79511d 100644 --- a/eth/downloader/downloader_test.go +++ b/eth/downloader/downloader_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package downloader @@ -25,15 +25,15 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/trie" ) var ( diff --git a/eth/downloader/events.go b/eth/downloader/events.go index 64905b8f2a..91070857d3 100644 --- a/eth/downloader/events.go +++ b/eth/downloader/events.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package downloader diff --git a/eth/downloader/fakepeer.go b/eth/downloader/fakepeer.go index 5248e7fb0c..8387e535e1 100644 --- a/eth/downloader/fakepeer.go +++ b/eth/downloader/fakepeer.go @@ -1,28 +1,28 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package downloader import ( "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" ) // FakePeer is a mock downloader peer that operates on a local database instance diff --git a/eth/downloader/metrics.go b/eth/downloader/metrics.go index d4eb337946..48dde01ac4 100644 --- a/eth/downloader/metrics.go +++ b/eth/downloader/metrics.go @@ -1,25 +1,25 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the metrics collected by the downloader. package downloader import ( - "github.com/ethereum/go-ethereum/metrics" + "github.com/EtherFact-Project/go-etherfact/metrics" ) var ( diff --git a/eth/downloader/modes.go b/eth/downloader/modes.go index 8ecdf91f11..21f4c4c648 100644 --- a/eth/downloader/modes.go +++ b/eth/downloader/modes.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package downloader diff --git a/eth/downloader/peer.go b/eth/downloader/peer.go index 428a60f8a1..e5e19e53e3 100644 --- a/eth/downloader/peer.go +++ b/eth/downloader/peer.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the active peer-set of the downloader, maintaining both failures // as well as reputation metrics to prioritize the block retrievals. @@ -29,9 +29,9 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" ) const ( diff --git a/eth/downloader/queue.go b/eth/downloader/queue.go index bbe0aed5dc..eb5cb8d05f 100644 --- a/eth/downloader/queue.go +++ b/eth/downloader/queue.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the block download scheduler to collect download tasks and schedule // them in an ordered, and throttled way. @@ -25,10 +25,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" "gopkg.in/karalabe/cookiejar.v2/collections/prque" ) diff --git a/eth/downloader/statesync.go b/eth/downloader/statesync.go index 521ee25a02..976ddface0 100644 --- a/eth/downloader/statesync.go +++ b/eth/downloader/statesync.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package downloader @@ -22,13 +22,13 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/crypto/sha3" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/trie" ) // stateReq represents a batch of state fetch requests grouped together into diff --git a/eth/downloader/types.go b/eth/downloader/types.go index 3f30ea9dd1..b5c3878e8d 100644 --- a/eth/downloader/types.go +++ b/eth/downloader/types.go @@ -1,25 +1,25 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package downloader import ( "fmt" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/core/types" ) // peerDropFn is a callback type for dropping a peer detected as malicious. diff --git a/eth/fetcher/fetcher.go b/eth/fetcher/fetcher.go index 0c679cec3a..62afc828e7 100644 --- a/eth/fetcher/fetcher.go +++ b/eth/fetcher/fetcher.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package fetcher contains the block announcement based synchronisation. package fetcher @@ -22,10 +22,10 @@ import ( "math/rand" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/log" "gopkg.in/karalabe/cookiejar.v2/collections/prque" ) diff --git a/eth/fetcher/fetcher_test.go b/eth/fetcher/fetcher_test.go index 9d53b98b60..f8f7175ba0 100644 --- a/eth/fetcher/fetcher_test.go +++ b/eth/fetcher/fetcher_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package fetcher @@ -24,13 +24,13 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" ) var ( diff --git a/eth/fetcher/metrics.go b/eth/fetcher/metrics.go index d68d12f000..dcdcc65b31 100644 --- a/eth/fetcher/metrics.go +++ b/eth/fetcher/metrics.go @@ -1,25 +1,25 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the metrics collected by the fetcher. package fetcher import ( - "github.com/ethereum/go-ethereum/metrics" + "github.com/EtherFact-Project/go-etherfact/metrics" ) var ( diff --git a/eth/filters/api.go b/eth/filters/api.go index ec403709c5..87d2cf7b90 100644 --- a/eth/filters/api.go +++ b/eth/filters/api.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package filters @@ -25,13 +25,13 @@ import ( "sync" "time" - ethereum "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/rpc" + ethereum "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/rpc" ) var ( diff --git a/eth/filters/api_test.go b/eth/filters/api_test.go index 02229a7549..22ae0052c0 100644 --- a/eth/filters/api_test.go +++ b/eth/filters/api_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package filters @@ -21,8 +21,8 @@ import ( "fmt" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/rpc" ) func TestUnmarshalJSONNewFilterArgs(t *testing.T) { diff --git a/eth/filters/bench_test.go b/eth/filters/bench_test.go index 0a0929bc10..40740e0f6b 100644 --- a/eth/filters/bench_test.go +++ b/eth/filters/bench_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package filters @@ -23,14 +23,14 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/bitutil" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/node" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/bitutil" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/bloombits" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/node" ) func BenchmarkBloomBits512(b *testing.B) { diff --git a/eth/filters/filter.go b/eth/filters/filter.go index 5dfe60e772..698b4dda55 100644 --- a/eth/filters/filter.go +++ b/eth/filters/filter.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package filters @@ -20,13 +20,13 @@ import ( "context" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/bloombits" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/rpc" ) type Backend interface { diff --git a/eth/filters/filter_system.go b/eth/filters/filter_system.go index f8097c7b95..293fae1427 100644 --- a/eth/filters/filter_system.go +++ b/eth/filters/filter_system.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package filters implements an ethereum filtering system for block, // transactions and log events. @@ -25,12 +25,12 @@ import ( "sync" "time" - ethereum "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/rpc" + ethereum "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // Type determines the kind of filter and is used to put the filter in to diff --git a/eth/filters/filter_system_test.go b/eth/filters/filter_system_test.go index 61761151a2..bdf4475ed5 100644 --- a/eth/filters/filter_system_test.go +++ b/eth/filters/filter_system_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package filters @@ -25,16 +25,16 @@ import ( "testing" "time" - ethereum "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + ethereum "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/bloombits" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rpc" ) type testBackend struct { diff --git a/eth/filters/filter_test.go b/eth/filters/filter_test.go index 0018142c46..9c8506cfe4 100644 --- a/eth/filters/filter_test.go +++ b/eth/filters/filter_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package filters @@ -23,14 +23,14 @@ import ( "os" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/params" ) func makeReceipt(addr common.Address) *types.Receipt { diff --git a/eth/gasprice/gasprice.go b/eth/gasprice/gasprice.go index 54325692c6..07aba55329 100644 --- a/eth/gasprice/gasprice.go +++ b/eth/gasprice/gasprice.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package gasprice @@ -22,11 +22,11 @@ import ( "sort" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/internal/ethapi" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rpc" ) var maxPrice = big.NewInt(500 * params.Shannon) diff --git a/eth/gen_config.go b/eth/gen_config.go index 4f2e82d941..e0d2f1a41b 100644 --- a/eth/gen_config.go +++ b/eth/gen_config.go @@ -5,12 +5,12 @@ package eth import ( "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/gasprice" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/eth/gasprice" ) var _ = (*configMarshaling)(nil) diff --git a/eth/handler.go b/eth/handler.go index 4069359c9e..11561d4507 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package eth @@ -26,20 +26,20 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/fetcher" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/consensus/misc" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/eth/fetcher" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" ) const ( diff --git a/eth/handler_test.go b/eth/handler_test.go index e336dfa285..f4aba41e4e 100644 --- a/eth/handler_test.go +++ b/eth/handler_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package eth @@ -23,18 +23,18 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/params" ) // Tests that protocol versions and modes of operations are matched up properly. diff --git a/eth/helper_test.go b/eth/helper_test.go index 2b05cea801..459bc690b9 100644 --- a/eth/helper_test.go +++ b/eth/helper_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // This file contains some shares testing functionality, common to multiple // different files and modules being tested. @@ -27,18 +27,18 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/params" ) var ( diff --git a/eth/metrics.go b/eth/metrics.go index 0533a2a875..a9813ebe10 100644 --- a/eth/metrics.go +++ b/eth/metrics.go @@ -1,24 +1,24 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package eth import ( - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/p2p" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/p2p" ) var ( diff --git a/eth/peer.go b/eth/peer.go index 42ead53965..1f2f7a6884 100644 --- a/eth/peer.go +++ b/eth/peer.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package eth @@ -23,10 +23,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/rlp" "gopkg.in/fatih/set.v0" ) diff --git a/eth/protocol.go b/eth/protocol.go index cd7db57f23..5a44a5e4e9 100644 --- a/eth/protocol.go +++ b/eth/protocol.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package eth @@ -21,11 +21,11 @@ import ( "io" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // Constants to match up protocol versions and messages diff --git a/eth/protocol_test.go b/eth/protocol_test.go index b2f93d8dd1..10fa8b501e 100644 --- a/eth/protocol_test.go +++ b/eth/protocol_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package eth @@ -22,12 +22,12 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/rlp" ) func init() { diff --git a/eth/sync.go b/eth/sync.go index e49e40087e..d5b62c8d4f 100644 --- a/eth/sync.go +++ b/eth/sync.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package eth @@ -21,11 +21,11 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" ) const ( diff --git a/eth/sync_test.go b/eth/sync_test.go index 88c10c7f74..8d0ab6b9e1 100644 --- a/eth/sync_test.go +++ b/eth/sync_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package eth @@ -21,9 +21,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" ) // Tests that fast sync gets disabled as soon as a real block is successfully diff --git a/eth/tracers/internal/tracers/tracers.go b/eth/tracers/internal/tracers/tracers.go index dcf0d49dae..c54efac381 100644 --- a/eth/tracers/internal/tracers/tracers.go +++ b/eth/tracers/internal/tracers/tracers.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . //go:generate go-bindata -nometadata -o assets.go -pkg tracers -ignore ((tracers)|(assets)).go ./... //go:generate gofmt -s -w assets.go diff --git a/eth/tracers/tracer.go b/eth/tracers/tracer.go index 4cec9e633c..d44e3a798b 100644 --- a/eth/tracers/tracer.go +++ b/eth/tracers/tracer.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tracers @@ -25,11 +25,11 @@ import ( "time" "unsafe" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" duktape "gopkg.in/olebedev/go-duktape.v3" ) diff --git a/eth/tracers/tracer_test.go b/eth/tracers/tracer_test.go index 117c376b81..c2c9173676 100644 --- a/eth/tracers/tracer_test.go +++ b/eth/tracers/tracer_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tracers @@ -24,9 +24,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/params" ) type account struct{} diff --git a/eth/tracers/tracers.go b/eth/tracers/tracers.go index 4e1ef23ad2..4780ce9c97 100644 --- a/eth/tracers/tracers.go +++ b/eth/tracers/tracers.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package tracers is a collection of JavaScript transaction tracers. package tracers @@ -21,7 +21,7 @@ import ( "strings" "unicode" - "github.com/ethereum/go-ethereum/eth/tracers/internal/tracers" + "github.com/EtherFact-Project/go-etherfact/eth/tracers/internal/tracers" ) // all contains all the built in JavaScript tracers by name. @@ -36,7 +36,7 @@ func camel(str string) string { return strings.Join(pieces, "") } -// init retrieves the JavaScript transaction tracers included in go-ethereum. +// init retrieves the JavaScript transaction tracers included in go-etherfact. func init() { for _, file := range tracers.AssetNames() { name := camel(strings.TrimSuffix(file, ".js")) diff --git a/eth/tracers/tracers_test.go b/eth/tracers/tracers_test.go index bf8120228f..3b80e9286b 100644 --- a/eth/tracers/tracers_test.go +++ b/eth/tracers/tracers_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tracers @@ -25,15 +25,15 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/tests" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/tests" ) // To generate a new callTracer test, copy paste the makeTest method below into diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go index 7349d6fbad..c131b6c348 100644 --- a/ethclient/ethclient.go +++ b/ethclient/ethclient.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package ethclient provides a client for the Ethereum RPC API. package ethclient @@ -24,12 +24,12 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // Client defines typed wrappers for the Ethereum RPC API. diff --git a/ethclient/ethclient_test.go b/ethclient/ethclient_test.go index 178eb2be98..f701aa72eb 100644 --- a/ethclient/ethclient_test.go +++ b/ethclient/ethclient_test.go @@ -1,22 +1,22 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ethclient -import "github.com/ethereum/go-ethereum" +import "github.com/EtherFact-Project/go-etherfact" // Verify that Client implements the ethereum interfaces. var ( diff --git a/ethclient/signer.go b/ethclient/signer.go index 74a93f1e2f..6399f9111d 100644 --- a/ethclient/signer.go +++ b/ethclient/signer.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ethclient @@ -20,8 +20,8 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" ) // senderFromServer is a types.Signer that remembers the sender address returned by the RPC diff --git a/ethdb/database.go b/ethdb/database.go index 243b7f8d3c..bff1936e3a 100644 --- a/ethdb/database.go +++ b/ethdb/database.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ethdb @@ -22,8 +22,8 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/filter" diff --git a/ethdb/database_test.go b/ethdb/database_test.go index 5e4a3ca34a..8383437e8e 100644 --- a/ethdb/database_test.go +++ b/ethdb/database_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ethdb_test @@ -25,7 +25,7 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/EtherFact-Project/go-etherfact/ethdb" ) func newTestLDB() (*ethdb.LDBDatabase, func()) { diff --git a/ethdb/interface.go b/ethdb/interface.go index 5373120030..2d38848322 100644 --- a/ethdb/interface.go +++ b/ethdb/interface.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ethdb diff --git a/ethdb/memory_database.go b/ethdb/memory_database.go index 8efd7bf845..332352d8c3 100644 --- a/ethdb/memory_database.go +++ b/ethdb/memory_database.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ethdb @@ -20,7 +20,7 @@ import ( "errors" "sync" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) /* diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go index ae7e252654..48d54ed337 100644 --- a/ethstats/ethstats.go +++ b/ethstats/ethstats.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package ethstats implements the network stats reporting service. package ethstats @@ -30,17 +30,17 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/les" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/mclock" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/eth" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/les" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/rpc" "golang.org/x/net/websocket" ) diff --git a/event/event.go b/event/event.go index 20d20d1f57..10bdd6b728 100644 --- a/event/event.go +++ b/event/event.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package event deals with subscriptions to real-time events. package event diff --git a/event/event_test.go b/event/event_test.go index a12945a471..a691340058 100644 --- a/event/event_test.go +++ b/event/event_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package event diff --git a/event/example_feed_test.go b/event/example_feed_test.go index 9b5ad50df5..4e78eb5963 100644 --- a/event/example_feed_test.go +++ b/event/example_feed_test.go @@ -1,25 +1,25 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package event_test import ( "fmt" - "github.com/ethereum/go-ethereum/event" + "github.com/EtherFact-Project/go-etherfact/event" ) func ExampleFeed_acknowledgedEvents() { diff --git a/event/example_scope_test.go b/event/example_scope_test.go index 825a8deeac..1504a13509 100644 --- a/event/example_scope_test.go +++ b/event/example_scope_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package event_test @@ -20,7 +20,7 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/event" + "github.com/EtherFact-Project/go-etherfact/event" ) // This example demonstrates how SubscriptionScope can be used to control the lifetime of diff --git a/event/example_subscription_test.go b/event/example_subscription_test.go index 5c76b55d98..9b6b263b60 100644 --- a/event/example_subscription_test.go +++ b/event/example_subscription_test.go @@ -1,25 +1,25 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package event_test import ( "fmt" - "github.com/ethereum/go-ethereum/event" + "github.com/EtherFact-Project/go-etherfact/event" ) func ExampleNewSubscription() { diff --git a/event/example_test.go b/event/example_test.go index 29938e8539..276766adf8 100644 --- a/event/example_test.go +++ b/event/example_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package event diff --git a/event/feed.go b/event/feed.go index 78fa3d98d8..cfae472bed 100644 --- a/event/feed.go +++ b/event/feed.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package event diff --git a/event/feed_test.go b/event/feed_test.go index a82c103033..316a8d7091 100644 --- a/event/feed_test.go +++ b/event/feed_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package event diff --git a/event/filter/filter.go b/event/filter/filter.go index b1fbf30ee4..8b8a278eca 100644 --- a/event/filter/filter.go +++ b/event/filter/filter.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package filter implements event filters. package filter diff --git a/event/filter/filter_test.go b/event/filter/filter_test.go index dcc9112453..f3a687fef3 100644 --- a/event/filter/filter_test.go +++ b/event/filter/filter_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package filter diff --git a/event/filter/generic_filter.go b/event/filter/generic_filter.go index d679b8bfa8..1a7a046fc2 100644 --- a/event/filter/generic_filter.go +++ b/event/filter/generic_filter.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package filter diff --git a/event/subscription.go b/event/subscription.go index d03f465075..e04936c8ae 100644 --- a/event/subscription.go +++ b/event/subscription.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package event @@ -21,7 +21,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common/mclock" + "github.com/EtherFact-Project/go-etherfact/common/mclock" ) // Subscription represents a stream of events. The carrier of the events is typically a diff --git a/event/subscription_test.go b/event/subscription_test.go index 5b8a2c8ede..d04ba7ecd4 100644 --- a/event/subscription_test.go +++ b/event/subscription_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package event diff --git a/interfaces.go b/interfaces.go index 1ae1eba48a..22cb896570 100644 --- a/interfaces.go +++ b/interfaces.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package ethereum defines interfaces for interacting with Ethereum. package ethereum @@ -22,8 +22,8 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" ) // NotFound is returned by API methods if the requested item does not exist. diff --git a/internal/build/archive.go b/internal/build/archive.go index ac680ba63d..05f0a4fd86 100644 --- a/internal/build/archive.go +++ b/internal/build/archive.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package build diff --git a/internal/build/azure.go b/internal/build/azure.go index 2081a9a0b1..58aa010728 100644 --- a/internal/build/azure.go +++ b/internal/build/azure.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package build diff --git a/internal/build/env.go b/internal/build/env.go index b553e0ed80..86f16f1bb5 100644 --- a/internal/build/env.go +++ b/internal/build/env.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package build @@ -81,7 +81,7 @@ func Env() Environment { // LocalEnv returns build environment metadata gathered from git. func LocalEnv() Environment { - env := applyEnvFlags(Environment{Name: "local", Repo: "ethereum/go-ethereum"}) + env := applyEnvFlags(Environment{Name: "local", Repo: "ethereum/go-etherfact"}) head := readGitFile("HEAD") if splits := strings.Split(head, " "); len(splits) == 2 { diff --git a/internal/build/pgp.go b/internal/build/pgp.go index 79ab9c06f1..3ddb534c93 100644 --- a/internal/build/pgp.go +++ b/internal/build/pgp.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // signFile reads the contents of an input file and signs it (in armored format) // with the key provided, placing the signature into the output file. diff --git a/internal/build/util.go b/internal/build/util.go index c6e059f0df..0dcac457b8 100644 --- a/internal/build/util.go +++ b/internal/build/util.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package build diff --git a/internal/cmdtest/test_cmd.go b/internal/cmdtest/test_cmd.go index 20e82ec2a9..4905dcf787 100644 --- a/internal/cmdtest/test_cmd.go +++ b/internal/cmdtest/test_cmd.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package cmdtest diff --git a/internal/debug/api.go b/internal/debug/api.go index 048b7d7635..6184052444 100644 --- a/internal/debug/api.go +++ b/internal/debug/api.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package debug interfaces Go runtime debugging facilities. // This package is mostly glue code making these facilities available @@ -33,7 +33,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // Handler is the global debugging handler. diff --git a/internal/debug/flags.go b/internal/debug/flags.go index 1f181bf8b0..fb83c298c0 100644 --- a/internal/debug/flags.go +++ b/internal/debug/flags.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package debug @@ -24,10 +24,10 @@ import ( "os" "runtime" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/log/term" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/metrics/exp" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/log/term" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/metrics/exp" colorable "github.com/mattn/go-colorable" "gopkg.in/urfave/cli.v1" ) diff --git a/internal/debug/loudpanic.go b/internal/debug/loudpanic.go index 572ebcefa1..3d4430e839 100644 --- a/internal/debug/loudpanic.go +++ b/internal/debug/loudpanic.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build go1.6 diff --git a/internal/debug/loudpanic_fallback.go b/internal/debug/loudpanic_fallback.go index 4ce4985da7..4c6da8fea1 100644 --- a/internal/debug/loudpanic_fallback.go +++ b/internal/debug/loudpanic_fallback.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build !go1.6 diff --git a/internal/debug/trace.go b/internal/debug/trace.go index cab5deaafd..aeeb1648bb 100644 --- a/internal/debug/trace.go +++ b/internal/debug/trace.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . //+build go1.5 @@ -23,7 +23,7 @@ import ( "os" "runtime/trace" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // StartGoTrace turns on tracing, writing to the given file. diff --git a/internal/debug/trace_fallback.go b/internal/debug/trace_fallback.go index 4118ff4087..bc877555a7 100644 --- a/internal/debug/trace_fallback.go +++ b/internal/debug/trace_fallback.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . //+build !go1.5 diff --git a/internal/ethapi/addrlock.go b/internal/ethapi/addrlock.go index 61ddff688c..fc45738da0 100644 --- a/internal/ethapi/addrlock.go +++ b/internal/ethapi/addrlock.go @@ -1,25 +1,25 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ethapi import ( "sync" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) type AddrLocker struct { diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index e2bfbaf307..9955c93b67 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package ethapi @@ -26,21 +26,21 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/rpc" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/util" ) @@ -422,7 +422,7 @@ func signHash(data []byte) []byte { // // The key used to calculate the signature is decrypted with the given password. // -// https://github.com/ethereum/go-ethereum/wiki/Management-APIs#personal_sign +// https://github.com/EtherFact-Project/go-etherfact/wiki/Management-APIs#personal_sign func (s *PrivateAccountAPI) Sign(ctx context.Context, data hexutil.Bytes, addr common.Address, passwd string) (hexutil.Bytes, error) { // Look up the wallet containing the requested signer account := accounts.Account{Address: addr} @@ -449,7 +449,7 @@ func (s *PrivateAccountAPI) Sign(ctx context.Context, data hexutil.Bytes, addr c // Note, the signature must conform to the secp256k1 curve R, S and V values, where // the V value must be be 27 or 28 for legacy reasons. // -// https://github.com/ethereum/go-ethereum/wiki/Management-APIs#personal_ecRecover +// https://github.com/EtherFact-Project/go-etherfact/wiki/Management-APIs#personal_ecRecover func (s *PrivateAccountAPI) EcRecover(ctx context.Context, data, sig hexutil.Bytes) (common.Address, error) { if len(sig) != 65 { return common.Address{}, fmt.Errorf("signature must be 65 bytes long") diff --git a/internal/ethapi/backend.go b/internal/ethapi/backend.go index af95d7906f..7bf19b7575 100644 --- a/internal/ethapi/backend.go +++ b/internal/ethapi/backend.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package ethapi implements the general Ethereum API functions. package ethapi @@ -21,17 +21,17 @@ import ( "context" "math/big" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // Backend interface provides the common API services (that are provided by diff --git a/internal/guide/guide.go b/internal/guide/guide.go index 3e9416f032..8ccefb44f6 100644 --- a/internal/guide/guide.go +++ b/internal/guide/guide.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package guide is a small test suite to ensure snippets in the dev guide work. package guide diff --git a/internal/guide/guide_test.go b/internal/guide/guide_test.go index 9c7ad16d18..0c5963bf69 100644 --- a/internal/guide/guide_test.go +++ b/internal/guide/guide_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // This file contains the code snippets from the developer's guide embedded into // Go tests. This ensures that any code published in out guides will not break @@ -30,8 +30,8 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/core/types" ) // Tests that the account management snippets work correctly. diff --git a/internal/jsre/completion.go b/internal/jsre/completion.go index 7f484bbbb8..7cc99fe73d 100644 --- a/internal/jsre/completion.go +++ b/internal/jsre/completion.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package jsre diff --git a/internal/jsre/completion_test.go b/internal/jsre/completion_test.go index ccbd73dccc..b36d1d596c 100644 --- a/internal/jsre/completion_test.go +++ b/internal/jsre/completion_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package jsre diff --git a/internal/jsre/deps/deps.go b/internal/jsre/deps/deps.go index fe2e6f2fad..f11d1c5e4e 100644 --- a/internal/jsre/deps/deps.go +++ b/internal/jsre/deps/deps.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package deps contains the console JavaScript dependencies Go embedded. package deps diff --git a/internal/jsre/jsre.go b/internal/jsre/jsre.go index f05865eca6..932430150b 100644 --- a/internal/jsre/jsre.go +++ b/internal/jsre/jsre.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package jsre provides execution environment for JavaScript. package jsre @@ -26,8 +26,8 @@ import ( "math/rand" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/internal/jsre/deps" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/internal/jsre/deps" "github.com/robertkrimen/otto" ) diff --git a/internal/jsre/jsre_test.go b/internal/jsre/jsre_test.go index bcb6e0dd23..f24aa449c0 100644 --- a/internal/jsre/jsre_test.go +++ b/internal/jsre/jsre_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package jsre diff --git a/internal/jsre/pretty.go b/internal/jsre/pretty.go index 16fa91b67d..798f7afd91 100644 --- a/internal/jsre/pretty.go +++ b/internal/jsre/pretty.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package jsre diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go index 9d6ce8c6c8..5932e1a093 100644 --- a/internal/web3ext/web3ext.go +++ b/internal/web3ext/web3ext.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // package web3ext contains geth specific web3.js extensions. package web3ext diff --git a/les/api_backend.go b/les/api_backend.go index 3fc5c33a44..0b5d2f817f 100644 --- a/les/api_backend.go +++ b/les/api_backend.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package les @@ -20,21 +20,21 @@ import ( "context" "math/big" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/gasprice" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/light" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/bloombits" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/eth/gasprice" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/light" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rpc" ) type LesApiBackend struct { diff --git a/les/backend.go b/les/backend.go index 6a324cb04b..113b188e1b 100644 --- a/les/backend.go +++ b/les/backend.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package les implements the Light Ethereum Subprotocol. package les @@ -22,27 +22,27 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/bloombits" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/eth/filters" - "github.com/ethereum/go-ethereum/eth/gasprice" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/light" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discv5" - "github.com/ethereum/go-ethereum/params" - rpc "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/bloombits" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/eth" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/eth/filters" + "github.com/EtherFact-Project/go-etherfact/eth/gasprice" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/internal/ethapi" + "github.com/EtherFact-Project/go-etherfact/light" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discv5" + "github.com/EtherFact-Project/go-etherfact/params" + rpc "github.com/EtherFact-Project/go-etherfact/rpc" ) type LightEthereum struct { diff --git a/les/bloombits.go b/les/bloombits.go index de233d7518..6ff1fca3a9 100644 --- a/les/bloombits.go +++ b/les/bloombits.go @@ -1,26 +1,26 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package les import ( "time" - "github.com/ethereum/go-ethereum/common/bitutil" - "github.com/ethereum/go-ethereum/light" + "github.com/EtherFact-Project/go-etherfact/common/bitutil" + "github.com/EtherFact-Project/go-etherfact/light" ) const ( diff --git a/les/distributor.go b/les/distributor.go index 159fa4c73f..fae9403c6f 100644 --- a/les/distributor.go +++ b/les/distributor.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package light implements on-demand retrieval capable state and chain objects // for the Ethereum Light Client. diff --git a/les/distributor_test.go b/les/distributor_test.go index 55defb69be..05456b8573 100644 --- a/les/distributor_test.go +++ b/les/distributor_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package light implements on-demand retrieval capable state and chain objects // for the Ethereum Light Client. diff --git a/les/execqueue.go b/les/execqueue.go index 614721bf0d..b03017e746 100644 --- a/les/execqueue.go +++ b/les/execqueue.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package les diff --git a/les/execqueue_test.go b/les/execqueue_test.go index cd45b03f22..0acacdc2a7 100644 --- a/les/execqueue_test.go +++ b/les/execqueue_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package les diff --git a/les/fetcher.go b/les/fetcher.go index e12a2c78a2..7d6ccb9864 100644 --- a/les/fetcher.go +++ b/les/fetcher.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package les implements the Light Ethereum Subprotocol. package les @@ -22,13 +22,13 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/light" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/mclock" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/light" + "github.com/EtherFact-Project/go-etherfact/log" ) const ( diff --git a/les/flowcontrol/control.go b/les/flowcontrol/control.go index d50eb809cc..64dad61cd4 100644 --- a/les/flowcontrol/control.go +++ b/les/flowcontrol/control.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package flowcontrol implements a client side flow control mechanism package flowcontrol @@ -21,7 +21,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common/mclock" + "github.com/EtherFact-Project/go-etherfact/common/mclock" ) const fcTimeConst = time.Millisecond diff --git a/les/flowcontrol/manager.go b/les/flowcontrol/manager.go index 28cc6f0fe7..5b20a877ca 100644 --- a/les/flowcontrol/manager.go +++ b/les/flowcontrol/manager.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package flowcontrol implements a client side flow control mechanism package flowcontrol @@ -21,7 +21,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common/mclock" + "github.com/EtherFact-Project/go-etherfact/common/mclock" ) const rcConst = 1000000 diff --git a/les/handler.go b/les/handler.go index 9627f392be..4893b3331e 100644 --- a/les/handler.go +++ b/les/handler.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package les implements the Light Ethereum Subprotocol. package les @@ -26,22 +26,22 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/light" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/discv5" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/light" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/discv5" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/trie" ) const ( diff --git a/les/handler_test.go b/les/handler_test.go index 9468032f67..14a898c1f9 100644 --- a/les/handler_test.go +++ b/les/handler_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package les @@ -23,18 +23,18 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/light" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/light" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/trie" ) func expectResponse(r p2p.MsgReader, msgcode, reqID, bv uint64, data interface{}) error { diff --git a/les/helper_test.go b/les/helper_test.go index 6d997a1a36..5f1a476adb 100644 --- a/les/helper_test.go +++ b/les/helper_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // This file contains some shares testing functionality, common to multiple // different files and modules being tested. @@ -25,20 +25,20 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/les/flowcontrol" - "github.com/ethereum/go-ethereum/light" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/eth" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/les/flowcontrol" + "github.com/EtherFact-Project/go-etherfact/light" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/params" ) var ( diff --git a/les/metrics.go b/les/metrics.go index c282a62a1a..477dadae73 100644 --- a/les/metrics.go +++ b/les/metrics.go @@ -1,24 +1,24 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package les import ( - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/p2p" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/p2p" ) var ( diff --git a/les/odr.go b/les/odr.go index f8412aaad7..868575af3b 100644 --- a/les/odr.go +++ b/les/odr.go @@ -1,28 +1,28 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package les import ( "context" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/light" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/light" + "github.com/EtherFact-Project/go-etherfact/log" ) // LesOdr implements light.OdrBackend diff --git a/les/odr_requests.go b/les/odr_requests.go index 34d759dd2a..6438511ca3 100644 --- a/les/odr_requests.go +++ b/les/odr_requests.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package light implements on-demand retrieval capable state and chain objects // for the Ethereum Light Client. @@ -23,15 +23,15 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/light" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/light" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/trie" ) var ( diff --git a/les/odr_test.go b/les/odr_test.go index 88e121cda6..b8850c3f0e 100644 --- a/les/odr_test.go +++ b/les/odr_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package les @@ -23,17 +23,17 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/light" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/eth" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/light" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" ) type odrTestFn func(ctx context.Context, db ethdb.Database, config *params.ChainConfig, bc *core.BlockChain, lc *light.LightChain, bhash common.Hash) []byte diff --git a/les/peer.go b/les/peer.go index eb7452e276..de1e2c8db7 100644 --- a/les/peer.go +++ b/les/peer.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package les implements the Light Ethereum Subprotocol. package les @@ -26,13 +26,13 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/les/flowcontrol" - "github.com/ethereum/go-ethereum/light" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/eth" + "github.com/EtherFact-Project/go-etherfact/les/flowcontrol" + "github.com/EtherFact-Project/go-etherfact/light" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/rlp" ) var ( diff --git a/les/protocol.go b/les/protocol.go index e1c4625bce..d83de14627 100644 --- a/les/protocol.go +++ b/les/protocol.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package les implements the Light Ethereum Subprotocol. package les @@ -26,11 +26,11 @@ import ( "io" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/secp256k1" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/secp256k1" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // Constants to match up protocol versions and messages diff --git a/les/randselect.go b/les/randselect.go index 1a9d0695bd..49ed4a1c84 100644 --- a/les/randselect.go +++ b/les/randselect.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package les implements the Light Ethereum Subprotocol. package les diff --git a/les/randselect_test.go b/les/randselect_test.go index 9ae7726ddd..fc0eff00a3 100644 --- a/les/randselect_test.go +++ b/les/randselect_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package les diff --git a/les/request_test.go b/les/request_test.go index c13625de8e..e289d666a7 100644 --- a/les/request_test.go +++ b/les/request_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package les @@ -21,12 +21,12 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/light" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/eth" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/light" ) var testBankSecureTrieKey = secAddr(testBankAddress) diff --git a/les/retrieve.go b/les/retrieve.go index e262a3cb47..965537b82c 100644 --- a/les/retrieve.go +++ b/les/retrieve.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package light implements on-demand retrieval capable state and chain objects // for the Ethereum Light Client. @@ -26,7 +26,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common/mclock" + "github.com/EtherFact-Project/go-etherfact/common/mclock" ) var ( diff --git a/les/server.go b/les/server.go index 28b87008a0..3b1761ba61 100644 --- a/les/server.go +++ b/les/server.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package les implements the Light Ethereum Subprotocol. package les @@ -23,17 +23,17 @@ import ( "math" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/les/flowcontrol" - "github.com/ethereum/go-ethereum/light" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discv5" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/eth" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/les/flowcontrol" + "github.com/EtherFact-Project/go-etherfact/light" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discv5" + "github.com/EtherFact-Project/go-etherfact/rlp" ) type LesServer struct { diff --git a/les/serverpool.go b/les/serverpool.go index a84c29c3ac..5064fb935f 100644 --- a/les/serverpool.go +++ b/les/serverpool.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package les implements the Light Ethereum Subprotocol. package les @@ -27,13 +27,13 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/discv5" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common/mclock" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/discv5" + "github.com/EtherFact-Project/go-etherfact/rlp" ) const ( diff --git a/les/sync.go b/les/sync.go index c0e17f97d9..7f2899f43b 100644 --- a/les/sync.go +++ b/les/sync.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package les @@ -20,9 +20,9 @@ import ( "context" "time" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/light" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/light" ) const ( diff --git a/les/txrelay.go b/les/txrelay.go index 7a02cc837e..93c08f3a42 100644 --- a/les/txrelay.go +++ b/les/txrelay.go @@ -1,26 +1,26 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package les import ( "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" ) type ltrInfo struct { diff --git a/light/lightchain.go b/light/lightchain.go index 2784615d35..70cd5340b1 100644 --- a/light/lightchain.go +++ b/light/lightchain.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package light @@ -24,16 +24,16 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" "github.com/hashicorp/golang-lru" ) diff --git a/light/lightchain_test.go b/light/lightchain_test.go index 0af7551d41..a2b402151c 100644 --- a/light/lightchain_test.go +++ b/light/lightchain_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package light @@ -21,12 +21,12 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" ) // So we can deterministically seed different blockchains diff --git a/light/nodeset.go b/light/nodeset.go index 6f25219c13..3136278c99 100644 --- a/light/nodeset.go +++ b/light/nodeset.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package light @@ -20,10 +20,10 @@ import ( "errors" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // NodeSet stores a set of trie nodes. It implements trie.Database and can also diff --git a/light/odr.go b/light/odr.go index e2c3d9c5a4..64adecf85d 100644 --- a/light/odr.go +++ b/light/odr.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package light implements on-demand retrieval capable state and chain objects // for the Ethereum Light Client. @@ -22,10 +22,10 @@ import ( "context" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" ) // NoOdr is the default context passed to an ODR capable function when the ODR diff --git a/light/odr_test.go b/light/odr_test.go index d3f9374fd8..f23b22eb8f 100644 --- a/light/odr_test.go +++ b/light/odr_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package light @@ -24,18 +24,18 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/trie" ) var ( diff --git a/light/odr_util.go b/light/odr_util.go index d56330e36b..e1b9bc6e58 100644 --- a/light/odr_util.go +++ b/light/odr_util.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package light @@ -20,11 +20,11 @@ import ( "bytes" "context" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/rlp" ) var sha3_nil = crypto.Keccak256Hash(nil) diff --git a/light/postprocess.go b/light/postprocess.go index a1b1d9fb04..741b028c59 100644 --- a/light/postprocess.go +++ b/light/postprocess.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package light @@ -22,15 +22,15 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/bitutil" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/bitutil" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/trie" ) const ( diff --git a/light/trie.go b/light/trie.go index c07e99461c..930580e37c 100644 --- a/light/trie.go +++ b/light/trie.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package light @@ -21,12 +21,12 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/trie" ) func NewState(ctx context.Context, head *types.Header, odr OdrBackend) *state.StateDB { diff --git a/light/trie_test.go b/light/trie_test.go index 0d6b2cc1d8..4543723c2f 100644 --- a/light/trie_test.go +++ b/light/trie_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package light @@ -23,13 +23,13 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/trie" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/trie" ) func TestNodeIterator(t *testing.T) { diff --git a/light/txpool.go b/light/txpool.go index ca41490bdc..1be06d22b4 100644 --- a/light/txpool.go +++ b/light/txpool.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package light @@ -22,15 +22,15 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" ) const ( diff --git a/light/txpool_test.go b/light/txpool_test.go index 13d7d3cebb..50141aa7d3 100644 --- a/light/txpool_test.go +++ b/light/txpool_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package light @@ -23,13 +23,13 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" ) type testTxRelay struct { diff --git a/log/format.go b/log/format.go index 0b07abb2ac..9ec048bc3d 100644 --- a/log/format.go +++ b/log/format.go @@ -22,7 +22,7 @@ const ( // locationTrims are trimmed for display to avoid unwieldy log lines. var locationTrims = []string{ - "github.com/ethereum/go-ethereum/", + "github.com/EtherFact-Project/go-etherfact/", } // PrintOrigins sets or unsets log location (file:line) printing for terminal diff --git a/log/handler_glog.go b/log/handler_glog.go index f8b932fd1b..916e928398 100644 --- a/log/handler_glog.go +++ b/log/handler_glog.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package log diff --git a/metrics/disk.go b/metrics/disk.go index 25142d2ad1..66b05197b9 100644 --- a/metrics/disk.go +++ b/metrics/disk.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package metrics diff --git a/metrics/disk_linux.go b/metrics/disk_linux.go index 8d610cd674..1c4cd93cc2 100644 --- a/metrics/disk_linux.go +++ b/metrics/disk_linux.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the Linux implementation of process disk IO counter retrieval. diff --git a/metrics/disk_nop.go b/metrics/disk_nop.go index 4319f8b277..710dc4f660 100644 --- a/metrics/disk_nop.go +++ b/metrics/disk_nop.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build !linux diff --git a/metrics/exp/exp.go b/metrics/exp/exp.go index c19d00a94d..c93918d6a2 100644 --- a/metrics/exp/exp.go +++ b/metrics/exp/exp.go @@ -8,7 +8,7 @@ import ( "net/http" "sync" - "github.com/ethereum/go-ethereum/metrics" + "github.com/EtherFact-Project/go-etherfact/metrics" ) type exp struct { diff --git a/metrics/influxdb/influxdb.go b/metrics/influxdb/influxdb.go index d5cb4da66f..d9b50172df 100644 --- a/metrics/influxdb/influxdb.go +++ b/metrics/influxdb/influxdb.go @@ -6,7 +6,7 @@ import ( uurl "net/url" "time" - "github.com/ethereum/go-ethereum/metrics" + "github.com/EtherFact-Project/go-etherfact/metrics" "github.com/influxdata/influxdb/client" ) diff --git a/metrics/librato/librato.go b/metrics/librato/librato.go index f8c8c9ecb7..2d5892bc80 100644 --- a/metrics/librato/librato.go +++ b/metrics/librato/librato.go @@ -7,7 +7,7 @@ import ( "regexp" "time" - "github.com/ethereum/go-ethereum/metrics" + "github.com/EtherFact-Project/go-etherfact/metrics" ) // a regexp for extracting the unit from time.Duration.String diff --git a/metrics/metrics.go b/metrics/metrics.go index e24324814c..a4265d8487 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -11,7 +11,7 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // Enabled is checked by the constructor functions for all of the diff --git a/miner/agent.go b/miner/agent.go index e3cebbd2e2..2bf56c8e43 100644 --- a/miner/agent.go +++ b/miner/agent.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package miner @@ -21,8 +21,8 @@ import ( "sync/atomic" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/log" ) type CpuAgent struct { diff --git a/miner/miner.go b/miner/miner.go index d9256e9787..508de992f7 100644 --- a/miner/miner.go +++ b/miner/miner.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package miner implements Ethereum block creation and mining. package miner @@ -21,17 +21,17 @@ import ( "fmt" "sync/atomic" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/params" ) // Backend wraps all methods required for mining. diff --git a/miner/remote_agent.go b/miner/remote_agent.go index 287e7530c3..78aa9fc952 100644 --- a/miner/remote_agent.go +++ b/miner/remote_agent.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package miner @@ -23,11 +23,11 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/log" ) type hashrate struct { diff --git a/miner/unconfirmed.go b/miner/unconfirmed.go index 7a4fc7cc5a..d2924a146b 100644 --- a/miner/unconfirmed.go +++ b/miner/unconfirmed.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package miner @@ -20,9 +20,9 @@ import ( "container/ring" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/log" ) // headerRetriever is used by the unconfirmed block set to verify whether a previously diff --git a/miner/unconfirmed_test.go b/miner/unconfirmed_test.go index 456af1764a..221ec11030 100644 --- a/miner/unconfirmed_test.go +++ b/miner/unconfirmed_test.go @@ -1,26 +1,26 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package miner import ( "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" ) // noopHeaderRetriever is an implementation of headerRetriever that always diff --git a/miner/worker.go b/miner/worker.go index 15395ae0b9..bb007fc8e1 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package miner @@ -24,17 +24,17 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/consensus" - "github.com/ethereum/go-ethereum/consensus/misc" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/consensus" + "github.com/EtherFact-Project/go-etherfact/consensus/misc" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/params" "gopkg.in/fatih/set.v0" ) diff --git a/mobile/accounts.go b/mobile/accounts.go index 4d979bffff..90f9a3451e 100644 --- a/mobile/accounts.go +++ b/mobile/accounts.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains all the wrappers from the accounts package to support client side key // management on mobile platforms. @@ -23,10 +23,10 @@ import ( "errors" "time" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" ) const ( diff --git a/mobile/android_test.go b/mobile/android_test.go index 3d3bd66d08..9aebd78e5d 100644 --- a/mobile/android_test.go +++ b/mobile/android_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package geth @@ -25,7 +25,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/internal/build" + "github.com/EtherFact-Project/go-etherfact/internal/build" ) // androidTestClass is a Java class to do some lightweight tests against the Android @@ -120,7 +120,7 @@ public class AndroidTest extends InstrumentationTestCase { } // Tests that recovering transaction signers works for both Homestead and EIP155 - // signatures too. Regression test for go-ethereum issue #14599. + // signatures too. Regression test for go-etherfact issue #14599. public void testIssue14599() { try { byte[] preEIP155RLP = new BigInteger("f901fc8032830138808080b901ae60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b561ca0c5689ed1ad124753d54576dfb4b571465a41900a1dff4058d8adf16f752013d0a01221cbd70ec28c94a3b55ec771bcbc70778d6ee0b51ca7ea9514594c861b1884", 16).toByteArray(); @@ -207,7 +207,7 @@ func TestAndroid(t *testing.T) { } } // Generate the mobile bindings for Geth and add the tester class - gobind := exec.Command("gomobile", "bind", "-javapkg", "org.ethereum", "github.com/ethereum/go-ethereum/mobile") + gobind := exec.Command("gomobile", "bind", "-javapkg", "org.ethereum", "github.com/EtherFact-Project/go-etherfact/mobile") if output, err := gobind.CombinedOutput(); err != nil { t.Logf("%s", output) t.Fatalf("failed to run gomobile bind: %v", err) diff --git a/mobile/big.go b/mobile/big.go index dd7b158786..7101a52441 100644 --- a/mobile/big.go +++ b/mobile/big.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains all the wrappers from the math/big package. @@ -22,7 +22,7 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) // A BigInt represents a signed multi-precision integer. diff --git a/mobile/bind.go b/mobile/bind.go index d6e621a258..4bd70ac53d 100644 --- a/mobile/bind.go +++ b/mobile/bind.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains all the wrappers from the bind package. @@ -22,10 +22,10 @@ import ( "math/big" "strings" - "github.com/ethereum/go-ethereum/accounts/abi" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/accounts/abi" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" ) // Signer is an interaface defining the callback when a contract requires a diff --git a/mobile/common.go b/mobile/common.go index 047d8e1f65..67501aaff1 100644 --- a/mobile/common.go +++ b/mobile/common.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains all the wrappers from the common package. @@ -24,7 +24,7 @@ import ( "fmt" "strings" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) // Hash represents the 32 byte Keccak256 hash of arbitrary data. diff --git a/mobile/context.go b/mobile/context.go index f1fff90114..9d68d142bf 100644 --- a/mobile/context.go +++ b/mobile/context.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains all the wrappers from the golang.org/x/net/context package to support // client side context management on mobile platforms. diff --git a/mobile/discover.go b/mobile/discover.go index 9b3c93ccd9..a48d994246 100644 --- a/mobile/discover.go +++ b/mobile/discover.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains all the wrappers from the accounts package to support client side enode // management on mobile platforms. @@ -22,7 +22,7 @@ package geth import ( "errors" - "github.com/ethereum/go-ethereum/p2p/discv5" + "github.com/EtherFact-Project/go-etherfact/p2p/discv5" ) // Enode represents a host on the network. diff --git a/mobile/doc.go b/mobile/doc.go index 64d47bec2a..0a8e9e4bc6 100644 --- a/mobile/doc.go +++ b/mobile/doc.go @@ -1,23 +1,23 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . -// Package geth contains the simplified mobile APIs to go-ethereum. +// Package geth contains the simplified mobile APIs to go-etherfact. // // The scope of this package is *not* to allow writing a custom Ethereum client -// with pieces plucked from go-ethereum, rather to allow writing native dapps on +// with pieces plucked from go-etherfact, rather to allow writing native dapps on // mobile platforms. Keep this in mind when using or extending this package! // // API limitations @@ -33,13 +33,13 @@ // writing custom library generators, but those are out of scope now. // // Content wise each file in this package corresponds to an entire Go package -// from the go-ethereum repository. Please adhere to this scoping to prevent this +// from the go-etherfact repository. Please adhere to this scoping to prevent this // package getting unmaintainable. // // Wrapping guidelines: // // Every type that is to be exposed should be wrapped into its own plain struct, -// which internally contains a single field: the original go-ethereum version. +// which internally contains a single field: the original go-etherfact version. // This is needed because gomobile cannot expose named types for now. // // Whenever a method argument or a return type is a custom struct, the pointer diff --git a/mobile/ethclient.go b/mobile/ethclient.go index 66399c6b56..d8a563e6c4 100644 --- a/mobile/ethclient.go +++ b/mobile/ethclient.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains a wrapper for the Ethereum client. @@ -21,8 +21,8 @@ package geth import ( "math/big" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/ethclient" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/ethclient" ) // EthereumClient provides access to the Ethereum APIs. diff --git a/mobile/ethereum.go b/mobile/ethereum.go index 0eb1d90552..0ac32e7efe 100644 --- a/mobile/ethereum.go +++ b/mobile/ethereum.go @@ -1,28 +1,28 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . -// Contains all the wrappers from the go-ethereum root package. +// Contains all the wrappers from the go-etherfact root package. package geth import ( "errors" - ethereum "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common" + ethereum "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/common" ) // Subscription represents an event subscription where events are diff --git a/mobile/geth.go b/mobile/geth.go index 488a4150fc..00d4fb19c8 100644 --- a/mobile/geth.go +++ b/mobile/geth.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains all the wrappers from the node package to support client side node // management on mobile platforms. @@ -24,22 +24,22 @@ import ( "fmt" "path/filepath" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/eth" - "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/ethereum/go-ethereum/ethclient" - "github.com/ethereum/go-ethereum/ethstats" - "github.com/ethereum/go-ethereum/les" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/nat" - "github.com/ethereum/go-ethereum/params" - whisper "github.com/ethereum/go-ethereum/whisper/whisperv6" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/eth" + "github.com/EtherFact-Project/go-etherfact/eth/downloader" + "github.com/EtherFact-Project/go-etherfact/ethclient" + "github.com/EtherFact-Project/go-etherfact/ethstats" + "github.com/EtherFact-Project/go-etherfact/les" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/nat" + "github.com/EtherFact-Project/go-etherfact/params" + whisper "github.com/EtherFact-Project/go-etherfact/whisper/whisperv6" ) // NodeConfig represents the collection of configuration values to fine tune the Geth // node embedded into a mobile process. The available values are a subset of the -// entire API provided by go-ethereum to reduce the maintenance surface and dev +// entire API provided by go-etherfact to reduce the maintenance surface and dev // complexity. type NodeConfig struct { // Bootstrap nodes used to establish connectivity with the rest of the network. diff --git a/mobile/geth_android.go b/mobile/geth_android.go index 8e4ebe638f..82f070151f 100644 --- a/mobile/geth_android.go +++ b/mobile/geth_android.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build android diff --git a/mobile/geth_ios.go b/mobile/geth_ios.go index 307cd08580..7697dbb7cb 100644 --- a/mobile/geth_ios.go +++ b/mobile/geth_ios.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build ios diff --git a/mobile/geth_other.go b/mobile/geth_other.go index 6f0c5dda68..f1d12d1162 100644 --- a/mobile/geth_other.go +++ b/mobile/geth_other.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build !android,!ios diff --git a/mobile/init.go b/mobile/init.go index 2025d85edc..e0ed5c53ff 100644 --- a/mobile/init.go +++ b/mobile/init.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains initialization code for the mbile library. @@ -22,7 +22,7 @@ import ( "os" "runtime" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) func init() { diff --git a/mobile/interface.go b/mobile/interface.go index ac0c26088a..7e0fcff010 100644 --- a/mobile/interface.go +++ b/mobile/interface.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains perverted wrappers to allow crossing over empty interfaces. @@ -22,7 +22,7 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) // Interface represents a wrapped version of Go's interface{}, with the capacity diff --git a/mobile/logger.go b/mobile/logger.go index 7078c4fd2c..609e810552 100644 --- a/mobile/logger.go +++ b/mobile/logger.go @@ -1,25 +1,25 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package geth import ( "os" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // SetVerbosity sets the global verbosity level (between 0 and 6 - see logger/verbosity.go). diff --git a/mobile/p2p.go b/mobile/p2p.go index a80d9fff2e..dccbbb411c 100644 --- a/mobile/p2p.go +++ b/mobile/p2p.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains wrappers for the p2p package. @@ -21,7 +21,7 @@ package geth import ( "errors" - "github.com/ethereum/go-ethereum/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p" ) // NodeInfo represents pi short summary of the information known about the host. diff --git a/mobile/params.go b/mobile/params.go index 45fe870ee3..3db3614fc6 100644 --- a/mobile/params.go +++ b/mobile/params.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains all the wrappers from the params package. @@ -21,9 +21,9 @@ package geth import ( "encoding/json" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/p2p/discv5" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/p2p/discv5" + "github.com/EtherFact-Project/go-etherfact/params" ) // MainnetGenesis returns the JSON spec to use for the main Ethereum network. It diff --git a/mobile/primitives.go b/mobile/primitives.go index 5c6617fa47..9b9a2ce8f2 100644 --- a/mobile/primitives.go +++ b/mobile/primitives.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains various wrappers for primitive types. diff --git a/mobile/types.go b/mobile/types.go index 24cd7ebf11..e179aef2ac 100644 --- a/mobile/types.go +++ b/mobile/types.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains all the wrappers from the core/types package. @@ -23,9 +23,9 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // A Nonce is a 64-bit hash which proves (combined with the mix-hash) that diff --git a/mobile/vm.go b/mobile/vm.go index 72093e3d5b..b70cd59b9f 100644 --- a/mobile/vm.go +++ b/mobile/vm.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains all the wrappers from the core/types package. @@ -21,7 +21,7 @@ package geth import ( "errors" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/core/types" ) // Log represents a contract log event. These events are generated by the LOG diff --git a/node/api.go b/node/api.go index a3b8bc0bb5..f4f72ee362 100644 --- a/node/api.go +++ b/node/api.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package node @@ -22,12 +22,12 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // PrivateAdminAPI is the collection of administrative API methods exposed only diff --git a/node/config.go b/node/config.go index dda24583ee..a437c7d069 100644 --- a/node/config.go +++ b/node/config.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package node @@ -25,14 +25,14 @@ import ( "runtime" "strings" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/accounts/usbwallet" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/accounts/keystore" + "github.com/EtherFact-Project/go-etherfact/accounts/usbwallet" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" ) const ( @@ -405,7 +405,7 @@ func makeAccountManager(conf *Config) (*accounts.Manager, string, error) { var ephemeral string if keydir == "" { // There is no datadir. - keydir, err = ioutil.TempDir("", "go-ethereum-keystore") + keydir, err = ioutil.TempDir("", "go-etherfact-keystore") ephemeral = keydir } diff --git a/node/config_test.go b/node/config_test.go index b81d3d6120..b121d4a029 100644 --- a/node/config_test.go +++ b/node/config_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package node @@ -24,8 +24,8 @@ import ( "runtime" "testing" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/p2p" ) // Tests that datadirs can be successfully created, be them manually configured diff --git a/node/defaults.go b/node/defaults.go index 8875605807..a32ab8635f 100644 --- a/node/defaults.go +++ b/node/defaults.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package node @@ -22,8 +22,8 @@ import ( "path/filepath" "runtime" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/nat" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/nat" ) const ( diff --git a/node/doc.go b/node/doc.go index d9688e0a12..a8894fc4b8 100644 --- a/node/doc.go +++ b/node/doc.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . /* Package node sets up multi-protocol Ethereum nodes. diff --git a/node/errors.go b/node/errors.go index 2e0dadc4d6..c0ff2af34e 100644 --- a/node/errors.go +++ b/node/errors.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package node diff --git a/node/node.go b/node/node.go index b02aecfad1..5d956289a7 100644 --- a/node/node.go +++ b/node/node.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package node @@ -26,13 +26,13 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/internal/debug" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/internal/debug" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/rpc" "github.com/prometheus/prometheus/util/flock" ) diff --git a/node/node_example_test.go b/node/node_example_test.go index ee06f4065c..a9d6698ef5 100644 --- a/node/node_example_test.go +++ b/node/node_example_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package node_test @@ -20,9 +20,9 @@ import ( "fmt" "log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // SampleService is a trivial network service that can be attached to a node for diff --git a/node/node_test.go b/node/node_test.go index 2880efa619..9686711652 100644 --- a/node/node_test.go +++ b/node/node_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package node @@ -24,9 +24,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/rpc" ) var ( diff --git a/node/service.go b/node/service.go index 55062a5004..6e3b4718d2 100644 --- a/node/service.go +++ b/node/service.go @@ -1,29 +1,29 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package node import ( "reflect" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/accounts" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // ServiceContext is a collection of service independent options inherited from diff --git a/node/service_test.go b/node/service_test.go index a7ae439e0a..41270843db 100644 --- a/node/service_test.go +++ b/node/service_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package node diff --git a/node/utils_test.go b/node/utils_test.go index 8eddce3ed7..98b102dddc 100644 --- a/node/utils_test.go +++ b/node/utils_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains a batch of utility type declarations used by the tests. As the node // operates on unique types, a lot of them are needed to check various features. @@ -22,8 +22,8 @@ package node import ( "reflect" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // NoopService is a trivial implementation of the Service interface. diff --git a/p2p/dial.go b/p2p/dial.go index d8feceb9f3..ab34fde043 100644 --- a/p2p/dial.go +++ b/p2p/dial.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package p2p @@ -24,9 +24,9 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/netutil" ) const ( diff --git a/p2p/dial_test.go b/p2p/dial_test.go index 2a7941fc65..8e2772a542 100644 --- a/p2p/dial_test.go +++ b/p2p/dial_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package p2p @@ -24,8 +24,8 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/netutil" ) func init() { diff --git a/p2p/discover/database.go b/p2p/discover/database.go index 6f98de9b42..0d827fc812 100644 --- a/p2p/discover/database.go +++ b/p2p/discover/database.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the node database, storing previously seen nodes and any collected // metadata about them for QoS purposes. @@ -27,9 +27,9 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/rlp" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/iterator" diff --git a/p2p/discover/database_test.go b/p2p/discover/database_test.go index c4fa44d099..ef9b87bbb6 100644 --- a/p2p/discover/database_test.go +++ b/p2p/discover/database_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discover diff --git a/p2p/discover/node.go b/p2p/discover/node.go index 3b0c84115c..c8e20fd22f 100644 --- a/p2p/discover/node.go +++ b/p2p/discover/node.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discover @@ -31,9 +31,9 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/secp256k1" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/secp256k1" ) const NodeIDBits = 512 diff --git a/p2p/discover/node_test.go b/p2p/discover/node_test.go index ed8db4dc65..a570eea5ad 100644 --- a/p2p/discover/node_test.go +++ b/p2p/discover/node_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discover @@ -28,8 +28,8 @@ import ( "testing/quick" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" ) func ExampleNewNode() { diff --git a/p2p/discover/ntp.go b/p2p/discover/ntp.go index 1bb52399fb..909a558890 100644 --- a/p2p/discover/ntp.go +++ b/p2p/discover/ntp.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the NTP time drift detection via the SNTP protocol: // https://tools.ietf.org/html/rfc4330 @@ -25,7 +25,7 @@ import ( "sort" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) const ( diff --git a/p2p/discover/table.go b/p2p/discover/table.go index 6509326e69..3e5b928c69 100644 --- a/p2p/discover/table.go +++ b/p2p/discover/table.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package discover implements the Node Discovery Protocol. // @@ -33,10 +33,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p/netutil" ) const ( diff --git a/p2p/discover/table_test.go b/p2p/discover/table_test.go index 3ce48d2995..4e45327499 100644 --- a/p2p/discover/table_test.go +++ b/p2p/discover/table_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discover @@ -28,8 +28,8 @@ import ( "testing/quick" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" ) func TestTable_pingReplace(t *testing.T) { diff --git a/p2p/discover/udp.go b/p2p/discover/udp.go index 524c6e4988..6d2d166aac 100644 --- a/p2p/discover/udp.go +++ b/p2p/discover/udp.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discover @@ -25,11 +25,11 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/nat" - "github.com/ethereum/go-ethereum/p2p/netutil" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p/nat" + "github.com/EtherFact-Project/go-etherfact/p2p/netutil" + "github.com/EtherFact-Project/go-etherfact/rlp" ) const Version = 4 diff --git a/p2p/discover/udp_test.go b/p2p/discover/udp_test.go index db9804f7bc..9a3d056a20 100644 --- a/p2p/discover/udp_test.go +++ b/p2p/discover/udp_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discover @@ -34,9 +34,9 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/rlp" ) func init() { diff --git a/p2p/discv5/database.go b/p2p/discv5/database.go index 3c2d5744c3..e5f01e31b1 100644 --- a/p2p/discv5/database.go +++ b/p2p/discv5/database.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the node database, storing previously seen nodes and any collected // metadata about them for QoS purposes. @@ -28,9 +28,9 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/rlp" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/iterator" diff --git a/p2p/discv5/database_test.go b/p2p/discv5/database_test.go index a2ccb64671..ae9c92a366 100644 --- a/p2p/discv5/database_test.go +++ b/p2p/discv5/database_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discv5 diff --git a/p2p/discv5/net.go b/p2p/discv5/net.go index 52c677b623..6537cc17e8 100644 --- a/p2p/discv5/net.go +++ b/p2p/discv5/net.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discv5 @@ -24,13 +24,13 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/sha3" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/netutil" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/mclock" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p/netutil" + "github.com/EtherFact-Project/go-etherfact/rlp" ) var ( diff --git a/p2p/discv5/net_test.go b/p2p/discv5/net_test.go index 369282ca9c..2ceae63902 100644 --- a/p2p/discv5/net_test.go +++ b/p2p/discv5/net_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discv5 @@ -22,8 +22,8 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" ) func TestNetwork_Lookup(t *testing.T) { diff --git a/p2p/discv5/node.go b/p2p/discv5/node.go index fd88a55b15..469126bf62 100644 --- a/p2p/discv5/node.go +++ b/p2p/discv5/node.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discv5 @@ -30,8 +30,8 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" ) // Node represents a host on the network. diff --git a/p2p/discv5/node_test.go b/p2p/discv5/node_test.go index ce4ad9e4d4..29b0b97b17 100644 --- a/p2p/discv5/node_test.go +++ b/p2p/discv5/node_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discv5 @@ -27,8 +27,8 @@ import ( "testing/quick" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" ) func ExampleNewNode() { diff --git a/p2p/discv5/ntp.go b/p2p/discv5/ntp.go index 4fb5f657ae..ccd69720e4 100644 --- a/p2p/discv5/ntp.go +++ b/p2p/discv5/ntp.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the NTP time drift detection via the SNTP protocol: // https://tools.ietf.org/html/rfc4330 @@ -26,7 +26,7 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) const ( diff --git a/p2p/discv5/sim_run_test.go b/p2p/discv5/sim_run_test.go index bded0cc023..114b9f0751 100644 --- a/p2p/discv5/sim_run_test.go +++ b/p2p/discv5/sim_run_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discv5 diff --git a/p2p/discv5/sim_test.go b/p2p/discv5/sim_test.go index 543faecd48..bdcb8ba0bd 100644 --- a/p2p/discv5/sim_test.go +++ b/p2p/discv5/sim_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discv5 @@ -28,7 +28,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) // In this test, nodes try to randomly resolve each other. diff --git a/p2p/discv5/sim_testmain_test.go b/p2p/discv5/sim_testmain_test.go index 77e751c419..467455ed82 100644 --- a/p2p/discv5/sim_testmain_test.go +++ b/p2p/discv5/sim_testmain_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build go1.4,nacl,faketime_simulation diff --git a/p2p/discv5/table.go b/p2p/discv5/table.go index 2cf05009cb..6670b62cbb 100644 --- a/p2p/discv5/table.go +++ b/p2p/discv5/table.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package discv5 implements the RLPx v5 Topic Discovery Protocol. // @@ -29,7 +29,7 @@ import ( "net" "sort" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) const ( diff --git a/p2p/discv5/table_test.go b/p2p/discv5/table_test.go index a29943dab9..b3bac758e5 100644 --- a/p2p/discv5/table_test.go +++ b/p2p/discv5/table_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discv5 @@ -27,8 +27,8 @@ import ( "testing/quick" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" ) type nullTransport struct{} diff --git a/p2p/discv5/ticket.go b/p2p/discv5/ticket.go index b3d1ac4baf..4149eb1882 100644 --- a/p2p/discv5/ticket.go +++ b/p2p/discv5/ticket.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discv5 @@ -25,10 +25,10 @@ import ( "sort" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/mclock" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" ) const ( diff --git a/p2p/discv5/topic.go b/p2p/discv5/topic.go index e7a7f8e02a..bb82b1b404 100644 --- a/p2p/discv5/topic.go +++ b/p2p/discv5/topic.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discv5 @@ -23,8 +23,8 @@ import ( "math/rand" "time" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common/mclock" + "github.com/EtherFact-Project/go-etherfact/log" ) const ( diff --git a/p2p/discv5/topic_test.go b/p2p/discv5/topic_test.go index ba79993f29..37690590dc 100644 --- a/p2p/discv5/topic_test.go +++ b/p2p/discv5/topic_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discv5 @@ -21,8 +21,8 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/mclock" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/mclock" ) func TestTopicRadius(t *testing.T) { diff --git a/p2p/discv5/udp.go b/p2p/discv5/udp.go index 6ce72d2c15..f911aee43e 100644 --- a/p2p/discv5/udp.go +++ b/p2p/discv5/udp.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discv5 @@ -24,12 +24,12 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/nat" - "github.com/ethereum/go-ethereum/p2p/netutil" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p/nat" + "github.com/EtherFact-Project/go-etherfact/p2p/netutil" + "github.com/EtherFact-Project/go-etherfact/rlp" ) const Version = 4 diff --git a/p2p/discv5/udp_test.go b/p2p/discv5/udp_test.go index 7d31815947..e453634c51 100644 --- a/p2p/discv5/udp_test.go +++ b/p2p/discv5/udp_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package discv5 @@ -27,9 +27,9 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/rlp" ) func init() { diff --git a/p2p/enr/enr.go b/p2p/enr/enr.go index 2c3afb43e9..6a23be6971 100644 --- a/p2p/enr/enr.go +++ b/p2p/enr/enr.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package enr implements Ethereum Node Records as defined in EIP-778. A node record holds // arbitrary information about a node on the peer-to-peer network. @@ -35,9 +35,9 @@ import ( "io" "sort" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/sha3" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/rlp" ) const SizeLimit = 300 // maximum encoded size of a node record in bytes diff --git a/p2p/enr/enr_test.go b/p2p/enr/enr_test.go index ce7767d105..d00834511a 100644 --- a/p2p/enr/enr_test.go +++ b/p2p/enr/enr_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package enr @@ -24,8 +24,8 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/rlp" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/p2p/enr/entries.go b/p2p/enr/entries.go index 7591e6effb..3841e186d3 100644 --- a/p2p/enr/entries.go +++ b/p2p/enr/entries.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package enr @@ -22,8 +22,8 @@ import ( "io" "net" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // Entry is implemented by known node record entry types. diff --git a/p2p/message.go b/p2p/message.go index 50b419970d..1aef7a9594 100644 --- a/p2p/message.go +++ b/p2p/message.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package p2p @@ -25,9 +25,9 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // Msg defines the structure of a p2p message. diff --git a/p2p/message_test.go b/p2p/message_test.go index a01f755561..2f76c8f287 100644 --- a/p2p/message_test.go +++ b/p2p/message_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package p2p diff --git a/p2p/metrics.go b/p2p/metrics.go index 4cbff90aca..660e7aa8db 100644 --- a/p2p/metrics.go +++ b/p2p/metrics.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the meters and timers used by the networking layer. @@ -21,7 +21,7 @@ package p2p import ( "net" - "github.com/ethereum/go-ethereum/metrics" + "github.com/EtherFact-Project/go-etherfact/metrics" ) var ( diff --git a/p2p/nat/nat.go b/p2p/nat/nat.go index a254648c66..b852701b66 100644 --- a/p2p/nat/nat.go +++ b/p2p/nat/nat.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package nat provides access to common network port mapping protocols. package nat @@ -25,7 +25,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" "github.com/jackpal/go-nat-pmp" ) diff --git a/p2p/nat/nat_test.go b/p2p/nat/nat_test.go index 469101e997..74a7dba81b 100644 --- a/p2p/nat/nat_test.go +++ b/p2p/nat/nat_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package nat diff --git a/p2p/nat/natpmp.go b/p2p/nat/natpmp.go index 577a424fbe..37b699afe4 100644 --- a/p2p/nat/natpmp.go +++ b/p2p/nat/natpmp.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package nat diff --git a/p2p/nat/natupnp.go b/p2p/nat/natupnp.go index 69099ac043..4f7e8d0751 100644 --- a/p2p/nat/natupnp.go +++ b/p2p/nat/natupnp.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package nat diff --git a/p2p/nat/natupnp_test.go b/p2p/nat/natupnp_test.go index 79f6d25ae8..3dc82e2f7b 100644 --- a/p2p/nat/natupnp_test.go +++ b/p2p/nat/natupnp_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package nat diff --git a/p2p/netutil/error.go b/p2p/netutil/error.go index cb21b9cd4c..9a1333d303 100644 --- a/p2p/netutil/error.go +++ b/p2p/netutil/error.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package netutil diff --git a/p2p/netutil/error_test.go b/p2p/netutil/error_test.go index 645e48f837..dda7010b57 100644 --- a/p2p/netutil/error_test.go +++ b/p2p/netutil/error_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package netutil diff --git a/p2p/netutil/net.go b/p2p/netutil/net.go index 656abb6825..6f3e2a3578 100644 --- a/p2p/netutil/net.go +++ b/p2p/netutil/net.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package netutil contains extensions to the net package. package netutil diff --git a/p2p/netutil/net_test.go b/p2p/netutil/net_test.go index 3a6aa081f2..44099e938b 100644 --- a/p2p/netutil/net_test.go +++ b/p2p/netutil/net_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package netutil diff --git a/p2p/netutil/toobig_notwindows.go b/p2p/netutil/toobig_notwindows.go index 47b6438572..0b817ae50a 100644 --- a/p2p/netutil/toobig_notwindows.go +++ b/p2p/netutil/toobig_notwindows.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . //+build !windows diff --git a/p2p/netutil/toobig_windows.go b/p2p/netutil/toobig_windows.go index dfbb6d44f0..dcdeeb36e2 100644 --- a/p2p/netutil/toobig_windows.go +++ b/p2p/netutil/toobig_windows.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . //+build windows diff --git a/p2p/peer.go b/p2p/peer.go index 477d8c2190..feef80eed0 100644 --- a/p2p/peer.go +++ b/p2p/peer.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package p2p @@ -24,11 +24,11 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common/mclock" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/rlp" ) const ( diff --git a/p2p/peer_error.go b/p2p/peer_error.go index a1cddb707b..0d96cf61f6 100644 --- a/p2p/peer_error.go +++ b/p2p/peer_error.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package p2p diff --git a/p2p/peer_test.go b/p2p/peer_test.go index a3e1c74fd8..3e7a666aba 100644 --- a/p2p/peer_test.go +++ b/p2p/peer_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package p2p diff --git a/p2p/protocol.go b/p2p/protocol.go index ee747ba23d..c31a6f6dd9 100644 --- a/p2p/protocol.go +++ b/p2p/protocol.go @@ -1,25 +1,25 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package p2p import ( "fmt" - "github.com/ethereum/go-ethereum/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" ) // Protocol represents a P2P subprotocol implementation. diff --git a/p2p/protocols/protocol.go b/p2p/protocols/protocol.go index 9914c99587..74f455a7bf 100644 --- a/p2p/protocols/protocol.go +++ b/p2p/protocols/protocol.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . /* Package protocols is an extension to p2p. It offers a user friendly simple way to define @@ -34,7 +34,7 @@ import ( "reflect" "sync" - "github.com/ethereum/go-ethereum/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p" ) // error codes used by this protocol scheme diff --git a/p2p/protocols/protocol_test.go b/p2p/protocols/protocol_test.go index 053f537a62..66be01eb75 100644 --- a/p2p/protocols/protocol_test.go +++ b/p2p/protocols/protocol_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package protocols @@ -23,10 +23,10 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" - p2ptest "github.com/ethereum/go-ethereum/p2p/testing" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/simulations/adapters" + p2ptest "github.com/EtherFact-Project/go-etherfact/p2p/testing" ) // handshake message type diff --git a/p2p/rlpx.go b/p2p/rlpx.go index a320e81e7c..857188a390 100644 --- a/p2p/rlpx.go +++ b/p2p/rlpx.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package p2p @@ -35,12 +35,12 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/ecies" - "github.com/ethereum/go-ethereum/crypto/secp256k1" - "github.com/ethereum/go-ethereum/crypto/sha3" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/ecies" + "github.com/EtherFact-Project/go-etherfact/crypto/secp256k1" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/rlp" "github.com/golang/snappy" ) diff --git a/p2p/rlpx_test.go b/p2p/rlpx_test.go index bca4604021..2e8e1efde3 100644 --- a/p2p/rlpx_test.go +++ b/p2p/rlpx_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package p2p @@ -31,11 +31,11 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/ecies" - "github.com/ethereum/go-ethereum/crypto/sha3" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/ecies" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/rlp" ) func TestSharedSecret(t *testing.T) { diff --git a/p2p/server.go b/p2p/server.go index c41d1dc156..22ebd4b982 100644 --- a/p2p/server.go +++ b/p2p/server.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package p2p implements the Ethereum p2p network protocols. package p2p @@ -25,14 +25,14 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/mclock" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/discv5" - "github.com/ethereum/go-ethereum/p2p/nat" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/mclock" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/discv5" + "github.com/EtherFact-Project/go-etherfact/p2p/nat" + "github.com/EtherFact-Project/go-etherfact/p2p/netutil" ) const ( diff --git a/p2p/server_test.go b/p2p/server_test.go index 10c36528eb..989d60a205 100644 --- a/p2p/server_test.go +++ b/p2p/server_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package p2p @@ -25,10 +25,10 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/sha3" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" ) func init() { diff --git a/p2p/simulations/adapters/docker.go b/p2p/simulations/adapters/docker.go index 8ef5629fb5..1347a6970d 100644 --- a/p2p/simulations/adapters/docker.go +++ b/p2p/simulations/adapters/docker.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package adapters @@ -28,9 +28,9 @@ import ( "strings" "github.com/docker/docker/pkg/reexec" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" ) // DockerAdapter is a NodeAdapter which runs simulation nodes inside Docker diff --git a/p2p/simulations/adapters/exec.go b/p2p/simulations/adapters/exec.go index a566fb27d8..83ac37240c 100644 --- a/p2p/simulations/adapters/exec.go +++ b/p2p/simulations/adapters/exec.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package adapters @@ -36,11 +36,11 @@ import ( "time" "github.com/docker/docker/pkg/reexec" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/rpc" "golang.org/x/net/websocket" ) diff --git a/p2p/simulations/adapters/inproc.go b/p2p/simulations/adapters/inproc.go index 48d7c17301..60c47ac7c8 100644 --- a/p2p/simulations/adapters/inproc.go +++ b/p2p/simulations/adapters/inproc.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package adapters @@ -23,12 +23,12 @@ import ( "net" "sync" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // SimAdapter is a NodeAdapter which creates in-memory simulation nodes and diff --git a/p2p/simulations/adapters/state.go b/p2p/simulations/adapters/state.go index 0d4ecfb0ff..cc5c13fdd4 100644 --- a/p2p/simulations/adapters/state.go +++ b/p2p/simulations/adapters/state.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package adapters diff --git a/p2p/simulations/adapters/types.go b/p2p/simulations/adapters/types.go index 5b4b47fe2f..56e5f84fff 100644 --- a/p2p/simulations/adapters/types.go +++ b/p2p/simulations/adapters/types.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package adapters @@ -25,11 +25,11 @@ import ( "os" "github.com/docker/docker/pkg/reexec" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // Node represents a node in a simulation network which is created by a diff --git a/p2p/simulations/events.go b/p2p/simulations/events.go index f17958c689..a253d202e8 100644 --- a/p2p/simulations/events.go +++ b/p2p/simulations/events.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package simulations diff --git a/p2p/simulations/examples/ping-pong.go b/p2p/simulations/examples/ping-pong.go index 6a0ead53a5..26571277a0 100644 --- a/p2p/simulations/examples/ping-pong.go +++ b/p2p/simulations/examples/ping-pong.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package main @@ -25,13 +25,13 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/simulations" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/simulations" + "github.com/EtherFact-Project/go-etherfact/p2p/simulations/adapters" + "github.com/EtherFact-Project/go-etherfact/rpc" ) var adapterType = flag.String("adapter", "sim", `node adapter to use (one of "sim", "exec" or "docker")`) diff --git a/p2p/simulations/http.go b/p2p/simulations/http.go index 97dd742e88..799f0d8575 100644 --- a/p2p/simulations/http.go +++ b/p2p/simulations/http.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package simulations @@ -29,11 +29,11 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/simulations/adapters" + "github.com/EtherFact-Project/go-etherfact/rpc" "github.com/julienschmidt/httprouter" "golang.org/x/net/websocket" ) diff --git a/p2p/simulations/http_test.go b/p2p/simulations/http_test.go index 677a8fb147..6e3d3e5db2 100644 --- a/p2p/simulations/http_test.go +++ b/p2p/simulations/http_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package simulations @@ -27,12 +27,12 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/simulations/adapters" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // testService implements the node.Service interface and provides protocols diff --git a/p2p/simulations/mocker.go b/p2p/simulations/mocker.go index c38e288552..7ac2baad25 100644 --- a/p2p/simulations/mocker.go +++ b/p2p/simulations/mocker.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package simulations simulates p2p networks. // A mocker simulates starting and stopping real nodes in a network. @@ -24,8 +24,8 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" ) //a map of mocker names to its function diff --git a/p2p/simulations/mocker_test.go b/p2p/simulations/mocker_test.go index de8ec0b337..641f3971f7 100644 --- a/p2p/simulations/mocker_test.go +++ b/p2p/simulations/mocker_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package simulations simulates p2p networks. // A mokcer simulates starting and stopping real nodes in a network. @@ -27,7 +27,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" ) func TestMocker(t *testing.T) { diff --git a/p2p/simulations/network.go b/p2p/simulations/network.go index caf428ece1..976889d63d 100644 --- a/p2p/simulations/network.go +++ b/p2p/simulations/network.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package simulations @@ -24,11 +24,11 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" + "github.com/EtherFact-Project/go-etherfact/event" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/simulations/adapters" ) var dialBanTimeout = 200 * time.Millisecond diff --git a/p2p/simulations/network_test.go b/p2p/simulations/network_test.go index 2a062121be..964ba96c07 100644 --- a/p2p/simulations/network_test.go +++ b/p2p/simulations/network_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package simulations @@ -22,8 +22,8 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/simulations/adapters" ) // TestNetworkSimulation creates a multi-node simulation network with each node diff --git a/p2p/simulations/simulation.go b/p2p/simulations/simulation.go index 28886e924a..5b8856b0d2 100644 --- a/p2p/simulations/simulation.go +++ b/p2p/simulations/simulation.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package simulations @@ -20,7 +20,7 @@ import ( "context" "time" - "github.com/ethereum/go-ethereum/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" ) // Simulation provides a framework for running actions in a simulated network diff --git a/p2p/testing/peerpool.go b/p2p/testing/peerpool.go index 45c6e61425..992a26af90 100644 --- a/p2p/testing/peerpool.go +++ b/p2p/testing/peerpool.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package testing @@ -20,8 +20,8 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" ) type TestPeer interface { diff --git a/p2p/testing/protocolsession.go b/p2p/testing/protocolsession.go index 361285f06e..c765f4f23b 100644 --- a/p2p/testing/protocolsession.go +++ b/p2p/testing/protocolsession.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package testing @@ -22,10 +22,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/simulations/adapters" ) var errTimedOut = errors.New("timed out") diff --git a/p2p/testing/protocoltester.go b/p2p/testing/protocoltester.go index a797412d60..62c4362da9 100644 --- a/p2p/testing/protocoltester.go +++ b/p2p/testing/protocoltester.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . /* the p2p/testing package provides a unit test scheme to check simple @@ -32,14 +32,14 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/simulations" - "github.com/ethereum/go-ethereum/p2p/simulations/adapters" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/simulations" + "github.com/EtherFact-Project/go-etherfact/p2p/simulations/adapters" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // ProtocolTester is the tester environment used for unit testing protocol diff --git a/params/bootnodes.go b/params/bootnodes.go index c7190ae670..0d3a077f31 100644 --- a/params/bootnodes.go +++ b/params/bootnodes.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package params diff --git a/params/config.go b/params/config.go index dc02c7ca37..484e07d77a 100644 --- a/params/config.go +++ b/params/config.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package params @@ -20,7 +20,7 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) var ( diff --git a/params/config_test.go b/params/config_test.go index 02c5fe2917..344274a708 100644 --- a/params/config_test.go +++ b/params/config_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package params diff --git a/params/dao.go b/params/dao.go index da3c8dfc99..40710e4590 100644 --- a/params/dao.go +++ b/params/dao.go @@ -1,25 +1,25 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package params import ( "math/big" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) // DAOForkBlockExtra is the block header extra-data field to set for the DAO fork diff --git a/params/denomination.go b/params/denomination.go index 9e1b52506f..86a4d14249 100644 --- a/params/denomination.go +++ b/params/denomination.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package params diff --git a/params/gas_table.go b/params/gas_table.go index 4969382b1b..817e617aab 100644 --- a/params/gas_table.go +++ b/params/gas_table.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package params diff --git a/params/network_params.go b/params/network_params.go index 536a46d3df..7ca3e04b71 100644 --- a/params/network_params.go +++ b/params/network_params.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package params diff --git a/params/protocol_params.go b/params/protocol_params.go index 5a0b14d61a..56b2a72c0a 100644 --- a/params/protocol_params.go +++ b/params/protocol_params.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package params diff --git a/params/version.go b/params/version.go index 181f84631e..b46d8129c3 100644 --- a/params/version.go +++ b/params/version.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package params diff --git a/rlp/decode.go b/rlp/decode.go index 60d9dab2b5..2533ab87a2 100644 --- a/rlp/decode.go +++ b/rlp/decode.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rlp diff --git a/rlp/decode_tail_test.go b/rlp/decode_tail_test.go index 884c1148b2..44039a3833 100644 --- a/rlp/decode_tail_test.go +++ b/rlp/decode_tail_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rlp diff --git a/rlp/decode_test.go b/rlp/decode_test.go index 4d8abd0012..ef6d78c986 100644 --- a/rlp/decode_test.go +++ b/rlp/decode_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rlp diff --git a/rlp/doc.go b/rlp/doc.go index b3a81fe232..648411a04e 100644 --- a/rlp/doc.go +++ b/rlp/doc.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . /* Package rlp implements the RLP serialization format. diff --git a/rlp/encode.go b/rlp/encode.go index 44592c2f53..a8135c1f56 100644 --- a/rlp/encode.go +++ b/rlp/encode.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rlp diff --git a/rlp/encode_test.go b/rlp/encode_test.go index 827960f7c1..b207f8661c 100644 --- a/rlp/encode_test.go +++ b/rlp/encode_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rlp diff --git a/rlp/encoder_example_test.go b/rlp/encoder_example_test.go index 1cffa241c2..7ad36da9c4 100644 --- a/rlp/encoder_example_test.go +++ b/rlp/encoder_example_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rlp diff --git a/rlp/raw.go b/rlp/raw.go index 2b3f328f66..dffd4df524 100644 --- a/rlp/raw.go +++ b/rlp/raw.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rlp diff --git a/rlp/raw_test.go b/rlp/raw_test.go index 2aad042100..716fa2aec7 100644 --- a/rlp/raw_test.go +++ b/rlp/raw_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rlp diff --git a/rlp/typecache.go b/rlp/typecache.go index 3df799e1ec..69775532ff 100644 --- a/rlp/typecache.go +++ b/rlp/typecache.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rlp diff --git a/rpc/client.go b/rpc/client.go index 8aa84ec982..cae782cc55 100644 --- a/rpc/client.go +++ b/rpc/client.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc @@ -32,7 +32,7 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) var ( diff --git a/rpc/client_example_test.go b/rpc/client_example_test.go index 8276a9eadd..dcd4c58544 100644 --- a/rpc/client_example_test.go +++ b/rpc/client_example_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc_test @@ -22,7 +22,7 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/rpc" ) // In this example, our client whishes to track the latest 'block number' diff --git a/rpc/client_test.go b/rpc/client_test.go index 4f354d389e..d4167335fd 100644 --- a/rpc/client_test.go +++ b/rpc/client_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc @@ -31,7 +31,7 @@ import ( "time" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) func TestClientRequest(t *testing.T) { @@ -520,7 +520,7 @@ func httpTestClient(srv *Server, transport string, fl *flakeyListener) (*Client, func ipcTestClient(srv *Server, fl *flakeyListener) (*Client, net.Listener) { // Listen on a random endpoint. - endpoint := fmt.Sprintf("go-ethereum-test-ipc-%d-%d", os.Getpid(), rand.Int63()) + endpoint := fmt.Sprintf("go-etherfact-test-ipc-%d-%d", os.Getpid(), rand.Int63()) if runtime.GOOS == "windows" { endpoint = `\\.\pipe\` + endpoint } else { diff --git a/rpc/doc.go b/rpc/doc.go index 14b3780ade..03a19eef9b 100644 --- a/rpc/doc.go +++ b/rpc/doc.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . /* Package rpc provides access to the exported methods of an object across a network diff --git a/rpc/errors.go b/rpc/errors.go index 9cf9dc60c2..1f189cb5b1 100644 --- a/rpc/errors.go +++ b/rpc/errors.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc diff --git a/rpc/http.go b/rpc/http.go index e8f51150f4..258624dd82 100644 --- a/rpc/http.go +++ b/rpc/http.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc diff --git a/rpc/http_test.go b/rpc/http_test.go index b3f694d8af..cfb83f7ad8 100644 --- a/rpc/http_test.go +++ b/rpc/http_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc diff --git a/rpc/inproc.go b/rpc/inproc.go index 595a7ca651..5fcec1a88a 100644 --- a/rpc/inproc.go +++ b/rpc/inproc.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc diff --git a/rpc/ipc.go b/rpc/ipc.go index 8de18a56fe..740558eb59 100644 --- a/rpc/ipc.go +++ b/rpc/ipc.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc @@ -21,7 +21,7 @@ import ( "fmt" "net" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // CreateIPCListener creates an listener, on Unix platforms this is a unix socket, on diff --git a/rpc/ipc_unix.go b/rpc/ipc_unix.go index 0851ea61e1..b03d2797fe 100644 --- a/rpc/ipc_unix.go +++ b/rpc/ipc_unix.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris diff --git a/rpc/ipc_windows.go b/rpc/ipc_windows.go index ca56a3ce43..bb8c44be7f 100644 --- a/rpc/ipc_windows.go +++ b/rpc/ipc_windows.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build windows diff --git a/rpc/json.go b/rpc/json.go index 837011f51b..75457474e7 100644 --- a/rpc/json.go +++ b/rpc/json.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc @@ -26,7 +26,7 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) const ( diff --git a/rpc/json_test.go b/rpc/json_test.go index 5048d2f7a0..7be3741531 100644 --- a/rpc/json_test.go +++ b/rpc/json_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc diff --git a/rpc/server.go b/rpc/server.go index 11373b504c..c8e24e6746 100644 --- a/rpc/server.go +++ b/rpc/server.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc @@ -25,7 +25,7 @@ import ( "sync" "sync/atomic" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" "gopkg.in/fatih/set.v0" ) diff --git a/rpc/server_test.go b/rpc/server_test.go index 90d62f26d8..91951c606b 100644 --- a/rpc/server_test.go +++ b/rpc/server_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc diff --git a/rpc/subscription.go b/rpc/subscription.go index 6ce7befa1d..aef1eb91b0 100644 --- a/rpc/subscription.go +++ b/rpc/subscription.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc diff --git a/rpc/subscription_test.go b/rpc/subscription_test.go index 0ba177e63b..2712e12cf6 100644 --- a/rpc/subscription_test.go +++ b/rpc/subscription_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc diff --git a/rpc/types.go b/rpc/types.go index f2375604ed..d1d040334a 100644 --- a/rpc/types.go +++ b/rpc/types.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc @@ -23,7 +23,7 @@ import ( "strings" "sync" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" "gopkg.in/fatih/set.v0" ) diff --git a/rpc/types_test.go b/rpc/types_test.go index 68b6d3c54f..7b0b459c6d 100644 --- a/rpc/types_test.go +++ b/rpc/types_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc @@ -20,7 +20,7 @@ import ( "encoding/json" "testing" - "github.com/ethereum/go-ethereum/common/math" + "github.com/EtherFact-Project/go-etherfact/common/math" ) func TestBlockNumberJSONUnmarshal(t *testing.T) { diff --git a/rpc/utils.go b/rpc/utils.go index 9315cab591..c2f00eca65 100644 --- a/rpc/utils.go +++ b/rpc/utils.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc diff --git a/rpc/utils_test.go b/rpc/utils_test.go index e0e063f607..015ee0b13a 100644 --- a/rpc/utils_test.go +++ b/rpc/utils_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc diff --git a/rpc/websocket.go b/rpc/websocket.go index a6e1cec28a..15dec6b007 100644 --- a/rpc/websocket.go +++ b/rpc/websocket.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package rpc @@ -29,7 +29,7 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" "golang.org/x/net/websocket" "gopkg.in/fatih/set.v0" ) diff --git a/swarm/api/api.go b/swarm/api/api.go index 0cf12fdbed..08df226495 100644 --- a/swarm/api/api.go +++ b/swarm/api/api.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package api @@ -30,10 +30,10 @@ import ( "path/filepath" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) var hashMatcher = regexp.MustCompile("^[0-9A-Fa-f]{64}") diff --git a/swarm/api/api_test.go b/swarm/api/api_test.go index 4ee26bd8ad..8c061fe9dd 100644 --- a/swarm/api/api_test.go +++ b/swarm/api/api_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package api @@ -24,9 +24,9 @@ import ( "os" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) func testApi(t *testing.T, f func(*Api)) { diff --git a/swarm/api/client/client.go b/swarm/api/client/client.go index 8165d52d7e..90d8507240 100644 --- a/swarm/api/client/client.go +++ b/swarm/api/client/client.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package client @@ -33,7 +33,7 @@ import ( "strconv" "strings" - "github.com/ethereum/go-ethereum/swarm/api" + "github.com/EtherFact-Project/go-etherfact/swarm/api" ) var ( diff --git a/swarm/api/client/client_test.go b/swarm/api/client/client_test.go index c1d144e370..0d15006ba3 100644 --- a/swarm/api/client/client_test.go +++ b/swarm/api/client/client_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package client @@ -25,8 +25,8 @@ import ( "sort" "testing" - "github.com/ethereum/go-ethereum/swarm/api" - "github.com/ethereum/go-ethereum/swarm/testutil" + "github.com/EtherFact-Project/go-etherfact/swarm/api" + "github.com/EtherFact-Project/go-etherfact/swarm/testutil" ) // TestClientUploadDownloadRaw test uploading and downloading raw data to swarm diff --git a/swarm/api/config.go b/swarm/api/config.go index 6b224140a4..f5b167ca68 100644 --- a/swarm/api/config.go +++ b/swarm/api/config.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package api @@ -22,14 +22,14 @@ import ( "os" "path/filepath" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/contracts/ens" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/swarm/network" - "github.com/ethereum/go-ethereum/swarm/services/swap" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/contracts/ens" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/swarm/network" + "github.com/EtherFact-Project/go-etherfact/swarm/services/swap" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) const ( diff --git a/swarm/api/config_test.go b/swarm/api/config_test.go index 5636b6dafb..00a422076b 100644 --- a/swarm/api/config_test.go +++ b/swarm/api/config_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package api @@ -20,8 +20,8 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" ) func TestConfig(t *testing.T) { diff --git a/swarm/api/filesystem.go b/swarm/api/filesystem.go index f5dc90e2e5..4cf79e3044 100644 --- a/swarm/api/filesystem.go +++ b/swarm/api/filesystem.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package api @@ -26,9 +26,9 @@ import ( "path/filepath" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) const maxParallelFiles = 5 diff --git a/swarm/api/filesystem_test.go b/swarm/api/filesystem_test.go index 8a15e735dc..c6adab9dca 100644 --- a/swarm/api/filesystem_test.go +++ b/swarm/api/filesystem_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package api @@ -24,8 +24,8 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) var testDownloadDir, _ = ioutil.TempDir(os.TempDir(), "bzz-test") diff --git a/swarm/api/http/error.go b/swarm/api/http/error.go index 9a65412cf9..d2fab85636 100644 --- a/swarm/api/http/error.go +++ b/swarm/api/http/error.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . /* Show nicely (but simple) formatted HTML error pages (or respond with JSON @@ -28,9 +28,9 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/swarm/api" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/swarm/api" ) //templateMap holds a mapping of an HTTP error code to a template diff --git a/swarm/api/http/error_templates.go b/swarm/api/http/error_templates.go index cc9b996ba4..8cd8d7365c 100644 --- a/swarm/api/http/error_templates.go +++ b/swarm/api/http/error_templates.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . /* We use html templates to handle simple but as informative as possible error pages. diff --git a/swarm/api/http/error_test.go b/swarm/api/http/error_test.go index dc545722e1..7bd96d233f 100644 --- a/swarm/api/http/error_test.go +++ b/swarm/api/http/error_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package http_test @@ -25,7 +25,7 @@ import ( "golang.org/x/net/html" - "github.com/ethereum/go-ethereum/swarm/testutil" + "github.com/EtherFact-Project/go-etherfact/swarm/testutil" ) func TestError(t *testing.T) { diff --git a/swarm/api/http/roundtripper.go b/swarm/api/http/roundtripper.go index 0194317716..e18842823b 100644 --- a/swarm/api/http/roundtripper.go +++ b/swarm/api/http/roundtripper.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package http @@ -20,17 +20,17 @@ import ( "fmt" "net/http" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) /* http roundtripper to register for bzz url scheme -see https://github.com/ethereum/go-ethereum/issues/2040 +see https://github.com/EtherFact-Project/go-etherfact/issues/2040 Usage: import ( - "github.com/ethereum/go-ethereum/common/httpclient" - "github.com/ethereum/go-ethereum/swarm/api/http" + "github.com/EtherFact-Project/go-etherfact/common/httpclient" + "github.com/EtherFact-Project/go-etherfact/swarm/api/http" ) client := httpclient.New() // for (private) swarm proxy running locally diff --git a/swarm/api/http/roundtripper_test.go b/swarm/api/http/roundtripper_test.go index f99c4f35e0..7ed9079fb7 100644 --- a/swarm/api/http/roundtripper_test.go +++ b/swarm/api/http/roundtripper_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package http diff --git a/swarm/api/http/server.go b/swarm/api/http/server.go index b8e7436cf0..2c3ab86dc8 100644 --- a/swarm/api/http/server.go +++ b/swarm/api/http/server.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . /* A simple http server interface to Swarm @@ -35,11 +35,11 @@ import ( "strings" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/swarm/api" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/swarm/api" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" "github.com/rs/cors" ) diff --git a/swarm/api/http/server_test.go b/swarm/api/http/server_test.go index b2efc0ea15..63f3adfb65 100644 --- a/swarm/api/http/server_test.go +++ b/swarm/api/http/server_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package http_test @@ -26,11 +26,11 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/swarm/api" - swarm "github.com/ethereum/go-ethereum/swarm/api/client" - "github.com/ethereum/go-ethereum/swarm/storage" - "github.com/ethereum/go-ethereum/swarm/testutil" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/swarm/api" + swarm "github.com/EtherFact-Project/go-etherfact/swarm/api/client" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/swarm/testutil" ) func TestBzzGetPath(t *testing.T) { diff --git a/swarm/api/http/templates.go b/swarm/api/http/templates.go index cd9d212897..73bbe381fb 100644 --- a/swarm/api/http/templates.go +++ b/swarm/api/http/templates.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package http @@ -20,7 +20,7 @@ import ( "html/template" "path" - "github.com/ethereum/go-ethereum/swarm/api" + "github.com/EtherFact-Project/go-etherfact/swarm/api" ) type htmlListData struct { diff --git a/swarm/api/manifest.go b/swarm/api/manifest.go index 685a300fca..f4a39f23f4 100644 --- a/swarm/api/manifest.go +++ b/swarm/api/manifest.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package api @@ -27,9 +27,9 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) const ( diff --git a/swarm/api/manifest_test.go b/swarm/api/manifest_test.go index 7098ca16fd..e2aeccecca 100644 --- a/swarm/api/manifest_test.go +++ b/swarm/api/manifest_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package api @@ -25,7 +25,7 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) func manifest(paths ...string) (manifestReader storage.LazySectionReader) { diff --git a/swarm/api/storage.go b/swarm/api/storage.go index 0e3abecfe4..c4e0b340f0 100644 --- a/swarm/api/storage.go +++ b/swarm/api/storage.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package api diff --git a/swarm/api/storage_test.go b/swarm/api/storage_test.go index d260dd61d8..fcec812bbe 100644 --- a/swarm/api/storage_test.go +++ b/swarm/api/storage_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package api diff --git a/swarm/api/testapi.go b/swarm/api/testapi.go index 6631196c17..1c22eb2f31 100644 --- a/swarm/api/testapi.go +++ b/swarm/api/testapi.go @@ -1,23 +1,23 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package api import ( - "github.com/ethereum/go-ethereum/swarm/network" + "github.com/EtherFact-Project/go-etherfact/swarm/network" ) type Control struct { diff --git a/swarm/api/uri.go b/swarm/api/uri.go index d8aafedf41..dd64480591 100644 --- a/swarm/api/uri.go +++ b/swarm/api/uri.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package api diff --git a/swarm/api/uri_test.go b/swarm/api/uri_test.go index 137b4505d4..c9d77c6d25 100644 --- a/swarm/api/uri_test.go +++ b/swarm/api/uri_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package api diff --git a/swarm/fuse/fuse_dir.go b/swarm/fuse/fuse_dir.go index 91b236ae8a..7f0063b1c1 100644 --- a/swarm/fuse/fuse_dir.go +++ b/swarm/fuse/fuse_dir.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build linux darwin freebsd diff --git a/swarm/fuse/fuse_file.go b/swarm/fuse/fuse_file.go index c94a0773f5..e5d4bcf945 100644 --- a/swarm/fuse/fuse_file.go +++ b/swarm/fuse/fuse_file.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build linux darwin freebsd @@ -26,8 +26,8 @@ import ( "bazil.org/fuse" "bazil.org/fuse/fs" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" "golang.org/x/net/context" ) diff --git a/swarm/fuse/fuse_root.go b/swarm/fuse/fuse_root.go index b2262d1c5a..91c688063e 100644 --- a/swarm/fuse/fuse_root.go +++ b/swarm/fuse/fuse_root.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build linux darwin freebsd diff --git a/swarm/fuse/swarmfs.go b/swarm/fuse/swarmfs.go index 2493bdab19..5c308448dd 100644 --- a/swarm/fuse/swarmfs.go +++ b/swarm/fuse/swarmfs.go @@ -1,23 +1,23 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package fuse import ( - "github.com/ethereum/go-ethereum/swarm/api" + "github.com/EtherFact-Project/go-etherfact/swarm/api" "sync" "time" ) diff --git a/swarm/fuse/swarmfs_fallback.go b/swarm/fuse/swarmfs_fallback.go index 4864c8689c..89b6462eb0 100644 --- a/swarm/fuse/swarmfs_fallback.go +++ b/swarm/fuse/swarmfs_fallback.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build !linux,!darwin,!freebsd diff --git a/swarm/fuse/swarmfs_test.go b/swarm/fuse/swarmfs_test.go index 42af36345f..ea9974d7b0 100644 --- a/swarm/fuse/swarmfs_test.go +++ b/swarm/fuse/swarmfs_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build linux darwin freebsd @@ -27,8 +27,8 @@ import ( "path/filepath" "testing" - "github.com/ethereum/go-ethereum/swarm/api" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/swarm/api" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) type fileInfo struct { diff --git a/swarm/fuse/swarmfs_unix.go b/swarm/fuse/swarmfs_unix.go index 75742845a2..919e40094f 100644 --- a/swarm/fuse/swarmfs_unix.go +++ b/swarm/fuse/swarmfs_unix.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build linux darwin freebsd @@ -29,9 +29,9 @@ import ( "bazil.org/fuse" "bazil.org/fuse/fs" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/swarm/api" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/swarm/api" ) var ( diff --git a/swarm/fuse/swarmfs_util.go b/swarm/fuse/swarmfs_util.go index 169b674876..75a22352e3 100644 --- a/swarm/fuse/swarmfs_util.go +++ b/swarm/fuse/swarmfs_util.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // +build linux darwin freebsd @@ -24,7 +24,7 @@ import ( "os/exec" "runtime" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) func externalUnmount(mountPoint string) error { diff --git a/swarm/metrics/flags.go b/swarm/metrics/flags.go index 48b231b219..1744bd0553 100644 --- a/swarm/metrics/flags.go +++ b/swarm/metrics/flags.go @@ -1,28 +1,28 @@ -// Copyright 2018 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2018 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package metrics import ( "time" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/log" - gethmetrics "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/metrics/influxdb" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/log" + gethmetrics "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/metrics/influxdb" "gopkg.in/urfave/cli.v1" ) diff --git a/swarm/network/depo.go b/swarm/network/depo.go index 5ffbf8be11..daf6247709 100644 --- a/swarm/network/depo.go +++ b/swarm/network/depo.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package network @@ -22,9 +22,9 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) //metrics variables diff --git a/swarm/network/forwarding.go b/swarm/network/forwarding.go index 88a82a678c..96fcb70095 100644 --- a/swarm/network/forwarding.go +++ b/swarm/network/forwarding.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package network @@ -21,8 +21,8 @@ import ( "math/rand" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) const requesterCount = 3 diff --git a/swarm/network/hive.go b/swarm/network/hive.go index 8404ffcc2a..27c12a82c2 100644 --- a/swarm/network/hive.go +++ b/swarm/network/hive.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package network @@ -22,13 +22,13 @@ import ( "path/filepath" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/netutil" - "github.com/ethereum/go-ethereum/swarm/network/kademlia" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/netutil" + "github.com/EtherFact-Project/go-etherfact/swarm/network/kademlia" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) // Hive is the logistic manager of the swarm diff --git a/swarm/network/kademlia/address.go b/swarm/network/kademlia/address.go index 4c38a846f9..a3ac5617dc 100644 --- a/swarm/network/kademlia/address.go +++ b/swarm/network/kademlia/address.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package kademlia @@ -21,7 +21,7 @@ import ( "math/rand" "strings" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) type Address common.Hash diff --git a/swarm/network/kademlia/address_test.go b/swarm/network/kademlia/address_test.go index c062c8eafb..029025c267 100644 --- a/swarm/network/kademlia/address_test.go +++ b/swarm/network/kademlia/address_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package kademlia @@ -21,7 +21,7 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) func (Address) Generate(rand *rand.Rand, size int) reflect.Value { diff --git a/swarm/network/kademlia/kaddb.go b/swarm/network/kademlia/kaddb.go index b37ced5ba0..cbba267214 100644 --- a/swarm/network/kademlia/kaddb.go +++ b/swarm/network/kademlia/kaddb.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package kademlia @@ -24,7 +24,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) type NodeData interface { diff --git a/swarm/network/kademlia/kademlia.go b/swarm/network/kademlia/kademlia.go index b5999b52d4..5f95323301 100644 --- a/swarm/network/kademlia/kademlia.go +++ b/swarm/network/kademlia/kademlia.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package kademlia @@ -23,8 +23,8 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" ) //metrics variables diff --git a/swarm/network/kademlia/kademlia_test.go b/swarm/network/kademlia/kademlia_test.go index 88858908a4..1a57e42b78 100644 --- a/swarm/network/kademlia/kademlia_test.go +++ b/swarm/network/kademlia/kademlia_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package kademlia diff --git a/swarm/network/messages.go b/swarm/network/messages.go index d920def959..c3c6f066aa 100644 --- a/swarm/network/messages.go +++ b/swarm/network/messages.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package network @@ -21,11 +21,11 @@ import ( "net" "time" - "github.com/ethereum/go-ethereum/contracts/chequebook" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/swarm/network/kademlia" - "github.com/ethereum/go-ethereum/swarm/services/swap" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/contracts/chequebook" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/swarm/network/kademlia" + "github.com/EtherFact-Project/go-etherfact/swarm/services/swap" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) /* diff --git a/swarm/network/protocol.go b/swarm/network/protocol.go index 1cbe00a973..cf4fed89ca 100644 --- a/swarm/network/protocol.go +++ b/swarm/network/protocol.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package network @@ -37,13 +37,13 @@ import ( "strconv" "time" - "github.com/ethereum/go-ethereum/contracts/chequebook" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/p2p" - bzzswap "github.com/ethereum/go-ethereum/swarm/services/swap" - "github.com/ethereum/go-ethereum/swarm/services/swap/swap" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/contracts/chequebook" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/p2p" + bzzswap "github.com/EtherFact-Project/go-etherfact/swarm/services/swap" + "github.com/EtherFact-Project/go-etherfact/swarm/services/swap/swap" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) //metrics variables diff --git a/swarm/network/protocol_test.go b/swarm/network/protocol_test.go index 988d0ac923..3e19223489 100644 --- a/swarm/network/protocol_test.go +++ b/swarm/network/protocol_test.go @@ -1,17 +1,17 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package network diff --git a/swarm/network/syncdb.go b/swarm/network/syncdb.go index 88b4b68dd0..d4ceb184ec 100644 --- a/swarm/network/syncdb.go +++ b/swarm/network/syncdb.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package network @@ -20,8 +20,8 @@ import ( "encoding/binary" "fmt" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/iterator" ) diff --git a/swarm/network/syncdb_test.go b/swarm/network/syncdb_test.go index be21d156f9..90794f173a 100644 --- a/swarm/network/syncdb_test.go +++ b/swarm/network/syncdb_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package network @@ -25,9 +25,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) func init() { diff --git a/swarm/network/syncer.go b/swarm/network/syncer.go index 6d729fcb9e..bc8406bc43 100644 --- a/swarm/network/syncer.go +++ b/swarm/network/syncer.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package network @@ -22,8 +22,8 @@ import ( "fmt" "path/filepath" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) // syncer parameters (global, not peer specific) default values diff --git a/swarm/services/swap/swap.go b/swarm/services/swap/swap.go index 1f9b22b904..fffa242a6b 100644 --- a/swarm/services/swap/swap.go +++ b/swarm/services/swap/swap.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package swap @@ -26,14 +26,14 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/contracts/chequebook" - "github.com/ethereum/go-ethereum/contracts/chequebook/contract" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/swarm/services/swap/swap" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/contracts/chequebook" + "github.com/EtherFact-Project/go-etherfact/contracts/chequebook/contract" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/swarm/services/swap/swap" ) // SwAP Swarm Accounting Protocol with diff --git a/swarm/services/swap/swap/swap.go b/swarm/services/swap/swap/swap.go index a78f1f0e2a..e872d1fc36 100644 --- a/swarm/services/swap/swap/swap.go +++ b/swarm/services/swap/swap/swap.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package swap @@ -22,7 +22,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) // SwAP Swarm Accounting Protocol with diff --git a/swarm/services/swap/swap/swap_test.go b/swarm/services/swap/swap/swap_test.go index 222e0770f3..4fa6833685 100644 --- a/swarm/services/swap/swap/swap_test.go +++ b/swarm/services/swap/swap/swap_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package swap @@ -21,7 +21,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) type testInPayment struct { diff --git a/swarm/storage/chunker.go b/swarm/storage/chunker.go index 2b397f8010..71d9a5dd07 100644 --- a/swarm/storage/chunker.go +++ b/swarm/storage/chunker.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package storage @@ -24,7 +24,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/metrics" + "github.com/EtherFact-Project/go-etherfact/metrics" ) /* diff --git a/swarm/storage/chunker_test.go b/swarm/storage/chunker_test.go index c8bd12299a..6f27f85728 100644 --- a/swarm/storage/chunker_test.go +++ b/swarm/storage/chunker_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package storage @@ -27,7 +27,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" ) /* diff --git a/swarm/storage/common_test.go b/swarm/storage/common_test.go index cd4c2ef139..83ab68fa02 100644 --- a/swarm/storage/common_test.go +++ b/swarm/storage/common_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package storage @@ -24,7 +24,7 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) type brokenLimitedReader struct { diff --git a/swarm/storage/database.go b/swarm/storage/database.go index f2ceb94e46..4de0bcbf30 100644 --- a/swarm/storage/database.go +++ b/swarm/storage/database.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package storage diff --git a/swarm/storage/dbstore.go b/swarm/storage/dbstore.go index 421bb061d5..c88d1140ed 100644 --- a/swarm/storage/dbstore.go +++ b/swarm/storage/dbstore.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // disk storage layer for the package bzz // DbStore implements the ChunkStore interface and is used by the DPA as @@ -32,9 +32,9 @@ import ( "io/ioutil" "sync" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/rlp" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/iterator" ) diff --git a/swarm/storage/dbstore_test.go b/swarm/storage/dbstore_test.go index dd165b5768..b98979eca8 100644 --- a/swarm/storage/dbstore_test.go +++ b/swarm/storage/dbstore_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package storage @@ -21,7 +21,7 @@ import ( "io/ioutil" "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) func initDbStore(t *testing.T) *DbStore { diff --git a/swarm/storage/dpa.go b/swarm/storage/dpa.go index 44a2669f12..489860ccc5 100644 --- a/swarm/storage/dpa.go +++ b/swarm/storage/dpa.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package storage @@ -23,7 +23,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) /* diff --git a/swarm/storage/dpa_test.go b/swarm/storage/dpa_test.go index a23b9efebe..9ce34d7a64 100644 --- a/swarm/storage/dpa_test.go +++ b/swarm/storage/dpa_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package storage diff --git a/swarm/storage/localstore.go b/swarm/storage/localstore.go index ece0c86155..53bfe6ac0d 100644 --- a/swarm/storage/localstore.go +++ b/swarm/storage/localstore.go @@ -1,25 +1,25 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package storage import ( "encoding/binary" - "github.com/ethereum/go-ethereum/metrics" + "github.com/EtherFact-Project/go-etherfact/metrics" ) //metrics variables diff --git a/swarm/storage/memstore.go b/swarm/storage/memstore.go index d6be542203..64ff49adbb 100644 --- a/swarm/storage/memstore.go +++ b/swarm/storage/memstore.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // memory storage layer for the package blockhash @@ -22,8 +22,8 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" ) //metrics variables diff --git a/swarm/storage/memstore_test.go b/swarm/storage/memstore_test.go index 2e0ab535af..0ec45e9a42 100644 --- a/swarm/storage/memstore_test.go +++ b/swarm/storage/memstore_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package storage diff --git a/swarm/storage/netstore.go b/swarm/storage/netstore.go index 5d4f17deb1..c626cbb9a1 100644 --- a/swarm/storage/netstore.go +++ b/swarm/storage/netstore.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package storage @@ -21,7 +21,7 @@ import ( "path/filepath" "time" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/log" ) /* diff --git a/swarm/storage/pyramid.go b/swarm/storage/pyramid.go index 19d493405a..fa2cd7a726 100644 --- a/swarm/storage/pyramid.go +++ b/swarm/storage/pyramid.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package storage diff --git a/swarm/storage/swarmhasher.go b/swarm/storage/swarmhasher.go index 38b86373c5..1d52f34695 100644 --- a/swarm/storage/swarmhasher.go +++ b/swarm/storage/swarmhasher.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package storage diff --git a/swarm/storage/types.go b/swarm/storage/types.go index d35f1f9294..62a7910fb7 100644 --- a/swarm/storage/types.go +++ b/swarm/storage/types.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package storage @@ -24,9 +24,9 @@ import ( "io" "sync" - "github.com/ethereum/go-ethereum/bmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/bmt" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" ) type Hasher func() hash.Hash diff --git a/swarm/swarm.go b/swarm/swarm.go index 0a120db1fa..545b94b406 100644 --- a/swarm/swarm.go +++ b/swarm/swarm.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package swarm @@ -27,24 +27,24 @@ import ( "time" "unicode" - "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/contracts/chequebook" - "github.com/ethereum/go-ethereum/contracts/ens" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethclient" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" - "github.com/ethereum/go-ethereum/node" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/swarm/api" - httpapi "github.com/ethereum/go-ethereum/swarm/api/http" - "github.com/ethereum/go-ethereum/swarm/fuse" - "github.com/ethereum/go-ethereum/swarm/network" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/accounts/abi/bind" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/contracts/chequebook" + "github.com/EtherFact-Project/go-etherfact/contracts/ens" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethclient" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" + "github.com/EtherFact-Project/go-etherfact/node" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rpc" + "github.com/EtherFact-Project/go-etherfact/swarm/api" + httpapi "github.com/EtherFact-Project/go-etherfact/swarm/api/http" + "github.com/EtherFact-Project/go-etherfact/swarm/fuse" + "github.com/EtherFact-Project/go-etherfact/swarm/network" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) var ( diff --git a/swarm/swarm_test.go b/swarm/swarm_test.go index 8b1ae28884..7a99dac489 100644 --- a/swarm/swarm_test.go +++ b/swarm/swarm_test.go @@ -1,25 +1,25 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package swarm import ( "testing" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) func TestParseEnsAPIAddress(t *testing.T) { diff --git a/swarm/testutil/http.go b/swarm/testutil/http.go index f2922fab00..a952893a1f 100644 --- a/swarm/testutil/http.go +++ b/swarm/testutil/http.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package testutil @@ -22,9 +22,9 @@ import ( "os" "testing" - "github.com/ethereum/go-ethereum/swarm/api" - httpapi "github.com/ethereum/go-ethereum/swarm/api/http" - "github.com/ethereum/go-ethereum/swarm/storage" + "github.com/EtherFact-Project/go-etherfact/swarm/api" + httpapi "github.com/EtherFact-Project/go-etherfact/swarm/api/http" + "github.com/EtherFact-Project/go-etherfact/swarm/storage" ) func NewTestSwarmServer(t *testing.T) *TestSwarmServer { diff --git a/tests/block_test.go b/tests/block_test.go index 669d3ca08a..121bb54ba2 100644 --- a/tests/block_test.go +++ b/tests/block_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tests diff --git a/tests/block_test_util.go b/tests/block_test_util.go index beba484833..328d487ddf 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package tests implements execution of Ethereum JSON tests. package tests @@ -24,17 +24,17 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // A BlockTest checks handling of entire blocks. diff --git a/tests/difficulty_test.go b/tests/difficulty_test.go index 6006373009..2fc1ad256d 100644 --- a/tests/difficulty_test.go +++ b/tests/difficulty_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tests @@ -21,8 +21,8 @@ import ( "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/params" ) var ( diff --git a/tests/difficulty_test_util.go b/tests/difficulty_test_util.go index 00d699cf75..e4dfee9f8d 100644 --- a/tests/difficulty_test_util.go +++ b/tests/difficulty_test_util.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tests @@ -20,11 +20,11 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/consensus/ethash" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/consensus/ethash" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/params" ) //go:generate gencodec -type DifficultyTest -field-override difficultyTestMarshaling -out gen_difficultytest.go diff --git a/tests/gen_btheader.go b/tests/gen_btheader.go index 5cfd4bd0ae..9e93835654 100644 --- a/tests/gen_btheader.go +++ b/tests/gen_btheader.go @@ -6,10 +6,10 @@ import ( "encoding/json" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/core/types" ) var _ = (*btHeaderMarshaling)(nil) diff --git a/tests/gen_difficultytest.go b/tests/gen_difficultytest.go index 88f36ce999..7c6729b078 100644 --- a/tests/gen_difficultytest.go +++ b/tests/gen_difficultytest.go @@ -6,8 +6,8 @@ import ( "encoding/json" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" ) var _ = (*difficultyTestMarshaling)(nil) diff --git a/tests/gen_stenv.go b/tests/gen_stenv.go index 1d4baf2fd7..b9e163b927 100644 --- a/tests/gen_stenv.go +++ b/tests/gen_stenv.go @@ -7,8 +7,8 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" ) var _ = (*stEnvMarshaling)(nil) diff --git a/tests/gen_sttransaction.go b/tests/gen_sttransaction.go index 451ffcbf43..2518297fca 100644 --- a/tests/gen_sttransaction.go +++ b/tests/gen_sttransaction.go @@ -6,8 +6,8 @@ import ( "encoding/json" "math/big" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" ) var _ = (*stTransactionMarshaling)(nil) diff --git a/tests/gen_tttransaction.go b/tests/gen_tttransaction.go index 2948842d97..b69495461e 100644 --- a/tests/gen_tttransaction.go +++ b/tests/gen_tttransaction.go @@ -7,9 +7,9 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" ) var _ = (*ttTransactionMarshaling)(nil) diff --git a/tests/gen_vmexec.go b/tests/gen_vmexec.go index a5f01cf456..e88704caa6 100644 --- a/tests/gen_vmexec.go +++ b/tests/gen_vmexec.go @@ -7,9 +7,9 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" ) var _ = (*vmExecMarshaling)(nil) diff --git a/tests/init.go b/tests/init.go index ff8ee7da18..e55f036474 100644 --- a/tests/init.go +++ b/tests/init.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tests @@ -20,7 +20,7 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/params" ) // This table defines supported forks and their chain config. diff --git a/tests/init_test.go b/tests/init_test.go index fbb214b08c..243153cc11 100644 --- a/tests/init_test.go +++ b/tests/init_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tests @@ -29,7 +29,7 @@ import ( "strings" "testing" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/params" ) var ( diff --git a/tests/rlp_test.go b/tests/rlp_test.go index 1601625df5..352d6e87a6 100644 --- a/tests/rlp_test.go +++ b/tests/rlp_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tests diff --git a/tests/rlp_test_util.go b/tests/rlp_test_util.go index 58ef8a6428..1e8561d8df 100644 --- a/tests/rlp_test_util.go +++ b/tests/rlp_test_util.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tests @@ -24,7 +24,7 @@ import ( "math/big" "strings" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // RLPTest is the JSON structure of a single RLP test. diff --git a/tests/state_test.go b/tests/state_test.go index adec4feb2b..c6669704e4 100644 --- a/tests/state_test.go +++ b/tests/state_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tests @@ -22,7 +22,7 @@ import ( "reflect" "testing" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/EtherFact-Project/go-etherfact/core/vm" ) func TestState(t *testing.T) { diff --git a/tests/state_test_util.go b/tests/state_test_util.go index 3b761bd771..6101c1ed4e 100644 --- a/tests/state_test_util.go +++ b/tests/state_test_util.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tests @@ -23,18 +23,18 @@ import ( "math/big" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/sha3" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // StateTest checks transaction processing without block context. diff --git a/tests/transaction_test.go b/tests/transaction_test.go index c743996c2a..4275976172 100644 --- a/tests/transaction_test.go +++ b/tests/transaction_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tests @@ -20,7 +20,7 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/params" ) func TestTransaction(t *testing.T) { diff --git a/tests/transaction_test_util.go b/tests/transaction_test_util.go index 2028d2a278..5030fa970a 100644 --- a/tests/transaction_test_util.go +++ b/tests/transaction_test_util.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tests @@ -22,12 +22,12 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/core/types" + "github.com/EtherFact-Project/go-etherfact/params" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // TransactionTest checks RLP decoding and sender derivation of transactions. diff --git a/tests/vm_test.go b/tests/vm_test.go index c9f5e225e9..2ce4c302fe 100644 --- a/tests/vm_test.go +++ b/tests/vm_test.go @@ -1,25 +1,25 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tests import ( "testing" - "github.com/ethereum/go-ethereum/core/vm" + "github.com/EtherFact-Project/go-etherfact/core/vm" ) func TestVM(t *testing.T) { diff --git a/tests/vm_test_util.go b/tests/vm_test_util.go index b365167a69..4b9ab447a3 100644 --- a/tests/vm_test_util.go +++ b/tests/vm_test_util.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package tests @@ -22,15 +22,15 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/vm" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/params" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/core" + "github.com/EtherFact-Project/go-etherfact/core/state" + "github.com/EtherFact-Project/go-etherfact/core/vm" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/params" ) // VMTest checks EVM execution without block or transaction context. diff --git a/trie/database.go b/trie/database.go index da36e72f98..1d4c317249 100644 --- a/trie/database.go +++ b/trie/database.go @@ -1,18 +1,18 @@ -// Copyright 2018 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2018 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie @@ -20,9 +20,9 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/log" ) // secureKeyPrefix is the database key prefix used to store trie node preimages. diff --git a/trie/encoding.go b/trie/encoding.go index e96a786e40..d67d3b2841 100644 --- a/trie/encoding.go +++ b/trie/encoding.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie diff --git a/trie/encoding_test.go b/trie/encoding_test.go index 97d8da1361..b7d5063767 100644 --- a/trie/encoding_test.go +++ b/trie/encoding_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie diff --git a/trie/errors.go b/trie/errors.go index 567b80078c..974a66800c 100644 --- a/trie/errors.go +++ b/trie/errors.go @@ -1,25 +1,25 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie import ( "fmt" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) // MissingNodeError is returned by the trie functions (TryGet, TryUpdate, TryDelete) diff --git a/trie/hasher.go b/trie/hasher.go index 2fc44787ac..eb6ea4a0ec 100644 --- a/trie/hasher.go +++ b/trie/hasher.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie @@ -21,9 +21,9 @@ import ( "hash" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto/sha3" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto/sha3" + "github.com/EtherFact-Project/go-etherfact/rlp" ) type hasher struct { diff --git a/trie/iterator.go b/trie/iterator.go index 76146c0d64..1099781662 100644 --- a/trie/iterator.go +++ b/trie/iterator.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie @@ -21,7 +21,7 @@ import ( "container/heap" "errors" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) // Iterator is a key-value trie iterator that traverses a Trie. diff --git a/trie/iterator_test.go b/trie/iterator_test.go index dce1c78b5d..ea50ddf3a6 100644 --- a/trie/iterator_test.go +++ b/trie/iterator_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie @@ -22,8 +22,8 @@ import ( "math/rand" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/ethdb" ) func TestIterator(t *testing.T) { diff --git a/trie/node.go b/trie/node.go index a7697fc0c6..60e13a9742 100644 --- a/trie/node.go +++ b/trie/node.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie @@ -21,8 +21,8 @@ import ( "io" "strings" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/rlp" ) var indices = []string{"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "[17]"} diff --git a/trie/node_test.go b/trie/node_test.go index 7ad1ff9e7b..81f5843f09 100644 --- a/trie/node_test.go +++ b/trie/node_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie diff --git a/trie/proof.go b/trie/proof.go index 508e4a6cf4..58927ac591 100644 --- a/trie/proof.go +++ b/trie/proof.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie @@ -20,11 +20,11 @@ import ( "bytes" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // Prove constructs a merkle proof for key. The result contains all encoded nodes diff --git a/trie/proof_test.go b/trie/proof_test.go index fff313d7fd..fd809a0ab3 100644 --- a/trie/proof_test.go +++ b/trie/proof_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie @@ -23,9 +23,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" ) func init() { diff --git a/trie/secure_trie.go b/trie/secure_trie.go index 3881ee18a0..4a5871a63b 100644 --- a/trie/secure_trie.go +++ b/trie/secure_trie.go @@ -1,26 +1,26 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie import ( "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/log" ) // SecureTrie wraps a trie with key hashing. In a secure trie, all diff --git a/trie/secure_trie_test.go b/trie/secure_trie_test.go index aedf5a1cde..735237ebff 100644 --- a/trie/secure_trie_test.go +++ b/trie/secure_trie_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie @@ -22,9 +22,9 @@ import ( "sync" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" ) func newEmptySecure() *SecureTrie { diff --git a/trie/sync.go b/trie/sync.go index 4ae975d042..9955d09933 100644 --- a/trie/sync.go +++ b/trie/sync.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie @@ -20,8 +20,8 @@ import ( "errors" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/ethdb" "gopkg.in/karalabe/cookiejar.v2/collections/prque" ) diff --git a/trie/sync_test.go b/trie/sync_test.go index 4a720612b6..8ac3c8ed98 100644 --- a/trie/sync_test.go +++ b/trie/sync_test.go @@ -1,18 +1,18 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2015 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie @@ -20,8 +20,8 @@ import ( "bytes" "testing" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/ethdb" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/ethdb" ) // makeTestTrie create a sample test trie to test node-wise reconstruction. diff --git a/trie/trie.go b/trie/trie.go index 31a404e3a0..17a29e166b 100644 --- a/trie/trie.go +++ b/trie/trie.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Package trie implements Merkle Patricia Tries. package trie @@ -21,10 +21,10 @@ import ( "bytes" "fmt" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/metrics" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/metrics" ) var ( diff --git a/trie/trie_test.go b/trie/trie_test.go index 9972226288..ce9b2cc09c 100644 --- a/trie/trie_test.go +++ b/trie/trie_test.go @@ -1,18 +1,18 @@ -// Copyright 2014 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2014 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package trie @@ -30,10 +30,10 @@ import ( "testing/quick" "github.com/davecgh/go-spew/spew" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/ethdb" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/ethdb" + "github.com/EtherFact-Project/go-etherfact/rlp" ) func init() { diff --git a/whisper/mailserver/mailserver.go b/whisper/mailserver/mailserver.go index 57e6505ad1..d63dcb25f6 100644 --- a/whisper/mailserver/mailserver.go +++ b/whisper/mailserver/mailserver.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package mailserver @@ -20,12 +20,12 @@ import ( "encoding/binary" "fmt" - "github.com/ethereum/go-ethereum/cmd/utils" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" - whisper "github.com/ethereum/go-ethereum/whisper/whisperv6" + "github.com/EtherFact-Project/go-etherfact/cmd/utils" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/rlp" + whisper "github.com/EtherFact-Project/go-etherfact/whisper/whisperv6" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/util" ) diff --git a/whisper/mailserver/server_test.go b/whisper/mailserver/server_test.go index d5b993afb9..8ac9689136 100644 --- a/whisper/mailserver/server_test.go +++ b/whisper/mailserver/server_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package mailserver @@ -25,9 +25,9 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - whisper "github.com/ethereum/go-ethereum/whisper/whisperv6" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + whisper "github.com/EtherFact-Project/go-etherfact/whisper/whisperv6" ) const powRequirement = 0.00001 diff --git a/whisper/shhclient/client.go b/whisper/shhclient/client.go index bbe694baaa..ff33a694a1 100644 --- a/whisper/shhclient/client.go +++ b/whisper/shhclient/client.go @@ -1,28 +1,28 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package shhclient import ( "context" - "github.com/ethereum/go-ethereum" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/rpc" - whisper "github.com/ethereum/go-ethereum/whisper/whisperv6" + "github.com/EtherFact-Project/go-etherfact" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/rpc" + whisper "github.com/EtherFact-Project/go-etherfact/whisper/whisperv6" ) // Client defines typed wrappers for the Whisper v6 RPC API. diff --git a/whisper/whisperv5/api.go b/whisper/whisperv5/api.go index ee566625c9..b7d746b0d5 100644 --- a/whisper/whisperv5/api.go +++ b/whisper/whisperv5/api.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv5 @@ -24,12 +24,12 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/rpc" ) const ( diff --git a/whisper/whisperv5/benchmarks_test.go b/whisper/whisperv5/benchmarks_test.go index dcfbcb56d8..b6ba8c2e1a 100644 --- a/whisper/whisperv5/benchmarks_test.go +++ b/whisper/whisperv5/benchmarks_test.go @@ -1,25 +1,25 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv5 import ( "testing" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto" ) func BenchmarkDeriveKeyMaterial(b *testing.B) { diff --git a/whisper/whisperv5/config.go b/whisper/whisperv5/config.go index fcc2307046..ea1e3b49f7 100644 --- a/whisper/whisperv5/config.go +++ b/whisper/whisperv5/config.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv5 diff --git a/whisper/whisperv5/doc.go b/whisper/whisperv5/doc.go index 7a57488bd7..e4248ee003 100644 --- a/whisper/whisperv5/doc.go +++ b/whisper/whisperv5/doc.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . /* Package whisper implements the Whisper protocol (version 5). diff --git a/whisper/whisperv5/envelope.go b/whisper/whisperv5/envelope.go index 169cbba9dd..ef43b06042 100644 --- a/whisper/whisperv5/envelope.go +++ b/whisper/whisperv5/envelope.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the Whisper protocol Envelope element. @@ -26,11 +26,11 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/ecies" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/ecies" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // Envelope represents a clear-text data packet to transmit through the Whisper diff --git a/whisper/whisperv5/filter.go b/whisper/whisperv5/filter.go index 3190334ebb..db0f5715b0 100644 --- a/whisper/whisperv5/filter.go +++ b/whisper/whisperv5/filter.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv5 @@ -21,9 +21,9 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" ) type Filter struct { diff --git a/whisper/whisperv5/filter_test.go b/whisper/whisperv5/filter_test.go index 01034a3513..64778bb024 100644 --- a/whisper/whisperv5/filter_test.go +++ b/whisper/whisperv5/filter_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv5 @@ -22,8 +22,8 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" ) var seed int64 diff --git a/whisper/whisperv5/gen_criteria_json.go b/whisper/whisperv5/gen_criteria_json.go index 1c0e389ad9..41e3f3450c 100644 --- a/whisper/whisperv5/gen_criteria_json.go +++ b/whisper/whisperv5/gen_criteria_json.go @@ -5,7 +5,7 @@ package whisperv5 import ( "encoding/json" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" ) var _ = (*criteriaOverride)(nil) diff --git a/whisper/whisperv5/gen_message_json.go b/whisper/whisperv5/gen_message_json.go index b4c4274d07..117fae1538 100644 --- a/whisper/whisperv5/gen_message_json.go +++ b/whisper/whisperv5/gen_message_json.go @@ -5,7 +5,7 @@ package whisperv5 import ( "encoding/json" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" ) var _ = (*messageOverride)(nil) diff --git a/whisper/whisperv5/gen_newmessage_json.go b/whisper/whisperv5/gen_newmessage_json.go index 97ffb64ad3..9d27a01366 100644 --- a/whisper/whisperv5/gen_newmessage_json.go +++ b/whisper/whisperv5/gen_newmessage_json.go @@ -5,7 +5,7 @@ package whisperv5 import ( "encoding/json" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" ) var _ = (*newMessageOverride)(nil) diff --git a/whisper/whisperv5/message.go b/whisper/whisperv5/message.go index 34ce52e64f..389197ac3d 100644 --- a/whisper/whisperv5/message.go +++ b/whisper/whisperv5/message.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the Whisper protocol Message element. @@ -27,10 +27,10 @@ import ( "errors" "strconv" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/ecies" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/ecies" + "github.com/EtherFact-Project/go-etherfact/log" ) // Options specifies the exact way a message should be wrapped into an Envelope. diff --git a/whisper/whisperv5/message_test.go b/whisper/whisperv5/message_test.go index 2edf945df0..f8ab0b728d 100644 --- a/whisper/whisperv5/message_test.go +++ b/whisper/whisperv5/message_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv5 @@ -21,8 +21,8 @@ import ( mrand "math/rand" "testing" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/rlp" ) func generateMessageParams() (*MessageParams, error) { diff --git a/whisper/whisperv5/peer.go b/whisper/whisperv5/peer.go index 179c931795..4a9767074c 100644 --- a/whisper/whisperv5/peer.go +++ b/whisper/whisperv5/peer.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv5 @@ -20,10 +20,10 @@ import ( "fmt" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/rlp" set "gopkg.in/fatih/set.v0" ) diff --git a/whisper/whisperv5/peer_test.go b/whisper/whisperv5/peer_test.go index bae2adb6f5..711ff29c8e 100644 --- a/whisper/whisperv5/peer_test.go +++ b/whisper/whisperv5/peer_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv5 @@ -25,11 +25,11 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/nat" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/nat" ) var keys []string = []string{ diff --git a/whisper/whisperv5/topic.go b/whisper/whisperv5/topic.go index c4ea67eefa..0cf9a07708 100644 --- a/whisper/whisperv5/topic.go +++ b/whisper/whisperv5/topic.go @@ -1,26 +1,26 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the Whisper protocol Topic element. package whisperv5 import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" ) // Topic represents a cryptographically secure, probabilistic partial diff --git a/whisper/whisperv5/topic_test.go b/whisper/whisperv5/topic_test.go index 54bbeaf85e..9d29d7f68b 100644 --- a/whisper/whisperv5/topic_test.go +++ b/whisper/whisperv5/topic_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv5 diff --git a/whisper/whisperv5/whisper.go b/whisper/whisperv5/whisper.go index 85849ccce4..7cfb76b6df 100644 --- a/whisper/whisperv5/whisper.go +++ b/whisper/whisperv5/whisper.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv5 @@ -26,11 +26,11 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/rpc" "github.com/syndtr/goleveldb/leveldb/errors" "golang.org/x/crypto/pbkdf2" "golang.org/x/sync/syncmap" diff --git a/whisper/whisperv5/whisper_test.go b/whisper/whisperv5/whisper_test.go index 8af085292a..2b64e4d68d 100644 --- a/whisper/whisperv5/whisper_test.go +++ b/whisper/whisperv5/whisper_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv5 @@ -23,7 +23,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" ) func TestWhisperBasic(t *testing.T) { diff --git a/whisper/whisperv6/api.go b/whisper/whisperv6/api.go index 3f3a082afe..b072b6de67 100644 --- a/whisper/whisperv6/api.go +++ b/whisper/whisperv6/api.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv6 @@ -24,12 +24,12 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/rpc" ) const ( diff --git a/whisper/whisperv6/api_test.go b/whisper/whisperv6/api_test.go index 004a41c949..7c12da6311 100644 --- a/whisper/whisperv6/api_test.go +++ b/whisper/whisperv6/api_test.go @@ -1,18 +1,18 @@ -// Copyright 2018 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2018 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv6 @@ -22,7 +22,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" set "gopkg.in/fatih/set.v0" ) diff --git a/whisper/whisperv6/benchmarks_test.go b/whisper/whisperv6/benchmarks_test.go index 0473179da5..6a73f82999 100644 --- a/whisper/whisperv6/benchmarks_test.go +++ b/whisper/whisperv6/benchmarks_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv6 @@ -20,7 +20,7 @@ import ( "crypto/sha256" "testing" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto" "golang.org/x/crypto/pbkdf2" ) diff --git a/whisper/whisperv6/config.go b/whisper/whisperv6/config.go index 61419de007..c89425363f 100644 --- a/whisper/whisperv6/config.go +++ b/whisper/whisperv6/config.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv6 diff --git a/whisper/whisperv6/doc.go b/whisper/whisperv6/doc.go index 066a9766d4..fb3c31dc98 100644 --- a/whisper/whisperv6/doc.go +++ b/whisper/whisperv6/doc.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . /* Package whisper implements the Whisper protocol (version 6). diff --git a/whisper/whisperv6/envelope.go b/whisper/whisperv6/envelope.go index c42d1fa8ac..918678041e 100644 --- a/whisper/whisperv6/envelope.go +++ b/whisper/whisperv6/envelope.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the Whisper protocol Envelope element. @@ -26,11 +26,11 @@ import ( "math/big" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/ecies" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/math" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/ecies" + "github.com/EtherFact-Project/go-etherfact/rlp" ) // Envelope represents a clear-text data packet to transmit through the Whisper diff --git a/whisper/whisperv6/envelope_test.go b/whisper/whisperv6/envelope_test.go index 410b250a3f..404e9d20a9 100644 --- a/whisper/whisperv6/envelope_test.go +++ b/whisper/whisperv6/envelope_test.go @@ -1,18 +1,18 @@ -// Copyright 2017 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2017 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the tests associated with the Whisper protocol Envelope object. @@ -22,7 +22,7 @@ import ( mrand "math/rand" "testing" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto" ) func TestEnvelopeOpenAcceptsOnlyOneKeyTypeInFilter(t *testing.T) { diff --git a/whisper/whisperv6/filter.go b/whisper/whisperv6/filter.go index 2f170ddebe..673bfe1204 100644 --- a/whisper/whisperv6/filter.go +++ b/whisper/whisperv6/filter.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv6 @@ -21,9 +21,9 @@ import ( "fmt" "sync" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" ) // Filter represents a Whisper message filter diff --git a/whisper/whisperv6/filter_test.go b/whisper/whisperv6/filter_test.go index 0bb7986c39..d4040cd199 100644 --- a/whisper/whisperv6/filter_test.go +++ b/whisper/whisperv6/filter_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv6 @@ -22,8 +22,8 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" ) var seed int64 diff --git a/whisper/whisperv6/gen_criteria_json.go b/whisper/whisperv6/gen_criteria_json.go index 1a428d6df7..b421322440 100644 --- a/whisper/whisperv6/gen_criteria_json.go +++ b/whisper/whisperv6/gen_criteria_json.go @@ -5,7 +5,7 @@ package whisperv6 import ( "encoding/json" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" ) var _ = (*criteriaOverride)(nil) diff --git a/whisper/whisperv6/gen_message_json.go b/whisper/whisperv6/gen_message_json.go index 6218f5df6e..c9c8d6e6e8 100644 --- a/whisper/whisperv6/gen_message_json.go +++ b/whisper/whisperv6/gen_message_json.go @@ -5,7 +5,7 @@ package whisperv6 import ( "encoding/json" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" ) var _ = (*messageOverride)(nil) diff --git a/whisper/whisperv6/gen_newmessage_json.go b/whisper/whisperv6/gen_newmessage_json.go index 75a1279ae3..0c3f758b00 100644 --- a/whisper/whisperv6/gen_newmessage_json.go +++ b/whisper/whisperv6/gen_newmessage_json.go @@ -5,7 +5,7 @@ package whisperv6 import ( "encoding/json" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" ) var _ = (*newMessageOverride)(nil) diff --git a/whisper/whisperv6/message.go b/whisper/whisperv6/message.go index 2d4e862441..f15b3bbd89 100644 --- a/whisper/whisperv6/message.go +++ b/whisper/whisperv6/message.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the Whisper protocol Message element. @@ -28,10 +28,10 @@ import ( mrand "math/rand" "strconv" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/ecies" - "github.com/ethereum/go-ethereum/log" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/crypto/ecies" + "github.com/EtherFact-Project/go-etherfact/log" ) // MessageParams specifies the exact way a message should be wrapped diff --git a/whisper/whisperv6/message_test.go b/whisper/whisperv6/message_test.go index 0a5c1c8533..6f98fa2c6c 100644 --- a/whisper/whisperv6/message_test.go +++ b/whisper/whisperv6/message_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv6 @@ -23,9 +23,9 @@ import ( mrand "math/rand" "testing" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/rlp" ) func generateMessageParams() (*MessageParams, error) { diff --git a/whisper/whisperv6/peer.go b/whisper/whisperv6/peer.go index 2bf1c905b2..07689f5663 100644 --- a/whisper/whisperv6/peer.go +++ b/whisper/whisperv6/peer.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv6 @@ -22,10 +22,10 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rlp" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/rlp" set "gopkg.in/fatih/set.v0" ) diff --git a/whisper/whisperv6/peer_test.go b/whisper/whisperv6/peer_test.go index ec985ae65b..18fdaf37b6 100644 --- a/whisper/whisperv6/peer_test.go +++ b/whisper/whisperv6/peer_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv6 @@ -27,12 +27,12 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/p2p/discover" - "github.com/ethereum/go-ethereum/p2p/nat" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/p2p/discover" + "github.com/EtherFact-Project/go-etherfact/p2p/nat" ) var keys = []string{ diff --git a/whisper/whisperv6/topic.go b/whisper/whisperv6/topic.go index 4dd8f283c3..f14121363b 100644 --- a/whisper/whisperv6/topic.go +++ b/whisper/whisperv6/topic.go @@ -1,26 +1,26 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . // Contains the Whisper protocol Topic element. package whisperv6 import ( - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/common/hexutil" ) // TopicType represents a cryptographically secure, probabilistic partial diff --git a/whisper/whisperv6/topic_test.go b/whisper/whisperv6/topic_test.go index 454afe0de1..b845445442 100644 --- a/whisper/whisperv6/topic_test.go +++ b/whisper/whisperv6/topic_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv6 diff --git a/whisper/whisperv6/whisper.go b/whisper/whisperv6/whisper.go index 880cced098..5d0bcf9415 100644 --- a/whisper/whisperv6/whisper.go +++ b/whisper/whisperv6/whisper.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv6 @@ -26,12 +26,12 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p" - "github.com/ethereum/go-ethereum/rlp" - "github.com/ethereum/go-ethereum/rpc" + "github.com/EtherFact-Project/go-etherfact/common" + "github.com/EtherFact-Project/go-etherfact/crypto" + "github.com/EtherFact-Project/go-etherfact/log" + "github.com/EtherFact-Project/go-etherfact/p2p" + "github.com/EtherFact-Project/go-etherfact/rlp" + "github.com/EtherFact-Project/go-etherfact/rpc" "github.com/syndtr/goleveldb/leveldb/errors" "golang.org/x/crypto/pbkdf2" "golang.org/x/sync/syncmap" diff --git a/whisper/whisperv6/whisper_test.go b/whisper/whisperv6/whisper_test.go index 7fe256309e..44ebdb577c 100644 --- a/whisper/whisperv6/whisper_test.go +++ b/whisper/whisperv6/whisper_test.go @@ -1,18 +1,18 @@ -// Copyright 2016 The go-ethereum Authors -// This file is part of the go-ethereum library. +// Copyright 2016 The go-etherfact Authors +// This file is part of the go-etherfact library. // -// The go-ethereum library is free software: you can redistribute it and/or modify +// The go-etherfact library is free software: you can redistribute it and/or modify // it under the terms of the GNU 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, +// The go-etherfact 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 . +// along with the go-etherfact library. If not, see . package whisperv6 @@ -24,7 +24,7 @@ import ( "testing" "time" - "github.com/ethereum/go-ethereum/common" + "github.com/EtherFact-Project/go-etherfact/common" "golang.org/x/crypto/pbkdf2" )