From e5b59120c5e352d7ad0181916a68aadd72a87e7f Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Sun, 9 Sep 2018 03:34:29 -0700 Subject: [PATCH] Add copyright notice to PSBT-related files --- src/util/psbt/error.rs | 14 ++++++++++++++ src/util/psbt/macros.rs | 14 ++++++++++++++ src/util/psbt/map/global.rs | 14 ++++++++++++++ src/util/psbt/map/input.rs | 14 ++++++++++++++ src/util/psbt/map/mod.rs | 14 ++++++++++++++ src/util/psbt/map/output.rs | 14 ++++++++++++++ src/util/psbt/mod.rs | 14 ++++++++++++++ src/util/psbt/raw.rs | 14 ++++++++++++++ src/util/psbt/serialize.rs | 14 ++++++++++++++ 9 files changed, 126 insertions(+) diff --git a/src/util/psbt/error.rs b/src/util/psbt/error.rs index bb5cf906..1f3cb928 100644 --- a/src/util/psbt/error.rs +++ b/src/util/psbt/error.rs @@ -1,3 +1,17 @@ +// Rust Bitcoin Library +// Written by +// The Rust Bitcoin developers +// +// To the extent possible under law, the author(s) have dedicated all +// copyright and related and neighboring rights to this software to +// the public domain worldwide. This software is distributed without +// any warranty. +// +// You should have received a copy of the CC0 Public Domain Dedication +// along with this software. +// If not, see . +// + use std::error; use std::fmt; diff --git a/src/util/psbt/macros.rs b/src/util/psbt/macros.rs index cd02beaf..21a4be8a 100644 --- a/src/util/psbt/macros.rs +++ b/src/util/psbt/macros.rs @@ -1,3 +1,17 @@ +// Rust Bitcoin Library +// Written by +// The Rust Bitcoin developers +// +// To the extent possible under law, the author(s) have dedicated all +// copyright and related and neighboring rights to this software to +// the public domain worldwide. This software is distributed without +// any warranty. +// +// You should have received a copy of the CC0 Public Domain Dedication +// along with this software. +// If not, see . +// + #[allow(unused_macros)] macro_rules! hex_psbt { ($s:expr) => { ::consensus::encode::deserialize(&::hex::decode($s).unwrap()) }; diff --git a/src/util/psbt/map/global.rs b/src/util/psbt/map/global.rs index f95f416f..faa59dcc 100644 --- a/src/util/psbt/map/global.rs +++ b/src/util/psbt/map/global.rs @@ -1,3 +1,17 @@ +// Rust Bitcoin Library +// Written by +// The Rust Bitcoin developers +// +// To the extent possible under law, the author(s) have dedicated all +// copyright and related and neighboring rights to this software to +// the public domain worldwide. This software is distributed without +// any warranty. +// +// You should have received a copy of the CC0 Public Domain Dedication +// along with this software. +// If not, see . +// + use std::collections::HashMap; use std::io::Cursor; diff --git a/src/util/psbt/map/input.rs b/src/util/psbt/map/input.rs index b53fcacd..b685ff73 100644 --- a/src/util/psbt/map/input.rs +++ b/src/util/psbt/map/input.rs @@ -1,3 +1,17 @@ +// Rust Bitcoin Library +// Written by +// The Rust Bitcoin developers +// +// To the extent possible under law, the author(s) have dedicated all +// copyright and related and neighboring rights to this software to +// the public domain worldwide. This software is distributed without +// any warranty. +// +// You should have received a copy of the CC0 Public Domain Dedication +// along with this software. +// If not, see . +// + use std::collections::HashMap; use blockdata::script::Script; diff --git a/src/util/psbt/map/mod.rs b/src/util/psbt/map/mod.rs index b585b60c..a84cf8a3 100644 --- a/src/util/psbt/map/mod.rs +++ b/src/util/psbt/map/mod.rs @@ -1,3 +1,17 @@ +// Rust Bitcoin Library +// Written by +// The Rust Bitcoin developers +// +// To the extent possible under law, the author(s) have dedicated all +// copyright and related and neighboring rights to this software to +// the public domain worldwide. This software is distributed without +// any warranty. +// +// You should have received a copy of the CC0 Public Domain Dedication +// along with this software. +// If not, see . +// + use consensus::encode; use util::psbt; use util::psbt::raw; diff --git a/src/util/psbt/map/output.rs b/src/util/psbt/map/output.rs index 6dd23384..f5398fb0 100644 --- a/src/util/psbt/map/output.rs +++ b/src/util/psbt/map/output.rs @@ -1,3 +1,17 @@ +// Rust Bitcoin Library +// Written by +// The Rust Bitcoin developers +// +// To the extent possible under law, the author(s) have dedicated all +// copyright and related and neighboring rights to this software to +// the public domain worldwide. This software is distributed without +// any warranty. +// +// You should have received a copy of the CC0 Public Domain Dedication +// along with this software. +// If not, see . +// + use std::collections::HashMap; use blockdata::script::Script; diff --git a/src/util/psbt/mod.rs b/src/util/psbt/mod.rs index ff547861..2351436b 100644 --- a/src/util/psbt/mod.rs +++ b/src/util/psbt/mod.rs @@ -1,3 +1,17 @@ +// Rust Bitcoin Library +// Written by +// The Rust Bitcoin developers +// +// To the extent possible under law, the author(s) have dedicated all +// copyright and related and neighboring rights to this software to +// the public domain worldwide. This software is distributed without +// any warranty. +// +// You should have received a copy of the CC0 Public Domain Dedication +// along with this software. +// If not, see . +// + //! # Partially Signed Transactions //! //! Implementation of BIP174 Partially Signed Bitcoin Transaction Format as diff --git a/src/util/psbt/raw.rs b/src/util/psbt/raw.rs index 04abc70b..21a58b6e 100644 --- a/src/util/psbt/raw.rs +++ b/src/util/psbt/raw.rs @@ -1,3 +1,17 @@ +// Rust Bitcoin Library +// Written by +// The Rust Bitcoin developers +// +// To the extent possible under law, the author(s) have dedicated all +// copyright and related and neighboring rights to this software to +// the public domain worldwide. This software is distributed without +// any warranty. +// +// You should have received a copy of the CC0 Public Domain Dedication +// along with this software. +// If not, see . +// + //! # Raw PSBT Key-Value Pairs //! //! Raw PSBT key-value pairs as defined at diff --git a/src/util/psbt/serialize.rs b/src/util/psbt/serialize.rs index 0f8bd6b7..762d1895 100644 --- a/src/util/psbt/serialize.rs +++ b/src/util/psbt/serialize.rs @@ -1,3 +1,17 @@ +// Rust Bitcoin Library +// Written by +// The Rust Bitcoin developers +// +// To the extent possible under law, the author(s) have dedicated all +// copyright and related and neighboring rights to this software to +// the public domain worldwide. This software is distributed without +// any warranty. +// +// You should have received a copy of the CC0 Public Domain Dedication +// along with this software. +// If not, see . +// + //! # PSBT Serialization //! //! Defines traits used for (de)serializing PSBT values into/from raw