prepare for adding licenses

This commit is contained in:
debris 2016-02-05 13:36:30 +01:00
parent c3850ff880
commit bc267f8412
3 changed files with 27 additions and 6 deletions

6
add_license.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
for f in **/*.rs; do
cat license_header $f > $f.new
mv $f.new $f
done

16
license_header Normal file
View File

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

View File

@ -1,5 +1,4 @@
// taken from Rust Bitcoin Library (https://github.com/apoelstra/rust-bitcoin)
// original author: Andrew Poelstra <apoelstra@wpsoftware.net>
// Code derived from original work by Andrew Poelstra <apoelstra@wpsoftware.net>
// Rust Bitcoin Library
// Written in 2014 by
@ -16,10 +15,10 @@
//
//! Big unsigned integer types
///!
///! Implementation of a various large-but-fixed sized unsigned integer types.
///! The functions here are designed to be fast.
///!
//!
//! Implementation of a various large-but-fixed sized unsigned integer types.
//! The functions here are designed to be fast.
//!
use standard::*;
use from_json::*;