diff --git a/.cargo/config b/.cargo/config index 3f07816e3..a160c8eab 100644 --- a/.cargo/config +++ b/.cargo/config @@ -1,3 +1,3 @@ [target.x86_64-pc-windows-msvc] -# Link the C runtime statically ; https://github.com/paritytech/parity-ethereum/issues/6643 +# Link the C runtime statically ; https://github.com/openethereum/openethereum/issues/6643 rustflags = ["-Ctarget-feature=+crt-static"] diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index a737b1a88..58361cef8 100644 --- a/.github/CODE_OF_CONDUCT.md +++ b/.github/CODE_OF_CONDUCT.md @@ -2,11 +2,11 @@ ## 1. Purpose -A primary goal of Parity is to be inclusive to the largest number of contributors, with the most varied and diverse backgrounds possible. As such, we are committed to providing a friendly, safe and welcoming environment for all, regardless of gender, sexual orientation, ability, ethnicity, socioeconomic status, and religion (or lack thereof). +A primary goal of OpenEthereum is to be inclusive to the largest number of contributors, with the most varied and diverse backgrounds possible. As such, we are committed to providing a friendly, safe and welcoming environment for all, regardless of gender, sexual orientation, ability, ethnicity, socioeconomic status, and religion (or lack thereof). This code of conduct outlines our expectations for all those who participate in our community, as well as the consequences for unacceptable behavior. -We invite all those who participate in Parity to help us create safe and positive experiences for everyone. +We invite all those who participate in OpenEthereum to help us create safe and positive experiences for everyone. ## 2. Open Source Citizenship @@ -63,7 +63,7 @@ Additionally, community organizers are available to help community members engag ## 7. Addressing Grievances -If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify Parity Technologies with a concise description of your grievance. Your grievance will be handled in accordance with our existing governing policies. +If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify OpenEthereum Technologies with a concise description of your grievance. Your grievance will be handled in accordance with our existing governing policies. ## 8. Scope @@ -73,7 +73,7 @@ This code of conduct and its related procedures also applies to unacceptable beh ## 9. Contact info -You can contact Parity via Email: community@parity.io +You can contact OpenEthereum via Email: community@parity.io ## 10. License and attribution diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 6d58aa941..6aa2d8f69 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -2,7 +2,7 @@ ## Do you have a question? -Check out our [Basic Usage](https://wiki.parity.io/Basic-Usage), [Configuration](https://wiki.parity.io/Configuring-Parity-Ethereum), and [FAQ](https://wiki.parity.io/FAQ) articles on our [wiki](https://wiki.parity.io/)! +Check out our [Basic Usage](https://openethereum.github.io/wiki/Basic-Usage), [Configuration](https://openethereum.github.io/wiki/Configuring-OpenEthereum), and [FAQ](https://openethereum.github.io/wiki/FAQ) articles on our [wiki](https://openethereum.github.io/wiki)! See also frequently asked questions [tagged with `parity`](https://ethereum.stackexchange.com/questions/tagged/parity?sort=votes&pageSize=50) on Stack Exchange. @@ -10,11 +10,11 @@ See also frequently asked questions [tagged with `parity`](https://ethereum.stac Do **not** open an issue on Github if you think your discovered bug could be a **security-relevant vulnerability**. Please, read our [security policy](../SECURITY.md) instead. -Otherwise, just create a [new issue](https://github.com/paritytech/parity-ethereum/issues/new) in our repository and state: +Otherwise, just create a [new issue](https://github.com/openethereum/openethereum/issues/new) in our repository and state: -- What's your Parity Ethereum version? +- What's your OpenEthereum version? - What's your operating system and version? -- How did you install Parity Ethereum? +- How did you install OpenEthereum? - Is your node fully synchronized? - Did you try turning it off and on again? @@ -22,11 +22,11 @@ Also, try to include **steps to reproduce** the issue and expand on the **actual ## Contribute! -If you would like to contribute to Parity Ethereum, please **fork it**, fix bugs or implement features, and [propose a pull request](https://github.com/paritytech/parity-ethereum/compare). +If you would like to contribute to OpenEthereum, please **fork it**, fix bugs or implement features, and [propose a pull request](https://github.com/openethereum/openethereum/compare). ### Labels & Milestones -We use [labels](https://github.com/paritytech/parity-ethereum/labels) to manage PRs and issues and communicate the state of a PR. Please familiarize yourself with them. Furthermore we are organizing issues in [milestones](https://github.com/paritytech/parity-ethereum/milestones). Best way to get started is to a pick a ticket from the current milestone tagged [`easy`](https://github.com/paritytech/parity-ethereum/labels/Q2-easy%20%F0%9F%92%83) and get going, or [`mentor`](https://github.com/paritytech/parity-ethereum/labels/Q1-mentor%20%F0%9F%95%BA) and get in contact with the mentor offering their support on that larger task. +We use [labels](https://github.com/openethereum/openethereum/labels) to manage PRs and issues and communicate the state of a PR. Please familiarize yourself with them. Furthermore we are organizing issues in [milestones](https://github.com/openethereum/openethereum/milestones). Best way to get started is to a pick a ticket from the current milestone tagged [`easy`](https://github.com/openethereum/openethereum/labels/Q2-easy%20%F0%9F%92%83) and get going, or [`mentor`](https://github.com/openethereum/openethereum/labels/Q1-mentor%20%F0%9F%95%BA) and get in contact with the mentor offering their support on that larger task. ### Rules @@ -35,22 +35,22 @@ There are a few basic ground-rules for contributors (including the maintainer(s) * **No pushing directly to the master branch**. * **All modifications** must be made in a **pull-request** to solicit feedback from other contributors. * Pull-requests cannot be merged before CI runs green and two reviewers have given their approval. -* Contributors should adhere to the [Parity Ethereum Style Guide](https://wiki.parity.io/Parity-Ethereum-Style-Guide). +* Contributors should adhere to the [Parity Ethereum Style Guide](https://openethereum.github.io/wiki/Parity-Ethereum-Style-Guide). ### Recommendations -* **Non-master branch names** *should* be prefixed with a short name moniker, followed by the associated Github Issue ID (if any), and a brief description of the task using the format `--` (e.g. `gavin-123-readme`). The name moniker helps people to inquiry about their unfinished work, and the GitHub Issue ID helps your future self and other developers (particularly those who are onboarding) find out about and understand the original scope of the task, and where it fits into Parity Ethereum [Projects](https://github.com/paritytech/parity-ethereum/projects). +* **Non-master branch names** *should* be prefixed with a short name moniker, followed by the associated Github Issue ID (if any), and a brief description of the task using the format `--` (e.g. `gavin-123-readme`). The name moniker helps people to inquiry about their unfinished work, and the GitHub Issue ID helps your future self and other developers (particularly those who are onboarding) find out about and understand the original scope of the task, and where it fits into Parity Ethereum [Projects](https://github.com/openethereum/openethereum/projects). * **Remove stale branches periodically** ### Preparing Pull Requests -* If your PR does not alter any logic (e.g. comments, dependencies, docs), then it may be tagged [`insubstantial`](https://github.com/paritytech/parity-ethereum/pulls?q=is%3Aopen+is%3Apr+label%3A%22A2-insubstantial+%F0%9F%91%B6%22). +* If your PR does not alter any logic (e.g. comments, dependencies, docs), then it may be tagged [`insubstantial`](https://github.com/openethereum/openethereum/pulls?q=is%3Aopen+is%3Apr+label%3A%22A2-insubstantial+%F0%9F%91%B6%22). -* Once a PR is ready for review please add the [`pleasereview`](https://github.com/paritytech/parity-ethereum/pulls?utf8=%E2%9C%93&q=is%3Aopen+is%3Apr+label%3A%22A0-pleasereview+%F0%9F%A4%93%22+) label. +* Once a PR is ready for review please add the [`pleasereview`](https://github.com/openethereum/openethereum/pulls?utf8=%E2%9C%93&q=is%3Aopen+is%3Apr+label%3A%22A0-pleasereview+%F0%9F%A4%93%22+) label. ### Reviewing Pull Requests*: -* At least two reviewers are required to review PRs (even for PRs tagged [`insubstantial`](https://github.com/paritytech/parity-ethereum/pulls?q=is%3Aopen+is%3Apr+label%3A%22A2-insubstantial+%F0%9F%91%B6%22)). +* At least two reviewers are required to review PRs (even for PRs tagged [`insubstantial`](https://github.com/openethereum/openethereum/pulls?q=is%3Aopen+is%3Apr+label%3A%22A2-insubstantial+%F0%9F%91%B6%22)). When doing a review, make sure to look for any: diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index fb059d428..9308be5bc 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,6 +1,6 @@ _Before filing a new issue, please **provide the following information**._ -- **Parity Ethereum version**: 0.0.0 +- **OpenEthereum version**: 0.0.0 - **Operating system**: Windows / MacOS / Linux - **Installation**: homebrew / one-line installer / built from source - **Fully synchronized**: no / yes diff --git a/Cargo.lock b/Cargo.lock index 32fae1c1e..845e72424 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -81,7 +81,7 @@ dependencies = [ [[package]] name = "app_dirs" version = "1.2.1" -source = "git+https://github.com/paritytech/app-dirs-rs#0b37f9481ce29e9d5174ad185bca695b206368eb" +source = "git+https://github.com/openethereum/app-dirs-rs#0b37f9481ce29e9d5174ad185bca695b206368eb" dependencies = [ "ole32-sys", "shell32-sys", @@ -2860,6 +2860,80 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" +[[package]] +name = "openethereum" +version = "3.0.1" +dependencies = [ + "ansi_term 0.10.2", + "atty", + "blooms-db", + "clap", + "cli-signer", + "common-types", + "ctrlc", + "dir", + "docopt", + "ethcore", + "ethcore-accounts", + "ethcore-blockchain", + "ethcore-call-contract", + "ethcore-db", + "ethcore-io", + "ethcore-logger", + "ethcore-miner", + "ethcore-network", + "ethcore-secretstore", + "ethcore-service", + "ethcore-sync", + "ethereum-types 0.4.2", + "ethkey", + "ethstore", + "fake-fetch", + "fdlimit", + "fetch", + "futures", + "hyper 0.12.35", + "ipnetwork", + "journaldb", + "jsonrpc-core", + "keccak-hash", + "kvdb", + "kvdb-rocksdb", + "lazy_static", + "log", + "migration-rocksdb", + "node-filter", + "num_cpus", + "number_prefix", + "panic_hook", + "parity-bytes", + "parity-daemonize", + "parity-local-store", + "parity-path", + "parity-rpc", + "parity-runtime", + "parity-version", + "parking_lot 0.7.1", + "pretty_assertions", + "prometheus", + "regex 1.3.9", + "registrar", + "rlp 0.3.0", + "rpassword", + "rustc-hex 1.0.0", + "rustc_version", + "semver", + "serde", + "serde_derive", + "serde_json", + "stats", + "tempdir", + "term_size", + "textwrap 0.9.0", + "toml 0.4.10", + "winapi 0.3.8", +] + [[package]] name = "order-stat" version = "0.1.3" @@ -2947,80 +3021,6 @@ dependencies = [ "mio", ] -[[package]] -name = "parity-ethereum" -version = "2.5.13" -dependencies = [ - "ansi_term 0.10.2", - "atty", - "blooms-db", - "clap", - "cli-signer", - "common-types", - "ctrlc", - "dir", - "docopt", - "ethcore", - "ethcore-accounts", - "ethcore-blockchain", - "ethcore-call-contract", - "ethcore-db", - "ethcore-io", - "ethcore-logger", - "ethcore-miner", - "ethcore-network", - "ethcore-secretstore", - "ethcore-service", - "ethcore-sync", - "ethereum-types 0.4.2", - "ethkey", - "ethstore", - "fake-fetch", - "fdlimit", - "fetch", - "futures", - "hyper 0.12.35", - "ipnetwork", - "journaldb", - "jsonrpc-core", - "keccak-hash", - "kvdb", - "kvdb-rocksdb", - "lazy_static", - "log", - "migration-rocksdb", - "node-filter", - "num_cpus", - "number_prefix", - "panic_hook", - "parity-bytes", - "parity-daemonize", - "parity-local-store", - "parity-path", - "parity-rpc", - "parity-runtime", - "parity-version", - "parking_lot 0.7.1", - "pretty_assertions", - "prometheus", - "regex 1.3.9", - "registrar", - "rlp 0.3.0", - "rpassword", - "rustc-hex 1.0.0", - "rustc_version", - "semver", - "serde", - "serde_derive", - "serde_json", - "stats", - "tempdir", - "term_size", - "textwrap 0.9.0", - "toml 0.4.10", - "winapi 0.3.8", -] - [[package]] name = "parity-local-store" version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml index 4d9f5bf1d..2453dde62 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,13 @@ [package] -description = "Parity Ethereum client" -name = "parity-ethereum" +description = "OpenEthereum" +name = "openethereum" # NOTE Make sure to update util/version/Cargo.toml as well -version = "2.5.13" +version = "3.0.1" license = "GPL-3.0" -authors = ["Parity Technologies "] +authors = [ + "OpenEthereum developers", + "Parity Technologies " +] [dependencies] blooms-db = { path = "util/blooms-db" } @@ -110,7 +113,7 @@ path = "parity/lib.rs" [[bin]] path = "parity/main.rs" -name = "parity" +name = "openethereum" [profile.test] lto = false diff --git a/README.md b/README.md index 330220ad6..d8e03fa8e 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,19 @@ -![Parity Ethereum](docs/logo-parity-ethereum.svg) +# OpenEthereum -

The Fastest and most Advanced Ethereum Client.

+Fast and feature-rich multi-network Ethereum client. -

» Download the latest release «

+[» Download the latest release «](https://github.com/openethereum/openethereum/releases/latest) -

-

+[![GPL licensed][license-badge]][license-url] +[![Build Status][ci-badge]][ci-url] +[![Discord chat][chat-badge]][chat-url] + +[license-badge]: https://img.shields.io/badge/license-GPL_v3-green.svg +[license-url]: LICENSE +[ci-badge]: https://github.com/openethereum/openethereum/workflows/Build%20and%20Test%20Suite/badge.svg +[ci-url]: https://github.com/openethereum/openethereum/actions +[chat-badge]: https://img.shields.io/discord/669192218728202270.svg?logo=discord +[chat-url]: https://discord.io/openethereum ## Table of Contents @@ -14,19 +22,17 @@ 3. [Building](#chapter-003)
3.1 [Building Dependencies](#chapter-0031)
3.2 [Building from Source Code](#chapter-0032)
- 3.3 [Simple One-Line Installer for Mac and Linux](#chapter-0033)
- 3.4 [Starting Parity Ethereum](#chapter-0034) + 3.3 [Starting OpenEthereum](#chapter-0034) 4. [Testing](#chapter-004) 5. [Documentation](#chapter-005) 6. [Toolchain](#chapter-006) -7. [Community](#chapter-007) -8. [Contributing](#chapter-008) -9. [License](#chapter-009) +7. [Contributing](#chapter-008) +8. [License](#chapter-009) ## 1. Description -**Built for mission-critical use**: Miners, service providers, and exchanges need fast synchronisation and maximum uptime. Parity Ethereum provides the core infrastructure essential for speedy and reliable services. +**Built for mission-critical use**: Miners, service providers, and exchanges need fast synchronisation and maximum uptime. OpenEthereum provides the core infrastructure essential for speedy and reliable services. - Clean, modular codebase for easy customisation - Advanced CLI-based client @@ -36,19 +42,19 @@ ## 2. Technical Overview -Parity Ethereum's goal is to be the fastest, lightest, and most secure Ethereum client. We are developing Parity Ethereum using the sophisticated and cutting-edge **Rust programming language**. Parity Ethereum is licensed under the GPLv3 and can be used for all your Ethereum needs. +OpenEthereum's goal is to be the fastest, lightest, and most secure Ethereum client. We are developing OpenEthereum using the **Rust programming language**. OpenEthereum is licensed under the GPLv3 and can be used for all your Ethereum needs. -By default, Parity Ethereum runs a JSON-RPC HTTP server on port `:8545` and a Web-Sockets server on port `:8546`. This is fully configurable and supports a number of APIs. +By default, OpenEthereum runs a JSON-RPC HTTP server on port `:8545` and a Web-Sockets server on port `:8546`. This is fully configurable and supports a number of APIs. -If you run into problems while using Parity Ethereum, check out the [wiki for documentation](https://wiki.parity.io/), feel free to [file an issue in this repository](https://github.com/paritytech/parity-ethereum/issues/new), or hop on our [Gitter](https://gitter.im/paritytech/parity) or [Riot](https://riot.im/app/#/group/+parity:matrix.parity.io) chat room to ask a question. We are glad to help! **For security-critical issues**, please refer to the security policy outlined in [SECURITY.md](SECURITY.md). +If you run into problems while using OpenEthereum, check out the [old wiki for documentation](https://openethereum.github.io/wiki/), feel free to [file an issue in this repository](https://github.com/openethereum/openethereum/issues/new), or hop on our [Discord](https://discord.io/openethereum) chat room to ask a question. We are glad to help! -Parity Ethereum's current beta-release is 2.6. You can download it at [the releases page](https://github.com/paritytech/parity-ethereum/releases) or follow the instructions below to build from source. Please, mind the [CHANGELOG.md](CHANGELOG.md) for a list of all changes between different versions. +You can download OpenEthereum's latest release at [the releases page](https://github.com/openethereum/openethereum/releases) or follow the instructions below to build from source. Read the [CHANGELOG.md](CHANGELOG.md) for a list of all changes between different versions. ## 3. Building ### 3.1 Build Dependencies -Parity Ethereum requires **latest stable Rust version** to build. +OpenEthereum requires **latest stable Rust version** to build. We recommend installing Rust through [rustup](https://www.rustup.rs/). If you don't already have `rustup`, you can install it like this: @@ -57,7 +63,7 @@ We recommend installing Rust through [rustup](https://www.rustup.rs/). If you do $ curl https://sh.rustup.rs -sSf | sh ``` - Parity Ethereum also requires `gcc`, `g++`, `pkg-config`, `file`, `make`, and `cmake` packages to be installed. + OpenEthereum also requires `clang` (>= 9.0), `clang++`, `pkg-config`, `file`, `make`, and `cmake` packages to be installed. - OSX: ```bash @@ -77,14 +83,14 @@ Once you have `rustup` installed, then you need to install: * [Perl](https://www.perl.org) * [Yasm](https://yasm.tortall.net) -Make sure that these binaries are in your `PATH`. After that, you should be able to build Parity Ethereum from source. +Make sure that these binaries are in your `PATH`. After that, you should be able to build OpenEthereum from source. ### 3.2 Build from Source Code ```bash -# download Parity Ethereum code -$ git clone https://github.com/paritytech/parity-ethereum -$ cd parity-ethereum +# download OpenEthereum code +$ git clone https://github.com/openethereum/openethereum +$ cd openethereum # build in release mode $ cargo build --release --features final @@ -104,50 +110,32 @@ Note, when compiling a crate and you receive errors, it's in most cases your out $ cargo clean ``` -This always compiles the latest nightly builds. If you want to build stable or beta, do a +This always compiles the latest nightly builds. If you want to build stable, do a ```bash $ git checkout stable ``` -or - -```bash -$ git checkout beta -``` - -### 3.3 Simple One-Line Installer for Mac and Linux - -```bash -bash <(curl https://get.parity.io -L) -``` - -The one-line installer always defaults to the latest beta release. To install a stable release, run: - -```bash -bash <(curl https://get.parity.io -L) -r stable -``` - -### 3.4 Starting Parity Ethereum +### 3.3 Starting OpenEthereum #### Manually -To start Parity Ethereum manually, just run +To start OpenEthereum manually, just run ```bash -$ ./target/release/parity +$ ./target/release/openethereum ``` -so Parity Ethereum begins syncing the Ethereum blockchain. +so OpenEthereum begins syncing the Ethereum blockchain. #### Using `systemd` service file -To start Parity Ethereum as a regular user using `systemd` init: +To start OpenEthereum as a regular user using `systemd` init: -1. Copy `./scripts/parity.service` to your +1. Copy `./scripts/openethereum.service` to your `systemd` user directory (usually `~/.config/systemd/user`). -2. Copy release to bin folder, write `sudo install ./target/release/parity /usr/bin/parity` -3. To configure Parity Ethereum, write a `/etc/parity/config.toml` config file, see [Configuring Parity Ethereum](https://paritytech.github.io/wiki/Configuring-Parity) for details. +2. Copy release to bin folder, write `sudo install ./target/release/openethereum /usr/bin/openethereum` +3. To configure OpenEthereum, see [our old wiki](https://openethereum.github.io/wiki/Configuring-OpenEthereum) for details. ## 4. Testing @@ -169,13 +157,11 @@ You can show your logs in the test output by passing `--nocapture` (i.e. `cargo ## 5. Documentation -Official website: https://parity.io +Be sure to [check out our old wiki](https://openethereum.github.io/wiki/) for more information. -Be sure to [check out our wiki](https://wiki.parity.io) for more information. +### Viewing documentation for OpenEthereum packages -### Viewing documentation for Parity Ethereum packages - -You can generate documentation for Parity Ethereum Rust packages that automatically opens in your web browser using [rustdoc with Cargo](https://doc.rust-lang.org/rustdoc/what-is-rustdoc.html#using-rustdoc-with-cargo) (of the The Rustdoc Book), by running the the following commands: +You can generate documentation for OpenEthereum Rust packages that automatically opens in your web browser using [rustdoc with Cargo](https://doc.rust-lang.org/rustdoc/what-is-rustdoc.html#using-rustdoc-with-cargo) (of the The Rustdoc Book), by running the the following commands: * **All** packages ``` @@ -189,179 +175,137 @@ You can generate documentation for Parity Ethereum Rust packages that automatica Use`--document-private-items` to also view private documentation and `--no-deps` to exclude building documentation for dependencies. -Replacing `` with one of the following from the details section below (i.e. `cargo doc --package parity-ethereum --open`): +Replacing `` with one of the following from the details section below (i.e. `cargo doc --package openethereum --open`): **Package List**

-* Parity Ethereum (EthCore) Client Application +* OpenEthereum Client Application ```bash - parity-ethereum + openethereum ``` -* Parity Ethereum Account Management, Key Management Tool, and Keys Generator +* OpenEthereum Account Management, Key Management Tool, and Keys Generator ```bash ethcore-accounts, ethkey-cli, ethstore, ethstore-cli ``` -* Parity Chain Specification +* OpenEthereum Chain Specification ```bash chainspec ``` -* Parity CLI Signer Tool & RPC Client +* OpenEthereum CLI Signer Tool & RPC Client ```bash cli-signer parity-rpc-client ``` -* Parity Ethereum Ethash & ProgPoW Implementations +* OpenEthereum Ethash & ProgPoW Implementations ```bash ethash ``` -* Parity (EthCore) Library +* EthCore Library ```bash ethcore ``` - * Parity Ethereum Blockchain Database, Test Generator, Configuration, + * OpenEthereum Blockchain Database, Test Generator, Configuration, Caching, Importing Blocks, and Block Information ```bash ethcore-blockchain ``` - * Parity Ethereum (EthCore) Contract Calls and Blockchain Service & Registry Information + * OpenEthereum Contract Calls and Blockchain Service & Registry Information ```bash ethcore-call-contract ``` - * Parity Ethereum (EthCore) Database Access & Utilities, Database Cache Manager + * OpenEthereum Database Access & Utilities, Database Cache Manager ```bash ethcore-db ``` - * Parity Ethereum Virtual Machine (EVM) Rust Implementation + * OpenEthereum Virtual Machine (EVM) Rust Implementation ```bash evm ``` - * Parity Ethereum (EthCore) Light Client Implementation + * OpenEthereum Light Client Implementation ```bash ethcore-light ``` - * Parity Smart Contract based Node Filter, Manage Permissions of Network Connections + * Smart Contract based Node Filter, Manage Permissions of Network Connections ```bash node-filter ``` - * Parity Ethereum (EthCore) Client & Network Service Creation & Registration with the I/O Subsystem + * OpenEthereum Client & Network Service Creation & Registration with the I/O Subsystem ```bash ethcore-service ``` - * Parity Ethereum (EthCore) Blockchain Synchronization + * OpenEthereum Blockchain Synchronization ```bash ethcore-sync ``` - * Parity Ethereum Common Types + * OpenEthereum Common Types ```bash common-types ``` - * Parity Ethereum Virtual Machines (VM) Support Library + * OpenEthereum Virtual Machines (VM) Support Library ```bash vm ``` - * Parity Ethereum WASM Interpreter + * OpenEthereum WASM Interpreter ```bash wasm ``` - * Parity Ethereum WASM Test Runner + * OpenEthereum WASM Test Runner ```bash pwasm-run-test ``` - * Parity EVM Implementation + * OpenEthereum EVM Implementation ```bash evmbin ``` - * Parity Ethereum JSON Deserialization + * OpenEthereum JSON Deserialization ```bash ethjson ``` - * Parity Ethereum State Machine Generalization for Consensus Engines + * OpenEthereum State Machine Generalization for Consensus Engines ```bash parity-machine ``` -* Parity Ethereum (EthCore) Miner Interface +* OpenEthereum Miner Interface ```bash ethcore-miner parity-local-store price-info ethcore-stratum using_queue ``` -* Parity Ethereum (EthCore) Logger Implementation +* OpenEthereum Logger Implementation ```bash ethcore-logger ``` -* Parity Ethereum JSON-RPC Servers +* OpenEthereum JSON-RPC Servers ```bash parity-rpc ``` -* Parity Ethereum (EthCore) Secret Store - ```bash - ethcore-secretstore - ``` -* Parity Updater Service +* OpenEthereum Updater Service ```bash parity-updater parity-hash-fetch ``` -* Parity Core Libraries (Parity Util) +* OpenEthereum Core Libraries (`util`) ```bash - ethcore-bloom-journal blooms-db dir eip-712 fake-fetch fastmap fetch ethcore-io - journaldb keccak-hasher len-caching-lock macros memory-cache memzero + accounts-bloom blooms-db dir eip-712 fake-fetch fastmap fetch ethcore-io + journaldb keccak-hasher len-caching-lock memory-cache memzero migration-rocksdb ethcore-network ethcore-network-devp2p panic_hook - patricia-trie-ethereum registrar rlp_compress rlp_derive parity-runtime stats + patricia-trie-ethereum registrar rlp_compress stats time-utils triehash-ethereum unexpected parity-version ```

-### Contributing to documentation for Parity Ethereum packages - -[Document source code](https://doc.rust-lang.org/1.9.0/book/documentation.html) for Parity Ethereum packages by annotating the source code with documentation comments. - -Example (generic documentation comment): -```markdown -/// Summary -/// -/// Description -/// -/// # Panics -/// -/// # Errors -/// -/// # Safety -/// -/// # Examples -/// -/// Summary of Example 1 -/// -/// ```rust -/// // insert example 1 code here for use with documentation as tests -/// ``` -/// -``` - ## 6. Toolchain -In addition to the Parity Ethereum client, there are additional tools in this repository available: +In addition to the OpenEthereum client, there are additional tools in this repository available: -- [evmbin](./evmbin) - Parity Ethereum EVM Implementation. -- [ethstore](./accounts/ethstore) - Parity Ethereum Key Management. -- [ethkey](./accounts/ethkey) - Parity Ethereum Keys Generator. +- [evmbin](./evmbin) - OpenEthereum EVM Implementation. +- [ethstore](./accounts/ethstore) - OpenEthereum Key Management. +- [ethkey](./accounts/ethkey) - OpenEthereum Keys Generator. -The following tool is available in a separate repository: -- [ethabi](https://github.com/paritytech/ethabi) - Parity Ethereum Encoding of Function Calls. [Docs here](https://crates.io/crates/ethabi) +The following tools are available in a separate repository: +- [ethabi](https://github.com/openethereum/ethabi) - OpenEthereum Encoding of Function Calls. [Docs here](https://crates.io/crates/ethabi) +- [whisper](https://github.com/openethereum/whisper) - OpenEthereum Whisper-v2 PoC Implementation. -## 7. Community - -### Join the chat! - -Questions? Get in touch with us on Gitter: -[![Gitter: Parity](https://img.shields.io/badge/gitter-parity-4AB495.svg)](https://gitter.im/paritytech/parity) -[![Gitter: Parity.js](https://img.shields.io/badge/gitter-parity.js-4AB495.svg)](https://gitter.im/paritytech/parity.js) -[![Gitter: Parity/Miners](https://img.shields.io/badge/gitter-parity/miners-4AB495.svg)](https://gitter.im/paritytech/parity/miners) -[![Gitter: Parity-PoA](https://img.shields.io/badge/gitter-parity--poa-4AB495.svg)](https://gitter.im/paritytech/parity-poa) - -Alternatively, join our community on Matrix: -[![Riot: +Parity](https://img.shields.io/badge/riot-%2Bparity%3Amatrix.parity.io-orange.svg)](https://riot.im/app/#/group/+parity:matrix.parity.io) - -## 8. Contributing +## 7. Contributing An introduction has been provided in the ["So You Want to be a Core Developer" presentation slides by Hernando Castano](http://tiny.cc/contrib-to-parity-eth). Additional guidelines are provided in [CONTRIBUTING](./.github/CONTRIBUTING.md). @@ -369,6 +313,6 @@ An introduction has been provided in the ["So You Want to be a Core Developer" p [CODE_OF_CONDUCT](./.github/CODE_OF_CONDUCT.md) -## 9. License +## 8. License [LICENSE](./LICENSE) diff --git a/SECURITY.md b/SECURITY.md deleted file mode 100644 index 3f977bd1b..000000000 --- a/SECURITY.md +++ /dev/null @@ -1,80 +0,0 @@ -# Security Policy - -Parity Technologies is committed to resolving security vulnerabilities in our software quickly and carefully. We take the necessary steps to minimize risk, provide timely information, and deliver vulnerability fixes and mitigations required to address security issues. - -## Reporting a Vulnerability - -Security vulnerabilities in Parity software should be reported by email to security@parity.io. If you think your report might be eligible for the Parity Bug Bounty Program, your email should be send to bugbounty@parity.io. - -Your report should include the following: - -- your name -- description of the vulnerability -- attack scenario (if any) -- components -- reproduction -- other details - -Try to include as much information in your report as you can, including a description of the vulnerability, its potential impact, and steps for reproducing it. Be sure to use a descriptive subject line. - -You'll receive a response to your email within two business days indicating the next steps in handling your report. We encourage finders to use encrypted communication channels to protect the confidentiality of vulnerability reports. You can encrypt your report using our public key. This key is [on MIT's key server](https://pgp.mit.edu/pks/lookup?op=get&search=0x5D0F03018D07DE73) server and reproduced below. - -After the initial reply to your report, our team will endeavor to keep you informed of the progress being made towards a fix. These updates will be sent at least every five business days. - -Thank you for taking the time to responsibly disclose any vulnerabilities you find. - -## Responsible Investigation and Reporting - -Responsible investigation and reporting includes, but isn't limited to, the following: - -- Don't violate the privacy of other users, destroy data, etc. -- Don’t defraud or harm Parity Technologies Ltd or its users during your research; you should make a good faith effort to not interrupt or degrade our services. -- Don't target our physical security measures, or attempt to use social engineering, spam, distributed denial of service (DDOS) attacks, etc. -- Initially report the bug only to us and not to anyone else. -- Give us a reasonable amount of time to fix the bug before disclosing it to anyone else, and give us adequate written warning before disclosing it to anyone else. -- In general, please investigate and report bugs in a way that makes a reasonable, good faith effort not to be disruptive or harmful to us or our users. Otherwise your actions might be interpreted as an attack rather than an effort to be helpful. - -## Bug Bounty Program - -Our Bug Bounty Program allows us to recognise and reward members of the Parity community for helping us find and address significant bugs, in accordance with the terms of the Parity Bug Bounty Program. A detailed description on eligibility, rewards, legal information and terms & conditions for contributors can be found on [our website](https://paritytech.io/bug-bounty.html). - - - - - - -## Plaintext PGP Key - -``` ------BEGIN PGP PUBLIC KEY BLOCK----- - -mQENBFlyIAwBCACe0keNPjgYzZ1Oy/8t3zj/Qw9bHHqrzx7FWy8NbXnYBM19NqOZ -DIP7Oe0DvCaf/uruBskCS0iVstHlEFQ2AYe0Ei0REt9lQdy61GylU/DEB3879IG+ -6FO0SnFeYeerv1/hFI2K6uv8v7PyyVDiiJSW0I1KIs2OBwJicTKmWxLAeQsRgx9G -yRGalrVk4KP+6pWTA7k3DxmDZKZyfYV/Ej10NtuzmsemwDbv98HKeomp/kgFOfSy -3AZjeCpctlsNqpjUuXa0/HudmH2WLxZ0fz8XeoRh8XM9UudNIecjrDqmAFrt/btQ -/3guvlzhFCdhYPVGsUusKMECk/JG+Xx1/1ZjABEBAAG0LFBhcml0eSBTZWN1cml0 -eSBDb250YWN0IDxzZWN1cml0eUBwYXJpdHkuaW8+iQFUBBMBCAA+FiEE2uUVYCjP -N6B8aTiDXQ8DAY0H3nMFAllyIAwCGwMFCQPCZwAFCwkIBwIGFQgJCgsCBBYCAwEC -HgECF4AACgkQXQ8DAY0H3nM60wgAkS3A36Zc+upiaxU7tumcGv+an17j7gin0sif -+0ELSjVfrXInM6ovai+NhUdcLkJ7tCrKS90fvlaELK5Sg9CXBWCTFccKN4A/B7ey -rOg2NPXUecnyBB/XqQgKYH7ujYlOlqBDXMfz6z8Hj6WToxg9PPMGGomyMGh8AWxM -3yRPFs5RKt0VKgN++5N00oly5Y8ri5pgCidDvCLYMGTVDHFKwkuc9w6BlWlu1R1e -/hXFWUFAP1ffTAul3QwyKhjPn2iotCdxXjvt48KaU8DN4iL7aMBN/ZBKqGS7yRdF -D/JbJyaaJ0ZRvFSTSXy/sWY3z1B5mtCPBxco8hqqNfRkCwuZ6LkBDQRZciAMAQgA -8BP8xrwe12TOUTqL/Vrbxv/FLdhKh53J6TrPKvC2TEEKOrTNo5ahRq+XOS5E7G2N -x3b+fq8gR9BzFcldAx0XWUtGs/Wv++ulaSNqTBxj13J3G3WGsUfMKxRgj//piCUD -bCFLQfGZdKk0M1o9QkPVARwwmvCNiNB/l++xGqPtfc44H5jWj3GoGvL2MkShPzrN -yN/bJ+m+R5gtFGdInqa5KXBuxxuW25eDKJ+LzjbgUgeC76wNcfOiQHTdMkcupjdO -bbGFwo10hcbRAOcZEv6//Zrlmk/6nPxEd2hN20St2bSN0+FqfZ267mWEu3ejsgF8 -ArdCpv5h4fBvJyNwiTZwIQARAQABiQE8BBgBCAAmFiEE2uUVYCjPN6B8aTiDXQ8D -AY0H3nMFAllyIAwCGwwFCQPCZwAACgkQXQ8DAY0H3nNisggAl4fqhRlA34wIb190 -sqXHVxiCuzPaqS6krE9xAa1+gncX485OtcJNqnjugHm2rFE48lv7oasviuPXuInE -/OgVFnXYv9d/Xx2JUeDs+bFTLouCDRY2Unh7KJZasfqnMcCHWcxHx5FvRNZRssaB -WTZVo6sizPurGUtbpYe4/OLFhadBqAE0EUmVRFEUMc1YTnu4eLaRBzoWN4d2UWwi -LN25RSrVSke7LTSFbgn9ntQrQ2smXSR+cdNkkfRCjFcpUaecvFl9HwIqoyVbT4Ym -0hbpbbX/cJdc91tKa+psa29uMeGL/cgL9fAu19yNFRyOTMxjZnvql1X/WE1pLmoP -ETBD1Q== -=K9Qw ------END PGP PUBLIC KEY BLOCK----- -``` diff --git a/accounts/Cargo.toml b/accounts/Cargo.toml index d9a1dcae8..e88d77683 100644 --- a/accounts/Cargo.toml +++ b/accounts/Cargo.toml @@ -1,6 +1,6 @@ [package] -description = "Parity Ethereum Account Management" -homepage = "http://parity.io" +description = "OpenEthereum Account Management" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" name = "ethcore-accounts" version = "0.1.0" diff --git a/accounts/ethkey/cli/src/main.rs b/accounts/ethkey/cli/src/main.rs index 9d5ceb5fb..7327553e1 100644 --- a/accounts/ethkey/cli/src/main.rs +++ b/accounts/ethkey/cli/src/main.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate docopt; extern crate env_logger; diff --git a/accounts/ethkey/src/brain.rs b/accounts/ethkey/src/brain.rs index 4f4719f44..9d835f118 100644 --- a/accounts/ethkey/src/brain.rs +++ b/accounts/ethkey/src/brain.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{Generator, KeyPair, Secret}; use keccak::Keccak256; diff --git a/accounts/ethkey/src/brain_prefix.rs b/accounts/ethkey/src/brain_prefix.rs index 1ad566b25..cc25a03f2 100644 --- a/accounts/ethkey/src/brain_prefix.rs +++ b/accounts/ethkey/src/brain_prefix.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{Brain, Error, Generator, KeyPair}; use parity_wordlist as wordlist; diff --git a/accounts/ethkey/src/brain_recover.rs b/accounts/ethkey/src/brain_recover.rs index c9bea1642..92cd7df1e 100644 --- a/accounts/ethkey/src/brain_recover.rs +++ b/accounts/ethkey/src/brain_recover.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::collections::HashSet; diff --git a/accounts/ethkey/src/crypto.rs b/accounts/ethkey/src/crypto.rs index a9406c7b7..4fa1ee690 100644 --- a/accounts/ethkey/src/crypto.rs +++ b/accounts/ethkey/src/crypto.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . #![allow(deprecated)] diff --git a/accounts/ethkey/src/error.rs b/accounts/ethkey/src/error.rs index f7683f610..3e66a905d 100644 --- a/accounts/ethkey/src/error.rs +++ b/accounts/ethkey/src/error.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{error, fmt}; diff --git a/accounts/ethkey/src/extended.rs b/accounts/ethkey/src/extended.rs index bc78ec9a1..663f555e7 100644 --- a/accounts/ethkey/src/extended.rs +++ b/accounts/ethkey/src/extended.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Extended keys diff --git a/accounts/ethkey/src/keccak.rs b/accounts/ethkey/src/keccak.rs index 5a1e1e0ad..e3c67b34d 100644 --- a/accounts/ethkey/src/keccak.rs +++ b/accounts/ethkey/src/keccak.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use tiny_keccak::Keccak; diff --git a/accounts/ethkey/src/keypair.rs b/accounts/ethkey/src/keypair.rs index eca1ed862..7f97e03fb 100644 --- a/accounts/ethkey/src/keypair.rs +++ b/accounts/ethkey/src/keypair.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{Address, Error, Public, Secret, SECP256K1}; use keccak::Keccak256; diff --git a/accounts/ethkey/src/lib.rs b/accounts/ethkey/src/lib.rs index 081ba1ea5..4aa436dc2 100644 --- a/accounts/ethkey/src/lib.rs +++ b/accounts/ethkey/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . // #![warn(missing_docs)] diff --git a/accounts/ethkey/src/math.rs b/accounts/ethkey/src/math.rs index 9f226972d..5b61cd05d 100644 --- a/accounts/ethkey/src/math.rs +++ b/accounts/ethkey/src/math.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{Error, Public, Secret, SECP256K1}; use ethereum_types::{H256, U256}; diff --git a/accounts/ethkey/src/password.rs b/accounts/ethkey/src/password.rs index 48359cbec..9b3aa07d7 100644 --- a/accounts/ethkey/src/password.rs +++ b/accounts/ethkey/src/password.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{fmt, ptr}; diff --git a/accounts/ethkey/src/prefix.rs b/accounts/ethkey/src/prefix.rs index 0180d4613..61382e721 100644 --- a/accounts/ethkey/src/prefix.rs +++ b/accounts/ethkey/src/prefix.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{Error, Generator, KeyPair, Random}; diff --git a/accounts/ethkey/src/random.rs b/accounts/ethkey/src/random.rs index fe1d3c3dd..6bf833d27 100644 --- a/accounts/ethkey/src/random.rs +++ b/accounts/ethkey/src/random.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{Generator, KeyPair, SECP256K1}; use rand::os::OsRng; diff --git a/accounts/ethkey/src/secret.rs b/accounts/ethkey/src/secret.rs index 8fa9c7b21..ab78e494d 100644 --- a/accounts/ethkey/src/secret.rs +++ b/accounts/ethkey/src/secret.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use memzero::Memzero; diff --git a/accounts/ethkey/src/signature.rs b/accounts/ethkey/src/signature.rs index efd192119..fdb7b4c10 100644 --- a/accounts/ethkey/src/signature.rs +++ b/accounts/ethkey/src/signature.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{H256, H520}; use public_to_address; diff --git a/accounts/ethstore/cli/src/crack.rs b/accounts/ethstore/cli/src/crack.rs index deb858d0d..04f6086a5 100644 --- a/accounts/ethstore/cli/src/crack.rs +++ b/accounts/ethstore/cli/src/crack.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use parking_lot::Mutex; use std::{cmp, collections::VecDeque, sync::Arc, thread}; diff --git a/accounts/ethstore/cli/src/main.rs b/accounts/ethstore/cli/src/main.rs index 752c2ac1d..6d275194e 100644 --- a/accounts/ethstore/cli/src/main.rs +++ b/accounts/ethstore/cli/src/main.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate dir; extern crate docopt; @@ -168,7 +168,9 @@ fn key_dir(location: &str, password: Option) -> Result { let chain = path.split('-').nth(1).unwrap_or("ethereum"); - let path = dir::parity(chain); + let mut path = dir::default_data_pathbuf(); + path.push("keys"); + path.push(chain); RootDiskDirectory::create(path)? } path => RootDiskDirectory::create(path)?, diff --git a/accounts/ethstore/src/account/cipher.rs b/accounts/ethstore/src/account/cipher.rs index 246cf2069..ba3c1e705 100644 --- a/accounts/ethstore/src/account/cipher.rs +++ b/accounts/ethstore/src/account/cipher.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use json; diff --git a/accounts/ethstore/src/account/crypto.rs b/accounts/ethstore/src/account/crypto.rs index 8dacd73ca..5b30dbbba 100644 --- a/accounts/ethstore/src/account/crypto.rs +++ b/accounts/ethstore/src/account/crypto.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use account::{Aes128Ctr, Cipher, Kdf, Pbkdf2, Prf}; use crypto::{self, Keccak256}; diff --git a/accounts/ethstore/src/account/kdf.rs b/accounts/ethstore/src/account/kdf.rs index e0d2ccb89..2841f1776 100644 --- a/accounts/ethstore/src/account/kdf.rs +++ b/accounts/ethstore/src/account/kdf.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use json; use std::num::NonZeroU32; diff --git a/accounts/ethstore/src/account/mod.rs b/accounts/ethstore/src/account/mod.rs index e6225fd60..b1757474f 100644 --- a/accounts/ethstore/src/account/mod.rs +++ b/accounts/ethstore/src/account/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . mod cipher; mod crypto; diff --git a/accounts/ethstore/src/account/safe_account.rs b/accounts/ethstore/src/account/safe_account.rs index 4e0750d3b..a6f3d007d 100644 --- a/accounts/ethstore/src/account/safe_account.rs +++ b/accounts/ethstore/src/account/safe_account.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::crypto::Crypto; use account::Version; diff --git a/accounts/ethstore/src/account/version.rs b/accounts/ethstore/src/account/version.rs index 14d5f3a67..514873868 100644 --- a/accounts/ethstore/src/account/version.rs +++ b/accounts/ethstore/src/account/version.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use json; diff --git a/accounts/ethstore/src/accounts_dir/disk.rs b/accounts/ethstore/src/accounts_dir/disk.rs index e3768bcf9..c981f6949 100644 --- a/accounts/ethstore/src/accounts_dir/disk.rs +++ b/accounts/ethstore/src/accounts_dir/disk.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{ vault::{VaultDiskDirectory, VAULT_FILE_NAME}, diff --git a/accounts/ethstore/src/accounts_dir/memory.rs b/accounts/ethstore/src/accounts_dir/memory.rs index b0b0e395e..80ecb6676 100644 --- a/accounts/ethstore/src/accounts_dir/memory.rs +++ b/accounts/ethstore/src/accounts_dir/memory.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethkey::Address; use itertools; diff --git a/accounts/ethstore/src/accounts_dir/mod.rs b/accounts/ethstore/src/accounts_dir/mod.rs index 1926cdc06..29fc50f2b 100644 --- a/accounts/ethstore/src/accounts_dir/mod.rs +++ b/accounts/ethstore/src/accounts_dir/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Accounts Directory diff --git a/accounts/ethstore/src/accounts_dir/vault.rs b/accounts/ethstore/src/accounts_dir/vault.rs index c909b072f..3c4cf3f5a 100644 --- a/accounts/ethstore/src/accounts_dir/vault.rs +++ b/accounts/ethstore/src/accounts_dir/vault.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{ super::account::Crypto, diff --git a/accounts/ethstore/src/error.rs b/accounts/ethstore/src/error.rs index ec6622f16..72372db87 100644 --- a/accounts/ethstore/src/error.rs +++ b/accounts/ethstore/src/error.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use crypto::{self, Error as EthCryptoError}; use ethkey::{self, DerivationError, Error as EthKeyError}; diff --git a/accounts/ethstore/src/ethkey.rs b/accounts/ethstore/src/ethkey.rs index 2c45716e8..dc08af419 100644 --- a/accounts/ethstore/src/ethkey.rs +++ b/accounts/ethstore/src/ethkey.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! ethkey reexport to make documentation look pretty. pub use _ethkey::*; diff --git a/accounts/ethstore/src/ethstore.rs b/accounts/ethstore/src/ethstore.rs index 3856a4d94..3de0d1380 100644 --- a/accounts/ethstore/src/ethstore.rs +++ b/accounts/ethstore/src/ethstore.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use parking_lot::{Mutex, RwLock}; use std::{ diff --git a/accounts/ethstore/src/import.rs b/accounts/ethstore/src/import.rs index d3ecd0e6d..949d37db7 100644 --- a/accounts/ethstore/src/import.rs +++ b/accounts/ethstore/src/import.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{collections::HashSet, fs, path::Path}; diff --git a/accounts/ethstore/src/json/bytes.rs b/accounts/ethstore/src/json/bytes.rs index c4fa05092..b1cdcf04f 100644 --- a/accounts/ethstore/src/json/bytes.rs +++ b/accounts/ethstore/src/json/bytes.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use rustc_hex::{FromHex, FromHexError, ToHex}; use serde::{de::Error, Deserialize, Deserializer, Serialize, Serializer}; diff --git a/accounts/ethstore/src/json/cipher.rs b/accounts/ethstore/src/json/cipher.rs index b6fb7380b..e2848c86e 100644 --- a/accounts/ethstore/src/json/cipher.rs +++ b/accounts/ethstore/src/json/cipher.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{Error, H128}; use serde::{ diff --git a/accounts/ethstore/src/json/crypto.rs b/accounts/ethstore/src/json/crypto.rs index 3690f6a7a..2afe5bbd1 100644 --- a/accounts/ethstore/src/json/crypto.rs +++ b/accounts/ethstore/src/json/crypto.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{Bytes, Cipher, CipherSer, CipherSerParams, Kdf, KdfSer, KdfSerParams, H256}; use serde::{ diff --git a/accounts/ethstore/src/json/error.rs b/accounts/ethstore/src/json/error.rs index 465856c1d..6a4d8021b 100644 --- a/accounts/ethstore/src/json/error.rs +++ b/accounts/ethstore/src/json/error.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::fmt; diff --git a/accounts/ethstore/src/json/hash.rs b/accounts/ethstore/src/json/hash.rs index 93c4034b3..1a5b22b2e 100644 --- a/accounts/ethstore/src/json/hash.rs +++ b/accounts/ethstore/src/json/hash.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::Error; use rustc_hex::{FromHex, ToHex}; diff --git a/accounts/ethstore/src/json/id.rs b/accounts/ethstore/src/json/id.rs index bbedbf5cf..bbf1282a6 100644 --- a/accounts/ethstore/src/json/id.rs +++ b/accounts/ethstore/src/json/id.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Universaly unique identifier. use super::Error; diff --git a/accounts/ethstore/src/json/kdf.rs b/accounts/ethstore/src/json/kdf.rs index 2157e07c5..4955836f6 100644 --- a/accounts/ethstore/src/json/kdf.rs +++ b/accounts/ethstore/src/json/kdf.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{Bytes, Error}; use serde::{ diff --git a/accounts/ethstore/src/json/key_file.rs b/accounts/ethstore/src/json/key_file.rs index 17d7a9ca6..480493a9c 100644 --- a/accounts/ethstore/src/json/key_file.rs +++ b/accounts/ethstore/src/json/key_file.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{Crypto, Uuid, Version, H160}; use serde::{ diff --git a/accounts/ethstore/src/json/mod.rs b/accounts/ethstore/src/json/mod.rs index 94e4af19f..02614eaea 100644 --- a/accounts/ethstore/src/json/mod.rs +++ b/accounts/ethstore/src/json/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Contract interface specification. diff --git a/accounts/ethstore/src/json/presale.rs b/accounts/ethstore/src/json/presale.rs index 9dc91f27a..a2c9d6ce2 100644 --- a/accounts/ethstore/src/json/presale.rs +++ b/accounts/ethstore/src/json/presale.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{Bytes, H160}; use serde_json; diff --git a/accounts/ethstore/src/json/vault_file.rs b/accounts/ethstore/src/json/vault_file.rs index acb8f75a2..cd3de8e15 100644 --- a/accounts/ethstore/src/json/vault_file.rs +++ b/accounts/ethstore/src/json/vault_file.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::Crypto; use serde_json; diff --git a/accounts/ethstore/src/json/vault_key_file.rs b/accounts/ethstore/src/json/vault_key_file.rs index ab8f2d756..47b53a290 100644 --- a/accounts/ethstore/src/json/vault_key_file.rs +++ b/accounts/ethstore/src/json/vault_key_file.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{Crypto, Uuid, Version, H160}; use serde::de::Error; diff --git a/accounts/ethstore/src/json/version.rs b/accounts/ethstore/src/json/version.rs index 75f6470a0..127654c1f 100644 --- a/accounts/ethstore/src/json/version.rs +++ b/accounts/ethstore/src/json/version.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::Error; use serde::{ diff --git a/accounts/ethstore/src/lib.rs b/accounts/ethstore/src/lib.rs index b9e5de64d..0197229ca 100644 --- a/accounts/ethstore/src/lib.rs +++ b/accounts/ethstore/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Ethereum key-management. diff --git a/accounts/ethstore/src/presale.rs b/accounts/ethstore/src/presale.rs index 3a1b71969..0bf5905a9 100644 --- a/accounts/ethstore/src/presale.rs +++ b/accounts/ethstore/src/presale.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use crypto::{self, pbkdf2, Keccak256}; use ethkey::{Address, KeyPair, Password, Secret}; diff --git a/accounts/ethstore/src/random.rs b/accounts/ethstore/src/random.rs index 38df9e05e..c50abf85f 100644 --- a/accounts/ethstore/src/random.rs +++ b/accounts/ethstore/src/random.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use rand::{OsRng, Rng}; diff --git a/accounts/ethstore/src/secret_store.rs b/accounts/ethstore/src/secret_store.rs index 805f60394..b9c098c46 100644 --- a/accounts/ethstore/src/secret_store.rs +++ b/accounts/ethstore/src/secret_store.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use ethkey::{Address, Message, Password, Public, Secret, Signature}; diff --git a/accounts/ethstore/tests/api.rs b/accounts/ethstore/tests/api.rs index abf593deb..c37100c22 100644 --- a/accounts/ethstore/tests/api.rs +++ b/accounts/ethstore/tests/api.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate ethstore; extern crate rand; diff --git a/accounts/ethstore/tests/util/mod.rs b/accounts/ethstore/tests/util/mod.rs index 765007962..ea2af9839 100644 --- a/accounts/ethstore/tests/util/mod.rs +++ b/accounts/ethstore/tests/util/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . mod transient_dir; diff --git a/accounts/ethstore/tests/util/transient_dir.rs b/accounts/ethstore/tests/util/transient_dir.rs index 6e4aa339d..88fb755c1 100644 --- a/accounts/ethstore/tests/util/transient_dir.rs +++ b/accounts/ethstore/tests/util/transient_dir.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethstore::{ accounts_dir::{KeyDirectory, RootDiskDirectory}, diff --git a/accounts/src/account_data.rs b/accounts/src/account_data.rs index 0c55e0bc0..5bb41daf2 100644 --- a/accounts/src/account_data.rs +++ b/accounts/src/account_data.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Account Metadata diff --git a/accounts/src/error.rs b/accounts/src/error.rs index 1d31f073d..a826e0d16 100644 --- a/accounts/src/error.rs +++ b/accounts/src/error.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2018 Parity Technologies (UK) Ltd. -// This file is part of Parity. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity. If not, see . +// along with OpenEthereum. If not, see . use std::fmt; diff --git a/accounts/src/lib.rs b/accounts/src/lib.rs index 765bc9556..d7003d56c 100644 --- a/accounts/src/lib.rs +++ b/accounts/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . #![warn(missing_docs)] diff --git a/accounts/src/stores.rs b/accounts/src/stores.rs index b2d4c8b9b..63a551be1 100644 --- a/accounts/src/stores.rs +++ b/accounts/src/stores.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Address Book Store diff --git a/chainspec/src/main.rs b/chainspec/src/main.rs index c18d888e9..4928a99b5 100644 --- a/chainspec/src/main.rs +++ b/chainspec/src/main.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate ethjson; extern crate serde_json; diff --git a/cli-signer/Cargo.toml b/cli-signer/Cargo.toml index aa56da6f8..bc833fca4 100644 --- a/cli-signer/Cargo.toml +++ b/cli-signer/Cargo.toml @@ -1,6 +1,6 @@ [package] -description = "Parity Ethereum CLI Signer Tool" -homepage = "http://parity.io" +description = "OpenEthereum CLI Signer Tool" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" name = "cli-signer" version = "1.4.0" diff --git a/cli-signer/rpc-client/Cargo.toml b/cli-signer/rpc-client/Cargo.toml index 5fcf03f4c..90b8d73b6 100644 --- a/cli-signer/rpc-client/Cargo.toml +++ b/cli-signer/rpc-client/Cargo.toml @@ -1,6 +1,6 @@ [package] -description = "Parity Ethereum RPC Client" -homepage = "http://parity.io" +description = "OpenEthereum RPC Client" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" name = "parity-rpc-client" version = "1.4.0" diff --git a/cli-signer/rpc-client/src/client.rs b/cli-signer/rpc-client/src/client.rs index 94e2371ae..30c227bf9 100644 --- a/cli-signer/rpc-client/src/client.rs +++ b/cli-signer/rpc-client/src/client.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ collections::BTreeMap, diff --git a/cli-signer/rpc-client/src/lib.rs b/cli-signer/rpc-client/src/lib.rs index 47ec502b6..3f4b4d2d6 100644 --- a/cli-signer/rpc-client/src/lib.rs +++ b/cli-signer/rpc-client/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . pub mod client; pub mod signer_client; diff --git a/cli-signer/rpc-client/src/signer_client.rs b/cli-signer/rpc-client/src/signer_client.rs index f2f380eac..628394869 100644 --- a/cli-signer/rpc-client/src/signer_client.rs +++ b/cli-signer/rpc-client/src/signer_client.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use client::{Rpc, RpcError}; use ethereum_types::U256; diff --git a/cli-signer/src/lib.rs b/cli-signer/src/lib.rs index d96072911..fbd1b62cb 100644 --- a/cli-signer/src/lib.rs +++ b/cli-signer/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate ethereum_types; extern crate futures; diff --git a/docs/CHANGELOG-1.4.md b/docs/CHANGELOG-1.4.md index 7595c10a7..71bdd3a0b 100644 --- a/docs/CHANGELOG-1.4.md +++ b/docs/CHANGELOG-1.4.md @@ -27,7 +27,7 @@ Parity 1.4.10 is a first stable release of 1.4.x series. It includes a few minor - Gas_limit for blocks, mined by Parity will be divisible by 37 (#4154) [#4179](https://github.com/paritytech/parity/pull/4179) - gas_limit for new blocks will divide evenly by 13 - - increased PARITY_GAS_LIMIT_DETERMINANT to 37 + - increased GAS_LIMIT_DETERMINANT to 37 - separate method for marking mined block - debug_asserts(gas_limit within protocol range) - round_block_gas_limit method is now static diff --git a/docs/CHANGELOG-1.5.md b/docs/CHANGELOG-1.5.md index fe9f72375..aeaed99c8 100644 --- a/docs/CHANGELOG-1.5.md +++ b/docs/CHANGELOG-1.5.md @@ -421,7 +421,7 @@ Full changes: - Prevent duplicate incoming connections ([#4180](https://github.com/paritytech/parity/pull/4180)) - Gas_limit for blocks, mined by Parity will be divisible by 37 ([#4154](https://github.com/paritytech/parity/pull/4154)) [#4176](https://github.com/paritytech/parity/pull/4176) - gas_limit for new blocks will divide evenly by 13 - - increased PARITY_GAS_LIMIT_DETERMINANT to 37 + - increased GAS_LIMIT_DETERMINANT to 37 - separate method for marking mined block - debug_asserts(gas_limit within protocol range) - round_block_gas_limit method is now static diff --git a/docs/CHANGELOG-2.5.md b/docs/CHANGELOG-2.5.md new file mode 100644 index 000000000..bdd036977 --- /dev/null +++ b/docs/CHANGELOG-2.5.md @@ -0,0 +1,220 @@ +## Parity-Ethereum [v2.5.13](https://github.com/openethereum/openethereum/releases/tag/v2.5.13) + +Parity Ethereum v2.5.13-stable is a security release. Valid blocks with manipulated transactions (added/replaced) cause the client to stall. + +The full list of included changes: +* Make sure to not mark block header hash as invalid if only the body is wrong (#11356) + +## Parity-Ethereum [v2.5.12](https://github.com/openethereum/openethereum/releases/tag/v2.5.12) + +Parity Ethereum v2.5.12-stable is a patch release that adds Istanbul hardfork +block numbers for POA and xDai networks, implements ECIP-1056 and implements +EIP-2384/2387 - Muir Glacier. + +The full list of included changes: +* Enable EIP-2384 for ice age hard fork (#11281) +* ethcore/res: activate agharta on classic 9573000 (#11331) +* Istanbul HF in xDai (2019-12-12) (#11299) +* Istanbul HF in POA Core (2019-12-19) (#11298) +* Istanbul HF in POA Sokol (2019-12-05) (#11282) +* Activate ecip-1061 on kotti and mordor (#11338) +* Enable basic verification of local transactions (#11332) +* Disallow EIP-86 style null signatures for transactions outside tests (#11335) + + +## Parity-Ethereum [v2.5.11](https://github.com/openethereum/openethereum/releases/tag/v2.5.11) + +Parity Ethereum v2.5.11-stable is an emergency patch release that adds the missing +eip1344_transition for mainnet - Users are advised to update as soon as possible +to prevent any issues with the imminent Istanbul hardfork + +The full list of included changes: +- [chainspec]: add `eip1344_transition` for istanbul (#11301) + +## Parity-Ethereum [v2.5.10](https://github.com/openethereum/openethereum/releases/tag/2.5.10) + +Parity Ethereum v2.5.10-stable is a patch release that adds block numbers for +activating the Istanbul hardfork on mainnet, as well as a large number of +various bugfixes, QoL changes, some code cleanup/refactoring and other +miscellaneous changes. + +This release removes legacy aliases for the mainnet. If you specify `--chain homestead`, `--chain frontier` or `--chain byzantium`, this will need to be changed to one of: `--chain eth`, `--chain ethereum`, `--chain foundation` or `--chain mainnet`. + +The full list of included changes: + +* ropsten #6631425 foundation #8798209 (#11201) +* [stable] builtin, istanbul and mordor testnet backports (#11234) + * ethcore-builtin (#10850) + * [builtin]: support `multiple prices and activations` in chain spec (#11039) + * [chain specs]: activate `Istanbul` on mainnet (#11228) + * ethcore/res: add mordor testnet configuration (#11200) +* Update list of bootnodes for xDai chain (#11236) +* ethcore: remove `test-helper feat` from build (#11047) +* Secret store: fix Instant::now() related race in net_keep_alive (#11155) (#11159) +* [stable]: backport #10691 and #10683 (#11143) + * Fix compiler warning (that will become an error) (#10683) + * Refactor Clique stepping (#10691) +* Add Constantinople eips to the dev (instant_seal) config (#10809) +* Add cargo-remote dir to .gitignore (?) +* Insert explicit warning into the panic hook (#11225) +* Fix docker centos build (#11226) +* Update MIX bootnodes. (#11203) +* Use provided usd-per-eth value if an endpoint is specified (#11209) +* Add new line after writing block to hex file. (#10984) +* Type annotation for next_key() matching of json filter options (#11192) (but no `FilterOption` in 2.5 so…) +* Upgrade jsonrpc to latest (#11206) +* [CI] check evmbin build (#11096) +* Correct EIP-712 encoding (#11092) +* [client]: Fix for incorrectly dropped consensus messages (#11086) +* Fix block detail updating (#11015) +* Switching sccache from local to Redis (#10971) +* Made ecrecover implementation trait public (#11188) +* [dependencies]: jsonrpc `14.0.1` (#11183) +* [receipt]: add `sender` & `receiver` to `RichReceipts` (#11179) +* [ethcore/builtin]: do not panic in blake2pricer on short input (#11180) +* util Host: fix a double Read Lock bug in fn Host::session_readable() (#11175) +* ethcore client: fix a double Read Lock bug in fn Client::logs() (#11172) +* Change how RPCs eth_call and eth_estimateGas handle "Pending" (#11127) +* Cleanup stratum a bit (#11161) +* Upgrade to jsonrpc v14 (#11151) +* SecretStore: expose restore_key_public in HTTP API (#10241) + +## Parity-Ethereum [v2.5.9](https://github.com/openethereum/openethereum/releases/tag/v2.5.9) + +Parity Ethereum v2.5.9-stable is a patch release that adds the block numbers for activating the Istanbul hardfork on test networks: Ropsten, Görli, Rinkeby and Kovan. + +The full list of included changes: + +* ethcore/res: activate Istanbul on Ropsten, Görli, Rinkeby, Kovan (#11068) +* [json-spec] make blake2 pricing spec more readable (#11034) + +## Parity-Ethereum [v2.5.8](https://github.com/openethereum/openethereum/releases/tag/v2.5.8) + +Parity Ethereum v2.5.8-stable is a patch release that improves security, stability and performance. + +* The most noteworthy improvement in this release is incorporating all the EIPs required for the Istanbul hard fork. +* This release also fixes certain security and performance issues, one of which was suspected to be consensus-threatening but turned out to be benign. Thanks to Martin Holst Swende and Felix Lange from the Ethereum Foundation for bringing the suspicious issue to our attention. + +The full list of included changes: + +* add more tx tests (#11038) +* Fix parallel transactions race-condition (#10995) +* Add blake2_f precompile (#11017) +* [trace] introduce trace failed to Ext (#11019) +* Edit publish-onchain.sh to use https (#11016) +* Fix deadlock in network-devp2p (#11013) +* EIP 1108: Reduce alt_bn128 precompile gas costs (#11008) +* xDai chain support and nodes list update (#10989) +* EIP 2028: transaction gas lowered from 68 to 16 (#10987) +* EIP-1344 Add CHAINID op-code (#10983) +* manual publish jobs for releases, no changes for nightlies (#10977) +* [blooms-db] Fix benchmarks (#10974) +* Verify transaction against its block during import (#10954) +* Better error message for rpc gas price errors (#10931) +* tx-pool: accept local tx with higher gas price when pool full (#10901) +* Fix fork choice (#10837) +* Cleanup unused vm dependencies (#10787) +* Fix compilation on recent nightlies (#10991) +* Don't build rpc with ethcore test-helpers (#11048) +* EIP 1884 Re-pricing of trie-size dependent operations (#10992) +* Implement EIP-1283 reenable transition, EIP-1706 and EIP-2200 (#10191) + +## Parity-Ethereum [v2.5.7](https://github.com/openethereum/openethereum/releases/tag/v2.5.7) + +Parity Ethereum v2.5.7-stable is a bugfix release that fixes a potential DoS attack in the trace_call RPC method. This is a critical upgrade for anyone running Parity nodes with RPC exposed to the public internet (and highly recommended for anyone else). For details see this blog post. + +## Parity-Ethereum [v2.5.6](https://github.com/openethereum/openethereum/releases/tag/v2.5.6) + +Parity-Ethereum v2.5.6-stable is a bugfix release that improves stability. + +* Allow specifying hostnames for node URLs +* Fix a bug where archive nodes were losing peers + +The full list of included changes: + +* Kaspersky AV whitelisting (#10919) +* Avast whitelist script (#10900) +* Docker images renaming (#10863) +* Remove excessive warning (#10831) +* Allow --nat extip:your.host.here.org (#10830) +* When updating the client or when called from RPC, sleep should mean sleep (#10814) +* added new ropsten-bootnode and removed old one (#10794) +* ethkey no longer uses byteorder (#10786) +* Do not drop the peer with None difficulty (#10772) +* docs: Update Readme with TOC, Contributor Guideline. Update Cargo package descriptions (#10652) + +## Parity-Ethereum [v2.5.5](https://github.com/openethereum/openethereum/releases/tag/v2.5.5) + +Parity-Ethereum v2.5.5-stable is a minor release that improves performance and stability. +This release stabilises the 2.5 branch. + +As of today, Parity-Ethereum 2.4 reaches end of life and everyone is +encouraged to upgrade. + +## Parity-Ethereum [v2.5.4](https://github.com/openethereum/openethereum/releases/tag/v2.5.4) + +Parity Ethereum v2.5.4-beta is a security update that addresses servo/rust-smallvec#148 + +The full list of included changes: + +* cargo update -p smallvec ([#10822](https://github.com/openethereum/openethereum/pull/10822)) + +## Parity-Ethereum [v2.5.3](https://github.com/openethereum/openethereum/releases/tag/v2.5.3) + +Parity-Ethereum 2.5.3-beta is a bugfix release that improves performance and stability. + +* EthereumClassic: activate the Atlantis Hardfork +* Clique: fix time overflow +* State tests: treat empty accounts the same as non-existant accounts (EIP 1052) +* Networking: support discovery-only peers (geth bootnodes) +* Snapshotting: fix unclean shutdown while snappshotting is under way + +The full list of included changes: + +* ethcore/res: activate atlantis classic hf on block 8772000 ([#10766](https://github.com/openethereum/openethereum/pull/10766)) +* fix docker tags for publishing ([#10741](https://github.com/openethereum/openethereum/pull/10741)) +* fix: aura don't add `SystemTime::now()` ([#10720](https://github.com/openethereum/openethereum/pull/10720)) +* Treat empty account the same as non-exist accounts in EIP-1052 ([#10775](https://github.com/openethereum/openethereum/pull/10775)) +* DevP2p: Get node IP address and udp port from Socket, if not included in PING packet ([#10705](https://github.com/openethereum/openethereum/pull/10705)) +* Add a way to signal shutdown to snapshotting threads ([#10744](https://github.com/openethereum/openethereum/pull/10744)) + +## Parity-Ethereum [v2.5.2](https://github.com/openethereum/openethereum/releases/tag/v2.5.2) + +Parity-Ethereum 2.5.2-beta is a bugfix release that improves performance and stability. + +Among others, it enables the _Atlantis_ hardfork on **Morden** and **Kotti** Classic networks. + +The full list of included changes: + +* [CI] allow cargo audit to fail ([#10676](https://github.com/openethereum/openethereum/pull/10676)) +* Reset blockchain properly ([#10669](https://github.com/openethereum/openethereum/pull/10669)) +* new image ([#10673](https://github.com/openethereum/openethereum/pull/10673)) +* Update publishing ([#10644](https://github.com/openethereum/openethereum/pull/10644)) +* enable lto for release builds ([#10717](https://github.com/openethereum/openethereum/pull/10717)) +* Use RUSTFLAGS to set the optimization level ([#10719](https://github.com/openethereum/openethereum/pull/10719)) +* ethcore: enable ECIP-1054 for classic ([#10731](https://github.com/openethereum/openethereum/pull/10731)) + +## Parity-Ethereum [v2.5.1](https://github.com/openethereum/openethereum/releases/tag/v2.5.1) + +Parity-Ethereum 2.5.1-beta is a bugfix release that improves performance and stability. + +Among others, it enables the Petersburg hardfork on **Rinkeby** and **POA-Core** Network, as well as the **Kovan** Network community hardfork. + +The full list of included changes: + +* ci: publish docs debug ([#10638](https://github.com/openethereum/openethereum/pull/10638)) + +## Parity-Ethereum [v2.5.0](https://github.com/openethereum/openethereum/releases/tag/v2.5.0) + +Parity-Ethereum 2.5.0-beta is a minor release that improves performance and stabilizes the 2.5 branch by marking it as beta release. + +- This release adds support for the Clique consensus engine ([#9981](https://github.com/openethereum/openethereum/pull/9981)) + - This enables Parity-Ethereum users to use the Görli, the Kotti Classic, and the legacy Rinkeby testnet. To get started try `parity --chain goerli`; note that light client support is currently not yet fully functional. +- This release removes the dead chain configs for Easthub and Ethereum Social ([#10531](https://github.com/openethereum/openethereum/pull/10531)) + +As of today, Parity-Ethereum 2.3 reaches end of life and everyone is encouraged to upgrade. + +The full list of included changes: + +* fix(light cull): poll light cull instead of timer ([#10559](https://github.com/openethereum/openethereum/pull/10559)) + diff --git a/docs/CHANGELOG-2.6.md b/docs/CHANGELOG-2.6.md new file mode 100644 index 000000000..f09474e67 --- /dev/null +++ b/docs/CHANGELOG-2.6.md @@ -0,0 +1,307 @@ +## Parity-Ethereum [v2.6.8](https://github.com/openethereum/openethereum/releases/tag/v2.6.8) + +Parity Ethereum v2.6.8-beta is a security release. Valid blocks with manipulated transactions (added/replaced) cause the client to stall. + +The full list of included changes: +* Make sure to not mark block header hash as invalid if only the body is wrong (#11356) + +## Parity-Ethereum [v2.6.7](https://github.com/openethereum/openethereum/releases/tag/v2.6.7) + +Parity Ethereum v2.6.7-beta is a patch release that adds Istanbul hardfork +block numbers for POA and xDai networks, implements ECIP-1056 and implements +EIP-2384/2387 - Muir Glacier. + +The full list of included changes: +* Enable EIP-2384 for ice age hard fork (#11281) +* ethcore/res: activate agharta on classic 9573000 (#11331) +* Istanbul HF in xDai (2019-12-12) (#11299) +* Istanbul HF in POA Core (2019-12-19) (#11298) +* Istanbul HF in POA Sokol (2019-12-05) (#11282) +* Activate ecip-1061 on kotti and mordor (#11338) +* Enable basic verification of local transactions (#11332) +* Disallow EIP-86 style null signatures for transactions outside tests (#11335) +* SecretStore database migration to v4 (#11322) + +## Parity-Ethereum [v2.6.6](https://github.com/openethereum/openethereum/releases/tag/v2.6.6) + +Parity Ethereum v2.6.6-beta is an emergency patch release that adds the missing +eip1344_transition for mainnet - Users are advised to update as soon as possible +to prevent any issues with the imminent Istanbul hardfork + +The full list of included changes: +* [chainspec]: add `eip1344_transition` for istanbul (#11301) + +## Parity-Ethereum [v2.6.5](https://github.com/openethereum/openethereum/releases/tag/v2.6.5) + +Parity Ethereum v2.6.5-beta is a patch release that adds block numbers for activating the Istanbul hardfork on mainnet, as well as a large number of various bugfixes, QoL changes, some code cleanup/refactoring and other miscellaneous changes. + +This release removes legacy aliases for the mainnet. If you specify `--chain homestead`, `--chain frontier` or `--chain byzantium`, this will need to be changed to one of: `--chain eth`, `--chain ethereum`, `--chain foundation` or `--chain mainnet`. + +This release includes important changes to how snapshots are produced. The size of the Ethereum account state means that producing a snapshot takes a long while; most nodes today are not able to finish before the relevant state is pruned. Starting with v2.6.5, pruning is paused while a snapshot is underway, hopefully fixing the current dearth of recent snapshots. The downside to this is that memory usage goes up while a snapshot is produced. + +The full list of included changes: + +* [CI] check evmbin build (#11096) +* Correct EIP-712 encoding (#11092) +* [client]: Fix for incorrectly dropped consensus messages (#11082) (#11086) +* Update hardcoded headers (foundation, classic, kovan, xdai, ewc, ...) (#11053) +* Add cargo-remote dir to .gitignore (?) +* Update light client headers: ropsten 6631425 foundation 8798209 (#11201) +* Update list of bootnodes for xDai chain (#11236) +* ethcore/res: add mordor testnet configuration (#11200) +* [chain specs]: activate Istanbul on mainnet (#11228) +* [builtin]: support multiple prices and activations in chain spec (#11039) +* [receipt]: add sender & receiver to RichReceipts (#11179) +* [ethcore/builtin]: do not panic in blake2pricer on short input (#11180) +* Made ecrecover implementation trait public (#11188) +* Fix docker centos build (#11226) +* Update MIX bootnodes. (#11203) +* Insert explicit warning into the panic hook (#11225) +* Use provided usd-per-eth value if an endpoint is specified (#11209) +* Cleanup stratum a bit (#11161) +* Add Constantinople EIPs to the dev (instant_seal) config (#10809) (already backported) +* util Host: fix a double Read Lock bug in fn Host::session_readable() (#11175) +* ethcore client: fix a double Read Lock bug in fn Client::logs() (#11172) +* Type annotation for next_key() matching of json filter options (#11192) +* Upgrade jsonrpc to latest (#11206) +* [dependencies]: jsonrpc 14.0.1 (#11183) +* Upgrade to jsonrpc v14 (#11151) +* Switching sccache from local to Redis (#10971) +* Snapshot restoration overhaul (#11219) +* Add new line after writing block to hex file. (#10984) +* Pause pruning while snapshotting (#11178) +* Change how RPCs eth_call and eth_estimateGas handle "Pending" (#11127) +* Fix block detail updating (#11015) +* Make InstantSeal Instant again #11186 +* Filter out some bad ropsten warp snapshots (#11247) +* Allow default block parameter to be blockHash (#10932) + +## Parity-Ethereum [v2.6.4](https://github.com/openethereum/openethereum/releases/tag/v2.6.4) + +Parity Ethereum v2.6.4-stable is a patch release that adds the block numbers for activating the Istanbul hardfork on test networks: Ropsten, Görli, Rinkeby and Kovan. + +A full list of included changes: + +* ethcore/res: activate Istanbul on Ropsten, Görli, Rinkeby, Kovan (#11068) +* cleanup json crate (#11027) +* [json-spec] make blake2 pricing spec more readable (#11034) +* Update JSON tests to d4f86ecf4aa7c (#11054) + +## Parity-Ethereum [v2.6.3](https://github.com/openethereum/openethereum/releases/tag/v2.6.3) + +Parity Ethereum v2.6.3-stable is a patch release that improves security, stability and performance. + +* The most noteworthy improvement in this release is incorporating all the EIPs required for the Istanbul hard fork. +* This release also fixes certain security and performance issues, one of which was suspected to be consensus-threatening but turned out to be benign. Thanks to Martin Holst Swende and Felix Lange from the Ethereum Foundation for bringing the suspicious issue to our attention. + +The full list of included changes: + +* add more tx tests (#11038) +* Fix parallel transactions race-condition (#10995) +* Add blake2_f precompile (#11017) +* [trace] introduce trace failed to Ext (#11019) +* Edit publish-onchain.sh to use https (#11016) +* Fix deadlock in network-devp2p (#11013) +* EIP 1108: Reduce alt_bn128 precompile gas costs (#11008) +* xDai chain support and nodes list update (#10989) +* EIP 2028: transaction gas lowered from 68 to 16 (#10987) +* EIP-1344 Add CHAINID op-code (#10983) +* manual publish jobs for releases, no changes for nightlies (#10977) +* [blooms-db] Fix benchmarks (#10974) +* Verify transaction against its block during import (#10954) +* Better error message for rpc gas price errors (#10931) +* Fix fork choice (#10837) +* Fix compilation on recent nightlies (#10991) +* Don't build rpc with ethcore test-helpers (#11048) +* EIP 1884 Re-pricing of trie-size dependent operations (#10992) +* Implement EIP-1283 reenable transition, EIP-1706 and EIP-2200 (#10191) + +## Parity-Ethereum [v2.6.2](https://github.com/openethereum/openethereum/releases/tag/v2.6.2) + +Parity Ethereum v2.6.2-stable is a bugfix release that fixes a potential DoS attack in the trace_call RPC method. This is a critical upgrade for anyone running Parity nodes with RPC exposed to the public internet (and highly recommended for anyone else). For details see this blog post. + +## Parity-Ethereum [v2.6.1](https://github.com/openethereum/openethereum/releases/tag/v2.6.1) + +Parity-Ethereum 2.6.1-beta is a patch release that improves stability. + +This release includes: + * Allow specifying hostnames for node URLs + * Fix a bug where archive nodes were losing peers + * Add support for Energy Web Foundations new chains 'Volta' and 'EWC', and remove their deprecated 'Tobalaba' chain. + +The full list of included changes: + * Add support for Energy Web Foundation's new chains (#10957) + * Kaspersky AV whitelisting (#10919) + * Avast whitelist script (#10900) + * Docker images renaming (#10863) + * Remove excessive warning (#10831) + * Allow --nat extip:your.host.here.org (#10830) + * When updating the client or when called from RPC, sleep should mean sleep (#10814) + * added new ropsten-bootnode and removed old one (#10794) + * ethkey no longer uses byteorder (#10786) + * docs: Update Readme with TOC, Contributor Guideline. Update Cargo package descriptions (#10652) + +## Parity-Ethereum [v2.6.0](https://github.com/openethereum/openethereum/releases/tag/v2.6.0) + +Parity-Ethereum 2.6.0-beta is a minor release that stabilizes the 2.6 branch by +marking it as a beta release. + +This release includes: + * Major refactoring of the codebase + * Many bugfixes + * Significant improvements to logging, error and warning message clarity. + * SecretStore: remove support of old database formats (#10757) + * This is a potentially breaking change if you have not upgraded for + quite some time. + + As of today, Parity-Ethereum 2.4 reaches end of life, and everyone is + encouraged to upgrade. + +The full list of included changes: +* update jsonrpc to 12.0 ([#10841](https://github.com/openethereum/openethereum/pull/10841)) +* Move more code into state-account ([#10840](https://github.com/openethereum/openethereum/pull/10840)) +* Extract AccountDB to account-db ([#10839](https://github.com/openethereum/openethereum/pull/10839)) +* Extricate PodAccount and state Account to own crates ([#10838](https://github.com/openethereum/openethereum/pull/10838)) +* Fix fork choice ([#10837](https://github.com/openethereum/openethereum/pull/10837)) +* tests: Relates to #10655: Test instructions for Readme ([#10835](https://github.com/openethereum/openethereum/pull/10835)) +* idiomatic changes to PodState ([#10834](https://github.com/openethereum/openethereum/pull/10834)) +* Break circular dependency between Client and Engine (part 1) ([#10833](https://github.com/openethereum/openethereum/pull/10833)) +* Remove excessive warning ([#10831](https://github.com/openethereum/openethereum/pull/10831)) +* Allow --nat extip:your.host.here.org ([#10830](https://github.com/openethereum/openethereum/pull/10830)) +* ethcore does not use byteorder ([#10829](https://github.com/openethereum/openethereum/pull/10829)) +* Fix typo in README.md ([#10828](https://github.com/openethereum/openethereum/pull/10828)) +* Update wordlist to v1.3 ([#10823](https://github.com/openethereum/openethereum/pull/10823)) +* bump `smallvec 0.6.10` to fix vulnerability ([#10822](https://github.com/openethereum/openethereum/pull/10822)) +* removed additional_params method ([#10818](https://github.com/openethereum/openethereum/pull/10818)) +* Improve logging when remote peer is unknown ([#10817](https://github.com/openethereum/openethereum/pull/10817)) +* replace memzero with zeroize crate ([#10816](https://github.com/openethereum/openethereum/pull/10816)) +* When updating the client or when called from RPC, sleep should mean sleep ([#10814](https://github.com/openethereum/openethereum/pull/10814)) +* Don't reimplement the logic from the Default impl ([#10813](https://github.com/openethereum/openethereum/pull/10813)) +* refactor: whisper: Add type aliases and update rustdocs in message.rs ([#10812](https://github.com/openethereum/openethereum/pull/10812)) +* test: whisper/cli `add invalid pool size test depending on processor` ([#10811](https://github.com/openethereum/openethereum/pull/10811)) +* Add Constantinople EIPs to the dev (instant_seal) config ([#10809](https://github.com/openethereum/openethereum/pull/10809)) +* fix spurious test failure ([#10808](https://github.com/openethereum/openethereum/pull/10808)) +* revert temp changes to .gitlab-ci.yml ([#10807](https://github.com/openethereum/openethereum/pull/10807)) +* removed redundant fmt::Display implementations ([#10806](https://github.com/openethereum/openethereum/pull/10806)) +* removed EthEngine alias ([#10805](https://github.com/openethereum/openethereum/pull/10805)) +* ethcore-bloom-journal updated to 2018 ([#10804](https://github.com/openethereum/openethereum/pull/10804)) +* Fix a few typos and unused warnings. ([#10803](https://github.com/openethereum/openethereum/pull/10803)) +* updated price-info to edition 2018 ([#10801](https://github.com/openethereum/openethereum/pull/10801)) +* updated parity-local-store to edition 2018 ([#10800](https://github.com/openethereum/openethereum/pull/10800)) +* updated project to ansi_term 0.11 ([#10799](https://github.com/openethereum/openethereum/pull/10799)) +* ethcore-light uses bincode 1.1 ([#10798](https://github.com/openethereum/openethereum/pull/10798)) +* ethcore-network-devp2p uses igd 0.9 ([#10797](https://github.com/openethereum/openethereum/pull/10797)) +* Better logging when backfilling ancient blocks fail ([#10796](https://github.com/openethereum/openethereum/pull/10796)) +* added new ropsten-bootnode and removed old one ([#10794](https://github.com/openethereum/openethereum/pull/10794)) +* Removed machine abstraction from ethcore ([#10791](https://github.com/openethereum/openethereum/pull/10791)) +* Removed redundant ethcore-service error type ([#10788](https://github.com/openethereum/openethereum/pull/10788)) +* Cleanup unused vm dependencies ([#10787](https://github.com/openethereum/openethereum/pull/10787)) +* ethkey no longer uses byteorder ([#10786](https://github.com/openethereum/openethereum/pull/10786)) +* Updated blooms-db to rust 2018 and removed redundant deps ([#10785](https://github.com/openethereum/openethereum/pull/10785)) +* Treat empty account the same as non-exist accounts in EIP-1052 ([#10775](https://github.com/openethereum/openethereum/pull/10775)) +* Do not drop the peer with None difficulty ([#10772](https://github.com/openethereum/openethereum/pull/10772)) +* EIP-1702: Generalized Account Versioning Scheme ([#10771](https://github.com/openethereum/openethereum/pull/10771)) +* Move Engine::register_client to be before other I/O handler registration ([#10767](https://github.com/openethereum/openethereum/pull/10767)) +* ethcore/res: activate atlantis classic hf on block 8772000 ([#10766](https://github.com/openethereum/openethereum/pull/10766)) +* Updated Bn128PairingImpl to use optimized batch pairing ([#10765](https://github.com/openethereum/openethereum/pull/10765)) +* Remove unused code ([#10762](https://github.com/openethereum/openethereum/pull/10762)) +* Initialize private tx logger only if private tx functionality is enabled ([#10758](https://github.com/openethereum/openethereum/pull/10758)) +* SecretStore: remove support of old database formats ([#10757](https://github.com/openethereum/openethereum/pull/10757)) +* Enable aesni ([#10756](https://github.com/openethereum/openethereum/pull/10756)) +* updater: fix static id hashes initialization ([#10755](https://github.com/openethereum/openethereum/pull/10755)) +* Use fewer threads for snapshotting ([#10752](https://github.com/openethereum/openethereum/pull/10752)) +* Die error_chain, die ([#10747](https://github.com/openethereum/openethereum/pull/10747)) +* Fix deprectation warnings on nightly ([#10746](https://github.com/openethereum/openethereum/pull/10746)) +* Improve logging and cleanup in miner around block sealing ([#10745](https://github.com/openethereum/openethereum/pull/10745)) +* Add a way to signal shutdown to snapshotting threads ([#10744](https://github.com/openethereum/openethereum/pull/10744)) +* fix docker tags for publishing ([#10741](https://github.com/openethereum/openethereum/pull/10741)) +* refactor: Fix indentation in ethjson ([#10740](https://github.com/openethereum/openethereum/pull/10740)) +* Log validator set changes in EpochManager ([#10734](https://github.com/openethereum/openethereum/pull/10734)) +* Print warnings when using dangerous settings for ValidatorSet ([#10733](https://github.com/openethereum/openethereum/pull/10733)) +* ethcore: enable ECIP-1054 for classic ([#10731](https://github.com/openethereum/openethereum/pull/10731)) +* Stop breaking out of loop if a non-canonical hash is found ([#10729](https://github.com/openethereum/openethereum/pull/10729)) +* Removed secret_store folder ([#10722](https://github.com/openethereum/openethereum/pull/10722)) +* Revert "enable lto for release builds (#10717)" ([#10721](https://github.com/openethereum/openethereum/pull/10721)) +* fix: aura don't add `SystemTime::now()` ([#10720](https://github.com/openethereum/openethereum/pull/10720)) +* Use RUSTFLAGS to set the optimization level ([#10719](https://github.com/openethereum/openethereum/pull/10719)) +* enable lto for release builds ([#10717](https://github.com/openethereum/openethereum/pull/10717)) +* [devp2p] Update to 2018 edition ([#10716](https://github.com/openethereum/openethereum/pull/10716)) +* [devp2p] Don't use `rust-crypto` ([#10714](https://github.com/openethereum/openethereum/pull/10714)) +* [devp2p] Fix warnings and re-org imports ([#10710](https://github.com/openethereum/openethereum/pull/10710)) +* DevP2p: Get node IP address and udp port from Socket, if not included in PING packet ([#10705](https://github.com/openethereum/openethereum/pull/10705)) +* introduce MissingParent Error, fixes #10699 ([#10700](https://github.com/openethereum/openethereum/pull/10700)) +* Refactor Clique stepping ([#10691](https://github.com/openethereum/openethereum/pull/10691)) +* add_sync_notifier in EthPubSubClient holds on to a Client for too long ([#10689](https://github.com/openethereum/openethereum/pull/10689)) +* Fix compiler warning (that will become an error) ([#10683](https://github.com/openethereum/openethereum/pull/10683)) +* Don't panic if extra_data is longer than VANITY_LENGTH ([#10682](https://github.com/openethereum/openethereum/pull/10682)) +* Remove annoying compiler warnings ([#10679](https://github.com/openethereum/openethereum/pull/10679)) +* Remove support for hardware wallets ([#10678](https://github.com/openethereum/openethereum/pull/10678)) +* [CI] allow cargo audit to fail ([#10676](https://github.com/openethereum/openethereum/pull/10676)) +* new image ([#10673](https://github.com/openethereum/openethereum/pull/10673)) +* Upgrade ethereum types ([#10670](https://github.com/openethereum/openethereum/pull/10670)) +* Reset blockchain properly ([#10669](https://github.com/openethereum/openethereum/pull/10669)) +* fix: Move PR template into .github/ folder ([#10663](https://github.com/openethereum/openethereum/pull/10663)) +* docs: evmbin - Update Rust docs ([#10658](https://github.com/openethereum/openethereum/pull/10658)) +* refactor: Related #9459 - evmbin: replace untyped json! macro with fully typed serde serialization using Rust structs ([#10657](https://github.com/openethereum/openethereum/pull/10657)) +* docs: Add PR template ([#10654](https://github.com/openethereum/openethereum/pull/10654)) +* docs: Add ProgPoW Rust docs to ethash module ([#10653](https://github.com/openethereum/openethereum/pull/10653)) +* docs: Update Readme with TOC, Contributor Guideline. Update Cargo package descriptions ([#10652](https://github.com/openethereum/openethereum/pull/10652)) +* Upgrade to parity-crypto 0.4 ([#10650](https://github.com/openethereum/openethereum/pull/10650)) +* fix(compilation warnings) ([#10649](https://github.com/openethereum/openethereum/pull/10649)) +* [whisper] Move needed aes_gcm crypto in-crate ([#10647](https://github.com/openethereum/openethereum/pull/10647)) +* Update publishing ([#10644](https://github.com/openethereum/openethereum/pull/10644)) +* ci: publish docs debug ([#10638](https://github.com/openethereum/openethereum/pull/10638)) +* Fix publish docs ([#10635](https://github.com/openethereum/openethereum/pull/10635)) +* Fix rinkeby petersburg fork ([#10632](https://github.com/openethereum/openethereum/pull/10632)) +* Update kovan.json to switch Kovan validator set to POA Consensus Contracts ([#10628](https://github.com/openethereum/openethereum/pull/10628)) +* [ethcore] remove error_chain ([#10616](https://github.com/openethereum/openethereum/pull/10616)) +* Remove unused import ([#10615](https://github.com/openethereum/openethereum/pull/10615)) +* Adds parity_getRawBlockByNumber, parity_submitRawBlock ([#10609](https://github.com/openethereum/openethereum/pull/10609)) +* adds rpc error message for --no-ancient-blocks ([#10608](https://github.com/openethereum/openethereum/pull/10608)) +* Constantinople HF on POA Core ([#10606](https://github.com/openethereum/openethereum/pull/10606)) +* Clique: zero-fill extradata when the supplied value is less than 32 bytes in length ([#10605](https://github.com/openethereum/openethereum/pull/10605)) +* evm: add some mulmod benches ([#10600](https://github.com/openethereum/openethereum/pull/10600)) +* sccache logs to stdout ([#10596](https://github.com/openethereum/openethereum/pull/10596)) +* update bootnodes ([#10595](https://github.com/openethereum/openethereum/pull/10595)) +* Merge `Notifier` and `TransactionsPoolNotifier` ([#10591](https://github.com/openethereum/openethereum/pull/10591)) +* fix(whisper): change expiry `unix_time + ttl + work` ([#10587](https://github.com/openethereum/openethereum/pull/10587)) +* fix(evmbin): make benches compile again ([#10586](https://github.com/openethereum/openethereum/pull/10586)) +* fix issue with compilation when 'slow-blocks' feature enabled ([#10585](https://github.com/openethereum/openethereum/pull/10585)) +* Allow CORS requests in Secret Store API ([#10584](https://github.com/openethereum/openethereum/pull/10584)) +* CI improvements ([#10579](https://github.com/openethereum/openethereum/pull/10579)) +* ethcore: improve timestamp handling ([#10574](https://github.com/openethereum/openethereum/pull/10574)) +* Update Issue Template to direct security issue to email ([#10562](https://github.com/openethereum/openethereum/pull/10562)) +* version: bump master to 2.6 ([#10560](https://github.com/openethereum/openethereum/pull/10560)) +* fix(light cull): poll light cull instead of timer ([#10559](https://github.com/openethereum/openethereum/pull/10559)) +* Watch transactions pool ([#10558](https://github.com/openethereum/openethereum/pull/10558)) +* Add SealingState; don't prepare block when not ready. ([#10529](https://github.com/openethereum/openethereum/pull/10529)) +* Explicitly enable or disable Stratum in config file (Issue 9785) ([#10521](https://github.com/openethereum/openethereum/pull/10521)) +* Add filtering capability to `parity_pendingTransactions` (issue 8269) ([#10506](https://github.com/openethereum/openethereum/pull/10506)) +* Remove calls to heapsize ([#10432](https://github.com/openethereum/openethereum/pull/10432)) +* RPC: Implements eth_subscribe("syncing") ([#10311](https://github.com/openethereum/openethereum/pull/10311)) +* SecretStore: non-blocking wait of session completion ([#10303](https://github.com/openethereum/openethereum/pull/10303)) +* Node table limiting and cache for node filter ([#10288](https://github.com/openethereum/openethereum/pull/10288)) +* SecretStore: expose restore_key_public in HTTP API ([#10241](https://github.com/openethereum/openethereum/pull/10241)) +* Trivial journal for private transactions ([#10056](https://github.com/openethereum/openethereum/pull/10056)) + +## Previous releases + +- [CHANGELOG-2.5](docs/CHANGELOG-2.5.md) (_stable_) +- [CHANGELOG-2.4](docs/CHANGELOG-2.4.md) (EOL: 2019-07-08) +- [CHANGELOG-2.3](docs/CHANGELOG-2.3.md) (EOL: 2019-04-09) +- [CHANGELOG-2.2](docs/CHANGELOG-2.2.md) (EOL: 2019-02-25) +- [CHANGELOG-2.1](docs/CHANGELOG-2.1.md) (EOL: 2019-01-16) +- [CHANGELOG-2.0](docs/CHANGELOG-2.0.md) (EOL: 2018-11-15) +- [CHANGELOG-1.11](docs/CHANGELOG-1.11.md) (EOL: 2018-09-19) +- [CHANGELOG-1.10](docs/CHANGELOG-1.10.md) (EOL: 2018-07-18) +- [CHANGELOG-1.9](docs/CHANGELOG-1.9.md) (EOL: 2018-05-09) +- [CHANGELOG-1.8](docs/CHANGELOG-1.8.md) (EOL: 2018-03-22) +- [CHANGELOG-1.7](docs/CHANGELOG-1.7.md) (EOL: 2018-01-25) +- [CHANGELOG-1.6](docs/CHANGELOG-1.6.md) (EOL: 2017-10-15) +- [CHANGELOG-1.5](docs/CHANGELOG-1.5.md) (EOL: 2017-07-28) +- [CHANGELOG-1.4](docs/CHANGELOG-1.4.md) (EOL: 2017-03-13) +- [CHANGELOG-1.3](docs/CHANGELOG-1.3.md) (EOL: 2017-01-19) +- [CHANGELOG-1.2](docs/CHANGELOG-1.2.md) (EOL: 2016-11-07) +- [CHANGELOG-1.1](docs/CHANGELOG-1.1.md) (EOL: 2016-08-12) +- [CHANGELOG-1.0](docs/CHANGELOG-1.0.md) (EOL: 2016-06-24) +- [CHANGELOG-0.9](docs/CHANGELOG-0.9.md) (EOL: 2016-05-02) diff --git a/docs/CHANGELOG-2.7.md b/docs/CHANGELOG-2.7.md new file mode 100644 index 000000000..99a7b03d6 --- /dev/null +++ b/docs/CHANGELOG-2.7.md @@ -0,0 +1,383 @@ +## Parity-Ethereum [v2.7.2](https://github.com/openethereum/openethereum/releases/tag/v2.7.2) + +Parity Ethereum v2.7.2-stable is a patch version release of parity-ethereum. +Starting in the 2.7.x series of releases, parity-ethereum is switching to a single stable release +track. As a result, any clients that currently receive updates from the beta +track should switch to the stable track. +Due to database format changes, upgrading from 2.5.x or 2.6.x is one-way only. + +The full list of included changes: +* [eth classic chainspec]: remove balance = 1 (#11458) +* backwards compatible call_type creation_method (#11450 + #11455) +* chore: remove unused dependencies (#11432) +* Cargo.lock: new lockfile format (#11448) +* rlp_derive: cleanup (#11446) +* Avoid long state queries when serving GetNodeData requests (#11444) +* update kvdb-rocksdb to 0.4 (#11442) +* Remove dead bootnodes, add new geth bootnodes (#11441) +* goerli: replace foundation bootnode (#11433) +* fix: export hardcoded sync format (#11416) +* verification: fix race same block + misc (#11400) +* update classic testnet bootnodes (#11398) +* gcc to clang (#11453) + +## Parity-Ethereum [v2.7.1](https://github.com/openethereum/openethereum/releases/tag/v2.7.1) +* Revert #11311 (#11427) + +## Parity-Ethereum [v2.7.0](https://github.com/openethereum/openethereum/releases/tag/v2.7.0) + +Parity Ethereum v2.7.0-stable is a minor version release of parity-ethereum. As +of this release, parity-ethereum is switching to a single `stable` release +track. As a result, any clients that currently receive updates from the `beta` +track should switch to the `stable` track. + +The full list of included changes from `v2.5-stable` to `v2.7-stable` (the +`v2.6-beta` branch will already include some of these changes): + +* miner: fix deprecation warning Error::description (#11380) +* Fix Aztlan hard fork issues (#11347) +* authority_round: Fix next_step_time_duration. (#11379) +* Set the block gas limit to the value returned by a contract call (#10928) +* [Trace] Distinguish between `create` and `create2` (#11311) +* fix cargo audit (#11378) +* Fix esoteric test config variable (#11292) +* Rip out the C and Java bindings (#11346) +* Encapsulate access to the client for secret store (#11232) +* Forward-port #11356 (#11359) +* Fix error message typo (#11363) +* [util/migration]: remove needless `static` bounds (#11348) +* Replace stale boot nodes with latest list (#11351) +* Update to latest `kvdb-*`: no default column, DBValue is Vec (#11312) +* we do not profit from incremental now (#11302) +* update autoupdate fork blocks for nightly (#11308) +* Add Nat PMP method to P2P module (#11210) +* Add randomness contract support to AuthorityRound. (#10946) +* ethcore/res: activate ecip-1061 on kotti and mordor (#11338) +* tx-q: enable basic verification of local transactions (#11332) +* remove null signatures (#11335) +* ethcore/res: activate agharta on classic 9573000 (#11331) +* [secretstore] migrate to version 4 (#11322) +* Enable EIP-2384 for ice age hard fork (#11281) +* Fix atomicity violation in network-devp2p (#11277) +* Istanbul activation on xDai (#11299) +* Istanbul activation on POA Core (#11298) +* Adds support for ipc socket permissions (#11273) +* Add check for deserialising hex values over U256 limit (#11309) +* validate-chainspecs: check istanbul eips are in the foundation spec (#11305) +* [chainspec]: add `eip1344_transition` for istanbul (#11301) +* only add transactions to signing-queue if it is enabled (#11272) +* Use upstream rocksdb (#11248) +* Treat only blocks in queue as synced (#11264) +* add support for evan.network chains (#11289) +* Add benchmarks and tests for RlpNodeCodec decoding (#11287) +* upgrade vergen to 3.0 (#11293) +* interruptible test and build jobs (#11294) +* Istanbul HF on POA Sokol (#11282) +* [ethcore]: apply filter when `PendingSet::AlwaysQueue` in `ready_transactions_filtered` (#11227) +* Update lib.rs (#11286) +* Don't prune ancient state when instantiating a Client (#11270) +* fixed verify_uncles error type (#11276) +* ethcore: fix rlp deprecation warnings (#11280) +* Upgrade trie-db to 0.16.0. (#11274) +* Clarify what first_block `None` means (#11269) +* removed redundant VMType enum with one variant (#11266) +* Ensure jsonrpc threading settings are sane (#11267) +* Return Ok(None) when the registrar contract returns empty slice (#11257) +* Add a benchmark for snapshot::account::to_fat_rlps() (#11185) +* Fix misc compile warnings (#11258) +* simplify verification (#11249) +* update ropsten forkCanonHash, forkBlock (#11247) +* Make InstantSeal Instant again (#11186) +* ropsten #6631425 foundation #8798209 (#11201) +* Update list of bootnodes for xDai chain (#11236) +* ethcore/res: add mordor testnet configuration (#11200) +* [chain specs]: activate `Istanbul` on mainnet (#11228) +* [builtin]: support `multiple prices and activations` in chain spec (#11039) +* Insert explicit warning into the panic hook (#11225) +* Snapshot restoration overhaul (#11219) +* Fix docker centos build (#11226) +* retry on gitlab system failures (#11222) +* Update bootnodes. (#11203) +* Use provided usd-per-eth value if an endpoint is specified (#11209) +* Use a lock instead of atomics for snapshot Progress (#11197) +* [informant]: `MillisecondDuration` -> `as_millis()` (#11211) +* Step duration map configuration parameter ported from the POA Network fork (#10902) +* Upgrade jsonrpc to latest (#11206) +* [export hardcoded sync]: use debug for `H256` (#11204) +* Pause pruning while snapshotting (#11178) +* Type annotation for next_key() matching of json filter options (#11192) +* Crypto primitives removed from ethkey (#11174) +* Made ecrecover implementation trait public (#11188) +* Remove unused macro_use. (#11191) +* [dependencies]: jsonrpc `14.0.1` (#11183) +* [receipt]: add `sender` & `receiver` to `RichReceipts` (#11179) +* [dependencies] bump rand 0.7 (#11022) +* [ethcore/builtin]: do not panic in blake2pricer on short input (#11180) +* TxPermissions ver 3: gas price & data (#11170) +* [ethash] chainspec validate `ecip1017EraRounds` non-zero (#11123) +* util Host: fix a double Read Lock bug in fn Host::session_readable() (#11175) +* ethcore client: fix a double Read Lock bug in fn Client::logs() (#11172) +* Aura: Report malice on sibling blocks from the same validator (#11160) +* Change how RPCs eth_call and eth_estimateGas handle "Pending" (#11127) +* Cleanup stratum a bit (#11161) +* [keccak-hasher]: rust2018 (#11163) +* Upgrade to jsonrpc v14 (#11151) +* Secret store: fix Instant::now() related race in net_keep_alive (#11155) +* RPC method for clearing the engine signer (#10920) +* Use TryFrom instead of From+panic for Builtin (#11140) +* Fix sccache statistics (#11145) +* Update ethereum types to 0.8.0 version (#11139) +* [json]: add docs to `hardfork specification` (#11138) +* ServiceTransactionChecker::refresh_cache: allow registrar unavailable (#11126) +* Fix some random typos, formatting/whitespace (#11128) +* Refactor parity_listStorageKeys with count parameter optional (#11124) +* Make EIP712Domain Fields Optional (#11103) +* EIP-712: bump version in prep for publishing (#11106) +* move StateResult to `common-types` (#11121) +* Deduplicate registrar contract & calling logic (#11110) +* Refactor return type of `BlockChainClient::code` #7098 (#11102) +* Switching sccache from local to Redis (#10971) +* SIMD Implementation for EIP-152 (#11056) +* Fix deprecated trait objects without an explicit `dyn` (#11112) +* [spec] fix rinkeby spec (#11108) +* Update to latest jsonrpc (#11111) +* use images from our registry (#11105) +* Correct EIP-712 encoding (#11092) +* [CI] check evmbin build (#11096) +* Update `kvdb`, `kvdb-rocksdb` and `h2` (#11091) +* [client]: Fix for incorrectly dropped consensus messages (#11082) (#11086) +* Update JSON tests to d4f86ecf4aa7c (#11054) +* fix(network): typo (#11088) +* [ethash] remove manual unrolling (#11069) +* ethcore/res: activate Istanbul on Ropsten, Görli, Rinkeby, Kovan (#11068) +* [sync]: rust 2018 (#11067) +* [ethcore]: move client test types to test-helpers (#11062) +* [sync]: remove unused dependencies or make dev (#11061) +* [ethcore]: reduce re-exports (#11059) +* [evmbin] fix time formatting (#11060) +* Update hardcoded headers (foundation, classic, kovan, xdai, ewc, ...) (#11053) +* cargo update -p eth-secp256k1 (#11052) +* ethcore: remove `test-helper feat` from build (#11047) +* Include test-helpers from ethjson (#11045) +* [ethcore]: cleanup dependencies (#11043) +* add more tx tests (#11038) +* Fix parallel transactions race-condition (#10995) +* [ethcore]: make it compile without `test-helpers` feature (#11036) +* Benchmarks for block verification (#11035) +* Move snapshot related traits to their proper place (#11012) +* cleanup json crate (#11027) +* [spec] add istanbul test spec (#11033) +* [json-spec] make blake2 pricing spec more readable (#11034) +* Add blake2_f precompile (#11017) +* Add new line after writing block to hex file. (#10984) +* fix: remove unused error-chain (#11028) +* fix: remove needless use of itertools (#11029) +* Convert `std::test` benchmarks to use Criterion (#10999) +* Fix block detail updating (#11015) +* [trace] introduce trace failed to Ext (#11019) +* cli: update usage and version headers (#10924) +* [private-tx] remove unused rand (#11024) +* Extract snapshot to own crate (#11010) +* Edit publish-onchain.sh to use https (#11016) +* EIP 1108: Reduce alt_bn128 precompile gas costs (#11008) +* Fix deadlock in `network-devp2p` (#11013) +* Implement EIP-1283 reenable transition, EIP-1706 and EIP-2200 (#10191) +* EIP 1884 Re-pricing of trie-size dependent operations (#10992) +* xDai chain support and nodes list update (#10989) +* [trace] check mem diff within range (#11002) +* EIP-1344 Add CHAINID op-code (#10983) +* Make ClientIoMessage generic over the Client (#10981) +* bump spin to 0.5.2 (#10996) +* fix compile warnings (#10993) +* Fix compilation on recent nightlies (#10991) +* [ipfs] Convert to edition 2018 (#10979) +* Extract spec to own crate (#10978) +* EIP 2028: transaction gas lowered from 68 to 16 (#10987) +* Extract engines to own crates (#10966) +* Configuration map of block reward contract addresses (#10875) +* Add a 2/3 quorum option to Authority Round. (#10909) +* Fix rlp decode for inline trie nodes. (#10980) +* Private contract migration and offchain state sync (#10748) +* manual publish jobs for releases, no changes for nightlies (#10977) +* Extract the Engine trait (#10958) +* Better error message for rpc gas price errors (#10931) +* [.gitlab.yml] cargo check ethcore benches (#10965) +* Verify transaction against its block during import (#10954) +* [evmbin] fix compilation (#10976) +* Update to latest trie version. (#10972) +* [blooms-db] Fix benchmarks (#10974) +* Fix ethcore/benches build. (#10964) +* tx-pool: accept local tx with higher gas price when pool full (#10901) +* Disable unsyncable expanse chain (#10926) +* Extract Machine from ethcore (#10949) +* removed redundant state_root function from spec, improve spec error types (#10955) +* Add support for Energy Web Foundation's new chains (#10957) +* [evmbin] add more tests to main.rs (#10956) +* Fix compiler warnings in util/io and upgrade to edition 2018 Upgrade mio to latest (#10953) +* unify loading spec && further spec cleanups (#10948) +* refactor: Refactor evmbin CLI (#10742) +* journaldb changes (#10929) +* Allow default block parameter to be blockHash (#10932) +* Enable sealing when engine is ready (#10938) +* Fix some warnings and typos. (#10941) +* Updated security@parity.io key (#10939) +* Change the return type of step_inner function. (#10940) +* get rid of hidden mutability of Spec (#10904) +* simplify BlockReward::reward implementation (#10906) +* Kaspersky AV whitelisting (#10919) +* additional arithmetic EVM opcode benchmarks (#10916) +* [Cargo.lock] cargo update -p crossbeam-epoch (#10921) +* Fixes incorrect comment. (#10913) +* Add file path to disk map write/read warnings (#10911) +* remove verify_transaction_unordered from engine (#10891) +* Avast whitelist script (#10900) +* cleanup ethcore ethereum module (#10899) +* Move more types out of ethcore (#10880) +* return block nonce when engine is clique (#10892) +* TransactionQueue::import accepts iterator (#10889) +* rename is_pruned to is_prunable (#10888) +* simplify create_address_scheme (#10890) +* Move DatabaseExtras back to trace (#10868) +* Update README.md and Changelogs (#10866) +* whisper is no longer a part of parity-ethereum repo (#10855) +* [ethash] remove mem::uninitialized (#10861) +* Docker images renaming (#10863) +* Move the substate module into ethcore/executive (#10867) +* Run cargo fix on a few of the worst offenders (#10854) +* removed redundant fork choice abstraction (#10849) +* Extract state-db from ethcore (#10858) +* Fix fork choice (#10837) +* Move more code into state-account (#10840) +* Remove compiler warning (#10865) +* [ethash] use static_assertions crate (#10860) +* EIP-1702: Generalized Account Versioning Scheme (#10771) +* ethcore-builtin (#10850) +* removed QueueError type (#10852) +* removed unused macros (#10851) +* bump crossbeam (#10848) +* removed unused trait PrivateNotify and unused Error types (#10847) +* make fn submit_seal more idiomatic (#10843) +* update parking-lot to 0.8 (#10845) +* Update version to 2.7.0 (#10846) +* update jsonrpc to 12.0 (#10841) +* Improve logging and cleanup in miner around block sealing (#10745) +* Extract AccountDB to account-db (#10839) +* test: Update Whisper test for invalid pool size (#10811) +* Extricate PodAccount and state Account to own crates (#10838) +* logs (#10817) +* refactor: whisper: Add type aliases and update rustdocs in message.rs (#10812) +* Break circular dependency between Client and Engine (part 1) (#10833) +* tests: Relates to #10655: Test instructions for Readme (#10835) +* refactor: Related #9459 - evmbin: replace untyped json! macro with fully typed serde serialization using Rust structs (#10657) +* idiomatic changes to PodState (#10834) +* Allow --nat extip:your.host.here.org (#10830) +* When updating the client or when called from RPC, sleep should mean sleep (#10814) +* Remove excessive warning (#10831) +* Fix typo in README.md (#10828) +* ethcore does not use byteorder (#10829) +* Better logging when backfilling ancient blocks fail (#10796) +* depends: Update wordlist to v1.3 (#10823) +* cargo update -p smallvec (#10822) +* replace memzero with zeroize crate (#10816) +* Don't repeat the logic from Default impl (#10813) +* removed additional_params method (#10818) +* Add Constantinople eips to the dev (instant_seal) config (#10809) +* removed redundant fmt::Display implementations (#10806) +* revert changes to .gitlab-ci.yml (#10807) +* Add filtering capability to `parity_pendingTransactions` (issue 8269) (#10506) +* removed EthEngine alias (#10805) +* wait a bit longer in should_check_status_of_request_when_its_resolved (#10808) +* Do not drop the peer with None difficulty (#10772) +* ethcore-bloom-journal updated to 2018 (#10804) +* ethcore-light uses bincode 1.1 (#10798) +* Fix a few typos and unused warnings. (#10803) +* updated project to ansi_term 0.11 (#10799) +* added new ropsten-bootnode and removed old one (#10794) +* updated price-info to edition 2018 (#10801) +* ethcore-network-devp2p uses igd 0.9 (#10797) +* updated parity-local-store to edition 2018 and removed redundant Error type (#10800) +* Cleanup unused vm dependencies (#10787) +* Removed redundant ethcore-service error type (#10788) +* Removed machine abstraction from ethcore (#10791) +* Updated blooms-db to rust 2018 and removed redundant deps (#10785) +* ethkey no longer uses byteorder (#10786) +* Log validator set changes in EpochManager (#10734) +* Treat empty account the same as non-exist accounts in EIP-1052 (#10775) +* docs: Update Readme with TOC, Contributor Guideline. Update Cargo package descriptions (#10652) +* Move Engine::register_client to be before other I/O handler registration (#10767) +* Print warnings when using dangerous settings for ValidatorSet (#10733) +* ethcore/res: activate atlantis classic hf on block 8772000 (#10766) +* refactor: Fix indentation (#10740) +* Updated Bn128PairingImpl to use optimized batch pairing (#10765) +* fix: aura don't add `SystemTime::now()` (#10720) +* Initialize private tx logger only if private tx functionality is enabled (#10758) +* Remove unused code (#10762) +* Remove calls to heapsize (#10432) +* [devp2p] Update to 2018 edition (#10716) +* Add a way to signal shutdown to snapshotting threads (#10744) +* Enable aesni (#10756) +* remove support of old SS db formats (#10757) +* [devp2p] Don't use `rust-crypto` (#10714) +* updater: fix static id hashes initialization (#10755) +* Use fewer threads for snapshotting (#10752) +* Die error_chain, die (#10747) +* Fix deprectation warnings on nightly (#10746) +* fix docker tags for publishing (#10741) +* DevP2p: Get node IP address and udp port from Socket, if not included in PING packet (#10705) +* ethcore: enable ECIP-1054 for classic (#10731) +* Stop breaking out of loop if a non-canonical hash is found (#10729) +* Refactor Clique stepping (#10691) +* Use RUSTFLAGS to set the optimization level (#10719) +* SecretStore: non-blocking wait of session completion (#10303) +* removed secret_store folder (#10722) +* SecretStore: expose restore_key_public in HTTP API (#10241) +* Revert "enable lto for release builds (#10717)" (#10721) +* enable lto for release builds (#10717) +* Merge `Notifier` and `TransactionsPoolNotifier` (#10591) +* [devp2p] Fix warnings and re-org imports (#10710) +* Upgrade ethereum types (#10670) +* introduce MissingParent Error, fixes #10699 (#10700) +* Update publishing (#10644) +* Upgrade to parity-crypto 0.4 (#10650) +* new image (#10673) +* Add SealingState; don't prepare block when not ready. (#10529) +* Fix compiler warning (that will become an error) (#10683) +* add_sync_notifier in EthPubSubClient holds on to a Client for too long (#10689) +* Don't panic if extra_data is longer than VANITY_LENGTH (#10682) +* docs: evmbin - Update Rust docs (#10658) +* Remove annoying compiler warnings (#10679) +* Reset blockchain properly (#10669) +* Remove support for hardware wallets (#10678) +* [CI] allow cargo audit to fail (#10676) +* docs: Add ProgPoW Rust docs to ethash module (#10653) +* fix: Move PR template into .github/ folder (#10663) +* docs: Add PR template (#10654) +* Trivial journal for private transactions (#10056) +* fix(compilation warnings) (#10649) +* [whisper] Move needed aes_gcm crypto in-crate (#10647) +* Adds parity_getRawBlockByNumber, parity_submitRawBlock (#10609) +* Fix rinkeby petersburg fork (#10632) +* ci: publish docs debug (#10638) +* Fix publish docs (#10635) +* Update kovan.json to switch validator set to POA Consensus Contracts (#10628) +* [ethcore] remove error_chain (#10616) +* Remove unused import (#10615) +* evm: add some mulmod benches (#10600) +* Clique: zero-fill extradata when the supplied value is less than 32 bytes in length (#10605) +* Constantinople HF on POA Core (#10606) +* adds rpc error message for --no-ancient-blocks (#10608) +* Allow CORS requests in Secret Store API (#10584) +* update bootnodes (#10595) +* sccache logs to stdout (#10596) +* fix(whisper expiry): current time + work + ttl (#10587) +* CI improvements (#10579) +* Watch transactions pool (#10558) +* fix(evmbin): make benches compile again (#10586) +* fix issue with compilation when 'slow-blocks' feature enabled (#10585) +* Reject crazy timestamps instead of truncating. (#10574) +* Node table limiting and cache for node filter (#10288) +* fix(light cull): poll light cull instead of timer (#10559) +* Update Issue Template to direct security issue to email (#10562) +* RPC: Implements eth_subscribe("syncing") (#10311) +* Explicitly enable or disable Stratum in config file (Issue 9785) (#10521) +* version: bump master to 2.6 (#10560) diff --git a/ethash/benches/basic.rs b/ethash/benches/basic.rs index 86659fc5f..8e60a698b 100644 --- a/ethash/benches/basic.rs +++ b/ethash/benches/basic.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . #[macro_use] extern crate criterion; diff --git a/ethash/src/cache.rs b/ethash/src/cache.rs index e3b8a6096..ab3407a07 100644 --- a/ethash/src/cache.rs +++ b/ethash/src/cache.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use compute::Light; use either::Either; diff --git a/ethash/src/compute.rs b/ethash/src/compute.rs index a668396ea..c378c754f 100644 --- a/ethash/src/compute.rs +++ b/ethash/src/compute.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Ethash implementation //! See https://github.com/ethereum/wiki/wiki/Ethash diff --git a/ethash/src/keccak.rs b/ethash/src/keccak.rs index f9ee8716c..f09ce56f8 100644 --- a/ethash/src/keccak.rs +++ b/ethash/src/keccak.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate keccak_hash as hash; diff --git a/ethash/src/lib.rs b/ethash/src/lib.rs index 99c758632..e56b09358 100644 --- a/ethash/src/lib.rs +++ b/ethash/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate either; extern crate ethereum_types; @@ -236,7 +236,7 @@ fn test_difficulty_to_boundary_regression() { use ethereum_types::H256; // the last bit was originally being truncated when performing the conversion - // https://github.com/paritytech/parity-ethereum/issues/8397 + // https://github.com/openethereum/openethereum/issues/8397 for difficulty in 1..9 { assert_eq!( U256::from(difficulty), diff --git a/ethash/src/progpow.rs b/ethash/src/progpow.rs index 137269a02..131f90c2c 100644 --- a/ethash/src/progpow.rs +++ b/ethash/src/progpow.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity. If not, see . +// along with OpenEthereum. If not, see . use compute::{calculate_dag_item, FNV_PRIME}; use keccak::H256; diff --git a/ethash/src/seed_compute.rs b/ethash/src/seed_compute.rs index 899a73eed..6ca9aba7e 100644 --- a/ethash/src/seed_compute.rs +++ b/ethash/src/seed_compute.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use keccak::{keccak_256, H256}; use shared; diff --git a/ethash/src/shared.rs b/ethash/src/shared.rs index a3f5144bc..4f72b61a8 100644 --- a/ethash/src/shared.rs +++ b/ethash/src/shared.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use primal::is_prime; diff --git a/ethcore/Cargo.toml b/ethcore/Cargo.toml index 4f322b80e..62e82d3ff 100644 --- a/ethcore/Cargo.toml +++ b/ethcore/Cargo.toml @@ -1,6 +1,6 @@ [package] -description = "Parity Ethereum (EthCore) Library" -homepage = "http://parity.io" +description = "OpenEthereum (EthCore) Library" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" name = "ethcore" version = "1.12.0" diff --git a/ethcore/benches/builtin.rs b/ethcore/benches/builtin.rs index 73e193cf3..6eaf50562 100644 --- a/ethcore/benches/builtin.rs +++ b/ethcore/benches/builtin.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . #[macro_use] extern crate criterion; diff --git a/ethcore/blockchain/Cargo.toml b/ethcore/blockchain/Cargo.toml index be434c51e..d627341de 100644 --- a/ethcore/blockchain/Cargo.toml +++ b/ethcore/blockchain/Cargo.toml @@ -1,6 +1,6 @@ [package] -description = "Parity Ethereum Blockchain Database, Test Generator, Configuration, Caching, Importing Blocks, and Block Information" -homepage = "http://parity.io" +description = "OpenEthereum Blockchain Database, Test Generator, Configuration, Caching, Importing Blocks, and Block Information" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" name = "ethcore-blockchain" version = "0.1.0" diff --git a/ethcore/blockchain/src/best_block.rs b/ethcore/blockchain/src/best_block.rs index 1de5e80fd..7ee839542 100644 --- a/ethcore/blockchain/src/best_block.rs +++ b/ethcore/blockchain/src/best_block.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{H256, U256}; diff --git a/ethcore/blockchain/src/block_info.rs b/ethcore/blockchain/src/block_info.rs index 0c6f73430..5390d7be6 100644 --- a/ethcore/blockchain/src/block_info.rs +++ b/ethcore/blockchain/src/block_info.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use common_types::BlockNumber; use ethereum_types::{H256, U256}; diff --git a/ethcore/blockchain/src/blockchain.rs b/ethcore/blockchain/src/blockchain.rs index 8c06b9977..389b95c49 100644 --- a/ethcore/blockchain/src/blockchain.rs +++ b/ethcore/blockchain/src/blockchain.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain database. diff --git a/ethcore/blockchain/src/cache.rs b/ethcore/blockchain/src/cache.rs index 0fa126b26..6edfcd566 100644 --- a/ethcore/blockchain/src/cache.rs +++ b/ethcore/blockchain/src/cache.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . /// Represents blockchain's in-memory cache size in bytes. #[derive(Debug)] diff --git a/ethcore/blockchain/src/config.rs b/ethcore/blockchain/src/config.rs index b09394015..39c37d846 100644 --- a/ethcore/blockchain/src/config.rs +++ b/ethcore/blockchain/src/config.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain configuration. diff --git a/ethcore/blockchain/src/generator.rs b/ethcore/blockchain/src/generator.rs index adda9851d..fc3fbd20d 100644 --- a/ethcore/blockchain/src/generator.rs +++ b/ethcore/blockchain/src/generator.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain generator for tests. diff --git a/ethcore/blockchain/src/import_route.rs b/ethcore/blockchain/src/import_route.rs index 9146f8f13..126b5068a 100644 --- a/ethcore/blockchain/src/import_route.rs +++ b/ethcore/blockchain/src/import_route.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Import route. diff --git a/ethcore/blockchain/src/lib.rs b/ethcore/blockchain/src/lib.rs index 3314739b9..943bc3c89 100644 --- a/ethcore/blockchain/src/lib.rs +++ b/ethcore/blockchain/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain database. diff --git a/ethcore/blockchain/src/update.rs b/ethcore/blockchain/src/update.rs index 0adcd7183..9ba467354 100644 --- a/ethcore/blockchain/src/update.rs +++ b/ethcore/blockchain/src/update.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::collections::HashMap; diff --git a/ethcore/builtin/src/lib.rs b/ethcore/builtin/src/lib.rs index f9831b396..36d8c990f 100644 --- a/ethcore/builtin/src/lib.rs +++ b/ethcore/builtin/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Standard built-in contracts. diff --git a/ethcore/call-contract/src/call_contract.rs b/ethcore/call-contract/src/call_contract.rs index 1870c698d..fac70a6f7 100644 --- a/ethcore/call-contract/src/call_contract.rs +++ b/ethcore/call-contract/src/call_contract.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Provides CallContract and RegistryInfo traits diff --git a/ethcore/call-contract/src/lib.rs b/ethcore/call-contract/src/lib.rs index 9235b094c..f629c35e9 100644 --- a/ethcore/call-contract/src/lib.rs +++ b/ethcore/call-contract/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . #![warn(missing_docs)] diff --git a/ethcore/db/Cargo.toml b/ethcore/db/Cargo.toml index 53ec9f7b8..2c730a758 100644 --- a/ethcore/db/Cargo.toml +++ b/ethcore/db/Cargo.toml @@ -1,6 +1,6 @@ [package] -description = "Ethcore DB access utilities" -homepage = "http://parity.io" +description = "OpenEthereum DB access utilities" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" name = "ethcore-db" version = "0.1.0" diff --git a/ethcore/db/src/cache_manager.rs b/ethcore/db/src/cache_manager.rs index cf664423d..3ea817931 100644 --- a/ethcore/db/src/cache_manager.rs +++ b/ethcore/db/src/cache_manager.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Database cache manager diff --git a/ethcore/db/src/db.rs b/ethcore/db/src/db.rs index 16f5f961b..67cba2fbd 100644 --- a/ethcore/db/src/db.rs +++ b/ethcore/db/src/db.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Database utilities and definitions. diff --git a/ethcore/db/src/keys.rs b/ethcore/db/src/keys.rs index 0b04f0a84..bd7655990 100644 --- a/ethcore/db/src/keys.rs +++ b/ethcore/db/src/keys.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain DB extras. diff --git a/ethcore/db/src/lib.rs b/ethcore/db/src/lib.rs index 7deb7a7ab..9181b6402 100644 --- a/ethcore/db/src/lib.rs +++ b/ethcore/db/src/lib.rs @@ -1,20 +1,20 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . -//! Parity Ethereum database access utilities. +//! OpenEthereum database access utilities. #![warn(missing_docs)] diff --git a/ethcore/evm/benches/basic.rs b/ethcore/evm/benches/basic.rs index 643b0ee79..9d0b1575b 100644 --- a/ethcore/evm/benches/basic.rs +++ b/ethcore/evm/benches/basic.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! benchmarking for EVM diff --git a/ethcore/evm/src/evm.rs b/ethcore/evm/src/evm.rs index 0d76b78b3..8599f6d57 100644 --- a/ethcore/evm/src/evm.rs +++ b/ethcore/evm/src/evm.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Evm interface. diff --git a/ethcore/evm/src/factory.rs b/ethcore/evm/src/factory.rs index 1d7363813..9fa1e7082 100644 --- a/ethcore/evm/src/factory.rs +++ b/ethcore/evm/src/factory.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Evm factory. //! diff --git a/ethcore/evm/src/instructions.rs b/ethcore/evm/src/instructions.rs index d222c4cf5..e120f97df 100644 --- a/ethcore/evm/src/instructions.rs +++ b/ethcore/evm/src/instructions.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! VM Instructions list and utility functions diff --git a/ethcore/evm/src/interpreter/gasometer.rs b/ethcore/evm/src/interpreter/gasometer.rs index 93a9f0c13..8bb514aac 100644 --- a/ethcore/evm/src/interpreter/gasometer.rs +++ b/ethcore/evm/src/interpreter/gasometer.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::u256_to_address; use ethereum_types::{H256, U256}; diff --git a/ethcore/evm/src/interpreter/informant.rs b/ethcore/evm/src/interpreter/informant.rs index d9cf37b25..03ae36951 100644 --- a/ethcore/evm/src/interpreter/informant.rs +++ b/ethcore/evm/src/interpreter/informant.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . pub use self::inner::*; diff --git a/ethcore/evm/src/interpreter/memory.rs b/ethcore/evm/src/interpreter/memory.rs index 8c32fa8fa..22d5a4df5 100644 --- a/ethcore/evm/src/interpreter/memory.rs +++ b/ethcore/evm/src/interpreter/memory.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::U256; use vm::ReturnData; diff --git a/ethcore/evm/src/interpreter/mod.rs b/ethcore/evm/src/interpreter/mod.rs index b3cf9ad80..332b268fb 100644 --- a/ethcore/evm/src/interpreter/mod.rs +++ b/ethcore/evm/src/interpreter/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Rust VM implementation diff --git a/ethcore/evm/src/interpreter/shared_cache.rs b/ethcore/evm/src/interpreter/shared_cache.rs index 77fb11e32..459bb1a90 100644 --- a/ethcore/evm/src/interpreter/shared_cache.rs +++ b/ethcore/evm/src/interpreter/shared_cache.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::super::instructions::{self, Instruction}; use bit_set::BitSet; diff --git a/ethcore/evm/src/interpreter/stack.rs b/ethcore/evm/src/interpreter/stack.rs index cc2e82310..86c890863 100644 --- a/ethcore/evm/src/interpreter/stack.rs +++ b/ethcore/evm/src/interpreter/stack.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use instructions; use std::fmt; diff --git a/ethcore/evm/src/lib.rs b/ethcore/evm/src/lib.rs index ec87ebccf..486e0d8b0 100644 --- a/ethcore/evm/src/lib.rs +++ b/ethcore/evm/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Ethereum virtual machine. diff --git a/ethcore/evm/src/tests.rs b/ethcore/evm/src/tests.rs index c8d80d022..93fe5bd70 100644 --- a/ethcore/evm/src/tests.rs +++ b/ethcore/evm/src/tests.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::interpreter::MAX_SUB_STACK_SIZE; use ethereum_types::{Address, H256, U256}; diff --git a/ethcore/evm/src/vmtype.rs b/ethcore/evm/src/vmtype.rs index 14ab677b3..2a953bbf5 100644 --- a/ethcore/evm/src/vmtype.rs +++ b/ethcore/evm/src/vmtype.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::fmt; diff --git a/ethcore/node-filter/Cargo.toml b/ethcore/node-filter/Cargo.toml index 80823290c..26b343af6 100644 --- a/ethcore/node-filter/Cargo.toml +++ b/ethcore/node-filter/Cargo.toml @@ -1,6 +1,6 @@ [package] -description = "Parity Smart Contract based Node Filter, Manage Permissions of Network Connections" -homepage = "http://parity.io" +description = "OpenEthereum Smart Contract based Node Filter, Manage Permissions of Network Connections" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" name = "node-filter" version = "1.12.0" diff --git a/ethcore/node-filter/src/lib.rs b/ethcore/node-filter/src/lib.rs index e3aa98e22..c32463b3e 100644 --- a/ethcore/node-filter/src/lib.rs +++ b/ethcore/node-filter/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Smart contract based node filter. diff --git a/ethcore/service/src/error.rs b/ethcore/service/src/error.rs index 4786d4ffb..1c1840344 100644 --- a/ethcore/service/src/error.rs +++ b/ethcore/service/src/error.rs @@ -1,21 +1,21 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . // Silence: `use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting` -// https://github.com/paritytech/parity-ethereum/issues/10302 +// https://github.com/openethereum/openethereum/issues/10302 #![allow(deprecated)] use ethcore; diff --git a/ethcore/service/src/lib.rs b/ethcore/service/src/lib.rs index 56c88e5af..289ded738 100644 --- a/ethcore/service/src/lib.rs +++ b/ethcore/service/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate ansi_term; extern crate ethcore; diff --git a/ethcore/service/src/service.rs b/ethcore/service/src/service.rs index e5af70cf7..acfeefd3a 100644 --- a/ethcore/service/src/service.rs +++ b/ethcore/service/src/service.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Creates and registers client and network services. diff --git a/ethcore/service/src/stop_guard.rs b/ethcore/service/src/stop_guard.rs index 3284bf83f..34438fd59 100644 --- a/ethcore/service/src/stop_guard.rs +++ b/ethcore/service/src/stop_guard.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Stop guard mod diff --git a/ethcore/src/account_db.rs b/ethcore/src/account_db.rs index 26b69ea25..d0464cf2e 100644 --- a/ethcore/src/account_db.rs +++ b/ethcore/src/account_db.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! DB backend wrapper for Account trie use ethereum_types::H256; diff --git a/ethcore/src/block.rs b/ethcore/src/block.rs index 3e45af440..0b49a267c 100644 --- a/ethcore/src/block.rs +++ b/ethcore/src/block.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Base data structure of this module is `Block`. //! @@ -471,7 +471,7 @@ impl LockedBlock { /// Provide a valid seal in order to turn this into a `SealedBlock`. /// This does check the validity of `seal` with the engine. /// Returns the `ClosedBlock` back again if the seal is no good. - /// TODO(https://github.com/paritytech/parity-ethereum/issues/10407): This is currently only used in POW chain call paths, we should really merge it with seal() above. + /// TODO(https://github.com/openethereum/openethereum/issues/10407): This is currently only used in POW chain call paths, we should really merge it with seal() above. pub fn try_seal(self, engine: &dyn EthEngine, seal: Vec) -> Result { let mut s = self; s.block.header.set_seal(seal); diff --git a/ethcore/src/client/ancient_import.rs b/ethcore/src/client/ancient_import.rs index 5eafafddd..c5ff56aa3 100644 --- a/ethcore/src/client/ancient_import.rs +++ b/ethcore/src/client/ancient_import.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Helper for ancient block import. diff --git a/ethcore/src/client/bad_blocks.rs b/ethcore/src/client/bad_blocks.rs index 5757f35b8..e38d66339 100644 --- a/ethcore/src/client/bad_blocks.rs +++ b/ethcore/src/client/bad_blocks.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Stores recently seen bad blocks. diff --git a/ethcore/src/client/chain_notify.rs b/ethcore/src/client/chain_notify.rs index 4977451f1..b8b439a9f 100644 --- a/ethcore/src/client/chain_notify.rs +++ b/ethcore/src/client/chain_notify.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use blockchain::ImportRoute; use bytes::Bytes; diff --git a/ethcore/src/client/client.rs b/ethcore/src/client/client.rs index 96cad76ed..f075d6b96 100644 --- a/ethcore/src/client/client.rs +++ b/ethcore/src/client/client.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ cmp, diff --git a/ethcore/src/client/config.rs b/ethcore/src/client/config.rs index 77ec4b27b..d53b82548 100644 --- a/ethcore/src/client/config.rs +++ b/ethcore/src/client/config.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ fmt::{Display, Error as FmtError, Formatter}, diff --git a/ethcore/src/client/evm_test_client.rs b/ethcore/src/client/evm_test_client.rs index d7c6afd87..94e21bcd9 100644 --- a/ethcore/src/client/evm_test_client.rs +++ b/ethcore/src/client/evm_test_client.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Simple Client used for EVM tests. @@ -307,7 +307,7 @@ impl<'a> EvmTestClient<'a> { // Touch the coinbase at the end of the test to simulate // miner reward. - // Details: https://github.com/paritytech/parity-ethereum/issues/9431 + // Details: https://github.com/openethereum/openethereum/issues/9431 let schedule = self.spec.engine.machine().schedule(env_info.number); self.state .add_balance( diff --git a/ethcore/src/client/io_message.rs b/ethcore/src/client/io_message.rs index 2ae1db3e2..cd9c36cf0 100644 --- a/ethcore/src/client/io_message.rs +++ b/ethcore/src/client/io_message.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use bytes::Bytes; use client::Client; diff --git a/ethcore/src/client/mod.rs b/ethcore/src/client/mod.rs index d20368f86..300dbfb5a 100644 --- a/ethcore/src/client/mod.rs +++ b/ethcore/src/client/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain database client. diff --git a/ethcore/src/client/test_client.rs b/ethcore/src/client/test_client.rs index 898fed8a7..f48fc477a 100644 --- a/ethcore/src/client/test_client.rs +++ b/ethcore/src/client/test_client.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Test client. @@ -404,6 +404,7 @@ impl TestBlockChainClient { } } +/// Get temporary db state1 pub fn get_temp_state_db() -> StateDB { let db = kvdb_memorydb::create(NUM_COLUMNS.unwrap_or(0)); let journal_db = journaldb::new(Arc::new(db), journaldb::Algorithm::EarlyMerge, COL_STATE); diff --git a/ethcore/src/client/trace.rs b/ethcore/src/client/trace.rs index a9a5c8590..2fae25f8d 100644 --- a/ethcore/src/client/trace.rs +++ b/ethcore/src/client/trace.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Bridge between Tracedb and Blockchain. diff --git a/ethcore/src/client/traits.rs b/ethcore/src/client/traits.rs index 6bde41acc..69eca8c77 100644 --- a/ethcore/src/client/traits.rs +++ b/ethcore/src/client/traits.rs @@ -1,18 +1,20 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . + +//! Traits implemented by client. use std::{collections::BTreeMap, sync::Arc}; diff --git a/ethcore/src/engines/authority_round/finality.rs b/ethcore/src/engines/authority_round/finality.rs index 461be6213..b75425254 100644 --- a/ethcore/src/engines/authority_round/finality.rs +++ b/ethcore/src/engines/authority_round/finality.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Finality proof generation and checking. diff --git a/ethcore/src/engines/authority_round/mod.rs b/ethcore/src/engines/authority_round/mod.rs index 75b06b218..3022dc8df 100644 --- a/ethcore/src/engines/authority_round/mod.rs +++ b/ethcore/src/engines/authority_round/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! A blockchain engine that supports a non-instant BFT proof-of-authority. diff --git a/ethcore/src/engines/basic_authority.rs b/ethcore/src/engines/basic_authority.rs index 22be7d42b..51f1a2bbe 100644 --- a/ethcore/src/engines/basic_authority.rs +++ b/ethcore/src/engines/basic_authority.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! A blockchain engine that supports a basic, non-BFT proof-of-authority. diff --git a/ethcore/src/engines/block_reward.rs b/ethcore/src/engines/block_reward.rs index 911f888cd..1cdd2cc95 100644 --- a/ethcore/src/engines/block_reward.rs +++ b/ethcore/src/engines/block_reward.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! A module with types for declaring block rewards and a client interface for interacting with a //! block reward contract. diff --git a/ethcore/src/engines/clique/block_state.rs b/ethcore/src/engines/clique/block_state.rs index 4e331e016..424911cf9 100644 --- a/ethcore/src/engines/clique/block_state.rs +++ b/ethcore/src/engines/clique/block_state.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ collections::{BTreeSet, HashMap, VecDeque}, diff --git a/ethcore/src/engines/clique/mod.rs b/ethcore/src/engines/clique/mod.rs index b924c9198..1839f1f82 100644 --- a/ethcore/src/engines/clique/mod.rs +++ b/ethcore/src/engines/clique/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Implementation of the Clique PoA Engine. //! @@ -729,7 +729,7 @@ impl Engine for Clique { // Our task here is to set difficulty fn populate_from_parent(&self, header: &mut Header, parent: &Header) { - // TODO(https://github.com/paritytech/parity-ethereum/issues/10410): this is a horrible hack, + // TODO(https://github.com/openethereum/openethereum/issues/10410): this is a horrible hack, // it is due to the fact that enact and miner both use OpenBlock::new() which will both call // this function. more refactoring is definitely needed. if header.extra_data().len() < VANITY_LENGTH + SIGNATURE_LENGTH { diff --git a/ethcore/src/engines/clique/params.rs b/ethcore/src/engines/clique/params.rs index 500715734..1ab5746f3 100644 --- a/ethcore/src/engines/clique/params.rs +++ b/ethcore/src/engines/clique/params.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Clique specific parameters. diff --git a/ethcore/src/engines/clique/tests.rs b/ethcore/src/engines/clique/tests.rs index 2f5816a08..a243a3893 100644 --- a/ethcore/src/engines/clique/tests.rs +++ b/ethcore/src/engines/clique/tests.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Consensus tests for `PoA Clique Engine`, see http://eips.ethereum.org/EIPS/eip-225 for more information diff --git a/ethcore/src/engines/clique/util.rs b/ethcore/src/engines/clique/util.rs index 57dcc3657..81751fa04 100644 --- a/ethcore/src/engines/clique/util.rs +++ b/ethcore/src/engines/clique/util.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::collections::BTreeSet; diff --git a/ethcore/src/engines/instant_seal.rs b/ethcore/src/engines/instant_seal.rs index 328035536..0c7749fa0 100644 --- a/ethcore/src/engines/instant_seal.rs +++ b/ethcore/src/engines/instant_seal.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use block::ExecutedBlock; use engines::{Engine, Seal}; diff --git a/ethcore/src/engines/mod.rs b/ethcore/src/engines/mod.rs index 697fd59cf..e979f4066 100644 --- a/ethcore/src/engines/mod.rs +++ b/ethcore/src/engines/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Consensus engine specification and basic implementations. diff --git a/ethcore/src/engines/null_engine.rs b/ethcore/src/engines/null_engine.rs index 16cc2ee9b..f23e020d6 100644 --- a/ethcore/src/engines/null_engine.rs +++ b/ethcore/src/engines/null_engine.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use block::ExecutedBlock; use engines::{ diff --git a/ethcore/src/engines/signer.rs b/ethcore/src/engines/signer.rs index f0ac7157e..d4a31802d 100644 --- a/ethcore/src/engines/signer.rs +++ b/ethcore/src/engines/signer.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! A signer used by Engines which need to sign messages. diff --git a/ethcore/src/engines/validator_set/contract.rs b/ethcore/src/engines/validator_set/contract.rs index 4a6b1d948..b742120f2 100644 --- a/ethcore/src/engines/validator_set/contract.rs +++ b/ethcore/src/engines/validator_set/contract.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . /// Validator set maintained in a contract, updated using `getValidators` method. /// It can also report validators for misbehaviour with two levels: `reportMalicious` and `reportBenign`. diff --git a/ethcore/src/engines/validator_set/mod.rs b/ethcore/src/engines/validator_set/mod.rs index bad86c414..e9f2d6b99 100644 --- a/ethcore/src/engines/validator_set/mod.rs +++ b/ethcore/src/engines/validator_set/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . mod contract; mod multi; diff --git a/ethcore/src/engines/validator_set/multi.rs b/ethcore/src/engines/validator_set/multi.rs index 912ab622b..b5b290167 100644 --- a/ethcore/src/engines/validator_set/multi.rs +++ b/ethcore/src/engines/validator_set/multi.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . /// Validator set changing at fork blocks. use std::collections::BTreeMap; diff --git a/ethcore/src/engines/validator_set/safe_contract.rs b/ethcore/src/engines/validator_set/safe_contract.rs index 14567fc9f..569510a8d 100644 --- a/ethcore/src/engines/validator_set/safe_contract.rs +++ b/ethcore/src/engines/validator_set/safe_contract.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . /// Validator set maintained in a contract, updated using `getValidators` method. use std::sync::{Arc, Weak}; diff --git a/ethcore/src/engines/validator_set/simple_list.rs b/ethcore/src/engines/validator_set/simple_list.rs index e8d0b0159..5911d749c 100644 --- a/ethcore/src/engines/validator_set/simple_list.rs +++ b/ethcore/src/engines/validator_set/simple_list.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{Address, H256}; /// Preconfigured validator list. diff --git a/ethcore/src/engines/validator_set/test.rs b/ethcore/src/engines/validator_set/test.rs index 7b61cef00..afc4cb1d0 100644 --- a/ethcore/src/engines/validator_set/test.rs +++ b/ethcore/src/engines/validator_set/test.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . /// Used for Engine testing. use std::str::FromStr; diff --git a/ethcore/src/error.rs b/ethcore/src/error.rs index 277adb107..5081c85bf 100644 --- a/ethcore/src/error.rs +++ b/ethcore/src/error.rs @@ -1,23 +1,23 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! General error types for use in ethcore. // Silence: `use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting` -// https://github.com/paritytech/parity-ethereum/issues/10302 +// https://github.com/openethereum/openethereum/issues/10302 #![allow(deprecated)] use std::{error, fmt, time::SystemTime}; diff --git a/ethcore/src/ethereum/denominations.rs b/ethcore/src/ethereum/denominations.rs index 4019222ec..294f6c244 100644 --- a/ethcore/src/ethereum/denominations.rs +++ b/ethcore/src/ethereum/denominations.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::U256; diff --git a/ethcore/src/ethereum/ethash.rs b/ethcore/src/ethereum/ethash.rs index 8d3503989..f1d0853ea 100644 --- a/ethcore/src/ethereum/ethash.rs +++ b/ethcore/src/ethereum/ethash.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{cmp, collections::BTreeMap, path::Path, sync::Arc}; diff --git a/ethcore/src/ethereum/mod.rs b/ethcore/src/ethereum/mod.rs index f76c1ea2b..7a38fecd9 100644 --- a/ethcore/src/ethereum/mod.rs +++ b/ethcore/src/ethereum/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Ethereum protocol module. //! diff --git a/ethcore/src/executed.rs b/ethcore/src/executed.rs index ea5e24341..fc403699b 100644 --- a/ethcore/src/executed.rs +++ b/ethcore/src/executed.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Transaction execution format module. diff --git a/ethcore/src/executive.rs b/ethcore/src/executive.rs index b6d307532..d39303b87 100644 --- a/ethcore/src/executive.rs +++ b/ethcore/src/executive.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Transaction Execution environment. use bytes::{Bytes, BytesRef}; diff --git a/ethcore/src/externalities.rs b/ethcore/src/externalities.rs index 7f5603300..46e77c83b 100644 --- a/ethcore/src/externalities.rs +++ b/ethcore/src/externalities.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Transaction Execution environment. use bytes::Bytes; diff --git a/ethcore/src/factory.rs b/ethcore/src/factory.rs index e0e41f968..f89bce9ee 100644 --- a/ethcore/src/factory.rs +++ b/ethcore/src/factory.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use account_db::Factory as AccountFactory; use ethtrie::RlpCodec; diff --git a/ethcore/src/json_tests/chain.rs b/ethcore/src/json_tests/chain.rs index d6ddd2139..0b489f90d 100644 --- a/ethcore/src/json_tests/chain.rs +++ b/ethcore/src/json_tests/chain.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::HookType; use client::{ diff --git a/ethcore/src/json_tests/difficulty.rs b/ethcore/src/json_tests/difficulty.rs index 51804f92c..60296e707 100644 --- a/ethcore/src/json_tests/difficulty.rs +++ b/ethcore/src/json_tests/difficulty.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::U256; use ethjson; diff --git a/ethcore/src/json_tests/executive.rs b/ethcore/src/json_tests/executive.rs index de7d8f92f..25535adab 100644 --- a/ethcore/src/json_tests/executive.rs +++ b/ethcore/src/json_tests/executive.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::test_common::*; use bytes::Bytes; diff --git a/ethcore/src/json_tests/mod.rs b/ethcore/src/json_tests/mod.rs index 061b06b69..5f1cad9ad 100644 --- a/ethcore/src/json_tests/mod.rs +++ b/ethcore/src/json_tests/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Helpers and tests for operating on jsontests. diff --git a/ethcore/src/json_tests/skip.rs b/ethcore/src/json_tests/skip.rs index 6a993fe1c..c9daade71 100644 --- a/ethcore/src/json_tests/skip.rs +++ b/ethcore/src/json_tests/skip.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! State tests to skip. diff --git a/ethcore/src/json_tests/state.rs b/ethcore/src/json_tests/state.rs index ec309fafa..000088ee7 100644 --- a/ethcore/src/json_tests/state.rs +++ b/ethcore/src/json_tests/state.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{test_common::*, HookType}; use client::{EvmTestClient, EvmTestError, TransactErr, TransactSuccess}; diff --git a/ethcore/src/json_tests/test_common.rs b/ethcore/src/json_tests/test_common.rs index fcab916d5..2af7616fb 100644 --- a/ethcore/src/json_tests/test_common.rs +++ b/ethcore/src/json_tests/test_common.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . pub use ethereum_types::{Address, H256, U256}; use std::path::PathBuf; diff --git a/ethcore/src/json_tests/transaction.rs b/ethcore/src/json_tests/transaction.rs index c01a15740..1146e24e3 100644 --- a/ethcore/src/json_tests/transaction.rs +++ b/ethcore/src/json_tests/transaction.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::test_common::*; use client::EvmTestClient; diff --git a/ethcore/src/json_tests/trie.rs b/ethcore/src/json_tests/trie.rs index a0dc44ca5..7f26318fb 100644 --- a/ethcore/src/json_tests/trie.rs +++ b/ethcore/src/json_tests/trie.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use ethjson; diff --git a/ethcore/src/lib.rs b/ethcore/src/lib.rs index 2b430466b..8a95f2213 100644 --- a/ethcore/src/lib.rs +++ b/ethcore/src/lib.rs @@ -1,62 +1,22 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . -#![allow(missing_docs)] -#![warn(unused_extern_crates)] +#![warn(missing_docs, unused_extern_crates)] //! Ethcore library -//! -//! ### Rust version: -//! - nightly -//! -//! ### Supported platforms: -//! - OSX -//! - Linux -//! -//! ### Building: -//! -//! - Ubuntu 14.04 and later: -//! -//! ```bash -//! -//! # install rustup -//! curl https://sh.rustup.rs -sSf | sh -//! -//! # download and build parity -//! git clone https://github.com/paritytech/parity-ethereum -//! cd parity -//! cargo build --release -//! ``` -//! -//! - OSX: -//! -//! ```bash -//! # install rocksdb && rustup -//! brew update -//! curl https://sh.rustup.rs -sSf | sh -//! -//! # download and build parity -//! git clone https://github.com/paritytech/parity-ethereum -//! cd parity -//! cargo build --release -//! ``` - -// Recursion limit required because of -// error_chain foreign_links. -#![recursion_limit = "128"] extern crate ansi_term; extern crate common_types as types; diff --git a/ethcore/src/machine/impls.rs b/ethcore/src/machine/impls.rs index bf0bfede6..f848a320d 100644 --- a/ethcore/src/machine/impls.rs +++ b/ethcore/src/machine/impls.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Ethereum-like state machine definition. @@ -46,8 +46,8 @@ use state::{CleanupMode, Substate}; use trace::{NoopTracer, NoopVMTracer}; use tx_filter::TransactionFilter; -/// Parity tries to round block.gas_limit to multiple of this constant -pub const PARITY_GAS_LIMIT_DETERMINANT: U256 = U256([37, 0, 0, 0]); +/// Open tries to round block.gas_limit to multiple of this constant +pub const GAS_LIMIT_DETERMINANT: U256 = U256([37, 0, 0, 0]); /// Ethash-specific extensions. #[derive(Debug, Clone)] @@ -515,12 +515,12 @@ impl super::Machine for EthereumMachine { // Try to round gas_limit a bit so that: // 1) it will still be in desired range -// 2) it will be a nearest (with tendency to increase) multiple of PARITY_GAS_LIMIT_DETERMINANT +// 2) it will be a nearest (with tendency to increase) multiple of GAS_LIMIT_DETERMINANT fn round_block_gas_limit(gas_limit: U256, lower_limit: U256, upper_limit: U256) -> U256 { let increased_gas_limit = - gas_limit + (PARITY_GAS_LIMIT_DETERMINANT - gas_limit % PARITY_GAS_LIMIT_DETERMINANT); + gas_limit + (GAS_LIMIT_DETERMINANT - gas_limit % GAS_LIMIT_DETERMINANT); if increased_gas_limit > upper_limit { - let decreased_gas_limit = increased_gas_limit - PARITY_GAS_LIMIT_DETERMINANT; + let decreased_gas_limit = increased_gas_limit - GAS_LIMIT_DETERMINANT; if decreased_gas_limit < lower_limit { gas_limit } else { @@ -587,7 +587,7 @@ mod tests { header.set_number(1); // this test will work for this constant only - assert_eq!(PARITY_GAS_LIMIT_DETERMINANT, U256::from(37)); + assert_eq!(GAS_LIMIT_DETERMINANT, U256::from(37)); // when parent.gas_limit < gas_floor_target: parent.set_gas_limit(U256::from(50_000)); diff --git a/ethcore/src/machine/traits.rs b/ethcore/src/machine/traits.rs index b481dc62f..3f5f22b2e 100644 --- a/ethcore/src/machine/traits.rs +++ b/ethcore/src/machine/traits.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Generalization of a state machine for a consensus engine. //! This will define traits for the header, block, and state of a blockchain. diff --git a/ethcore/src/miner/miner.rs b/ethcore/src/miner/miner.rs index 9ca4969f3..96141f1d5 100644 --- a/ethcore/src/miner/miner.rs +++ b/ethcore/src/miner/miner.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ cmp, @@ -691,7 +691,7 @@ impl Miner { } } - // TODO: (https://github.com/paritytech/parity-ethereum/issues/10407) + // TODO: (https://github.com/openethereum/openethereum/issues/10407) // This is only used in authority_round path, and should be refactored to merge with the other seal() path. // Attempts to perform internal sealing (one that does not require work) and handles the result depending on the // type of Seal. diff --git a/ethcore/src/miner/mod.rs b/ethcore/src/miner/mod.rs index c993b6b1a..c7eb0d056 100644 --- a/ethcore/src/miner/mod.rs +++ b/ethcore/src/miner/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . #![warn(missing_docs)] diff --git a/ethcore/src/miner/pool_client.rs b/ethcore/src/miner/pool_client.rs index 1ba729b38..b3eb6d229 100644 --- a/ethcore/src/miner/pool_client.rs +++ b/ethcore/src/miner/pool_client.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain access for transaction pool. diff --git a/ethcore/src/miner/stratum.rs b/ethcore/src/miner/stratum.rs index 4e7eec747..c08c02ca1 100644 --- a/ethcore/src/miner/stratum.rs +++ b/ethcore/src/miner/stratum.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Client-side stratum job dispatcher and mining notifier handler diff --git a/ethcore/src/pod_account.rs b/ethcore/src/pod_account.rs index 4878273a3..ed7311e5a 100644 --- a/ethcore/src/pod_account.rs +++ b/ethcore/src/pod_account.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Account system expressed in Plain Old Data. diff --git a/ethcore/src/pod_state.rs b/ethcore/src/pod_state.rs index b7545178f..5eafca568 100644 --- a/ethcore/src/pod_state.rs +++ b/ethcore/src/pod_state.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! State of all accounts in the system expressed in Plain Old Data. diff --git a/ethcore/src/snapshot/account.rs b/ethcore/src/snapshot/account.rs index c571f75b0..cb3f5e154 100644 --- a/ethcore/src/snapshot/account.rs +++ b/ethcore/src/snapshot/account.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Account state encoding and decoding diff --git a/ethcore/src/snapshot/block.rs b/ethcore/src/snapshot/block.rs index a3abb5358..5d29fccd1 100644 --- a/ethcore/src/snapshot/block.rs +++ b/ethcore/src/snapshot/block.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Block RLP compression. diff --git a/ethcore/src/snapshot/consensus/authority.rs b/ethcore/src/snapshot/consensus/authority.rs index 71b2bb10a..6d4c1daf0 100644 --- a/ethcore/src/snapshot/consensus/authority.rs +++ b/ethcore/src/snapshot/consensus/authority.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Secondary chunk creation and restoration, implementation for proof-of-authority //! based engines. diff --git a/ethcore/src/snapshot/consensus/mod.rs b/ethcore/src/snapshot/consensus/mod.rs index 79924a549..0a0865a70 100644 --- a/ethcore/src/snapshot/consensus/mod.rs +++ b/ethcore/src/snapshot/consensus/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Secondary chunk creation and restoration, implementations for different consensus //! engines. diff --git a/ethcore/src/snapshot/consensus/work.rs b/ethcore/src/snapshot/consensus/work.rs index f6c9d26c0..8bbb06fca 100644 --- a/ethcore/src/snapshot/consensus/work.rs +++ b/ethcore/src/snapshot/consensus/work.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Secondary chunk creation and restoration, implementation for proof-of-work //! chains. diff --git a/ethcore/src/snapshot/error.rs b/ethcore/src/snapshot/error.rs index 0fd9dd41b..914f01d32 100644 --- a/ethcore/src/snapshot/error.rs +++ b/ethcore/src/snapshot/error.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Snapshot-related errors. diff --git a/ethcore/src/snapshot/io.rs b/ethcore/src/snapshot/io.rs index 704682099..f1abb60be 100644 --- a/ethcore/src/snapshot/io.rs +++ b/ethcore/src/snapshot/io.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Snapshot i/o. //! Ways of writing and reading snapshots. This module supports writing and reading diff --git a/ethcore/src/snapshot/mod.rs b/ethcore/src/snapshot/mod.rs index 276fac51a..324dcbeb1 100644 --- a/ethcore/src/snapshot/mod.rs +++ b/ethcore/src/snapshot/mod.rs @@ -1,23 +1,23 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Snapshot creation, restoration, and network service. //! //! Documentation of the format can be found at -//! https://wiki.parity.io/Warp-Sync-Snapshot-Format +//! https://openethereum.github.io/wiki/Warp-Sync-Snapshot-Format use hash::{keccak, KECCAK_EMPTY, KECCAK_NULL_RLP}; use std::{ diff --git a/ethcore/src/snapshot/service.rs b/ethcore/src/snapshot/service.rs index fbeedbd50..09b254bbb 100644 --- a/ethcore/src/snapshot/service.rs +++ b/ethcore/src/snapshot/service.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Snapshot network service implementation. diff --git a/ethcore/src/snapshot/tests/helpers.rs b/ethcore/src/snapshot/tests/helpers.rs index 68ec01590..7203a51ff 100644 --- a/ethcore/src/snapshot/tests/helpers.rs +++ b/ethcore/src/snapshot/tests/helpers.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Snapshot test helpers. These are used to build blockchains and state tries //! which can be queried before and after a full snapshot/restore cycle. diff --git a/ethcore/src/snapshot/tests/mod.rs b/ethcore/src/snapshot/tests/mod.rs index 89014170a..96e95bd81 100644 --- a/ethcore/src/snapshot/tests/mod.rs +++ b/ethcore/src/snapshot/tests/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Snapshot tests. diff --git a/ethcore/src/snapshot/tests/proof_of_authority.rs b/ethcore/src/snapshot/tests/proof_of_authority.rs index 4d4b0d5cd..229a9f434 100644 --- a/ethcore/src/snapshot/tests/proof_of_authority.rs +++ b/ethcore/src/snapshot/tests/proof_of_authority.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! PoA block chunker and rebuilder tests. diff --git a/ethcore/src/snapshot/tests/proof_of_work.rs b/ethcore/src/snapshot/tests/proof_of_work.rs index 8a048d4cd..44506f23e 100644 --- a/ethcore/src/snapshot/tests/proof_of_work.rs +++ b/ethcore/src/snapshot/tests/proof_of_work.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! PoW block chunker and rebuilder tests. diff --git a/ethcore/src/snapshot/tests/service.rs b/ethcore/src/snapshot/tests/service.rs index b747d3b55..7ca2cd1ba 100644 --- a/ethcore/src/snapshot/tests/service.rs +++ b/ethcore/src/snapshot/tests/service.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Tests for the snapshot service. diff --git a/ethcore/src/snapshot/tests/state.rs b/ethcore/src/snapshot/tests/state.rs index 8c8ce8d6c..06a7e4afe 100644 --- a/ethcore/src/snapshot/tests/state.rs +++ b/ethcore/src/snapshot/tests/state.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! State snapshotting tests. diff --git a/ethcore/src/snapshot/traits.rs b/ethcore/src/snapshot/traits.rs index 755981bea..6b17d2f03 100644 --- a/ethcore/src/snapshot/traits.rs +++ b/ethcore/src/snapshot/traits.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{CreationStatus, ManifestData, RestorationStatus}; use bytes::Bytes; diff --git a/ethcore/src/snapshot/watcher.rs b/ethcore/src/snapshot/watcher.rs index 074a0d26e..8f1bced37 100644 --- a/ethcore/src/snapshot/watcher.rs +++ b/ethcore/src/snapshot/watcher.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Watcher for snapshot-related chain events. diff --git a/ethcore/src/spec/genesis.rs b/ethcore/src/spec/genesis.rs index 1992fba7b..88f3f7859 100644 --- a/ethcore/src/spec/genesis.rs +++ b/ethcore/src/spec/genesis.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{Address, H256, U256}; use ethjson; diff --git a/ethcore/src/spec/mod.rs b/ethcore/src/spec/mod.rs index 8d0702878..de9cd6411 100644 --- a/ethcore/src/spec/mod.rs +++ b/ethcore/src/spec/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain params. diff --git a/ethcore/src/spec/seal.rs b/ethcore/src/spec/seal.rs index 26b8e2c89..33d69b121 100644 --- a/ethcore/src/spec/seal.rs +++ b/ethcore/src/spec/seal.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Spec seal. diff --git a/ethcore/src/spec/spec.rs b/ethcore/src/spec/spec.rs index edaab3a74..e8f968a71 100644 --- a/ethcore/src/spec/spec.rs +++ b/ethcore/src/spec/spec.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Parameters for a block chain. @@ -1038,13 +1038,13 @@ impl Spec { /// Create a new Spec with AuthorityRound consensus (with empty steps) using a block reward /// contract. The contract source code can be found at: - /// https://github.com/parity-contracts/block-reward/blob/daf7d44383b6cdb11cb6b953b018648e2b027cfb/contracts/ExampleBlockReward.sol + /// https://github.com/openethereum/block-reward/blob/daf7d44383b6cdb11cb6b953b018648e2b027cfb/contracts/ExampleBlockReward.sol #[cfg(any(test, feature = "test-helpers"))] pub fn new_test_round_block_reward_contract() -> Self { load_bundled!("authority_round_block_reward_contract") } - /// TestList.sol used in both specs: https://github.com/paritytech/contracts/pull/30/files + /// TestList.sol used in both specs: https://github.com/paritytech/contracts/pull/30/files (link not valid) /// Accounts with secrets keccak("0") and keccak("1") are initially the validators. /// Create a new Spec with BasicAuthority which uses a contract at address 5 to determine /// the current validators using `getValidators`. diff --git a/ethcore/src/state/account.rs b/ethcore/src/state/account.rs index a9757863b..b6504c176 100644 --- a/ethcore/src/state/account.rs +++ b/ethcore/src/state/account.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Single account in the system. diff --git a/ethcore/src/state/backend.rs b/ethcore/src/state/backend.rs index e11030b59..167884cd0 100644 --- a/ethcore/src/state/backend.rs +++ b/ethcore/src/state/backend.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! A minimal "state backend" trait: an abstraction over the sources of data //! a blockchain state may draw upon. diff --git a/ethcore/src/state/mod.rs b/ethcore/src/state/mod.rs index bc3d7c728..7a6368757 100644 --- a/ethcore/src/state/mod.rs +++ b/ethcore/src/state/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! A mutable state representation suitable to execute transactions. //! Generic over a `Backend`. Deals with `Account`s. diff --git a/ethcore/src/state/substate.rs b/ethcore/src/state/substate.rs index 9009b6b88..ec23e85e6 100644 --- a/ethcore/src/state/substate.rs +++ b/ethcore/src/state/substate.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Execution environment substate. use super::CleanupMode; diff --git a/ethcore/src/state_db.rs b/ethcore/src/state_db.rs index cb7676e61..306851b9f 100644 --- a/ethcore/src/state_db.rs +++ b/ethcore/src/state_db.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! State database abstraction. For more info, see the doc for `StateDB` diff --git a/ethcore/src/test_helpers.rs b/ethcore/src/test_helpers.rs index 5a7eea744..2bf3a8410 100644 --- a/ethcore/src/test_helpers.rs +++ b/ethcore/src/test_helpers.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Set of different helpers for client tests diff --git a/ethcore/src/tests/blockchain.rs b/ethcore/src/tests/blockchain.rs index a97430c0e..86a1475b1 100644 --- a/ethcore/src/tests/blockchain.rs +++ b/ethcore/src/tests/blockchain.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use blockchain::BlockProvider; diff --git a/ethcore/src/tests/client.rs b/ethcore/src/tests/client.rs index 80f7f0855..954d2a044 100644 --- a/ethcore/src/tests/client.rs +++ b/ethcore/src/tests/client.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ str::{from_utf8, FromStr}, diff --git a/ethcore/src/tests/evm.rs b/ethcore/src/tests/evm.rs index c00e99877..555207d0a 100644 --- a/ethcore/src/tests/evm.rs +++ b/ethcore/src/tests/evm.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Tests of EVM integration with transaction execution. diff --git a/ethcore/src/tests/mod.rs b/ethcore/src/tests/mod.rs index d0f86efff..9492bc316 100644 --- a/ethcore/src/tests/mod.rs +++ b/ethcore/src/tests/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . mod blockchain; mod client; diff --git a/ethcore/src/tests/trace.rs b/ethcore/src/tests/trace.rs index f5282ce5e..4b21dd06f 100644 --- a/ethcore/src/tests/trace.rs +++ b/ethcore/src/tests/trace.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Client tests of tracing diff --git a/ethcore/src/trace/config.rs b/ethcore/src/trace/config.rs index 085127caf..157bc01f4 100644 --- a/ethcore/src/trace/config.rs +++ b/ethcore/src/trace/config.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Traces config. diff --git a/ethcore/src/trace/db.rs b/ethcore/src/trace/db.rs index 8cafac711..f0943649e 100644 --- a/ethcore/src/trace/db.rs +++ b/ethcore/src/trace/db.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Trace database. use std::{collections::HashMap, sync::Arc}; diff --git a/ethcore/src/trace/executive_tracer.rs b/ethcore/src/trace/executive_tracer.rs index af0468ae6..3cb7f2cd4 100644 --- a/ethcore/src/trace/executive_tracer.rs +++ b/ethcore/src/trace/executive_tracer.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Simple executive tracer. diff --git a/ethcore/src/trace/import.rs b/ethcore/src/trace/import.rs index 0e0c531b4..aba9b2b09 100644 --- a/ethcore/src/trace/import.rs +++ b/ethcore/src/trace/import.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Traces import request. use ethereum_types::H256; diff --git a/ethcore/src/trace/mod.rs b/ethcore/src/trace/mod.rs index 3eacf0644..036a5245f 100644 --- a/ethcore/src/trace/mod.rs +++ b/ethcore/src/trace/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Tracing diff --git a/ethcore/src/trace/noop_tracer.rs b/ethcore/src/trace/noop_tracer.rs index 87f814536..3944ecef8 100644 --- a/ethcore/src/trace/noop_tracer.rs +++ b/ethcore/src/trace/noop_tracer.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Nonoperative tracer. diff --git a/ethcore/src/trace/types/error.rs b/ethcore/src/trace/types/error.rs index 367ceeccd..691e6cc39 100644 --- a/ethcore/src/trace/types/error.rs +++ b/ethcore/src/trace/types/error.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Trace errors. diff --git a/ethcore/src/trace/types/filter.rs b/ethcore/src/trace/types/filter.rs index 4c3fbfe05..604981e4e 100644 --- a/ethcore/src/trace/types/filter.rs +++ b/ethcore/src/trace/types/filter.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Trace filters type definitions diff --git a/ethcore/src/trace/types/flat.rs b/ethcore/src/trace/types/flat.rs index 4810c42e9..caf5b6be6 100644 --- a/ethcore/src/trace/types/flat.rs +++ b/ethcore/src/trace/types/flat.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Flat trace module diff --git a/ethcore/src/trace/types/localized.rs b/ethcore/src/trace/types/localized.rs index bbcd69702..8392a33d7 100644 --- a/ethcore/src/trace/types/localized.rs +++ b/ethcore/src/trace/types/localized.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Localized traces type definitions diff --git a/ethcore/src/trace/types/mod.rs b/ethcore/src/trace/types/mod.rs index ac4888b55..a28cf89c5 100644 --- a/ethcore/src/trace/types/mod.rs +++ b/ethcore/src/trace/types/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Types used in the public api diff --git a/ethcore/src/trace/types/trace.rs b/ethcore/src/trace/types/trace.rs index 93ea25b80..28f7c3f72 100644 --- a/ethcore/src/trace/types/trace.rs +++ b/ethcore/src/trace/types/trace.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Tracing datatypes. diff --git a/ethcore/src/transaction_ext.rs b/ethcore/src/transaction_ext.rs index 8e14af84e..d86f09582 100644 --- a/ethcore/src/transaction_ext.rs +++ b/ethcore/src/transaction_ext.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Ethereum transaction diff --git a/ethcore/src/tx_filter.rs b/ethcore/src/tx_filter.rs index 09e16c06a..d4e7abb93 100644 --- a/ethcore/src/tx_filter.rs +++ b/ethcore/src/tx_filter.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Smart contract based transaction filter. diff --git a/ethcore/src/verification/canon_verifier.rs b/ethcore/src/verification/canon_verifier.rs index d02a7643f..a5089356e 100644 --- a/ethcore/src/verification/canon_verifier.rs +++ b/ethcore/src/verification/canon_verifier.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Canonical verifier. diff --git a/ethcore/src/verification/mod.rs b/ethcore/src/verification/mod.rs index 6e957e371..3ee8f8503 100644 --- a/ethcore/src/verification/mod.rs +++ b/ethcore/src/verification/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Block verification utilities. diff --git a/ethcore/src/verification/noop_verifier.rs b/ethcore/src/verification/noop_verifier.rs index 5e922bfa5..b4e1562ca 100644 --- a/ethcore/src/verification/noop_verifier.rs +++ b/ethcore/src/verification/noop_verifier.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! No-op verifier. diff --git a/ethcore/src/verification/queue/kind.rs b/ethcore/src/verification/queue/kind.rs index ce6569d10..0c5b42afe 100644 --- a/ethcore/src/verification/queue/kind.rs +++ b/ethcore/src/verification/queue/kind.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Definition of valid items for the verification queue. diff --git a/ethcore/src/verification/queue/mod.rs b/ethcore/src/verification/queue/mod.rs index 4c547f5d3..1d39db9c2 100644 --- a/ethcore/src/verification/queue/mod.rs +++ b/ethcore/src/verification/queue/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! A queue of blocks. Sits between network or other I/O and the `BlockChain`. //! Sorts them ready for blockchain insertion. diff --git a/ethcore/src/verification/verification.rs b/ethcore/src/verification/verification.rs index b5c3ff58d..a4437c719 100644 --- a/ethcore/src/verification/verification.rs +++ b/ethcore/src/verification/verification.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Block and transaction verification functions //! diff --git a/ethcore/src/verification/verifier.rs b/ethcore/src/verification/verifier.rs index 7383ac60d..c74af43e7 100644 --- a/ethcore/src/verification/verifier.rs +++ b/ethcore/src/verification/verifier.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! A generic verifier trait. diff --git a/ethcore/sync/src/api.rs b/ethcore/sync/src/api.rs index 6076678d8..a9e8a2470 100644 --- a/ethcore/sync/src/api.rs +++ b/ethcore/sync/src/api.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use bytes::Bytes; use devp2p::NetworkService; @@ -55,7 +55,7 @@ use types::{ transaction::UnverifiedTransaction, BlockNumber, }; -/// Parity sync protocol +/// OpenEthereum sync protocol pub const PAR_PROTOCOL: ProtocolId = *b"par"; /// Ethereum sync protocol pub const ETH_PROTOCOL: ProtocolId = *b"eth"; diff --git a/ethcore/sync/src/block_sync.rs b/ethcore/sync/src/block_sync.rs index dc072e783..1e7f00a33 100644 --- a/ethcore/sync/src/block_sync.rs +++ b/ethcore/sync/src/block_sync.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use blocks::{BlockCollection, SyncBody, SyncHeader}; use chain::BlockSet; diff --git a/ethcore/sync/src/blocks.rs b/ethcore/sync/src/blocks.rs index 95936b05c..9ae323cbe 100644 --- a/ethcore/sync/src/blocks.rs +++ b/ethcore/sync/src/blocks.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use bytes::Bytes; use ethcore::verification::queue::kind::blocks::Unverified; diff --git a/ethcore/sync/src/chain/handler.rs b/ethcore/sync/src/chain/handler.rs index 0b711f984..12e0db973 100644 --- a/ethcore/sync/src/chain/handler.rs +++ b/ethcore/sync/src/chain/handler.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use api::{ETH_PROTOCOL, PAR_PROTOCOL}; use block_sync::{BlockDownloaderImportError as DownloaderImportError, DownloadAction}; diff --git a/ethcore/sync/src/chain/mod.rs b/ethcore/sync/src/chain/mod.rs index 33c1f543b..9a5b1f5fe 100644 --- a/ethcore/sync/src/chain/mod.rs +++ b/ethcore/sync/src/chain/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! `BlockChain` synchronization strategy. //! Syncs to peers and keeps up to date. @@ -157,9 +157,9 @@ impl From for PacketProcessError { pub const ETH_PROTOCOL_VERSION_64: (u8, u8) = (64, 0x11); /// 63 version of Ethereum protocol. pub const ETH_PROTOCOL_VERSION_63: (u8, u8) = (63, 0x11); -/// 1 version of Parity protocol and the packet count. +/// 1 version of OpenEthereum protocol and the packet count. pub const PAR_PROTOCOL_VERSION_1: (u8, u8) = (1, 0x15); -/// 2 version of Parity protocol (consensus messages added). +/// 2 version of OpenEthereum protocol (consensus messages added). pub const PAR_PROTOCOL_VERSION_2: (u8, u8) = (2, 0x16); pub const MAX_BODIES_TO_SEND: usize = 256; diff --git a/ethcore/sync/src/chain/propagator.rs b/ethcore/sync/src/chain/propagator.rs index 0a87f21dc..cd28f7fe8 100644 --- a/ethcore/sync/src/chain/propagator.rs +++ b/ethcore/sync/src/chain/propagator.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{cmp, collections::HashSet}; @@ -637,14 +637,14 @@ mod tests { // when peer#1 is Geth insert_dummy_peer(&mut sync, 1, block_hash); io.peers_info.insert(1, "Geth".to_owned()); - // and peer#2 is Parity, accepting service transactions + // and peer#2 is OpenEthereum, accepting service transactions insert_dummy_peer(&mut sync, 2, block_hash); io.peers_info - .insert(2, "Parity-Ethereum/v2.6.0/linux/rustc".to_owned()); - // and peer#3 is Parity, accepting service transactions + .insert(2, "OpenEthereum/v2.6.0/linux/rustc".to_owned()); + // and peer#3 is OpenEthereum, accepting service transactions insert_dummy_peer(&mut sync, 3, block_hash); io.peers_info - .insert(3, "Parity-Ethereum/ABCDEFGH/v2.7.3/linux/rustc".to_owned()); + .insert(3, "OpenEthereum/ABCDEFGH/v2.7.3/linux/rustc".to_owned()); // and new service transaction is propagated to peers SyncPropagator::propagate_new_transactions(&mut sync, &mut io, || true); @@ -676,10 +676,10 @@ mod tests { let ss = TestSnapshotService::new(); let mut io = TestIo::new(&mut client, &ss, &queue, None); - // when peer#1 is Parity, accepting service transactions + // when peer#1 is OpenEthereum, accepting service transactions insert_dummy_peer(&mut sync, 1, block_hash); io.peers_info - .insert(1, "Parity-Ethereum/v2.6.0/linux/rustc".to_owned()); + .insert(1, "OpenEthereum/v2.6.0/linux/rustc".to_owned()); // and service + non-service transactions are propagated to peers SyncPropagator::propagate_new_transactions(&mut sync, &mut io, || true); diff --git a/ethcore/sync/src/chain/requester.rs b/ethcore/sync/src/chain/requester.rs index 288fbb34a..1aba74f6b 100644 --- a/ethcore/sync/src/chain/requester.rs +++ b/ethcore/sync/src/chain/requester.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use block_sync::BlockRequest; use bytes::Bytes; diff --git a/ethcore/sync/src/chain/supplier.rs b/ethcore/sync/src/chain/supplier.rs index 99ab3baba..315adaa99 100644 --- a/ethcore/sync/src/chain/supplier.rs +++ b/ethcore/sync/src/chain/supplier.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use bytes::Bytes; use enum_primitive::FromPrimitive; diff --git a/ethcore/sync/src/chain/sync_packet.rs b/ethcore/sync/src/chain/sync_packet.rs index 3567c7476..a868e1c35 100644 --- a/ethcore/sync/src/chain/sync_packet.rs +++ b/ethcore/sync/src/chain/sync_packet.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! When sending packets over p2p we specify both which subprotocol //! to use and what kind of packet we are sending (through a packet id). diff --git a/ethcore/sync/src/lib.rs b/ethcore/sync/src/lib.rs index bc8030284..ff2bf8bb3 100644 --- a/ethcore/sync/src/lib.rs +++ b/ethcore/sync/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . #![warn(missing_docs)] diff --git a/ethcore/sync/src/snapshot.rs b/ethcore/sync/src/snapshot.rs index db9b05996..72b90574d 100644 --- a/ethcore/sync/src/snapshot.rs +++ b/ethcore/sync/src/snapshot.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethcore::snapshot::{ManifestData, SnapshotService}; use ethereum_types::H256; diff --git a/ethcore/sync/src/sync_io.rs b/ethcore/sync/src/sync_io.rs index be826649a..8527b7810 100644 --- a/ethcore/sync/src/sync_io.rs +++ b/ethcore/sync/src/sync_io.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use bytes::Bytes; use chain::sync_packet::{PacketInfo, SyncPacket}; diff --git a/ethcore/sync/src/tests/chain.rs b/ethcore/sync/src/tests/chain.rs index 4cc03bb18..3cc12729b 100644 --- a/ethcore/sync/src/tests/chain.rs +++ b/ethcore/sync/src/tests/chain.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::helpers::*; use chain::SyncState; diff --git a/ethcore/sync/src/tests/consensus.rs b/ethcore/sync/src/tests/consensus.rs index 0327acd06..089c7c585 100644 --- a/ethcore/sync/src/tests/consensus.rs +++ b/ethcore/sync/src/tests/consensus.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::helpers::*; use ethcore::{ diff --git a/ethcore/sync/src/tests/helpers.rs b/ethcore/sync/src/tests/helpers.rs index 194d10ca3..264754f1e 100644 --- a/ethcore/sync/src/tests/helpers.rs +++ b/ethcore/sync/src/tests/helpers.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use api::PAR_PROTOCOL; use bytes::Bytes; diff --git a/ethcore/sync/src/tests/mod.rs b/ethcore/sync/src/tests/mod.rs index 018eba008..cc6d4b357 100644 --- a/ethcore/sync/src/tests/mod.rs +++ b/ethcore/sync/src/tests/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . mod chain; mod consensus; diff --git a/ethcore/sync/src/tests/rpc.rs b/ethcore/sync/src/tests/rpc.rs index 66b69f075..fd3b1e044 100644 --- a/ethcore/sync/src/tests/rpc.rs +++ b/ethcore/sync/src/tests/rpc.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::super::NetworkConfiguration; use ipc::binary::{deserialize, serialize}; diff --git a/ethcore/sync/src/tests/snapshot.rs b/ethcore/sync/src/tests/snapshot.rs index 608893626..03ae2873e 100644 --- a/ethcore/sync/src/tests/snapshot.rs +++ b/ethcore/sync/src/tests/snapshot.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::helpers::*; use bytes::Bytes; diff --git a/ethcore/sync/src/transactions_stats.rs b/ethcore/sync/src/transactions_stats.rs index 0ee2773a0..989900ecb 100644 --- a/ethcore/sync/src/transactions_stats.rs +++ b/ethcore/sync/src/transactions_stats.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use api::TransactionStats; use ethereum_types::{H256, H512}; diff --git a/ethcore/types/src/account_diff.rs b/ethcore/types/src/account_diff.rs index e22d5989f..1144712c7 100644 --- a/ethcore/types/src/account_diff.rs +++ b/ethcore/types/src/account_diff.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Diff between two accounts. diff --git a/ethcore/types/src/ancestry_action.rs b/ethcore/types/src/ancestry_action.rs index f41163af2..c2684b404 100644 --- a/ethcore/types/src/ancestry_action.rs +++ b/ethcore/types/src/ancestry_action.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Actions on ancestry blocks when working on a new block. diff --git a/ethcore/types/src/basic_account.rs b/ethcore/types/src/basic_account.rs index 14d414e6d..d4e776706 100644 --- a/ethcore/types/src/basic_account.rs +++ b/ethcore/types/src/basic_account.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Basic account type -- the decoded RLP from the state trie. diff --git a/ethcore/types/src/block.rs b/ethcore/types/src/block.rs index bcff1c748..dea92ad5b 100644 --- a/ethcore/types/src/block.rs +++ b/ethcore/types/src/block.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Base data structure of this module is `Block`. //! diff --git a/ethcore/types/src/block_status.rs b/ethcore/types/src/block_status.rs index 65f2b35ec..9a9b134aa 100644 --- a/ethcore/types/src/block_status.rs +++ b/ethcore/types/src/block_status.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! General block status diff --git a/ethcore/types/src/blockchain_info.rs b/ethcore/types/src/blockchain_info.rs index 93d74b7a4..b04a8640d 100644 --- a/ethcore/types/src/blockchain_info.rs +++ b/ethcore/types/src/blockchain_info.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockhain info type definition @@ -50,7 +50,7 @@ pub struct BlockChainInfo { impl BlockChainInfo { /// Determine the security model for the current state. pub fn security_level(&self) -> SecurityLevel { - // TODO: Detect SecurityLevel::FullState : https://github.com/paritytech/parity-ethereum/issues/3834 + // TODO: Detect SecurityLevel::FullState : https://github.com/openethereum/openethereum/issues/3834 if self.ancient_block_number.is_none() || self.first_block_number.is_none() { SecurityLevel::FullProofOfWork } else { diff --git a/ethcore/types/src/call_analytics.rs b/ethcore/types/src/call_analytics.rs index 23fce3a6c..35709296f 100644 --- a/ethcore/types/src/call_analytics.rs +++ b/ethcore/types/src/call_analytics.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Call analytics related types diff --git a/ethcore/types/src/creation_status.rs b/ethcore/types/src/creation_status.rs index f70a145f6..edd74ce70 100644 --- a/ethcore/types/src/creation_status.rs +++ b/ethcore/types/src/creation_status.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . /// Statuses for snapshot creation. #[derive(PartialEq, Eq, Clone, Copy, Debug)] diff --git a/ethcore/types/src/data_format.rs b/ethcore/types/src/data_format.rs index 712d67308..f4d25046c 100644 --- a/ethcore/types/src/data_format.rs +++ b/ethcore/types/src/data_format.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Data format for importing/exporting blocks from disk use std::str::FromStr; diff --git a/ethcore/types/src/encoded.rs b/ethcore/types/src/encoded.rs index c7a7f97e5..1a13e2668 100644 --- a/ethcore/types/src/encoded.rs +++ b/ethcore/types/src/encoded.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Lazily-decoded owning views of RLP-encoded blockchain objects. //! These views are meant to contain _trusted_ data -- without encoding diff --git a/ethcore/types/src/engines/epoch.rs b/ethcore/types/src/engines/epoch.rs index 0ed200732..2d21c5f7f 100644 --- a/ethcore/types/src/engines/epoch.rs +++ b/ethcore/types/src/engines/epoch.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Epoch verifiers and transitions. diff --git a/ethcore/types/src/engines/mod.rs b/ethcore/types/src/engines/mod.rs index 1c6646d6c..aa6011250 100644 --- a/ethcore/types/src/engines/mod.rs +++ b/ethcore/types/src/engines/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Engine-specific types. diff --git a/ethcore/types/src/filter.rs b/ethcore/types/src/filter.rs index 60b896aaa..84b8a3b64 100644 --- a/ethcore/types/src/filter.rs +++ b/ethcore/types/src/filter.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain filter diff --git a/ethcore/types/src/header.rs b/ethcore/types/src/header.rs index e2b43df06..f53412bec 100644 --- a/ethcore/types/src/header.rs +++ b/ethcore/types/src/header.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Block header. diff --git a/ethcore/types/src/ids.rs b/ethcore/types/src/ids.rs index 12de70a2d..c117ed3c1 100644 --- a/ethcore/types/src/ids.rs +++ b/ethcore/types/src/ids.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Unique identifiers. diff --git a/ethcore/types/src/lib.rs b/ethcore/types/src/lib.rs index 9135e3316..cfd301eb7 100644 --- a/ethcore/types/src/lib.rs +++ b/ethcore/types/src/lib.rs @@ -1,22 +1,22 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Types used in the public API //! -//! This crate stores Parity Etherem specific types that are +//! This crate stores Open Etherem specific types that are //! COMMONLY used across different separate modules of the codebase. //! It should only focus on data structures, not any logic that relates to them. //! @@ -25,7 +25,7 @@ //! structures from that crate. //! //! NOTE If you can specify your data type in the same crate as your trait, please do that. -//! Don't treat this crate as a bag for any types that we use in Parity Ethereum. +//! Don't treat this crate as a bag for any types that we use in OpenEthereum. //! This one is reserved for types that are shared heavily (like transactions), //! historically this contains types extracted from `ethcore` crate, if possible //! we should try to dissolve that crate in favour of more fine-grained crates, diff --git a/ethcore/types/src/log_entry.rs b/ethcore/types/src/log_entry.rs index 471dda430..89b56161b 100644 --- a/ethcore/types/src/log_entry.rs +++ b/ethcore/types/src/log_entry.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Log entry type definition. diff --git a/ethcore/types/src/pruning_info.rs b/ethcore/types/src/pruning_info.rs index c9be07e15..8eb421044 100644 --- a/ethcore/types/src/pruning_info.rs +++ b/ethcore/types/src/pruning_info.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Information about portions of the state and chain which the client may serve. //! diff --git a/ethcore/types/src/receipt.rs b/ethcore/types/src/receipt.rs index 4500a8239..916ab6025 100644 --- a/ethcore/types/src/receipt.rs +++ b/ethcore/types/src/receipt.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Receipt diff --git a/ethcore/types/src/restoration_status.rs b/ethcore/types/src/restoration_status.rs index a61c37d3e..d6ef88315 100644 --- a/ethcore/types/src/restoration_status.rs +++ b/ethcore/types/src/restoration_status.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Restoration status type definition diff --git a/ethcore/types/src/security_level.rs b/ethcore/types/src/security_level.rs index d4505e411..10439ff02 100644 --- a/ethcore/types/src/security_level.rs +++ b/ethcore/types/src/security_level.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Indication of how secure the chain is. diff --git a/ethcore/types/src/snapshot_manifest.rs b/ethcore/types/src/snapshot_manifest.rs index 09007e5ce..461e2a5bb 100644 --- a/ethcore/types/src/snapshot_manifest.rs +++ b/ethcore/types/src/snapshot_manifest.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Snapshot manifest type definition diff --git a/ethcore/types/src/state_diff.rs b/ethcore/types/src/state_diff.rs index 905343a30..439133c83 100644 --- a/ethcore/types/src/state_diff.rs +++ b/ethcore/types/src/state_diff.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! State diff module. diff --git a/ethcore/types/src/trace_filter.rs b/ethcore/types/src/trace_filter.rs index ef93c2095..5404bad95 100644 --- a/ethcore/types/src/trace_filter.rs +++ b/ethcore/types/src/trace_filter.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Trace filter related types diff --git a/ethcore/types/src/transaction/error.rs b/ethcore/types/src/transaction/error.rs index 8b0074a5e..4d62868c2 100644 --- a/ethcore/types/src/transaction/error.rs +++ b/ethcore/types/src/transaction/error.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{error, fmt}; diff --git a/ethcore/types/src/transaction/mod.rs b/ethcore/types/src/transaction/mod.rs index a576f21fc..5af69712d 100644 --- a/ethcore/types/src/transaction/mod.rs +++ b/ethcore/types/src/transaction/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Ethereum Transactions diff --git a/ethcore/types/src/transaction/transaction.rs b/ethcore/types/src/transaction/transaction.rs index c0c66434a..55320d21d 100644 --- a/ethcore/types/src/transaction/transaction.rs +++ b/ethcore/types/src/transaction/transaction.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Transaction data structure. diff --git a/ethcore/types/src/tree_route.rs b/ethcore/types/src/tree_route.rs index 08a78465d..c023cd33c 100644 --- a/ethcore/types/src/tree_route.rs +++ b/ethcore/types/src/tree_route.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Tree route info type definition diff --git a/ethcore/types/src/verification_queue_info.rs b/ethcore/types/src/verification_queue_info.rs index 923670dab..7baba83c6 100644 --- a/ethcore/types/src/verification_queue_info.rs +++ b/ethcore/types/src/verification_queue_info.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Verification queue info types diff --git a/ethcore/types/src/views/block.rs b/ethcore/types/src/views/block.rs index 27cca98e1..8db0a364c 100644 --- a/ethcore/types/src/views/block.rs +++ b/ethcore/types/src/views/block.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! View onto block rlp. diff --git a/ethcore/types/src/views/body.rs b/ethcore/types/src/views/body.rs index 882fe7712..8805f029a 100644 --- a/ethcore/types/src/views/body.rs +++ b/ethcore/types/src/views/body.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! View onto block body rlp. diff --git a/ethcore/types/src/views/header.rs b/ethcore/types/src/views/header.rs index ffa6e04ab..e29713e37 100644 --- a/ethcore/types/src/views/header.rs +++ b/ethcore/types/src/views/header.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! View onto block header rlp diff --git a/ethcore/types/src/views/mod.rs b/ethcore/types/src/views/mod.rs index ac3ef5e18..312e5ecc1 100644 --- a/ethcore/types/src/views/mod.rs +++ b/ethcore/types/src/views/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Block oriented views onto rlp. diff --git a/ethcore/types/src/views/transaction.rs b/ethcore/types/src/views/transaction.rs index 661807b7e..d20115cbb 100644 --- a/ethcore/types/src/views/transaction.rs +++ b/ethcore/types/src/views/transaction.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! View onto transaction rlp use super::ViewRlp; diff --git a/ethcore/types/src/views/view_rlp.rs b/ethcore/types/src/views/view_rlp.rs index 0d5aa5ba5..2d584b08a 100644 --- a/ethcore/types/src/views/view_rlp.rs +++ b/ethcore/types/src/views/view_rlp.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Wrapper for view rlp expected to be valid with debug info diff --git a/ethcore/vm/src/action_params.rs b/ethcore/vm/src/action_params.rs index 2da9de944..b46dc919b 100644 --- a/ethcore/vm/src/action_params.rs +++ b/ethcore/vm/src/action_params.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Evm input params. use bytes::Bytes; diff --git a/ethcore/vm/src/call_type.rs b/ethcore/vm/src/call_type.rs index 86dfbc94a..b8dcf559f 100644 --- a/ethcore/vm/src/call_type.rs +++ b/ethcore/vm/src/call_type.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! EVM call types. diff --git a/ethcore/vm/src/env_info.rs b/ethcore/vm/src/env_info.rs index be2e7376f..df9d3c10e 100644 --- a/ethcore/vm/src/env_info.rs +++ b/ethcore/vm/src/env_info.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Environment information for transaction execution. diff --git a/ethcore/vm/src/error.rs b/ethcore/vm/src/error.rs index 8713c0963..627b73cfe 100644 --- a/ethcore/vm/src/error.rs +++ b/ethcore/vm/src/error.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! VM errors module diff --git a/ethcore/vm/src/ext.rs b/ethcore/vm/src/ext.rs index bd300c975..752b60a2b 100644 --- a/ethcore/vm/src/ext.rs +++ b/ethcore/vm/src/ext.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Interface for Evm externalities. diff --git a/ethcore/vm/src/lib.rs b/ethcore/vm/src/lib.rs index 22d2a61ec..4f9b747ef 100644 --- a/ethcore/vm/src/lib.rs +++ b/ethcore/vm/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Virtual machines support library diff --git a/ethcore/vm/src/return_data.rs b/ethcore/vm/src/return_data.rs index 23bdb9278..5c17783fa 100644 --- a/ethcore/vm/src/return_data.rs +++ b/ethcore/vm/src/return_data.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Return data structures diff --git a/ethcore/vm/src/schedule.rs b/ethcore/vm/src/schedule.rs index 7e0358c47..50a5d5e6e 100644 --- a/ethcore/vm/src/schedule.rs +++ b/ethcore/vm/src/schedule.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Cost schedule and other parameterisations for the EVM. diff --git a/ethcore/vm/src/tests.rs b/ethcore/vm/src/tests.rs index 4983c6efd..a5ada1dd2 100644 --- a/ethcore/vm/src/tests.rs +++ b/ethcore/vm/src/tests.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ collections::{HashMap, HashSet}, diff --git a/ethcore/wasm/run/src/fixture.rs b/ethcore/wasm/run/src/fixture.rs index abc36dbf6..d1fe1970a 100644 --- a/ethcore/wasm/run/src/fixture.rs +++ b/ethcore/wasm/run/src/fixture.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethjson::{ bytes::Bytes, diff --git a/ethcore/wasm/run/src/main.rs b/ethcore/wasm/run/src/main.rs index 997c964dc..63e2de00b 100644 --- a/ethcore/wasm/run/src/main.rs +++ b/ethcore/wasm/run/src/main.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate serde; extern crate serde_json; diff --git a/ethcore/wasm/run/src/runner.rs b/ethcore/wasm/run/src/runner.rs index c6428ff73..a348c44e2 100644 --- a/ethcore/wasm/run/src/runner.rs +++ b/ethcore/wasm/run/src/runner.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{H160, H256, U256}; use fixture::{Assert, CallLocator, Fixture, Source}; diff --git a/ethcore/wasm/src/env.rs b/ethcore/wasm/src/env.rs index 64eb2e3f1..ba51305c5 100644 --- a/ethcore/wasm/src/env.rs +++ b/ethcore/wasm/src/env.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Env module glue for wasmi interpreter diff --git a/ethcore/wasm/src/lib.rs b/ethcore/wasm/src/lib.rs index 611dc667f..5ebaaadb4 100644 --- a/ethcore/wasm/src/lib.rs +++ b/ethcore/wasm/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Wasm Interpreter diff --git a/ethcore/wasm/src/panic_payload.rs b/ethcore/wasm/src/panic_payload.rs index d962aea24..557512181 100644 --- a/ethcore/wasm/src/panic_payload.rs +++ b/ethcore/wasm/src/panic_payload.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use byteorder::{LittleEndian, ReadBytesExt}; use std::io::{self, Read}; diff --git a/ethcore/wasm/src/parser.rs b/ethcore/wasm/src/parser.rs index c816cafda..80dbb521d 100644 --- a/ethcore/wasm/src/parser.rs +++ b/ethcore/wasm/src/parser.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! ActionParams parser for wasm diff --git a/ethcore/wasm/src/runtime.rs b/ethcore/wasm/src/runtime.rs index d4b76b72f..386ae577b 100644 --- a/ethcore/wasm/src/runtime.rs +++ b/ethcore/wasm/src/runtime.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::panic_payload; use ethereum_types::{Address, H256, U256}; diff --git a/ethcore/wasm/src/tests.rs b/ethcore/wasm/src/tests.rs index ae1b3fa97..00cf53419 100644 --- a/ethcore/wasm/src/tests.rs +++ b/ethcore/wasm/src/tests.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use byteorder::{ByteOrder, LittleEndian}; use ethereum_types::{Address, H256, U256}; diff --git a/evmbin/Cargo.toml b/evmbin/Cargo.toml index 626b13150..18d0b3e8e 100644 --- a/evmbin/Cargo.toml +++ b/evmbin/Cargo.toml @@ -5,7 +5,7 @@ version = "0.1.0" authors = ["Parity Technologies "] [[bin]] -name = "parity-evm" +name = "openethereum-evm" path = "./src/main.rs" [dependencies] diff --git a/evmbin/README.md b/evmbin/README.md index 4fbd7df33..1610187b4 100644 --- a/evmbin/README.md +++ b/evmbin/README.md @@ -1,19 +1,19 @@ ## evmbin -EVM implementation for Parity. +EVM implementation for OpenEthereum. ### Usage ``` -EVM implementation for Parity. - Copyright 2015-2019 Parity Technologies (UK) Ltd. +EVM implementation for OpenEthereum. + Copyright 2015-2020 Parity Technologies (UK) Ltd. Usage: - parity-evm state-test [--json --std-json --std-dump-json --only NAME --chain CHAIN --std-out-only --std-err-only] - parity-evm stats [options] - parity-evm stats-jsontests-vm - parity-evm [options] - parity-evm [-h | --help] + openethereum-evm state-test [--json --std-json --std-dump-json --only NAME --chain CHAIN --std-out-only --std-err-only] + openethereum-evm stats [options] + openethereum-evm stats-jsontests-vm + openethereum-evm [options] + openethereum-evm [-h | --help] Commands: state-test Run a state test from a json file. @@ -45,10 +45,10 @@ Display result state dump in standardized JSON format. -h, --help Display this message and exit. ``` -## Parity Ethereum toolchain -_This project is a part of the Parity Ethereum toolchain._ +## OpenEthereum toolchain +_This project is a part of the OpenEthereum toolchain._ -- [evmbin](https://github.com/paritytech/parity-ethereum/blob/master/evmbin/) - EVM implementation for Parity Ethereum. -- [ethabi](https://github.com/paritytech/ethabi) - Parity Ethereum function calls encoding. -- [ethstore](https://github.com/paritytech/parity-ethereum/blob/master/accounts/ethstore) - Parity Ethereum key management. -- [ethkey](https://github.com/paritytech/parity-ethereum/blob/master/accounts/ethkey) - Parity Ethereum keys generator. +- [evmbin](https://github.com/openethereum/openethereum/blob/master/evmbin/) - EVM implementation for OpenEthereum +- [ethabi](https://github.com/openethereum/ethabi) - OpenEthereum function calls encoding. +- [ethstore](https://github.com/openethereum/openethereum/blob/master/accounts/ethstore) - OpenEthereum key management. +- [ethkey](https://github.com/openethereum/openethereum/blob/master/accounts/ethkey) - OpenEthereum keys generator. diff --git a/evmbin/benches/mod.rs b/evmbin/benches/mod.rs index d5fc08de1..e02f1ea91 100644 --- a/evmbin/benches/mod.rs +++ b/evmbin/benches/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! benchmarking for EVM //! should be started with: diff --git a/evmbin/src/display/json.rs b/evmbin/src/display/json.rs index 62f0f63d4..f8e3ebae0 100644 --- a/evmbin/src/display/json.rs +++ b/evmbin/src/display/json.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! JSON VM output. diff --git a/evmbin/src/display/mod.rs b/evmbin/src/display/mod.rs index 251545ad6..9131f436c 100644 --- a/evmbin/src/display/mod.rs +++ b/evmbin/src/display/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! VM Output display utils. diff --git a/evmbin/src/display/simple.rs b/evmbin/src/display/simple.rs index eb64c220a..264205768 100644 --- a/evmbin/src/display/simple.rs +++ b/evmbin/src/display/simple.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Simple VM output. diff --git a/evmbin/src/display/std_json.rs b/evmbin/src/display/std_json.rs index f035649b4..33638aa8e 100644 --- a/evmbin/src/display/std_json.rs +++ b/evmbin/src/display/std_json.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Standardized JSON VM output. diff --git a/evmbin/src/info.rs b/evmbin/src/info.rs index 9e4d14fa3..d2b0b6bc7 100644 --- a/evmbin/src/info.rs +++ b/evmbin/src/info.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! VM runner. diff --git a/evmbin/src/main.rs b/evmbin/src/main.rs index 2a1c6718d..7853788c7 100644 --- a/evmbin/src/main.rs +++ b/evmbin/src/main.rs @@ -1,20 +1,20 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . -//! Parity EVM interpreter binary. +//! OpenEthereum EVM interpreter binary. #![warn(missing_docs)] @@ -60,11 +60,11 @@ EVM implementation for Parity. Copyright 2015-2019 Parity Technologies (UK) Ltd. Usage: - parity-evm state-test [--json --std-json --std-dump-json --only NAME --chain CHAIN --std-out-only --std-err-only] - parity-evm stats [options] - parity-evm stats-jsontests-vm - parity-evm [options] - parity-evm [-h | --help] + openethereum-evm state-test [--json --std-json --std-dump-json --only NAME --chain CHAIN --std-out-only --std-err-only] + openethereum-evm stats [options] + openethereum-evm stats-jsontests-vm + openethereum-evm [options] + openethereum-evm [-h | --help] Commands: state-test Run a state test from a json file. @@ -414,7 +414,7 @@ mod tests { #[test] fn should_parse_all_the_options() { let args = run(&[ - "parity-evm", + "openethereum-evm", "--json", "--std-json", "--std-dump-json", @@ -453,7 +453,7 @@ mod tests { #[test] fn should_parse_state_test_command() { let args = run(&[ - "parity-evm", + "openethereum-evm", "state-test", "./file.json", "--chain", diff --git a/json/src/blockchain/account.rs b/json/src/blockchain/account.rs index 12fac563f..fc39b074e 100644 --- a/json/src/blockchain/account.rs +++ b/json/src/blockchain/account.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain test account deserializer. diff --git a/json/src/blockchain/block.rs b/json/src/blockchain/block.rs index d879104d5..087c17fff 100644 --- a/json/src/blockchain/block.rs +++ b/json/src/blockchain/block.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain test block deserializer. diff --git a/json/src/blockchain/blockchain.rs b/json/src/blockchain/blockchain.rs index 549001850..7e1406f0a 100644 --- a/json/src/blockchain/blockchain.rs +++ b/json/src/blockchain/blockchain.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain deserialization. diff --git a/json/src/blockchain/header.rs b/json/src/blockchain/header.rs index e23d6ee06..8fcb25caa 100644 --- a/json/src/blockchain/header.rs +++ b/json/src/blockchain/header.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain test header deserializer. diff --git a/json/src/blockchain/mod.rs b/json/src/blockchain/mod.rs index d532c3208..50d4f1d3c 100644 --- a/json/src/blockchain/mod.rs +++ b/json/src/blockchain/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain test deserialization. diff --git a/json/src/blockchain/state.rs b/json/src/blockchain/state.rs index 57211ef6d..f2ebb04b3 100644 --- a/json/src/blockchain/state.rs +++ b/json/src/blockchain/state.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain test state deserializer. diff --git a/json/src/blockchain/test.rs b/json/src/blockchain/test.rs index 0666d09d1..01ace8eb6 100644 --- a/json/src/blockchain/test.rs +++ b/json/src/blockchain/test.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain test deserializer. diff --git a/json/src/blockchain/transaction.rs b/json/src/blockchain/transaction.rs index f01ddb9d9..58fa27090 100644 --- a/json/src/blockchain/transaction.rs +++ b/json/src/blockchain/transaction.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain test transaction deserialization. diff --git a/json/src/bytes.rs b/json/src/bytes.rs index 919a81a1a..848a6359f 100644 --- a/json/src/bytes.rs +++ b/json/src/bytes.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Lenient bytes json deserialization for test json files. diff --git a/json/src/hash.rs b/json/src/hash.rs index 59a0c9e66..fc98dc3c6 100644 --- a/json/src/hash.rs +++ b/json/src/hash.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Lenient hash json deserialization for test json files. diff --git a/json/src/lib.rs b/json/src/lib.rs index 19a148fc8..c0641c470 100644 --- a/json/src/lib.rs +++ b/json/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate ethereum_types; extern crate rustc_hex; diff --git a/json/src/maybe.rs b/json/src/maybe.rs index 9922118f5..4d72a6735 100644 --- a/json/src/maybe.rs +++ b/json/src/maybe.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Deserializer of empty string values into optionals. diff --git a/json/src/spec/account.rs b/json/src/spec/account.rs index e3462e39e..0f920db4c 100644 --- a/json/src/spec/account.rs +++ b/json/src/spec/account.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Spec account deserialization. diff --git a/json/src/spec/authority_round.rs b/json/src/spec/authority_round.rs index 102273ae1..15699c33a 100644 --- a/json/src/spec/authority_round.rs +++ b/json/src/spec/authority_round.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Authority params deserialization. diff --git a/json/src/spec/basic_authority.rs b/json/src/spec/basic_authority.rs index 74b35f4ae..0f0ebc179 100644 --- a/json/src/spec/basic_authority.rs +++ b/json/src/spec/basic_authority.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Authority params deserialization. diff --git a/json/src/spec/builtin.rs b/json/src/spec/builtin.rs index 52dd09440..c106f6913 100644 --- a/json/src/spec/builtin.rs +++ b/json/src/spec/builtin.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Spec builtin deserialization. diff --git a/json/src/spec/clique.rs b/json/src/spec/clique.rs index a5ef59753..22c2a1112 100644 --- a/json/src/spec/clique.rs +++ b/json/src/spec/clique.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Clique params deserialization. diff --git a/json/src/spec/engine.rs b/json/src/spec/engine.rs index f1ba63207..2a6e9faf6 100644 --- a/json/src/spec/engine.rs +++ b/json/src/spec/engine.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Engine deserialization. diff --git a/json/src/spec/ethash.rs b/json/src/spec/ethash.rs index d36227e2b..6d2ec0d40 100644 --- a/json/src/spec/ethash.rs +++ b/json/src/spec/ethash.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Ethash params deserialization. diff --git a/json/src/spec/genesis.rs b/json/src/spec/genesis.rs index 5c768cc75..0cbcd6879 100644 --- a/json/src/spec/genesis.rs +++ b/json/src/spec/genesis.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Spec genesis deserialization. diff --git a/json/src/spec/instant_seal.rs b/json/src/spec/instant_seal.rs index 7642a2454..9aeebfa70 100644 --- a/json/src/spec/instant_seal.rs +++ b/json/src/spec/instant_seal.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Instant seal engine params deserialization. diff --git a/json/src/spec/mod.rs b/json/src/spec/mod.rs index 14ec55f80..12955a2d9 100644 --- a/json/src/spec/mod.rs +++ b/json/src/spec/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Spec deserialization. diff --git a/json/src/spec/null_engine.rs b/json/src/spec/null_engine.rs index 515a8cf65..6c978b479 100644 --- a/json/src/spec/null_engine.rs +++ b/json/src/spec/null_engine.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Null engine params deserialization. diff --git a/json/src/spec/params.rs b/json/src/spec/params.rs index 3473c270b..dbaa1f907 100644 --- a/json/src/spec/params.rs +++ b/json/src/spec/params.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Spec params deserialization. diff --git a/json/src/spec/seal.rs b/json/src/spec/seal.rs index e9b01c3b8..5bf894fdf 100644 --- a/json/src/spec/seal.rs +++ b/json/src/spec/seal.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Spec seal deserialization. diff --git a/json/src/spec/spec.rs b/json/src/spec/spec.rs index df4ffe1ee..e5e23be77 100644 --- a/json/src/spec/spec.rs +++ b/json/src/spec/spec.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Spec deserialization. diff --git a/json/src/spec/state.rs b/json/src/spec/state.rs index 19e3b0be5..0bf295589 100644 --- a/json/src/spec/state.rs +++ b/json/src/spec/state.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blockchain test state deserializer. diff --git a/json/src/spec/validator_set.rs b/json/src/spec/validator_set.rs index 908719aba..17c75162c 100644 --- a/json/src/spec/validator_set.rs +++ b/json/src/spec/validator_set.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Validator set deserialization. diff --git a/json/src/state/log.rs b/json/src/state/log.rs index d9006b246..bd753d4c9 100644 --- a/json/src/state/log.rs +++ b/json/src/state/log.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! State test log deserialization. use bytes::Bytes; diff --git a/json/src/state/mod.rs b/json/src/state/mod.rs index f746df073..865e3373e 100644 --- a/json/src/state/mod.rs +++ b/json/src/state/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! State test deserialization. diff --git a/json/src/state/state.rs b/json/src/state/state.rs index 9a160349a..fc18e5440 100644 --- a/json/src/state/state.rs +++ b/json/src/state/state.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! State test deserialization. diff --git a/json/src/state/test.rs b/json/src/state/test.rs index 4cbc35e5d..5c2439d3d 100644 --- a/json/src/state/test.rs +++ b/json/src/state/test.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! General test deserialization. diff --git a/json/src/state/transaction.rs b/json/src/state/transaction.rs index f43059cac..68e639c9c 100644 --- a/json/src/state/transaction.rs +++ b/json/src/state/transaction.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! State test transaction deserialization. diff --git a/json/src/test/mod.rs b/json/src/test/mod.rs index cc393ee2a..cf77f6a37 100644 --- a/json/src/test/mod.rs +++ b/json/src/test/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Additional test structures deserialization. diff --git a/json/src/transaction/mod.rs b/json/src/transaction/mod.rs index 52153c695..3c9d92e08 100644 --- a/json/src/transaction/mod.rs +++ b/json/src/transaction/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Transaction test deserialization. diff --git a/json/src/transaction/test.rs b/json/src/transaction/test.rs index 8ab839a93..2fd4a1c7d 100644 --- a/json/src/transaction/test.rs +++ b/json/src/transaction/test.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! TransactionTest test deserializer. diff --git a/json/src/transaction/transaction.rs b/json/src/transaction/transaction.rs index 39105e0b5..5186918aa 100644 --- a/json/src/transaction/transaction.rs +++ b/json/src/transaction/transaction.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Transaction test transaction deserialization. diff --git a/json/src/transaction/txtest.rs b/json/src/transaction/txtest.rs index 34a2c0f64..e466374f6 100644 --- a/json/src/transaction/txtest.rs +++ b/json/src/transaction/txtest.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Transaction test deserialization. diff --git a/json/src/trie/input.rs b/json/src/trie/input.rs index acab2544a..0bdbc82db 100644 --- a/json/src/trie/input.rs +++ b/json/src/trie/input.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Trie test input deserialization. diff --git a/json/src/trie/mod.rs b/json/src/trie/mod.rs index d6c57ba54..8502505e8 100644 --- a/json/src/trie/mod.rs +++ b/json/src/trie/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Trie test deserialization. diff --git a/json/src/trie/test.rs b/json/src/trie/test.rs index 407838def..eb2bcea95 100644 --- a/json/src/trie/test.rs +++ b/json/src/trie/test.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! TransactionTest test deserializer. diff --git a/json/src/trie/trie.rs b/json/src/trie/trie.rs index d21311137..ec8f9466d 100644 --- a/json/src/trie/trie.rs +++ b/json/src/trie/trie.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Trie test deserialization. diff --git a/json/src/uint.rs b/json/src/uint.rs index ca387017d..0df6131d6 100644 --- a/json/src/uint.rs +++ b/json/src/uint.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Lenient uint json deserialization for test json files. diff --git a/json/src/vm/call.rs b/json/src/vm/call.rs index fafad33d1..7dbb46a1a 100644 --- a/json/src/vm/call.rs +++ b/json/src/vm/call.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Vm call deserialization. diff --git a/json/src/vm/env.rs b/json/src/vm/env.rs index 6dd1e6157..09bcda0d6 100644 --- a/json/src/vm/env.rs +++ b/json/src/vm/env.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Vm environment. use hash::Address; diff --git a/json/src/vm/mod.rs b/json/src/vm/mod.rs index f80938bc5..e22fbf35c 100644 --- a/json/src/vm/mod.rs +++ b/json/src/vm/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Vm test loader. diff --git a/json/src/vm/test.rs b/json/src/vm/test.rs index baa6d2d7d..7e40d8f22 100644 --- a/json/src/vm/test.rs +++ b/json/src/vm/test.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Vm test deserializer. diff --git a/json/src/vm/transaction.rs b/json/src/vm/transaction.rs index 2e28015c9..87e79965b 100644 --- a/json/src/vm/transaction.rs +++ b/json/src/vm/transaction.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Executed transaction. use bytes::Bytes; diff --git a/json/src/vm/vm.rs b/json/src/vm/vm.rs index 04c111717..0945449e7 100644 --- a/json/src/vm/vm.rs +++ b/json/src/vm/vm.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Vm execution env. diff --git a/license_header b/license_header index 2fc672e4f..dfdfdc1d2 100644 --- a/license_header +++ b/license_header @@ -1,16 +1,16 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . diff --git a/miner/Cargo.toml b/miner/Cargo.toml index e7a2fed4f..22e2e7dd8 100644 --- a/miner/Cargo.toml +++ b/miner/Cargo.toml @@ -1,7 +1,7 @@ [package] -description = "Parity Ethereum Miner Interface." +description = "OpenEthereum Miner Interface." name = "ethcore-miner" -homepage = "http://parity.io" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" version = "1.12.0" authors = ["Parity Technologies "] diff --git a/miner/local-store/src/lib.rs b/miner/local-store/src/lib.rs index 6f7d558b4..b05efe2e0 100644 --- a/miner/local-store/src/lib.rs +++ b/miner/local-store/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Manages local node data: pending local transactions, sync security level diff --git a/miner/price-info/Cargo.toml b/miner/price-info/Cargo.toml index 0b72fd37b..0426b01b4 100644 --- a/miner/price-info/Cargo.toml +++ b/miner/price-info/Cargo.toml @@ -1,6 +1,6 @@ [package] description = "Fetch current ETH price" -homepage = "http://parity.io" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" name = "price-info" version = "1.12.0" diff --git a/miner/price-info/src/lib.rs b/miner/price-info/src/lib.rs index 91c093452..51ad6a0bc 100644 --- a/miner/price-info/src/lib.rs +++ b/miner/price-info/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . #![warn(missing_docs)] diff --git a/miner/src/external.rs b/miner/src/external.rs index 3f2f5754f..403f6949d 100644 --- a/miner/src/external.rs +++ b/miner/src/external.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! External Miner hashrate tracker. diff --git a/miner/src/gas_price_calibrator.rs b/miner/src/gas_price_calibrator.rs index 983f43868..297b49cb7 100644 --- a/miner/src/gas_price_calibrator.rs +++ b/miner/src/gas_price_calibrator.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Auto-updates minimal gas price requirement from a price-info source. diff --git a/miner/src/gas_pricer.rs b/miner/src/gas_pricer.rs index 85f904552..6e60c447b 100644 --- a/miner/src/gas_pricer.rs +++ b/miner/src/gas_pricer.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Auto-updates minimal gas price requirement. diff --git a/miner/src/lib.rs b/miner/src/lib.rs index f3f7edebd..89bd18c4f 100644 --- a/miner/src/lib.rs +++ b/miner/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . #![warn(missing_docs)] diff --git a/miner/src/local_accounts.rs b/miner/src/local_accounts.rs index 8c600b8e5..b562459c7 100644 --- a/miner/src/local_accounts.rs +++ b/miner/src/local_accounts.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Local Accounts checker diff --git a/miner/src/pool/client.rs b/miner/src/pool/client.rs index eac206294..b56234604 100644 --- a/miner/src/pool/client.rs +++ b/miner/src/pool/client.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Transaction Pool state client. //! diff --git a/miner/src/pool/listener.rs b/miner/src/pool/listener.rs index d351fc18c..35f94d600 100644 --- a/miner/src/pool/listener.rs +++ b/miner/src/pool/listener.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Notifier for new transaction hashes. diff --git a/miner/src/pool/local_transactions.rs b/miner/src/pool/local_transactions.rs index 980c5aa61..89f147624 100644 --- a/miner/src/pool/local_transactions.rs +++ b/miner/src/pool/local_transactions.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Local Transactions List. diff --git a/miner/src/pool/mod.rs b/miner/src/pool/mod.rs index 5fe1a0233..306189d13 100644 --- a/miner/src/pool/mod.rs +++ b/miner/src/pool/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Transaction Pool diff --git a/miner/src/pool/queue.rs b/miner/src/pool/queue.rs index f8cdddff9..cf8a1f380 100644 --- a/miner/src/pool/queue.rs +++ b/miner/src/pool/queue.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Ethereum Transaction Queue diff --git a/miner/src/pool/ready.rs b/miner/src/pool/ready.rs index 57f300533..75d54bf8f 100644 --- a/miner/src/pool/ready.rs +++ b/miner/src/pool/ready.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Transaction Readiness indicator //! diff --git a/miner/src/pool/replace.rs b/miner/src/pool/replace.rs index 76c169241..0e2b7cc95 100644 --- a/miner/src/pool/replace.rs +++ b/miner/src/pool/replace.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Replacing Transactions //! diff --git a/miner/src/pool/scoring.rs b/miner/src/pool/scoring.rs index 0b9e912ac..1b5e16417 100644 --- a/miner/src/pool/scoring.rs +++ b/miner/src/pool/scoring.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Transaction Scoring and Ordering //! diff --git a/miner/src/pool/tests/client.rs b/miner/src/pool/tests/client.rs index 69c2b1542..fc0413690 100644 --- a/miner/src/pool/tests/client.rs +++ b/miner/src/pool/tests/client.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::sync::{atomic, Arc}; diff --git a/miner/src/pool/tests/mod.rs b/miner/src/pool/tests/mod.rs index ea7739a10..fb25d66ac 100644 --- a/miner/src/pool/tests/mod.rs +++ b/miner/src/pool/tests/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::U256; use txpool; diff --git a/miner/src/pool/tests/tx.rs b/miner/src/pool/tests/tx.rs index 6dd53af4a..2e46fe28e 100644 --- a/miner/src/pool/tests/tx.rs +++ b/miner/src/pool/tests/tx.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{H256, U256}; use ethkey::{Generator, Random}; diff --git a/miner/src/pool/verifier.rs b/miner/src/pool/verifier.rs index fc14f595b..cf4e116de 100644 --- a/miner/src/pool/verifier.rs +++ b/miner/src/pool/verifier.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Transaction Verifier //! diff --git a/miner/src/service_transaction_checker.rs b/miner/src/service_transaction_checker.rs index ffcc109a7..e6917568c 100644 --- a/miner/src/service_transaction_checker.rs +++ b/miner/src/service_transaction_checker.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! A service transactions contract checker. diff --git a/miner/src/work_notify.rs b/miner/src/work_notify.rs index bd9123932..7371ce078 100644 --- a/miner/src/work_notify.rs +++ b/miner/src/work_notify.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Sends HTTP notifications to a list of URLs every time new work is available. diff --git a/miner/stratum/src/lib.rs b/miner/stratum/src/lib.rs index df842a1ac..e1e79a548 100644 --- a/miner/stratum/src/lib.rs +++ b/miner/stratum/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Stratum protocol implementation for parity ethereum/bitcoin clients diff --git a/miner/stratum/src/traits.rs b/miner/stratum/src/traits.rs index ce25d97a0..04b852958 100644 --- a/miner/stratum/src/traits.rs +++ b/miner/stratum/src/traits.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use jsonrpc_tcp_server::PushMessageError; diff --git a/miner/using-queue/src/lib.rs b/miner/using-queue/src/lib.rs index cc48b2ced..78ad91831 100644 --- a/miner/using-queue/src/lib.rs +++ b/miner/using-queue/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Queue-like datastructure including notion of usage. diff --git a/parity/account.rs b/parity/account.rs index 69da6d150..430dd2a19 100644 --- a/parity/account.rs +++ b/parity/account.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use params::SpecType; use std::num::NonZeroU32; @@ -47,7 +47,7 @@ pub struct ImportAccounts { #[cfg(not(feature = "accounts"))] pub fn execute(_cmd: AccountCmd) -> Result { - Err("Account management is deprecated. Please see #9997 for alternatives:\nhttps://github.com/paritytech/parity-ethereum/issues/9997".into()) + Err("Account management is deprecated. Please see #9997 for alternatives:\nhttps://github.com/openethereum/openethereum/issues/9997".into()) } #[cfg(feature = "accounts")] diff --git a/parity/account_utils.rs b/parity/account_utils.rs index 315eb7e22..36a91a06e 100644 --- a/parity/account_utils.rs +++ b/parity/account_utils.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2018 Parity Technologies (UK) Ltd. -// This file is part of Parity. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity. If not, see . +// along with OpenEthereum. If not, see . use std::sync::Arc; @@ -42,7 +42,7 @@ mod accounts { _cfg: AccountsConfig, _passwords: &[Password], ) -> Result { - warn!("Note: Your instance of Parity Ethereum is running without account support. Some CLI options are ignored."); + warn!("Note: Your instance of OpenEthereum is running without account support. Some CLI options are ignored."); Ok(AccountProvider) } @@ -248,7 +248,7 @@ mod accounts { // Construct an error `String` with an adaptive hint on how to create an account. fn build_create_account_hint(spec: &SpecType, keys: &str) -> String { - format!("You can create an account via RPC, UI or `parity account new --chain {} --keys-path {}`.", spec, keys) + format!("You can create an account via RPC, UI or `openethereum account new --chain {} --keys-path {}`.", spec, keys) } } diff --git a/parity/blockchain.rs b/parity/blockchain.rs index 986bfb7b3..f101aa869 100644 --- a/parity/blockchain.rs +++ b/parity/blockchain.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{fs, io, sync::Arc, time::Instant}; @@ -300,7 +300,7 @@ fn start_client( // check if fatdb is on let fat_db = fatdb_switch_to_bool(fat_db, &user_defaults, algorithm)?; if !fat_db && require_fat_db { - return Err("This command requires Parity to be synced with --fat-db on.".to_owned()); + return Err("This command requires OpenEthereum to be synced with --fat-db on.".to_owned()); } // prepare client and snapshot paths. @@ -310,7 +310,7 @@ fn start_client( // execute upgrades execute_upgrades(&dirs.base, &db_dirs, algorithm, &compaction)?; - // create dirs used by parity + // create dirs used by OpenEthereum. dirs.create_dirs(false, false)?; // prepare client config diff --git a/parity/cache.rs b/parity/cache.rs index bef13fec6..26b34e899 100644 --- a/parity/cache.rs +++ b/parity/cache.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::cmp::max; diff --git a/parity/cli/mod.rs b/parity/cli/mod.rs index 05c9a0714..207e7db3b 100644 --- a/parity/cli/mod.rs +++ b/parity/cli/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . #[macro_use] mod usage; @@ -31,7 +31,7 @@ usage! { CMD cmd_daemon { - "Use Parity as a daemon", + "Use OpenEthereum as a daemon", ARG arg_daemon_pid_file: (Option) = None, "", @@ -277,7 +277,7 @@ usage! { ARG arg_ports_shift: (u16) = 0u16, or |c: &Config| c.misc.as_ref()?.ports_shift, "--ports-shift=[SHIFT]", - "Add SHIFT to all port numbers Parity is listening on. Includes network port and all servers (HTTP JSON-RPC, WebSockets JSON-RPC, SecretStore).", + "Add SHIFT to all port numbers OpenEthereum is listening on. Includes network port and all servers (HTTP JSON-RPC, WebSockets JSON-RPC, SecretStore).", ["Account Options"] FLAG flag_fast_unlock: (bool) = false, or |c: &Config| c.account.as_ref()?.fast_unlock.clone(), @@ -332,7 +332,7 @@ usage! { ARG arg_interface: (String) = "all", or |c: &Config| c.network.as_ref()?.interface.clone(), "--interface=[IP]", - "Network interfaces. Valid values are 'all', 'local' or the ip of the interface you want parity to listen to.", + "Network interfaces. Valid values are 'all', 'local' or the ip of the interface you want OpenEthereum to listen to.", ARG arg_min_peers: (Option) = None, or |c: &Config| c.network.as_ref()?.min_peers.clone(), "--min-peers=[NUM]", @@ -1037,46 +1037,47 @@ mod tests { #[test] fn should_accept_any_argument_order() { - let args = Args::parse(&["parity", "--no-warp", "account", "list"]).unwrap(); + let args = Args::parse(&["openethereum", "--no-warp", "account", "list"]).unwrap(); assert_eq!(args.flag_no_warp, true); - let args = Args::parse(&["parity", "account", "list", "--no-warp"]).unwrap(); + let args = Args::parse(&["openethereum", "account", "list", "--no-warp"]).unwrap(); assert_eq!(args.flag_no_warp, true); - let args = Args::parse(&["parity", "--chain=dev", "account", "list"]).unwrap(); + let args = Args::parse(&["openethereum", "--chain=dev", "account", "list"]).unwrap(); assert_eq!(args.arg_chain, "dev"); - let args = Args::parse(&["parity", "account", "list", "--chain=dev"]).unwrap(); + let args = Args::parse(&["openethereum", "account", "list", "--chain=dev"]).unwrap(); assert_eq!(args.arg_chain, "dev"); } #[test] fn should_reject_invalid_values() { - let args = Args::parse(&["parity", "--jsonrpc-port=8545"]); + let args = Args::parse(&["openethereum", "--jsonrpc-port=8545"]); assert!(args.is_ok()); - let args = Args::parse(&["parity", "--jsonrpc-port=asd"]); + let args = Args::parse(&["openethereum", "--jsonrpc-port=asd"]); assert!(args.is_err()); } #[test] fn should_parse_args_and_flags() { - let args = Args::parse(&["parity", "--no-warp"]).unwrap(); + let args = Args::parse(&["openethereum", "--no-warp"]).unwrap(); assert_eq!(args.flag_no_warp, true); - let args = Args::parse(&["parity", "--pruning", "archive"]).unwrap(); + let args = Args::parse(&["openethereum", "--pruning", "archive"]).unwrap(); assert_eq!(args.arg_pruning, "archive"); - let args = Args::parse(&["parity", "export", "state", "--no-storage"]).unwrap(); + let args = Args::parse(&["openethereum", "export", "state", "--no-storage"]).unwrap(); assert_eq!(args.flag_export_state_no_storage, true); - let args = Args::parse(&["parity", "export", "state", "--min-balance", "123"]).unwrap(); + let args = + Args::parse(&["openethereum", "export", "state", "--min-balance", "123"]).unwrap(); assert_eq!(args.arg_export_state_min_balance, Some("123".to_string())); } #[test] fn should_exit_gracefully_on_unknown_argument() { - let result = Args::parse(&["parity", "--please-exit-gracefully"]); + let result = Args::parse(&["openethereum", "--please-exit-gracefully"]); assert!(match result { Err(ArgsError::Clap(ref clap_error)) if clap_error.kind == ClapErrorKind::UnknownArgument => @@ -1087,39 +1088,39 @@ mod tests { #[test] fn should_use_subcommand_arg_default() { - let args = Args::parse(&["parity", "export", "state", "--at", "123"]).unwrap(); + let args = Args::parse(&["openethereum", "export", "state", "--at", "123"]).unwrap(); assert_eq!(args.arg_export_state_at, "123"); assert_eq!(args.arg_snapshot_at, "latest"); - let args = Args::parse(&["parity", "snapshot", "--at", "123", "file.dump"]).unwrap(); + let args = Args::parse(&["openethereum", "snapshot", "--at", "123", "file.dump"]).unwrap(); assert_eq!(args.arg_snapshot_at, "123"); assert_eq!(args.arg_export_state_at, "latest"); - let args = Args::parse(&["parity", "export", "state"]).unwrap(); + let args = Args::parse(&["openethereum", "export", "state"]).unwrap(); assert_eq!(args.arg_snapshot_at, "latest"); assert_eq!(args.arg_export_state_at, "latest"); - let args = Args::parse(&["parity", "snapshot", "file.dump"]).unwrap(); + let args = Args::parse(&["openethereum", "snapshot", "file.dump"]).unwrap(); assert_eq!(args.arg_snapshot_at, "latest"); assert_eq!(args.arg_export_state_at, "latest"); } #[test] fn should_parse_multiple_values() { - let args = Args::parse(&["parity", "account", "import", "~/1", "~/2"]).unwrap(); + let args = Args::parse(&["openethereum", "account", "import", "~/1", "~/2"]).unwrap(); assert_eq!( args.arg_account_import_path, Some(vec!["~/1".to_owned(), "~/2".to_owned()]) ); - let args = Args::parse(&["parity", "account", "import", "~/1,ext"]).unwrap(); + let args = Args::parse(&["openethereum", "account", "import", "~/1,ext"]).unwrap(); assert_eq!( args.arg_account_import_path, Some(vec!["~/1,ext".to_owned()]) ); let args = Args::parse(&[ - "parity", + "openethereum", "--secretstore-nodes", "abc@127.0.0.1:3333,cde@10.10.10.10:4444", ]) @@ -1130,7 +1131,7 @@ mod tests { ); let args = Args::parse(&[ - "parity", + "openethereum", "--password", "~/.safe/1", "--password", @@ -1142,7 +1143,7 @@ mod tests { vec!["~/.safe/1".to_owned(), "~/.safe/2".to_owned()] ); - let args = Args::parse(&["parity", "--password", "~/.safe/1,~/.safe/2"]).unwrap(); + let args = Args::parse(&["openethereum", "--password", "~/.safe/1,~/.safe/2"]).unwrap(); assert_eq!( args.arg_password, vec!["~/.safe/1".to_owned(), "~/.safe/2".to_owned()] @@ -1151,7 +1152,7 @@ mod tests { #[test] fn should_parse_global_args_with_subcommand() { - let args = Args::parse(&["parity", "--chain", "dev", "account", "list"]).unwrap(); + let args = Args::parse(&["openethereum", "--chain", "dev", "account", "list"]).unwrap(); assert_eq!(args.arg_chain, "dev".to_owned()); } @@ -1164,7 +1165,7 @@ mod tests { config.parity = Some(operating); // when - let args = Args::parse_with_config(&["parity"], config).unwrap(); + let args = Args::parse_with_config(&["openethereum"], config).unwrap(); // then assert_eq!(args.arg_chain, "goerli".to_owned()); @@ -1179,7 +1180,7 @@ mod tests { config.parity = Some(operating); // when - let args = Args::parse_with_config(&["parity", "--chain", "xyz"], config).unwrap(); + let args = Args::parse_with_config(&["openethereum", "--chain", "xyz"], config).unwrap(); // then assert_eq!(args.arg_chain, "xyz".to_owned()); @@ -1193,7 +1194,7 @@ mod tests { config.footprint = Some(footprint); // when - let args = Args::parse_with_config(&["parity"], config).unwrap(); + let args = Args::parse_with_config(&["openethereum"], config).unwrap(); // then assert_eq!(args.arg_pruning_history, 128); @@ -1205,7 +1206,7 @@ mod tests { let config = toml::from_str(include_str!("./tests/config.full.toml")).unwrap(); // when - let args = Args::parse_with_config(&["parity", "--chain", "xyz"], config).unwrap(); + let args = Args::parse_with_config(&["openethereum", "--chain", "xyz"], config).unwrap(); // then assert_eq!( @@ -1428,7 +1429,7 @@ mod tests { // -- Miscellaneous Options flag_version: false, arg_logging: Some("own_tx=trace".into()), - arg_log_file: Some("/var/log/parity.log".into()), + arg_log_file: Some("/var/log/openethereum.log".into()), flag_no_color: false, flag_no_config: false, } @@ -1614,7 +1615,7 @@ mod tests { }), misc: Some(Misc { logging: Some("own_tx=trace".into()), - log_file: Some("/var/log/parity.log".into()), + log_file: Some("/var/log/openethereum.log".into()), color: Some(true), ports_shift: Some(0), unsafe_expose: Some(false), @@ -1626,7 +1627,7 @@ mod tests { #[test] fn should_not_accept_min_peers_bigger_than_max_peers() { - match Args::parse(&["parity", "--max-peers=39", "--min-peers=40"]) { + match Args::parse(&["openethereum", "--max-peers=39", "--min-peers=40"]) { Err(ArgsError::PeerConfiguration) => (), _ => assert_eq!(false, true), } @@ -1634,7 +1635,7 @@ mod tests { #[test] fn should_accept_max_peers_equal_or_bigger_than_min_peers() { - Args::parse(&["parity", "--max-peers=40", "--min-peers=40"]).unwrap(); - Args::parse(&["parity", "--max-peers=100", "--min-peers=40"]).unwrap(); + Args::parse(&["openethereum", "--max-peers=40", "--min-peers=40"]).unwrap(); + Args::parse(&["openethereum", "--max-peers=100", "--min-peers=40"]).unwrap(); } } diff --git a/parity/cli/presets/config.mining.toml b/parity/cli/presets/config.mining.toml index 9be86b36f..2f240ad38 100644 --- a/parity/cli/presets/config.mining.toml +++ b/parity/cli/presets/config.mining.toml @@ -1,11 +1,11 @@ [network] -# Parity will try to maintain connection to at least 50 peers. +# OpenEthereum will try to maintain connection to at least 50 peers. min_peers = 50 -# Parity will maintain at most 100 peers. +# OpenEthereum will maintain at most 100 peers. max_peers = 100 [ipc] -# You won't be able to use IPC to interact with Parity. +# You won't be able to use IPC to interact with OpenEthereum. disable = true [mining] @@ -15,7 +15,7 @@ force_sealing = true reseal_on_txs = "all" # New pending block will be created only once per 4000 milliseconds. reseal_min_period = 4000 -# Parity will keep/relay at most 8192 transactions in queue. +# OpenEthereum will keep/relay at most 8192 transactions in queue. tx_queue_size = 8192 tx_queue_per_sender = 128 diff --git a/parity/cli/presets/config.non-standard-ports.toml b/parity/cli/presets/config.non-standard-ports.toml index 5c522d867..de44a8b68 100644 --- a/parity/cli/presets/config.non-standard-ports.toml +++ b/parity/cli/presets/config.non-standard-ports.toml @@ -1,5 +1,5 @@ [network] -# Parity will listen for connections on port 30305. +# OpenEthereum will listen for connections on port 30305. port = 30305 [rpc] diff --git a/parity/cli/presets/mod.rs b/parity/cli/presets/mod.rs index 25bccf41b..14a7bae12 100644 --- a/parity/cli/presets/mod.rs +++ b/parity/cli/presets/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::io::{Error, ErrorKind}; diff --git a/parity/cli/tests/config.full.toml b/parity/cli/tests/config.full.toml index 061537ade..37b01cafc 100644 --- a/parity/cli/tests/config.full.toml +++ b/parity/cli/tests/config.full.toml @@ -122,5 +122,5 @@ enable = false [misc] logging = "own_tx=trace" -log_file = "/var/log/parity.log" +log_file = "/var/log/openethereum.log" color = true diff --git a/parity/cli/tests/config.toml b/parity/cli/tests/config.toml index db6e94d11..581a59af5 100644 --- a/parity/cli/tests/config.toml +++ b/parity/cli/tests/config.toml @@ -69,7 +69,7 @@ enable = false [misc] logging = "own_tx=trace" -log_file = "/var/log/parity.log" +log_file = "/var/log/openethereum.log" color = true ports_shift = 0 unsafe_expose = false diff --git a/parity/cli/usage.rs b/parity/cli/usage.rs index da3118d45..9a8f8cc9b 100644 --- a/parity/cli/usage.rs +++ b/parity/cli/usage.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . macro_rules! return_if_parse_error { ($e:expr) => { @@ -395,7 +395,7 @@ macro_rules! usage { // Subcommands let mut subcommands_wrapper = Wrapper::new(term_width).subsequent_indent(TAB); - help.push_str("parity [options]\n"); + help.push_str("openethereum [options]\n"); $( { let mut subc_subc_exist = false; @@ -413,7 +413,7 @@ macro_rules! usage { help.push_str(&subcommands_wrapper.fill( format!( - "parity [options] {} {} {}\n", + "openethereum [options] {} {} {}\n", underscore_to_hyphen!(&stringify!($subc)[4..]), underscore_to_hyphen!(&stringify!($subc_subc)[stringify!($subc).len()+1..]), subc_subc_usages.join(" ") @@ -434,7 +434,7 @@ macro_rules! usage { help.push_str(&subcommands_wrapper.fill( format!( - "parity [options] {} {}\n", + "openethereum [options] {} {}\n", underscore_to_hyphen!(&stringify!($subc)[4..]), subc_usages.join(" ") ).as_ref()) @@ -610,7 +610,7 @@ macro_rules! usage { } )* - let matches = App::new("Parity") + let matches = App::new("OpenEthereum") .global_setting(AppSettings::VersionlessSubcommands) .global_setting(AppSettings::DisableHelpSubcommand) .max_term_width(MAX_TERM_WIDTH) @@ -633,7 +633,7 @@ macro_rules! usage { .about($subc_help) .args(&subc_usages.get(stringify!($subc)).unwrap().iter().map(|u| Arg::from_usage(u).use_delimiter(false).allow_hyphen_values(true)).collect::>()) $( - .setting(AppSettings::SubcommandRequired) // prevent from running `parity account` + .setting(AppSettings::SubcommandRequired) // prevent from running `openethereum account` .subcommand( SubCommand::with_name(&underscore_to_hyphen!(&stringify!($subc_subc)[stringify!($subc).len()+1..])) .about($subc_subc_help) diff --git a/parity/cli/usage_header.txt b/parity/cli/usage_header.txt index ec9f7a221..a7f156d1f 100644 --- a/parity/cli/usage_header.txt +++ b/parity/cli/usage_header.txt @@ -1,6 +1,6 @@ -Parity Ethereum Client. +OpenEthereum Client. By Wood/Paronyan/Kotewicz/Drwięga/Volf/Greeff Habermeier/Czaban/Gotchac/Redman/Nikolsky Schoedon/Tang/Adolfsson/Silva/Palm/Hirsz et al. - Copyright 2015-2019 Parity Technologies (UK) Ltd. + Copyright 2015-2020 Parity Technologies (UK) Ltd. License GPLv3+: GNU GPL version 3 or later . diff --git a/parity/cli/version.txt b/parity/cli/version.txt index 26eae78dd..41fa04212 100644 --- a/parity/cli/version.txt +++ b/parity/cli/version.txt @@ -1,6 +1,6 @@ -Parity Ethereum Client. +OpenEthereum Client. version {} -Copyright 2015-2019 Parity Technologies (UK) Ltd. +Copyright 2015-2020 Parity Technologies (UK) Ltd. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. diff --git a/parity/configuration.rs b/parity/configuration.rs index e346420b7..7416bfa8c 100644 --- a/parity/configuration.rs +++ b/parity/configuration.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ansi_term::Colour; use bytes::Bytes; @@ -107,7 +107,7 @@ pub struct Execute { pub cmd: Cmd, } -/// Configuration for the Parity client. +/// Configuration for the OpenEthereum client. #[derive(Debug, PartialEq)] pub struct Configuration { /// Arguments to be interpreted. @@ -120,7 +120,7 @@ impl Configuration { /// # Example /// /// ``` - /// let _cfg = parity_ethereum::Configuration::parse_cli(&["--light", "--chain", "kovan"]).unwrap(); + /// let _cfg = openethereum::Configuration::parse_cli(&["--light", "--chain", "kovan"]).unwrap(); /// ``` pub fn parse_cli>(command: &[S]) -> Result { let config = Configuration { @@ -1277,14 +1277,14 @@ mod tests { #[test] fn test_command_version() { - let args = vec!["parity", "--version"]; + let args = vec!["openethereum", "--version"]; let conf = parse(&args); assert_eq!(conf.into_command().unwrap().cmd, Cmd::Version); } #[test] fn test_command_account_new() { - let args = vec!["parity", "account", "new"]; + let args = vec!["openethereum", "account", "new"]; let conf = parse(&args); assert_eq!( conf.into_command().unwrap().cmd, @@ -1299,7 +1299,7 @@ mod tests { #[test] fn test_command_account_list() { - let args = vec!["parity", "account", "list"]; + let args = vec!["openethereum", "account", "list"]; let conf = parse(&args); assert_eq!( conf.into_command().unwrap().cmd, @@ -1312,7 +1312,7 @@ mod tests { #[test] fn test_command_account_import() { - let args = vec!["parity", "account", "import", "my_dir", "another_dir"]; + let args = vec!["openethereum", "account", "import", "my_dir", "another_dir"]; let conf = parse(&args); assert_eq!( conf.into_command().unwrap().cmd, @@ -1327,7 +1327,7 @@ mod tests { #[test] fn test_command_wallet_import() { let args = vec![ - "parity", + "openethereum", "wallet", "import", "my_wallet.json", @@ -1349,7 +1349,7 @@ mod tests { #[test] fn test_command_blockchain_import() { - let args = vec!["parity", "import", "blockchain.json"]; + let args = vec!["openethereum", "import", "blockchain.json"]; let conf = parse(&args); assert_eq!( conf.into_command().unwrap().cmd, @@ -1376,7 +1376,7 @@ mod tests { #[test] fn test_command_blockchain_export() { - let args = vec!["parity", "export", "blocks", "blockchain.json"]; + let args = vec!["openethereum", "export", "blocks", "blockchain.json"]; let conf = parse(&args); assert_eq!( conf.into_command().unwrap().cmd, @@ -1402,7 +1402,7 @@ mod tests { #[test] fn test_command_state_export() { - let args = vec!["parity", "export", "state", "state.json"]; + let args = vec!["openethereum", "export", "state", "state.json"]; let conf = parse(&args); assert_eq!( conf.into_command().unwrap().cmd, @@ -1431,7 +1431,7 @@ mod tests { #[test] fn test_command_blockchain_export_with_custom_format() { let args = vec![ - "parity", + "openethereum", "export", "blocks", "--format", @@ -1463,7 +1463,7 @@ mod tests { #[test] fn test_command_signer_new_token() { - let args = vec!["parity", "signer", "new-token"]; + let args = vec!["openethereum", "signer", "new-token"]; let conf = parse(&args); let expected = Directories::default().signer; assert_eq!( @@ -1495,7 +1495,7 @@ mod tests { #[test] fn test_ws_max_connections() { - let args = vec!["parity", "--ws-max-connections", "1"]; + let args = vec!["openethereum", "--ws-max-connections", "1"]; let conf = parse(&args); assert_eq!( @@ -1509,7 +1509,7 @@ mod tests { #[test] fn test_run_cmd() { - let args = vec!["parity"]; + let args = vec!["openethereum"]; let conf = parse(&args); let mut expected = RunCmd { allow_missing_blocks: false, @@ -1564,8 +1564,8 @@ mod tests { let mut mining_options = MinerOptions::default(); // when - let conf0 = parse(&["parity"]); - let conf2 = parse(&["parity", "--tx-queue-strategy", "gas_price"]); + let conf0 = parse(&["openethereum"]); + let conf2 = parse(&["openethereum", "--tx-queue-strategy", "gas_price"]); // then assert_eq!(conf0.miner_options().unwrap(), mining_options); @@ -1576,7 +1576,7 @@ mod tests { #[test] fn should_fail_on_force_reseal_and_reseal_min_period() { let conf = parse(&[ - "parity", + "openethereum", "--chain", "dev", "--force-sealing", @@ -1592,7 +1592,13 @@ mod tests { // given // when - let conf = parse(&["parity", "--chain", "goerli", "--identity", "testname"]); + let conf = parse(&[ + "openethereum", + "--chain", + "goerli", + "--identity", + "testname", + ]); // then assert_eq!( @@ -1614,10 +1620,10 @@ mod tests { // given // when - let conf0 = parse(&["parity"]); - let conf1 = parse(&["parity", "--jsonrpc-hosts", "none"]); - let conf2 = parse(&["parity", "--jsonrpc-hosts", "all"]); - let conf3 = parse(&["parity", "--jsonrpc-hosts", "parity.io,something.io"]); + let conf0 = parse(&["openethereum"]); + let conf1 = parse(&["openethereum", "--jsonrpc-hosts", "none"]); + let conf2 = parse(&["openethereum", "--jsonrpc-hosts", "all"]); + let conf3 = parse(&["openethereum", "--jsonrpc-hosts", "parity.io,something.io"]); // then assert_eq!(conf0.rpc_hosts(), Some(Vec::new())); @@ -1634,7 +1640,7 @@ mod tests { // given // when - let conf0 = parse(&["parity", "--ui-path=signer"]); + let conf0 = parse(&["openethereum", "--ui-path=signer"]); // then assert_eq!(conf0.directories().signer, "signer".to_owned()); @@ -1648,7 +1654,11 @@ mod tests { .unwrap() .write_all(b" \n\t\n") .unwrap(); - let args = vec!["parity", "--reserved-peers", filename.to_str().unwrap()]; + let args = vec![ + "openethereum", + "--reserved-peers", + filename.to_str().unwrap(), + ]; let conf = Configuration::parse_cli(&args).unwrap(); assert!(conf.init_reserved_nodes().is_ok()); } @@ -1658,7 +1668,11 @@ mod tests { let tempdir = TempDir::new("").unwrap(); let filename = tempdir.path().join("peers_comments"); File::create(&filename).unwrap().write_all(b"# Sample comment\nenode://6f8a80d14311c39f35f516fa664deaaaa13e85b2f7493f37f6144d86991ec012937307647bd3b9a82abe2974e1407241d54947bbb39763a4cac9f77166ad92a0@172.0.0.1:30303\n").unwrap(); - let args = vec!["parity", "--reserved-peers", filename.to_str().unwrap()]; + let args = vec![ + "openethereum", + "--reserved-peers", + filename.to_str().unwrap(), + ]; let conf = Configuration::parse_cli(&args).unwrap(); let reserved_nodes = conf.init_reserved_nodes(); assert!(reserved_nodes.is_ok()); @@ -1667,7 +1681,7 @@ mod tests { #[test] fn test_dev_preset() { - let args = vec!["parity", "--config", "dev"]; + let args = vec!["openethereum", "--config", "dev"]; let conf = Configuration::parse_cli(&args).unwrap(); match conf.into_command().unwrap().cmd { Cmd::Run(c) => { @@ -1681,7 +1695,7 @@ mod tests { #[test] fn test_mining_preset() { - let args = vec!["parity", "--config", "mining"]; + let args = vec!["openethereum", "--config", "mining"]; let conf = Configuration::parse_cli(&args).unwrap(); match conf.into_command().unwrap().cmd { Cmd::Run(c) => { @@ -1705,7 +1719,7 @@ mod tests { #[test] fn test_non_standard_ports_preset() { - let args = vec!["parity", "--config", "non-standard-ports"]; + let args = vec!["openethereum", "--config", "non-standard-ports"]; let conf = Configuration::parse_cli(&args).unwrap(); match conf.into_command().unwrap().cmd { Cmd::Run(c) => { @@ -1718,7 +1732,7 @@ mod tests { #[test] fn test_insecure_preset() { - let args = vec!["parity", "--config", "insecure"]; + let args = vec!["openethereum", "--config", "insecure"]; let conf = Configuration::parse_cli(&args).unwrap(); match conf.into_command().unwrap().cmd { Cmd::Run(c) => { @@ -1736,7 +1750,7 @@ mod tests { #[test] fn test_dev_insecure_preset() { - let args = vec!["parity", "--config", "dev-insecure"]; + let args = vec!["openethereum", "--config", "dev-insecure"]; let conf = Configuration::parse_cli(&args).unwrap(); match conf.into_command().unwrap().cmd { Cmd::Run(c) => { @@ -1757,7 +1771,7 @@ mod tests { #[test] fn test_override_preset() { - let args = vec!["parity", "--config", "mining", "--min-peers=99"]; + let args = vec!["openethereum", "--config", "mining", "--min-peers=99"]; let conf = Configuration::parse_cli(&args).unwrap(); match conf.into_command().unwrap().cmd { Cmd::Run(c) => { @@ -1769,7 +1783,7 @@ mod tests { #[test] fn test_identity_arg() { - let args = vec!["parity", "--identity", "Somebody"]; + let args = vec!["openethereum", "--identity", "Somebody"]; let conf = Configuration::parse_cli(&args).unwrap(); match conf.into_command().unwrap().cmd { Cmd::Run(c) => { @@ -1777,7 +1791,7 @@ mod tests { assert!(c .net_conf .client_version - .starts_with("Parity-Ethereum/Somebody/")); + .starts_with("OpenEthereum/Somebody/")); } _ => panic!("Should be Cmd::Run"), } @@ -1788,8 +1802,14 @@ mod tests { // given // when - let conf0 = parse(&["parity", "--ports-shift", "1", "--stratum"]); - let conf1 = parse(&["parity", "--ports-shift", "1", "--jsonrpc-port", "8544"]); + let conf0 = parse(&["openethereum", "--ports-shift", "1", "--stratum"]); + let conf1 = parse(&[ + "openethereum", + "--ports-shift", + "1", + "--jsonrpc-port", + "8544", + ]); // then assert_eq!(conf0.net_addresses().unwrap().0.port(), 30304); @@ -1813,7 +1833,7 @@ mod tests { #[test] fn should_resolve_external_nat_hosts() { // Ip works - let conf = parse(&["parity", "--nat", "extip:1.1.1.1"]); + let conf = parse(&["openethereum", "--nat", "extip:1.1.1.1"]); assert_eq!( conf.net_addresses().unwrap().1.unwrap().ip().to_string(), "1.1.1.1" @@ -1821,7 +1841,7 @@ mod tests { assert_eq!(conf.net_addresses().unwrap().1.unwrap().port(), 30303); // Ip with port works, port is discarded - let conf = parse(&["parity", "--nat", "extip:192.168.1.1:123"]); + let conf = parse(&["openethereum", "--nat", "extip:192.168.1.1:123"]); assert_eq!( conf.net_addresses().unwrap().1.unwrap().ip().to_string(), "192.168.1.1" @@ -1829,17 +1849,21 @@ mod tests { assert_eq!(conf.net_addresses().unwrap().1.unwrap().port(), 30303); // Hostname works - let conf = parse(&["parity", "--nat", "extip:ethereum.org"]); + let conf = parse(&["openethereum", "--nat", "extip:ethereum.org"]); assert!(conf.net_addresses().unwrap().1.is_some()); assert_eq!(conf.net_addresses().unwrap().1.unwrap().port(), 30303); // Hostname works, garbage at the end is discarded - let conf = parse(&["parity", "--nat", "extip:ethereum.org:whatever bla bla 123"]); + let conf = parse(&[ + "openethereum", + "--nat", + "extip:ethereum.org:whatever bla bla 123", + ]); assert!(conf.net_addresses().unwrap().1.is_some()); assert_eq!(conf.net_addresses().unwrap().1.unwrap().port(), 30303); // Garbage is error - let conf = parse(&["parity", "--nat", "extip:blabla"]); + let conf = parse(&["openethereum", "--nat", "extip:blabla"]); assert!(conf.net_addresses().is_err()); } @@ -1848,7 +1872,7 @@ mod tests { // given // when - let conf0 = parse(&["parity", "--unsafe-expose"]); + let conf0 = parse(&["openethereum", "--unsafe-expose"]); // then assert_eq!(&conf0.network_settings().unwrap().rpc_interface, "0.0.0.0"); @@ -1866,12 +1890,16 @@ mod tests { #[test] fn allow_ips() { - let all = parse(&["parity", "--allow-ips", "all"]); - let private = parse(&["parity", "--allow-ips", "private"]); - let block_custom = parse(&["parity", "--allow-ips", "-10.0.0.0/8"]); - let combo = parse(&["parity", "--allow-ips", "public 10.0.0.0/8 -1.0.0.0/8"]); - let ipv6_custom_public = parse(&["parity", "--allow-ips", "public fc00::/7"]); - let ipv6_custom_private = parse(&["parity", "--allow-ips", "private -fc00::/7"]); + let all = parse(&["openethereum", "--allow-ips", "all"]); + let private = parse(&["openethereum", "--allow-ips", "private"]); + let block_custom = parse(&["openethereum", "--allow-ips", "-10.0.0.0/8"]); + let combo = parse(&[ + "openethereum", + "--allow-ips", + "public 10.0.0.0/8 -1.0.0.0/8", + ]); + let ipv6_custom_public = parse(&["openethereum", "--allow-ips", "public fc00::/7"]); + let ipv6_custom_private = parse(&["openethereum", "--allow-ips", "private -fc00::/7"]); assert_eq!( all.ip_filter().unwrap(), @@ -1932,8 +1960,8 @@ mod tests { fn should_use_correct_cache_path_if_base_is_set() { use std::path; - let std = parse(&["parity"]); - let base = parse(&["parity", "--base-path", "/test"]); + let std = parse(&["openethereum"]); + let base = parse(&["openethereum", "--base-path", "/test"]); let base_path = ::dir::default_data_path(); let local_path = ::dir::default_local_path(); @@ -1949,7 +1977,7 @@ mod tests { #[test] fn should_respect_only_max_peers_and_default() { - let args = vec!["parity", "--max-peers=50"]; + let args = vec!["openethereum", "--max-peers=50"]; let conf = Configuration::parse_cli(&args).unwrap(); match conf.into_command().unwrap().cmd { Cmd::Run(c) => { @@ -1962,7 +1990,7 @@ mod tests { #[test] fn should_respect_only_max_peers_less_than_default() { - let args = vec!["parity", "--max-peers=5"]; + let args = vec!["openethereum", "--max-peers=5"]; let conf = Configuration::parse_cli(&args).unwrap(); match conf.into_command().unwrap().cmd { Cmd::Run(c) => { @@ -1975,7 +2003,7 @@ mod tests { #[test] fn should_respect_only_min_peers_and_default() { - let args = vec!["parity", "--min-peers=5"]; + let args = vec!["openethereum", "--min-peers=5"]; let conf = Configuration::parse_cli(&args).unwrap(); match conf.into_command().unwrap().cmd { Cmd::Run(c) => { @@ -1988,7 +2016,7 @@ mod tests { #[test] fn should_respect_only_min_peers_and_greater_than_default() { - let args = vec!["parity", "--min-peers=500"]; + let args = vec!["openethereum", "--min-peers=500"]; let conf = Configuration::parse_cli(&args).unwrap(); match conf.into_command().unwrap().cmd { Cmd::Run(c) => { diff --git a/parity/db/mod.rs b/parity/db/mod.rs index 7b27c20c8..3df530260 100644 --- a/parity/db/mod.rs +++ b/parity/db/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Database-related operations. diff --git a/parity/db/rocksdb/blooms.rs b/parity/db/rocksdb/blooms.rs index a607ebdd4..06c8749d3 100644 --- a/parity/db/rocksdb/blooms.rs +++ b/parity/db/rocksdb/blooms.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Blooms migration from rocksdb to blooms-db diff --git a/parity/db/rocksdb/helpers.rs b/parity/db/rocksdb/helpers.rs index 40c422ef3..e75f6efde 100644 --- a/parity/db/rocksdb/helpers.rs +++ b/parity/db/rocksdb/helpers.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::kvdb_rocksdb::{CompactionProfile, DatabaseConfig}; use ethcore::client::{ClientConfig, DatabaseCompactionProfile}; diff --git a/parity/db/rocksdb/migration.rs b/parity/db/rocksdb/migration.rs index 9ad64cc4e..bc55bd199 100644 --- a/parity/db/rocksdb/migration.rs +++ b/parity/db/rocksdb/migration.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{ kvdb_rocksdb::{CompactionProfile, DatabaseConfig}, diff --git a/parity/db/rocksdb/mod.rs b/parity/db/rocksdb/mod.rs index 05339aa2f..c923cba2f 100644 --- a/parity/db/rocksdb/mod.rs +++ b/parity/db/rocksdb/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate ethcore_blockchain; extern crate kvdb_rocksdb; diff --git a/parity/helpers.rs b/parity/helpers.rs index b64efc4c3..76d28defd 100644 --- a/parity/helpers.rs +++ b/parity/helpers.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use cache::CacheConfig; use db::migrate; @@ -42,7 +42,7 @@ pub fn to_duration(s: &str) -> Result { fn to_seconds(s: &str) -> Result { let bad = |_| { format!( - "{}: Invalid duration given. See parity --help for more information.", + "{}: Invalid duration given. See openethereum --help for more information.", s ) }; @@ -310,7 +310,7 @@ pub fn execute_upgrades( debug!("Executed {} upgrade scripts - ok", upgrades_applied); } Err(e) => { - return Err(format!("Error upgrading parity data: {:?}", e)); + return Err(format!("Error upgrading OpenEthereum data: {:?}", e)); } _ => {} } diff --git a/parity/informant.rs b/parity/informant.rs index 9eaf52850..4f09c137a 100644 --- a/parity/informant.rs +++ b/parity/informant.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate ansi_term; use self::ansi_term::{ diff --git a/parity/lib.rs b/parity/lib.rs index 5fbfe8535..3f811826d 100644 --- a/parity/lib.rs +++ b/parity/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Ethcore client application. #![warn(missing_docs)] @@ -170,7 +170,7 @@ fn run_deadlock_detection_thread() { }); } -/// Action that Parity performed when running `start`. +/// Action that OpenEthereum performed when running `start`. pub enum ExecutionAction { /// The execution didn't require starting a node, and thus has finished. /// Contains the string to print on stdout, if any. @@ -226,13 +226,13 @@ fn execute(command: Execute, logger: Arc) -> Result) -> Result { execute(conf.into_command()?, logger) } diff --git a/parity/logger/src/lib.rs b/parity/logger/src/lib.rs index 3b00240ec..44412a05a 100644 --- a/parity/logger/src/lib.rs +++ b/parity/logger/src/lib.rs @@ -1,20 +1,20 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . -//! Logger for parity executables +//! Logger for OpenEthereum executables extern crate ansi_term; extern crate arrayvec; diff --git a/parity/logger/src/rotating.rs b/parity/logger/src/rotating.rs index c3c97e463..7a00c85c3 100644 --- a/parity/logger/src/rotating.rs +++ b/parity/logger/src/rotating.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Common log helper functions diff --git a/parity/main.rs b/parity/main.rs index 542ea8dc8..b6189d27a 100644 --- a/parity/main.rs +++ b/parity/main.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Ethcore client application. @@ -24,9 +24,9 @@ extern crate fdlimit; #[macro_use] extern crate log; extern crate ansi_term; +extern crate openethereum; extern crate panic_hook; extern crate parity_daemonize; -extern crate parity_ethereum; extern crate parking_lot; extern crate ethcore_logger; @@ -46,8 +46,8 @@ use ansi_term::Colour; use ctrlc::CtrlC; use ethcore_logger::setup_log; use fdlimit::raise_fd_limit; +use openethereum::{start, ExecutionAction}; use parity_daemonize::AsHandle; -use parity_ethereum::{start, ExecutionAction}; use parking_lot::{Condvar, Mutex}; #[derive(Debug)] @@ -62,7 +62,7 @@ struct ExitStatus { fn main() -> Result<(), i32> { let conf = { let args = std::env::args().collect::>(); - parity_ethereum::Configuration::parse_cli(&args).unwrap_or_else(|e| e.exit()) + openethereum::Configuration::parse_cli(&args).unwrap_or_else(|e| e.exit()) }; let logger = setup_log(&conf.logger_config()).unwrap_or_else(|e| { diff --git a/parity/modules.rs b/parity/modules.rs index 4a8818a75..5cf6971d6 100644 --- a/parity/modules.rs +++ b/parity/modules.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::sync::{mpsc, Arc}; diff --git a/parity/params.rs b/parity/params.rs index 8e8b37a04..3d3163b19 100644 --- a/parity/params.rs +++ b/parity/params.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{collections::HashSet, fmt, fs, num::NonZeroU32, str, time::Duration}; diff --git a/parity/presale.rs b/parity/presale.rs index 82c202ee1..b160ab774 100644 --- a/parity/presale.rs +++ b/parity/presale.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethkey::Password; use ethstore::PresaleWallet; diff --git a/parity/rpc.rs b/parity/rpc.rs index 561a3ede2..1022cfc9c 100644 --- a/parity/rpc.rs +++ b/parity/rpc.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{collections::HashSet, io, path::PathBuf, sync::Arc}; diff --git a/parity/rpc_apis.rs b/parity/rpc_apis.rs index 5cffa656f..0de19f768 100644 --- a/parity/rpc_apis.rs +++ b/parity/rpc_apis.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{cmp::PartialEq, collections::HashSet, str::FromStr, sync::Arc}; diff --git a/parity/run.rs b/parity/run.rs index 49b552269..59548bf70 100644 --- a/parity/run.rs +++ b/parity/run.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ any::Any, diff --git a/parity/secretstore.rs b/parity/secretstore.rs index c906b303d..a55bfd90b 100644 --- a/parity/secretstore.rs +++ b/parity/secretstore.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use account_utils::AccountProvider; use dir::{default_data_path, helpers::replace_home}; diff --git a/parity/signer.rs b/parity/signer.rs index df24ed1c9..7dd00f728 100644 --- a/parity/signer.rs +++ b/parity/signer.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ io, diff --git a/parity/snapshot.rs b/parity/snapshot.rs index 6c51d06d7..1cd4bbf99 100644 --- a/parity/snapshot.rs +++ b/parity/snapshot.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Snapshot and restoration commands. diff --git a/parity/stratum.rs b/parity/stratum.rs index a74f60d85..14e54aa90 100644 --- a/parity/stratum.rs +++ b/parity/stratum.rs @@ -1,20 +1,20 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . -//! Parity sync service +//! OpenEthereum sync service use std::sync::Arc; use std::sync::atomic::{AtomicBool, Ordering}; diff --git a/parity/upgrade.rs b/parity/upgrade.rs index ce9e94642..c1a38d2c2 100644 --- a/parity/upgrade.rs +++ b/parity/upgrade.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Parity upgrade logic diff --git a/parity/user_defaults.rs b/parity/user_defaults.rs index e0fb1de4a..95fa66a78 100644 --- a/parity/user_defaults.rs +++ b/parity/user_defaults.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethcore::client::Mode as ClientMode; use journaldb::Algorithm; diff --git a/rpc/src/authcodes.rs b/rpc/src/authcodes.rs index 550ec67c1..12ec3dbb1 100644 --- a/rpc/src/authcodes.rs +++ b/rpc/src/authcodes.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ fs, diff --git a/rpc/src/http_common.rs b/rpc/src/http_common.rs index f9e4ac9f5..bd20caedf 100644 --- a/rpc/src/http_common.rs +++ b/rpc/src/http_common.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Transport-specific metadata extractors. diff --git a/rpc/src/lib.rs b/rpc/src/lib.rs index 0443ccf21..6a83c8043 100644 --- a/rpc/src/lib.rs +++ b/rpc/src/lib.rs @@ -1,20 +1,20 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . -//! Parity Ethereum JSON-RPC Servers (WS, HTTP, IPC). +//! OpenEthereum JSON-RPC Servers (WS, HTTP, IPC). #![warn(missing_docs, unused_extern_crates)] #![cfg_attr(feature = "cargo-clippy", warn(clippy::all, clippy::pedantic))] diff --git a/rpc/src/tests/helpers.rs b/rpc/src/tests/helpers.rs index ec7779de0..923b5a92c 100644 --- a/rpc/src/tests/helpers.rs +++ b/rpc/src/tests/helpers.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ ops::{Deref, DerefMut}, diff --git a/rpc/src/tests/http_client.rs b/rpc/src/tests/http_client.rs index 8f4e447b4..dc5d3a5c7 100644 --- a/rpc/src/tests/http_client.rs +++ b/rpc/src/tests/http_client.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ io::{self, Read, Write}, diff --git a/rpc/src/tests/mod.rs b/rpc/src/tests/mod.rs index 478a7eb20..91762fe02 100644 --- a/rpc/src/tests/mod.rs +++ b/rpc/src/tests/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! RPC integration tests. diff --git a/rpc/src/tests/rpc.rs b/rpc/src/tests/rpc.rs index 921dad0f2..a105dd883 100644 --- a/rpc/src/tests/rpc.rs +++ b/rpc/src/tests/rpc.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use http::{self, hyper}; use jsonrpc_core::MetaIoHandler; @@ -143,7 +143,7 @@ mod tests { "\ OPTIONS / HTTP/1.1\r\n\ Host: {}\r\n\ - Origin: http://parity.io\r\n\ + Origin: http://openethereum.github.io/wiki/\r\n\ Content-Length: 0\r\n\ Content-Type: application/json\r\n\ Connection: close\r\n\ diff --git a/rpc/src/tests/ws.rs b/rpc/src/tests/ws.rs index 952048ecb..ef6991afc 100644 --- a/rpc/src/tests/ws.rs +++ b/rpc/src/tests/ws.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! WebSockets server tests. diff --git a/rpc/src/v1/extractors.rs b/rpc/src/v1/extractors.rs index c549b6cd3..ef053fd6b 100644 --- a/rpc/src/v1/extractors.rs +++ b/rpc/src/v1/extractors.rs @@ -1,20 +1,20 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . -//! Parity-specific metadata extractors. +//! OpenEthereum-specific metadata extractors. use std::{ path::{Path, PathBuf}, @@ -262,8 +262,8 @@ mod tests { // when let meta1 = extractor.read_metadata(None, None); - let meta2 = extractor.read_metadata(None, Some("http://parity.io".to_owned())); - let meta3 = extractor.read_metadata(None, Some("http://parity.io".to_owned())); + let meta2 = extractor.read_metadata(None, Some("http://openethereum.github.io".to_owned())); + let meta3 = extractor.read_metadata(None, Some("http://openethereum.github.io".to_owned())); // then assert_eq!( @@ -272,11 +272,11 @@ mod tests { ); assert_eq!( meta2.origin, - Origin::Rpc("unknown origin / http://parity.io".into()) + Origin::Rpc("unknown origin / http://openethereum.github.io".into()) ); assert_eq!( meta3.origin, - Origin::Rpc("unknown origin / http://parity.io".into()) + Origin::Rpc("unknown origin / http://openethereum.github.io".into()) ); } } diff --git a/rpc/src/v1/helpers/block_import.rs b/rpc/src/v1/helpers/block_import.rs index 514db46a3..b97933428 100644 --- a/rpc/src/v1/helpers/block_import.rs +++ b/rpc/src/v1/helpers/block_import.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Block import analysis functions. diff --git a/rpc/src/v1/helpers/deprecated.rs b/rpc/src/v1/helpers/deprecated.rs index 8a9b530a8..ef248aca8 100644 --- a/rpc/src/v1/helpers/deprecated.rs +++ b/rpc/src/v1/helpers/deprecated.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2018 Parity Technologies (UK) Ltd. -// This file is part of Parity. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity. If not, see . +// along with OpenEthereum. If not, see . //! Deprecation notice for RPC methods. //! diff --git a/rpc/src/v1/helpers/dispatch/full.rs b/rpc/src/v1/helpers/dispatch/full.rs index 575208e85..fda6d4701 100644 --- a/rpc/src/v1/helpers/dispatch/full.rs +++ b/rpc/src/v1/helpers/dispatch/full.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::sync::Arc; diff --git a/rpc/src/v1/helpers/dispatch/mod.rs b/rpc/src/v1/helpers/dispatch/mod.rs index f0cd0ef53..d211e35d4 100644 --- a/rpc/src/v1/helpers/dispatch/mod.rs +++ b/rpc/src/v1/helpers/dispatch/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Utilities and helpers for transaction dispatch. diff --git a/rpc/src/v1/helpers/dispatch/prospective_signer.rs b/rpc/src/v1/helpers/dispatch/prospective_signer.rs index 8236e2200..8768ad641 100644 --- a/rpc/src/v1/helpers/dispatch/prospective_signer.rs +++ b/rpc/src/v1/helpers/dispatch/prospective_signer.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::sync::Arc; diff --git a/rpc/src/v1/helpers/dispatch/signing.rs b/rpc/src/v1/helpers/dispatch/signing.rs index 4d71f1a27..55b03b2fa 100644 --- a/rpc/src/v1/helpers/dispatch/signing.rs +++ b/rpc/src/v1/helpers/dispatch/signing.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::sync::Arc; diff --git a/rpc/src/v1/helpers/eip191.rs b/rpc/src/v1/helpers/eip191.rs index 8da2d06e8..51bd1580d 100644 --- a/rpc/src/v1/helpers/eip191.rs +++ b/rpc/src/v1/helpers/eip191.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! EIP-191 compliant decoding + hashing use eip_712::{hash_structured_data, EIP712}; diff --git a/rpc/src/v1/helpers/engine_signer.rs b/rpc/src/v1/helpers/engine_signer.rs index d10f5201b..bcd9ca9ba 100644 --- a/rpc/src/v1/helpers/engine_signer.rs +++ b/rpc/src/v1/helpers/engine_signer.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2018 Parity Technologies (UK) Ltd. -// This file is part of Parity. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity. If not, see . +// along with OpenEthereum. If not, see . use std::sync::Arc; diff --git a/rpc/src/v1/helpers/errors.rs b/rpc/src/v1/helpers/errors.rs index 9b5260fc9..bb3d71c70 100644 --- a/rpc/src/v1/helpers/errors.rs +++ b/rpc/src/v1/helpers/errors.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! RPC Error codes and error objects @@ -111,7 +111,7 @@ pub fn account(error: &str, details: T) -> Error { pub fn cannot_restart() -> Error { Error { code: ErrorCode::ServerError(codes::CANNOT_RESTART), - message: "Parity could not be restarted. This feature is disabled in development mode and if the binary name isn't parity.".into(), + message: "OpenEthereum could not be restarted. This feature is disabled in development mode and if the binary name isn't openethereum.".into(), data: None, } } diff --git a/rpc/src/v1/helpers/external_signer/mod.rs b/rpc/src/v1/helpers/external_signer/mod.rs index ebaab6897..9af459678 100644 --- a/rpc/src/v1/helpers/external_signer/mod.rs +++ b/rpc/src/v1/helpers/external_signer/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! An list of requests to be confirmed or signed by an external approver/signer. diff --git a/rpc/src/v1/helpers/external_signer/oneshot.rs b/rpc/src/v1/helpers/external_signer/oneshot.rs index 0df170e6e..948951aad 100644 --- a/rpc/src/v1/helpers/external_signer/oneshot.rs +++ b/rpc/src/v1/helpers/external_signer/oneshot.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use jsonrpc_core::{ futures::{self, sync::oneshot, Future}, diff --git a/rpc/src/v1/helpers/external_signer/signing_queue.rs b/rpc/src/v1/helpers/external_signer/signing_queue.rs index c450ba798..745304836 100644 --- a/rpc/src/v1/helpers/external_signer/signing_queue.rs +++ b/rpc/src/v1/helpers/external_signer/signing_queue.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::collections::BTreeMap; diff --git a/rpc/src/v1/helpers/fake_sign.rs b/rpc/src/v1/helpers/fake_sign.rs index 5867bc218..de9ae5708 100644 --- a/rpc/src/v1/helpers/fake_sign.rs +++ b/rpc/src/v1/helpers/fake_sign.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::cmp::min; use types::transaction::{Action, SignedTransaction, Transaction}; diff --git a/rpc/src/v1/helpers/mod.rs b/rpc/src/v1/helpers/mod.rs index 4af68b5bf..686ec7738 100644 --- a/rpc/src/v1/helpers/mod.rs +++ b/rpc/src/v1/helpers/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . #[macro_use] pub mod errors; diff --git a/rpc/src/v1/helpers/network_settings.rs b/rpc/src/v1/helpers/network_settings.rs index 4427edf83..c9aab2029 100644 --- a/rpc/src/v1/helpers/network_settings.rs +++ b/rpc/src/v1/helpers/network_settings.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Structure to hold network settings configured from CLI diff --git a/rpc/src/v1/helpers/nonce.rs b/rpc/src/v1/helpers/nonce.rs index 5ea834603..47d937029 100644 --- a/rpc/src/v1/helpers/nonce.rs +++ b/rpc/src/v1/helpers/nonce.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ cmp, diff --git a/rpc/src/v1/helpers/poll_filter.rs b/rpc/src/v1/helpers/poll_filter.rs index fe4698b74..2c373399e 100644 --- a/rpc/src/v1/helpers/poll_filter.rs +++ b/rpc/src/v1/helpers/poll_filter.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Helper type with all filter state data. diff --git a/rpc/src/v1/helpers/poll_manager.rs b/rpc/src/v1/helpers/poll_manager.rs index 64f98ba1d..044844035 100644 --- a/rpc/src/v1/helpers/poll_manager.rs +++ b/rpc/src/v1/helpers/poll_manager.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Indexes all rpc poll requests. diff --git a/rpc/src/v1/helpers/requests.rs b/rpc/src/v1/helpers/requests.rs index 019b07bc7..eeb1654d8 100644 --- a/rpc/src/v1/helpers/requests.rs +++ b/rpc/src/v1/helpers/requests.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use bytes::Bytes; use ethereum_types::{Address, H256, U256}; diff --git a/rpc/src/v1/helpers/secretstore.rs b/rpc/src/v1/helpers/secretstore.rs index 5c3d7719f..ed24d83ca 100644 --- a/rpc/src/v1/helpers/secretstore.rs +++ b/rpc/src/v1/helpers/secretstore.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use bytes::Bytes; use crypto; diff --git a/rpc/src/v1/helpers/signature.rs b/rpc/src/v1/helpers/signature.rs index 6990ef0bc..ce71b9f2d 100644 --- a/rpc/src/v1/helpers/signature.rs +++ b/rpc/src/v1/helpers/signature.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{H256, U64}; use ethkey::{public_to_address, recover, Signature}; diff --git a/rpc/src/v1/helpers/subscribers.rs b/rpc/src/v1/helpers/subscribers.rs index c766422e1..b428d7fbc 100644 --- a/rpc/src/v1/helpers/subscribers.rs +++ b/rpc/src/v1/helpers/subscribers.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! A map of subscribers. @@ -38,7 +38,7 @@ impl str::FromStr for Id { } } impl Id { - // TODO: replace `format!` see [#10412](https://github.com/paritytech/parity-ethereum/issues/10412) + // TODO: replace `format!` see [#10412](https://github.com/openethereum/openethereum/issues/10412) pub fn as_string(&self) -> String { format!("{:?}", self.0) } diff --git a/rpc/src/v1/helpers/subscription_manager.rs b/rpc/src/v1/helpers/subscription_manager.rs index 506ec1492..2bf525b9b 100644 --- a/rpc/src/v1/helpers/subscription_manager.rs +++ b/rpc/src/v1/helpers/subscription_manager.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Generic poll manager for Pub-Sub. diff --git a/rpc/src/v1/helpers/work.rs b/rpc/src/v1/helpers/work.rs index 9aa2f0b36..9f9bb5df3 100644 --- a/rpc/src/v1/helpers/work.rs +++ b/rpc/src/v1/helpers/work.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Helpers for submit a POW work. diff --git a/rpc/src/v1/impls/debug.rs b/rpc/src/v1/impls/debug.rs index dbfdd6d1e..d72adce52 100644 --- a/rpc/src/v1/impls/debug.rs +++ b/rpc/src/v1/impls/debug.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Debug APIs RPC implementation diff --git a/rpc/src/v1/impls/eth.rs b/rpc/src/v1/impls/eth.rs index f1c081527..613a2815b 100644 --- a/rpc/src/v1/impls/eth.rs +++ b/rpc/src/v1/impls/eth.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Eth rpc implementation. diff --git a/rpc/src/v1/impls/eth_filter.rs b/rpc/src/v1/impls/eth_filter.rs index cce7fd393..417048a40 100644 --- a/rpc/src/v1/impls/eth_filter.rs +++ b/rpc/src/v1/impls/eth_filter.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Eth Filter RPC implementation diff --git a/rpc/src/v1/impls/eth_pubsub.rs b/rpc/src/v1/impls/eth_pubsub.rs index da400ce18..e5d0deefb 100644 --- a/rpc/src/v1/impls/eth_pubsub.rs +++ b/rpc/src/v1/impls/eth_pubsub.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Eth PUB-SUB rpc implementation. diff --git a/rpc/src/v1/impls/mod.rs b/rpc/src/v1/impls/mod.rs index afa2a2202..c8a1c64bc 100644 --- a/rpc/src/v1/impls/mod.rs +++ b/rpc/src/v1/impls/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Ethereum rpc interface implementation. diff --git a/rpc/src/v1/impls/net.rs b/rpc/src/v1/impls/net.rs index 3307ac9c9..779c47773 100644 --- a/rpc/src/v1/impls/net.rs +++ b/rpc/src/v1/impls/net.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Net rpc implementation. use jsonrpc_core::Result; @@ -26,7 +26,7 @@ pub struct NetClient { /// Cached `network_id`. /// /// We cache it to avoid redundant aquire of sync read lock. - /// https://github.com/paritytech/parity-ethereum/issues/8746 + /// https://github.com/openethereum/openethereum/issues/8746 network_id: u64, } diff --git a/rpc/src/v1/impls/parity.rs b/rpc/src/v1/impls/parity.rs index 7f93bcd3e..893e9a492 100644 --- a/rpc/src/v1/impls/parity.rs +++ b/rpc/src/v1/impls/parity.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Parity-specific rpc implementation. use std::{collections::BTreeMap, str::FromStr, sync::Arc}; diff --git a/rpc/src/v1/impls/parity_accounts.rs b/rpc/src/v1/impls/parity_accounts.rs index 49e4912bc..053a8dd71 100644 --- a/rpc/src/v1/impls/parity_accounts.rs +++ b/rpc/src/v1/impls/parity_accounts.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Account management (personal) rpc implementation use std::{ diff --git a/rpc/src/v1/impls/parity_set.rs b/rpc/src/v1/impls/parity_set.rs index 499af25bd..aad0fbf8c 100644 --- a/rpc/src/v1/impls/parity_set.rs +++ b/rpc/src/v1/impls/parity_set.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . /// Parity-specific rpc interface for operations altering the settings. use std::io; diff --git a/rpc/src/v1/impls/personal.rs b/rpc/src/v1/impls/personal.rs index 3cafd9e79..ce03eebdf 100644 --- a/rpc/src/v1/impls/personal.rs +++ b/rpc/src/v1/impls/personal.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Account management (personal) rpc implementation use std::sync::Arc; diff --git a/rpc/src/v1/impls/pubsub.rs b/rpc/src/v1/impls/pubsub.rs index 575791331..7d39d1c14 100644 --- a/rpc/src/v1/impls/pubsub.rs +++ b/rpc/src/v1/impls/pubsub.rs @@ -1,20 +1,20 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . -//! Parity-specific PUB-SUB rpc implementation. +//! OpenEthereum-specific PUB-SUB rpc implementation. use parking_lot::RwLock; use std::{sync::Arc, time::Duration}; diff --git a/rpc/src/v1/impls/secretstore.rs b/rpc/src/v1/impls/secretstore.rs index 188caaeb8..8844fd62b 100644 --- a/rpc/src/v1/impls/secretstore.rs +++ b/rpc/src/v1/impls/secretstore.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! SecretStore-specific rpc implementation. diff --git a/rpc/src/v1/impls/signer.rs b/rpc/src/v1/impls/signer.rs index 5df4add5d..b7dca6998 100644 --- a/rpc/src/v1/impls/signer.rs +++ b/rpc/src/v1/impls/signer.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Transactions Confirmations rpc implementation diff --git a/rpc/src/v1/impls/signing.rs b/rpc/src/v1/impls/signing.rs index 8e99e59cd..3bb68910f 100644 --- a/rpc/src/v1/impls/signing.rs +++ b/rpc/src/v1/impls/signing.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Signing RPC implementation. diff --git a/rpc/src/v1/impls/signing_unsafe.rs b/rpc/src/v1/impls/signing_unsafe.rs index f2c93474e..d515ef451 100644 --- a/rpc/src/v1/impls/signing_unsafe.rs +++ b/rpc/src/v1/impls/signing_unsafe.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Unsafe Signing RPC implementation. diff --git a/rpc/src/v1/impls/traces.rs b/rpc/src/v1/impls/traces.rs index 25bc87f4f..d685e40ca 100644 --- a/rpc/src/v1/impls/traces.rs +++ b/rpc/src/v1/impls/traces.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Traces api implementation. diff --git a/rpc/src/v1/impls/web3.rs b/rpc/src/v1/impls/web3.rs index 2b0fcece3..54d5059bc 100644 --- a/rpc/src/v1/impls/web3.rs +++ b/rpc/src/v1/impls/web3.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Web3 rpc implementation. use ethereum_types::H256; diff --git a/rpc/src/v1/informant.rs b/rpc/src/v1/informant.rs index 32817e232..0b146969d 100644 --- a/rpc/src/v1/informant.rs +++ b/rpc/src/v1/informant.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! RPC Requests Statistics diff --git a/rpc/src/v1/metadata.rs b/rpc/src/v1/metadata.rs index 74b52c743..4e89a6c11 100644 --- a/rpc/src/v1/metadata.rs +++ b/rpc/src/v1/metadata.rs @@ -1,20 +1,20 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . -//! Parity RPC requests Metadata. +//! OpenEthereum RPC requests Metadata. use std::sync::Arc; use jsonrpc_core; diff --git a/rpc/src/v1/mod.rs b/rpc/src/v1/mod.rs index d570359fa..1645cecd8 100644 --- a/rpc/src/v1/mod.rs +++ b/rpc/src/v1/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Ethcore rpc v1. //! diff --git a/rpc/src/v1/tests/eth.rs b/rpc/src/v1/tests/eth.rs index d93a17ee6..a3999f431 100644 --- a/rpc/src/v1/tests/eth.rs +++ b/rpc/src/v1/tests/eth.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! rpc integration tests. use std::{env, sync::Arc}; diff --git a/rpc/src/v1/tests/helpers/miner_service.rs b/rpc/src/v1/tests/helpers/miner_service.rs index 9d70c245f..7e29f6dd7 100644 --- a/rpc/src/v1/tests/helpers/miner_service.rs +++ b/rpc/src/v1/tests/helpers/miner_service.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Test implementation of miner service. diff --git a/rpc/src/v1/tests/helpers/mod.rs b/rpc/src/v1/tests/helpers/mod.rs index f4a53c481..69220e34c 100644 --- a/rpc/src/v1/tests/helpers/mod.rs +++ b/rpc/src/v1/tests/helpers/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Test rpc services. diff --git a/rpc/src/v1/tests/helpers/snapshot_service.rs b/rpc/src/v1/tests/helpers/snapshot_service.rs index ea6392901..cbc4d79d8 100644 --- a/rpc/src/v1/tests/helpers/snapshot_service.rs +++ b/rpc/src/v1/tests/helpers/snapshot_service.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethcore::snapshot::{CreationStatus, ManifestData, RestorationStatus, SnapshotService}; diff --git a/rpc/src/v1/tests/helpers/sync_provider.rs b/rpc/src/v1/tests/helpers/sync_provider.rs index dfe5cb07c..6b58bd46f 100644 --- a/rpc/src/v1/tests/helpers/sync_provider.rs +++ b/rpc/src/v1/tests/helpers/sync_provider.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Test implementation of SyncProvider. @@ -93,7 +93,7 @@ impl SyncProvider for TestSyncProvider { }, PeerInfo { id: None, - client_version: ClientVersion::from("Parity-Ethereum/2/v2.4.0/linux/rustc"), + client_version: ClientVersion::from("Open-Ethereum/2/v2.4.0/linux/rustc"), capabilities: vec!["eth/64".to_owned(), "eth/65".to_owned()], remote_address: "Handshake".to_owned(), local_address: "127.0.0.1:3333".to_owned(), diff --git a/rpc/src/v1/tests/mocked/debug.rs b/rpc/src/v1/tests/mocked/debug.rs index c4cffd2ff..ea2ef979e 100644 --- a/rpc/src/v1/tests/mocked/debug.rs +++ b/rpc/src/v1/tests/mocked/debug.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::sync::Arc; diff --git a/rpc/src/v1/tests/mocked/eth.rs b/rpc/src/v1/tests/mocked/eth.rs index 2eabd674a..c50a61f9d 100644 --- a/rpc/src/v1/tests/mocked/eth.rs +++ b/rpc/src/v1/tests/mocked/eth.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ collections::HashMap, diff --git a/rpc/src/v1/tests/mocked/eth_pubsub.rs b/rpc/src/v1/tests/mocked/eth_pubsub.rs index 2a6bcc43e..0e5c6bbba 100644 --- a/rpc/src/v1/tests/mocked/eth_pubsub.rs +++ b/rpc/src/v1/tests/mocked/eth_pubsub.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::sync::Arc; diff --git a/rpc/src/v1/tests/mocked/manage_network.rs b/rpc/src/v1/tests/mocked/manage_network.rs index 3745687b1..eab1de00f 100644 --- a/rpc/src/v1/tests/mocked/manage_network.rs +++ b/rpc/src/v1/tests/mocked/manage_network.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use self::ethcore_network::{NetworkContext, ProtocolId}; use std::ops::RangeInclusive; diff --git a/rpc/src/v1/tests/mocked/mod.rs b/rpc/src/v1/tests/mocked/mod.rs index abdfba903..878e0b050 100644 --- a/rpc/src/v1/tests/mocked/mod.rs +++ b/rpc/src/v1/tests/mocked/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! RPC mocked tests. Most of these test that the RPC server is serializing and forwarding //! method calls properly. diff --git a/rpc/src/v1/tests/mocked/net.rs b/rpc/src/v1/tests/mocked/net.rs index 278e8b5f0..87450bd83 100644 --- a/rpc/src/v1/tests/mocked/net.rs +++ b/rpc/src/v1/tests/mocked/net.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use jsonrpc_core::IoHandler; use std::sync::Arc; diff --git a/rpc/src/v1/tests/mocked/parity.rs b/rpc/src/v1/tests/mocked/parity.rs index 6aa5540aa..f3ec851ad 100644 --- a/rpc/src/v1/tests/mocked/parity.rs +++ b/rpc/src/v1/tests/mocked/parity.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethcore::client::{Executed, TestBlockChainClient, TransactionId}; use ethcore_logger::RotatingLogger; @@ -212,7 +212,7 @@ fn rpc_parity_net_peers() { let io = deps.default_client(); let request = r#"{"jsonrpc": "2.0", "method": "parity_netPeers", "params":[], "id": 1}"#; - let response = r#"{"jsonrpc":"2.0","result":{"active":0,"connected":120,"max":50,"peers":[{"caps":["eth/63","eth/64"],"id":"node1","name":{"ParityClient":{"can_handle_large_requests":true,"compiler":"rustc","identity":"1","name":"Parity-Ethereum","os":"linux","semver":"2.4.0"}},"network":{"localAddress":"127.0.0.1:8888","remoteAddress":"127.0.0.1:7777"},"protocols":{"eth":{"difficulty":"0x28","head":"0000000000000000000000000000000000000000000000000000000000000032","version":63}}},{"caps":["eth/64","eth/65"],"id":null,"name":{"ParityClient":{"can_handle_large_requests":true,"compiler":"rustc","identity":"2","name":"Parity-Ethereum","os":"linux","semver":"2.4.0"}},"network":{"localAddress":"127.0.0.1:3333","remoteAddress":"Handshake"},"protocols":{"eth":{"difficulty":null,"head":"000000000000000000000000000000000000000000000000000000000000003c","version":65}}}]},"id":1}"#; + let response = r#"{"jsonrpc":"2.0","result":{"active":0,"connected":120,"max":50,"peers":[{"caps":["eth/63","eth/64"],"id":"node1","name":{"ParityClient":{"can_handle_large_requests":true,"compiler":"rustc","identity":"1","name":"Parity-Ethereum","os":"linux","semver":"2.4.0"}},"network":{"localAddress":"127.0.0.1:8888","remoteAddress":"127.0.0.1:7777"},"protocols":{"eth":{"difficulty":"0x28","head":"0000000000000000000000000000000000000000000000000000000000000032","version":63}}},{"caps":["eth/64","eth/65"],"id":null,"name":{"Other":"Open-Ethereum/2/v2.4.0/linux/rustc"},"network":{"localAddress":"127.0.0.1:3333","remoteAddress":"Handshake"},"protocols":{"eth":{"difficulty":null,"head":"000000000000000000000000000000000000000000000000000000000000003c","version":65}}}]},"id":1}"#; assert_eq!(io.handle_request_sync(request), Some(response.to_owned())); } diff --git a/rpc/src/v1/tests/mocked/parity_accounts.rs b/rpc/src/v1/tests/mocked/parity_accounts.rs index 8f1f77413..78cd70d39 100644 --- a/rpc/src/v1/tests/mocked/parity_accounts.rs +++ b/rpc/src/v1/tests/mocked/parity_accounts.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::sync::Arc; diff --git a/rpc/src/v1/tests/mocked/parity_set.rs b/rpc/src/v1/tests/mocked/parity_set.rs index 2d822896f..18a3f930c 100644 --- a/rpc/src/v1/tests/mocked/parity_set.rs +++ b/rpc/src/v1/tests/mocked/parity_set.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{Address, U256}; use rustc_hex::FromHex; diff --git a/rpc/src/v1/tests/mocked/personal.rs b/rpc/src/v1/tests/mocked/personal.rs index 8cc4a457d..f940351e0 100644 --- a/rpc/src/v1/tests/mocked/personal.rs +++ b/rpc/src/v1/tests/mocked/personal.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{str::FromStr, sync::Arc}; diff --git a/rpc/src/v1/tests/mocked/pubsub.rs b/rpc/src/v1/tests/mocked/pubsub.rs index fb7cd370e..cf144a21b 100644 --- a/rpc/src/v1/tests/mocked/pubsub.rs +++ b/rpc/src/v1/tests/mocked/pubsub.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::sync::{atomic, Arc}; diff --git a/rpc/src/v1/tests/mocked/secretstore.rs b/rpc/src/v1/tests/mocked/secretstore.rs index 93fe1d2ac..2b702823c 100644 --- a/rpc/src/v1/tests/mocked/secretstore.rs +++ b/rpc/src/v1/tests/mocked/secretstore.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::sync::Arc; diff --git a/rpc/src/v1/tests/mocked/signer.rs b/rpc/src/v1/tests/mocked/signer.rs index 24967d16b..3d9f6f9bf 100644 --- a/rpc/src/v1/tests/mocked/signer.rs +++ b/rpc/src/v1/tests/mocked/signer.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use bytes::ToPretty; use ethereum_types::{Address, H520, U256}; diff --git a/rpc/src/v1/tests/mocked/signing.rs b/rpc/src/v1/tests/mocked/signing.rs index 339cc545c..9d8734a3c 100644 --- a/rpc/src/v1/tests/mocked/signing.rs +++ b/rpc/src/v1/tests/mocked/signing.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use rlp; use std::{str::FromStr, sync::Arc, thread, time::Duration}; diff --git a/rpc/src/v1/tests/mocked/signing_unsafe.rs b/rpc/src/v1/tests/mocked/signing_unsafe.rs index 4221d54a8..bb67b42b8 100644 --- a/rpc/src/v1/tests/mocked/signing_unsafe.rs +++ b/rpc/src/v1/tests/mocked/signing_unsafe.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2018 Parity Technologies (UK) Ltd. -// This file is part of Parity. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity. If not, see . +// along with OpenEthereum. If not, see . use std::{str::FromStr, sync::Arc}; diff --git a/rpc/src/v1/tests/mocked/traces.rs b/rpc/src/v1/tests/mocked/traces.rs index 35216a59b..34b0a2896 100644 --- a/rpc/src/v1/tests/mocked/traces.rs +++ b/rpc/src/v1/tests/mocked/traces.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::sync::Arc; diff --git a/rpc/src/v1/tests/mocked/web3.rs b/rpc/src/v1/tests/mocked/web3.rs index 16a69cfba..61158db3e 100644 --- a/rpc/src/v1/tests/mocked/web3.rs +++ b/rpc/src/v1/tests/mocked/web3.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use jsonrpc_core::IoHandler; use v1::{Web3, Web3Client}; diff --git a/rpc/src/v1/tests/mod.rs b/rpc/src/v1/tests/mod.rs index e693b842a..e695bc4cc 100644 --- a/rpc/src/v1/tests/mod.rs +++ b/rpc/src/v1/tests/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! RPC unit test moduleS diff --git a/rpc/src/v1/traits/debug.rs b/rpc/src/v1/traits/debug.rs index 62eb6803f..98687c3d2 100644 --- a/rpc/src/v1/traits/debug.rs +++ b/rpc/src/v1/traits/debug.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Debug RPC interface. diff --git a/rpc/src/v1/traits/eth.rs b/rpc/src/v1/traits/eth.rs index 8a4c91542..86b60c0bd 100644 --- a/rpc/src/v1/traits/eth.rs +++ b/rpc/src/v1/traits/eth.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Eth rpc interface. use ethereum_types::{H160, H256, H64, U256, U64}; diff --git a/rpc/src/v1/traits/eth_pubsub.rs b/rpc/src/v1/traits/eth_pubsub.rs index 2d4d06892..06b9fa279 100644 --- a/rpc/src/v1/traits/eth_pubsub.rs +++ b/rpc/src/v1/traits/eth_pubsub.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Eth PUB-SUB rpc interface. diff --git a/rpc/src/v1/traits/eth_signing.rs b/rpc/src/v1/traits/eth_signing.rs index 7725b2f1c..1622fcb95 100644 --- a/rpc/src/v1/traits/eth_signing.rs +++ b/rpc/src/v1/traits/eth_signing.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Eth rpc interface. diff --git a/rpc/src/v1/traits/mod.rs b/rpc/src/v1/traits/mod.rs index 44dcc16bb..046d54cb1 100644 --- a/rpc/src/v1/traits/mod.rs +++ b/rpc/src/v1/traits/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Ethereum rpc interfaces. diff --git a/rpc/src/v1/traits/net.rs b/rpc/src/v1/traits/net.rs index 4c40e0106..7c04e5423 100644 --- a/rpc/src/v1/traits/net.rs +++ b/rpc/src/v1/traits/net.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Net rpc interface. use jsonrpc_core::Result; diff --git a/rpc/src/v1/traits/parity.rs b/rpc/src/v1/traits/parity.rs index fc73d6770..d8d374681 100644 --- a/rpc/src/v1/traits/parity.rs +++ b/rpc/src/v1/traits/parity.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Parity-specific rpc interface. diff --git a/rpc/src/v1/traits/parity_accounts.rs b/rpc/src/v1/traits/parity_accounts.rs index 7763efea2..d856f53e1 100644 --- a/rpc/src/v1/traits/parity_accounts.rs +++ b/rpc/src/v1/traits/parity_accounts.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Parity Accounts-related rpc interface. use std::collections::BTreeMap; diff --git a/rpc/src/v1/traits/parity_set.rs b/rpc/src/v1/traits/parity_set.rs index d6ffb8a98..2d64e613d 100644 --- a/rpc/src/v1/traits/parity_set.rs +++ b/rpc/src/v1/traits/parity_set.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Parity-specific rpc interface for operations altering the settings. diff --git a/rpc/src/v1/traits/parity_signing.rs b/rpc/src/v1/traits/parity_signing.rs index 26d8ae76d..058c1536d 100644 --- a/rpc/src/v1/traits/parity_signing.rs +++ b/rpc/src/v1/traits/parity_signing.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! ParitySigning rpc interface. use jsonrpc_core::{BoxFuture, Result}; diff --git a/rpc/src/v1/traits/personal.rs b/rpc/src/v1/traits/personal.rs index a6e13865f..b3b61ec55 100644 --- a/rpc/src/v1/traits/personal.rs +++ b/rpc/src/v1/traits/personal.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Personal rpc interface. use eip_712::EIP712; diff --git a/rpc/src/v1/traits/pubsub.rs b/rpc/src/v1/traits/pubsub.rs index d68447d58..429b11565 100644 --- a/rpc/src/v1/traits/pubsub.rs +++ b/rpc/src/v1/traits/pubsub.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Parity-specific PUB-SUB rpc interface. diff --git a/rpc/src/v1/traits/secretstore.rs b/rpc/src/v1/traits/secretstore.rs index 37fca5c36..b65efa0a1 100644 --- a/rpc/src/v1/traits/secretstore.rs +++ b/rpc/src/v1/traits/secretstore.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! SecretStore-specific rpc interface. diff --git a/rpc/src/v1/traits/signer.rs b/rpc/src/v1/traits/signer.rs index 3b04e4b44..d679c3413 100644 --- a/rpc/src/v1/traits/signer.rs +++ b/rpc/src/v1/traits/signer.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Parity Signer-related rpc interface. diff --git a/rpc/src/v1/traits/traces.rs b/rpc/src/v1/traits/traces.rs index 78cf01f41..2dbbe1ed9 100644 --- a/rpc/src/v1/traits/traces.rs +++ b/rpc/src/v1/traits/traces.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Traces specific rpc interface. diff --git a/rpc/src/v1/traits/web3.rs b/rpc/src/v1/traits/web3.rs index 758f55fd8..a2323a26b 100644 --- a/rpc/src/v1/traits/web3.rs +++ b/rpc/src/v1/traits/web3.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Web3 rpc interface. use ethereum_types::H256; diff --git a/rpc/src/v1/types/account_info.rs b/rpc/src/v1/types/account_info.rs index 046b4a36c..dd1eb612c 100644 --- a/rpc/src/v1/types/account_info.rs +++ b/rpc/src/v1/types/account_info.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Return types for RPC calls diff --git a/rpc/src/v1/types/block.rs b/rpc/src/v1/types/block.rs index c0471533d..49c603fde 100644 --- a/rpc/src/v1/types/block.rs +++ b/rpc/src/v1/types/block.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{collections::BTreeMap, ops::Deref}; diff --git a/rpc/src/v1/types/block_number.rs b/rpc/src/v1/types/block_number.rs index ef7145bf2..8e88f49bf 100644 --- a/rpc/src/v1/types/block_number.rs +++ b/rpc/src/v1/types/block_number.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethcore::client::BlockId; use serde::{ diff --git a/rpc/src/v1/types/bytes.rs b/rpc/src/v1/types/bytes.rs index 4bfc4452f..e5792dd28 100644 --- a/rpc/src/v1/types/bytes.rs +++ b/rpc/src/v1/types/bytes.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Serializable wrapper around vector of bytes diff --git a/rpc/src/v1/types/call_request.rs b/rpc/src/v1/types/call_request.rs index 58f537bf3..ac465d3ca 100644 --- a/rpc/src/v1/types/call_request.rs +++ b/rpc/src/v1/types/call_request.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{H160, U256}; use v1::{helpers::CallRequest as Request, types::Bytes}; diff --git a/rpc/src/v1/types/confirmations.rs b/rpc/src/v1/types/confirmations.rs index 41305d38b..b64f1a5a3 100644 --- a/rpc/src/v1/types/confirmations.rs +++ b/rpc/src/v1/types/confirmations.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Types used in Confirmations queue (Trusted Signer) diff --git a/rpc/src/v1/types/derivation.rs b/rpc/src/v1/types/derivation.rs index f4e582813..c1f634040 100644 --- a/rpc/src/v1/types/derivation.rs +++ b/rpc/src/v1/types/derivation.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use serde::{ de::{Error, Visitor}, diff --git a/rpc/src/v1/types/eip191.rs b/rpc/src/v1/types/eip191.rs index 6e624eac9..6733cc778 100644 --- a/rpc/src/v1/types/eip191.rs +++ b/rpc/src/v1/types/eip191.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! EIP-191 specific types diff --git a/rpc/src/v1/types/filter.rs b/rpc/src/v1/types/filter.rs index 890b83ada..87c08e3c3 100644 --- a/rpc/src/v1/types/filter.rs +++ b/rpc/src/v1/types/filter.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{H160, H256}; use jsonrpc_core::Error as RpcError; diff --git a/rpc/src/v1/types/histogram.rs b/rpc/src/v1/types/histogram.rs index c53170d64..292bb7fd9 100644 --- a/rpc/src/v1/types/histogram.rs +++ b/rpc/src/v1/types/histogram.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Gas prices histogram. diff --git a/rpc/src/v1/types/index.rs b/rpc/src/v1/types/index.rs index 024e83d8a..9c25b7b61 100644 --- a/rpc/src/v1/types/index.rs +++ b/rpc/src/v1/types/index.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use serde::{ de::{Error, Visitor}, diff --git a/rpc/src/v1/types/log.rs b/rpc/src/v1/types/log.rs index d48014840..72278ca5d 100644 --- a/rpc/src/v1/types/log.rs +++ b/rpc/src/v1/types/log.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{H160, H256, U256}; use types::log_entry::{LocalizedLogEntry, LogEntry}; diff --git a/rpc/src/v1/types/mod.rs b/rpc/src/v1/types/mod.rs index 578dcfab1..2da3457d6 100644 --- a/rpc/src/v1/types/mod.rs +++ b/rpc/src/v1/types/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! RPC types diff --git a/rpc/src/v1/types/node_kind.rs b/rpc/src/v1/types/node_kind.rs index ae94491b4..d937cdcd5 100644 --- a/rpc/src/v1/types/node_kind.rs +++ b/rpc/src/v1/types/node_kind.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Description of the node. diff --git a/rpc/src/v1/types/provenance.rs b/rpc/src/v1/types/provenance.rs index 50c8db265..5311cc400 100644 --- a/rpc/src/v1/types/provenance.rs +++ b/rpc/src/v1/types/provenance.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Request Provenance diff --git a/rpc/src/v1/types/pubsub.rs b/rpc/src/v1/types/pubsub.rs index e1fcf0cf7..219d44a3e 100644 --- a/rpc/src/v1/types/pubsub.rs +++ b/rpc/src/v1/types/pubsub.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Pub-Sub types. diff --git a/rpc/src/v1/types/receipt.rs b/rpc/src/v1/types/receipt.rs index 3a5a1cd50..a524d1915 100644 --- a/rpc/src/v1/types/receipt.rs +++ b/rpc/src/v1/types/receipt.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{Bloom as H2048, H160, H256, U256, U64}; use types::receipt::{LocalizedReceipt, Receipt as EthReceipt, RichReceipt, TransactionOutcome}; diff --git a/rpc/src/v1/types/rpc_settings.rs b/rpc/src/v1/types/rpc_settings.rs index 92f8d9094..49472201b 100644 --- a/rpc/src/v1/types/rpc_settings.rs +++ b/rpc/src/v1/types/rpc_settings.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! RPC Settings data. diff --git a/rpc/src/v1/types/secretstore.rs b/rpc/src/v1/types/secretstore.rs index abc7abd0e..b73d4c1d3 100644 --- a/rpc/src/v1/types/secretstore.rs +++ b/rpc/src/v1/types/secretstore.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H512; use v1::types::Bytes; diff --git a/rpc/src/v1/types/sync.rs b/rpc/src/v1/types/sync.rs index dca320595..0563b557a 100644 --- a/rpc/src/v1/types/sync.rs +++ b/rpc/src/v1/types/sync.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use network::client_version::ClientVersion; use std::collections::BTreeMap; diff --git a/rpc/src/v1/types/trace.rs b/rpc/src/v1/types/trace.rs index 543b08f3b..e4595879b 100644 --- a/rpc/src/v1/types/trace.rs +++ b/rpc/src/v1/types/trace.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::collections::BTreeMap; diff --git a/rpc/src/v1/types/trace_filter.rs b/rpc/src/v1/types/trace_filter.rs index 6cf1f66d2..693b4b1bc 100644 --- a/rpc/src/v1/types/trace_filter.rs +++ b/rpc/src/v1/types/trace_filter.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Trace filter deserialization. diff --git a/rpc/src/v1/types/transaction.rs b/rpc/src/v1/types/transaction.rs index 6e1c95e82..a0d78ff44 100644 --- a/rpc/src/v1/types/transaction.rs +++ b/rpc/src/v1/types/transaction.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::sync::Arc; diff --git a/rpc/src/v1/types/transaction_condition.rs b/rpc/src/v1/types/transaction_condition.rs index 0f6ad1768..55b1d613c 100644 --- a/rpc/src/v1/types/transaction_condition.rs +++ b/rpc/src/v1/types/transaction_condition.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use types::transaction; diff --git a/rpc/src/v1/types/transaction_request.rs b/rpc/src/v1/types/transaction_request.rs index 19928fa86..8b896dc3c 100644 --- a/rpc/src/v1/types/transaction_request.rs +++ b/rpc/src/v1/types/transaction_request.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! `TransactionRequest` type diff --git a/rpc/src/v1/types/work.rs b/rpc/src/v1/types/work.rs index 947efaf5d..7425fa3b9 100644 --- a/rpc/src/v1/types/work.rs +++ b/rpc/src/v1/types/work.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{H256, U256}; diff --git a/scripts/actions/build-linux.sh b/scripts/actions/build-linux.sh index 994d2afa7..dcfc2e9ae 100755 --- a/scripts/actions/build-linux.sh +++ b/scripts/actions/build-linux.sh @@ -16,7 +16,7 @@ echo "_____ Post-processing binaries _____" rm -rf artifacts/* mkdir -p artifacts/ -cp -v target/release/parity artifacts/parity -cp -v target/release/parity-evm artifacts/parity-evm +cp -v target/release/openethereum artifacts/openethereum +cp -v target/release/openethereum-evm artifacts/openethereum-evm cp -v target/release/ethstore artifacts/ethstore cp -v target/release/ethkey artifacts/ethkey diff --git a/scripts/actions/build-windows.sh b/scripts/actions/build-windows.sh index 1082747a8..948e7f85e 100755 --- a/scripts/actions/build-windows.sh +++ b/scripts/actions/build-windows.sh @@ -15,7 +15,7 @@ echo "_____ Post-processing binaries _____" rm -rf artifacts mkdir -p artifacts -cp --verbose target/release/parity.exe artifacts/parity.exe -cp --verbose target/release/parity-evm.exe artifacts/parity-evm.exe +cp --verbose target/release/openethereum.exe artifacts/openethereum.exe +cp --verbose target/release/openethereum-evm.exe artifacts/openethereum-evm.exe cp --verbose target/release/ethstore.exe artifacts/ethstore.exe cp --verbose target/release/ethkey.exe artifacts/ethkey.exe diff --git a/scripts/actions/clean-target.sh b/scripts/actions/clean-target.sh index 6d161d5c2..a1cbb4f4f 100755 --- a/scripts/actions/clean-target.sh +++ b/scripts/actions/clean-target.sh @@ -4,5 +4,5 @@ set -e # fail on any error set -u # treat unset variables as error find ./target/release -maxdepth 1 -type f -delete; -rm -fr ./target/release/{deps,.fingerprint}/*{parity,ethcore,ethkey,ethstore,parity-evm}*; +rm -fr ./target/release/{deps,.fingerprint}/*{openethereum,ethcore,ethkey,ethstore,openethereum-evm}*; rm -f ./target/.rustc_info.json; diff --git a/scripts/doc.sh b/scripts/doc.sh index 18c875cc3..e005217cf 100755 --- a/scripts/doc.sh +++ b/scripts/doc.sh @@ -1,5 +1,5 @@ #!/usr/bin/env sh -# generate documentation only for partiy and ethcore libraries +# generate documentation only for openethereum and ethcore libraries cargo doc --no-deps --verbose --all && echo '' > target/doc/index.html diff --git a/scripts/docker/README.md b/scripts/docker/README.md index 25818503e..390abc7f8 100644 --- a/scripts/docker/README.md +++ b/scripts/docker/README.md @@ -1,40 +1,40 @@ ## Usage -```docker build -f docker/ubuntu/Dockerfile --tag ethcore/parity:branch_or_tag_name .``` +```docker build -f docker/ubuntu/Dockerfile --tag ethcore/openethereum:branch_or_tag_name .``` ## Usage - CentOS -Builds a lightweight non-root Parity docker image: +Builds a lightweight non-root OpenEthereum docker image: ``` -git clone https://github.com/paritytech/parity-ethereum.git -cd parity-ethereum +git clone https://github.com/openethereum/openethereum.git +cd openethereum ./scripts/docker/centos/build.sh ``` Fully customised build: ``` -PARITY_IMAGE_REPO=my-personal/parity \ -PARITY_BUILDER_IMAGE_TAG=build-latest \ -PARITY_RUNNER_IMAGE_TAG=centos-parity-experimental \ +OPENETHEREUM_IMAGE_REPO=my-personal/openethereum \ +OPENETHEREUM_BUILDER_IMAGE_TAG=build-latest \ +OPENETHEREUM_RUNNER_IMAGE_TAG=centos-openethereum-experimental \ ./scripts/docker/centos/build.sh ``` Default values: ``` # The image name -PARITY_IMAGE_REPO - parity/parity +OPENETHEREUM_IMAGE_REPO - openethereum/openethereum # The tag to be used for builder image, git commit sha will be appended -PARITY_BUILDER_IMAGE_TAG - build +OPENETHEREUM_BUILDER_IMAGE_TAG - build # The tag to be used for runner image -PARITY_RUNNER_IMAGE_TAG - latest +OPENETHEREUM_RUNNER_IMAGE_TAG - latest ``` All default ports you might use will be exposed: ``` # secret # store ui rpc ws listener discovery -# ↓ ↓ ↓ ↓ ↓ ↓ +# ↓ ↓ ↓ ↓ ↓ ↓ ↓ EXPOSE 8082 8083 8180 8545 8546 30303/tcp 30303/udp ``` diff --git a/scripts/docker/alpine/Dockerfile b/scripts/docker/alpine/Dockerfile index 47b37372e..800a092ca 100644 --- a/scripts/docker/alpine/Dockerfile +++ b/scripts/docker/alpine/Dockerfile @@ -10,34 +10,37 @@ RUN apk add --no-cache \ eudev-dev \ linux-headers \ perl \ - rust - -WORKDIR /parity -COPY . /parity -RUN cargo build --release --target x86_64-alpine-linux-musl --verbose -RUN strip target/x86_64-alpine-linux-musl/release/parity + rust \ + git +WORKDIR /openethereum +COPY . /openethereum +RUN cargo build --release --features final --target x86_64-alpine-linux-musl --verbose +RUN strip target/x86_64-alpine-linux-musl/release/openethereum FROM alpine:edge # show backtraces ENV RUST_BACKTRACE 1 +# curl and jq are installed to help create health and readiness checks on Kubernetes RUN apk add --no-cache \ libstdc++ \ eudev-libs \ - libgcc + libgcc \ + curl \ + jq -RUN addgroup -g 1000 parity \ - && adduser -u 1000 -G parity -s /bin/sh -D parity +RUN addgroup -g 1000 openethereum \ + && adduser -u 1000 -G openethereum -s /bin/sh -D openethereum -USER parity +USER openethereum EXPOSE 8080 8545 8180 -WORKDIR /home/parity +WORKDIR /home/openethereum -RUN mkdir -p /home/parity/.local/share/io.parity.ethereum/ -COPY --chown=parity:parity --from=builder /parity/target/x86_64-alpine-linux-musl/release/parity ./ +RUN mkdir -p /home/openethereum/.local/share/io.parity.ethereum/ +COPY --chown=openethereum:openethereum --from=builder /openethereum/target/x86_64-alpine-linux-musl/release/openethereum ./ -ENTRYPOINT ["./parity"] +ENTRYPOINT ["/home/openethereum/openethereum"] diff --git a/scripts/docker/centos/Dockerfile b/scripts/docker/centos/Dockerfile index 0b384dafe..824bdfe70 100644 --- a/scripts/docker/centos/Dockerfile +++ b/scripts/docker/centos/Dockerfile @@ -1,12 +1,12 @@ FROM centos:latest -RUN mkdir -p /opt/parity/data && \ - chmod g+rwX /opt/parity/data && \ - mkdir -p /opt/parity/release +RUN mkdir -p /opt/openethereum/data && \ + chmod g+rwX /opt/openethereum/data && \ + mkdir -p /opt/openethereum/release -COPY parity/parity /opt/parity/release +COPY openethereum/openethereum /opt/openethereum/release -WORKDIR /opt/parity/data +WORKDIR /opt/openethereum/data # exposing default ports # @@ -20,9 +20,4 @@ USER 1001 #if no base path provided, assume it's current workdir CMD ["--base-path","."] -ENTRYPOINT ["/opt/parity/release/parity"] - - - - - +ENTRYPOINT ["/opt/openethereum/release/openethereum"] diff --git a/scripts/docker/centos/Dockerfile.build b/scripts/docker/centos/Dockerfile.build index 454af403a..1d275fc1d 100644 --- a/scripts/docker/centos/Dockerfile.build +++ b/scripts/docker/centos/Dockerfile.build @@ -2,7 +2,7 @@ FROM centos:latest WORKDIR /build -ADD . /build/parity-ethereum +ADD . /build/openethereum RUN yum -y update && \ yum install -y systemd-devel git make gcc-c++ gcc file binutils && \ @@ -17,9 +17,9 @@ RUN yum -y update && \ gcc -v && \ g++ -v && \ cmake --version && \ - cd parity-ethereum && \ + cd openethereum && \ cargo build --verbose --release --features final && \ - strip /build/parity-ethereum/target/release/parity && \ - file /build/parity-ethereum/target/release/parity + strip /build/openethereum/target/release/openethereum && \ + file /build/openethereum/target/release/openethereum diff --git a/scripts/docker/centos/build.sh b/scripts/docker/centos/build.sh index df4796b91..4ce972b56 100755 --- a/scripts/docker/centos/build.sh +++ b/scripts/docker/centos/build.sh @@ -1,29 +1,29 @@ #!/usr/bin/env sh # The image name -PARITY_IMAGE_REPO=${PARITY_IMAGE_REPO:-parity/parity} +OPENETHEREUM_IMAGE_REPO=${OPENETHEREUM_IMAGE_REPO:-openethereum/openethereum} # The tag to be used for builder image -PARITY_BUILDER_IMAGE_TAG=${PARITY_BUILDER_IMAGE_TAG:-build} +OPENETHEREUM_BUILDER_IMAGE_TAG=${OPENETHEREUM_BUILDER_IMAGE_TAG:-build} # The tag to be used for runner image -PARITY_RUNNER_IMAGE_TAG=${PARITY_RUNNER_IMAGE_TAG:-latest} +OPENETHEREUM_RUNNER_IMAGE_TAG=${OPENETHEREUM_RUNNER_IMAGE_TAG:-latest} -echo Building $PARITY_IMAGE_REPO:$PARITY_BUILDER_IMAGE_TAG-$(git log -1 --format="%H") -docker build --no-cache -t $PARITY_IMAGE_REPO:$PARITY_BUILDER_IMAGE_TAG-$(git log -1 --format="%H") . -f scripts/docker/centos/Dockerfile.build +echo Building $OPENETHEREUM_IMAGE_REPO:$OPENETHEREUM_BUILDER_IMAGE_TAG-$(git log -1 --format="%H") +docker build --no-cache -t $OPENETHEREUM_IMAGE_REPO:$OPENETHEREUM_BUILDER_IMAGE_TAG-$(git log -1 --format="%H") . -f scripts/docker/centos/Dockerfile.build -echo Creating $PARITY_BUILDER_IMAGE_TAG-$(git log -1 --format="%H"), extracting binary -docker create --name extract $PARITY_IMAGE_REPO:$PARITY_BUILDER_IMAGE_TAG-$(git log -1 --format="%H") -mkdir scripts/docker/centos/parity -docker cp extract:/build/parity-ethereum/target/release/parity scripts/docker/centos/parity +echo Creating $OPENETHEREUM_BUILDER_IMAGE_TAG-$(git log -1 --format="%H"), extracting binary +docker create --name extract $OPENETHEREUM_IMAGE_REPO:$OPENETHEREUM_BUILDER_IMAGE_TAG-$(git log -1 --format="%H") +mkdir scripts/docker/centos/openethereum +docker cp extract:/build/openethereum/target/release/openethereum scripts/docker/centos/openethereum -echo Building $PARITY_IMAGE_REPO:$PARITY_RUNNER_IMAGE_TAG -docker build --no-cache -t $PARITY_IMAGE_REPO:$PARITY_RUNNER_IMAGE_TAG scripts/docker/centos/ -f scripts/docker/centos/Dockerfile +echo Building $OPENETHEREUM_IMAGE_REPO:$OPENETHEREUM_RUNNER_IMAGE_TAG +docker build --no-cache -t $OPENETHEREUM_IMAGE_REPO:$OPENETHEREUM_RUNNER_IMAGE_TAG scripts/docker/centos/ -f scripts/docker/centos/Dockerfile echo Cleaning up ... -rm -rf scripts/docker/centos/parity +rm -rf scripts/docker/centos/openethereum docker rm -f extract -docker rmi -f $PARITY_IMAGE_REPO:$PARITY_BUILDER_IMAGE_TAG-$(git log -1 --format="%H") +docker rmi -f $OPENETHEREUM_IMAGE_REPO:$OPENETHEREUM_BUILDER_IMAGE_TAG-$(git log -1 --format="%H") -echo Echoing Parity version: -docker run $PARITY_IMAGE_REPO:$PARITY_RUNNER_IMAGE_TAG --version +echo Echoing OpenEthereum version: +docker run $OPENETHEREUM_IMAGE_REPO:$OPENETHEREUM_RUNNER_IMAGE_TAG --version echo Done. diff --git a/scripts/docker/hub/Dockerfile b/scripts/docker/hub/Dockerfile index ac1dd32ee..64cc9003b 100644 --- a/scripts/docker/hub/Dockerfile +++ b/scripts/docker/hub/Dockerfile @@ -4,15 +4,15 @@ FROM ubuntu:xenial ARG VCS_REF ARG BUILD_DATE -LABEL io.parity.image.authors="devops-team@parity.io" \ - io.parity.image.vendor="Parity Technologies" \ - io.parity.image.title="parity/parity" \ - io.parity.image.description="Parity Ethereum. The Fastest and most Advanced Ethereum Client." \ - io.parity.image.source="https://github.com/paritytech/parity-ethereum/blob/${VCS_REF}/\ -scripts/docker/hub/Dockerfile" \ - io.parity.image.documentation="https://wiki.parity.io/Parity-Ethereum" \ - io.parity.image.revision="${VCS_REF}" \ - io.parity.image.created="${BUILD_DATE}" +LABEL openethereum.image.authors="devops-team@parity.io" \ + openethereum.image.vendor="OpenEthereum project" \ + openethereum.image.title="openethereum/openethereum" \ + openethereum.image.description="Fast and feature-rich multi-network Ethereum client." \ + openethereum.image.source="https://github.com/openethereum/openethereum/blob/${VCS_REF}/\ + scripts/docker/hub/Dockerfile" \ + openethereum.image.documentation="https://wiki.parity.io/Parity-Ethereum" \ + openethereum.image.revision="${VCS_REF}" \ + openethereum.image.created="${BUILD_DATE}" # show backtraces ENV RUST_BACKTRACE 1 @@ -21,28 +21,28 @@ ENV RUST_BACKTRACE 1 RUN set -eux; \ apt-get update; \ apt-get install -y --no-install-recommends \ - file curl jq; \ -# apt cleanup + file curl jq ca-certificates; \ + # apt cleanup apt-get autoremove -y; \ apt-get clean; \ + update-ca-certificates; \ rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*; \ -# add user - groupadd -g 1000 parity; \ - useradd -m -u 1000 -g parity -s /bin/sh parity + # add user + groupadd -g 1000 openethereum; \ + useradd -m -u 1000 -g openethereum -s /bin/sh openethereum -WORKDIR /home/parity +WORKDIR /home/openethereum -# add parity-ethereum binary to docker image -COPY artifacts/x86_64-unknown-linux-gnu/parity /bin/parity +# add openethereum binary to docker image +COPY artifacts/x86_64-unknown-linux-gnu/openethereum /bin/openethereum COPY tools/check_sync.sh /check_sync.sh -# switch to user parity here -USER parity +# switch to user openethereum here +USER openethereum # check if executable works in this container -RUN parity --version +RUN openethereum --version EXPOSE 5001 8080 8082 8083 8545 8546 8180 30303/tcp 30303/udp -ENTRYPOINT ["/bin/parity"] - +ENTRYPOINT ["/bin/openethereum"] diff --git a/scripts/docker/hub/check_sync.sh b/scripts/docker/hub/check_sync.sh index 4640a0538..bf492dd11 100755 --- a/scripts/docker/hub/check_sync.sh +++ b/scripts/docker/hub/check_sync.sh @@ -1,13 +1,13 @@ #!/bin/bash -# checks if parity has a fully synced blockchain +# checks if OpenEthereum has a fully synced blockchain ETH_SYNCING=$(curl -X POST --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' http://localhost:8545 -H 'Content-Type: application/json') RESULT=$(echo "$ETH_SYNCING" | jq -r .result) if [ "$RESULT" == "false" ]; then - echo "Parity is ready to start accepting traffic" + echo "OpenEthereum is ready to start accepting traffic" exit 0 else - echo "Parity is still syncing the blockchain" + echo "OpenEthereum is still syncing the blockchain" exit 1 fi diff --git a/scripts/docker/hub/publish-docker.sh b/scripts/docker/hub/publish-docker.sh index 84feedb28..09111548b 100755 --- a/scripts/docker/hub/publish-docker.sh +++ b/scripts/docker/hub/publish-docker.sh @@ -4,64 +4,53 @@ set -e # fail on any error VERSION=$(cat ./tools/VERSION) TRACK=$(cat ./tools/TRACK) -echo "Parity Ethereum version = ${VERSION}" -echo "Parity Ethereum track = ${TRACK}" +echo "OpenEthereum version = ${VERSION}" +echo "OpenEthereum track = ${TRACK}" -test "$Docker_Hub_User_Parity" -a "$Docker_Hub_Pass_Parity" \ +test "$Docker_Hub_User_OpenEthereum" -a "$Docker_Hub_Pass_OpenEthereum" \ || ( echo "no docker credentials provided"; exit 1 ) -docker login -u "$Docker_Hub_User_Parity" -p "$Docker_Hub_Pass_Parity" +docker login -u "$Docker_Hub_User_OpenEthereum" -p "$Docker_Hub_Pass_OpenEthereum" echo "__________Docker info__________" docker info # we stopped pushing nightlies to dockerhub, will push to own registry prb. case "${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}}" in "$SCHEDULE_TAG") - echo "Docker TAG - 'parity/parity:${SCHEDULE_TAG}'"; + echo "Docker TAG - 'openethereum/openethereum:${SCHEDULE_TAG}'"; docker build --no-cache \ --build-arg VCS_REF="${CI_COMMIT_SHA}" \ --build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')" \ - --tag "parity/parity:${SCHEDULE_TAG}" \ + --tag "openethereum/openethereum:${SCHEDULE_TAG}" \ --file tools/Dockerfile .; - docker push "parity/parity:${SCHEDULE_TAG}";; - "beta") - echo "Docker TAGs - 'parity/parity:beta', 'parity/parity:latest', \ - 'parity/parity:${VERSION}-${CI_COMMIT_REF_NAME}'"; - docker build --no-cache \ - --build-arg VCS_REF="${CI_COMMIT_SHA}" \ - --build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')" \ - --tag "parity/parity:beta" \ - --tag "parity/parity:latest" \ - --tag "parity/parity:${VERSION}-${CI_COMMIT_REF_NAME}" \ - --file tools/Dockerfile .; - docker push "parity/parity:beta"; - docker push "parity/parity:latest"; - docker push "parity/parity:${VERSION}-${CI_COMMIT_REF_NAME}";; + docker push "openethereum/openethereum:${SCHEDULE_TAG}";; "stable") - echo "Docker TAGs - 'parity/parity:${VERSION}-${CI_COMMIT_REF_NAME}', 'parity/parity:stable'"; + echo "Docker TAGs - 'openethereum/openethereum:${VERSION}-${CI_COMMIT_REF_NAME}', 'openethereum/openethereum:stable'"; docker build --no-cache \ --build-arg VCS_REF="${CI_COMMIT_SHA}" \ --build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')" \ - --tag "parity/parity:${VERSION}-${CI_COMMIT_REF_NAME}" \ - --tag "parity/parity:stable" \ + --tag "openethereum/openethereum:${VERSION}-${CI_COMMIT_REF_NAME}" \ + --tag "openethereum/openethereum:latest" \ + --tag "openethereum/openethereum:stable" \ --file tools/Dockerfile .; - docker push "parity/parity:${VERSION}-${CI_COMMIT_REF_NAME}"; - docker push "parity/parity:stable";; + docker push "openethereum/openethereum:${VERSION}-${CI_COMMIT_REF_NAME}"; + docker push "openethereum/openethereum:stable"; + docker push "openethereum/openethereum:latest";; v[0-9]*.[0-9]*) - echo "Docker TAG - 'parity/parity:${VERSION}-${TRACK}'" + echo "Docker TAG - 'openethereum/openethereum:${VERSION}-${TRACK}'" docker build --no-cache \ --build-arg VCS_REF="${CI_COMMIT_SHA}" \ --build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')" \ - --tag "parity/parity:${VERSION}-${TRACK}" \ + --tag "openethereum/openethereum:${VERSION}-${TRACK}" \ --file tools/Dockerfile .; - docker push "parity/parity:${VERSION}-${TRACK}";; + docker push "openethereum/openethereum:${VERSION}-${TRACK}";; *) - echo "Docker TAG - 'parity/parity:${VERSION}-${CI_COMMIT_REF_NAME}'" + echo "Docker TAG - 'openethereum/openethereum:${VERSION}-${CI_COMMIT_REF_NAME}'" docker build --no-cache \ --build-arg VCS_REF="${CI_COMMIT_SHA}" \ --build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')" \ - --tag "parity/parity:${VERSION}-${CI_COMMIT_REF_NAME}" \ + --tag "openethereum/openethereum:${VERSION}-${CI_COMMIT_REF_NAME}" \ --file tools/Dockerfile .; - docker push "parity/parity:${VERSION}-${CI_COMMIT_REF_NAME}";; + docker push "openethereum/openethereum:${VERSION}-${CI_COMMIT_REF_NAME}";; esac docker logout diff --git a/scripts/docker/ubuntu-aarch64/Dockerfile b/scripts/docker/ubuntu-aarch64/Dockerfile index 583789339..942e6ba68 100644 --- a/scripts/docker/ubuntu-aarch64/Dockerfile +++ b/scripts/docker/ubuntu-aarch64/Dockerfile @@ -19,10 +19,10 @@ RUN echo '# source urls for arm64 \n\ RUN apt-get -y update && \ apt-get upgrade -y && \ apt-get install -y --no-install-recommends \ - curl make cmake file ca-certificates \ - g++ gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \ - libc6-dev-arm64-cross binutils-aarch64-linux-gnu \ - && \ + curl make cmake file ca-certificates \ + g++ gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \ + libc6-dev-arm64-cross binutils-aarch64-linux-gnu \ + && \ apt-get clean # install rustup @@ -42,19 +42,19 @@ ENV RUST_BACKTRACE 1 # show tools RUN rustc -vV && cargo -V -# build parity -ADD . /build/parity -RUN cd parity && \ +# build OpenEthereum +ADD . /build/openethereum +RUN cd openethereum && \ mkdir -p .cargo && \ echo '[target.aarch64-unknown-linux-gnu]\n\ linker = "aarch64-linux-gnu-gcc"\n'\ >>.cargo/config && \ cat .cargo/config && \ cargo build --target aarch64-unknown-linux-gnu --release --verbose && \ - ls /build/parity/target/aarch64-unknown-linux-gnu/release/parity && \ - /usr/bin/aarch64-linux-gnu-strip /build/parity/target/aarch64-unknown-linux-gnu/release/parity + ls /build/openethereum/target/aarch64-unknown-linux-gnu/release/openethereum && \ + /usr/bin/aarch64-linux-gnu-strip /build/openethereum/target/aarch64-unknown-linux-gnu/release/openethereum -RUN file /build/parity/target/aarch64-unknown-linux-gnu/release/parity +RUN file /build/openethereum/target/aarch64-unknown-linux-gnu/release/openethereum EXPOSE 8080 8545 8180 -ENTRYPOINT ["/build/parity/target/aarch64-unknown-linux-gnu/release/parity"] +ENTRYPOINT ["/build/openethereum/target/aarch64-unknown-linux-gnu/release/openethereum"] diff --git a/scripts/docker/ubuntu-arm/Dockerfile b/scripts/docker/ubuntu-arm/Dockerfile index 56daa637a..360f7abd0 100644 --- a/scripts/docker/ubuntu-arm/Dockerfile +++ b/scripts/docker/ubuntu-arm/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get -y update && \ libc6-dev-armhf-cross wget file ca-certificates \ binutils-arm-linux-gnueabihf cmake3 \ && \ - apt-get clean + apt-get clean # install rustup RUN curl https://sh.rustup.rs -sSf | sh -s -- -y @@ -27,19 +27,19 @@ ENV RUST_BACKTRACE 1 # show tools RUN rustc -vV && cargo -V -# build parity -ADD . /build/parity -RUN cd parity && \ +# build OpenEthereum +ADD . /build/openethereum +RUN cd openethereum && \ mkdir -p .cargo && \ echo '[target.armv7-unknown-linux-gnueabihf]\n\ linker = "arm-linux-gnueabihf-gcc"\n'\ >>.cargo/config && \ cat .cargo/config && \ cargo build --target armv7-unknown-linux-gnueabihf --release --verbose && \ - ls /build/parity/target/armv7-unknown-linux-gnueabihf/release/parity && \ - /usr/bin/arm-linux-gnueabihf-strip /build/parity/target/armv7-unknown-linux-gnueabihf/release/parity + ls /build/openethereum/target/armv7-unknown-linux-gnueabihf/release/openethereum && \ + /usr/bin/arm-linux-gnueabihf-strip /build/openethereum/target/armv7-unknown-linux-gnueabihf/release/openethereum -RUN file /build/parity/target/armv7-unknown-linux-gnueabihf/release/parity +RUN file /build/openethereum/target/armv7-unknown-linux-gnueabihf/release/openethereum EXPOSE 8080 8545 8180 -ENTRYPOINT ["/build/parity/target/armv7-unknown-linux-gnueabihf/release/parity"] +ENTRYPOINT ["/build/openethereum/target/armv7-unknown-linux-gnueabihf/release/openethereum"] diff --git a/scripts/evm_jsontests_bench.sh b/scripts/evm_jsontests_bench.sh index acec90219..e13ff9ef4 100755 --- a/scripts/evm_jsontests_bench.sh +++ b/scripts/evm_jsontests_bench.sh @@ -2,15 +2,15 @@ cargo build --release -p evmbin -./target/release/parity-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmArithmeticTest -./target/release/parity-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmBitwiseLogicOperation -./target/release/parity-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmBlockInfoTest -./target/release/parity-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmEnvironmentalInfo -./target/release/parity-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmIOandFlowOperations -./target/release/parity-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmLogTest -./target/release/parity-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmPerformance -./target/release/parity-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmPushDupSwapTest -./target/release/parity-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmRandomTest -./target/release/parity-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmSha3Test -./target/release/parity-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmSystemOperations -./target/release/parity-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmTests +./target/release/openethereum-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmArithmeticTest +./target/release/openethereum-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmBitwiseLogicOperation +./target/release/openethereum-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmBlockInfoTest +./target/release/openethereum-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmEnvironmentalInfo +./target/release/openethereum-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmIOandFlowOperations +./target/release/openethereum-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmLogTest +./target/release/openethereum-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmPerformance +./target/release/openethereum-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmPushDupSwapTest +./target/release/openethereum-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmRandomTest +./target/release/openethereum-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmSha3Test +./target/release/openethereum-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmSystemOperations +./target/release/openethereum-evm stats-jsontests-vm ./ethcore/res/ethereum/tests/VMTests/vmTests diff --git a/scripts/evm_uint_bench.sh b/scripts/evm_uint_bench.sh index b0ca1c4f7..30f313fbc 100755 --- a/scripts/evm_uint_bench.sh +++ b/scripts/evm_uint_bench.sh @@ -8,9 +8,9 @@ if [ -x "$(command -v ethvm)" ]; then ethvm --code $CODE1 echo "^^^^ ethvm" fi -./target/release/parity-evm stats --code $CODE1 --gas 4402000 +./target/release/openethereum-evm stats --code $CODE1 --gas 4402000 echo "^^^^ usize" -./target/release/parity-evm stats --code $CODE1 +./target/release/openethereum-evm stats --code $CODE1 echo "^^^^ U256" # RNG TEST @@ -19,7 +19,7 @@ if [ -x "$(command -v ethvm)" ]; then ethvm --code $CODE2 echo "^^^^ ethvm" fi -./target/release/parity-evm stats --code $CODE2 --gas 143020115 +./target/release/openethereum-evm stats --code $CODE2 --gas 143020115 echo "^^^^ usize" -./target/release/parity-evm stats --code $CODE2 +./target/release/openethereum-evm stats --code $CODE2 echo "^^^^ U256" diff --git a/scripts/parity.service b/scripts/parity.service index 24e14282b..1201d7d70 100644 --- a/scripts/parity.service +++ b/scripts/parity.service @@ -1,19 +1,19 @@ [Unit] -Description=Parity Ethereum Daemon +Description=OpenEthereum Daemon After=network.target [Service] # run as root, set base_path in config.toml -ExecStart=/usr/bin/parity --config /etc/parity/config.toml +ExecStart=/usr/bin/openethereum --config /etc/openethereum/config.toml # To run as user, comment out above and uncomment below, fill in user and group # picks up users default config.toml in $HOME/.local/share/io.parity.ethereum/ # User=username # Group=groupname -# ExecStart=/usr/bin/parity +# ExecStart=/usr/bin/openethereum Restart=on-failure # Specifies which signal to use when killing a service. Defaults to SIGTERM. -# SIGHUP gives parity time to exit cleanly before SIGKILL (default 90s) +# SIGHUP gives openethereum time to exit cleanly before SIGKILL (default 90s) KillSignal=SIGHUP [Install] diff --git a/scripts/snap/parity.desktop b/scripts/snap/parity.desktop index 1833865de..8ac292daf 100644 --- a/scripts/snap/parity.desktop +++ b/scripts/snap/parity.desktop @@ -1,8 +1,8 @@ [Desktop Entry] Type=Application Encoding=UTF-8 -Name=Parity Ethereum -Comment=The fastest and most advanced Ethereum client. -Exec=parity +Name=OpenEthereum +Comment=Fast and feature-rich multi-network Ethereum client. +Exec=openethereum Icon=/usr/share/pixmaps/icon.png Terminal=true diff --git a/scripts/snap/snapcraft.template.yaml b/scripts/snap/snapcraft.template.yaml index eba7c7f25..c86f3260c 100644 --- a/scripts/snap/snapcraft.template.yaml +++ b/scripts/snap/snapcraft.template.yaml @@ -1,23 +1,23 @@ -name: parity +name: openethereum version: $VERSION architectures: [$BUILD_ARCH] grade: $GRADE confinement: strict -summary: Fast, light, robust Ethereum implementation +summary: Fast and feature-rich multi-network Ethereum client. description: | - Parity's goal is to be the fastest, lightest, and most secure Ethereum - client. We are developing Parity using the sophisticated and cutting-edge - Rust programming language. Parity is licensed under the GPLv3, and can be + OpenEthereum's goal is to be the fastest, lightest, and most secure Ethereum + client. We are developing OpenEthereum using the sophisticated and cutting-edge + Rust programming language. OpenEthereum is licensed under the GPLv3, and can be used for all your Ethereum needs. apps: - parity: - command: parity + openethereum: + command: openethereum plugs: [home, network, network-bind, mount-observe, removable-media, x11, unity7, desktop, desktop-legacy, wayland] - desktop: ./usr/share/applications/parity.desktop - parity-evm: - command: parity-evm + desktop: ./usr/share/applications/openethereum.desktop + openethereum-evm: + command: openethereum-evm plugs: [home, network, network-bind, removable-media] ethkey: command: ethkey @@ -35,15 +35,15 @@ parts: override-build: | mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/applications mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps - cp -v ./parity.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/ + cp -v ./openethereum.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/ cp -v ./icon.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/ - parity: + openethereum: source: ./artifacts/$CARGO_TARGET plugin: nil override-build: | mkdir -p $SNAPCRAFT_PART_INSTALL/usr/bin - cp -v parity $SNAPCRAFT_PART_INSTALL/usr/bin/parity - cp -v parity-evm $SNAPCRAFT_PART_INSTALL/usr/bin/parity-evm + cp -v openethereum $SNAPCRAFT_PART_INSTALL/usr/bin/openethereum + cp -v openethereum-evm $SNAPCRAFT_PART_INSTALL/usr/bin/openethereum-evm cp -v ethkey $SNAPCRAFT_PART_INSTALL/usr/bin/ethkey cp -v ethstore $SNAPCRAFT_PART_INSTALL/usr/bin/ethstore stage-packages: [libstdc++6, cmake, libdb5.3] diff --git a/secret-store/src/acl_storage.rs b/secret-store/src/acl_storage.rs index 90b842a2c..d853145d7 100644 --- a/secret-store/src/acl_storage.rs +++ b/secret-store/src/acl_storage.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use call_contract::CallContract; use ethabi::FunctionOutputDecoder; diff --git a/secret-store/src/helpers.rs b/secret-store/src/helpers.rs index 7d52006fc..95fcdbbdf 100644 --- a/secret-store/src/helpers.rs +++ b/secret-store/src/helpers.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethcore::client::{BlockChainClient, BlockId, Client}; use ethereum_types::H256; diff --git a/secret-store/src/key_server.rs b/secret-store/src/key_server.rs index 35c996b92..64c4d4ebe 100644 --- a/secret-store/src/key_server.rs +++ b/secret-store/src/key_server.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{acl_storage::AclStorage, key_server_set::KeyServerSet, key_storage::KeyStorage}; use crypto::DEFAULT_MAC; diff --git a/secret-store/src/key_server_cluster/admin_sessions/key_version_negotiation_session.rs b/secret-store/src/key_server_cluster/admin_sessions/key_version_negotiation_session.rs index 1ef29ae5e..442600a06 100644 --- a/secret-store/src/key_server_cluster/admin_sessions/key_version_negotiation_session.rs +++ b/secret-store/src/key_server_cluster/admin_sessions/key_version_negotiation_session.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{Address, H256}; use ethkey::Secret; diff --git a/secret-store/src/key_server_cluster/admin_sessions/mod.rs b/secret-store/src/key_server_cluster/admin_sessions/mod.rs index 7cb0bef07..a7daa73a6 100644 --- a/secret-store/src/key_server_cluster/admin_sessions/mod.rs +++ b/secret-store/src/key_server_cluster/admin_sessions/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . pub mod key_version_negotiation_session; pub mod servers_set_change_session; diff --git a/secret-store/src/key_server_cluster/admin_sessions/servers_set_change_session.rs b/secret-store/src/key_server_cluster/admin_sessions/servers_set_change_session.rs index 1eef28d54..26b689e92 100644 --- a/secret-store/src/key_server_cluster/admin_sessions/servers_set_change_session.rs +++ b/secret-store/src/key_server_cluster/admin_sessions/servers_set_change_session.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use ethkey::{Public, Signature}; diff --git a/secret-store/src/key_server_cluster/admin_sessions/sessions_queue.rs b/secret-store/src/key_server_cluster/admin_sessions/sessions_queue.rs index 38215eb14..8ebe8f6e8 100644 --- a/secret-store/src/key_server_cluster/admin_sessions/sessions_queue.rs +++ b/secret-store/src/key_server_cluster/admin_sessions/sessions_queue.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use key_server_cluster::{Error, KeyStorage, SessionId}; use std::{ diff --git a/secret-store/src/key_server_cluster/admin_sessions/share_add_session.rs b/secret-store/src/key_server_cluster/admin_sessions/share_add_session.rs index 1fb915820..df60e2f39 100644 --- a/secret-store/src/key_server_cluster/admin_sessions/share_add_session.rs +++ b/secret-store/src/key_server_cluster/admin_sessions/share_add_session.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{Address, H256}; use ethkey::{Public, Secret, Signature}; diff --git a/secret-store/src/key_server_cluster/admin_sessions/share_change_session.rs b/secret-store/src/key_server_cluster/admin_sessions/share_change_session.rs index 8f8a50849..336a2e0d8 100644 --- a/secret-store/src/key_server_cluster/admin_sessions/share_change_session.rs +++ b/secret-store/src/key_server_cluster/admin_sessions/share_change_session.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use ethkey::Secret; diff --git a/secret-store/src/key_server_cluster/client_sessions/decryption_session.rs b/secret-store/src/key_server_cluster/client_sessions/decryption_session.rs index 958dd4662..6cd01b606 100644 --- a/secret-store/src/key_server_cluster/client_sessions/decryption_session.rs +++ b/secret-store/src/key_server_cluster/client_sessions/decryption_session.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{Address, H256}; use ethkey::Secret; diff --git a/secret-store/src/key_server_cluster/client_sessions/encryption_session.rs b/secret-store/src/key_server_cluster/client_sessions/encryption_session.rs index e7c845c94..09176fd0c 100644 --- a/secret-store/src/key_server_cluster/client_sessions/encryption_session.rs +++ b/secret-store/src/key_server_cluster/client_sessions/encryption_session.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::Address; use ethkey::Public; diff --git a/secret-store/src/key_server_cluster/client_sessions/generation_session.rs b/secret-store/src/key_server_cluster/client_sessions/generation_session.rs index 3b28b99fe..aebba1616 100644 --- a/secret-store/src/key_server_cluster/client_sessions/generation_session.rs +++ b/secret-store/src/key_server_cluster/client_sessions/generation_session.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::Address; use ethkey::{Public, Secret}; diff --git a/secret-store/src/key_server_cluster/client_sessions/mod.rs b/secret-store/src/key_server_cluster/client_sessions/mod.rs index 7815a74fb..4ac68dcc1 100644 --- a/secret-store/src/key_server_cluster/client_sessions/mod.rs +++ b/secret-store/src/key_server_cluster/client_sessions/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . pub mod decryption_session; pub mod encryption_session; diff --git a/secret-store/src/key_server_cluster/client_sessions/signing_session_ecdsa.rs b/secret-store/src/key_server_cluster/client_sessions/signing_session_ecdsa.rs index dc46328f9..1c066a461 100644 --- a/secret-store/src/key_server_cluster/client_sessions/signing_session_ecdsa.rs +++ b/secret-store/src/key_server_cluster/client_sessions/signing_session_ecdsa.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use ethkey::{sign, Public, Secret, Signature}; diff --git a/secret-store/src/key_server_cluster/client_sessions/signing_session_schnorr.rs b/secret-store/src/key_server_cluster/client_sessions/signing_session_schnorr.rs index 4c81f54e2..e307240d9 100644 --- a/secret-store/src/key_server_cluster/client_sessions/signing_session_schnorr.rs +++ b/secret-store/src/key_server_cluster/client_sessions/signing_session_schnorr.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use ethkey::{Public, Secret}; diff --git a/secret-store/src/key_server_cluster/cluster.rs b/secret-store/src/key_server_cluster/cluster.rs index e99b3e3c3..05fa63321 100644 --- a/secret-store/src/key_server_cluster/cluster.rs +++ b/secret-store/src/key_server_cluster/cluster.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{Address, H256}; use ethkey::{Generator, Public, Random, Signature}; diff --git a/secret-store/src/key_server_cluster/cluster_connections.rs b/secret-store/src/key_server_cluster/cluster_connections.rs index d9f4202a6..97b7b85fb 100644 --- a/secret-store/src/key_server_cluster/cluster_connections.rs +++ b/secret-store/src/key_server_cluster/cluster_connections.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2018 Parity Technologies (UK) Ltd. -// This file is part of Parity. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity. If not, see . +// along with OpenEthereum. If not, see . use key_server_cluster::{message::Message, Error, NodeId}; use std::{collections::BTreeSet, sync::Arc}; diff --git a/secret-store/src/key_server_cluster/cluster_connections_net.rs b/secret-store/src/key_server_cluster/cluster_connections_net.rs index 88ad3ed06..7e89a91ec 100644 --- a/secret-store/src/key_server_cluster/cluster_connections_net.rs +++ b/secret-store/src/key_server_cluster/cluster_connections_net.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2018 Parity Technologies (UK) Ltd. -// This file is part of Parity. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity. If not, see . +// along with OpenEthereum. If not, see . use ethkey::KeyPair; use futures::{future, Future, Stream}; diff --git a/secret-store/src/key_server_cluster/cluster_message_processor.rs b/secret-store/src/key_server_cluster/cluster_message_processor.rs index d142349c0..6536a6e23 100644 --- a/secret-store/src/key_server_cluster/cluster_message_processor.rs +++ b/secret-store/src/key_server_cluster/cluster_message_processor.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2018 Parity Technologies (UK) Ltd. -// This file is part of Parity. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity. If not, see . +// along with OpenEthereum. If not, see . use key_server_cluster::{ cluster::{new_servers_set_change_session, ServersSetChangeParams}, diff --git a/secret-store/src/key_server_cluster/cluster_sessions.rs b/secret-store/src/key_server_cluster/cluster_sessions.rs index 65d2d22a2..a9a97b805 100644 --- a/secret-store/src/key_server_cluster/cluster_sessions.rs +++ b/secret-store/src/key_server_cluster/cluster_sessions.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use ethkey::Secret; diff --git a/secret-store/src/key_server_cluster/cluster_sessions_creator.rs b/secret-store/src/key_server_cluster/cluster_sessions_creator.rs index 4f1427f7d..0f41bbbe6 100644 --- a/secret-store/src/key_server_cluster/cluster_sessions_creator.rs +++ b/secret-store/src/key_server_cluster/cluster_sessions_creator.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethkey::Public; use key_server_cluster::{ diff --git a/secret-store/src/key_server_cluster/connection_trigger.rs b/secret-store/src/key_server_cluster/connection_trigger.rs index 654a38226..fe26ee403 100644 --- a/secret-store/src/key_server_cluster/connection_trigger.rs +++ b/secret-store/src/key_server_cluster/connection_trigger.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use ethkey::Public; diff --git a/secret-store/src/key_server_cluster/connection_trigger_with_migration.rs b/secret-store/src/key_server_cluster/connection_trigger_with_migration.rs index ed843ec35..6ce17b348 100644 --- a/secret-store/src/key_server_cluster/connection_trigger_with_migration.rs +++ b/secret-store/src/key_server_cluster/connection_trigger_with_migration.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use ethkey::Public; diff --git a/secret-store/src/key_server_cluster/io/deadline.rs b/secret-store/src/key_server_cluster/io/deadline.rs index a8597cb0d..130c10550 100644 --- a/secret-store/src/key_server_cluster/io/deadline.rs +++ b/secret-store/src/key_server_cluster/io/deadline.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use futures::{Future, Poll}; use std::{io, time::Duration}; diff --git a/secret-store/src/key_server_cluster/io/handshake.rs b/secret-store/src/key_server_cluster/io/handshake.rs index d9e56d7b5..3952b4c7c 100644 --- a/secret-store/src/key_server_cluster/io/handshake.rs +++ b/secret-store/src/key_server_cluster/io/handshake.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use ethkey::{ diff --git a/secret-store/src/key_server_cluster/io/message.rs b/secret-store/src/key_server_cluster/io/message.rs index 12f329ae5..c82e3739c 100644 --- a/secret-store/src/key_server_cluster/io/message.rs +++ b/secret-store/src/key_server_cluster/io/message.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use byteorder::{LittleEndian, ReadBytesExt, WriteBytesExt}; use ethereum_types::{H256, U256}; diff --git a/secret-store/src/key_server_cluster/io/mod.rs b/secret-store/src/key_server_cluster/io/mod.rs index 7d233b36e..54b0d963d 100644 --- a/secret-store/src/key_server_cluster/io/mod.rs +++ b/secret-store/src/key_server_cluster/io/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . mod deadline; mod handshake; diff --git a/secret-store/src/key_server_cluster/io/read_header.rs b/secret-store/src/key_server_cluster/io/read_header.rs index c4f407581..c33b10abe 100644 --- a/secret-store/src/key_server_cluster/io/read_header.rs +++ b/secret-store/src/key_server_cluster/io/read_header.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use futures::{Async, Future, Poll}; use key_server_cluster::{ diff --git a/secret-store/src/key_server_cluster/io/read_message.rs b/secret-store/src/key_server_cluster/io/read_message.rs index 3dad05843..12726ea38 100644 --- a/secret-store/src/key_server_cluster/io/read_message.rs +++ b/secret-store/src/key_server_cluster/io/read_message.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethkey::KeyPair; use futures::{Async, Future, Poll}; diff --git a/secret-store/src/key_server_cluster/io/read_payload.rs b/secret-store/src/key_server_cluster/io/read_payload.rs index 7eca7050f..749e9d40e 100644 --- a/secret-store/src/key_server_cluster/io/read_payload.rs +++ b/secret-store/src/key_server_cluster/io/read_payload.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethkey::KeyPair; use futures::{Future, Poll}; diff --git a/secret-store/src/key_server_cluster/io/shared_tcp_stream.rs b/secret-store/src/key_server_cluster/io/shared_tcp_stream.rs index de128189b..5136088ad 100644 --- a/secret-store/src/key_server_cluster/io/shared_tcp_stream.rs +++ b/secret-store/src/key_server_cluster/io/shared_tcp_stream.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use futures::Poll; use std::{ diff --git a/secret-store/src/key_server_cluster/io/write_message.rs b/secret-store/src/key_server_cluster/io/write_message.rs index 19be86de8..79de02b9e 100644 --- a/secret-store/src/key_server_cluster/io/write_message.rs +++ b/secret-store/src/key_server_cluster/io/write_message.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethkey::KeyPair; use futures::{Future, Poll}; diff --git a/secret-store/src/key_server_cluster/jobs/consensus_session.rs b/secret-store/src/key_server_cluster/jobs/consensus_session.rs index 58a6c2f69..596b92143 100644 --- a/secret-store/src/key_server_cluster/jobs/consensus_session.rs +++ b/secret-store/src/key_server_cluster/jobs/consensus_session.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use key_server_cluster::{ jobs::job_session::{ diff --git a/secret-store/src/key_server_cluster/jobs/decryption_job.rs b/secret-store/src/key_server_cluster/jobs/decryption_job.rs index 342429d7c..78cce64fb 100644 --- a/secret-store/src/key_server_cluster/jobs/decryption_job.rs +++ b/secret-store/src/key_server_cluster/jobs/decryption_job.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use crypto::DEFAULT_MAC; use ethereum_types::H256; diff --git a/secret-store/src/key_server_cluster/jobs/dummy_job.rs b/secret-store/src/key_server_cluster/jobs/dummy_job.rs index 06020b835..e5f438fee 100644 --- a/secret-store/src/key_server_cluster/jobs/dummy_job.rs +++ b/secret-store/src/key_server_cluster/jobs/dummy_job.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use key_server_cluster::{ jobs::job_session::{ diff --git a/secret-store/src/key_server_cluster/jobs/job_session.rs b/secret-store/src/key_server_cluster/jobs/job_session.rs index 0892aa278..3a70debb2 100644 --- a/secret-store/src/key_server_cluster/jobs/job_session.rs +++ b/secret-store/src/key_server_cluster/jobs/job_session.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use key_server_cluster::{Error, NodeId, SessionMeta}; use std::collections::{BTreeMap, BTreeSet}; diff --git a/secret-store/src/key_server_cluster/jobs/key_access_job.rs b/secret-store/src/key_server_cluster/jobs/key_access_job.rs index 59900ece6..2c87b329e 100644 --- a/secret-store/src/key_server_cluster/jobs/key_access_job.rs +++ b/secret-store/src/key_server_cluster/jobs/key_access_job.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use key_server_cluster::{ jobs::job_session::{JobExecutor, JobPartialRequestAction, JobPartialResponseAction}, diff --git a/secret-store/src/key_server_cluster/jobs/mod.rs b/secret-store/src/key_server_cluster/jobs/mod.rs index 543f3e1bb..e41758069 100644 --- a/secret-store/src/key_server_cluster/jobs/mod.rs +++ b/secret-store/src/key_server_cluster/jobs/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . pub mod consensus_session; pub mod decryption_job; diff --git a/secret-store/src/key_server_cluster/jobs/servers_set_change_access_job.rs b/secret-store/src/key_server_cluster/jobs/servers_set_change_access_job.rs index bb4bfd9b2..76ef84786 100644 --- a/secret-store/src/key_server_cluster/jobs/servers_set_change_access_job.rs +++ b/secret-store/src/key_server_cluster/jobs/servers_set_change_access_job.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethkey::{recover, Public, Signature}; use key_server_cluster::{ diff --git a/secret-store/src/key_server_cluster/jobs/signing_job_ecdsa.rs b/secret-store/src/key_server_cluster/jobs/signing_job_ecdsa.rs index 6b64ef4f9..d2cfce50f 100644 --- a/secret-store/src/key_server_cluster/jobs/signing_job_ecdsa.rs +++ b/secret-store/src/key_server_cluster/jobs/signing_job_ecdsa.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use ethkey::{Public, Secret, Signature}; diff --git a/secret-store/src/key_server_cluster/jobs/signing_job_schnorr.rs b/secret-store/src/key_server_cluster/jobs/signing_job_schnorr.rs index 643920589..d5edd89e6 100644 --- a/secret-store/src/key_server_cluster/jobs/signing_job_schnorr.rs +++ b/secret-store/src/key_server_cluster/jobs/signing_job_schnorr.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use ethkey::{Public, Secret}; diff --git a/secret-store/src/key_server_cluster/jobs/unknown_sessions_job.rs b/secret-store/src/key_server_cluster/jobs/unknown_sessions_job.rs index 9f20d4a1c..4e7e18e59 100644 --- a/secret-store/src/key_server_cluster/jobs/unknown_sessions_job.rs +++ b/secret-store/src/key_server_cluster/jobs/unknown_sessions_job.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use key_server_cluster::{ jobs::job_session::{JobExecutor, JobPartialRequestAction, JobPartialResponseAction}, diff --git a/secret-store/src/key_server_cluster/math.rs b/secret-store/src/key_server_cluster/math.rs index a5aef488c..7394170ae 100644 --- a/secret-store/src/key_server_cluster/math.rs +++ b/secret-store/src/key_server_cluster/math.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{H256, U256}; use ethkey::{math, Generator, Public, Random, Secret, Signature}; diff --git a/secret-store/src/key_server_cluster/message.rs b/secret-store/src/key_server_cluster/message.rs index 92385a11e..8e05ff380 100644 --- a/secret-store/src/key_server_cluster/message.rs +++ b/secret-store/src/key_server_cluster/message.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::{ Error, SerializableAddress, SerializableH256, SerializableMessageHash, SerializablePublic, diff --git a/secret-store/src/key_server_cluster/mod.rs b/secret-store/src/key_server_cluster/mod.rs index e4b7bb95b..a98cdf2ce 100644 --- a/secret-store/src/key_server_cluster/mod.rs +++ b/secret-store/src/key_server_cluster/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use super::types::ServerKeyId; diff --git a/secret-store/src/key_server_cluster/net/accept_connection.rs b/secret-store/src/key_server_cluster/net/accept_connection.rs index ceaea48e0..82f91f269 100644 --- a/secret-store/src/key_server_cluster/net/accept_connection.rs +++ b/secret-store/src/key_server_cluster/net/accept_connection.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use futures::{Future, Poll}; use key_server_cluster::{ diff --git a/secret-store/src/key_server_cluster/net/connect.rs b/secret-store/src/key_server_cluster/net/connect.rs index b633a88c2..40c25e414 100644 --- a/secret-store/src/key_server_cluster/net/connect.rs +++ b/secret-store/src/key_server_cluster/net/connect.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use futures::{Async, Future, Poll}; use key_server_cluster::{ diff --git a/secret-store/src/key_server_cluster/net/connection.rs b/secret-store/src/key_server_cluster/net/connection.rs index 2dbae7461..769d15ef9 100644 --- a/secret-store/src/key_server_cluster/net/connection.rs +++ b/secret-store/src/key_server_cluster/net/connection.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethkey::KeyPair; use key_server_cluster::{io::SharedTcpStream, NodeId}; diff --git a/secret-store/src/key_server_cluster/net/mod.rs b/secret-store/src/key_server_cluster/net/mod.rs index 66327632f..43874b0c6 100644 --- a/secret-store/src/key_server_cluster/net/mod.rs +++ b/secret-store/src/key_server_cluster/net/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . mod accept_connection; mod connect; diff --git a/secret-store/src/key_server_set.rs b/secret-store/src/key_server_set.rs index 4b803eab9..158e6cc0a 100644 --- a/secret-store/src/key_server_set.rs +++ b/secret-store/src/key_server_set.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use bytes::Bytes; use call_contract::CallContract; diff --git a/secret-store/src/key_storage.rs b/secret-store/src/key_storage.rs index 77a2e339f..8fcbfec28 100644 --- a/secret-store/src/key_storage.rs +++ b/secret-store/src/key_storage.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{Address, H256}; use ethkey::{public_to_address, Public, Secret}; diff --git a/secret-store/src/lib.rs b/secret-store/src/lib.rs index f0a46c307..51342346e 100644 --- a/secret-store/src/lib.rs +++ b/secret-store/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate byteorder; extern crate common_types; diff --git a/secret-store/src/listener/http_listener.rs b/secret-store/src/listener/http_listener.rs index 73d63980e..71821162a 100644 --- a/secret-store/src/listener/http_listener.rs +++ b/secret-store/src/listener/http_listener.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use futures::{future, Future, Stream}; use hyper::{ diff --git a/secret-store/src/listener/mod.rs b/secret-store/src/listener/mod.rs index de36fa62b..4e30e266e 100644 --- a/secret-store/src/listener/mod.rs +++ b/secret-store/src/listener/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . pub mod http_listener; pub mod service_contract; diff --git a/secret-store/src/listener/service_contract.rs b/secret-store/src/listener/service_contract.rs index 98360a91c..23e29cb03 100644 --- a/secret-store/src/listener/service_contract.rs +++ b/secret-store/src/listener/service_contract.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use bytes::Bytes; use call_contract::CallContract; diff --git a/secret-store/src/listener/service_contract_aggregate.rs b/secret-store/src/listener/service_contract_aggregate.rs index c6a06f88a..1558a17da 100644 --- a/secret-store/src/listener/service_contract_aggregate.rs +++ b/secret-store/src/listener/service_contract_aggregate.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use bytes::Bytes; use ethereum_types::Address; diff --git a/secret-store/src/listener/service_contract_listener.rs b/secret-store/src/listener/service_contract_listener.rs index 599e183c6..6e8fb7eb1 100644 --- a/secret-store/src/listener/service_contract_listener.rs +++ b/secret-store/src/listener/service_contract_listener.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use acl_storage::AclStorage; use bytes::Bytes; diff --git a/secret-store/src/listener/tasks_queue.rs b/secret-store/src/listener/tasks_queue.rs index 2dffdc2d0..cfff85e09 100644 --- a/secret-store/src/listener/tasks_queue.rs +++ b/secret-store/src/listener/tasks_queue.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use parking_lot::{Condvar, Mutex}; use std::collections::VecDeque; diff --git a/secret-store/src/node_key_pair.rs b/secret-store/src/node_key_pair.rs index 64747523d..9d0e7724f 100644 --- a/secret-store/src/node_key_pair.rs +++ b/secret-store/src/node_key_pair.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{Address, H256}; use ethkey::{ diff --git a/secret-store/src/serialization.rs b/secret-store/src/serialization.rs index 059a05d75..e6b18353b 100644 --- a/secret-store/src/serialization.rs +++ b/secret-store/src/serialization.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use bytes::Bytes; use ethereum_types::{H160, H256}; diff --git a/secret-store/src/traits.rs b/secret-store/src/traits.rs index c10273791..acec86474 100644 --- a/secret-store/src/traits.rs +++ b/secret-store/src/traits.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{Address, H256}; use ethkey::{Error as EthKeyError, KeyPair, Signature}; diff --git a/secret-store/src/trusted_client.rs b/secret-store/src/trusted_client.rs index 1a122330b..1098443df 100644 --- a/secret-store/src/trusted_client.rs +++ b/secret-store/src/trusted_client.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use bytes::Bytes; use call_contract::RegistryInfo; diff --git a/secret-store/src/types/all.rs b/secret-store/src/types/all.rs index 419c1d1cb..c3b5fe5d1 100644 --- a/secret-store/src/types/all.rs +++ b/secret-store/src/types/all.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::collections::BTreeMap; diff --git a/secret-store/src/types/error.rs b/secret-store/src/types/error.rs index ee2ac5a00..8c0eeef9f 100644 --- a/secret-store/src/types/error.rs +++ b/secret-store/src/types/error.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{fmt, io::Error as IoError, net}; diff --git a/secret-store/src/types/mod.rs b/secret-store/src/types/mod.rs index 2e8dc75f2..d78d42ad2 100644 --- a/secret-store/src/types/mod.rs +++ b/secret-store/src/types/mod.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Types used in the public api diff --git a/secret_store/src/key_server_cluster/cluster_connections.rs b/secret_store/src/key_server_cluster/cluster_connections.rs index b484e6d8e..1d6f57797 100644 --- a/secret_store/src/key_server_cluster/cluster_connections.rs +++ b/secret_store/src/key_server_cluster/cluster_connections.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2018 Parity Technologies (UK) Ltd. -// This file is part of Parity. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity. If not, see . +// along with OpenEthereum. If not, see . use std::collections::BTreeSet; use std::sync::Arc; diff --git a/secret_store/src/key_server_cluster/cluster_connections_net.rs b/secret_store/src/key_server_cluster/cluster_connections_net.rs index bda7f7dd2..c78b9bbfd 100644 --- a/secret_store/src/key_server_cluster/cluster_connections_net.rs +++ b/secret_store/src/key_server_cluster/cluster_connections_net.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2018 Parity Technologies (UK) Ltd. -// This file is part of Parity. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity. If not, see . +// along with OpenEthereum. If not, see . use std::collections::{BTreeMap, BTreeSet}; use std::collections::btree_map::Entry; diff --git a/secret_store/src/key_server_cluster/cluster_message_processor.rs b/secret_store/src/key_server_cluster/cluster_message_processor.rs index b4ba5ef03..b06978f84 100644 --- a/secret_store/src/key_server_cluster/cluster_message_processor.rs +++ b/secret_store/src/key_server_cluster/cluster_message_processor.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2018 Parity Technologies (UK) Ltd. -// This file is part of Parity. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity. If not, see . +// along with OpenEthereum. If not, see . use std::sync::Arc; use key_server_cluster::{Error, NodeId, NodeKeyPair}; diff --git a/util/EIP-152/Cargo.toml b/util/EIP-152/Cargo.toml index fe65d0110..ac46304d6 100644 --- a/util/EIP-152/Cargo.toml +++ b/util/EIP-152/Cargo.toml @@ -2,7 +2,7 @@ name = "eip-152" version = "0.1.0" authors = ["Parity Technologies "] -repository = "https://github.com/paritytech/parity-ethereum" +repository = "https://github.com/openethereum/openethereum" documentation = "https://docs.rs/eip-152" readme = "README.md" description = "eip-512 blake2 F compression function" diff --git a/util/EIP-152/src/lib.rs b/util/EIP-152/src/lib.rs index 0debe9c40..c09bdf4fb 100644 --- a/util/EIP-152/src/lib.rs +++ b/util/EIP-152/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . /// The precomputed values for BLAKE2b [from the spec](https://tools.ietf.org/html/rfc7693#section-2.7) /// There are 10 16-byte arrays - one for each round diff --git a/util/EIP-712/Cargo.toml b/util/EIP-712/Cargo.toml index 8d7c88e12..3d6320b03 100644 --- a/util/EIP-712/Cargo.toml +++ b/util/EIP-712/Cargo.toml @@ -2,7 +2,7 @@ name = "eip-712" version = "0.1.0" authors = ["Parity Technologies "] -repository = "https://github.com/paritytech/parity-ethereum" +repository = "https://github.com/openethereum/openethereum" documentation = "https://docs.rs/eip-712" readme = "README.md" description = "eip-712 encoding" diff --git a/util/EIP-712/src/eip712.rs b/util/EIP-712/src/eip712.rs index 8d167727d..9c155d771 100644 --- a/util/EIP-712/src/eip712.rs +++ b/util/EIP-712/src/eip712.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! EIP712 structs use ethereum_types::{Address, H256, U256}; diff --git a/util/EIP-712/src/encode.rs b/util/EIP-712/src/encode.rs index 59d4033b3..09d6caef9 100644 --- a/util/EIP-712/src/encode.rs +++ b/util/EIP-712/src/encode.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! EIP712 Encoder use crate::{ diff --git a/util/EIP-712/src/error.rs b/util/EIP-712/src/error.rs index 0ddfee6c9..6ce839eb4 100644 --- a/util/EIP-712/src/error.rs +++ b/util/EIP-712/src/error.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use failure::{Backtrace, Context, Fail}; use std::fmt::{self, Display}; diff --git a/util/EIP-712/src/lib.rs b/util/EIP-712/src/lib.rs index c5b57a9d2..21eafc3a4 100644 --- a/util/EIP-712/src/lib.rs +++ b/util/EIP-712/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! EIP-712 encoding utilities //! diff --git a/util/EIP-712/src/parser.rs b/util/EIP-712/src/parser.rs index 378ace0f7..a5700558d 100644 --- a/util/EIP-712/src/parser.rs +++ b/util/EIP-712/src/parser.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Solidity type-name parsing use crate::error::*; diff --git a/util/bloom/src/lib.rs b/util/bloom/src/lib.rs index af61e1196..c65efae79 100644 --- a/util/bloom/src/lib.rs +++ b/util/bloom/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate siphasher; diff --git a/util/blooms-db/benches/blooms.rs b/util/blooms-db/benches/blooms.rs index d7a5c0c77..42f59c37b 100644 --- a/util/blooms-db/benches/blooms.rs +++ b/util/blooms-db/benches/blooms.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . #[macro_use] extern crate criterion; diff --git a/util/blooms-db/src/db.rs b/util/blooms-db/src/db.rs index fa0890bab..752120b26 100644 --- a/util/blooms-db/src/db.rs +++ b/util/blooms-db/src/db.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ error, fmt, io, diff --git a/util/blooms-db/src/file.rs b/util/blooms-db/src/file.rs index d07c9ad6e..edb236d92 100644 --- a/util/blooms-db/src/file.rs +++ b/util/blooms-db/src/file.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ fs, io, diff --git a/util/blooms-db/src/lib.rs b/util/blooms-db/src/lib.rs index 9594c3a1c..3c14e6f81 100644 --- a/util/blooms-db/src/lib.rs +++ b/util/blooms-db/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Ethereum blooms database diff --git a/util/dir/Cargo.toml b/util/dir/Cargo.toml index 836eb3ecc..04fa52634 100644 --- a/util/dir/Cargo.toml +++ b/util/dir/Cargo.toml @@ -7,5 +7,5 @@ license = "GPL3" [dependencies] ethereum-types = "0.4" journaldb = { path = "../journaldb" } -app_dirs = { git = "https://github.com/paritytech/app-dirs-rs" } +app_dirs = { git = "https://github.com/openethereum/app-dirs-rs" } home = "0.3" diff --git a/util/dir/src/helpers.rs b/util/dir/src/helpers.rs index 1684ad3b9..10f1b49f7 100644 --- a/util/dir/src/helpers.rs +++ b/util/dir/src/helpers.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Directory helper functions use home_dir; diff --git a/util/dir/src/lib.rs b/util/dir/src/lib.rs index 50e099e12..05d8b7b22 100644 --- a/util/dir/src/lib.rs +++ b/util/dir/src/lib.rs @@ -1,29 +1,49 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . #![warn(missing_docs)] - //! Dir utilities for platform-specific operations +/// +/// Base ($BASE) Paths where we store our data and cache corresponds to: +/// Windows: +/// UserData: FOLDERID_RoamingAppData: %APPDATA% (%USERPROFILE%\AppData\Roaming) +/// UserCache: FOLDERID_LocalAppData: %LOCALAPPDATA% (%USERPROFILE%\AppData\Local) +/// MacOS: +/// UserData: /Users/Alice/Library/Application Support/ +/// UserCache: /Users/Alice/Library/Caches/ +/// Unix: +/// UserData is: $HOME/.local/share/ +/// UserCache is: $HOME/.cache/ +/// +/// On this UserData base path we are adding additional application folders: +/// If older parity folders are present we will use them as default for backward compatibility: +/// Windows: $BASE/Parity/Ethereum/ +/// Unix/MacOS: $BASE/io.parity.ethereum/ +/// +/// For OpenEthereum paths we are using: +/// Wndows/MacOS: $BASE/OpenEthereum/ +/// Unix: $BASE/openethereum/ +/// extern crate app_dirs; extern crate ethereum_types; extern crate home; extern crate journaldb; pub mod helpers; -use app_dirs::{get_app_root, AppDataType, AppInfo}; +use app_dirs::{data_root, get_app_root, AppDataType, AppInfo}; use ethereum_types::{H256, H64}; use helpers::{replace_home, replace_home_and_local}; use journaldb::Algorithm; @@ -246,87 +266,70 @@ impl DatabaseDirectories { } } +fn default_path(t: AppDataType) -> Option { + let app_info = AppInfo { + name: PARITY_PRODUCT, + author: PARITY_AUTHOR, + }; + let old_root = get_app_root(t, &app_info).ok()?; + if old_root.exists() { + return Some(old_root); + } + + let mut root = data_root(t).ok()?; + root.push(if LOWERCASE { + "openethereum" + } else { + "OpenEthereum" + }); + Some(root) +} + +fn fallback_path() -> PathBuf { + let mut p = PathBuf::new(); + p.push("$HOME"); + p.push(".openethereum"); + p +} + +/// Default data path +pub fn default_data_pathbuf() -> PathBuf { + default_path(AppDataType::UserData).unwrap_or_else(fallback_path) +} + /// Default data path pub fn default_data_path() -> String { - let app_info = AppInfo { - name: PRODUCT, - author: AUTHOR, - }; - get_app_root(AppDataType::UserData, &app_info) - .map(|p| p.to_string_lossy().into_owned()) - .unwrap_or_else(|_| "$HOME/.parity".to_owned()) + default_data_pathbuf().to_string_lossy().into_owned() } /// Default local path pub fn default_local_path() -> String { - let app_info = AppInfo { - name: PRODUCT, - author: AUTHOR, - }; - get_app_root(AppDataType::UserCache, &app_info) - .map(|p| p.to_string_lossy().into_owned()) - .unwrap_or_else(|_| "$HOME/.parity".to_owned()) -} - -/// Get home directory. -fn home() -> PathBuf { - home_dir().expect("Failed to get home dir") -} - -/// Parity path for specific chain -pub fn parity(chain: &str) -> PathBuf { - let mut base = parity_base(); - base.push(chain); - base + default_path(AppDataType::UserCache) + .unwrap_or_else(fallback_path) + .to_string_lossy() + .into_owned() } +/// these variables are used only for backward compatibility . +/// In case that there is folder from older parity version we will use it as default path, +/// in case there is not we will create openethereum folder.Algorithm #[cfg(target_os = "macos")] mod platform { - use std::path::PathBuf; - pub const AUTHOR: &str = "Parity"; - pub const PRODUCT: &str = "io.parity.ethereum"; - - pub fn parity_base() -> PathBuf { - let mut home = super::home(); - home.push("Library"); - home.push("Application Support"); - home.push("io.parity.ethereum"); - home.push("keys"); - home - } + pub const LOWERCASE: bool = false; + pub const PARITY_AUTHOR: &str = "Parity"; + pub const PARITY_PRODUCT: &str = "io.parity.ethereum"; } - #[cfg(windows)] mod platform { - use std::path::PathBuf; - pub const AUTHOR: &str = "Parity"; - pub const PRODUCT: &str = "Ethereum"; - - pub fn parity_base() -> PathBuf { - let mut home = super::home(); - home.push("AppData"); - home.push("Roaming"); - home.push("Parity"); - home.push("Ethereum"); - home.push("keys"); - home - } + pub const LOWERCASE: bool = false; + pub const PARITY_AUTHOR: &str = "Parity"; + pub const PARITY_PRODUCT: &str = "Ethereum"; } - #[cfg(not(any(target_os = "macos", windows)))] mod platform { - use std::path::PathBuf; - pub const AUTHOR: &str = "parity"; - pub const PRODUCT: &str = "io.parity.ethereum"; - - pub fn parity_base() -> PathBuf { - let mut home = super::home(); - home.push(".local"); - home.push("share"); - home.push("io.parity.ethereum"); - home.push("keys"); - home - } + pub const LOWERCASE: bool = true; + pub const PARITY_AUTHOR: &str = "parity"; + pub const PARITY_PRODUCT: &str = "io.parity.ethereum"; } #[cfg(test)] diff --git a/util/fake-fetch/src/lib.rs b/util/fake-fetch/src/lib.rs index f4a9fb387..43033775c 100644 --- a/util/fake-fetch/src/lib.rs +++ b/util/fake-fetch/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate fetch; extern crate futures; diff --git a/util/fastmap/src/lib.rs b/util/fastmap/src/lib.rs index c0e0edcec..cc7929b01 100644 --- a/util/fastmap/src/lib.rs +++ b/util/fastmap/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Provides a `H256FastMap` type with H256 keys and fast hashing function. diff --git a/util/fetch/Cargo.toml b/util/fetch/Cargo.toml index 1348faf64..a094842bc 100644 --- a/util/fetch/Cargo.toml +++ b/util/fetch/Cargo.toml @@ -1,6 +1,6 @@ [package] description = "HTTP/HTTPS fetching library" -homepage = "http://parity.io" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" name = "fetch" version = "0.1.0" diff --git a/util/fetch/src/client.rs b/util/fetch/src/client.rs index a336b2465..da1c2962e 100644 --- a/util/fetch/src/client.rs +++ b/util/fetch/src/client.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use bytes::Bytes; use futures::{ diff --git a/util/fetch/src/lib.rs b/util/fetch/src/lib.rs index e444d1fff..a3f011e7c 100644 --- a/util/fetch/src/lib.rs +++ b/util/fetch/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! A service to fetch any HTTP / HTTPS content. diff --git a/util/io/Cargo.toml b/util/io/Cargo.toml index eff2dae9c..464db02ab 100644 --- a/util/io/Cargo.toml +++ b/util/io/Cargo.toml @@ -1,6 +1,6 @@ [package] description = "Ethcore IO library" -homepage = "http://parity.io" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" name = "ethcore-io" version = "1.12.0" diff --git a/util/io/src/lib.rs b/util/io/src/lib.rs index 895e0988f..1142bb7f1 100644 --- a/util/io/src/lib.rs +++ b/util/io/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! General IO module. //! diff --git a/util/io/src/service_mio.rs b/util/io/src/service_mio.rs index c518ff50a..af383c7e9 100644 --- a/util/io/src/service_mio.rs +++ b/util/io/src/service_mio.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use deque; use mio::{ diff --git a/util/io/src/service_non_mio.rs b/util/io/src/service_non_mio.rs index f9a3f17a7..96148a01e 100644 --- a/util/io/src/service_non_mio.rs +++ b/util/io/src/service_non_mio.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use deque; use fnv::FnvHashMap; diff --git a/util/io/src/worker.rs b/util/io/src/worker.rs index 789cca0ad..373c4b836 100644 --- a/util/io/src/worker.rs +++ b/util/io/src/worker.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use deque; use futures::future::{self, Loop}; diff --git a/util/journaldb/src/archivedb.rs b/util/journaldb/src/archivedb.rs index 10d165d06..53ad46140 100644 --- a/util/journaldb/src/archivedb.rs +++ b/util/journaldb/src/archivedb.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Disk-backed `HashDB` implementation. diff --git a/util/journaldb/src/as_hash_db_impls.rs b/util/journaldb/src/as_hash_db_impls.rs index 1f9378595..d9eef2d5b 100644 --- a/util/journaldb/src/as_hash_db_impls.rs +++ b/util/journaldb/src/as_hash_db_impls.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Impls of the `AsHashDB` upcast trait for all different variants of DB use crate::{AsKeyedHashDB, KeyedHashDB}; diff --git a/util/journaldb/src/earlymergedb.rs b/util/journaldb/src/earlymergedb.rs index 69374b898..cf5ad0a82 100644 --- a/util/journaldb/src/earlymergedb.rs +++ b/util/journaldb/src/earlymergedb.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Disk-backed `HashDB` implementation. diff --git a/util/journaldb/src/lib.rs b/util/journaldb/src/lib.rs index 6636884bb..b41bb0a35 100644 --- a/util/journaldb/src/lib.rs +++ b/util/journaldb/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! `JournalDB` interface and implementation. diff --git a/util/journaldb/src/overlaydb.rs b/util/journaldb/src/overlaydb.rs index b75fd14f8..3828842cb 100644 --- a/util/journaldb/src/overlaydb.rs +++ b/util/journaldb/src/overlaydb.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Disk-backed `HashDB` implementation. diff --git a/util/journaldb/src/overlayrecentdb.rs b/util/journaldb/src/overlayrecentdb.rs index ad418068d..5c919dfec 100644 --- a/util/journaldb/src/overlayrecentdb.rs +++ b/util/journaldb/src/overlayrecentdb.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! `JournalDB` over in-memory overlay diff --git a/util/journaldb/src/refcounteddb.rs b/util/journaldb/src/refcounteddb.rs index 965b90b9f..ee4d1a0b2 100644 --- a/util/journaldb/src/refcounteddb.rs +++ b/util/journaldb/src/refcounteddb.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Disk-backed, ref-counted `JournalDB` implementation. diff --git a/util/journaldb/src/traits.rs b/util/journaldb/src/traits.rs index 5473c62ae..3cc2cdb32 100644 --- a/util/journaldb/src/traits.rs +++ b/util/journaldb/src/traits.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Disk-backed `HashDB` implementation. diff --git a/util/journaldb/src/util.rs b/util/journaldb/src/util.rs index a93ca5dff..9f3656a03 100644 --- a/util/journaldb/src/util.rs +++ b/util/journaldb/src/util.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use rlp::{DecoderError, Encodable, Rlp, RlpStream}; diff --git a/util/keccak-hasher/src/lib.rs b/util/keccak-hasher/src/lib.rs index a205729bb..727181b35 100644 --- a/util/keccak-hasher/src/lib.rs +++ b/util/keccak-hasher/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Hasher implementation for the Keccak-256 hash extern crate ethereum_types; diff --git a/util/len-caching-lock/Cargo.toml b/util/len-caching-lock/Cargo.toml index 41d0e4e70..7842bcb26 100644 --- a/util/len-caching-lock/Cargo.toml +++ b/util/len-caching-lock/Cargo.toml @@ -1,6 +1,6 @@ [package] description = "Atomically cached len(), for use with collections contained in parking_lot Mutex and RwLock" -homepage = "http://parity.io" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" name = "len-caching-lock" version = "0.1.1" diff --git a/util/len-caching-lock/src/lib.rs b/util/len-caching-lock/src/lib.rs index c3e4d436e..c1db87f85 100644 --- a/util/len-caching-lock/src/lib.rs +++ b/util/len-caching-lock/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! This crate allows automatic caching of `T.len()` with an api that //! allows drop in replacement for `parking_lot` diff --git a/util/len-caching-lock/src/mutex.rs b/util/len-caching-lock/src/mutex.rs index a54ab4e9f..7aec80739 100644 --- a/util/len-caching-lock/src/mutex.rs +++ b/util/len-caching-lock/src/mutex.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ ops::{Deref, DerefMut}, diff --git a/util/len-caching-lock/src/rwlock.rs b/util/len-caching-lock/src/rwlock.rs index 419127430..03551a26b 100644 --- a/util/len-caching-lock/src/rwlock.rs +++ b/util/len-caching-lock/src/rwlock.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ ops::{Deref, DerefMut}, diff --git a/util/macros/src/lib.rs b/util/macros/src/lib.rs index 28ccab98c..3e21bbc90 100644 --- a/util/macros/src/lib.rs +++ b/util/macros/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Utils common types and macros global reexport. diff --git a/util/memory-cache/src/lib.rs b/util/memory-cache/src/lib.rs index 028a65422..bfa260c74 100644 --- a/util/memory-cache/src/lib.rs +++ b/util/memory-cache/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Lru-cache related utilities as quick-and-dirty wrappers around the lru-cache //! crate. diff --git a/util/memzero/Cargo.toml b/util/memzero/Cargo.toml index 67d17d26d..9eb6f731c 100644 --- a/util/memzero/Cargo.toml +++ b/util/memzero/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" description = "A wrapper for zero-ing out memory when dropped" license = "GPL-3.0" homepage = "https://parity.io" -repository = "https://github.com/paritytech/parity-ethereum" +repository = "https://github.com/openethereum/openethereum" documentation = "https://docs.rs/crate/memzero" authors = ["Parity Technologies "] edition = "2018" diff --git a/util/memzero/src/lib.rs b/util/memzero/src/lib.rs index ebbbc8b92..e53ba9b04 100644 --- a/util/memzero/src/lib.rs +++ b/util/memzero/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ ops::{Deref, DerefMut}, diff --git a/util/migration-rocksdb/src/lib.rs b/util/migration-rocksdb/src/lib.rs index bf4aa592e..8cd8a28a1 100644 --- a/util/migration-rocksdb/src/lib.rs +++ b/util/migration-rocksdb/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! DB Migration module. diff --git a/util/migration-rocksdb/tests/tests.rs b/util/migration-rocksdb/tests/tests.rs index 1ff2a81ff..7a3669f0b 100644 --- a/util/migration-rocksdb/tests/tests.rs +++ b/util/migration-rocksdb/tests/tests.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Tests for migrations. //! A random temp directory is created. A database is created within it, and migrations diff --git a/util/network-devp2p/Cargo.toml b/util/network-devp2p/Cargo.toml index 8bf402e20..5c1fecdea 100644 --- a/util/network-devp2p/Cargo.toml +++ b/util/network-devp2p/Cargo.toml @@ -1,6 +1,6 @@ [package] description = "DevP2P implementation of the ethcore network library" -homepage = "http://parity.io" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" name = "ethcore-network-devp2p" version = "1.12.0" diff --git a/util/network-devp2p/src/connection.rs b/util/network-devp2p/src/connection.rs index 9bc7cf8ac..40dbd0487 100644 --- a/util/network-devp2p/src/connection.rs +++ b/util/network-devp2p/src/connection.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use bytes::{Buf, BufMut}; use ethereum_types::{H128, H256, H512}; diff --git a/util/network-devp2p/src/discovery.rs b/util/network-devp2p/src/discovery.rs index d31968150..72f785a42 100644 --- a/util/network-devp2p/src/discovery.rs +++ b/util/network-devp2p/src/discovery.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::{H256, H520}; use ethkey::{recover, sign, KeyPair, Secret}; @@ -131,7 +131,7 @@ struct PingRequest { node: NodeEntry, // The hash sent in the Ping request echo_hash: H256, - // The hash Parity used to respond with (until rev 01f825b0e1f1c4c420197b51fc801cbe89284b29) + // The hash OpenEthereum used to respond with (until rev 01f825b0e1f1c4c420197b51fc801cbe89284b29) #[deprecated()] deprecated_echo_hash: H256, reason: PingReason, @@ -589,9 +589,9 @@ impl<'a> Discovery<'a> { }; // Here the PONG's `To` field should be the node we are // sending the request to - // WARNING: this field _should not be used_, but old Parity versions + // WARNING: this field _should not be used_, but old OpenEthereum versions // use it in order to get the node's address. - // So this is a temporary fix so that older Parity versions don't brake completely. + // So this is a temporary fix so that older OpenEthereum versions don't brake completely. ping_to.to_rlp_list(&mut response); // pong_to.to_rlp_list(&mut response); diff --git a/util/network-devp2p/src/handshake.rs b/util/network-devp2p/src/handshake.rs index 4b4aa295a..74b2de0ea 100644 --- a/util/network-devp2p/src/handshake.rs +++ b/util/network-devp2p/src/handshake.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use connection::Connection; use ethereum_types::{H256, H520}; diff --git a/util/network-devp2p/src/host.rs b/util/network-devp2p/src/host.rs index 7b12ef221..4dc6db8a3 100644 --- a/util/network-devp2p/src/host.rs +++ b/util/network-devp2p/src/host.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethereum_types::H256; use ethkey::{Generator, KeyPair, Random, Secret}; diff --git a/util/network-devp2p/src/ip_utils.rs b/util/network-devp2p/src/ip_utils.rs index 906cf29db..08d1ae085 100644 --- a/util/network-devp2p/src/ip_utils.rs +++ b/util/network-devp2p/src/ip_utils.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . // Based on original work by David Levy https://raw.githubusercontent.com/dlevy47/rust-interfaces diff --git a/util/network-devp2p/src/lib.rs b/util/network-devp2p/src/lib.rs index daa9b80e2..52f6caf4b 100644 --- a/util/network-devp2p/src/lib.rs +++ b/util/network-devp2p/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Network and general IO module. //! diff --git a/util/network-devp2p/src/node_table.rs b/util/network-devp2p/src/node_table.rs index b1a263874..65e946375 100644 --- a/util/network-devp2p/src/node_table.rs +++ b/util/network-devp2p/src/node_table.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use discovery::{NodeEntry, TableUpdates}; use ethereum_types::H512; @@ -688,7 +688,7 @@ mod tests { // nodes are also ordered according to their addition time // // nanosecond precision lost since mac os x high sierra update so let's not compare their order - // https://github.com/paritytech/parity-ethereum/issues/9632 + // https://github.com/openethereum/openethereum/issues/9632 let r = table.nodes(&IpFilter::default()); // most recent success diff --git a/util/network-devp2p/src/service.rs b/util/network-devp2p/src/service.rs index d7e873858..14fd44bee 100644 --- a/util/network-devp2p/src/service.rs +++ b/util/network-devp2p/src/service.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ansi_term::Colour; use host::Host; diff --git a/util/network-devp2p/src/session.rs b/util/network-devp2p/src/session.rs index d90d81e96..e6e018896 100644 --- a/util/network-devp2p/src/session.rs +++ b/util/network-devp2p/src/session.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::{ collections::HashMap, diff --git a/util/network-devp2p/tests/tests.rs b/util/network-devp2p/tests/tests.rs index 0c013885d..426d0d940 100644 --- a/util/network-devp2p/tests/tests.rs +++ b/util/network-devp2p/tests/tests.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate env_logger; extern crate ethcore_io as io; diff --git a/util/network/Cargo.toml b/util/network/Cargo.toml index b7077f7ae..42d004094 100644 --- a/util/network/Cargo.toml +++ b/util/network/Cargo.toml @@ -1,6 +1,6 @@ [package] description = "Ethcore network library" -homepage = "http://parity.io" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" name = "ethcore-network" version = "1.12.0" diff --git a/util/network/src/client_version.rs b/util/network/src/client_version.rs index afccb45b6..de3c257a4 100644 --- a/util/network/src/client_version.rs +++ b/util/network/src/client_version.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . #![warn(missing_docs)] @@ -22,8 +22,8 @@ use semver::Version; use std::fmt; /// Parity client string prefix -const LEGACY_CLIENT_ID_PREFIX: &str = "Parity"; -const PARITY_CLIENT_ID_PREFIX: &str = "Parity-Ethereum"; +const LEGACY_CLIENT_ID_PREFIX: &str = "Parity-Ethereum"; +const CURRENT_CLIENT_ID_PREFIX: &str = "OpenEthereum"; lazy_static! { /// Parity versions starting from this will accept block bodies requests @@ -152,7 +152,8 @@ impl ClientCapabilities for ClientVersion { } fn is_parity(client_id: &str) -> bool { - client_id.starts_with(LEGACY_CLIENT_ID_PREFIX) || client_id.starts_with(PARITY_CLIENT_ID_PREFIX) + client_id.starts_with(LEGACY_CLIENT_ID_PREFIX) + || client_id.starts_with(CURRENT_CLIENT_ID_PREFIX) } /// Parse known parity formats. Recognizes either a short format with four fields @@ -265,14 +266,17 @@ pub mod tests { fn make_default_version_string() -> String { format!( "{}/v{}/{}/{}", - PARITY_CLIENT_ID_PREFIX, PARITY_CLIENT_SEMVER, PARITY_CLIENT_OS, PARITY_CLIENT_COMPILER + CURRENT_CLIENT_ID_PREFIX, + PARITY_CLIENT_SEMVER, + PARITY_CLIENT_OS, + PARITY_CLIENT_COMPILER ) } fn make_default_long_version_string() -> String { format!( "{}/{}/v{}/{}/{}", - PARITY_CLIENT_ID_PREFIX, + CURRENT_CLIENT_ID_PREFIX, PARITY_CLIENT_IDENTITY, PARITY_CLIENT_SEMVER, PARITY_CLIENT_OS, @@ -283,7 +287,7 @@ pub mod tests { fn make_multitoken_identity_long_version_string() -> String { format!( "{}/{}/v{}/{}/{}", - PARITY_CLIENT_ID_PREFIX, + CURRENT_CLIENT_ID_PREFIX, PARITY_CLIENT_MULTITOKEN_IDENTITY, PARITY_CLIENT_SEMVER, PARITY_CLIENT_OS, @@ -294,7 +298,7 @@ pub mod tests { fn make_old_semver_version_string() -> String { format!( "{}/v{}/{}/{}", - PARITY_CLIENT_ID_PREFIX, + CURRENT_CLIENT_ID_PREFIX, PARITY_CLIENT_OLD_SEMVER, PARITY_CLIENT_OS, PARITY_CLIENT_COMPILER @@ -325,7 +329,7 @@ pub mod tests { if let ClientVersion::ParityClient(client_version) = ClientVersion::from(client_version_string.as_str()) { - assert_eq!(client_version.name(), PARITY_CLIENT_ID_PREFIX); + assert_eq!(client_version.name(), CURRENT_CLIENT_ID_PREFIX); assert_eq!( *client_version.semver(), Version::parse(PARITY_CLIENT_SEMVER).unwrap() @@ -344,7 +348,7 @@ pub mod tests { if let ClientVersion::ParityClient(client_version) = ClientVersion::from(client_version_string.as_str()) { - assert_eq!(client_version.name(), PARITY_CLIENT_ID_PREFIX); + assert_eq!(client_version.name(), CURRENT_CLIENT_ID_PREFIX); assert_eq!(client_version.identity().unwrap(), PARITY_CLIENT_IDENTITY); assert_eq!( *client_version.semver(), @@ -365,7 +369,7 @@ pub mod tests { if let ClientVersion::ParityClient(client_version) = ClientVersion::from(client_version_string.as_str()) { - assert_eq!(client_version.name(), PARITY_CLIENT_ID_PREFIX); + assert_eq!(client_version.name(), CURRENT_CLIENT_ID_PREFIX); assert_eq!( client_version.identity().unwrap(), PARITY_CLIENT_MULTITOKEN_IDENTITY @@ -388,7 +392,7 @@ pub mod tests { if let ClientVersion::ParityClient(client_version) = ClientVersion::from(client_version_string.as_str()) { - assert_eq!(client_version.name(), PARITY_CLIENT_ID_PREFIX); + assert_eq!(client_version.name(), CURRENT_CLIENT_ID_PREFIX); assert_eq!( *client_version.semver(), Version::parse(PARITY_CLIENT_SEMVER).unwrap() @@ -406,7 +410,10 @@ pub mod tests { // This is invalid because version has no leading 'v' let client_version_string = format!( "{}/{}/{}/{}", - PARITY_CLIENT_ID_PREFIX, PARITY_CLIENT_SEMVER, PARITY_CLIENT_OS, PARITY_CLIENT_COMPILER + CURRENT_CLIENT_ID_PREFIX, + PARITY_CLIENT_SEMVER, + PARITY_CLIENT_OS, + PARITY_CLIENT_COMPILER ); let client_version = ClientVersion::from(client_version_string.as_str()); @@ -421,7 +428,7 @@ pub mod tests { ) { let client_version_string = format!( "{}/v{}/{}", - PARITY_CLIENT_ID_PREFIX, PARITY_CLIENT_SEMVER, PARITY_CLIENT_OS, + CURRENT_CLIENT_ID_PREFIX, PARITY_CLIENT_SEMVER, PARITY_CLIENT_OS, ); let client_version = ClientVersion::from(client_version_string.as_str()); @@ -436,7 +443,10 @@ pub mod tests { ) { let client_version_string = format!( "{}/{}/v{}/{}", - PARITY_CLIENT_ID_PREFIX, PARITY_CLIENT_IDENTITY, PARITY_CLIENT_SEMVER, PARITY_CLIENT_OS, + CURRENT_CLIENT_ID_PREFIX, + PARITY_CLIENT_IDENTITY, + PARITY_CLIENT_SEMVER, + PARITY_CLIENT_OS, ); let client_version = ClientVersion::from(client_version_string.as_str()); @@ -525,7 +535,7 @@ pub mod tests { #[test] fn is_parity_when_parity_then_true() { - let client_id = format!("{}/", PARITY_CLIENT_ID_PREFIX); + let client_id = format!("{}/", CURRENT_CLIENT_ID_PREFIX); assert!(is_parity(&client_id)); } diff --git a/util/network/src/connection_filter.rs b/util/network/src/connection_filter.rs index 2d6efc0b0..0aecd608f 100644 --- a/util/network/src/connection_filter.rs +++ b/util/network/src/connection_filter.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Connection filter trait. diff --git a/util/network/src/error.rs b/util/network/src/error.rs index 7d47acb46..041dee408 100644 --- a/util/network/src/error.rs +++ b/util/network/src/error.rs @@ -1,21 +1,21 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . // Silence: `use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting` -// https://github.com/paritytech/parity-ethereum/issues/10302 +// https://github.com/openethereum/openethereum/issues/10302 #![allow(deprecated)] use crypto; @@ -152,13 +152,13 @@ error_chain! { #[doc = "Reached system resource limits for this process"] ProcessTooManyFiles { description("Too many open files in process."), - display("Too many open files in this process. Check your resource limits and restart parity"), + display("Too many open files in this process. Check your resource limits and restart openethereum"), } #[doc = "Reached system wide resource limits"] SystemTooManyFiles { description("Too many open files on system."), - display("Too many open files on system. Consider closing some processes/release some file handlers or increas the system-wide resource limits and restart parity."), + display("Too many open files on system. Consider closing some processes/release some file handlers or increas the system-wide resource limits and restart openethereum."), } #[doc = "An unknown IO error occurred."] diff --git a/util/network/src/lib.rs b/util/network/src/lib.rs index 742f85c1b..76f38581d 100644 --- a/util/network/src/lib.rs +++ b/util/network/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . #![recursion_limit = "128"] diff --git a/util/panic-hook/Cargo.toml b/util/panic-hook/Cargo.toml index eb70c19f1..2a516aa6c 100644 --- a/util/panic-hook/Cargo.toml +++ b/util/panic-hook/Cargo.toml @@ -1,6 +1,6 @@ [package] -description = "Parity custom panic hook" -homepage = "http://parity.io" +description = "OpenEthereum custom panic hook" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" name = "panic_hook" version = "0.1.0" diff --git a/util/panic-hook/src/lib.rs b/util/panic-hook/src/lib.rs index 6acd4d8b9..f30f9ac99 100644 --- a/util/panic-hook/src/lib.rs +++ b/util/panic-hook/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Custom panic hook with bug report link @@ -34,7 +34,7 @@ pub fn set_abort() { /// Set the panic hook with a closure to be called. The closure receives the panic message. /// -/// Depending on how Parity was compiled, after the closure has been executed, either the process +/// Depending on how OpenEthereum was compiled, after the closure has been executed, either the process /// aborts or unwinding starts. /// /// If you panic within the closure, a double panic happens and the process will stop. @@ -51,7 +51,7 @@ where static ABOUT_PANIC: &str = " This is a bug. Please report it at: - https://github.com/paritytech/parity-ethereum/issues/new + https://github.com/openethereum/openethereum/issues/new "; fn gen_panic_msg(info: &PanicInfo) -> String { diff --git a/util/patricia-trie-ethereum/src/lib.rs b/util/patricia-trie-ethereum/src/lib.rs index 600f8506f..4dc474853 100644 --- a/util/patricia-trie-ethereum/src/lib.rs +++ b/util/patricia-trie-ethereum/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Façade crate for `patricia_trie` for Ethereum specific impls diff --git a/util/patricia-trie-ethereum/src/rlp_node_codec.rs b/util/patricia-trie-ethereum/src/rlp_node_codec.rs index dc2fcdd0b..37952afe3 100644 --- a/util/patricia-trie-ethereum/src/rlp_node_codec.rs +++ b/util/patricia-trie-ethereum/src/rlp_node_codec.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! `NodeCodec` implementation for Rlp diff --git a/util/registrar/src/lib.rs b/util/registrar/src/lib.rs index bcbbad1da..79b70d3c9 100644 --- a/util/registrar/src/lib.rs +++ b/util/registrar/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate ethabi; extern crate futures; diff --git a/util/registrar/src/registrar.rs b/util/registrar/src/registrar.rs index d548df309..418cb0080 100644 --- a/util/registrar/src/registrar.rs +++ b/util/registrar/src/registrar.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use ethabi::{Address, Bytes}; use futures::{future, Future, IntoFuture}; diff --git a/util/rlp-compress/tests/compress.rs b/util/rlp-compress/tests/compress.rs index 3383d6eeb..9f901a8e8 100644 --- a/util/rlp-compress/tests/compress.rs +++ b/util/rlp-compress/tests/compress.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate rlp_compress; diff --git a/util/rlp-derive/src/de.rs b/util/rlp-derive/src/de.rs index 1df1d6956..484eb1d52 100644 --- a/util/rlp-derive/src/de.rs +++ b/util/rlp-derive/src/de.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use proc_macro2::{Span, TokenStream}; use syn; diff --git a/util/rlp-derive/src/en.rs b/util/rlp-derive/src/en.rs index 90b9f5150..dd61a5ae9 100644 --- a/util/rlp-derive/src/en.rs +++ b/util/rlp-derive/src/en.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use proc_macro2::{Span, TokenStream}; use syn; diff --git a/util/rlp-derive/src/lib.rs b/util/rlp-derive/src/lib.rs index 385102e3b..9340d4bcd 100644 --- a/util/rlp-derive/src/lib.rs +++ b/util/rlp-derive/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate proc_macro; extern crate proc_macro2; diff --git a/util/rlp-derive/tests/rlp.rs b/util/rlp-derive/tests/rlp.rs index 5ff915519..914735500 100644 --- a/util/rlp-derive/tests/rlp.rs +++ b/util/rlp-derive/tests/rlp.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate rlp; #[macro_use] diff --git a/util/runtime/Cargo.toml b/util/runtime/Cargo.toml index d22106c49..74c30b3ce 100644 --- a/util/runtime/Cargo.toml +++ b/util/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] -description = "Parity Runtime" -homepage = "http://parity.io" +description = "OpenEthereum Runtime" +homepage = "https://github.com/openethereum/openethereum" license = "GPL-3.0" name = "parity-runtime" version = "0.1.0" diff --git a/util/runtime/src/lib.rs b/util/runtime/src/lib.rs index d286ebf85..e8ea5ec3b 100644 --- a/util/runtime/src/lib.rs +++ b/util/runtime/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Tokio Runtime wrapper. diff --git a/util/stats/src/lib.rs b/util/stats/src/lib.rs index 38def7ee9..b6b351bc1 100644 --- a/util/stats/src/lib.rs +++ b/util/stats/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Statistical functions and helpers. diff --git a/util/time-utils/src/lib.rs b/util/time-utils/src/lib.rs index 927ebc3cb..c413df7ee 100644 --- a/util/time-utils/src/lib.rs +++ b/util/time-utils/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . use std::time::{Duration, SystemTime, UNIX_EPOCH}; diff --git a/util/triehash-ethereum/src/lib.rs b/util/triehash-ethereum/src/lib.rs index 6bbf40e7b..0409d0432 100644 --- a/util/triehash-ethereum/src/lib.rs +++ b/util/triehash-ethereum/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Generates Keccak-flavoured trie roots. diff --git a/util/unexpected/src/lib.rs b/util/unexpected/src/lib.rs index dd93bd1eb..45cdbbc33 100644 --- a/util/unexpected/src/lib.rs +++ b/util/unexpected/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Error utils diff --git a/util/version/Cargo.toml b/util/version/Cargo.toml index a91906050..eabfaf305 100644 --- a/util/version/Cargo.toml +++ b/util/version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "parity-version" -# NOTE: this value is used for Parity Ethereum version string (via env CARGO_PKG_VERSION) +# NOTE: this value is used for OpenEthereum version string (via env CARGO_PKG_VERSION) version = "2.5.13" authors = ["Parity Technologies "] build = "build.rs" diff --git a/util/version/build.rs b/util/version/build.rs index 164dcb9f1..91beb954f 100644 --- a/util/version/build.rs +++ b/util/version/build.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . extern crate rustc_version; extern crate toml; diff --git a/util/version/src/lib.rs b/util/version/src/lib.rs index 1f9eb9ee9..beca730df 100644 --- a/util/version/src/lib.rs +++ b/util/version/src/lib.rs @@ -1,18 +1,18 @@ -// Copyright 2015-2019 Parity Technologies (UK) Ltd. -// This file is part of Parity Ethereum. +// Copyright 2015-2020 Parity Technologies (UK) Ltd. +// This file is part of OpenEthereum. -// Parity Ethereum is free software: you can redistribute it and/or modify +// OpenEthereum 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. -// Parity Ethereum is distributed in the hope that it will be useful, +// OpenEthereum is distributed in the hope that 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 Parity Ethereum. If not, see . +// along with OpenEthereum. If not, see . //! Parity version specific information. @@ -55,7 +55,7 @@ pub fn version() -> String { let commit_date = vergen::commit_date().replace("-", ""); let date_dash = if commit_date.is_empty() { "" } else { "-" }; format!( - "Parity-Ethereum/v{}-{}{}{}{}{}/{}/rustc{}", + "OpenEthereum/v{}-{}{}{}{}{}/{}/rustc{}", env!("CARGO_PKG_VERSION"), THIS_TRACK, sha3_dash, @@ -82,7 +82,7 @@ pub fn version_data() -> Bytes { .parse::() .expect("Environment variables are known to be valid; qed"); s.append(&v); - s.append(&"Parity-Ethereum"); + s.append(&"OpenEthereum"); s.append(&generated::rustc_version()); s.append(&&Target::os()[0..2]); s.out()