Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
license update (#11543)
Browse files Browse the repository at this point in the history
* update license_header

* run ./scripts/add_license.sh

* update eip-152 license
  • Loading branch information
ordian authored Mar 5, 2020
1 parent 6c0134f commit 3ccfe73
Show file tree
Hide file tree
Showing 661 changed files with 2,745 additions and 2,626 deletions.
8 changes: 4 additions & 4 deletions accounts/ethkey/cli/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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 env_logger;
Expand Down
8 changes: 4 additions & 4 deletions accounts/ethkey/src/brain.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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::Keccak256;
Expand Down
8 changes: 4 additions & 4 deletions accounts/ethkey/src/brain_prefix.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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 parity_crypto::publickey::{Generator, KeyPair, Error};
Expand Down
8 changes: 4 additions & 4 deletions accounts/ethkey/src/brain_recover.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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;

Expand Down
10 changes: 5 additions & 5 deletions accounts/ethkey/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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)]

Expand All @@ -37,4 +37,4 @@ pub use self::parity_wordlist::Error as WordlistError;
pub use self::brain::Brain;
pub use self::brain_prefix::BrainPrefix;
pub use self::password::Password;
pub use self::prefix::Prefix;
pub use self::prefix::Prefix;
8 changes: 4 additions & 4 deletions accounts/ethkey/src/password.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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};

Expand Down
8 changes: 4 additions & 4 deletions accounts/ethkey/src/prefix.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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};

Expand Down
8 changes: 4 additions & 4 deletions accounts/ethstore/cli/src/crack.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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::sync::Arc;
Expand Down
8 changes: 4 additions & 4 deletions accounts/ethstore/cli/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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 docopt;
Expand Down
8 changes: 4 additions & 4 deletions accounts/ethstore/cli/tests/cli.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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;
use std::process::Command;
Expand Down
8 changes: 4 additions & 4 deletions accounts/ethstore/src/account/cipher.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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;

Expand Down
8 changes: 4 additions & 4 deletions accounts/ethstore/src/account/crypto.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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 crypto::publickey::Secret;
Expand Down
8 changes: 4 additions & 4 deletions accounts/ethstore/src/account/kdf.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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;

Expand Down
8 changes: 4 additions & 4 deletions accounts/ethstore/src/account/mod.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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 crypto;
Expand Down
8 changes: 4 additions & 4 deletions accounts/ethstore/src/account/safe_account.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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 ethkey::Password;
Expand Down
8 changes: 4 additions & 4 deletions accounts/ethstore/src/account/version.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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;

Expand Down
8 changes: 4 additions & 4 deletions accounts/ethstore/src/accounts_dir/disk.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 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
// the Free Software Foundation, either version 3 of the License, or
// (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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// 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::io::Write;
Expand Down
Loading

0 comments on commit 3ccfe73

Please sign in to comment.