license update (#11543)

* update license_header

* run ./scripts/add_license.sh

* update eip-152 license
This commit is contained in:
Andronik Ordian 2020-03-05 12:19:39 +01:00 committed by GitHub
parent 6c0134f2ee
commit 3ccfe735aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
661 changed files with 2745 additions and 2626 deletions

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
extern crate docopt; extern crate docopt;
extern crate env_logger; extern crate env_logger;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use parity_crypto::publickey::{KeyPair, Generator, Secret}; use parity_crypto::publickey::{KeyPair, Generator, Secret};
use parity_crypto::Keccak256; use parity_crypto::Keccak256;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use super::Brain; use super::Brain;
use parity_crypto::publickey::{Generator, KeyPair, Error}; use parity_crypto::publickey::{Generator, KeyPair, Error};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::collections::HashSet; use std::collections::HashSet;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
// #![warn(missing_docs)] // #![warn(missing_docs)]

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::{fmt, ptr}; use std::{fmt, ptr};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use parity_crypto::publickey::{Random, Generator, KeyPair, Error}; use parity_crypto::publickey::{Random, Generator, KeyPair, Error};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::{cmp, thread}; use std::{cmp, thread};
use std::sync::Arc; use std::sync::Arc;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
extern crate dir; extern crate dir;
extern crate docopt; extern crate docopt;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
extern crate tempdir; extern crate tempdir;
use std::process::Command; use std::process::Command;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use json; use json;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::str; use std::str;
use crypto::publickey::Secret; use crypto::publickey::Secret;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use json; use json;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
mod cipher; mod cipher;
mod crypto; mod crypto;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use crypto::publickey::{KeyPair, sign, Address, Signature, Message, Public, Secret}; use crypto::publickey::{KeyPair, sign, Address, Signature, Message, Public, Secret};
use ethkey::Password; use ethkey::Password;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use json; use json;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::{fs, io}; use std::{fs, io};
use std::io::Write; use std::io::Write;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::collections::HashMap; use std::collections::HashMap;
use parking_lot::RwLock; use parking_lot::RwLock;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Accounts Directory //! Accounts Directory

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::{fs, io}; use std::{fs, io};
use std::path::{PathBuf, Path}; use std::path::{PathBuf, Path};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::fmt; use std::fmt;
use std::io::Error as IoError; use std::io::Error as IoError;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::collections::{BTreeMap, HashMap}; use std::collections::{BTreeMap, HashMap};
use std::mem; use std::mem;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::collections::HashSet; use std::collections::HashSet;
use std::path::Path; use std::path::Path;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::{ops, str}; use std::{ops, str};
use serde::{Deserialize, Deserializer, Serialize, Serializer}; use serde::{Deserialize, Deserializer, Serialize, Serializer};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::fmt; use std::fmt;
use serde::{Serialize, Serializer, Deserialize, Deserializer}; use serde::{Serialize, Serializer, Deserialize, Deserializer};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::{fmt, str}; use std::{fmt, str};
use serde::{Deserialize, Deserializer, Serialize, Serializer}; use serde::{Deserialize, Deserializer, Serialize, Serializer};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::fmt; use std::fmt;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::{ops, fmt, str}; use std::{ops, fmt, str};
use rustc_hex::{FromHex, ToHex}; use rustc_hex::{FromHex, ToHex};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Universaly unique identifier. //! Universaly unique identifier.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::fmt; use std::fmt;
use serde::{Serialize, Serializer, Deserialize, Deserializer}; use serde::{Serialize, Serializer, Deserialize, Deserializer};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::fmt; use std::fmt;
use std::io::{Read, Write}; use std::io::{Read, Write};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Contract interface specification. //! Contract interface specification.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::io::Read; use std::io::Read;
use serde_json; use serde_json;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::io::{Read, Write}; use std::io::{Read, Write};
use serde_json; use serde_json;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::io::{Read, Write}; use std::io::{Read, Write};
use serde::de::Error; use serde::de::Error;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::fmt; use std::fmt;
use serde::{Serialize, Serializer, Deserialize, Deserializer}; use serde::{Serialize, Serializer, Deserialize, Deserializer};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Ethereum key-management. //! Ethereum key-management.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::fs; use std::fs;
use std::path::Path; use std::path::Path;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use rand::{Rng, RngCore, rngs::OsRng, distributions::Alphanumeric}; use rand::{Rng, RngCore, rngs::OsRng, distributions::Alphanumeric};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::hash::{Hash, Hasher}; use std::hash::{Hash, Hasher};
use std::path::PathBuf; use std::path::PathBuf;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
extern crate rand; extern crate rand;
extern crate ethstore; extern crate ethstore;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
mod transient_dir; mod transient_dir;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::path::PathBuf; use std::path::PathBuf;
use std::{env, fs}; use std::{env, fs};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Account Metadata //! Account Metadata
@ -71,4 +71,3 @@ impl AccountMeta {
serde_json::to_writer(writer, m) serde_json::to_writer(writer, m)
} }
} }

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity. // This file is part of Open Ethereum.
// Parity is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::fmt; use std::fmt;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
#![warn(missing_docs)] #![warn(missing_docs)]

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Address Book Store //! Address Book Store

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
extern crate serde_json; extern crate serde_json;
extern crate ethjson; extern crate ethjson;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::fmt::{Debug, Formatter, Error as FmtError}; use std::fmt::{Debug, Formatter, Error as FmtError};
use std::io::{BufReader, BufRead}; use std::io::{BufReader, BufRead};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
pub mod client; pub mod client;
pub mod signer_client; pub mod signer_client;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use client::{Rpc, RpcError}; use client::{Rpc, RpcError};
use ethereum_types::U256; use ethereum_types::U256;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
extern crate ethereum_types; extern crate ethereum_types;
extern crate futures; extern crate futures;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
#[macro_use] #[macro_use]
extern crate criterion; extern crate criterion;

View File

@ -1,3 +1,19 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Open Ethereum.
// Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
#[macro_use] #[macro_use]
extern crate criterion; extern crate criterion;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use compute::Light; use compute::Light;
use either::Either; use either::Either;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Ethash implementation //! Ethash implementation
//! See https://github.com/ethereum/wiki/wiki/Ethash //! See https://github.com/ethereum/wiki/wiki/Ethash

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
extern crate keccak_hash as hash; extern crate keccak_hash as hash;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
extern crate common_types; extern crate common_types;
extern crate either; extern crate either;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity. // This file is part of Open Ethereum.
// Parity is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! ProgPoW (Programmatic Proof-of-Work) is the Ethereum network's proposed new Application-Specific Integrated //! ProgPoW (Programmatic Proof-of-Work) is the Ethereum network's proposed new Application-Specific Integrated
//! Circuit (ASIC) resistant Proof-of-Work mining algorithm. //! Circuit (ASIC) resistant Proof-of-Work mining algorithm.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use shared; use shared;
use keccak::{keccak_256, H256}; use keccak::{keccak_256, H256};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use primal::is_prime; use primal::is_prime;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! DB backend wrapper for Account trie //! DB backend wrapper for Account trie
use ethereum_types::H256; use ethereum_types::H256;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Single account in the system. //! Single account in the system.
use std::cell::{Cell, RefCell}; use std::cell::{Cell, RefCell};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! A minimal "state backend" trait: an abstraction over the sources of data //! A minimal "state backend" trait: an abstraction over the sources of data
//! a blockchain state may draw upon. //! a blockchain state may draw upon.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Account state //! Account state
//! This crate contains code used to create, convert, and update Accounts and the code and storage //! This crate contains code used to create, convert, and update Accounts and the code and storage

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! A mutable state representation suitable to execute transactions. //! A mutable state representation suitable to execute transactions.
//! Generic over a `Backend`. Deals with `Account`s. //! Generic over a `Backend`. Deals with `Account`s.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
#[macro_use] #[macro_use]
extern crate criterion; extern crate criterion;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! A client interface for interacting with the block gas limit contract. //! A client interface for interacting with the block gas limit contract.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Types for declaring block rewards and a client interface for interacting with a //! Types for declaring block rewards and a client interface for interacting with a
//! block reward contract. //! block reward contract.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use ethereum_types::{H256, U256}; use ethereum_types::{H256, U256};

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Blockchain database. //! Blockchain database.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
/// Represents blockchain's in-memory cache size in bytes. /// Represents blockchain's in-memory cache size in bytes.
#[derive(Debug)] #[derive(Debug)]

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Blockchain configuration. //! Blockchain configuration.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Blockchain generator for tests. //! Blockchain generator for tests.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Blockchain database. //! Blockchain database.
@ -37,4 +37,3 @@ pub use crate::{
}; };
pub use ethcore_db::keys::{BlockReceipts, BlockDetails, TransactionAddress, BlockNumberKey}; pub use ethcore_db::keys::{BlockReceipts, BlockDetails, TransactionAddress, BlockNumberKey};
pub use common_types::tree_route::TreeRoute; pub use common_types::tree_route::TreeRoute;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::collections::HashMap; use std::collections::HashMap;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Standard built-in contracts. //! Standard built-in contracts.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Provides CallContract trait //! Provides CallContract trait

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
#![warn(missing_docs)] #![warn(missing_docs)]

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::{ use std::{
collections::BTreeMap, collections::BTreeMap,

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Database cache manager //! Database cache manager

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Database utilities and definitions. //! Database utilities and definitions.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Blockchain DB extras. //! Blockchain DB extras.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Parity Ethereum database access utilities. //! Parity Ethereum database access utilities.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Consensus engine specification and basic implementations. //! Consensus engine specification and basic implementations.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! This crate defines the Engine trait and related types. //! This crate defines the Engine trait and related types.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! A signer used by Engines which need to sign messages. //! A signer used by Engines which need to sign messages.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! This module contains traits used while creating/restoring snapshots. They //! This module contains traits used while creating/restoring snapshots. They
//! are here because they use and are used by the Engine trait itself. //! are here because they use and are used by the Engine trait itself.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Test helpers for engine related tests //! Test helpers for engine related tests

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Finality proof generation and checking. //! Finality proof generation and checking.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! A blockchain engine that supports a non-instant BFT proof-of-authority. //! A blockchain engine that supports a non-instant BFT proof-of-authority.
//! //!

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! On-chain randomness generation for authority round //! On-chain randomness generation for authority round
//! //!

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Utility functions. //! Utility functions.
//! //!

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! A blockchain engine that supports a basic, non-BFT proof-of-authority. //! A blockchain engine that supports a basic, non-BFT proof-of-authority.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::{ use std::{
collections::{HashMap, BTreeSet, VecDeque}, collections::{HashMap, BTreeSet, VecDeque},

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Implementation of the Clique PoA Engine. //! Implementation of the Clique PoA Engine.
//! //!

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Clique specific parameters. //! Clique specific parameters.

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
//! Consensus tests for `PoA Clique Engine`, see http://eips.ethereum.org/EIPS/eip-225 for more information //! Consensus tests for `PoA Clique Engine`, see http://eips.ethereum.org/EIPS/eip-225 for more information

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::collections::BTreeSet; use std::collections::BTreeSet;

View File

@ -1,18 +1,18 @@
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // Copyright 2015-2020 Parity Technologies (UK) Ltd.
// This file is part of Parity Ethereum. // This file is part of Open Ethereum.
// Parity Ethereum is free software: you can redistribute it and/or modify // Open Ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by // it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// Parity Ethereum is distributed in the hope that it will be useful, // Open Ethereum is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. // along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
use std::cmp; use std::cmp;
use std::collections::BTreeMap; use std::collections::BTreeMap;

Some files were not shown because too many files have changed in this diff Show More