bitcoin: Remove attribution from all files

Currently we have a mishmash of attribution lines accompanying the SPDX
identifier. These lines are basically meaningless because:

- The date is often wrong
- The original author attributed is not the only contributor to a file
- The term "rust bitcoin developers" is basically just noise

Just remove all the attribution lines and be done with it. While we are
at it add an SPDX line to the few files missing it, whether this license
nonsense is even needed is left as an argument for another day.
This commit is contained in:
Tobin C. Harding 2023-05-01 09:19:35 +10:00
parent ca7c60a09d
commit 984fe69448
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
47 changed files with 16 additions and 39 deletions

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin addresses. //! Bitcoin addresses.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Base58 encoder and decoder. //! Base58 encoder and decoder.

View File

@ -1,4 +1,3 @@
// Written in 2019 by Tammas Blummer.
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-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

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! BIP32 implementation. //! BIP32 implementation.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin blocks. //! Bitcoin blocks.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Blockdata constants. //! Blockdata constants.

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//! Implements `FeeRate` and assoctiated features. //! Implements `FeeRate` and assoctiated features.
use core::fmt; use core::fmt;

View File

@ -1,4 +1,3 @@
// Rust Bitcoin Library - Written by the rust-bitcoin developers.
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Provides type [`LockTime`] that implements the logic around nLockTime/OP_CHECKLOCKTIMEVERIFY. //! Provides type [`LockTime`] that implements the logic around nLockTime/OP_CHECKLOCKTIMEVERIFY.

View File

@ -1,4 +1,3 @@
// Rust Bitcoin Library - Written by the rust-bitcoin developers.
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Provides absolute and relative locktimes. //! Provides absolute and relative locktimes.

View File

@ -1,4 +1,3 @@
// Rust Bitcoin Library - Written by the rust-bitcoin developers.
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Provides type [`LockTime`] that implements the logic around nSequence/OP_CHECKSEQUENCEVERIFY. //! Provides type [`LockTime`] that implements the logic around nSequence/OP_CHECKSEQUENCEVERIFY.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin block data. //! Bitcoin block data.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin script opcodes. //! Bitcoin script opcodes.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
use core::convert::{TryFrom, TryInto}; use core::convert::{TryFrom, TryInto};

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
#[cfg(feature = "bitcoinconsensus")] #[cfg(feature = "bitcoinconsensus")]

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
use core::convert::TryInto; use core::convert::TryInto;

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin scripts. //! Bitcoin scripts.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
#[cfg(doc)] #[cfg(doc)]

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//! Contains `PushBytes` & co //! Contains `PushBytes` & co
use core::borrow::{Borrow, BorrowMut}; use core::borrow::{Borrow, BorrowMut};

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
use core::str::FromStr; use core::str::FromStr;
use hashes::Hash; use hashes::Hash;

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin transactions. //! Bitcoin transactions.

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//! Implements `Weight` and associated features. //! Implements `Weight` and associated features.
use core::fmt; use core::fmt;

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin consensus-encodable types. //! Bitcoin consensus-encodable types.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin consensus parameters. //! Bitcoin consensus parameters.

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//! Serde serialization via consensus encoding //! Serde serialization via consensus encoding
//! //!
//! This provides functions for (de)serializing any type as consensus-encoded bytes. //! This provides functions for (de)serializing any type as consensus-encoded bytes.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! ECDSA Bitcoin signatures. //! ECDSA Bitcoin signatures.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin keys. //! Bitcoin keys.

View File

@ -1,4 +1,3 @@
// Rust Bitcoin Library - Written by the rust-bitcoin developers.
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Cryptography //! Cryptography

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin taproot keys. //! Bitcoin taproot keys.

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//! Contains error types and other error handling tools. //! Contains error types and other error handling tools.
use core::fmt; use core::fmt;

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin hash types. //! Bitcoin hash types.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Internal macros. //! Internal macros.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! # Rust Bitcoin Library //! # Rust Bitcoin Library

View File

@ -1,4 +1,3 @@
// Written by John L. Jegutanis
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-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

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin merkle tree functions. //! Bitcoin merkle tree functions.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin network addresses. //! Bitcoin network addresses.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin network constants. //! Bitcoin network constants.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin network messages. //! Bitcoin network messages.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin blockdata network messages. //! Bitcoin blockdata network messages.

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//! //!
//! BIP152 Compact Blocks network messages //! BIP152 Compact Blocks network messages
//! //!

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin network-related network messages. //! Bitcoin network-related network messages.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin network support. //! Bitcoin network support.

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
use core::convert::TryFrom; use core::convert::TryFrom;
use core::fmt; use core::fmt;
use core::str::FromStr; use core::str::FromStr;

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin policy. //! Bitcoin policy.

View File

@ -1,4 +1,3 @@
// Rust Bitcoin Library - Written by the rust-bitcoin developers.
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Proof-of-work related integer types. //! Proof-of-work related integer types.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Signature //! Signature

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Bitcoin serde macros. //! Bitcoin serde macros.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Utility functions. //! Utility functions.