Introduce SPDX license identifiers

When `rust-bitcoin` was started in 2014 the SPDX license list and short
identifiers where not a thing. Now that we have short identifiers and
they are gaining popularity in other projects we can consider using
them.

- Add links to the SPDX website in the readme
- Shorten the author section to a single line
- Remove all the licence information in each file and replace it with an
SPDX ID (see https://spdx.dev/ids/#how)

Of note:

- If the author of a file is explicitly listed, maintain this
information
- If the 'author' is listed as the generic 'Rust Bitcoin developers'
just remove the attribution, this is implicit. This does loose the date
info but that can be seen at any time from the git index using

  `git log --follow --format=%ad --date default <FILE> | tail -1`
This commit is contained in:
Tobin C. Harding 2022-06-29 14:05:31 +10:00
parent 8084d6dd42
commit 91ff2f628c
52 changed files with 92 additions and 590 deletions

View File

@ -158,4 +158,5 @@ See [CHANGELOG.md](CHANGELOG.md).
## Licensing ## Licensing
The code in this project is licensed under the [Creative Commons CC0 1.0 The code in this project is licensed under the [Creative Commons CC0 1.0
Universal license](LICENSE). Universal license](LICENSE). We use the [SPDX license list](https://spdx.org/licenses/) and [SPDX
IDs](https://spdx.dev/ids/).

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin blocks. //! Bitcoin blocks.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Blockdata constants. //! Blockdata constants.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin block data. //! Bitcoin block data.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin script opcodes. //! Bitcoin script opcodes.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin scripts. //! Bitcoin scripts.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin transactions. //! Bitcoin transactions.
//! //!

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//! Witness //! Witness
//! //!
//! This module contains the [`Witness`] struct and related methods to operate on it //! This module contains the [`Witness`] struct and related methods to operate on it

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin consensus-encodable types. //! Bitcoin consensus-encodable types.
//! //!

View File

@ -1,16 +1,4 @@
// Rust Bitcoin Library // SPDX-License-Identifier: CC0-1.0
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin consensus. //! Bitcoin consensus.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin consensus parameters. //! Bitcoin consensus parameters.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin hash types. //! Bitcoin hash types.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Internal macros. //! Internal macros.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! # Rust Bitcoin Library //! # Rust Bitcoin Library
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin network addresses. //! Bitcoin network addresses.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin network constants. //! Bitcoin network constants.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin network messages. //! Bitcoin network messages.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin blockdata network messages. //! Bitcoin blockdata network messages.
//! //!

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin Connection Bloom filtering network messages. //! Bitcoin Connection Bloom filtering network messages.
//! //!
//! This module describes BIP37 Connection Bloom filtering network messages. //! This module describes BIP37 Connection Bloom filtering network messages.

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin Client Side Block Filtering network messages. //! Bitcoin Client Side Block Filtering network messages.
//! //!
//! This module describes BIP157 Client Side Block Filtering network messages. //! This module describes BIP157 Client Side Block Filtering network messages.

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin network-related network messages. //! Bitcoin network-related network messages.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin network support. //! Bitcoin network support.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Stream reader. //! Stream reader.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin policy. //! Bitcoin policy.
//! //!

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin serde utilities. //! Bitcoin serde utilities.
//! //!
//! This module is for special serde serializations. //! This module is for special serde serializations.

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin serde macros. //! Bitcoin serde macros.
//! //!

View File

@ -1,15 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin addresses. //! Bitcoin addresses.
//! //!

View File

@ -1,12 +1,4 @@
// To the extent possible under law, the author(s) have dedicated all // SPDX-License-Identifier: CC0-1.0
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin amounts. //! Bitcoin amounts.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Base58 encoder and decoder. //! Base58 encoder and decoder.
//! //!

View File

@ -1,15 +1,5 @@
// Rust Bitcoin Library // Written in 2018 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2018 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! BIP143 implementation. //! BIP143 implementation.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2019 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2019 by // SPDX-License-Identifier: CC0-1.0
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
// This module was largely copied from https://github.com/rust-bitcoin/murmel/blob/master/src/blockfilter.rs // This module was largely copied from https://github.com/rust-bitcoin/murmel/blob/master/src/blockfilter.rs
// on 11. June 2019 which is licensed under Apache, that file specifically // on 11. June 2019 which is licensed under Apache, that file specifically

View File

@ -1,15 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! BIP32 implementation. //! BIP32 implementation.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! ECDSA Bitcoin signatures. //! ECDSA Bitcoin signatures.
//! //!

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
macro_rules! define_slice_to_be { macro_rules! define_slice_to_be {
($name: ident, $type: ty) => { ($name: ident, $type: ty) => {
#[inline] #[inline]

View File

@ -1,15 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin hash functions. //! Bitcoin hash functions.
//! //!

View File

@ -1,15 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin keys. //! Bitcoin keys.
//! //!

View File

@ -1,22 +1,10 @@
// Rust Bitcoin Library // Written by John L. Jegutanis
// Written by // SPDX-License-Identifier: CC0-1.0
// John L. Jegutanis
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
// //
// This code was translated from merkleblock.h, merkleblock.cpp and pmt_tests.cpp // This code was translated from merkleblock.h, merkleblock.cpp and pmt_tests.cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers // Copyright (c) 2009-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying // SPDX-License-Identifier: MIT
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//! Merkle Block and Partial Merkle Tree. //! Merkle Block and Partial Merkle Tree.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Miscellaneous functions. //! Miscellaneous functions.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Utility functions. //! Utility functions.
//! //!

View File

@ -1,16 +1,4 @@
// Rust Bitcoin Library // SPDX-License-Identifier: CC0-1.0
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
use crate::prelude::*; use crate::prelude::*;

View File

@ -1,16 +1,4 @@
// Rust Bitcoin Library // SPDX-License-Identifier: CC0-1.0
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
#[allow(unused_macros)] #[allow(unused_macros)]
macro_rules! hex_psbt { macro_rules! hex_psbt {

View File

@ -1,16 +1,4 @@
// Rust Bitcoin Library // SPDX-License-Identifier: CC0-1.0
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
use crate::prelude::*; use crate::prelude::*;

View File

@ -1,16 +1,4 @@
// Rust Bitcoin Library // SPDX-License-Identifier: CC0-1.0
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
use crate::prelude::*; use crate::prelude::*;
use crate::io; use crate::io;

View File

@ -1,16 +1,4 @@
// Rust Bitcoin Library // SPDX-License-Identifier: CC0-1.0
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
use crate::prelude::*; use crate::prelude::*;

View File

@ -1,16 +1,4 @@
// Rust Bitcoin Library // SPDX-License-Identifier: CC0-1.0
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
use crate::prelude::*; use crate::prelude::*;
use core; use core;

View File

@ -1,16 +1,4 @@
// Rust Bitcoin Library // SPDX-License-Identifier: CC0-1.0
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Partially Signed Bitcoin Transactions. //! Partially Signed Bitcoin Transactions.
//! //!

View File

@ -1,16 +1,4 @@
// Rust Bitcoin Library // SPDX-License-Identifier: CC0-1.0
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Raw PSBT key-value pairs. //! Raw PSBT key-value pairs.
//! //!

View File

@ -1,16 +1,4 @@
// Rust Bitcoin Library // SPDX-License-Identifier: CC0-1.0
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! PSBT serialization. //! PSBT serialization.
//! //!

View File

@ -1,15 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Schnorr Bitcoin keys. //! Schnorr Bitcoin keys.
//! //!

View File

@ -1,16 +1,4 @@
// Rust Bitcoin Library // SPDX-License-Identifier: CC0-1.0
// Written in 2021 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Generalized, efficient, signature hash implementation. //! Generalized, efficient, signature hash implementation.
//! //!

View File

@ -1,15 +1,4 @@
// Rust Bitcoin Library // SPDX-License-Identifier: CC0-1.0
// Written in 2019 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Bitcoin Taproot. //! Bitcoin Taproot.
//! //!

View File

@ -1,16 +1,5 @@
// Rust Bitcoin Library // Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// Written in 2014 by // SPDX-License-Identifier: CC0-1.0
// Andrew Poelstra <apoelstra@wpsoftware.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.
//
//! Big unsigned integer types. //! Big unsigned integer types.
//! //!